@vonage/vivid 5.30.0 → 5.31.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 (39) hide show
  1. package/bundled/definition25.cjs +4 -4
  2. package/bundled/definition25.js +4 -4
  3. package/bundled/text-field.cjs +1 -1
  4. package/bundled/text-field.js +1 -1
  5. package/bundled/vivid-element.cjs +1 -1
  6. package/bundled/vivid-element.js +27 -1
  7. package/custom-elements.json +4413 -4437
  8. package/lib/rich-text-editor/rte/feature.d.ts +0 -1
  9. package/lib/rich-text-editor/rte/features/base.d.ts +9 -0
  10. package/lib/rich-text-editor/rte/features/bold.d.ts +5 -1
  11. package/lib/rich-text-editor/rte/features/font-size-picker.d.ts +5 -1
  12. package/lib/rich-text-editor/rte/features/hard-break.d.ts +4 -0
  13. package/lib/rich-text-editor/rte/features/inline-image.d.ts +4 -0
  14. package/lib/rich-text-editor/rte/features/italic.d.ts +5 -1
  15. package/lib/rich-text-editor/rte/features/link.d.ts +5 -1
  16. package/lib/rich-text-editor/rte/features/list.d.ts +6 -0
  17. package/lib/rich-text-editor/rte/features/monospace.d.ts +5 -1
  18. package/lib/rich-text-editor/rte/features/strikethrough.d.ts +5 -1
  19. package/lib/rich-text-editor/rte/features/text-color-picker.d.ts +4 -1
  20. package/lib/rich-text-editor/rte/features/underline.d.ts +5 -1
  21. package/lib/rich-text-editor/rte/public-interface.d.ts +1 -1
  22. package/number-field/index.cjs +1 -1
  23. package/number-field/index.js +1 -1
  24. package/package.json +6 -6
  25. package/rich-text-editor/index.cjs +1 -1
  26. package/rich-text-editor/index.js +176 -160
  27. package/shared/foundation/vivid-element/vivid-element.browser-spec.d.ts +1 -0
  28. package/shared/foundation/vivid-element/vivid-element.d.ts +8 -8
  29. package/unbundled/definition2.cjs +4 -4
  30. package/unbundled/definition2.js +4 -4
  31. package/unbundled/definition55.cjs +1 -1
  32. package/unbundled/definition55.js +1 -1
  33. package/unbundled/definition63.cjs +73 -46
  34. package/unbundled/definition63.js +73 -46
  35. package/unbundled/text-field.cjs +1 -1
  36. package/unbundled/text-field.js +1 -1
  37. package/unbundled/vivid-element.cjs +54 -1
  38. package/unbundled/vivid-element.js +55 -2
  39. package/vivid.api.json +12 -12
@@ -1,9 +1,9 @@
1
- import { FASTElement } from '@microsoft/fast-element';
1
+ import { ElementController, FASTElement, FASTElementDefinition } from '@microsoft/fast-element';
2
2
  declare const VividElement_base: {
3
3
  new (...args: any[]): {
4
4
  _vividAriaBehaviour: import('../../aria/aria-mixin').VividAriaBehaviour;
5
5
  connectedCallback(): void;
6
- readonly $fastController: import('@microsoft/fast-element').ElementController;
6
+ readonly $fastController: ElementController;
7
7
  $emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
8
8
  disconnectedCallback(): void;
9
9
  attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
@@ -422,7 +422,7 @@ declare const VividElement_base: {
422
422
  fromDeprecated: (v: any) => any;
423
423
  toDeprecated?: ((v: any) => any) | undefined;
424
424
  }): void;
425
- readonly $fastController: import('@microsoft/fast-element').ElementController;
425
+ readonly $fastController: ElementController;
426
426
  $emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
427
427
  connectedCallback(): void;
428
428
  disconnectedCallback(): void;
@@ -785,7 +785,7 @@ declare const VividElement_base: {
785
785
  _removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
786
786
  connectedCallback(): void;
787
787
  disconnectedCallback(): void;
788
- readonly $fastController: import('@microsoft/fast-element').ElementController;
788
+ readonly $fastController: ElementController;
789
789
  $emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
790
790
  attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
791
791
  accessKey: string;
@@ -1146,12 +1146,12 @@ declare const VividElement_base: {
1146
1146
  <TType extends import('@microsoft/fast-element').Constructable<HTMLElement> = import('@microsoft/fast-element').Constructable<HTMLElement>>(type: TType, nameOrDef?: string | import('@microsoft/fast-element').PartialFASTElementDefinition): TType;
1147
1147
  };
1148
1148
  compose: {
1149
- <TType extends import('@microsoft/fast-element').Constructable<HTMLElement> = import('@microsoft/fast-element').Constructable<HTMLElement>>(this: TType, nameOrDef: string | import('@microsoft/fast-element').PartialFASTElementDefinition): import('@microsoft/fast-element').FASTElementDefinition<TType>;
1150
- <TType extends import('@microsoft/fast-element').Constructable<HTMLElement> = import('@microsoft/fast-element').Constructable<HTMLElement>>(type: TType, nameOrDef?: string | import('@microsoft/fast-element').PartialFASTElementDefinition): import('@microsoft/fast-element').FASTElementDefinition<TType>;
1149
+ <TType extends import('@microsoft/fast-element').Constructable<HTMLElement> = import('@microsoft/fast-element').Constructable<HTMLElement>>(this: TType, nameOrDef: string | import('@microsoft/fast-element').PartialFASTElementDefinition): FASTElementDefinition<TType>;
1150
+ <TType extends import('@microsoft/fast-element').Constructable<HTMLElement> = import('@microsoft/fast-element').Constructable<HTMLElement>>(type: TType, nameOrDef?: string | import('@microsoft/fast-element').PartialFASTElementDefinition): FASTElementDefinition<TType>;
1151
1151
  };
1152
1152
  defineAsync: {
1153
- <TType extends import('@microsoft/fast-element').Constructable<HTMLElement> = import('@microsoft/fast-element').Constructable<HTMLElement>>(this: TType, nameOrDef: string | import('@microsoft/fast-element').PartialFASTElementDefinition): Promise<import('@microsoft/fast-element').FASTElementDefinition<TType>>;
1154
- <TType extends import('@microsoft/fast-element').Constructable<HTMLElement> = import('@microsoft/fast-element').Constructable<HTMLElement>>(type: TType, nameOrDef?: string | import('@microsoft/fast-element').PartialFASTElementDefinition): Promise<import('@microsoft/fast-element').FASTElementDefinition<TType>>;
1153
+ <TType extends import('@microsoft/fast-element').Constructable<HTMLElement> = import('@microsoft/fast-element').Constructable<HTMLElement>>(this: TType, nameOrDef: string | import('@microsoft/fast-element').PartialFASTElementDefinition): Promise<FASTElementDefinition<TType>>;
1154
+ <TType extends import('@microsoft/fast-element').Constructable<HTMLElement> = import('@microsoft/fast-element').Constructable<HTMLElement>>(type: TType, nameOrDef?: string | import('@microsoft/fast-element').PartialFASTElementDefinition): Promise<FASTElementDefinition<TType>>;
1155
1155
  };
1156
1156
  from: <TBase extends typeof HTMLElement>(BaseType: TBase) => new () => InstanceType<TBase> & FASTElement;
1157
1157
  };
@@ -95,10 +95,10 @@ var header = (context, hTagName) => {
95
95
  >`)}
96
96
  </span>
97
97
 
98
- ${(0, _microsoft_fast_element.when)((x) => x.meta || x._metaSlottedContent?.length, _microsoft_fast_element.html`<span class="meta">
99
- <slot name="meta" ${(0, _microsoft_fast_element.slotted)("_metaSlottedContent")}></slot>
100
- ${(0, _microsoft_fast_element.when)((x) => x.meta && !x._metaSlottedContent?.length, _microsoft_fast_element.html`${(x) => x.meta}`)}
101
- </span>`)}
98
+ <span class="meta" ?hidden="${(x) => !x.meta && !x._metaSlottedContent?.length}">
99
+ <slot name="meta" ${(0, _microsoft_fast_element.slotted)("_metaSlottedContent")}></slot>
100
+ ${(0, _microsoft_fast_element.when)((x) => x.meta && !x._metaSlottedContent?.length, _microsoft_fast_element.html`${(x) => x.meta}`)}
101
+ </span>
102
102
 
103
103
  ${(x) => x.icon && x.iconTrailing ? affixIconTemplate(x.icon) : null}
104
104
  ${(x) => !(x.icon && x.iconTrailing) && !x.noIndicator ? affixIconTemplate(x.expanded ? "chevron-up-line" : "chevron-down-line") : null}
@@ -95,10 +95,10 @@ var header = (context, hTagName) => {
95
95
  >`)}
96
96
  </span>
97
97
 
98
- ${when((x) => x.meta || x._metaSlottedContent?.length, html`<span class="meta">
99
- <slot name="meta" ${slotted("_metaSlottedContent")}></slot>
100
- ${when((x) => x.meta && !x._metaSlottedContent?.length, html`${(x) => x.meta}`)}
101
- </span>`)}
98
+ <span class="meta" ?hidden="${(x) => !x.meta && !x._metaSlottedContent?.length}">
99
+ <slot name="meta" ${slotted("_metaSlottedContent")}></slot>
100
+ ${when((x) => x.meta && !x._metaSlottedContent?.length, html`${(x) => x.meta}`)}
101
+ </span>
102
102
 
103
103
  ${(x) => x.icon && x.iconTrailing ? affixIconTemplate(x.icon) : null}
104
104
  ${(x) => !(x.icon && x.iconTrailing) && !x.noIndicator ? affixIconTemplate(x.expanded ? "chevron-up-line" : "chevron-down-line") : null}
@@ -21,7 +21,7 @@ const require_definition$4 = require("./definition36.cjs");
21
21
  let _microsoft_fast_element = require("@microsoft/fast-element");
22
22
  let _microsoft_fast_web_utilities = require("@microsoft/fast-web-utilities");
23
23
  //#region src/lib/number-field/number-field.scss?inline
24
- var number_field_default = ".label-wrapper{align-items:center;gap:var(--label-wrapper-gap,4px);flex-direction:row;display:flex}.label-wrapper[hidden]{display:none}.label:not(slot),.label::slotted(label){flex:0 auto}:host{display:inline-block}.base{--_text-field-gutter-start:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5);--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5);--_text-field-icon-size:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2);--_text-field-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)));--_text-field-border-radius:8px;--_text-field-pill-border-radius:24px;grid-template-columns:min-content 1fr max-content;align-items:center;gap:4px;width:100%;display:inline-grid}.base.size-condensed{--_text-field-gutter-start:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2);--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2);--_text-field-icon-size:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 8)) / 2);--_text-field-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 8));--_text-field-border-radius:4px}.base{user-select:none}.base:not(.disabled){--_low-ink-color:var(--vvd-color-neutral-600)}.base.disabled{--_low-ink-color:var(--_appearance-color-text)}.label:not(slot),.label::slotted(label){font:var(--vvd-typography-base);grid-area:1/1/auto/4;box-sizing:initial!important;padding:initial!important;margin:initial!important;color:var(--vvd-color-canvas-text)!important}.char-count+.label:not(slot),.char-count+.label::slotted(label){grid-column:1/3}.char-count{color:var(--_low-ink-color);font:var(--vvd-typography-base)}.label-wrapper{grid-area:1/1/auto/4}.char-count+.label-wrapper{grid-column:1/3}.fieldset{background-color:var(--_appearance-color-fill);font:var(--vvd-typography-base);grid-column:1/4;align-items:center;padding-block:0;transition:color .2s,background-color .2s;display:flex;position:relative}.fieldset:after{border-radius:inherit;block-size:100%;box-shadow:inset 0 0 0 1px var(--_appearance-color-outline);content:\"\";pointer-events:none;inline-size:100%;transition:box-shadow .2s;display:block;position:absolute}.fieldset:focus-visible{outline:none}.base>.fieldset{block-size:var(--_text-field-block-size)}.base:not(.shape-pill) .fieldset{border-radius:var(--_text-field-border-radius)}.base.shape-pill .fieldset{border-radius:var(--_text-field-pill-border-radius)}.wrapper{border-radius:inherit;block-size:100%;inline-size:100%}.control{border-radius:inherit;text-align:start}.control:not(slot),.control::slotted(input){font:inherit;text-align:inherit;outline:#0000;box-sizing:border-box!important;border-radius:inherit!important;width:100%!important;margin:initial!important;appearance:none!important;block-size:100%!important;color:inherit!important;padding-block:0!important;padding-inline:var(--_text-field-gutter-start) var(--_text-field-gutter-end)!important;background-color:#0000!important;border:0!important}.control:not(slot,:focus),.control::slotted(input:not(:focus)){text-overflow:ellipsis!important}.control:not(slot):disabled,.control::slotted(input:disabled){cursor:not-allowed!important;opacity:1!important;-webkit-text-fill-color:var(--_appearance-color-text)!important}.control:not(slot)::placeholder{opacity:1!important;-webkit-text-fill-color:var(--_low-ink-color)!important}.control::slotted(input:-webkit-autofill),.control:not(slot):-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--_appearance-color-fill) inset;-webkit-text-fill-color:var(--_appearance-color-text)!important}.control::slotted(input:autofill),.control:not(slot):autofill{-webkit-box-shadow:0 0 0 1000px var(--_appearance-color-fill) inset;-webkit-text-fill-color:var(--_appearance-color-text)!important}.has-icon .control:not(slot),.has-icon .control::slotted(input){padding-inline-start:calc(var(--_text-field-icon-size) + var(--_text-field-gutter-start) * 2)!important}.icon{z-index:1;color:var(--_low-ink-color);font-size:var(--_text-field-icon-size);line-height:1;position:absolute;inset-block-start:50%;inset-inline-start:calc(100% + var(--_text-field-gutter-start));transform:translateY(-50%)}.leading-items-wrapper{position:relative}.base.no-leading .leading-items-wrapper{display:none}.action-items-wrapper{margin-inline-end:4px}.base:not(.action-items) .action-items-wrapper{display:none}@supports selector(:has(*)){.base:not(.has-activedescendant) .fieldset:has(.wrapper .control:focus-within):after{--focus-stroke-gap-color:transparent;box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px))}}@supports not selector(:has(*)){.base:not(.has-activedescendant) .wrapper:focus-within:after{box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px));--focus-stroke-gap-color:transparent;z-index:1;border-radius:inherit;content:\"\";pointer-events:none;display:block;position:absolute;inset:0}}:host([internal-part]) .fieldset{font:var(--vvd-typography-heading-4);background-color:#0000;line-height:1.1}:host([internal-part]) .fieldset:not(:focus-within):after{block-size:1px;inset-block-end:0}@supports selector(:has(*)){:host([internal-part]) .fieldset:has(.action-items-wrapper:focus-within):after{block-size:1px;inset-block-end:0}}:host([internal-part]) .control{text-align:center}slot[name=_mirrored-helper-text]{display:none}.base{--_text-field-gutter-end:70px}.base.no-steppers{--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5)}.base.no-steppers.size-condensed{--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2)}.control::-webkit-outer-spin-button,.control::-webkit-inner-spin-button{appearance:none}.control-buttons{z-index:1;display:flex;position:absolute;right:3px}.control-buttons[hidden]{display:none}.readonly .control-buttons,.disabled .control-buttons{pointer-events:none}.control-buttons .divider{margin-block:8px}.control-buttons>*{flex-shrink:0}";
24
+ var number_field_default = ".label-wrapper{align-items:center;gap:var(--label-wrapper-gap,4px);flex-direction:row;display:flex}.label-wrapper[hidden]{display:none}.label:not(slot),.label::slotted(label){flex:0 auto}:host{display:inline-block}.base{--_text-field-gutter-start:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5);--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5);--_text-field-icon-size:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2);--_text-field-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)));--_text-field-border-radius:8px;--_text-field-pill-border-radius:24px;grid-template-columns:min-content 1fr max-content;align-items:center;gap:4px;width:100%;display:inline-grid}.base.size-condensed{--_text-field-gutter-start:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2);--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2);--_text-field-icon-size:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 8)) / 2);--_text-field-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 8));--_text-field-border-radius:4px}.base{user-select:none}.base:not(.disabled){--_low-ink-color:var(--vvd-color-neutral-600)}.base.disabled{--_low-ink-color:var(--_appearance-color-text)}.label:not(slot),.label::slotted(label){font:var(--vvd-typography-base);grid-area:1/1/auto/4;box-sizing:initial!important;padding:initial!important;margin:initial!important;color:var(--vvd-color-canvas-text)!important}.char-count+.label:not(slot),.char-count+.label::slotted(label){grid-column:1/3}.char-count{color:var(--_low-ink-color);font:var(--vvd-typography-base)}.label-wrapper{grid-area:1/1/auto/4}.char-count+.label-wrapper{grid-column:1/3}.fieldset{background-color:var(--_appearance-color-fill);font:var(--vvd-typography-base);max-inline-size:var(--text-field-input-inline-size,auto);grid-column:1/4;align-items:center;padding-block:0;transition:color .2s,background-color .2s;display:flex;position:relative}.fieldset:after{border-radius:inherit;block-size:100%;box-shadow:inset 0 0 0 1px var(--_appearance-color-outline);content:\"\";pointer-events:none;inline-size:100%;transition:box-shadow .2s;display:block;position:absolute}.fieldset:focus-visible{outline:none}.base>.fieldset{block-size:var(--_text-field-block-size)}.base:not(.shape-pill) .fieldset{border-radius:var(--_text-field-border-radius)}.base.shape-pill .fieldset{border-radius:var(--_text-field-pill-border-radius)}.wrapper{border-radius:inherit;block-size:100%;inline-size:100%}.control{border-radius:inherit;text-align:start}.control:not(slot),.control::slotted(input){font:inherit;text-align:inherit;outline:#0000;box-sizing:border-box!important;border-radius:inherit!important;width:100%!important;margin:initial!important;appearance:none!important;block-size:100%!important;color:inherit!important;padding-block:0!important;padding-inline:var(--_text-field-gutter-start) var(--_text-field-gutter-end)!important;background-color:#0000!important;border:0!important}.control:not(slot,:focus),.control::slotted(input:not(:focus)){text-overflow:ellipsis!important}.control:not(slot):disabled,.control::slotted(input:disabled){cursor:not-allowed!important;opacity:1!important;-webkit-text-fill-color:var(--_appearance-color-text)!important}.control:not(slot)::placeholder{opacity:1!important;-webkit-text-fill-color:var(--_low-ink-color)!important}.control::slotted(input:-webkit-autofill),.control:not(slot):-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--_appearance-color-fill) inset;-webkit-text-fill-color:var(--_appearance-color-text)!important}.control::slotted(input:autofill),.control:not(slot):autofill{-webkit-box-shadow:0 0 0 1000px var(--_appearance-color-fill) inset;-webkit-text-fill-color:var(--_appearance-color-text)!important}.has-icon .control:not(slot),.has-icon .control::slotted(input){padding-inline-start:calc(var(--_text-field-icon-size) + var(--_text-field-gutter-start) * 2)!important}.icon{z-index:1;color:var(--_low-ink-color);font-size:var(--_text-field-icon-size);line-height:1;position:absolute;inset-block-start:50%;inset-inline-start:calc(100% + var(--_text-field-gutter-start));transform:translateY(-50%)}.leading-items-wrapper{position:relative}.base.no-leading .leading-items-wrapper{display:none}.action-items-wrapper{margin-inline-end:4px}.base:not(.action-items) .action-items-wrapper{display:none}@supports selector(:has(*)){.base:not(.has-activedescendant) .fieldset:has(.wrapper .control:focus-within):after{--focus-stroke-gap-color:transparent;box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px))}}@supports not selector(:has(*)){.base:not(.has-activedescendant) .wrapper:focus-within:after{box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px));--focus-stroke-gap-color:transparent;z-index:1;border-radius:inherit;content:\"\";pointer-events:none;display:block;position:absolute;inset:0}}:host([internal-part]) .fieldset{font:var(--vvd-typography-heading-4);background-color:#0000;line-height:1.1}:host([internal-part]) .fieldset:not(:focus-within):after{block-size:1px;inset-block-end:0}@supports selector(:has(*)){:host([internal-part]) .fieldset:has(.action-items-wrapper:focus-within):after{block-size:1px;inset-block-end:0}}:host([internal-part]) .control{text-align:center}slot[name=_mirrored-helper-text]{display:none}.base{--_text-field-gutter-end:70px}.base.no-steppers{--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5)}.base.no-steppers.size-condensed{--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2)}.control::-webkit-outer-spin-button,.control::-webkit-inner-spin-button{appearance:none}.control-buttons{z-index:1;display:flex;position:absolute;right:3px}.control-buttons[hidden]{display:none}.readonly .control-buttons,.disabled .control-buttons{pointer-events:none}.control-buttons .divider{margin-block:8px}.control-buttons>*{flex-shrink:0}.fieldset{max-inline-size:var(--number-field-input-inline-size,auto)}";
25
25
  //#endregion
26
26
  //#region src/lib/number-field/number-field.ts
27
27
  var numberFieldAppearance = require_component_enum.componentEnum(["fieldset", "ghost"], "fieldset");
@@ -21,7 +21,7 @@ import { t as dividerDefinition } from "./definition36.js";
21
21
  import { Updates, attr, html, nullableNumberConverter, observable, ref, slotted, when } from "@microsoft/fast-element";
22
22
  import { classNames, keyArrowDown, keyArrowUp } from "@microsoft/fast-web-utilities";
23
23
  //#region src/lib/number-field/number-field.scss?inline
24
- var number_field_default = ".label-wrapper{align-items:center;gap:var(--label-wrapper-gap,4px);flex-direction:row;display:flex}.label-wrapper[hidden]{display:none}.label:not(slot),.label::slotted(label){flex:0 auto}:host{display:inline-block}.base{--_text-field-gutter-start:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5);--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5);--_text-field-icon-size:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2);--_text-field-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)));--_text-field-border-radius:8px;--_text-field-pill-border-radius:24px;grid-template-columns:min-content 1fr max-content;align-items:center;gap:4px;width:100%;display:inline-grid}.base.size-condensed{--_text-field-gutter-start:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2);--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2);--_text-field-icon-size:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 8)) / 2);--_text-field-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 8));--_text-field-border-radius:4px}.base{user-select:none}.base:not(.disabled){--_low-ink-color:var(--vvd-color-neutral-600)}.base.disabled{--_low-ink-color:var(--_appearance-color-text)}.label:not(slot),.label::slotted(label){font:var(--vvd-typography-base);grid-area:1/1/auto/4;box-sizing:initial!important;padding:initial!important;margin:initial!important;color:var(--vvd-color-canvas-text)!important}.char-count+.label:not(slot),.char-count+.label::slotted(label){grid-column:1/3}.char-count{color:var(--_low-ink-color);font:var(--vvd-typography-base)}.label-wrapper{grid-area:1/1/auto/4}.char-count+.label-wrapper{grid-column:1/3}.fieldset{background-color:var(--_appearance-color-fill);font:var(--vvd-typography-base);grid-column:1/4;align-items:center;padding-block:0;transition:color .2s,background-color .2s;display:flex;position:relative}.fieldset:after{border-radius:inherit;block-size:100%;box-shadow:inset 0 0 0 1px var(--_appearance-color-outline);content:\"\";pointer-events:none;inline-size:100%;transition:box-shadow .2s;display:block;position:absolute}.fieldset:focus-visible{outline:none}.base>.fieldset{block-size:var(--_text-field-block-size)}.base:not(.shape-pill) .fieldset{border-radius:var(--_text-field-border-radius)}.base.shape-pill .fieldset{border-radius:var(--_text-field-pill-border-radius)}.wrapper{border-radius:inherit;block-size:100%;inline-size:100%}.control{border-radius:inherit;text-align:start}.control:not(slot),.control::slotted(input){font:inherit;text-align:inherit;outline:#0000;box-sizing:border-box!important;border-radius:inherit!important;width:100%!important;margin:initial!important;appearance:none!important;block-size:100%!important;color:inherit!important;padding-block:0!important;padding-inline:var(--_text-field-gutter-start) var(--_text-field-gutter-end)!important;background-color:#0000!important;border:0!important}.control:not(slot,:focus),.control::slotted(input:not(:focus)){text-overflow:ellipsis!important}.control:not(slot):disabled,.control::slotted(input:disabled){cursor:not-allowed!important;opacity:1!important;-webkit-text-fill-color:var(--_appearance-color-text)!important}.control:not(slot)::placeholder{opacity:1!important;-webkit-text-fill-color:var(--_low-ink-color)!important}.control::slotted(input:-webkit-autofill),.control:not(slot):-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--_appearance-color-fill) inset;-webkit-text-fill-color:var(--_appearance-color-text)!important}.control::slotted(input:autofill),.control:not(slot):autofill{-webkit-box-shadow:0 0 0 1000px var(--_appearance-color-fill) inset;-webkit-text-fill-color:var(--_appearance-color-text)!important}.has-icon .control:not(slot),.has-icon .control::slotted(input){padding-inline-start:calc(var(--_text-field-icon-size) + var(--_text-field-gutter-start) * 2)!important}.icon{z-index:1;color:var(--_low-ink-color);font-size:var(--_text-field-icon-size);line-height:1;position:absolute;inset-block-start:50%;inset-inline-start:calc(100% + var(--_text-field-gutter-start));transform:translateY(-50%)}.leading-items-wrapper{position:relative}.base.no-leading .leading-items-wrapper{display:none}.action-items-wrapper{margin-inline-end:4px}.base:not(.action-items) .action-items-wrapper{display:none}@supports selector(:has(*)){.base:not(.has-activedescendant) .fieldset:has(.wrapper .control:focus-within):after{--focus-stroke-gap-color:transparent;box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px))}}@supports not selector(:has(*)){.base:not(.has-activedescendant) .wrapper:focus-within:after{box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px));--focus-stroke-gap-color:transparent;z-index:1;border-radius:inherit;content:\"\";pointer-events:none;display:block;position:absolute;inset:0}}:host([internal-part]) .fieldset{font:var(--vvd-typography-heading-4);background-color:#0000;line-height:1.1}:host([internal-part]) .fieldset:not(:focus-within):after{block-size:1px;inset-block-end:0}@supports selector(:has(*)){:host([internal-part]) .fieldset:has(.action-items-wrapper:focus-within):after{block-size:1px;inset-block-end:0}}:host([internal-part]) .control{text-align:center}slot[name=_mirrored-helper-text]{display:none}.base{--_text-field-gutter-end:70px}.base.no-steppers{--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5)}.base.no-steppers.size-condensed{--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2)}.control::-webkit-outer-spin-button,.control::-webkit-inner-spin-button{appearance:none}.control-buttons{z-index:1;display:flex;position:absolute;right:3px}.control-buttons[hidden]{display:none}.readonly .control-buttons,.disabled .control-buttons{pointer-events:none}.control-buttons .divider{margin-block:8px}.control-buttons>*{flex-shrink:0}";
24
+ var number_field_default = ".label-wrapper{align-items:center;gap:var(--label-wrapper-gap,4px);flex-direction:row;display:flex}.label-wrapper[hidden]{display:none}.label:not(slot),.label::slotted(label){flex:0 auto}:host{display:inline-block}.base{--_text-field-gutter-start:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5);--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5);--_text-field-icon-size:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2);--_text-field-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)));--_text-field-border-radius:8px;--_text-field-pill-border-radius:24px;grid-template-columns:min-content 1fr max-content;align-items:center;gap:4px;width:100%;display:inline-grid}.base.size-condensed{--_text-field-gutter-start:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2);--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2);--_text-field-icon-size:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 8)) / 2);--_text-field-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 8));--_text-field-border-radius:4px}.base{user-select:none}.base:not(.disabled){--_low-ink-color:var(--vvd-color-neutral-600)}.base.disabled{--_low-ink-color:var(--_appearance-color-text)}.label:not(slot),.label::slotted(label){font:var(--vvd-typography-base);grid-area:1/1/auto/4;box-sizing:initial!important;padding:initial!important;margin:initial!important;color:var(--vvd-color-canvas-text)!important}.char-count+.label:not(slot),.char-count+.label::slotted(label){grid-column:1/3}.char-count{color:var(--_low-ink-color);font:var(--vvd-typography-base)}.label-wrapper{grid-area:1/1/auto/4}.char-count+.label-wrapper{grid-column:1/3}.fieldset{background-color:var(--_appearance-color-fill);font:var(--vvd-typography-base);max-inline-size:var(--text-field-input-inline-size,auto);grid-column:1/4;align-items:center;padding-block:0;transition:color .2s,background-color .2s;display:flex;position:relative}.fieldset:after{border-radius:inherit;block-size:100%;box-shadow:inset 0 0 0 1px var(--_appearance-color-outline);content:\"\";pointer-events:none;inline-size:100%;transition:box-shadow .2s;display:block;position:absolute}.fieldset:focus-visible{outline:none}.base>.fieldset{block-size:var(--_text-field-block-size)}.base:not(.shape-pill) .fieldset{border-radius:var(--_text-field-border-radius)}.base.shape-pill .fieldset{border-radius:var(--_text-field-pill-border-radius)}.wrapper{border-radius:inherit;block-size:100%;inline-size:100%}.control{border-radius:inherit;text-align:start}.control:not(slot),.control::slotted(input){font:inherit;text-align:inherit;outline:#0000;box-sizing:border-box!important;border-radius:inherit!important;width:100%!important;margin:initial!important;appearance:none!important;block-size:100%!important;color:inherit!important;padding-block:0!important;padding-inline:var(--_text-field-gutter-start) var(--_text-field-gutter-end)!important;background-color:#0000!important;border:0!important}.control:not(slot,:focus),.control::slotted(input:not(:focus)){text-overflow:ellipsis!important}.control:not(slot):disabled,.control::slotted(input:disabled){cursor:not-allowed!important;opacity:1!important;-webkit-text-fill-color:var(--_appearance-color-text)!important}.control:not(slot)::placeholder{opacity:1!important;-webkit-text-fill-color:var(--_low-ink-color)!important}.control::slotted(input:-webkit-autofill),.control:not(slot):-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--_appearance-color-fill) inset;-webkit-text-fill-color:var(--_appearance-color-text)!important}.control::slotted(input:autofill),.control:not(slot):autofill{-webkit-box-shadow:0 0 0 1000px var(--_appearance-color-fill) inset;-webkit-text-fill-color:var(--_appearance-color-text)!important}.has-icon .control:not(slot),.has-icon .control::slotted(input){padding-inline-start:calc(var(--_text-field-icon-size) + var(--_text-field-gutter-start) * 2)!important}.icon{z-index:1;color:var(--_low-ink-color);font-size:var(--_text-field-icon-size);line-height:1;position:absolute;inset-block-start:50%;inset-inline-start:calc(100% + var(--_text-field-gutter-start));transform:translateY(-50%)}.leading-items-wrapper{position:relative}.base.no-leading .leading-items-wrapper{display:none}.action-items-wrapper{margin-inline-end:4px}.base:not(.action-items) .action-items-wrapper{display:none}@supports selector(:has(*)){.base:not(.has-activedescendant) .fieldset:has(.wrapper .control:focus-within):after{--focus-stroke-gap-color:transparent;box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px))}}@supports not selector(:has(*)){.base:not(.has-activedescendant) .wrapper:focus-within:after{box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px));--focus-stroke-gap-color:transparent;z-index:1;border-radius:inherit;content:\"\";pointer-events:none;display:block;position:absolute;inset:0}}:host([internal-part]) .fieldset{font:var(--vvd-typography-heading-4);background-color:#0000;line-height:1.1}:host([internal-part]) .fieldset:not(:focus-within):after{block-size:1px;inset-block-end:0}@supports selector(:has(*)){:host([internal-part]) .fieldset:has(.action-items-wrapper:focus-within):after{block-size:1px;inset-block-end:0}}:host([internal-part]) .control{text-align:center}slot[name=_mirrored-helper-text]{display:none}.base{--_text-field-gutter-end:70px}.base.no-steppers{--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5)}.base.no-steppers.size-condensed{--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2)}.control::-webkit-outer-spin-button,.control::-webkit-inner-spin-button{appearance:none}.control-buttons{z-index:1;display:flex;position:absolute;right:3px}.control-buttons[hidden]{display:none}.readonly .control-buttons,.disabled .control-buttons{pointer-events:none}.control-buttons .divider{margin-block:8px}.control-buttons>*{flex-shrink:0}.fieldset{max-inline-size:var(--number-field-input-inline-size,auto)}";
25
25
  //#endregion
26
26
  //#region src/lib/number-field/number-field.ts
27
27
  var numberFieldAppearance = componentEnum(["fieldset", "ghost"], "fieldset");
@@ -1471,6 +1471,14 @@ var RteInputRulesFeatureImpl = class extends require_slottable_request.RteFeatur
1471
1471
  };
1472
1472
  //#endregion
1473
1473
  //#region src/lib/rich-text-editor/rte/features/base.ts
1474
+ var nodeNames$3 = {
1475
+ doc: "doc",
1476
+ text: "text",
1477
+ paragraph: "paragraph",
1478
+ heading1: "heading1",
1479
+ heading2: "heading2",
1480
+ heading3: "heading3"
1481
+ };
1474
1482
  var RteBaseImpl = class extends require_slottable_request.RteFeatureImpl {
1475
1483
  constructor(config) {
1476
1484
  super();
@@ -1479,8 +1487,8 @@ var RteBaseImpl = class extends require_slottable_request.RteFeatureImpl {
1479
1487
  }
1480
1488
  getSchema() {
1481
1489
  return [this.contribution({ nodes: {
1482
- doc: { content: this.config?.singleBlock ? "block" : "block+" },
1483
- text: { group: "inline" }
1490
+ [nodeNames$3.doc]: { content: this.config?.singleBlock ? "block" : "block+" },
1491
+ [nodeNames$3.text]: { group: "inline" }
1484
1492
  } })];
1485
1493
  }
1486
1494
  getPlugins(_rte) {
@@ -1527,7 +1535,7 @@ var RteBaseImpl = class extends require_slottable_request.RteFeatureImpl {
1527
1535
  };
1528
1536
  }
1529
1537
  };
1530
- var RteBase = require_slottable_request.featureFacade(RteBaseImpl);
1538
+ var RteBase = Object.assign(require_slottable_request.featureFacade(RteBaseImpl), { nodes: nodeNames$3 });
1531
1539
  //#endregion
1532
1540
  //#region src/lib/rich-text-editor/rte/features/text-block-picker.ts
1533
1541
  var RteTextBlockPickerFeatureImpl = class extends require_slottable_request.RteFeatureImpl {
@@ -1684,13 +1692,14 @@ var RtePlaceholderFeatureImpl = class extends require_slottable_request.RteFeatu
1684
1692
  var RtePlaceholderFeature = require_slottable_request.featureFacade(RtePlaceholderFeatureImpl);
1685
1693
  //#endregion
1686
1694
  //#region src/lib/rich-text-editor/rte/features/hard-break.ts
1695
+ var nodeNames$2 = { hardBreak: "hardBreak" };
1687
1696
  var RteHardBreakFeatureImpl = class extends require_slottable_request.RteFeatureImpl {
1688
1697
  constructor(..._args) {
1689
1698
  super(..._args);
1690
1699
  this.name = "RteHardBreakFeature";
1691
1700
  }
1692
1701
  getSchema() {
1693
- return [this.contribution({ nodes: { hardBreak: {
1702
+ return [this.contribution({ nodes: { [nodeNames$2.hardBreak]: {
1694
1703
  inline: true,
1695
1704
  group: "inline",
1696
1705
  selectable: false,
@@ -1712,10 +1721,11 @@ var RteHardBreakFeatureImpl = class extends require_slottable_request.RteFeature
1712
1721
  return [this.contribution((0, prosemirror_keymap.keymap)(keyBindings), require_slottable_request.contributionPriority.high)];
1713
1722
  }
1714
1723
  };
1715
- var RteHardBreakFeature = require_slottable_request.featureFacade(RteHardBreakFeatureImpl);
1724
+ var RteHardBreakFeature = Object.assign(require_slottable_request.featureFacade(RteHardBreakFeatureImpl), { nodes: nodeNames$2 });
1716
1725
  //#endregion
1717
1726
  //#region src/lib/rich-text-editor/rte/features/font-size-picker.ts
1718
1727
  var mixedFontSize = Symbol("mixedFontSize");
1728
+ var markNames$7 = { fontSize: "fontSize" };
1719
1729
  var RteFontSizePickerFeatureImpl = class extends require_slottable_request.RteFeatureImpl {
1720
1730
  constructor(config) {
1721
1731
  super();
@@ -1729,13 +1739,13 @@ var RteFontSizePickerFeatureImpl = class extends require_slottable_request.RteFe
1729
1739
  }
1730
1740
  getTextblockMarks() {
1731
1741
  if (this.config?.onBlocks) return this.config.onBlocks.map((block) => this.contribution({
1732
- markName: "fontSize",
1742
+ markName: markNames$7.fontSize,
1733
1743
  onNodeName: block.node
1734
1744
  }));
1735
- return [this.contribution({ markName: "fontSize" })];
1745
+ return [this.contribution({ markName: markNames$7.fontSize })];
1736
1746
  }
1737
1747
  getSchema() {
1738
- return [this.contribution({ marks: { fontSize: {
1748
+ const markSpec = {
1739
1749
  attrs: { size: { validate: "string" } },
1740
1750
  parseDOM: [{
1741
1751
  tag: "span[style*='font-size']",
@@ -1766,7 +1776,8 @@ var RteFontSizePickerFeatureImpl = class extends require_slottable_request.RteFe
1766
1776
  }
1767
1777
  return null;
1768
1778
  }
1769
- } } })];
1779
+ };
1780
+ return [this.contribution({ marks: { [markNames$7.fontSize]: markSpec } })];
1770
1781
  }
1771
1782
  getPlugins() {
1772
1783
  return [this.contribution((0, prosemirror_keymap.keymap)({
@@ -1851,7 +1862,7 @@ var RteFontSizePickerFeatureImpl = class extends require_slottable_request.RteFe
1851
1862
  };
1852
1863
  }
1853
1864
  };
1854
- var RteFontSizePickerFeature = require_slottable_request.featureFacade(RteFontSizePickerFeatureImpl);
1865
+ var RteFontSizePickerFeature = Object.assign(require_slottable_request.featureFacade(RteFontSizePickerFeatureImpl), { marks: markNames$7 });
1855
1866
  //#endregion
1856
1867
  //#region src/lib/rich-text-editor/rte/features/internal/text-style.ts
1857
1868
  var RteTextStyleFeatureImpl = class extends require_slottable_request.RteFeatureImpl {
@@ -1869,14 +1880,15 @@ var RteTextStyleFeatureImpl = class extends require_slottable_request.RteFeature
1869
1880
  };
1870
1881
  //#endregion
1871
1882
  //#region src/lib/rich-text-editor/rte/features/bold.ts
1883
+ var markNames$6 = { bold: "bold" };
1872
1884
  var RteBoldFeatureImpl = class extends RteTextStyleFeatureImpl {
1873
1885
  constructor(..._args) {
1874
1886
  super(..._args);
1875
1887
  this.name = "RteBoldFeature";
1876
- this.markName = "bold";
1888
+ this.markName = markNames$6.bold;
1877
1889
  }
1878
1890
  getSchema() {
1879
- return [this.contribution({ marks: { bold: prosemirror_schema_basic.marks.strong } })];
1891
+ return [this.contribution({ marks: { [markNames$6.bold]: prosemirror_schema_basic.marks.strong } })];
1880
1892
  }
1881
1893
  getPlugins(rte) {
1882
1894
  return [this.contribution((0, prosemirror_keymap.keymap)({ "Mod-b": (0, prosemirror_commands.toggleMark)(rte.schema.marks.bold) }))];
@@ -1892,17 +1904,18 @@ var RteBoldFeatureImpl = class extends RteTextStyleFeatureImpl {
1892
1904
  }, 1)];
1893
1905
  }
1894
1906
  };
1895
- var RteBoldFeature = require_slottable_request.featureFacade(RteBoldFeatureImpl);
1907
+ var RteBoldFeature = Object.assign(require_slottable_request.featureFacade(RteBoldFeatureImpl), { marks: markNames$6 });
1896
1908
  //#endregion
1897
1909
  //#region src/lib/rich-text-editor/rte/features/italic.ts
1910
+ var markNames$5 = { italic: "italic" };
1898
1911
  var RteItalicFeatureImpl = class extends RteTextStyleFeatureImpl {
1899
1912
  constructor(..._args) {
1900
1913
  super(..._args);
1901
1914
  this.name = "RteItalicFeature";
1902
- this.markName = "italic";
1915
+ this.markName = markNames$5.italic;
1903
1916
  }
1904
1917
  getSchema() {
1905
- return [this.contribution({ marks: { italic: prosemirror_schema_basic.marks.em } })];
1918
+ return [this.contribution({ marks: { [markNames$5.italic]: prosemirror_schema_basic.marks.em } })];
1906
1919
  }
1907
1920
  getPlugins(rte) {
1908
1921
  return [this.contribution((0, prosemirror_keymap.keymap)({ "Mod-i": (0, prosemirror_commands.toggleMark)(rte.schema.marks.italic) }))];
@@ -1918,17 +1931,18 @@ var RteItalicFeatureImpl = class extends RteTextStyleFeatureImpl {
1918
1931
  }, 2)];
1919
1932
  }
1920
1933
  };
1921
- var RteItalicFeature = require_slottable_request.featureFacade(RteItalicFeatureImpl);
1934
+ var RteItalicFeature = Object.assign(require_slottable_request.featureFacade(RteItalicFeatureImpl), { marks: markNames$5 });
1922
1935
  //#endregion
1923
1936
  //#region src/lib/rich-text-editor/rte/features/underline.ts
1937
+ var markNames$4 = { underline: "underline" };
1924
1938
  var RteUnderlineFeatureImpl = class extends RteTextStyleFeatureImpl {
1925
1939
  constructor(..._args) {
1926
1940
  super(..._args);
1927
1941
  this.name = "RteUnderlineFeature";
1928
- this.markName = "underline";
1942
+ this.markName = markNames$4.underline;
1929
1943
  }
1930
1944
  getSchema() {
1931
- return [this.contribution({ marks: { underline: {
1945
+ return [this.contribution({ marks: { [markNames$4.underline]: {
1932
1946
  parseDOM: [{ tag: "u" }],
1933
1947
  toDOM() {
1934
1948
  return ["u", 0];
@@ -1949,17 +1963,18 @@ var RteUnderlineFeatureImpl = class extends RteTextStyleFeatureImpl {
1949
1963
  }, 3)];
1950
1964
  }
1951
1965
  };
1952
- var RteUnderlineFeature = require_slottable_request.featureFacade(RteUnderlineFeatureImpl);
1966
+ var RteUnderlineFeature = Object.assign(require_slottable_request.featureFacade(RteUnderlineFeatureImpl), { marks: markNames$4 });
1953
1967
  //#endregion
1954
1968
  //#region src/lib/rich-text-editor/rte/features/strikethrough.ts
1969
+ var markNames$3 = { strikethrough: "strikethrough" };
1955
1970
  var RteStrikethroughFeatureImpl = class extends RteTextStyleFeatureImpl {
1956
1971
  constructor(..._args) {
1957
1972
  super(..._args);
1958
1973
  this.name = "RteStrikethroughFeature";
1959
- this.markName = "strikethrough";
1974
+ this.markName = markNames$3.strikethrough;
1960
1975
  }
1961
1976
  getSchema() {
1962
- return [this.contribution({ marks: { strikethrough: {
1977
+ return [this.contribution({ marks: { [markNames$3.strikethrough]: {
1963
1978
  parseDOM: [{ tag: "s" }, { tag: "del" }],
1964
1979
  toDOM() {
1965
1980
  return ["s", 0];
@@ -1983,23 +1998,24 @@ var RteStrikethroughFeatureImpl = class extends RteTextStyleFeatureImpl {
1983
1998
  }, 4)];
1984
1999
  }
1985
2000
  };
1986
- var RteStrikethroughFeature = require_slottable_request.featureFacade(RteStrikethroughFeatureImpl);
2001
+ var RteStrikethroughFeature = Object.assign(require_slottable_request.featureFacade(RteStrikethroughFeatureImpl), { marks: markNames$3 });
1987
2002
  //#endregion
1988
2003
  //#region src/lib/rich-text-editor/rte/features/monospace.style.scss?inline
1989
2004
  var monospace_style_default = "tt{font:var(--vvd-typography-base-code);font-variant-ligatures:unset;font-feature-settings:unset;font-size:unset;font-weight:unset;line-height:unset}";
1990
2005
  //#endregion
1991
2006
  //#region src/lib/rich-text-editor/rte/features/monospace.ts
2007
+ var markNames$2 = { monospace: "monospace" };
1992
2008
  var RteMonospaceFeatureImpl = class extends RteTextStyleFeatureImpl {
1993
2009
  constructor(..._args) {
1994
2010
  super(..._args);
1995
2011
  this.name = "RteMonospaceFeature";
1996
- this.markName = "monospace";
2012
+ this.markName = markNames$2.monospace;
1997
2013
  }
1998
2014
  getStyles() {
1999
2015
  return [this.contribution(monospace_style_default)];
2000
2016
  }
2001
2017
  getSchema() {
2002
- return [this.contribution({ marks: { monospace: {
2018
+ return [this.contribution({ marks: { [markNames$2.monospace]: {
2003
2019
  parseDOM: [{ tag: "tt" }, { tag: "code" }],
2004
2020
  toDOM() {
2005
2021
  return ["tt", 0];
@@ -2020,7 +2036,7 @@ var RteMonospaceFeatureImpl = class extends RteTextStyleFeatureImpl {
2020
2036
  }, 5)];
2021
2037
  }
2022
2038
  };
2023
- var RteMonospaceFeature = require_slottable_request.featureFacade(RteMonospaceFeatureImpl);
2039
+ var RteMonospaceFeature = Object.assign(require_slottable_request.featureFacade(RteMonospaceFeatureImpl), { marks: markNames$2 });
2024
2040
  //#endregion
2025
2041
  //#region src/lib/rich-text-editor/rte/utils/color.ts
2026
2042
  /**
@@ -2067,6 +2083,7 @@ function markApplies(doc, ranges, type) {
2067
2083
  return false;
2068
2084
  }
2069
2085
  var mixedColor = Symbol("mixedColor");
2086
+ var markNames$1 = { textColor: "textColor" };
2070
2087
  var RteTextColorPickerFeatureImpl = class extends require_slottable_request.RteFeatureImpl {
2071
2088
  constructor(config) {
2072
2089
  super();
@@ -2079,10 +2096,10 @@ var RteTextColorPickerFeatureImpl = class extends require_slottable_request.RteF
2079
2096
  }
2080
2097
  getTextblockMarks() {
2081
2098
  if (this.config?.onBlocks) return this.config.onBlocks.map((block) => this.contribution({
2082
- markName: "textColor",
2099
+ markName: markNames$1.textColor,
2083
2100
  onNodeName: block.node
2084
2101
  }));
2085
- return [this.contribution({ markName: "textColor" })];
2102
+ return [this.contribution({ markName: markNames$1.textColor })];
2086
2103
  }
2087
2104
  getSchema() {
2088
2105
  const parseColor = (color) => {
@@ -2090,7 +2107,7 @@ var RteTextColorPickerFeatureImpl = class extends require_slottable_request.RteF
2090
2107
  if (parsedColor === null) return false;
2091
2108
  return { color: parsedColor };
2092
2109
  };
2093
- return [this.contribution({ marks: { textColor: {
2110
+ return [this.contribution({ marks: { [markNames$1.textColor]: {
2094
2111
  attrs: { color: { validate: "string" } },
2095
2112
  parseDOM: [{
2096
2113
  tag: "span[data-text-color]",
@@ -2186,14 +2203,16 @@ var RteTextColorPickerFeatureImpl = class extends require_slottable_request.RteF
2186
2203
  };
2187
2204
  }
2188
2205
  };
2189
- var RteTextColorPickerFeature = Object.assign(require_slottable_request.featureFacade(RteTextColorPickerFeatureImpl), {
2190
- /**
2191
- * Normalizes a CSS color into its canonical CSSOM serialization, so that
2192
- * colors written in different notations can be compared. Nothing is resolved
2193
- * against the document, so values such as `var(--brand)` or `inherit` are
2194
- * returned unchanged. Returns `null` if the value is not a valid CSS color.
2195
- */
2196
- normalizeCssColor });
2206
+ var RteTextColorPickerFeature = Object.assign(require_slottable_request.featureFacade(RteTextColorPickerFeatureImpl), {
2207
+ marks: markNames$1,
2208
+ /**
2209
+ * Normalizes a CSS color into its canonical CSSOM serialization, so that
2210
+ * colors written in different notations can be compared. Nothing is resolved
2211
+ * against the document, so values such as `var(--brand)` or `inherit` are
2212
+ * returned unchanged. Returns `null` if the value is not a valid CSS color.
2213
+ */
2214
+ normalizeCssColor
2215
+ });
2197
2216
  //#endregion
2198
2217
  //#region src/lib/rich-text-editor/rte/features/list.style.scss?inline
2199
2218
  var list_style_default = ".rich-text ul,.rich-text ol{padding-inline-start:1.5em}.rich-text li{list-style-position:inside}";
@@ -2280,6 +2299,11 @@ var sinkLi = (listType, $li, tr) => {
2280
2299
  var sinkNode = (rte, listType, $node, tr) => {
2281
2300
  tr.step(new prosemirror_transform.ReplaceAroundStep($node.before(), $node.after(), $node.start(), $node.end(), new prosemirror_model.Slice(prosemirror_model.Fragment.from(listType.create(null, [rte.schema.nodes.listItem.create(rte.textblockAttrs.extractFromNode($node.parent))])), 0, 0), 2));
2282
2301
  };
2302
+ var nodeNames$1 = {
2303
+ listItem: "listItem",
2304
+ bulletList: "bulletList",
2305
+ numberedList: "numberedList"
2306
+ };
2283
2307
  var RteListFeatureImpl = class extends require_slottable_request.RteFeatureImpl {
2284
2308
  constructor(config) {
2285
2309
  super();
@@ -2292,7 +2316,7 @@ var RteListFeatureImpl = class extends require_slottable_request.RteFeatureImpl
2292
2316
  }
2293
2317
  getSchema(textblockAttrs) {
2294
2318
  return [this.contribution({ nodes: {
2295
- listItem: {
2319
+ [nodeNames$1.listItem]: {
2296
2320
  content: "inline*",
2297
2321
  attrs: textblockAttrs.attrs,
2298
2322
  defining: true,
@@ -2308,7 +2332,7 @@ var RteListFeatureImpl = class extends require_slottable_request.RteFeatureImpl
2308
2332
  ];
2309
2333
  }
2310
2334
  },
2311
- ...this.config.bulletList ? { bulletList: {
2335
+ ...this.config.bulletList ? { [nodeNames$1.bulletList]: {
2312
2336
  group: "block list",
2313
2337
  content: "(listItem | list)+",
2314
2338
  parseDOM: [{ tag: "ul" }],
@@ -2316,7 +2340,7 @@ var RteListFeatureImpl = class extends require_slottable_request.RteFeatureImpl
2316
2340
  return ["ul", 0];
2317
2341
  }
2318
2342
  } } : {},
2319
- ...this.config.numberedList ? { numberedList: {
2343
+ ...this.config.numberedList ? { [nodeNames$1.numberedList]: {
2320
2344
  group: "block list",
2321
2345
  content: "(listItem | list)+",
2322
2346
  parseDOM: [{ tag: "ol" }],
@@ -2446,7 +2470,7 @@ var RteListFeatureImpl = class extends require_slottable_request.RteFeatureImpl
2446
2470
  else return false;
2447
2471
  }
2448
2472
  };
2449
- var RteListFeature = require_slottable_request.featureFacade(RteListFeatureImpl);
2473
+ var RteListFeature = Object.assign(require_slottable_request.featureFacade(RteListFeatureImpl), { nodes: nodeNames$1 });
2450
2474
  //#endregion
2451
2475
  //#region src/lib/rich-text-editor/rte/features/alignment.ts
2452
2476
  var alignments = [
@@ -2573,6 +2597,7 @@ function convertToLink(state, matchedText, start, end) {
2573
2597
  if (trailingChars) tr.replaceWith(linkEnd, end, state.schema.text(trailingChars));
2574
2598
  return tr;
2575
2599
  }
2600
+ var markNames = { link: "link" };
2576
2601
  var RteLinkFeatureImpl = class extends require_slottable_request.RteFeatureImpl {
2577
2602
  constructor(..._args) {
2578
2603
  super(..._args);
@@ -2589,7 +2614,7 @@ var RteLinkFeatureImpl = class extends require_slottable_request.RteFeatureImpl
2589
2614
  return [this.contribution(link_style_default)];
2590
2615
  }
2591
2616
  getSchema() {
2592
- return [this.contribution({ marks: { link: {
2617
+ return [this.contribution({ marks: { [markNames.link]: {
2593
2618
  attrs: { href: { validate: "string" } },
2594
2619
  inclusive: false,
2595
2620
  parseDOM: [{
@@ -2609,7 +2634,7 @@ var RteLinkFeatureImpl = class extends require_slottable_request.RteFeatureImpl
2609
2634
  } } }, require_slottable_request.contributionPriority.high)];
2610
2635
  }
2611
2636
  getTextblockMarks() {
2612
- return [this.contribution({ markName: "link" })];
2637
+ return [this.contribution({ markName: markNames.link })];
2613
2638
  }
2614
2639
  getInputRules() {
2615
2640
  const linkRegex = new RegExp(`${linkPattern}$`);
@@ -2842,7 +2867,7 @@ var RteLinkFeatureImpl = class extends require_slottable_request.RteFeatureImpl
2842
2867
  };
2843
2868
  }
2844
2869
  };
2845
- var RteLinkFeature = require_slottable_request.featureFacade(RteLinkFeatureImpl);
2870
+ var RteLinkFeature = Object.assign(require_slottable_request.featureFacade(RteLinkFeatureImpl), { marks: markNames });
2846
2871
  //#endregion
2847
2872
  //#region src/lib/rich-text-editor/rte/features/inline-image.style.scss?inline
2848
2873
  var inline_image_style_default = ".inline-image-wrapper{vertical-align:text-bottom;display:inline-block}.inline-image{block-size:auto;display:block}.inline-image-popover{align-items:center;gap:4px;padding:8px;display:flex}.inline-image-placeholder{color:var(--vvd-color-canvas-text);font:var(--vvd-typography-base);font-feature-settings:normal;font-variant-ligatures:normal;overflow-wrap:normal;pointer-events:none;white-space:normal}";
@@ -2933,6 +2958,7 @@ var InlineImageView = class {
2933
2958
  this.setContent(null);
2934
2959
  }
2935
2960
  };
2961
+ var nodeNames = { inlineImage: "inlineImage" };
2936
2962
  var RteInlineImageFeatureImpl = class extends require_slottable_request.RteFeatureImpl {
2937
2963
  constructor(config = {}) {
2938
2964
  super();
@@ -2943,7 +2969,7 @@ var RteInlineImageFeatureImpl = class extends require_slottable_request.RteFeatu
2943
2969
  return [this.contribution(inline_image_style_default)];
2944
2970
  }
2945
2971
  getSchema() {
2946
- return [this.contribution({ nodes: { inlineImage: {
2972
+ const inlineImage = {
2947
2973
  inline: true,
2948
2974
  group: "inline",
2949
2975
  selectable: true,
@@ -3001,7 +3027,8 @@ var RteInlineImageFeatureImpl = class extends require_slottable_request.RteFeatu
3001
3027
  if (naturalHeight) attrs.height = naturalHeight;
3002
3028
  return ["img", attrs];
3003
3029
  }
3004
- } } })];
3030
+ };
3031
+ return [this.contribution({ nodes: { [nodeNames.inlineImage]: inlineImage } })];
3005
3032
  }
3006
3033
  getPlugins(rte) {
3007
3034
  let popover;
@@ -3106,7 +3133,7 @@ var RteInlineImageFeatureImpl = class extends require_slottable_request.RteFeatu
3106
3133
  return null;
3107
3134
  }
3108
3135
  };
3109
- var RteInlineImageFeature = require_slottable_request.featureFacade(RteInlineImageFeatureImpl);
3136
+ var RteInlineImageFeature = Object.assign(require_slottable_request.featureFacade(RteInlineImageFeatureImpl), { nodes: nodeNames });
3110
3137
  //#endregion
3111
3138
  //#region src/shared/utils/promise.ts
3112
3139
  var resolvePromise = async (promise) => {