{"version":3,"file":"paths-DEODqE_3.js","sources":["../../../src/packages/core/property-type/workspace/property-type-workspace.modal-token.ts","../../../src/packages/core/property-type/workspace/paths.ts"],"sourcesContent":["import { UMB_PROPERTY_TYPE_ENTITY_TYPE } from './constants.js';\nimport type { UmbWorkspaceModalData, UmbWorkspaceModalValue } from '@umbraco-cms/backoffice/modal';\nimport { UmbModalToken } from '@umbraco-cms/backoffice/modal';\n\nexport interface UmbPropertyTypeWorkspaceData extends UmbWorkspaceModalData {\n\tcontentTypeUnique: string;\n}\n\nexport type UmbPropertyTypeWorkspaceValue = never;\n\nexport const UMB_PROPERTY_TYPE_WORKSPACE_MODAL = new UmbModalToken<\n\tUmbPropertyTypeWorkspaceData,\n\tUmbPropertyTypeWorkspaceValue\n>(\n\t'Umb.Modal.Workspace',\n\t{\n\t\tmodal: {\n\t\t\ttype: 'sidebar',\n\t\t\tsize: 'small',\n\t\t},\n\t\tdata: { entityType: UMB_PROPERTY_TYPE_ENTITY_TYPE, preset: {}, contentTypeUnique: undefined as unknown as string },\n\t},\n\t// Recast the type, so the entityType data prop is not required:\n) as UmbModalToken, UmbWorkspaceModalValue>;\n","import { UMB_PROPERTY_TYPE_ENTITY_TYPE } from './constants.js';\nimport { UmbPathPattern } from '@umbraco-cms/backoffice/router';\nimport { UMB_WORKSPACE_PATH_PATTERN } from '@umbraco-cms/backoffice/workspace';\nimport { UMB_SETTINGS_SECTION_PATHNAME } from '@umbraco-cms/backoffice/settings';\n\nexport const UMB_PROPERTY_TYPE_WORKSPACE_PATH = UMB_WORKSPACE_PATH_PATTERN.generateAbsolute({\n\tsectionName: UMB_SETTINGS_SECTION_PATHNAME,\n\tentityType: UMB_PROPERTY_TYPE_ENTITY_TYPE,\n});\n\nexport const UMB_CREATE_PROPERTY_TYPE_WORKSPACE_PATH_PATTERN = new UmbPathPattern<{\n\tcontainerUnique: string;\n}>('create/:containerUnique', UMB_PROPERTY_TYPE_WORKSPACE_PATH);\n\nexport const UMB_EDIT_PROPERTY_TYPE_WORKSPACE_PATH_PATTERN = new UmbPathPattern<{ unique: string }>('edit/:unique');\n"],"names":["UMB_PROPERTY_TYPE_WORKSPACE_MODAL","UmbModalToken","UMB_PROPERTY_TYPE_ENTITY_TYPE","UMB_PROPERTY_TYPE_WORKSPACE_PATH","UMB_WORKSPACE_PATH_PATTERN","UMB_SETTINGS_SECTION_PATHNAME","UMB_CREATE_PROPERTY_TYPE_WORKSPACE_PATH_PATTERN","UmbPathPattern","UMB_EDIT_PROPERTY_TYPE_WORKSPACE_PATH_PATTERN"],"mappings":";;;;;AAUO,MAAMA,IAAoC,IAAIC;AAAA,EAIpD;AAAA,EACA;AAAA,IACC,OAAO;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,IACP;AAAA,IACA,MAAM,EAAE,YAAYC,GAA+B,QAAQ,IAAI,mBAAmB,OAA+B;AAAA,EAClH;AAAA;AAED,GClBaC,IAAmCC,EAA2B,iBAAiB;AAAA,EAC3F,aAAaC;AAAA,EACb,YAAYH;AACb,CAAC,GAEYI,IAAkD,IAAIC,EAEhE,2BAA2BJ,CAAgC,GAEjDK,IAAgD,IAAID,EAAmC,cAAc;"}