@redvars/peacock 4.2.0 → 4.2.1
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.
- package/dist/{BaseField-_unSNU5x.js → BaseField-D8ByB0l3.js} +3 -3
- package/dist/{BaseField-_unSNU5x.js.map → BaseField-D8ByB0l3.js.map} +1 -1
- package/dist/{BaseInput-DtZH0fPJ.js → BaseInput-xCHvT4AN.js} +2 -2
- package/dist/{BaseInput-DtZH0fPJ.js.map → BaseInput-xCHvT4AN.js.map} +1 -1
- package/dist/ai-badge.js +2 -2
- package/dist/ai-summary.js +2 -2
- package/dist/alert.js +2 -2
- package/dist/anchor-nav.js +2 -2
- package/dist/app-shell.js +2 -2
- package/dist/assistant-panel.js +2 -2
- package/dist/assistant-step.js +2 -2
- package/dist/assistant-steps.js +2 -2
- package/dist/avatar-group.js +2 -2
- package/dist/banner.js +2 -2
- package/dist/{base-progress-D7Nmfh1s.js → base-progress-DxNgAQtw.js} +2 -2
- package/dist/{base-progress-D7Nmfh1s.js.map → base-progress-DxNgAQtw.js.map} +1 -1
- package/dist/bottom-sheet.js +2 -2
- package/dist/breadcrumb.js +2 -2
- package/dist/calendar.js +2 -2
- package/dist/{canvas-base-CWQ4rQ2s.js → canvas-base-DHKf2CmA.js} +2 -2
- package/dist/{canvas-base-CWQ4rQ2s.js.map → canvas-base-DHKf2CmA.js.map} +1 -1
- package/dist/{cartesian-chart-CS5yRLfE.js → cartesian-chart-G6VX1aKk.js} +2 -2
- package/dist/{cartesian-chart-CS5yRLfE.js.map → cartesian-chart-G6VX1aKk.js.map} +1 -1
- package/dist/{cb-group-base-CO30uFQZ.js → cb-group-base-CZLzCnXK.js} +2 -2
- package/dist/{cb-group-base-CO30uFQZ.js.map → cb-group-base-CZLzCnXK.js.map} +1 -1
- package/dist/cb-group.js +3 -3
- package/dist/cb-rule.js +3 -3
- package/dist/chart-area.js +4 -4
- package/dist/chart-bar.js +4 -4
- package/dist/{chart-base-C_XKVyhf.js → chart-base-DREru2P0.js} +2 -2
- package/dist/{chart-base-C_XKVyhf.js.map → chart-base-DREru2P0.js.map} +1 -1
- package/dist/chart-doughnut.js +3 -3
- package/dist/chart-line.js +4 -4
- package/dist/chart-pie.js +3 -3
- package/dist/chat-event.js +2 -2
- package/dist/chat-message.js +2 -2
- package/dist/chat-thread.js +2 -2
- package/dist/checkbox-group.js +3 -3
- package/dist/checkbox.js +3 -3
- package/dist/chip-set.js +2 -2
- package/dist/chip.js +2 -2
- package/dist/circular-progress.js +3 -3
- package/dist/citation.js +2 -2
- package/dist/code-editor.js +3 -3
- package/dist/code-highlighter.js +2 -2
- package/dist/color-field.js +4 -4
- package/dist/color-picker.js +2 -2
- package/dist/command-palette.js +2 -2
- package/dist/comment-composer.js +24 -12
- package/dist/comment-composer.js.map +1 -1
- package/dist/condition-builder.js +3 -3
- package/dist/confirm-dialog.js +2 -2
- package/dist/copy-button.js +2 -2
- package/dist/currency-field.js +4 -4
- package/dist/custom-elements-jsdocs.json +54 -2
- package/dist/custom-elements.json +134 -43
- package/dist/date-field.js +5 -5
- package/dist/date-picker.js +2 -2
- package/dist/date-range-field.js +5 -5
- package/dist/datetime-field.js +5 -5
- package/dist/dependency-map.js +3 -3
- package/dist/description-item.js +2 -2
- package/dist/description-list.js +2 -2
- package/dist/{diagram-Va096vj9.js → diagram-CHF70xTL.js} +2 -2
- package/dist/{diagram-Va096vj9.js.map → diagram-CHF70xTL.js.map} +1 -1
- package/dist/diagram-controls.js +2 -2
- package/dist/diagram-minimap.js +2 -2
- package/dist/diagram.js +4 -4
- package/dist/diff-viewer.js +2 -2
- package/dist/discussion-activity.js +2 -2
- package/dist/discussion-comment.js +2 -2
- package/dist/discussion.js +4 -4
- package/dist/{document-editor-Dc8JeFVB.js → document-editor-Cb9fCxvA.js} +22 -10
- package/dist/{document-editor-Dc8JeFVB.js.map → document-editor-Cb9fCxvA.js.map} +1 -1
- package/dist/document-editor.js +3 -3
- package/dist/draft-card.js +2 -2
- package/dist/erd.js +3 -3
- package/dist/file-upload.js +3 -3
- package/dist/filter-bar.js +2 -2
- package/dist/flow.js +4 -4
- package/dist/form.js +2 -2
- package/dist/{generative-view-BKlcuujw.js → generative-view-C4fJ2zI7.js} +2 -2
- package/dist/{generative-view-BKlcuujw.js.map → generative-view-C4fJ2zI7.js.map} +1 -1
- package/dist/generative-view.js +3 -3
- package/dist/html-editor.js +29 -12
- package/dist/html-editor.js.map +1 -1
- package/dist/{i18n-controller-DJHsE1YH.js → i18n-controller-CH4e9sju.js} +2 -2
- package/dist/{i18n-controller-DJHsE1YH.js.map → i18n-controller-CH4e9sju.js.map} +1 -1
- package/dist/image.js +2 -2
- package/dist/index.js +16 -16
- package/dist/inline-edit.js +2 -2
- package/dist/input.js +3 -3
- package/dist/json-viewer.js +2 -2
- package/dist/kanban.js +2 -2
- package/dist/kbd.js +2 -2
- package/dist/linear-progress.js +3 -3
- package/dist/listbox.js +2 -2
- package/dist/loader-full.js +9 -9
- package/dist/loader.js +9 -9
- package/dist/markdown-editor.js +29 -12
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mention-input.js +4 -4
- package/dist/modal.js +2 -2
- package/dist/navigation-bar.js +2 -2
- package/dist/navigation-drawer.js +2 -2
- package/dist/navigation-rail.js +2 -2
- package/dist/notification-center.js +2 -2
- package/dist/number-field.js +4 -4
- package/dist/page-header.js +2 -2
- package/dist/pagination.js +2 -2
- package/dist/password-field.js +4 -4
- package/dist/password-rules.js +2 -2
- package/dist/phone-field.js +4 -4
- package/dist/{picker-field-CUI05sWc.js → picker-field-loXW-xrW.js} +3 -3
- package/dist/{picker-field-CUI05sWc.js.map → picker-field-loXW-xrW.js.map} +1 -1
- package/dist/pin-input.js +4 -4
- package/dist/presence-indicator.js +2 -2
- package/dist/prompt-input.js +24 -12
- package/dist/prompt-input.js.map +1 -1
- package/dist/radio.js +3 -3
- package/dist/rating.js +3 -3
- package/dist/redvars-loader.js +2 -2
- package/dist/relative-time.js +2 -2
- package/dist/resizable-panels.js +2 -2
- package/dist/{rich-text-input-N_hqnXej.js → rich-text-input-B5j0eqCJ.js} +21 -18
- package/dist/rich-text-input-B5j0eqCJ.js.map +1 -0
- package/dist/{schema-Dy0z-80u.js → schema-BJzlGRP1.js} +2 -2
- package/dist/{schema-Dy0z-80u.js.map → schema-BJzlGRP1.js.map} +1 -1
- package/dist/search.js +3 -3
- package/dist/select.js +4 -4
- package/dist/side-sheet.js +2 -2
- package/dist/signature-pad.js +3 -3
- package/dist/slider.js +3 -3
- package/dist/snackbar.js +2 -2
- package/dist/sparkline.js +2 -2
- package/dist/split-button.js +2 -2
- package/dist/src/__internal/i18n/strings.d.ts +0 -1
- package/dist/src/__internal/rich-text/rich-text-input.d.ts +6 -1
- package/dist/src/html-editor/html-editor.d.ts +5 -0
- package/dist/src/markdown-editor/markdown-editor.d.ts +5 -0
- package/dist/stat.js +2 -2
- package/dist/status-indicator.js +2 -2
- package/dist/step.js +2 -2
- package/dist/stepper.js +2 -2
- package/dist/{strings-DnYjGbbc.js → strings-o6v6Hrmn.js} +1 -2
- package/dist/strings-o6v6Hrmn.js.map +1 -0
- package/dist/svg.js +2 -2
- package/dist/switch.js +3 -3
- package/dist/table.js +2 -2
- package/dist/textarea.js +4 -4
- package/dist/time-field.js +5 -5
- package/dist/time-picker.js +2 -2
- package/dist/timeline-item.js +2 -2
- package/dist/timeline.js +2 -2
- package/dist/{toggle-base-CXmFSp3b.js → toggle-base-BSzBnLZN.js} +2 -2
- package/dist/{toggle-base-CXmFSp3b.js.map → toggle-base-BSzBnLZN.js.map} +1 -1
- package/dist/tour.js +2 -2
- package/dist/transfer-list.js +3 -3
- package/dist/tree-chart.js +3 -3
- package/dist/tree-item.js +2 -2
- package/dist/tree.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/typing-indicator.js +2 -2
- package/dist/url-field.js +4 -4
- package/dist/user-menu.js +2 -2
- package/dist/virtual-list.js +2 -2
- package/dist/workflow-timeline.js +2 -2
- package/dist/workflow.js +3 -3
- package/dist/workspace-switcher.js +2 -2
- package/package.json +1 -1
- package/src/__internal/i18n/strings.ts +0 -1
- package/src/__internal/rich-text/editor-chrome.scss +27 -10
- package/src/__internal/rich-text/rich-text-input.ts +17 -16
- package/src/html-editor/html-editor.ts +5 -0
- package/src/markdown-editor/markdown-editor.ts +5 -0
- package/dist/rich-text-input-N_hqnXej.js.map +0 -1
- package/dist/strings-DnYjGbbc.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as onPeacockStringsChange, p as peacockString } from './strings-
|
|
1
|
+
import { o as onPeacockStringsChange, p as peacockString } from './strings-o6v6Hrmn.js';
|
|
2
2
|
import { r as resolveLocale } from './locale-DEsJZCQG.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -33,4 +33,4 @@ class I18nController {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
export { I18nController as I };
|
|
36
|
-
//# sourceMappingURL=i18n-controller-
|
|
36
|
+
//# sourceMappingURL=i18n-controller-CH4e9sju.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-controller-
|
|
1
|
+
{"version":3,"file":"i18n-controller-CH4e9sju.js","sources":["../../src/__internal/i18n/i18n-controller.ts"],"sourcesContent":["import type { ReactiveController, ReactiveControllerHost } from 'lit';\nimport {\n onPeacockStringsChange,\n peacockString,\n type PeacockStringKey,\n type PeacockStrings,\n} from './strings.js';\nimport { resolveLocale } from './locale.js';\n\ntype Host = ReactiveControllerHost &\n HTMLElement & {\n /** Per-instance string overrides, on components that render many strings. */\n strings?: Partial<PeacockStrings>;\n /** The component's own locale, on components that format numbers or dates. */\n locale?: string;\n };\n\n/**\n * Gives a component its strings and locale, and re-renders it when the app calls\n * `setPeacockStrings()`.\n *\n * @example\n * private readonly i18n = new I18nController(this);\n * // in render(): aria-label=${this.i18n.t('dismiss')}\n */\nexport class I18nController implements ReactiveController {\n private readonly host: Host;\n\n private stopListening?: () => void;\n\n constructor(host: Host) {\n this.host = host;\n host.addController(this);\n }\n\n hostConnected() {\n this.stopListening = onPeacockStringsChange(() =>\n this.host.requestUpdate(),\n );\n }\n\n hostDisconnected() {\n this.stopListening?.();\n this.stopListening = undefined;\n }\n\n /** The string for `key`: the instance's override, else the app's, else the English default. */\n t<K extends PeacockStringKey>(key: K): PeacockStrings[K] {\n const override = this.host.strings?.[key];\n return (override ?? peacockString(key)) as PeacockStrings[K];\n }\n\n /** The locale to format with: the host's `locale`, else the nearest `lang`, else the browser's. */\n get locale(): string {\n return resolveLocale(this.host.locale, this.host);\n }\n}\n"],"names":[],"mappings":";;;AAiBA;;;;;;;AAOG;MACU,cAAc,CAAA;AAKzB,IAAA,WAAA,CAAY,IAAU,EAAA;AACpB,QAAA,IAAI,CAAC,IAAI,GAAG,IAAI;AAChB,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC;IAC1B;IAEA,aAAa,GAAA;AACX,QAAA,IAAI,CAAC,aAAa,GAAG,sBAAsB,CAAC,MAC1C,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAC1B;IACH;IAEA,gBAAgB,GAAA;AACd,QAAA,IAAI,CAAC,aAAa,IAAI;AACtB,QAAA,IAAI,CAAC,aAAa,GAAG,SAAS;IAChC;;AAGA,IAAA,CAAC,CAA6B,GAAM,EAAA;QAClC,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC;QACzC,QAAQ,QAAQ,IAAI,aAAa,CAAC,GAAG,CAAC;IACxC;;AAGA,IAAA,IAAI,MAAM,GAAA;AACR,QAAA,OAAO,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC;IACnD;AACD;;;;"}
|
package/dist/image.js
CHANGED
|
@@ -3,9 +3,9 @@ import { n } from './property-B2TG3KEE.js';
|
|
|
3
3
|
import { r } from './state-BCeDVCI9.js';
|
|
4
4
|
import { e } from './query-CHb9Ft_d.js';
|
|
5
5
|
import { o as observeThemeChange } from './observe-theme-change-CkSENG98.js';
|
|
6
|
-
import { I as I18nController } from './i18n-controller-
|
|
6
|
+
import { I as I18nController } from './i18n-controller-CH4e9sju.js';
|
|
7
7
|
import './base-Cl6v8-BZ.js';
|
|
8
|
-
import './strings-
|
|
8
|
+
import './strings-o6v6Hrmn.js';
|
|
9
9
|
import './locale-DEsJZCQG.js';
|
|
10
10
|
|
|
11
11
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as defaultStrings, s as setPeacockStrings } from './strings-
|
|
1
|
+
export { d as defaultStrings, s as setPeacockStrings } from './strings-o6v6Hrmn.js';
|
|
2
2
|
export { Icon } from './icon.js';
|
|
3
3
|
export { s as setIconBase } from './datasource-OwvH7SVq.js';
|
|
4
4
|
export { Avatar } from './avatar.js';
|
|
@@ -63,7 +63,7 @@ export { MarkdownEditor } from './markdown-editor.js';
|
|
|
63
63
|
export { Markdown } from './markdown.js';
|
|
64
64
|
export { e as extractMentions } from './markdown-lexer-Bx4Vkpu6.js';
|
|
65
65
|
export { m as mentionToMarkdown } from './mention--NNhafc7.js';
|
|
66
|
-
export { D as DocumentEditor, e as emptyDocument, n as normalizeDocument } from './document-editor-
|
|
66
|
+
export { D as DocumentEditor, e as emptyDocument, n as normalizeDocument } from './document-editor-Cb9fCxvA.js';
|
|
67
67
|
export { Image } from './image.js';
|
|
68
68
|
export { Svg } from './svg.js';
|
|
69
69
|
export { Tab } from './tab.js';
|
|
@@ -161,8 +161,8 @@ export { AssistantSteps } from './assistant-steps.js';
|
|
|
161
161
|
export { AssistantStep } from './assistant-step.js';
|
|
162
162
|
export { DraftCard } from './draft-card.js';
|
|
163
163
|
export { AiSummary } from './ai-summary.js';
|
|
164
|
-
export { G as GenerativeView, p as parsePartialJson } from './generative-view-
|
|
165
|
-
export { g as generativeViewSchema } from './schema-
|
|
164
|
+
export { G as GenerativeView, p as parsePartialJson } from './generative-view-C4fJ2zI7.js';
|
|
165
|
+
export { g as generativeViewSchema } from './schema-BJzlGRP1.js';
|
|
166
166
|
export { AssistantPanel } from './assistant-panel.js';
|
|
167
167
|
export { HoverCard } from './hover-card.js';
|
|
168
168
|
export { Kanban, applyKanbanMove } from './kanban.js';
|
|
@@ -178,7 +178,7 @@ export { I as Illustration, i as illustrationNames, r as registerIllustration }
|
|
|
178
178
|
export { Calendar } from './calendar.js';
|
|
179
179
|
export { CalendarColumnView } from './calendar-column-view.js';
|
|
180
180
|
export { CalendarMonthView } from './calendar-month-view.js';
|
|
181
|
-
export { D as Diagram } from './diagram-
|
|
181
|
+
export { D as Diagram } from './diagram-CHF70xTL.js';
|
|
182
182
|
export { Flow } from './flow.js';
|
|
183
183
|
export { DiagramControls } from './diagram-controls.js';
|
|
184
184
|
export { Workflow } from './workflow.js';
|
|
@@ -189,7 +189,7 @@ export { Erd } from './erd.js';
|
|
|
189
189
|
export { DiagramMinimap } from './diagram-minimap.js';
|
|
190
190
|
export { ConditionBuilder } from './condition-builder.js';
|
|
191
191
|
export { CbGroup } from './cb-group.js';
|
|
192
|
-
export { C as CbRule } from './cb-group-base-
|
|
192
|
+
export { C as CbRule } from './cb-group-base-CZLzCnXK.js';
|
|
193
193
|
export { CbDivider } from './cb-divider.js';
|
|
194
194
|
export { W as WORKFLOW_LOGIC_STEPS } from './workflow-model-CauduOG2.js';
|
|
195
195
|
import './IndividualComponent-BK7XZjE2.js';
|
|
@@ -215,38 +215,38 @@ import './warn-once-BNxX1Y98.js';
|
|
|
215
215
|
import './form-associated-BHbg72PG.js';
|
|
216
216
|
import './is-link-Dk2OV3PM.js';
|
|
217
217
|
import './hyperlink-DycWPKwU.js';
|
|
218
|
-
import './i18n-controller-
|
|
218
|
+
import './i18n-controller-CH4e9sju.js';
|
|
219
219
|
import './menu-trigger-controller-CEJq1ugC.js';
|
|
220
220
|
import './attachable-controller-DofeyflD.js';
|
|
221
221
|
import './query-assigned-elements-BJaGSqM0.js';
|
|
222
222
|
import './roving-focus-controller-fm95JkZJ.js';
|
|
223
223
|
import './NativeHyperlinkMixin-WdY0fM-H.js';
|
|
224
224
|
import './spread-B5cgadZl.js';
|
|
225
|
-
import './BaseInput-
|
|
225
|
+
import './BaseInput-xCHvT4AN.js';
|
|
226
226
|
import './suggestion-controller-7YRQqkaI.js';
|
|
227
227
|
import './style-map-CHOg6N_R.js';
|
|
228
|
-
import './base-progress-
|
|
229
|
-
import './BaseField-
|
|
228
|
+
import './base-progress-DxNgAQtw.js';
|
|
229
|
+
import './BaseField-D8ByB0l3.js';
|
|
230
230
|
import './date-vFrYT1S9.js';
|
|
231
231
|
import './utils-D92ldd1V.js';
|
|
232
|
-
import './picker-field-
|
|
232
|
+
import './picker-field-loXW-xrW.js';
|
|
233
233
|
import './range-utils-BoKOhxVX.js';
|
|
234
|
-
import './toggle-base-
|
|
234
|
+
import './toggle-base-BSzBnLZN.js';
|
|
235
235
|
import './floating-controller-CABF4tBT.js';
|
|
236
236
|
import './placement-C4GO0JP9.js';
|
|
237
237
|
import './overlay-controller-BOk-kfil.js';
|
|
238
238
|
import './query-all-ThKhg-Lp.js';
|
|
239
239
|
import './token-colors-DEO6rvEu.js';
|
|
240
240
|
import './observe-theme-change-CkSENG98.js';
|
|
241
|
-
import './rich-text-input-
|
|
241
|
+
import './rich-text-input-B5j0eqCJ.js';
|
|
242
242
|
import './slash-controller-DAsDquPA.js';
|
|
243
243
|
import './diff-CT416thw.js';
|
|
244
244
|
import './sparkle-BmtM0vbq.js';
|
|
245
245
|
import './url-BFUh__RO.js';
|
|
246
246
|
import './transform-CxeQFXXB.js';
|
|
247
|
-
import './chart-base-
|
|
247
|
+
import './chart-base-DREru2P0.js';
|
|
248
248
|
import './path-CJ0Arqcy.js';
|
|
249
|
-
import './cartesian-chart-
|
|
249
|
+
import './cartesian-chart-G6VX1aKk.js';
|
|
250
250
|
import './repeat-D_ERDRYT.js';
|
|
251
251
|
import './directive-helpers-Bx3mu42O.js';
|
|
252
252
|
import './virtual-window-5OYyIqZh.js';
|
|
@@ -259,7 +259,7 @@ import './relative-time-BNxqvEbg.js';
|
|
|
259
259
|
import './discussion-time-DqykqvNy.js';
|
|
260
260
|
import './calendar-event-_OYdAT3c.js';
|
|
261
261
|
import './event-manager-CWAWPOUE.js';
|
|
262
|
-
import './canvas-base-
|
|
262
|
+
import './canvas-base-DHKf2CmA.js';
|
|
263
263
|
import './geometry-INg82Lxq.js';
|
|
264
264
|
import './host-CZK7xhzh.js';
|
|
265
265
|
import './measure-controller-Dmc5hZKg.js';
|
package/dist/inline-edit.js
CHANGED
|
@@ -3,10 +3,10 @@ import { n } from './property-B2TG3KEE.js';
|
|
|
3
3
|
import { r } from './state-BCeDVCI9.js';
|
|
4
4
|
import { e } from './query-CHb9Ft_d.js';
|
|
5
5
|
import { e as e$1 } from './class-map-NDIkZErE.js';
|
|
6
|
-
import { I as I18nController } from './i18n-controller-
|
|
6
|
+
import { I as I18nController } from './i18n-controller-CH4e9sju.js';
|
|
7
7
|
import './base-Cl6v8-BZ.js';
|
|
8
8
|
import './directive-ZPhl09Yt.js';
|
|
9
|
-
import './strings-
|
|
9
|
+
import './strings-o6v6Hrmn.js';
|
|
10
10
|
import './locale-DEsJZCQG.js';
|
|
11
11
|
|
|
12
12
|
var css_248z = i`* {
|
package/dist/input.js
CHANGED
|
@@ -2,12 +2,12 @@ import { i, _ as __decorate, I as IndividualComponent, A, b } from './Individual
|
|
|
2
2
|
import { n } from './property-B2TG3KEE.js';
|
|
3
3
|
import { e } from './query-CHb9Ft_d.js';
|
|
4
4
|
import { s as spread } from './spread-B5cgadZl.js';
|
|
5
|
-
import { B as BaseField } from './BaseField-
|
|
6
|
-
import { n as nativeValidity } from './BaseInput-
|
|
5
|
+
import { B as BaseField } from './BaseField-D8ByB0l3.js';
|
|
6
|
+
import { n as nativeValidity } from './BaseInput-xCHvT4AN.js';
|
|
7
7
|
import './base-Cl6v8-BZ.js';
|
|
8
8
|
import './directive-ZPhl09Yt.js';
|
|
9
9
|
import './state-BCeDVCI9.js';
|
|
10
|
-
import './strings-
|
|
10
|
+
import './strings-o6v6Hrmn.js';
|
|
11
11
|
import './element-internals-QME0yEz4.js';
|
|
12
12
|
import './form-associated-BHbg72PG.js';
|
|
13
13
|
import './suggestion-controller-7YRQqkaI.js';
|
package/dist/json-viewer.js
CHANGED
|
@@ -2,12 +2,12 @@ import { i, _ as __decorate, I as IndividualComponent, a as i$1, A, b } from './
|
|
|
2
2
|
import { n } from './property-B2TG3KEE.js';
|
|
3
3
|
import { r } from './state-BCeDVCI9.js';
|
|
4
4
|
import { c } from './repeat-D_ERDRYT.js';
|
|
5
|
-
import { I as I18nController } from './i18n-controller-
|
|
5
|
+
import { I as I18nController } from './i18n-controller-CH4e9sju.js';
|
|
6
6
|
import { R as RovingFocusController } from './roving-focus-controller-fm95JkZJ.js';
|
|
7
7
|
import { w as writeClipboardText } from './clipboard-C7hBdUXP.js';
|
|
8
8
|
import './directive-ZPhl09Yt.js';
|
|
9
9
|
import './directive-helpers-Bx3mu42O.js';
|
|
10
|
-
import './strings-
|
|
10
|
+
import './strings-o6v6Hrmn.js';
|
|
11
11
|
import './locale-DEsJZCQG.js';
|
|
12
12
|
|
|
13
13
|
/** Keys that JSONPath can write with dot notation. */
|
package/dist/kanban.js
CHANGED
|
@@ -2,11 +2,11 @@ import { i, _ as __decorate, I as IndividualComponent, a as i$1, D, A, b } from
|
|
|
2
2
|
import { n } from './property-B2TG3KEE.js';
|
|
3
3
|
import { r } from './state-BCeDVCI9.js';
|
|
4
4
|
import { c } from './repeat-D_ERDRYT.js';
|
|
5
|
-
import { I as I18nController } from './i18n-controller-
|
|
5
|
+
import { I as I18nController } from './i18n-controller-CH4e9sju.js';
|
|
6
6
|
import { i as isRtl } from './locale-DEsJZCQG.js';
|
|
7
7
|
import './directive-ZPhl09Yt.js';
|
|
8
8
|
import './directive-helpers-Bx3mu42O.js';
|
|
9
|
-
import './strings-
|
|
9
|
+
import './strings-o6v6Hrmn.js';
|
|
10
10
|
|
|
11
11
|
var css_248z = i`* {
|
|
12
12
|
box-sizing: border-box;
|
package/dist/kbd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i, _ as __decorate, I as IndividualComponent, a as i$1, b, A } from './IndividualComponent-BK7XZjE2.js';
|
|
2
2
|
import { n } from './property-B2TG3KEE.js';
|
|
3
|
-
import { I as I18nController } from './i18n-controller-
|
|
3
|
+
import { I as I18nController } from './i18n-controller-CH4e9sju.js';
|
|
4
4
|
import { i as isApplePlatform } from './platform-BUuoTAmr.js';
|
|
5
|
-
import './strings-
|
|
5
|
+
import './strings-o6v6Hrmn.js';
|
|
6
6
|
import './locale-DEsJZCQG.js';
|
|
7
7
|
|
|
8
8
|
var css_248z = i`* {
|
package/dist/linear-progress.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { i, _ as __decorate, I as IndividualComponent, A, b } from './IndividualComponent-BK7XZjE2.js';
|
|
2
2
|
import { e } from './class-map-NDIkZErE.js';
|
|
3
3
|
import { o } from './style-map-CHOg6N_R.js';
|
|
4
|
-
import { B as BaseProgress } from './base-progress-
|
|
4
|
+
import { B as BaseProgress } from './base-progress-DxNgAQtw.js';
|
|
5
5
|
import './directive-ZPhl09Yt.js';
|
|
6
6
|
import './property-B2TG3KEE.js';
|
|
7
|
-
import './i18n-controller-
|
|
8
|
-
import './strings-
|
|
7
|
+
import './i18n-controller-CH4e9sju.js';
|
|
8
|
+
import './strings-o6v6Hrmn.js';
|
|
9
9
|
import './locale-DEsJZCQG.js';
|
|
10
10
|
import './delegate-Bw2wdPFP.js';
|
|
11
11
|
|
package/dist/listbox.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { i, _ as __decorate, I as IndividualComponent, b } from './IndividualComponent-BK7XZjE2.js';
|
|
2
2
|
import { n } from './property-B2TG3KEE.js';
|
|
3
|
-
import { B as BaseInput } from './BaseInput-
|
|
3
|
+
import { B as BaseInput } from './BaseInput-xCHvT4AN.js';
|
|
4
4
|
import { R as RovingFocusController } from './roving-focus-controller-fm95JkZJ.js';
|
|
5
5
|
import { g as getFormValue } from './form-associated-BHbg72PG.js';
|
|
6
|
-
import { p as peacockString } from './strings-
|
|
6
|
+
import { p as peacockString } from './strings-o6v6Hrmn.js';
|
|
7
7
|
import { ListboxOption } from './listbox-option.js';
|
|
8
8
|
import './state-BCeDVCI9.js';
|
|
9
9
|
import './element-internals-QME0yEz4.js';
|
package/dist/loader-full.js
CHANGED
|
@@ -39,15 +39,15 @@ import './fab.js';
|
|
|
39
39
|
import './segmented-button.js';
|
|
40
40
|
import './segmented-button-group.js';
|
|
41
41
|
import './split-button.js';
|
|
42
|
-
import './i18n-controller-
|
|
43
|
-
import './strings-
|
|
42
|
+
import './i18n-controller-CH4e9sju.js';
|
|
43
|
+
import './strings-o6v6Hrmn.js';
|
|
44
44
|
import './locale-DEsJZCQG.js';
|
|
45
45
|
import './menu-trigger-controller-CEJq1ugC.js';
|
|
46
46
|
import './dropdown-button.js';
|
|
47
47
|
import './input.js';
|
|
48
48
|
import './spread-B5cgadZl.js';
|
|
49
|
-
import './BaseField-
|
|
50
|
-
import './BaseInput-
|
|
49
|
+
import './BaseField-D8ByB0l3.js';
|
|
50
|
+
import './BaseInput-xCHvT4AN.js';
|
|
51
51
|
import './suggestion-controller-7YRQqkaI.js';
|
|
52
52
|
import './ai-controller-DR_Tg0sN.js';
|
|
53
53
|
import './password-field.js';
|
|
@@ -59,7 +59,7 @@ import './date-vFrYT1S9.js';
|
|
|
59
59
|
import './utils-D92ldd1V.js';
|
|
60
60
|
import './time-picker.js';
|
|
61
61
|
import './date-field.js';
|
|
62
|
-
import './picker-field-
|
|
62
|
+
import './picker-field-loXW-xrW.js';
|
|
63
63
|
import './range-utils-BoKOhxVX.js';
|
|
64
64
|
import './date-range-field.js';
|
|
65
65
|
import './time-field.js';
|
|
@@ -67,7 +67,7 @@ import './datetime-field.js';
|
|
|
67
67
|
import './textarea.js';
|
|
68
68
|
import './style-map-CHOg6N_R.js';
|
|
69
69
|
import './switch.js';
|
|
70
|
-
import './toggle-base-
|
|
70
|
+
import './toggle-base-BSzBnLZN.js';
|
|
71
71
|
import './checkbox.js';
|
|
72
72
|
import './radio.js';
|
|
73
73
|
import './radio-group.js';
|
|
@@ -92,7 +92,7 @@ import './tag.js';
|
|
|
92
92
|
import './chip.js';
|
|
93
93
|
import './chip-set.js';
|
|
94
94
|
import './linear-progress.js';
|
|
95
|
-
import './base-progress-
|
|
95
|
+
import './base-progress-DxNgAQtw.js';
|
|
96
96
|
import './circular-progress.js';
|
|
97
97
|
import './tooltip.js';
|
|
98
98
|
import './popover.js';
|
|
@@ -187,7 +187,7 @@ import './assistant-step.js';
|
|
|
187
187
|
import './draft-card.js';
|
|
188
188
|
import './assistant-panel.js';
|
|
189
189
|
import './ai-summary.js';
|
|
190
|
-
import './generative-view-
|
|
190
|
+
import './generative-view-C4fJ2zI7.js';
|
|
191
191
|
import './hover-card.js';
|
|
192
192
|
import './kanban.js';
|
|
193
193
|
import './virtual-list.js';
|
|
@@ -212,5 +212,5 @@ import './navigation-drawer.js';
|
|
|
212
212
|
import './navigation-drawer-item.js';
|
|
213
213
|
import './navigation-drawer-group.js';
|
|
214
214
|
import './stream-C16hbcio.js';
|
|
215
|
-
import './schema-
|
|
215
|
+
import './schema-BJzlGRP1.js';
|
|
216
216
|
//# sourceMappingURL=loader-full.js.map
|
package/dist/loader.js
CHANGED
|
@@ -126,7 +126,7 @@ import { AssistantStep } from './assistant-step.js';
|
|
|
126
126
|
import { DraftCard } from './draft-card.js';
|
|
127
127
|
import { AssistantPanel } from './assistant-panel.js';
|
|
128
128
|
import { AiSummary } from './ai-summary.js';
|
|
129
|
-
import { G as GenerativeView } from './generative-view-
|
|
129
|
+
import { G as GenerativeView } from './generative-view-C4fJ2zI7.js';
|
|
130
130
|
import { HoverCard } from './hover-card.js';
|
|
131
131
|
import { Kanban } from './kanban.js';
|
|
132
132
|
import { VirtualList } from './virtual-list.js';
|
|
@@ -147,10 +147,10 @@ import { NavigationBarItem } from './navigation-bar-item.js';
|
|
|
147
147
|
import { NavigationDrawer } from './navigation-drawer.js';
|
|
148
148
|
import { NavigationDrawerItem } from './navigation-drawer-item.js';
|
|
149
149
|
import { NavigationDrawerGroup } from './navigation-drawer-group.js';
|
|
150
|
-
export { d as defaultStrings, s as setPeacockStrings } from './strings-
|
|
150
|
+
export { d as defaultStrings, s as setPeacockStrings } from './strings-o6v6Hrmn.js';
|
|
151
151
|
export { i as isAiAvailable, o as onPeacockAiChange, p as peacockAi, s as setPeacockAi } from './ai-controller-DR_Tg0sN.js';
|
|
152
152
|
export { r as readStream } from './stream-C16hbcio.js';
|
|
153
|
-
export { g as generativeViewSchema } from './schema-
|
|
153
|
+
export { g as generativeViewSchema } from './schema-BJzlGRP1.js';
|
|
154
154
|
import './IndividualComponent-BK7XZjE2.js';
|
|
155
155
|
import './property-B2TG3KEE.js';
|
|
156
156
|
import './attachable-controller-DofeyflD.js';
|
|
@@ -175,19 +175,19 @@ import './warn-once-BNxX1Y98.js';
|
|
|
175
175
|
import './form-associated-BHbg72PG.js';
|
|
176
176
|
import './is-link-Dk2OV3PM.js';
|
|
177
177
|
import './hyperlink-DycWPKwU.js';
|
|
178
|
-
import './i18n-controller-
|
|
178
|
+
import './i18n-controller-CH4e9sju.js';
|
|
179
179
|
import './locale-DEsJZCQG.js';
|
|
180
180
|
import './menu-trigger-controller-CEJq1ugC.js';
|
|
181
181
|
import './spread-B5cgadZl.js';
|
|
182
|
-
import './BaseField-
|
|
183
|
-
import './BaseInput-
|
|
182
|
+
import './BaseField-D8ByB0l3.js';
|
|
183
|
+
import './BaseInput-xCHvT4AN.js';
|
|
184
184
|
import './suggestion-controller-7YRQqkaI.js';
|
|
185
185
|
import './date-vFrYT1S9.js';
|
|
186
186
|
import './utils-D92ldd1V.js';
|
|
187
|
-
import './picker-field-
|
|
187
|
+
import './picker-field-loXW-xrW.js';
|
|
188
188
|
import './range-utils-BoKOhxVX.js';
|
|
189
189
|
import './style-map-CHOg6N_R.js';
|
|
190
|
-
import './toggle-base-
|
|
190
|
+
import './toggle-base-BSzBnLZN.js';
|
|
191
191
|
import './floating-controller-CABF4tBT.js';
|
|
192
192
|
import './placement-C4GO0JP9.js';
|
|
193
193
|
import './query-assigned-elements-BJaGSqM0.js';
|
|
@@ -195,7 +195,7 @@ import './query-all-ThKhg-Lp.js';
|
|
|
195
195
|
import './roving-focus-controller-fm95JkZJ.js';
|
|
196
196
|
import './accordion-item.js';
|
|
197
197
|
import './NativeHyperlinkMixin-WdY0fM-H.js';
|
|
198
|
-
import './base-progress-
|
|
198
|
+
import './base-progress-DxNgAQtw.js';
|
|
199
199
|
import './overlay-controller-BOk-kfil.js';
|
|
200
200
|
import './observe-theme-change-CkSENG98.js';
|
|
201
201
|
import './repeat-D_ERDRYT.js';
|
package/dist/markdown-editor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i, _ as __decorate, I as IndividualComponent } from './IndividualComponent-BK7XZjE2.js';
|
|
2
|
-
import { R as RichTextInput } from './rich-text-input-
|
|
2
|
+
import { R as RichTextInput } from './rich-text-input-B5j0eqCJ.js';
|
|
3
3
|
import './property-B2TG3KEE.js';
|
|
4
4
|
import './state-BCeDVCI9.js';
|
|
5
5
|
import './query-CHb9Ft_d.js';
|
|
@@ -17,12 +17,12 @@ import './floating-controller-CABF4tBT.js';
|
|
|
17
17
|
import './overlay-controller-BOk-kfil.js';
|
|
18
18
|
import './mention--NNhafc7.js';
|
|
19
19
|
import './url-BFUh__RO.js';
|
|
20
|
-
import './BaseInput-
|
|
20
|
+
import './BaseInput-xCHvT4AN.js';
|
|
21
21
|
import './element-internals-QME0yEz4.js';
|
|
22
22
|
import './form-associated-BHbg72PG.js';
|
|
23
|
-
import './strings-
|
|
23
|
+
import './strings-o6v6Hrmn.js';
|
|
24
24
|
import './suggestion-controller-7YRQqkaI.js';
|
|
25
|
-
import './i18n-controller-
|
|
25
|
+
import './i18n-controller-CH4e9sju.js';
|
|
26
26
|
|
|
27
27
|
var css_248z = i`* {
|
|
28
28
|
box-sizing: border-box;
|
|
@@ -251,6 +251,22 @@ img.ProseMirror-separator {
|
|
|
251
251
|
flex: 1;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
+
.read-only-badge {
|
|
255
|
+
display: inline-flex;
|
|
256
|
+
align-items: center;
|
|
257
|
+
gap: var(--spacing-050, 0.25rem);
|
|
258
|
+
padding: 0 var(--spacing-100, 0.5rem);
|
|
259
|
+
color: var(--color-on-surface-variant);
|
|
260
|
+
font-family: var(--typography-label-small-font-family) !important;
|
|
261
|
+
font-size: var(--typography-label-small-font-size) !important;
|
|
262
|
+
font-weight: var(--typography-label-small-font-weight) !important;
|
|
263
|
+
line-height: var(--typography-label-small-line-height) !important;
|
|
264
|
+
letter-spacing: var(--typography-label-small-letter-spacing) !important;
|
|
265
|
+
}
|
|
266
|
+
.read-only-badge wc-icon {
|
|
267
|
+
--icon-size: 0.875rem;
|
|
268
|
+
}
|
|
269
|
+
|
|
254
270
|
.editor-area {
|
|
255
271
|
--_pad: var(--spacing-150, 0.75rem);
|
|
256
272
|
position: relative;
|
|
@@ -500,9 +516,12 @@ img.ProseMirror-separator {
|
|
|
500
516
|
border-radius: 0;
|
|
501
517
|
}
|
|
502
518
|
|
|
519
|
+
:host([disabled]) .toolbar,
|
|
520
|
+
:host([disabled]) .editor-area {
|
|
521
|
+
opacity: var(--state-disabled-content-opacity, 0.38);
|
|
522
|
+
}
|
|
503
523
|
:host([disabled]) .editor-area {
|
|
504
524
|
cursor: not-allowed;
|
|
505
|
-
opacity: 0.6;
|
|
506
525
|
}
|
|
507
526
|
|
|
508
527
|
:host([readonly]) .editor-area {
|
|
@@ -516,13 +535,6 @@ img.ProseMirror-separator {
|
|
|
516
535
|
padding-block: var(--spacing-100, 0.5rem);
|
|
517
536
|
}
|
|
518
537
|
|
|
519
|
-
.state-tag {
|
|
520
|
-
position: absolute;
|
|
521
|
-
inset-block-start: var(--spacing-050, 0.25rem);
|
|
522
|
-
inset-inline-end: var(--spacing-050, 0.25rem);
|
|
523
|
-
z-index: 1;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
538
|
.slash-anchor,
|
|
527
539
|
.bubble-anchor,
|
|
528
540
|
.link-anchor {
|
|
@@ -993,6 +1005,11 @@ img.ProseMirror-separator {
|
|
|
993
1005
|
* <p><code>rows</code> sets the height of the empty editor in lines; it grows with the text, up to
|
|
994
1006
|
* <code>max-rows</code> if set, and then scrolls.</p>
|
|
995
1007
|
*
|
|
1008
|
+
* <p><strong>Read-only and disabled.</strong> <code>readonly</code> keeps the text at full contrast
|
|
1009
|
+
* and leaves only <strong>View source</strong> in the toolbar, which shows the Markdown read-only.
|
|
1010
|
+
* <code>disabled</code> dims the toolbar and the text. <code>show-readonly-badge</code> adds a
|
|
1011
|
+
* lock badge to the toolbar in either state.</p>
|
|
1012
|
+
*
|
|
996
1013
|
* @cssprop --rich-text-editor-background - Background behind the text.
|
|
997
1014
|
* @cssprop --prose-link-color - Color of links.
|
|
998
1015
|
* @cssprop --prose-mention-background - Background of mention chips.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-editor.js","sources":["../../src/markdown-editor/markdown-editor.ts"],"sourcesContent":["import type { Editor } from '@tiptap/core';\n\nimport IndividualComponent from '@/IndividualComponent.js';\nimport RichTextInput, {\n type RichTextContent,\n} from '@/__internal/rich-text/rich-text-input.js';\n\nimport styles from './markdown-editor.scss';\n\n/**\n * @label Markdown Editor\n * @tag wc-markdown-editor\n * @rawTag markdown-editor\n *\n * @summary A rich-text field whose value is Markdown: people format text as they type, and can view the Markdown source.\n * @overview\n * <p>Use it where a form needs more than a textarea, such as a description, notes or a release\n * note. People edit formatted text directly; the value is Markdown, so it stores as plain text and\n * shows the same way in <code>wc-markdown</code>.</p>\n *\n * <ul>\n * <li><strong>Toolbar.</strong> Text style, bold, italic, strikethrough, inline code, link, lists,\n * checklist, quote, code block, table, divider and mention. While the caret is in a table, a\n * <em>Table</em> menu adds and removes rows and columns. <code>hide-toolbar</code> hides it.</li>\n * <li><strong>Selection bubble.</strong> Selecting text shows the inline formats and link.</li>\n * <li><strong>Slash menu.</strong> Typing <code>/</code> inserts a block; Markdown shortcuts such\n * as <code>## </code>, <code>- </code> and <code>**bold**</code> work too.</li>\n * <li><strong>Block handle.</strong> Hovering a block shows a handle to drag it and a + to insert\n * one below.</li>\n * <li><strong>View source.</strong> The last toolbar button shows the Markdown, editable, in\n * <code>wc-code-editor</code>.</li>\n * </ul>\n *\n * <p><strong>Mentions.</strong> Typing a character from <code>triggers</code> (<code>@</code> by\n * default) fires <code>search</code> with <code>{ trigger, query }</code>; answer by setting\n * <code>suggestions</code>, and <code>suggestions-loading</code> while you look. A chosen mention is\n * stored as <code>[@Ana Lima](mention:usr_142)</code> and fires <code>mention</code>. Set\n * <code>triggers=\"\"</code> to turn mentions off.</p>\n *\n * <p>The editor is form-associated. It fires <code>input</code> with <code>{ value }</code> as the\n * content changes (after <code>debounce</code> milliseconds without typing) and <code>change</code>\n * when focus leaves after an edit. <code>required</code> blocks an empty submit, and\n * <code>maxlength</code> limits the number of characters and shows a count.</p>\n *\n * <p><code>rows</code> sets the height of the empty editor in lines; it grows with the text, up to\n * <code>max-rows</code> if set, and then scrolls.</p>\n *\n * @cssprop --rich-text-editor-background - Background behind the text.\n * @cssprop --prose-link-color - Color of links.\n * @cssprop --prose-mention-background - Background of mention chips.\n * @cssprop --prose-mention-color - Text color of mention chips.\n * @cssprop --prose-code-background - Background of inline code and code blocks.\n * @cssprop --mention-list-width - Width of the mention suggestion list.\n * @cssprop --mention-list-max-height - Maximum height of the mention suggestion list.\n *\n * @fires {CustomEvent<{value: string}>} input - Dispatched as the content changes, after `debounce` milliseconds without typing.\n * @fires {CustomEvent<{value: string}>} change - Dispatched when focus leaves the editor after an edit.\n * @fires {CustomEvent<{trigger: string, query: string}>} search - Dispatched as a mention is typed; answer with `suggestions`.\n * @fires {CustomEvent<{mention: {id: string, label: string, trigger: string}, suggestion: MentionSuggestion}>} mention - Dispatched when a suggestion is inserted as a mention.\n *\n * @example\n * ```html\n * <wc-markdown-editor\n * label=\"Description\"\n * value=\"## Steps\\n\\n1. Open **billing**\"\n * ></wc-markdown-editor>\n * ```\n * @tags input editor\n */\n@IndividualComponent\nexport class MarkdownEditor extends RichTextInput {\n // ── Static ────────────────────────────────────────────────────────────────\n\n static styles = [styles];\n\n // ── Protected fields ──────────────────────────────────────────────────────\n\n protected readonly profile = 'markdown' as const;\n\n protected readonly sourceLanguage = 'markdown' as const;\n\n protected readonly sourceIcon = 'markdown';\n\n // ── Protected methods ─────────────────────────────────────────────────────\n\n protected readFromEditor(editor: Editor): string {\n return this.isEditorEmpty(editor) ? '' : editor.getMarkdown();\n }\n\n protected contentFor(value: string): RichTextContent {\n return { content: value ?? '', contentType: 'markdown' };\n }\n\n protected defaultPlaceholder(): string {\n return this.i18n.t('slashCommandsPlaceholder');\n }\n}\n"],"names":["styles"],"mappings":"
|
|
1
|
+
{"version":3,"file":"markdown-editor.js","sources":["../../src/markdown-editor/markdown-editor.ts"],"sourcesContent":["import type { Editor } from '@tiptap/core';\n\nimport IndividualComponent from '@/IndividualComponent.js';\nimport RichTextInput, {\n type RichTextContent,\n} from '@/__internal/rich-text/rich-text-input.js';\n\nimport styles from './markdown-editor.scss';\n\n/**\n * @label Markdown Editor\n * @tag wc-markdown-editor\n * @rawTag markdown-editor\n *\n * @summary A rich-text field whose value is Markdown: people format text as they type, and can view the Markdown source.\n * @overview\n * <p>Use it where a form needs more than a textarea, such as a description, notes or a release\n * note. People edit formatted text directly; the value is Markdown, so it stores as plain text and\n * shows the same way in <code>wc-markdown</code>.</p>\n *\n * <ul>\n * <li><strong>Toolbar.</strong> Text style, bold, italic, strikethrough, inline code, link, lists,\n * checklist, quote, code block, table, divider and mention. While the caret is in a table, a\n * <em>Table</em> menu adds and removes rows and columns. <code>hide-toolbar</code> hides it.</li>\n * <li><strong>Selection bubble.</strong> Selecting text shows the inline formats and link.</li>\n * <li><strong>Slash menu.</strong> Typing <code>/</code> inserts a block; Markdown shortcuts such\n * as <code>## </code>, <code>- </code> and <code>**bold**</code> work too.</li>\n * <li><strong>Block handle.</strong> Hovering a block shows a handle to drag it and a + to insert\n * one below.</li>\n * <li><strong>View source.</strong> The last toolbar button shows the Markdown, editable, in\n * <code>wc-code-editor</code>.</li>\n * </ul>\n *\n * <p><strong>Mentions.</strong> Typing a character from <code>triggers</code> (<code>@</code> by\n * default) fires <code>search</code> with <code>{ trigger, query }</code>; answer by setting\n * <code>suggestions</code>, and <code>suggestions-loading</code> while you look. A chosen mention is\n * stored as <code>[@Ana Lima](mention:usr_142)</code> and fires <code>mention</code>. Set\n * <code>triggers=\"\"</code> to turn mentions off.</p>\n *\n * <p>The editor is form-associated. It fires <code>input</code> with <code>{ value }</code> as the\n * content changes (after <code>debounce</code> milliseconds without typing) and <code>change</code>\n * when focus leaves after an edit. <code>required</code> blocks an empty submit, and\n * <code>maxlength</code> limits the number of characters and shows a count.</p>\n *\n * <p><code>rows</code> sets the height of the empty editor in lines; it grows with the text, up to\n * <code>max-rows</code> if set, and then scrolls.</p>\n *\n * <p><strong>Read-only and disabled.</strong> <code>readonly</code> keeps the text at full contrast\n * and leaves only <strong>View source</strong> in the toolbar, which shows the Markdown read-only.\n * <code>disabled</code> dims the toolbar and the text. <code>show-readonly-badge</code> adds a\n * lock badge to the toolbar in either state.</p>\n *\n * @cssprop --rich-text-editor-background - Background behind the text.\n * @cssprop --prose-link-color - Color of links.\n * @cssprop --prose-mention-background - Background of mention chips.\n * @cssprop --prose-mention-color - Text color of mention chips.\n * @cssprop --prose-code-background - Background of inline code and code blocks.\n * @cssprop --mention-list-width - Width of the mention suggestion list.\n * @cssprop --mention-list-max-height - Maximum height of the mention suggestion list.\n *\n * @fires {CustomEvent<{value: string}>} input - Dispatched as the content changes, after `debounce` milliseconds without typing.\n * @fires {CustomEvent<{value: string}>} change - Dispatched when focus leaves the editor after an edit.\n * @fires {CustomEvent<{trigger: string, query: string}>} search - Dispatched as a mention is typed; answer with `suggestions`.\n * @fires {CustomEvent<{mention: {id: string, label: string, trigger: string}, suggestion: MentionSuggestion}>} mention - Dispatched when a suggestion is inserted as a mention.\n *\n * @example\n * ```html\n * <wc-markdown-editor\n * label=\"Description\"\n * value=\"## Steps\\n\\n1. Open **billing**\"\n * ></wc-markdown-editor>\n * ```\n * @tags input editor\n */\n@IndividualComponent\nexport class MarkdownEditor extends RichTextInput {\n // ── Static ────────────────────────────────────────────────────────────────\n\n static styles = [styles];\n\n // ── Protected fields ──────────────────────────────────────────────────────\n\n protected readonly profile = 'markdown' as const;\n\n protected readonly sourceLanguage = 'markdown' as const;\n\n protected readonly sourceIcon = 'markdown';\n\n // ── Protected methods ─────────────────────────────────────────────────────\n\n protected readFromEditor(editor: Editor): string {\n return this.isEditorEmpty(editor) ? '' : editor.getMarkdown();\n }\n\n protected contentFor(value: string): RichTextContent {\n return { content: value ?? '', contentType: 'markdown' };\n }\n\n protected defaultPlaceholder(): string {\n return this.i18n.t('slashCommandsPlaceholder');\n }\n}\n"],"names":["styles"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgEG;AAEI,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,aAAa,CAAA;AAA1C,IAAA,WAAA,GAAA;;;;QAOc,IAAA,CAAA,OAAO,GAAG,UAAmB;QAE7B,IAAA,CAAA,cAAc,GAAG,UAAmB;QAEpC,IAAA,CAAA,UAAU,GAAG,UAAU;IAe5C;;AAXY,IAAA,cAAc,CAAC,MAAc,EAAA;AACrC,QAAA,OAAO,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,MAAM,CAAC,WAAW,EAAE;IAC/D;AAEU,IAAA,UAAU,CAAC,KAAa,EAAA;QAChC,OAAO,EAAE,OAAO,EAAE,KAAK,IAAI,EAAE,EAAE,WAAW,EAAE,UAAU,EAAE;IAC1D;IAEU,kBAAkB,GAAA;QAC1B,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,0BAA0B,CAAC;IAChD;;AAtBO,cAAA,CAAA,MAAM,GAAG,CAACA,QAAM,CAAC;AAHb,cAAc,GAAA,UAAA,CAAA;IAD1B;AACY,CAAA,EAAA,cAAc,CA0B1B;;;;"}
|
package/dist/mention-input.js
CHANGED
|
@@ -6,12 +6,12 @@ import { e as e$1 } from './class-map-NDIkZErE.js';
|
|
|
6
6
|
import { s as spread } from './spread-B5cgadZl.js';
|
|
7
7
|
import { F as FloatingController } from './floating-controller-CABF4tBT.js';
|
|
8
8
|
import { O as OverlayController } from './overlay-controller-BOk-kfil.js';
|
|
9
|
-
import { I as I18nController } from './i18n-controller-
|
|
10
|
-
import { B as BaseField } from './BaseField-
|
|
11
|
-
import { n as nativeValidity } from './BaseInput-
|
|
9
|
+
import { I as I18nController } from './i18n-controller-CH4e9sju.js';
|
|
10
|
+
import { B as BaseField } from './BaseField-D8ByB0l3.js';
|
|
11
|
+
import { n as nativeValidity } from './BaseInput-xCHvT4AN.js';
|
|
12
12
|
import './base-Cl6v8-BZ.js';
|
|
13
13
|
import './directive-ZPhl09Yt.js';
|
|
14
|
-
import './strings-
|
|
14
|
+
import './strings-o6v6Hrmn.js';
|
|
15
15
|
import './locale-DEsJZCQG.js';
|
|
16
16
|
import './element-internals-QME0yEz4.js';
|
|
17
17
|
import './form-associated-BHbg72PG.js';
|
package/dist/modal.js
CHANGED
|
@@ -2,12 +2,12 @@ import { _ as __decorate, I as IndividualComponent, a as i, A, b } from './Indiv
|
|
|
2
2
|
import { n } from './property-B2TG3KEE.js';
|
|
3
3
|
import { e } from './query-CHb9Ft_d.js';
|
|
4
4
|
import { e as e$1 } from './class-map-NDIkZErE.js';
|
|
5
|
-
import { I as I18nController } from './i18n-controller-
|
|
5
|
+
import { I as I18nController } from './i18n-controller-CH4e9sju.js';
|
|
6
6
|
import { O as OverlayController } from './overlay-controller-BOk-kfil.js';
|
|
7
7
|
import { c as css_248z } from './modal-B78gUfEO.js';
|
|
8
8
|
import './base-Cl6v8-BZ.js';
|
|
9
9
|
import './directive-ZPhl09Yt.js';
|
|
10
|
-
import './strings-
|
|
10
|
+
import './strings-o6v6Hrmn.js';
|
|
11
11
|
import './locale-DEsJZCQG.js';
|
|
12
12
|
|
|
13
13
|
/**
|
package/dist/navigation-bar.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i, _ as __decorate, I as IndividualComponent, a as i$1, b } from './IndividualComponent-BK7XZjE2.js';
|
|
2
|
-
import { I as I18nController } from './i18n-controller-
|
|
2
|
+
import { I as I18nController } from './i18n-controller-CH4e9sju.js';
|
|
3
3
|
import { s as selectNavigationItem } from './navigation-item-base-kUrvJgCx.js';
|
|
4
4
|
import { NavigationBarItem } from './navigation-bar-item.js';
|
|
5
|
-
import './strings-
|
|
5
|
+
import './strings-o6v6Hrmn.js';
|
|
6
6
|
import './locale-DEsJZCQG.js';
|
|
7
7
|
import './property-B2TG3KEE.js';
|
|
8
8
|
import './state-BCeDVCI9.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { i, _ as __decorate, I as IndividualComponent, a as i$1, A, b } from './IndividualComponent-BK7XZjE2.js';
|
|
2
2
|
import { n } from './property-B2TG3KEE.js';
|
|
3
3
|
import { e } from './query-CHb9Ft_d.js';
|
|
4
|
-
import { I as I18nController } from './i18n-controller-
|
|
4
|
+
import { I as I18nController } from './i18n-controller-CH4e9sju.js';
|
|
5
5
|
import { s as selectNavigationItem } from './navigation-item-base-kUrvJgCx.js';
|
|
6
6
|
import { NavigationDrawerItem } from './navigation-drawer-item.js';
|
|
7
7
|
import { NavigationDrawerGroup } from './navigation-drawer-group.js';
|
|
8
8
|
import './base-Cl6v8-BZ.js';
|
|
9
|
-
import './strings-
|
|
9
|
+
import './strings-o6v6Hrmn.js';
|
|
10
10
|
import './locale-DEsJZCQG.js';
|
|
11
11
|
import './state-BCeDVCI9.js';
|
|
12
12
|
import './class-map-NDIkZErE.js';
|
package/dist/navigation-rail.js
CHANGED
|
@@ -2,7 +2,7 @@ import { i, _ as __decorate, I as IndividualComponent, a as i$1, b } from './Ind
|
|
|
2
2
|
import { n } from './property-B2TG3KEE.js';
|
|
3
3
|
import { e } from './class-map-NDIkZErE.js';
|
|
4
4
|
import { NavigationRailItem } from './navigation-rail-item.js';
|
|
5
|
-
import { I as I18nController } from './i18n-controller-
|
|
5
|
+
import { I as I18nController } from './i18n-controller-CH4e9sju.js';
|
|
6
6
|
import { s as selectNavigationItem } from './navigation-item-base-kUrvJgCx.js';
|
|
7
7
|
import './directive-ZPhl09Yt.js';
|
|
8
8
|
import './indicator-navigation-item-CmyhsOmy.js';
|
|
@@ -11,7 +11,7 @@ import './observe-slot-change-DPxaZrZF.js';
|
|
|
11
11
|
import './query-CHb9Ft_d.js';
|
|
12
12
|
import './base-Cl6v8-BZ.js';
|
|
13
13
|
import './throttle-SQ9t-HL7.js';
|
|
14
|
-
import './strings-
|
|
14
|
+
import './strings-o6v6Hrmn.js';
|
|
15
15
|
import './locale-DEsJZCQG.js';
|
|
16
16
|
|
|
17
17
|
var css_248z = i`* {
|
|
@@ -7,12 +7,12 @@ import { c } from './repeat-D_ERDRYT.js';
|
|
|
7
7
|
import { F as FloatingController } from './floating-controller-CABF4tBT.js';
|
|
8
8
|
import { O as OverlayController } from './overlay-controller-BOk-kfil.js';
|
|
9
9
|
import { o as onTick, D as DAY, b as formatTime, W as WEEK, M as MINUTE } from './relative-time-BNxqvEbg.js';
|
|
10
|
-
import { I as I18nController } from './i18n-controller-
|
|
10
|
+
import { I as I18nController } from './i18n-controller-CH4e9sju.js';
|
|
11
11
|
import { t as toPhysicalPlacement } from './placement-C4GO0JP9.js';
|
|
12
12
|
import './base-Cl6v8-BZ.js';
|
|
13
13
|
import './directive-ZPhl09Yt.js';
|
|
14
14
|
import './directive-helpers-Bx3mu42O.js';
|
|
15
|
-
import './strings-
|
|
15
|
+
import './strings-o6v6Hrmn.js';
|
|
16
16
|
import './locale-DEsJZCQG.js';
|
|
17
17
|
|
|
18
18
|
var css_248z = i`* {
|
package/dist/number-field.js
CHANGED
|
@@ -4,12 +4,12 @@ import { e } from './query-CHb9Ft_d.js';
|
|
|
4
4
|
import { e as e$1 } from './class-map-NDIkZErE.js';
|
|
5
5
|
import { o } from './if-defined-D9DEJR_6.js';
|
|
6
6
|
import { s as spread } from './spread-B5cgadZl.js';
|
|
7
|
-
import { I as I18nController } from './i18n-controller-
|
|
8
|
-
import { B as BaseField } from './BaseField-
|
|
9
|
-
import { n as nativeValidity } from './BaseInput-
|
|
7
|
+
import { I as I18nController } from './i18n-controller-CH4e9sju.js';
|
|
8
|
+
import { B as BaseField } from './BaseField-D8ByB0l3.js';
|
|
9
|
+
import { n as nativeValidity } from './BaseInput-xCHvT4AN.js';
|
|
10
10
|
import './base-Cl6v8-BZ.js';
|
|
11
11
|
import './directive-ZPhl09Yt.js';
|
|
12
|
-
import './strings-
|
|
12
|
+
import './strings-o6v6Hrmn.js';
|
|
13
13
|
import './locale-DEsJZCQG.js';
|
|
14
14
|
import './state-BCeDVCI9.js';
|
|
15
15
|
import './element-internals-QME0yEz4.js';
|
package/dist/page-header.js
CHANGED
|
@@ -2,9 +2,9 @@ import { b, i, _ as __decorate, I as IndividualComponent, a as i$1, A } from './
|
|
|
2
2
|
import { n as n$1 } from './property-B2TG3KEE.js';
|
|
3
3
|
import { r } from './state-BCeDVCI9.js';
|
|
4
4
|
import { e } from './class-map-NDIkZErE.js';
|
|
5
|
-
import { I as I18nController } from './i18n-controller-
|
|
5
|
+
import { I as I18nController } from './i18n-controller-CH4e9sju.js';
|
|
6
6
|
import './directive-ZPhl09Yt.js';
|
|
7
|
-
import './strings-
|
|
7
|
+
import './strings-o6v6Hrmn.js';
|
|
8
8
|
import './locale-DEsJZCQG.js';
|
|
9
9
|
|
|
10
10
|
/**
|
package/dist/pagination.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { i, _ as __decorate, I as IndividualComponent, a as i$1, b, A } from './IndividualComponent-BK7XZjE2.js';
|
|
2
2
|
import { n } from './property-B2TG3KEE.js';
|
|
3
3
|
import { e } from './class-map-NDIkZErE.js';
|
|
4
|
-
import { I as I18nController } from './i18n-controller-
|
|
4
|
+
import { I as I18nController } from './i18n-controller-CH4e9sju.js';
|
|
5
5
|
import './directive-ZPhl09Yt.js';
|
|
6
|
-
import './strings-
|
|
6
|
+
import './strings-o6v6Hrmn.js';
|
|
7
7
|
import './locale-DEsJZCQG.js';
|
|
8
8
|
|
|
9
9
|
var css_248z = i`* {
|