@rulecms/source-components-angular 0.2.0 → 0.4.0

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 (60) hide show
  1. package/README.md +1 -0
  2. package/fesm2022/rulecms-source-components-angular.mjs +714 -112
  3. package/fesm2022/rulecms-source-components-angular.mjs.map +1 -1
  4. package/lib/base-components/display/card-entries/card-entries.d.ts.map +1 -1
  5. package/lib/base-components/display/component-attributes/component-name-to-modify-attribute.d.ts.map +1 -1
  6. package/lib/base-components/display/components/r-accordion/accordion-attributes.d.ts +1 -0
  7. package/lib/base-components/display/components/r-accordion/accordion-attributes.d.ts.map +1 -1
  8. package/lib/base-components/display/components/r-accordion/attribute-edit-mode-configs.d.ts.map +1 -1
  9. package/lib/base-components/display/components/r-accordion/default-attribute-values.d.ts.map +1 -1
  10. package/lib/base-components/display/components/r-accordion/r-accordion.component.d.ts +1 -0
  11. package/lib/base-components/display/components/r-accordion/r-accordion.component.d.ts.map +1 -1
  12. package/lib/base-components/display/components/r-list/attribute-edit-mode-configs.d.ts.map +1 -1
  13. package/lib/base-components/display/components/r-list/default-attribute-values.d.ts.map +1 -1
  14. package/lib/base-components/display/components/r-list/list-attributes.d.ts +1 -0
  15. package/lib/base-components/display/components/r-list/list-attributes.d.ts.map +1 -1
  16. package/lib/base-components/display/components/r-list/r-list.component.d.ts +1 -0
  17. package/lib/base-components/display/components/r-list/r-list.component.d.ts.map +1 -1
  18. package/lib/base-components/display/components/r-mount/attribute-edit-mode-configs.d.ts +6 -0
  19. package/lib/base-components/display/components/r-mount/attribute-edit-mode-configs.d.ts.map +1 -0
  20. package/lib/base-components/display/components/r-mount/default-attribute-values.d.ts +8 -0
  21. package/lib/base-components/display/components/r-mount/default-attribute-values.d.ts.map +1 -0
  22. package/lib/base-components/display/components/r-mount/display-card-entry.d.ts +3 -0
  23. package/lib/base-components/display/components/r-mount/display-card-entry.d.ts.map +1 -0
  24. package/lib/base-components/display/components/r-mount/mount-attributes.d.ts +34 -0
  25. package/lib/base-components/display/components/r-mount/mount-attributes.d.ts.map +1 -0
  26. package/lib/base-components/display/components/r-mount/r-mount.component.d.ts +31 -0
  27. package/lib/base-components/display/components/r-mount/r-mount.component.d.ts.map +1 -0
  28. package/lib/base-components/display/components/r-mount/resolve-mount-render.d.ts +26 -0
  29. package/lib/base-components/display/components/r-mount/resolve-mount-render.d.ts.map +1 -0
  30. package/lib/base-components/display/components/r-mount/resolve-no-container.d.ts +7 -0
  31. package/lib/base-components/display/components/r-mount/resolve-no-container.d.ts.map +1 -0
  32. package/lib/base-components/display/components/r-mount/resolve-renders-own-element.d.ts +6 -0
  33. package/lib/base-components/display/components/r-mount/resolve-renders-own-element.d.ts.map +1 -0
  34. package/lib/base-components/display/components/r-text/attribute-edit-mode-configs.d.ts.map +1 -1
  35. package/lib/base-components/display/components/r-text/default-attribute-values.d.ts.map +1 -1
  36. package/lib/base-components/display/components/r-text/r-text.component.d.ts +5 -0
  37. package/lib/base-components/display/components/r-text/r-text.component.d.ts.map +1 -1
  38. package/lib/base-components/editor-preview/card-entries/card-entries.d.ts.map +1 -1
  39. package/lib/component-identifiers.d.ts +1 -1
  40. package/lib/component-identifiers.d.ts.map +1 -1
  41. package/lib/shared/inline-markup/inline-markup.component.d.ts +7 -1
  42. package/lib/shared/inline-markup/inline-markup.component.d.ts.map +1 -1
  43. package/lib/shared/inline-markup/parse-inline-markers.d.ts +9 -3
  44. package/lib/shared/inline-markup/parse-inline-markers.d.ts.map +1 -1
  45. package/lib/shared/inline-markup/serialize-inline-markers.d.ts.map +1 -1
  46. package/lib/shared/span-styles/index.d.ts +8 -0
  47. package/lib/shared/span-styles/index.d.ts.map +1 -0
  48. package/lib/shared/span-styles/parse-style-declarations.d.ts +28 -0
  49. package/lib/shared/span-styles/parse-style-declarations.d.ts.map +1 -0
  50. package/lib/shared/span-styles/resolve-class-names.d.ts +23 -0
  51. package/lib/shared/span-styles/resolve-class-names.d.ts.map +1 -0
  52. package/lib/shared/span-styles/resolve-span-style-attributes.d.ts +26 -0
  53. package/lib/shared/span-styles/resolve-span-style-attributes.d.ts.map +1 -0
  54. package/lib/shared/span-styles/span-style-item.d.ts +43 -0
  55. package/lib/shared/span-styles/span-style-item.d.ts.map +1 -0
  56. package/lib/types.d.ts +3 -0
  57. package/lib/types.d.ts.map +1 -1
  58. package/package.json +2 -2
  59. package/public-api.d.ts +4 -0
  60. package/public-api.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"card-entries.d.ts","sourceRoot":"","sources":["../../../../../src/lib/base-components/display/card-entries/card-entries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAWvD,eAAO,MAAM,WAAW,EAAE,gBAAgB,EAUzC,CAAC"}
1
+ {"version":3,"file":"card-entries.d.ts","sourceRoot":"","sources":["../../../../../src/lib/base-components/display/card-entries/card-entries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAYvD,eAAO,MAAM,WAAW,EAAE,gBAAgB,EAWzC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"component-name-to-modify-attribute.d.ts","sourceRoot":"","sources":["../../../../../src/lib/base-components/display/component-attributes/component-name-to-modify-attribute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAC;AAEhE;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B,EAAE,8BAwE5C,CAAC"}
1
+ {"version":3,"file":"component-name-to-modify-attribute.d.ts","sourceRoot":"","sources":["../../../../../src/lib/base-components/display/component-attributes/component-name-to-modify-attribute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAC;AAEhE;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B,EAAE,8BAgF5C,CAAC"}
@@ -33,6 +33,7 @@
33
33
  export declare const ACCORDION_SUMMARY_ATTRIBUTE = "accordion-summary-3-resolutions";
34
34
  export declare const ACCORDION_DETAIL_ATTRIBUTE = "accordion-detail-3-resolutions";
35
35
  export declare const ACCORDION_LINKS_ATTRIBUTE = "accordion-links-3-resolutions";
36
+ export declare const ACCORDION_INLINE_STYLES_ATTRIBUTE = "accordion-inline-styles-3-resolutions";
36
37
  export declare const ACCORDION_OPEN_ATTRIBUTE = "accordion-open-3-resolutions";
37
38
  export declare const ACCORDION_HEADING_LEVEL_ATTRIBUTE = "accordion-heading-level-3-resolutions";
38
39
  /** What a freshly dropped accordion shows before the author types anything. */
@@ -1 +1 @@
1
- {"version":3,"file":"accordion-attributes.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-accordion/accordion-attributes.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,2BAA2B,oCAAoC,CAAC;AAC7E,eAAO,MAAM,0BAA0B,mCAAmC,CAAC;AAC3E,eAAO,MAAM,yBAAyB,kCAAkC,CAAC;AACzE,eAAO,MAAM,wBAAwB,iCAAiC,CAAC;AACvE,eAAO,MAAM,iCAAiC,0CAA0C,CAAC;AAEzF,+EAA+E;AAC/E,eAAO,MAAM,yBAAyB,YAAY,CAAC;AACnD,eAAO,MAAM,wBAAwB,6EACuC,CAAC;AAE7E;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,wBAAwB,iDAAkD,CAAC;AACxF,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAC;AAC9E,eAAO,MAAM,+BAA+B,EAAE,qBAA8B,CAAC;AAE7E,KAAK,UAAU,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,SAAS,CAAC;AAErD;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,uBAAuB,wBAAyB,UAAU,KAAG,MAazE,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,wBAAyB,UAAU,KAAG,MAAM,EAY9E,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,oBAAoB,wBAAyB,UAAU,KAAG,OAMtE,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B,wBAClB,UAAU,KAC9B,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC,GAAG,SAM3C,CAAC"}
1
+ {"version":3,"file":"accordion-attributes.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-accordion/accordion-attributes.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,2BAA2B,oCAAoC,CAAC;AAC7E,eAAO,MAAM,0BAA0B,mCAAmC,CAAC;AAC3E,eAAO,MAAM,yBAAyB,kCAAkC,CAAC;AACzE,eAAO,MAAM,iCAAiC,0CAA0C,CAAC;AACzF,eAAO,MAAM,wBAAwB,iCAAiC,CAAC;AACvE,eAAO,MAAM,iCAAiC,0CAA0C,CAAC;AAEzF,+EAA+E;AAC/E,eAAO,MAAM,yBAAyB,YAAY,CAAC;AACnD,eAAO,MAAM,wBAAwB,6EACuC,CAAC;AAE7E;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,wBAAwB,iDAAkD,CAAC;AACxF,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAC;AAC9E,eAAO,MAAM,+BAA+B,EAAE,qBAA8B,CAAC;AAE7E,KAAK,UAAU,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,SAAS,CAAC;AAErD;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,uBAAuB,wBAAyB,UAAU,KAAG,MAazE,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,wBAAyB,UAAU,KAAG,MAAM,EAY9E,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,oBAAoB,wBAAyB,UAAU,KAAG,OAMtE,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B,wBAClB,UAAU,KAC9B,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC,GAAG,SAM3C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"attribute-edit-mode-configs.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-accordion/attribute-edit-mode-configs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAUjE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,wBAAwB,EAAE,uBAAuB,EAoC7D,CAAC"}
1
+ {"version":3,"file":"attribute-edit-mode-configs.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-accordion/attribute-edit-mode-configs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAWjE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,wBAAwB,EAAE,uBAAuB,EA2C7D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"default-attribute-values.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-accordion/default-attribute-values.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAY1D,eAAO,MAAM,sBAAsB,EAAE,qBAAqB,EA8BzD,CAAC"}
1
+ {"version":3,"file":"default-attribute-values.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-accordion/default-attribute-values.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAa1D,eAAO,MAAM,sBAAsB,EAAE,qBAAqB,EAkCzD,CAAC"}
@@ -19,6 +19,7 @@ export declare class RAccordionComponent {
19
19
  get summary(): string;
20
20
  get headingLevel(): "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
21
21
  get links(): any;
22
+ get spanStyles(): any;
22
23
  get open(): boolean;
23
24
  get detail(): string[];
24
25
  static ɵfac: i0.ɵɵFactoryDeclaration<RAccordionComponent, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"r-accordion.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-accordion/r-accordion.component.ts"],"names":[],"mappings":";AAuBA,qBAyBa,mBAAmB;IACrB,mBAAmB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC7C,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAE5B,QAAQ,CAAC,kBAAkB;;;;MAAwB;IACnD,QAAQ,CAAC,mBAAmB;;;MAAyB;IAErD,IAAI,OAAO,WAEV;IACD,IAAI,YAAY,iDAEf;IACD,IAAI,KAAK,QAER;IACD,IAAI,IAAI,YAEP;IACD,IAAI,MAAM,aAET;yCAtBU,mBAAmB;2CAAnB,mBAAmB;CAuB/B"}
1
+ {"version":3,"file":"r-accordion.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-accordion/r-accordion.component.ts"],"names":[],"mappings":";AAwBA,qBAyBa,mBAAmB;IACrB,mBAAmB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC7C,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAE5B,QAAQ,CAAC,kBAAkB;;;;MAAwB;IACnD,QAAQ,CAAC,mBAAmB;;;MAAyB;IAErD,IAAI,OAAO,WAEV;IACD,IAAI,YAAY,iDAEf;IACD,IAAI,KAAK,QAER;IACD,IAAI,UAAU,QAEb;IACD,IAAI,IAAI,YAEP;IACD,IAAI,MAAM,aAET;yCAzBU,mBAAmB;2CAAnB,mBAAmB;CA0B/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"attribute-edit-mode-configs.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-list/attribute-edit-mode-configs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAWjE;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,EAAE,uBAAuB,EA2C7D,CAAC"}
1
+ {"version":3,"file":"attribute-edit-mode-configs.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-list/attribute-edit-mode-configs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAYjE;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,EAAE,uBAAuB,EAkD7D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"default-attribute-values.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-list/default-attribute-values.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAY1D,eAAO,MAAM,sBAAsB,EAAE,qBAAqB,EAgCzD,CAAC"}
1
+ {"version":3,"file":"default-attribute-values.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-list/default-attribute-values.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAa1D,eAAO,MAAM,sBAAsB,EAAE,qBAAqB,EAoCzD,CAAC"}
@@ -24,6 +24,7 @@ export declare const LIST_MARKER_ATTRIBUTE = "list-marker-3-resolutions";
24
24
  export declare const LIST_START_ATTRIBUTE = "list-start-3-resolutions";
25
25
  export declare const LIST_REVERSED_ATTRIBUTE = "list-reversed-3-resolutions";
26
26
  export declare const LIST_LINKS_ATTRIBUTE = "list-links-3-resolutions";
27
+ export declare const LIST_INLINE_STYLES_ATTRIBUTE = "list-inline-styles-3-resolutions";
27
28
  /** What a freshly dropped list shows before the author types anything. */
28
29
  export declare const DEFAULT_LIST_ITEMS = "First item\nSecond item\nThird item";
29
30
  export declare const LIST_KINDS: readonly ["unordered", "ordered"];
@@ -1 +1 @@
1
- {"version":3,"file":"list-attributes.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-list/list-attributes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAC/D,eAAO,MAAM,mBAAmB,4BAA4B,CAAC;AAC7D,eAAO,MAAM,qBAAqB,8BAA8B,CAAC;AACjE,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAC/D,eAAO,MAAM,uBAAuB,gCAAgC,CAAC;AACrE,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAE/D,0EAA0E;AAC1E,eAAO,MAAM,kBAAkB,wCAAwC,CAAC;AAExE,eAAO,MAAM,UAAU,mCAAoC,CAAC;AAC5D,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AACnD,eAAO,MAAM,iBAAiB,EAAE,QAAsB,CAAC;AAEvD;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,sHAUf,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvD,KAAK,UAAU,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,SAAS,CAAC;AAErD,eAAO,MAAM,eAAe,wBAAyB,UAAU,KAAG,QAGjE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,wBAAyB,UAAU,KAAG,UAAU,GAAG,SAGhF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,wBAAyB,UAAU,KAAG,MAAM,EAYxE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,wBAAyB,UAAU,KAAG,MAAM,GAAG,SAY3E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,wBAAyB,UAAU,KAAG,OAMrE,CAAC"}
1
+ {"version":3,"file":"list-attributes.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-list/list-attributes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAC/D,eAAO,MAAM,mBAAmB,4BAA4B,CAAC;AAC7D,eAAO,MAAM,qBAAqB,8BAA8B,CAAC;AACjE,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAC/D,eAAO,MAAM,uBAAuB,gCAAgC,CAAC;AACrE,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAC/D,eAAO,MAAM,4BAA4B,qCAAqC,CAAC;AAE/E,0EAA0E;AAC1E,eAAO,MAAM,kBAAkB,wCAAwC,CAAC;AAExE,eAAO,MAAM,UAAU,mCAAoC,CAAC;AAC5D,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AACnD,eAAO,MAAM,iBAAiB,EAAE,QAAsB,CAAC;AAEvD;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,sHAUf,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvD,KAAK,UAAU,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,SAAS,CAAC;AAErD,eAAO,MAAM,eAAe,wBAAyB,UAAU,KAAG,QAGjE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,wBAAyB,UAAU,KAAG,UAAU,GAAG,SAGhF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,wBAAyB,UAAU,KAAG,MAAM,EAYxE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,wBAAyB,UAAU,KAAG,MAAM,GAAG,SAY3E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,wBAAyB,UAAU,KAAG,OAMrE,CAAC"}
@@ -9,6 +9,7 @@ export declare class RListComponent {
9
9
  className?: string;
10
10
  get marker(): "circle" | "none" | "disc" | "square" | "decimal" | "lower-alpha" | "upper-alpha" | "lower-roman" | "upper-roman" | undefined;
11
11
  get links(): any;
12
+ get spanStyles(): any;
12
13
  get style(): {
13
14
  listStyleType?: "circle" | "none" | "disc" | "square" | "decimal" | "lower-alpha" | "upper-alpha" | "lower-roman" | "upper-roman" | undefined;
14
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"r-list.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-list/r-list.component.ts"],"names":[],"mappings":";AAYA,qBAyBa,cAAc;IAChB,mBAAmB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC7C,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAE5B,IAAI,MAAM,kIAET;IACD,IAAI,KAAK,QAER;IACD,IAAI,KAAK;;MAKR;IACD,IAAI,KAAK,aAER;IACD,IAAI,IAAI,4BAEP;IACD,IAAI,KAAK,uBAER;IACD,IAAI,QAAQ,YAEX;yCA5BU,cAAc;2CAAd,cAAc;CA6B1B"}
1
+ {"version":3,"file":"r-list.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-list/r-list.component.ts"],"names":[],"mappings":";AAaA,qBAyBa,cAAc;IAChB,mBAAmB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC7C,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAE5B,IAAI,MAAM,kIAET;IACD,IAAI,KAAK,QAER;IACD,IAAI,UAAU,QAEb;IACD,IAAI,KAAK;;MAKR;IACD,IAAI,KAAK,aAER;IACD,IAAI,IAAI,4BAEP;IACD,IAAI,KAAK,uBAER;IACD,IAAI,QAAQ,YAEX;yCA/BU,cAAc;2CAAd,cAAc;CAgC1B"}
@@ -0,0 +1,6 @@
1
+ import type { AttributeEditModeConfig } from '../../../../types';
2
+ /**
3
+ * Both settings the mount offers, in the order the Modify drawer shows them.
4
+ */
5
+ export declare const attributeEditModeConfigs: AttributeEditModeConfig[];
6
+ //# sourceMappingURL=attribute-edit-mode-configs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attribute-edit-mode-configs.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-mount/attribute-edit-mode-configs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAGjE;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,uBAAuB,EAe7D,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { DefaultAttributeValue } from '../../../../types';
2
+ /**
3
+ * A fresh mount has no name and no props. Seeding either would invent a
4
+ * registration the host does not have, so both stay empty until the author
5
+ * fills them in.
6
+ */
7
+ export declare const defaultAttributeValues: DefaultAttributeValue[];
8
+ //# sourceMappingURL=default-attribute-values.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-attribute-values.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-mount/default-attribute-values.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAG/D;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,qBAAqB,EASzD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { DisplayCardEntry } from '../../../../types';
2
+ export declare const displayCardEntry: DisplayCardEntry;
3
+ //# sourceMappingURL=display-card-entry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"display-card-entry.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-mount/display-card-entry.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAG1D,eAAO,MAAM,gBAAgB,EAAE,gBAO9B,CAAC"}
@@ -0,0 +1,34 @@
1
+ import type { Type } from '@angular/core';
2
+ /**
3
+ * The attribute names `r-mount` reads.
4
+ *
5
+ * Two, and that is the whole of it: which host component to render, and the
6
+ * props the author filled in for it. The host application supplies the actual
7
+ * Angular component through `rulecms-widget`'s `mounts` map. This library never
8
+ * imports customer code.
9
+ */
10
+ export declare const MOUNT_NAME_ATTRIBUTE = "mount-name-3-resolutions";
11
+ export declare const MOUNT_PROPS_ATTRIBUTE = "mount-props-3-resolutions";
12
+ export declare const MOUNT_PROP_TYPES: readonly ["string", "number", "boolean", "json"];
13
+ export type MountPropType = (typeof MOUNT_PROP_TYPES)[number];
14
+ export type MountPropRow = {
15
+ key: string;
16
+ type: MountPropType;
17
+ value: string;
18
+ };
19
+ export type MountsMap = {
20
+ [name: string]: Type<any>;
21
+ };
22
+ export declare const MOUNT_NAME_PATTERN: RegExp;
23
+ export declare const isMountPropType: (value: unknown) => value is MountPropType;
24
+ export declare const isAllowedMountName: (value: unknown) => value is string;
25
+ export declare const isForbiddenMountPropKey: (key: string) => boolean;
26
+ export declare const resolveMountName: (componentAttributes?: {
27
+ [key: string]: unknown;
28
+ }) => string;
29
+ export declare const resolveMountProps: (componentAttributes?: {
30
+ [key: string]: unknown;
31
+ }) => {
32
+ [key: string]: unknown;
33
+ };
34
+ //# sourceMappingURL=mount-attributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mount-attributes.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-mount/mount-attributes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C;;;;;;;GAOG;AAEH,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAC/D,eAAO,MAAM,qBAAqB,8BAA8B,CAAC;AAEjE,eAAO,MAAM,gBAAgB,kDAAmD,CAAC;AACjF,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9D,MAAM,MAAM,YAAY,GAAG;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,kBAAkB,QAAkC,CAAC;AA2BlE,eAAO,MAAM,eAAe,UAAW,OAAO,KAAG,KAAK,IAAI,aAC4B,CAAC;AAEvF,eAAO,MAAM,kBAAkB,UAAW,OAAO,KAAG,KAAK,IAAI,MACA,CAAC;AAE9D,eAAO,MAAM,uBAAuB,QAAS,MAAM,KAAG,OAKrD,CAAC;AAEF,eAAO,MAAM,gBAAgB,yBACL;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,KAC/C,MAGF,CAAC;AAyCF,eAAO,MAAM,iBAAiB,yBACN;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,KAC/C;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAsB1B,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { OnChanges } from '@angular/core';
2
+ import type { WidgetInstanceProps } from '../../../../types';
3
+ import type { MountsMap } from './mount-attributes';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * A leaf that renders a host-app component by name.
7
+ *
8
+ * The author sets a name and a list of typed props in the composer. The host
9
+ * application passes the actual component on `rulecms-widget`'s `mounts` map.
10
+ * This file never imports customer code: a miss is a placeholder, not a
11
+ * lookup into executable text.
12
+ *
13
+ * The root is always a `<div>`. Author props are never spread onto this div
14
+ * — only onto the resolved host component via `NgComponentOutlet`.
15
+ */
16
+ export declare class RMountComponent implements OnChanges {
17
+ componentAttributes?: {
18
+ [key: string]: any;
19
+ };
20
+ styleProps?: {
21
+ [key: string]: any;
22
+ };
23
+ className?: string;
24
+ mounts?: MountsMap;
25
+ widgetInstanceProps?: WidgetInstanceProps;
26
+ state: import("./resolve-mount-render").MountRenderState;
27
+ ngOnChanges(): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<RMountComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<RMountComponent, "rulecms-r-mount", never, { "componentAttributes": { "alias": "componentAttributes"; "required": false; }; "styleProps": { "alias": "styleProps"; "required": false; }; "className": { "alias": "className"; "required": false; }; "mounts": { "alias": "mounts"; "required": false; }; "widgetInstanceProps": { "alias": "widgetInstanceProps"; "required": false; }; }, {}, never, never, true, never>;
30
+ }
31
+ //# sourceMappingURL=r-mount.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"r-mount.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-mount/r-mount.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,eAAe,CAAC;AAE5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;;AAGpD;;;;;;;;;;GAUG;AACH,qBAca,eAAgB,YAAW,SAAS;IACtC,mBAAmB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC7C,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAEnD,KAAK,oDAA0B;IAE/B,WAAW,IAAI,IAAI;yCATR,eAAe;2CAAf,eAAe;CAoB3B"}
@@ -0,0 +1,26 @@
1
+ import type { Type } from '@angular/core';
2
+ import type { WidgetInstanceProps } from '../../../../types';
3
+ import { type MountsMap } from './mount-attributes';
4
+ export declare const PLACEHOLDER_STYLE: Record<string, string | number>;
5
+ export type MountRenderState = {
6
+ name: string;
7
+ hostComponent: Type<any> | undefined;
8
+ placeholderLabel: string;
9
+ rootStyle: {
10
+ [key: string]: any;
11
+ } | undefined;
12
+ hostInputs: Record<string, unknown>;
13
+ shouldWarn: boolean;
14
+ };
15
+ export declare const resolveMountRender: ({ componentAttributes, mounts, widgetInstanceProps, styleProps, }: {
16
+ componentAttributes?: {
17
+ [key: string]: any;
18
+ };
19
+ mounts?: MountsMap;
20
+ widgetInstanceProps?: WidgetInstanceProps;
21
+ styleProps?: {
22
+ [key: string]: any;
23
+ };
24
+ }) => MountRenderState;
25
+ export declare const warnUnmatchedMount: (name: string, registered: string[]) => void;
26
+ //# sourceMappingURL=resolve-mount-render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-mount-render.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-mount/resolve-mount-render.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAGL,KAAK,SAAS,EACf,MAAM,oBAAoB,CAAC;AAE5B,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAU7D,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IACrC,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC9C,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,sEAK5B;IACD,mBAAmB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC7C,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CACrC,KAAG,gBAcH,CAAC;AAEF,eAAO,MAAM,kBAAkB,SAAU,MAAM,cAAc,MAAM,EAAE,KAAG,IAUvE,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Always renders a root `<div>` that holds the column's box styles — either
3
+ * around the host component or around the placeholder. The host component is
4
+ * unknown to this library, so it cannot be trusted to carry styles itself.
5
+ */
6
+ export declare const resolveNoContainer: () => boolean;
7
+ //# sourceMappingURL=resolve-no-container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-no-container.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-mount/resolve-no-container.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,QAAO,OAAgB,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The root `<div>` carries the className. There is always exactly one element
3
+ * and it is always the root, whether the host component resolved or not.
4
+ */
5
+ export declare const resolveRendersOwnElement: () => boolean;
6
+ //# sourceMappingURL=resolve-renders-own-element.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-renders-own-element.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-mount/resolve-renders-own-element.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,wBAAwB,QAAO,OAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"attribute-edit-mode-configs.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-text/attribute-edit-mode-configs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,eAAO,MAAM,wBAAwB,EAAE,uBAAuB,EAmB7D,CAAC"}
1
+ {"version":3,"file":"attribute-edit-mode-configs.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-text/attribute-edit-mode-configs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,eAAO,MAAM,wBAAwB,EAAE,uBAAuB,EA0B7D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"default-attribute-values.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-text/default-attribute-values.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE1D,eAAO,MAAM,oBAAoB,kEACgC,CAAC;AAElE,eAAO,MAAM,sBAAsB,EAAE,qBAAqB,EAezD,CAAC"}
1
+ {"version":3,"file":"default-attribute-values.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-text/default-attribute-values.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE1D,eAAO,MAAM,oBAAoB,kEACgC,CAAC;AAElE,eAAO,MAAM,sBAAsB,EAAE,qBAAqB,EAmBzD,CAAC"}
@@ -9,6 +9,11 @@ export declare class RTextComponent {
9
9
  className?: string;
10
10
  get content(): string;
11
11
  get links(): unknown;
12
+ /**
13
+ * The two index markers — `{n|…}` into the link list and `{.n|…}` into the
14
+ * styling list — resolve by 1-based position against separate attributes.
15
+ */
16
+ get spanStyles(): unknown;
12
17
  get tag(): string | undefined;
13
18
  static ɵfac: i0.ɵɵFactoryDeclaration<RTextComponent, never>;
14
19
  static ɵcmp: i0.ɵɵComponentDeclaration<RTextComponent, "rulecms-r-text", never, { "componentAttributes": { "alias": "componentAttributes"; "required": false; }; "styleProps": { "alias": "styleProps"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, never, true, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"r-text.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-text/r-text.component.ts"],"names":[],"mappings":";AAMA,qBAea,cAAc;IAChB,mBAAmB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC7C,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAE5B,IAAI,OAAO,IAAI,MAAM,CAGpB;IAED,IAAI,KAAK,IAAI,OAAO,CAEnB;IAED,IAAI,GAAG,IAAI,MAAM,GAAG,SAAS,CAE5B;yCAhBU,cAAc;2CAAd,cAAc;CAiB1B"}
1
+ {"version":3,"file":"r-text.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/base-components/display/components/r-text/r-text.component.ts"],"names":[],"mappings":";AAMA,qBAea,cAAc;IAChB,mBAAmB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC7C,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAE5B,IAAI,OAAO,IAAI,MAAM,CAGpB;IAED,IAAI,KAAK,IAAI,OAAO,CAEnB;IAED;;;OAGG;IACH,IAAI,UAAU,IAAI,OAAO,CAExB;IAED,IAAI,GAAG,IAAI,MAAM,GAAG,SAAS,CAE5B;yCAxBU,cAAc;2CAAd,cAAc;CAyB1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"card-entries.d.ts","sourceRoot":"","sources":["../../../../../src/lib/base-components/editor-preview/card-entries/card-entries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAG7D,eAAO,MAAM,WAAW,EAAE,sBAAsB,EAU/C,CAAC"}
1
+ {"version":3,"file":"card-entries.d.ts","sourceRoot":"","sources":["../../../../../src/lib/base-components/editor-preview/card-entries/card-entries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAG7D,eAAO,MAAM,WAAW,EAAE,sBAAsB,EAW/C,CAAC"}
@@ -1,4 +1,4 @@
1
- type ComponentIdentifier = 'r-text' | 'something-else' | 'cloudinary-advanced-image' | 'r-video' | 'r-icon' | 'r-button' | 'r-divider' | 'r-embed' | 'r-list' | 'r-accordion';
1
+ type ComponentIdentifier = 'r-text' | 'something-else' | 'cloudinary-advanced-image' | 'r-video' | 'r-icon' | 'r-button' | 'r-divider' | 'r-embed' | 'r-list' | 'r-accordion' | 'r-mount';
2
2
  export declare const ComponentIdentifiers: Record<string, ComponentIdentifier>;
3
3
  export {};
4
4
  //# sourceMappingURL=component-identifiers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-identifiers.d.ts","sourceRoot":"","sources":["../../src/lib/component-identifiers.ts"],"names":[],"mappings":"AAAA,KAAK,mBAAmB,GACpB,QAAQ,GACR,gBAAgB,GAChB,2BAA2B,GAC3B,SAAS,GACT,QAAQ,GACR,UAAU,GACV,WAAW,GACX,SAAS,GACT,QAAQ,GACR,aAAa,CAAC;AAElB,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAW3D,CAAC"}
1
+ {"version":3,"file":"component-identifiers.d.ts","sourceRoot":"","sources":["../../src/lib/component-identifiers.ts"],"names":[],"mappings":"AAAA,KAAK,mBAAmB,GACpB,QAAQ,GACR,gBAAgB,GAChB,2BAA2B,GAC3B,SAAS,GACT,QAAQ,GACR,UAAU,GACV,WAAW,GACX,SAAS,GACT,QAAQ,GACR,aAAa,GACb,SAAS,CAAC;AAEd,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAY3D,CAAC"}
@@ -5,12 +5,18 @@ export declare class InlineMarkupComponent implements OnChanges {
5
5
  private readonly renderer;
6
6
  text: string;
7
7
  links: unknown;
8
+ spanStyles: unknown;
8
9
  constructor(host: ElementRef<HTMLElement>, renderer: Renderer2);
9
10
  ngOnChanges(): void;
11
+ /**
12
+ * The anchor stays innermost and a styling entry becomes the outermost
13
+ * element: the marks say what these words *are*, and the styling says how
14
+ * this run of words looks, which is the container of the other two.
15
+ */
10
16
  private renderSpan;
11
17
  private createAnchor;
12
18
  private clear;
13
19
  static ɵfac: i0.ɵɵFactoryDeclaration<InlineMarkupComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<InlineMarkupComponent, "rulecms-inline-markup", never, { "text": { "alias": "text"; "required": false; }; "links": { "alias": "links"; "required": false; }; }, {}, never, never, true, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<InlineMarkupComponent, "rulecms-inline-markup", never, { "text": { "alias": "text"; "required": false; }; "links": { "alias": "links"; "required": false; }; "spanStyles": { "alias": "spanStyles"; "required": false; }; }, {}, never, never, true, never>;
15
21
  }
16
22
  //# sourceMappingURL=inline-markup.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"inline-markup.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/inline-markup/inline-markup.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEV,SAAS,EACT,SAAS,EACV,MAAM,eAAe,CAAC;;AAiBvB,qBAMa,qBAAsB,YAAW,SAAS;IAKnD,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IALlB,IAAI,SAAM;IACV,KAAK,EAAE,OAAO,CAAC;gBAGL,IAAI,EAAE,UAAU,CAAC,WAAW,CAAC,EAC7B,QAAQ,EAAE,SAAS;IAGtC,WAAW,IAAI,IAAI;IAmCnB,OAAO,CAAC,UAAU;IAiBlB,OAAO,CAAC,YAAY;IAepB,OAAO,CAAC,KAAK;yCA5EF,qBAAqB;2CAArB,qBAAqB;CAkFjC"}
1
+ {"version":3,"file":"inline-markup.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/inline-markup/inline-markup.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEV,SAAS,EACT,SAAS,EACV,MAAM,eAAe,CAAC;;AAoBvB,qBAMa,qBAAsB,YAAW,SAAS;IAMnD,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IANlB,IAAI,SAAM;IACV,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;gBAGV,IAAI,EAAE,UAAU,CAAC,WAAW,CAAC,EAC7B,QAAQ,EAAE,SAAS;IAGtC,WAAW,IAAI,IAAI;IA8CnB;;;;OAIG;IACH,OAAO,CAAC,UAAU;IA6BlB,OAAO,CAAC,YAAY;IAepB,OAAO,CAAC,KAAK;yCAzGF,qBAAqB;2CAArB,qBAAqB;CA+GjC"}
@@ -20,6 +20,12 @@ export type MarkupSpanRun = {
20
20
  * (`{1|word}`), so this is optional and the marks are always present.
21
21
  */
22
22
  index?: number;
23
+ /**
24
+ * 1-based position in the styling list, when the marker carried a `.index`.
25
+ * Independent of everything else on the span: `{.1|word}` is styled only,
26
+ * `{b2.1|word}` is bold, linked, and styled.
27
+ */
28
+ styleIndex?: number;
23
29
  marks: InlineMarks;
24
30
  };
25
31
  export type MarkupBreakRun = {
@@ -32,9 +38,9 @@ export type MarkupRun = MarkupTextRun | MarkupSpanRun | MarkupBreakRun;
32
38
  * The grammar, and everything it deliberately leaves as literal text, is
33
39
  * specified in `rulecms/__docs__/__ARCHITECTURE__/INLINE_MARKUP_ARCHITECTURE.md`.
34
40
  * In short: a marker is `{`, then lowercase mark letters, then a link index,
35
- * then `|`, then its text, then `}`. At least one of the letters and the index
36
- * must be present, and everything that does not match that shape stays
37
- * verbatim — `{name}`, `{99}`, a lone `{`, JSON fragments, an unterminated
41
+ * then `.` and a styling index, then `|`, then its text, then `}`. At least one
42
+ * of those three must be present, and everything that does not match that shape
43
+ * stays verbatim — `{name}`, `{99}`, a lone `{`, JSON fragments, an unterminated
38
44
  * marker, an unknown mark letter, and empty span text.
39
45
  *
40
46
  * Indexes are 1-based and normalize through a base-10 parse, so `{01|x}` and
@@ -1 +1 @@
1
- {"version":3,"file":"parse-inline-markers.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/inline-markup/parse-inline-markers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,CAAC;AAE9E,MAAM,MAAM,aAAa,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3D,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC;AAE/C,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG,aAAa,GAAG,cAAc,CAAC;AAmDvE;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,CA2C7D"}
1
+ {"version":3,"file":"parse-inline-markers.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/inline-markup/parse-inline-markers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,CAAC;AAE9E,MAAM,MAAM,aAAa,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3D,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC;AAE/C,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG,aAAa,GAAG,cAAc,CAAC;AAwDvE;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,CA2C7D"}
@@ -1 +1 @@
1
- {"version":3,"file":"serialize-inline-markers.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/inline-markup/serialize-inline-markers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,SAAS,EAAiB,MAAM,wBAAwB,CAAC;AAiCpF,gCAAgC;AAChC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,SAAS,GAAG,MAAM,CASzD;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,SAAS,SAAS,EAAE,GAAG,MAAM,CAEzE"}
1
+ {"version":3,"file":"serialize-inline-markers.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/inline-markup/serialize-inline-markers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,SAAS,EAAiB,MAAM,wBAAwB,CAAC;AAkCpF,gCAAgC;AAChC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,SAAS,GAAG,MAAM,CASzD;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,SAAS,SAAS,EAAE,GAAG,MAAM,CAEzE"}
@@ -0,0 +1,8 @@
1
+ export { isSpanStyleItem, isEmptySpanStyleItem, getSpanStyleItemAt } from './span-style-item';
2
+ export type { SpanStyleItem } from './span-style-item';
3
+ export { resolveClassNames } from './resolve-class-names';
4
+ export { parseStyleDeclarations, formatStyleDeclarations } from './parse-style-declarations';
5
+ export type { StyleDeclaration } from './parse-style-declarations';
6
+ export { resolveSpanStyleAttributes } from './resolve-span-style-attributes';
7
+ export type { SpanStyleAttributes } from './resolve-span-style-attributes';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/span-styles/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC9F,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC7F,YAAY,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,YAAY,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * One CSS declaration, normalized: a property name this module accepted and the
3
+ * value it accepted for it, both trimmed and with nothing dropped in between.
4
+ */
5
+ export type StyleDeclaration = {
6
+ property: string;
7
+ value: string;
8
+ };
9
+ /**
10
+ * An authored CSS declaration list to the declarations that will be applied.
11
+ *
12
+ * The list is a denylist over values and an allowlist over property names,
13
+ * which is the same shape as `text-safety/validate-text-content.ts` in the
14
+ * composer and for the same reason: a person writing `color: #c00` should never
15
+ * have to think about this function, while the handful of constructs that turn
16
+ * a declaration into a request or a script are named and refused.
17
+ *
18
+ * A rejected declaration costs only itself. `color: red; behavior: url(x)`
19
+ * still sets the colour, because dropping the whole entry over one bad
20
+ * declaration would lose work the author can see is fine.
21
+ */
22
+ export declare function parseStyleDeclarations(value: unknown): StyleDeclaration[];
23
+ /**
24
+ * Declarations back to a CSS string, for the places that want a `style`
25
+ * attribute rather than an object — which in this port is every one of them.
26
+ */
27
+ export declare function formatStyleDeclarations(declarations: readonly StyleDeclaration[]): string;
28
+ //# sourceMappingURL=parse-style-declarations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parse-style-declarations.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/span-styles/parse-style-declarations.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAiGnE;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,OAAO,GAAG,gBAAgB,EAAE,CA6BzE;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,SAAS,gBAAgB,EAAE,GAAG,MAAM,CAEzF"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * A class name is a *selector* into CSS the customer already ships. This
3
+ * library cannot see those rules, so it cannot validate a name against
4
+ * anything — the only useful question is whether the token could damage the
5
+ * document it lands in, and the answer is almost always no: every renderer sets
6
+ * `class` through a DOM property or a framework binding, never by pasting into
7
+ * markup.
8
+ *
9
+ * So the filter is deliberately permissive. Utility frameworks make class names
10
+ * that look like code — `md:hover:text-lg`, `w-1/2`, `text-[#c00]`,
11
+ * `[&>svg]:size-4` — and a tidier-looking allowlist would reject those and be
12
+ * read as a bug.
13
+ */
14
+ /**
15
+ * The `class` value for a styling entry, or `undefined` when it has none worth
16
+ * setting.
17
+ *
18
+ * Duplicates collapse and order is the author's. One bad token costs that
19
+ * token: the rest of a mostly-fine list still applies, which is the same
20
+ * per-field tolerance `resolveLinkAttributes` gives a link entry.
21
+ */
22
+ export declare function resolveClassNames(value: unknown): string | undefined;
23
+ //# sourceMappingURL=resolve-class-names.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-class-names.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/span-styles/resolve-class-names.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAyBH;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAWpE"}
@@ -0,0 +1,26 @@
1
+ import type { SpanStyleItem } from './span-style-item';
2
+ /**
3
+ * What a styled run's element carries.
4
+ *
5
+ * `style` is a declaration string rather than an object, because that is what
6
+ * this port binds: a template hands the CSS to the element as written. React
7
+ * needs an object and camel-cased properties, and turning the parsed
8
+ * declarations back into a string here means both platforms apply exactly the
9
+ * declarations that passed the checks and nothing else.
10
+ */
11
+ export type SpanStyleAttributes = {
12
+ className?: string;
13
+ style?: string;
14
+ };
15
+ /**
16
+ * Turns a stored styling entry into element attributes, or `undefined` when the
17
+ * entry cannot produce any — missing, cleared, or holding nothing that survived
18
+ * the checks in `resolveClassNames` and `parseStyleDeclarations`. Callers render
19
+ * the plain text in that case, exactly as they do for a link that resolves to
20
+ * nothing.
21
+ *
22
+ * Knows nothing about text, markers, or any one component: this is the piece
23
+ * every component rendering inline markup shares.
24
+ */
25
+ export declare function resolveSpanStyleAttributes(item: SpanStyleItem | undefined): SpanStyleAttributes | undefined;
26
+ //# sourceMappingURL=resolve-span-style-attributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-span-style-attributes.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/span-styles/resolve-span-style-attributes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAIvD;;;;;;;;GAQG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEzE;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,aAAa,GAAG,SAAS,GAC9B,mBAAmB,GAAG,SAAS,CAgBjC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * One styling entry as the composer stores it. Shared by every component that
3
+ * renders inline markup, so nothing here knows about text.
4
+ *
5
+ * Two fields rather than one because they fail differently. Class names are
6
+ * names of rules the customer's own CSS owns, and this library can neither see
7
+ * them nor be sure they exist. Declarations are CSS this library has to
8
+ * understand well enough to be sure of what it applies.
9
+ */
10
+ export type SpanStyleItem = {
11
+ /** Author-facing name for identifying the entry in the composer. Never rendered. */
12
+ label?: string;
13
+ /** Whitespace-separated class names, exactly as the author typed them. */
14
+ classNames?: string;
15
+ /** A CSS declaration list — `color: #c00; font-weight: 600` — without braces. */
16
+ declarations?: string;
17
+ };
18
+ /**
19
+ * Runtime guard for entries arriving through componentAttributes (untyped,
20
+ * editor-authored data).
21
+ *
22
+ * Only object shape is checked, for the same reason as `isLinkItem`: one bad
23
+ * field must cost that field rather than the whole entry, so per-field
24
+ * validation belongs to `resolveSpanStyleAttributes` where each value is turned
25
+ * into something an element can carry.
26
+ */
27
+ export declare function isSpanStyleItem(value: unknown): value is SpanStyleItem;
28
+ /**
29
+ * True for a cleared slot. Clearing an entry stores `{}` rather than removing
30
+ * the array element, because marker indexes are 1-based positions: dropping an
31
+ * element would silently repoint every later marker.
32
+ *
33
+ * A `label` alone is a cleared slot. It is the author's note to themselves
34
+ * about which entry this is, and an entry that only has a name applies nothing.
35
+ */
36
+ export declare function isEmptySpanStyleItem(item: unknown): boolean;
37
+ /**
38
+ * The entry a `{.n|…}` marker points at, by 1-based position. Tolerant of bad
39
+ * data on every axis — a non-array list, a fractional or out-of-range index, a
40
+ * hole in the array — because none of it may throw during a render.
41
+ */
42
+ export declare function getSpanStyleItemAt(spanStyles: unknown, oneBasedIndex: number): SpanStyleItem | undefined;
43
+ //# sourceMappingURL=span-style-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"span-style-item.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/span-styles/span-style-item.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,oFAAoF;IACpF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0EAA0E;IAC1E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iFAAiF;IACjF,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,aAAa,CAEtE;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAO3D;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,OAAO,EACnB,aAAa,EAAE,MAAM,GACpB,aAAa,GAAG,SAAS,CAS3B"}
package/lib/types.d.ts CHANGED
@@ -50,6 +50,9 @@ export type LibraryCardComponent = import('@angular/core').Type<{
50
50
  };
51
51
  className?: string;
52
52
  widgetInstanceProps?: WidgetInstanceProps;
53
+ mounts?: {
54
+ [name: string]: import('@angular/core').Type<any>;
55
+ };
53
56
  }>;
54
57
  export type DisplayCardEntry = {
55
58
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D,MAAM,MAAM,8BAA8B,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAAE,CAAC;AACzE,MAAM,MAAM,8BAA8B,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAEvE,MAAM,MAAM,8BAA8B,GAAG;IAC3C,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,GAAG,CAAC,EAAE,GAAG,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,8BAA8B,CAAC;IAC/C,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,8BAA8B,CAAC;CAC/C,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,cAAc,CAAC;AAElE,MAAM,MAAM,mBAAmB,GAAG;IAAE,CAAC,GAAG,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M,CAAC;IACd,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,sBAAsB,EAAE,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;CAC7C;AAED,MAAM,MAAM,QAAQ,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC;AAE1D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,QAAQ,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rulecms/source-components-angular",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "Angular source components for RuleCMS — the Angular counterpart of @rulecms/source-components-react",
5
5
  "license": "UNLICENSED",
6
6
  "author": "RuleCMS, LLC",
@@ -21,7 +21,7 @@
21
21
  "@angular/common": ">=17.0.0",
22
22
  "@angular/core": ">=17.0.0",
23
23
  "@angular/platform-browser": ">=17.0.0",
24
- "@rulecms/widget-angular": ">=0.1.0"
24
+ "@rulecms/widget-angular": ">=0.3.0"
25
25
  },
26
26
  "peerDependenciesMeta": {
27
27
  "@rulecms/widget-angular": {