@umbraco-cms/backoffice 14.0.0--preview004-19e302a4 → 14.0.0--preview004-37a447e4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist-cms/apps/backoffice/components/backoffice-main.element.js +6 -3
  2. package/dist-cms/apps/installer/shared/utils.story-helpers.d.ts +2 -1
  3. package/dist-cms/css/uui-css.css +100 -13
  4. package/dist-cms/custom-elements.json +188 -16
  5. package/dist-cms/external/backend-api/index.js +1 -1
  6. package/dist-cms/external/backend-api/src/index.d.ts +11 -12
  7. package/dist-cms/external/backend-api/src/models/{ContentResponseModelBaseDocumentValueModelDocumentVariantResponseModel.d.ts → ContentForDocumentResponseModel.d.ts} +1 -1
  8. package/dist-cms/external/backend-api/src/models/{ContentTypeResponseModelBaseDocumentTypePropertyTypeResponseModelDocumentTypePropertyTypeContainerResponseModel.d.ts → ContentTypeForDocumentTypeResponseModel.d.ts} +1 -1
  9. package/dist-cms/external/backend-api/src/models/{ContentTypeResponseModelBaseMediaTypePropertyTypeResponseModelMediaTypePropertyTypeContainerResponseModel.d.ts → ContentTypeForMediaTypeResponseModel.d.ts} +1 -1
  10. package/dist-cms/external/backend-api/src/models/{CreateContentRequestModelBaseDocumentValueModelDocumentVariantRequestModel.d.ts → CreateContentForDocumentRequestModel.d.ts} +1 -1
  11. package/dist-cms/external/backend-api/src/models/{CreateContentRequestModelBaseMediaValueModelMediaVariantRequestModel.d.ts → CreateContentForMediaRequestModel.d.ts} +1 -1
  12. package/dist-cms/external/backend-api/src/models/{CreateContentTypeRequestModelBaseCreateDocumentTypePropertyTypeRequestModelCreateDocumentTypePropertyTypeContainerRequestModel.d.ts → CreateContentTypeForDocumentTypeRequestModel.d.ts} +1 -1
  13. package/dist-cms/external/backend-api/src/models/{CreateContentTypeRequestModelBaseCreateMediaTypePropertyTypeRequestModelCreateMediaTypePropertyTypeContainerRequestModel.d.ts → CreateContentTypeForMediaTypeRequestModel.d.ts} +1 -1
  14. package/dist-cms/external/backend-api/src/models/CreateDocumentRequestModel.d.ts +2 -2
  15. package/dist-cms/external/backend-api/src/models/CreateDocumentTypeRequestModel.d.ts +2 -2
  16. package/dist-cms/external/backend-api/src/models/CreateMediaRequestModel.d.ts +2 -2
  17. package/dist-cms/external/backend-api/src/models/CreateMediaTypeRequestModel.d.ts +2 -2
  18. package/dist-cms/external/backend-api/src/models/DocumentItemResponseModel.d.ts +1 -0
  19. package/dist-cms/external/backend-api/src/models/DocumentResponseModel.d.ts +3 -2
  20. package/dist-cms/external/backend-api/src/models/DocumentTypeResponseModel.d.ts +2 -2
  21. package/dist-cms/external/backend-api/src/models/MediaItemResponseModel.d.ts +1 -0
  22. package/dist-cms/external/backend-api/src/models/MediaTypeResponseModel.d.ts +2 -2
  23. package/dist-cms/external/backend-api/src/models/{UpdateContentRequestModelBaseDocumentValueModelDocumentVariantRequestModel.d.ts → UpdateContentForDocumentRequestModel.d.ts} +1 -1
  24. package/dist-cms/external/backend-api/src/models/{UpdateContentRequestModelBaseMediaValueModelMediaVariantRequestModel.d.ts → UpdateContentForMediaRequestModel.d.ts} +1 -1
  25. package/dist-cms/external/backend-api/src/models/{UpdateContentTypeRequestModelBaseUpdateDocumentTypePropertyTypeRequestModelUpdateDocumentTypePropertyTypeContainerRequestModel.d.ts → UpdateContentTypeForDocumentTypeRequestModel.d.ts} +1 -1
  26. package/dist-cms/external/backend-api/src/models/{UpdateContentTypeRequestModelBaseUpdateMediaTypePropertyTypeRequestModelUpdateMediaTypePropertyTypeContainerRequestModel.d.ts → UpdateContentTypeForMediaTypeRequestModel.d.ts} +1 -1
  27. package/dist-cms/external/backend-api/src/models/UpdateDocumentRequestModel.d.ts +2 -2
  28. package/dist-cms/external/backend-api/src/models/UpdateDocumentTypeRequestModel.d.ts +2 -2
  29. package/dist-cms/external/backend-api/src/models/UpdateMediaRequestModel.d.ts +2 -2
  30. package/dist-cms/external/backend-api/src/models/UpdateMediaTypeRequestModel.d.ts +2 -2
  31. package/dist-cms/external/backend-api/src/services/SecurityResource.d.ts +0 -13
  32. package/dist-cms/external/uui/index.js +278 -294
  33. package/dist-cms/mocks/data/data-type.data.js +22 -1
  34. package/dist-cms/mocks/data/document.data.js +75 -1
  35. package/dist-cms/mocks/data/media-type.data.d.ts +2 -2
  36. package/dist-cms/packages/core/components/input-image-cropper/image-cropper-focus-setter.element.d.ts +21 -0
  37. package/dist-cms/packages/core/components/input-image-cropper/image-cropper-focus-setter.element.js +152 -0
  38. package/dist-cms/packages/core/components/input-image-cropper/image-cropper-preview.element.d.ts +25 -0
  39. package/dist-cms/packages/core/components/input-image-cropper/image-cropper-preview.element.js +194 -0
  40. package/dist-cms/packages/core/components/input-image-cropper/image-cropper.element.d.ts +24 -0
  41. package/dist-cms/packages/core/components/input-image-cropper/image-cropper.element.js +362 -0
  42. package/dist-cms/packages/core/components/input-image-cropper/index.d.ts +22 -0
  43. package/dist-cms/packages/core/components/input-image-cropper/index.js +1 -0
  44. package/dist-cms/packages/core/components/input-image-cropper/input-image-cropper.element.d.ts +21 -0
  45. package/dist-cms/packages/core/components/input-image-cropper/input-image-cropper.element.js +155 -0
  46. package/dist-cms/packages/core/components/input-image-cropper/mathUtils.d.ts +132 -0
  47. package/dist-cms/packages/core/components/input-image-cropper/mathUtils.js +152 -0
  48. package/dist-cms/packages/core/extension-registry/interfaces/property-editor-ui-element.interface.d.ts +1 -1
  49. package/dist-cms/packages/core/property-editor/uis/image-cropper/property-editor-ui-image-cropper.element.d.ts +5 -3
  50. package/dist-cms/packages/core/property-editor/uis/image-cropper/property-editor-ui-image-cropper.element.js +22 -4
  51. package/dist-cms/packages/core/property-editor/uis/image-crops-configuration/manifests.js +1 -1
  52. package/dist-cms/packages/core/property-editor/uis/image-crops-configuration/property-editor-ui-image-crops-configuration.element.d.ts +8 -3
  53. package/dist-cms/packages/core/property-editor/uis/image-crops-configuration/property-editor-ui-image-crops-configuration.element.js +162 -8
  54. package/dist-cms/packages/documents/documents/repository/document.repository.d.ts +1 -1
  55. package/dist-cms/packages/media/media-types/repository/media-type.repository.d.ts +2 -2
  56. package/dist-cms/packages/media/media-types/repository/sources/media-type.detail.server.data.d.ts +2 -2
  57. package/dist-cms/packages/media/media-types/workspace/media-type-workspace.context.d.ts +2 -2
  58. package/dist-cms/packages/user/user/modals/create/user-create-modal.element.js +1 -2
  59. package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
  60. package/dist-cms/vscode-html-custom-data.json +57 -5
  61. package/package.json +3 -3
  62. package/dist-cms/external/backend-api/src/models/LoginRequestModel.d.ts +0 -4
@@ -15,13 +15,16 @@ export let UmbBackofficeMainElement = class UmbBackofficeMainElement extends Umb
15
15
  this._routes = [];
16
16
  this._sections = [];
17
17
  this._routePrefix = 'section/';
18
- this._onRouteChange = (event) => {
18
+ this._onRouteChange = async (event) => {
19
19
  const currentPath = event.target.localActiveViewPath || '';
20
20
  const section = this._sections.find((s) => this._routePrefix + s.manifest.meta.pathname === currentPath);
21
21
  if (!section)
22
22
  return;
23
- this._backofficeContext?.setActiveSectionAlias(section.alias);
24
- this._provideSectionContext(section.manifest);
23
+ await section.asPromise();
24
+ if (section.manifest) {
25
+ this._backofficeContext?.setActiveSectionAlias(section.alias);
26
+ this._provideSectionContext(section.manifest);
27
+ }
25
28
  };
26
29
  this.consumeContext(UMB_BACKOFFICE_CONTEXT_TOKEN, (_instance) => {
27
30
  this._backofficeContext = _instance;
@@ -1,2 +1,3 @@
1
1
  import { UmbInstallerContext } from '../installer.context.js';
2
- export declare const installerContextProvider: (story: any, installerContext?: UmbInstallerContext) => import("lit-html").TemplateResult<1>;
2
+ import { type TemplateResult } from '../../../external/lit/index.js';
3
+ export declare const installerContextProvider: (story: () => Node | string | TemplateResult, installerContext?: UmbInstallerContext) => TemplateResult<1>;
@@ -129,13 +129,11 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
129
129
  --uui-palette-maroon-flush: #d42054;
130
130
  --uui-palette-maroon-flush-light: rgb(226, 60, 107);
131
131
  --uui-palette-maroon-flush-dark: rgb(191, 33, 78);
132
- --uui-palette-maroon-flush-dimmed: rgb(133, 107, 114); /* A11Y acceptable color. Originally #2BC37C*/
133
- --uui-palette-jungle-green: #25aa60;
134
- --uui-palette-jungle-green-light: rgb(43, 197, 112);
135
- --uui-palette-jungle-green-dark: rgb(38, 156, 91);
136
- --uui-palette-jungle-green-dimmed: rgb(89, 117, 102);
137
-
138
- /*TODO: color needs proper name*/
132
+ --uui-palette-maroon-flush-dimmed: rgb(133, 107, 114);
133
+ --uui-palette-jungle-green: #2bc37c;
134
+ --uui-palette-jungle-green-light: rgb(58, 212, 140);
135
+ --uui-palette-jungle-green-dark: rgb(43, 179, 115);
136
+ --uui-palette-jungle-green-dimmed: rgb(102, 135, 120);
139
137
  --uui-palette-forest-green: #0b8152;
140
138
  --uui-palette-forest-green-light: rgb(13, 155, 98);
141
139
  --uui-palette-forest-green-dark: rgb(10, 115, 73);
@@ -255,13 +253,10 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
255
253
  --uui-color-danger-standalone: var(--uui-palette-maroon-flush-dark,rgb(191, 33, 78));
256
254
  --uui-color-danger-contrast: white;
257
255
 
258
- --uui-color-positive: #1f9554;
259
- --uui-color-positive-emphasis: #2ca964;
260
- --uui-color-positive-standalone: #19864a;
256
+ --uui-color-positive: var(--uui-palette-forest-green,#0b8152);
257
+ --uui-color-positive-emphasis: var(--uui-palette-forest-green-light,rgb(13, 155, 98));
258
+ --uui-color-positive-standalone: var(--uui-palette-forest-green-dark,rgb(10, 115, 73));
261
259
  --uui-color-positive-contrast: #fff;
262
- /* --uui-color-positive: var(--uui-palette-jungle-green); Contrast not high enough */
263
- /* --uui-color-positive-emphasis: var(--uui-palette-jungle-green-light); Contrast not high enough */
264
- /* --uui-color-positive-standalone: var(--uui-palette-jungle-green-dark); Contrast not high enough */
265
260
  }
266
261
  :root[data-theme='dark'] {
267
262
  /* ----- STATES ----- */
@@ -332,6 +327,98 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
332
327
  Bold: font-weight: bold;
333
328
  Black: font-weight: 900;
334
329
 
330
+ */
331
+ /* Webfont: LatoLatin-Black */
332
+ @font-face {
333
+ font-family: 'Lato';
334
+ src: local('LatoLatin Black'), local('LatoLatin-Black'),
335
+ url('../assets/fonts/lato/LatoLatin-Black.woff2') format('woff2');
336
+ font-style: normal;
337
+ font-display: swap;
338
+ font-weight: 900;
339
+ text-rendering: optimizeLegibility;
340
+ }
341
+ /* Webfont: LatoLatin-BlackItalic */
342
+ @font-face {
343
+ font-family: 'Lato';
344
+ src: local('LatoLatin BlackItalic'), local('LatoLatin-BlackItalic'),
345
+ url('../assets/fonts/lato/LatoLatin-BlackItalic.woff2') format('woff2');
346
+ font-style: italic;
347
+ font-weight: 900;
348
+ font-display: swap;
349
+ text-rendering: optimizeLegibility;
350
+ }
351
+ /* Webfont: LatoLatin-Bold */
352
+ @font-face {
353
+ font-family: 'Lato';
354
+ src: local('LatoLatin Bold'), local('LatoLatin-Bold'),
355
+ url('../assets/fonts/lato/LatoLatin-Bold.woff2') format('woff2');
356
+ font-style: normal;
357
+ font-weight: 700;
358
+ font-display: swap;
359
+ text-rendering: optimizeLegibility;
360
+ }
361
+ /* Webfont: LatoLatin-BoldItalic */
362
+ @font-face {
363
+ font-family: 'Lato';
364
+ src: local('LatoLatin BoldItalic'), local('LatoLatin-BoldItalic'),
365
+ url('../assets/fonts/lato/LatoLatin-BoldItalic.woff2') format('woff2');
366
+ font-style: italic;
367
+ font-weight: 700;
368
+ font-display: swap;
369
+ text-rendering: optimizeLegibility;
370
+ }
371
+ /* Webfont: LatoLatin-Italic */
372
+ @font-face {
373
+ font-family: 'Lato';
374
+ src: local('LatoLatin Italic'), local('LatoLatin-Italic'),
375
+ url('../assets/fonts/lato/LatoLatin-Italic.woff2') format('woff2');
376
+ font-style: italic;
377
+ font-weight: 400;
378
+ font-display: swap;
379
+ text-rendering: optimizeLegibility;
380
+ }
381
+ /* Webfont: LatoLatin-Regular */
382
+ @font-face {
383
+ font-family: 'Lato';
384
+ src: local('LatoLatin Regular'), local('LatoLatin-Regular'),
385
+ url('../assets/fonts/lato/LatoLatin-Regular.woff2') format('woff2');
386
+ font-style: normal;
387
+ font-weight: 400;
388
+ font-display: swap;
389
+ text-rendering: optimizeLegibility;
390
+ }
391
+ /* Webfont: LatoLatin-Light */
392
+ @font-face {
393
+ font-family: 'Lato';
394
+ src: local('LatoLatin Light'), local('LatoLatin-Light'),
395
+ url('../assets/fonts/lato/LatoLatin-Light.woff2') format('woff2');
396
+ font-style: normal;
397
+ font-weight: 300;
398
+ font-display: swap;
399
+ text-rendering: optimizeLegibility;
400
+ }
401
+ /* Webfont: LatoLatin-LightItalic */
402
+ @font-face {
403
+ font-family: 'Lato';
404
+ src: local('LatoLatin LightItalic'), local('LatoLatin-LightItalic'),
405
+ url('../assets/fonts/lato/LatoLatin-LightItalic.woff2') format('woff2');
406
+ font-style: italic;
407
+ font-weight: 300;
408
+ font-display: swap;
409
+ text-rendering: optimizeLegibility;
410
+ }
411
+ :root {
412
+ --uui-font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
413
+ }
414
+ /*
415
+ Lato
416
+
417
+ Light: font-weight: 300;
418
+ Regular: font-weight: normal;
419
+ Bold: font-weight: bold;
420
+ Black: font-weight: 900;
421
+
335
422
  */
336
423
  /* Webfont: LatoLatin-Black */
337
424
  @font-face {
@@ -1208,6 +1208,176 @@
1208
1208
  }
1209
1209
  ]
1210
1210
  },
1211
+ {
1212
+ "name": "umb-image-cropper-focus-setter",
1213
+ "path": "./../src/packages/core/components/input-image-cropper/image-cropper-focus-setter.element.ts",
1214
+ "attributes": [
1215
+ {
1216
+ "name": "src",
1217
+ "type": "string | undefined"
1218
+ }
1219
+ ],
1220
+ "properties": [
1221
+ {
1222
+ "name": "imageElement",
1223
+ "type": "HTMLImageElement"
1224
+ },
1225
+ {
1226
+ "name": "wrapperElement",
1227
+ "type": "HTMLImageElement"
1228
+ },
1229
+ {
1230
+ "name": "focalPointElement",
1231
+ "type": "HTMLImageElement"
1232
+ },
1233
+ {
1234
+ "name": "src",
1235
+ "attribute": "src",
1236
+ "type": "string | undefined"
1237
+ },
1238
+ {
1239
+ "name": "focalPoint",
1240
+ "type": "{ left: number; top: number; }",
1241
+ "default": "{\"left\":0.5,\"top\":0.5}"
1242
+ },
1243
+ {
1244
+ "name": "styles",
1245
+ "default": "\"css`\\n\\t\\t:host {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\twidth: 100%;\\n\\t\\t\\theight: 100%;\\n\\t\\t\\tposition: relative;\\n\\t\\t\\tuser-select: none;\\n\\t\\t\\tbackground-color: var(--uui-color-surface);\\n\\t\\t\\toutline: 1px solid var(--uui-color-border);\\n\\t\\t}\\n\\t\\t/* Wrapper is used to make the focal point position responsive to the image size */\\n\\t\\t#wrapper {\\n\\t\\t\\tposition: relative;\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tmargin: auto;\\n\\t\\t\\tmax-width: 100%;\\n\\t\\t\\tmax-height: 100%;\\n\\t\\t}\\n\\t\\t#image {\\n\\t\\t\\tmargin: auto;\\n\\t\\t\\tposition: relative;\\n\\t\\t}\\n\\t\\t#focal-point {\\n\\t\\t\\tcontent: '';\\n\\t\\t\\tdisplay: block;\\n\\t\\t\\tposition: absolute;\\n\\t\\t\\twidth: calc(2 * var(--dot-radius));\\n\\t\\t\\theight: calc(2 * var(--dot-radius));\\n\\t\\t\\toutline: 3px solid black;\\n\\t\\t\\ttop: 0;\\n\\t\\t\\tborder-radius: 50%;\\n\\t\\t\\tpointer-events: none;\\n\\t\\t\\tbackground-color: white;\\n\\t\\t}\\n\\t`\""
1246
+ }
1247
+ ],
1248
+ "events": [
1249
+ {
1250
+ "name": "change"
1251
+ }
1252
+ ]
1253
+ },
1254
+ {
1255
+ "name": "umb-image-cropper-preview",
1256
+ "path": "./../src/packages/core/components/input-image-cropper/image-cropper-preview.element.ts",
1257
+ "properties": [
1258
+ {
1259
+ "name": "imageElement",
1260
+ "type": "HTMLImageElement"
1261
+ },
1262
+ {
1263
+ "name": "imageContainerElement",
1264
+ "type": "HTMLImageElement"
1265
+ },
1266
+ {
1267
+ "name": "crop",
1268
+ "type": "{ alias: string; coordinates?: { x1: number; x2: number; y1: number; y2: number; } | undefined; height: number; width: number; } | undefined"
1269
+ },
1270
+ {
1271
+ "name": "src",
1272
+ "type": "string",
1273
+ "default": "\"\""
1274
+ },
1275
+ {
1276
+ "name": "focalPoint",
1277
+ "type": "{ left: number; top: number; }"
1278
+ },
1279
+ {
1280
+ "name": "styles",
1281
+ "default": "\"css`\\n\\t\\t:host {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tflex-direction: column;\\n\\t\\t\\tpadding: var(--uui-size-space-4);\\n\\t\\t\\tborder-radius: var(--uui-border-radius);\\n\\t\\t\\tbackground-color: var(--uui-color-surface);\\n\\t\\t\\tcursor: pointer;\\n\\t\\t}\\n\\t\\t:host(:hover) {\\n\\t\\t\\tbackground-color: var(--uui-color-surface-alt);\\n\\t\\t}\\n\\t\\t#container {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\twidth: 100%;\\n\\t\\t\\taspect-ratio: 1;\\n\\t\\t\\toverflow: hidden;\\n\\t\\t\\tposition: relative;\\n\\t\\t\\toverflow: hidden;\\n\\t\\t\\tmargin: auto;\\n\\t\\t\\tmax-width: 100%;\\n\\t\\t\\tmax-height: 200px;\\n\\t\\t\\tuser-select: none;\\n\\t\\t}\\n\\t\\t#alias {\\n\\t\\t\\tfont-weight: bold;\\n\\t\\t\\tmargin-top: var(--uui-size-space-3);\\n\\t\\t}\\n\\t\\t#dimensions,\\n\\t\\t#user-defined {\\n\\t\\t\\tfont-size: 0.8em;\\n\\t\\t}\\n\\t\\t#image {\\n\\t\\t\\tposition: absolute;\\n\\t\\t\\tpointer-events: none;\\n\\t\\t}\\n\\t`\""
1282
+ }
1283
+ ]
1284
+ },
1285
+ {
1286
+ "name": "umb-image-cropper",
1287
+ "path": "./../src/packages/core/components/input-image-cropper/image-cropper.element.ts",
1288
+ "attributes": [
1289
+ {
1290
+ "name": "src",
1291
+ "type": "string",
1292
+ "default": "\"\""
1293
+ },
1294
+ {
1295
+ "name": "zoom",
1296
+ "type": "number"
1297
+ }
1298
+ ],
1299
+ "properties": [
1300
+ {
1301
+ "name": "viewportElement",
1302
+ "type": "HTMLElement"
1303
+ },
1304
+ {
1305
+ "name": "maskElement",
1306
+ "type": "HTMLElement"
1307
+ },
1308
+ {
1309
+ "name": "imageElement",
1310
+ "type": "HTMLImageElement"
1311
+ },
1312
+ {
1313
+ "name": "value",
1314
+ "type": "{ alias: string; coordinates?: { x1: number; x2: number; y1: number; y2: number; } | undefined; height: number; width: number; } | undefined"
1315
+ },
1316
+ {
1317
+ "name": "src",
1318
+ "attribute": "src",
1319
+ "type": "string",
1320
+ "default": "\"\""
1321
+ },
1322
+ {
1323
+ "name": "focalPoint",
1324
+ "type": "{ left: number; top: number; }",
1325
+ "default": "{\"left\":0.5,\"top\":0.5}"
1326
+ },
1327
+ {
1328
+ "name": "zoom",
1329
+ "attribute": "zoom",
1330
+ "type": "number"
1331
+ },
1332
+ {
1333
+ "name": "styles",
1334
+ "default": "\"css`\\n\\t\\t:host {\\n\\t\\t\\tdisplay: grid;\\n\\t\\t\\tgrid-template-rows: 1fr auto auto;\\n\\t\\t\\tgap: var(--uui-size-space-3);\\n\\t\\t\\theight: 100%;\\n\\t\\t\\twidth: 100%;\\n\\t\\t}\\n\\t\\t#viewport {\\n\\t\\t\\tbackground-color: #fff;\\n\\t\\t\\tbackground-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"100\\\" height=\\\"100\\\" fill-opacity=\\\".1\\\"><path d=\\\"M50 0h50v50H50zM0 50h50v50H0z\\\"/></svg>');\\n\\t\\t\\tbackground-repeat: repeat;\\n\\t\\t\\tbackground-size: 10px 10px;\\n\\t\\t\\tcontain: strict;\\n\\t\\t\\toverflow: hidden;\\n\\t\\t\\tposition: relative;\\n\\t\\t\\twidth: 100%;\\n\\t\\t\\theight: 100%;\\n\\t\\t\\toutline: 1px solid var(--uui-color-border);\\n\\t\\t\\tborder-radius: var(--uui-border-radius);\\n\\t\\t}\\n\\t\\t#actions {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tjustify-content: flex-end;\\n\\t\\t\\tgap: var(--uui-size-space-1);\\n\\t\\t}\\n\\n\\t\\t#mask {\\n\\t\\t\\tdisplay: block;\\n\\t\\t\\tposition: absolute;\\n\\t\\t\\tbox-shadow: 0 0 0 2000px hsla(0, 0%, 100%, 0.8);\\n\\t\\t\\tpointer-events: none;\\n\\t\\t}\\n\\n\\t\\t#image {\\n\\t\\t\\tdisplay: block;\\n\\t\\t\\tposition: absolute;\\n\\t\\t}\\n\\n\\t\\t#slider {\\n\\t\\t\\twidth: 100%;\\n\\t\\t\\theight: 0px; /* TODO: FIX - This is needed to prevent the slider from taking up more space than needed */\\n\\t\\t\\tmin-height: 22px; /* TODO: FIX - This is needed to prevent the slider from taking up more space than needed */\\n\\t\\t}\\n\\t`\""
1335
+ }
1336
+ ],
1337
+ "events": [
1338
+ {
1339
+ "name": "change"
1340
+ }
1341
+ ]
1342
+ },
1343
+ {
1344
+ "name": "umb-input-image-cropper",
1345
+ "path": "./../src/packages/core/components/input-image-cropper/input-image-cropper.element.ts",
1346
+ "properties": [
1347
+ {
1348
+ "name": "value",
1349
+ "type": "UmbImageCropperPropertyEditorValue | undefined"
1350
+ },
1351
+ {
1352
+ "name": "currentCrop",
1353
+ "type": "{ alias: string; coordinates?: { x1: number; x2: number; y1: number; y2: number; } | undefined; height: number; width: number; } | undefined"
1354
+ },
1355
+ {
1356
+ "name": "crops",
1357
+ "type": "{ alias: string; coordinates?: { x1: number; x2: number; y1: number; y2: number; } | undefined; height: number; width: number; }[]",
1358
+ "default": "[]"
1359
+ },
1360
+ {
1361
+ "name": "focalPoint",
1362
+ "type": "{ left: number; top: number; }",
1363
+ "default": "{\"left\":0.5,\"top\":0.5}"
1364
+ },
1365
+ {
1366
+ "name": "src",
1367
+ "type": "string",
1368
+ "default": "\"\""
1369
+ },
1370
+ {
1371
+ "name": "styles",
1372
+ "default": "\"css`\\n\\t\\t:host {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\twidth: 100%;\\n\\t\\t\\tbox-sizing: border-box;\\n\\t\\t\\tgap: var(--uui-size-space-3);\\n\\t\\t\\theight: 400px;\\n\\t\\t}\\n\\t\\t#main {\\n\\t\\t\\tmax-width: 500px;\\n\\t\\t\\tmin-width: 300px;\\n\\t\\t\\twidth: 100%;\\n\\t\\t\\theight: 100%;\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tgap: var(--uui-size-space-1);\\n\\t\\t\\tflex-direction: column;\\n\\t\\t}\\n\\t\\t#actions {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tjustify-content: space-between;\\n\\t\\t}\\n\\t\\tumb-image-cropper-focus-setter {\\n\\t\\t\\theight: calc(100% - 33px - var(--uui-size-space-1)); /* Temp solution to make room for actions */\\n\\t\\t}\\n\\t\\t#side {\\n\\t\\t\\tdisplay: grid;\\n\\t\\t\\tgrid-template-columns: repeat(auto-fill, minmax(100px, 1fr));\\n\\t\\t\\tgap: var(--uui-size-space-3);\\n\\t\\t\\tflex-grow: 1;\\n\\t\\t\\toverflow-y: auto;\\n\\t\\t\\theight: fit-content;\\n\\t\\t\\tmax-height: 100%;\\n\\t\\t}\\n\\t`\""
1373
+ }
1374
+ ],
1375
+ "events": [
1376
+ {
1377
+ "name": "change"
1378
+ }
1379
+ ]
1380
+ },
1211
1381
  {
1212
1382
  "name": "umb-input-markdown",
1213
1383
  "path": "./../src/packages/core/components/input-markdown-editor/input-markdown.element.ts",
@@ -3160,16 +3330,14 @@
3160
3330
  "attributes": [
3161
3331
  {
3162
3332
  "name": "value",
3163
- "type": "string",
3164
- "default": "\"\""
3333
+ "default": "\"undefined\""
3165
3334
  }
3166
3335
  ],
3167
3336
  "properties": [
3168
3337
  {
3169
3338
  "name": "value",
3170
3339
  "attribute": "value",
3171
- "type": "string",
3172
- "default": "\"\""
3340
+ "default": "\"undefined\""
3173
3341
  },
3174
3342
  {
3175
3343
  "name": "config"
@@ -3179,32 +3347,36 @@
3179
3347
  "type": "array",
3180
3348
  "default": "[\"UmbTextStyles\"]"
3181
3349
  }
3350
+ ],
3351
+ "events": [
3352
+ {
3353
+ "name": "property-value-change"
3354
+ }
3182
3355
  ]
3183
3356
  },
3184
3357
  {
3185
3358
  "name": "umb-property-editor-ui-image-crops-configuration",
3186
3359
  "path": "./../src/packages/core/property-editor/uis/image-crops-configuration/property-editor-ui-image-crops-configuration.element.ts",
3187
- "attributes": [
3188
- {
3189
- "name": "value",
3190
- "type": "string",
3191
- "default": "\"\""
3192
- }
3193
- ],
3194
3360
  "properties": [
3195
3361
  {
3196
3362
  "name": "value",
3197
- "attribute": "value",
3198
- "type": "string",
3199
- "default": "\"\""
3363
+ "type": "UmbCrop[]",
3364
+ "default": "[]"
3200
3365
  },
3201
3366
  {
3202
- "name": "config"
3367
+ "name": "editCropAlias",
3368
+ "type": "string",
3369
+ "default": "\"\""
3203
3370
  },
3204
3371
  {
3205
3372
  "name": "styles",
3206
3373
  "type": "array",
3207
- "default": "[\"UmbTextStyles\"]"
3374
+ "default": "[\"UmbTextStyles\",null]"
3375
+ }
3376
+ ],
3377
+ "events": [
3378
+ {
3379
+ "name": "property-value-change"
3208
3380
  }
3209
3381
  ]
3210
3382
  },