@limetech/lime-elements 39.6.0 → 39.7.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/CHANGELOG.md +14 -0
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/{limel-action-bar_2.cjs.entry.js → limel-action-bar_3.cjs.entry.js} +111 -93
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +1 -1
- package/dist/cjs/limel-breadcrumbs_7.cjs.entry.js +6 -6
- package/dist/cjs/limel-button-group.cjs.entry.js +7 -8
- package/dist/cjs/limel-callout.cjs.entry.js +1 -1
- package/dist/cjs/limel-chart.cjs.entry.js +1 -1
- package/dist/cjs/limel-chip_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-code-diff.cjs.entry.js +1758 -0
- package/dist/cjs/limel-code-editor.cjs.entry.js +2 -2
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +2 -2
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +2 -2
- package/dist/cjs/limel-color-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-dialog.cjs.entry.js +2 -2
- package/dist/cjs/limel-dock.cjs.entry.js +2 -2
- package/dist/cjs/limel-drag-handle.cjs.entry.js +2 -2
- package/dist/cjs/limel-email-viewer.cjs.entry.js +2 -2
- package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +2 -2
- package/dist/cjs/limel-file-viewer.cjs.entry.js +1 -1
- package/dist/cjs/limel-file.cjs.entry.js +2 -2
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +2 -2
- package/dist/cjs/limel-flex-container.cjs.entry.js +1 -1
- package/dist/cjs/limel-form.cjs.entry.js +1 -1
- package/dist/cjs/limel-grid.cjs.entry.js +1 -1
- package/dist/cjs/limel-header.cjs.entry.js +1 -1
- package/dist/cjs/limel-help-content.cjs.entry.js +1 -1
- package/dist/cjs/limel-help.cjs.entry.js +2 -2
- package/dist/cjs/limel-helper-line_2.cjs.entry.js +3 -3
- package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-icon.cjs.entry.js +1 -1
- package/dist/cjs/limel-info-tile.cjs.entry.js +2 -2
- package/dist/cjs/limel-linear-progress.cjs.entry.js +1 -1
- package/dist/cjs/limel-list-item.cjs.entry.js +3 -3
- package/dist/cjs/limel-markdown.cjs.entry.js +1 -1
- package/dist/cjs/limel-menu-item-meta.cjs.entry.js +1 -1
- package/dist/cjs/limel-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-popover_2.cjs.entry.js +2 -2
- package/dist/cjs/limel-portal_3.cjs.entry.js +4 -4
- package/dist/cjs/limel-profile-picture.cjs.entry.js +1 -1
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +2 -2
- package/dist/cjs/limel-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/limel-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-select.cjs.entry.js +1 -1
- package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
- package/dist/cjs/limel-slider.cjs.entry.js +1 -1
- package/dist/cjs/limel-snackbar.cjs.entry.js +3 -3
- package/dist/cjs/limel-split-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/limel-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/limel-table.cjs.entry.js +4 -4
- package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +120 -0
- package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{translations-BBGWKIVD.js → translations-Bu_0fli7.js} +236 -4
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/button-group/button-group.css +38 -650
- package/dist/collection/components/button-group/button-group.js +6 -7
- package/dist/collection/components/code-diff/code-diff.css +519 -0
- package/dist/collection/components/code-diff/code-diff.js +775 -0
- package/dist/collection/components/code-diff/content-utils.js +49 -0
- package/dist/collection/components/code-diff/diff-engine.js +308 -0
- package/dist/collection/components/code-diff/search-utils.js +41 -0
- package/dist/collection/components/code-diff/syntax-highlighter.js +87 -0
- package/dist/collection/components/code-diff/types.js +1 -0
- package/dist/collection/components/code-editor/code-editor.js +1 -1
- package/dist/collection/components/collapsible-section/collapsible-section.js +1 -1
- package/dist/collection/components/color-picker/color-picker-palette.js +2 -2
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +1 -1
- package/dist/collection/components/dialog/dialog.js +2 -2
- package/dist/collection/components/dock/dock.js +2 -2
- package/dist/collection/components/drag-handle/drag-handle.js +1 -1
- package/dist/collection/components/email-viewer/email-viewer.js +1 -1
- package/dist/collection/components/file/file.js +1 -1
- package/dist/collection/components/file-dropzone/file-dropzone.js +1 -1
- package/dist/collection/components/file-input/file-input.js +1 -1
- package/dist/collection/components/flex-container/flex-container.js +1 -1
- package/dist/collection/components/form/form.js +1 -1
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/help/help-content.js +1 -1
- package/dist/collection/components/help/help.js +2 -2
- package/dist/collection/components/helper-line/helper-line.js +2 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/info-tile/info-tile.js +2 -2
- package/dist/collection/components/input-field/input-field.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-item/list-item.js +2 -2
- package/dist/collection/components/list-item/menu-item-meta/menu-item-meta.js +1 -1
- package/dist/collection/components/markdown/markdown.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-list/menu-list.js +1 -1
- package/dist/collection/components/menu-surface/menu-surface.js +1 -1
- package/dist/collection/components/notched-outline/notched-outline.js +1 -1
- package/dist/collection/components/picker/picker.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover-surface/popover-surface.js +1 -1
- package/dist/collection/components/portal/portal.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button.js +2 -2
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shortcut/shortcut.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/snackbar/snackbar.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/table/table.js +3 -3
- package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +3 -3
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +1 -1
- package/dist/collection/components/text-editor/text-editor.js +1 -1
- package/dist/collection/components/tooltip/tooltip-content.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/translations/da.js +29 -0
- package/dist/collection/translations/de.js +29 -0
- package/dist/collection/translations/en.js +29 -0
- package/dist/collection/translations/fi.js +29 -0
- package/dist/collection/translations/fr.js +33 -4
- package/dist/collection/translations/nl.js +29 -0
- package/dist/collection/translations/no.js +29 -0
- package/dist/collection/translations/sv.js +29 -0
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/{limel-action-bar_2.entry.js → limel-action-bar_3.entry.js} +110 -93
- package/dist/esm/limel-ai-avatar.entry.js +1 -1
- package/dist/esm/limel-breadcrumbs_7.entry.js +6 -6
- package/dist/esm/limel-button-group.entry.js +7 -8
- package/dist/esm/limel-callout.entry.js +1 -1
- package/dist/esm/limel-chart.entry.js +1 -1
- package/dist/esm/limel-chip_2.entry.js +1 -1
- package/dist/esm/limel-code-diff.entry.js +1756 -0
- package/dist/esm/limel-code-editor.entry.js +2 -2
- package/dist/esm/limel-collapsible-section.entry.js +2 -2
- package/dist/esm/limel-color-picker-palette.entry.js +2 -2
- package/dist/esm/limel-color-picker.entry.js +1 -1
- package/dist/esm/limel-dialog.entry.js +2 -2
- package/dist/esm/limel-dock.entry.js +2 -2
- package/dist/esm/limel-drag-handle.entry.js +2 -2
- package/dist/esm/limel-email-viewer.entry.js +2 -2
- package/dist/esm/limel-file-dropzone_2.entry.js +2 -2
- package/dist/esm/limel-file-viewer.entry.js +1 -1
- package/dist/esm/limel-file.entry.js +2 -2
- package/dist/esm/limel-flatpickr-adapter.entry.js +2 -2
- package/dist/esm/limel-flex-container.entry.js +1 -1
- package/dist/esm/limel-form.entry.js +1 -1
- package/dist/esm/limel-grid.entry.js +1 -1
- package/dist/esm/limel-header.entry.js +1 -1
- package/dist/esm/limel-help-content.entry.js +1 -1
- package/dist/esm/limel-help.entry.js +2 -2
- package/dist/esm/limel-helper-line_2.entry.js +3 -3
- package/dist/esm/limel-icon-button.entry.js +1 -1
- package/dist/esm/limel-icon.entry.js +1 -1
- package/dist/esm/limel-info-tile.entry.js +2 -2
- package/dist/esm/limel-linear-progress.entry.js +1 -1
- package/dist/esm/limel-list-item.entry.js +3 -3
- package/dist/esm/limel-markdown.entry.js +1 -1
- package/dist/esm/limel-menu-item-meta.entry.js +1 -1
- package/dist/esm/limel-picker.entry.js +1 -1
- package/dist/esm/limel-popover_2.entry.js +2 -2
- package/dist/esm/limel-portal_3.entry.js +4 -4
- package/dist/esm/limel-profile-picture.entry.js +1 -1
- package/dist/esm/limel-prosemirror-adapter.entry.js +2 -2
- package/dist/esm/limel-radio-button-group.entry.js +1 -1
- package/dist/esm/limel-radio-button.entry.js +2 -2
- package/dist/esm/limel-select.entry.js +1 -1
- package/dist/esm/limel-shortcut.entry.js +1 -1
- package/dist/esm/limel-slider.entry.js +1 -1
- package/dist/esm/limel-snackbar.entry.js +3 -3
- package/dist/esm/limel-split-button.entry.js +2 -2
- package/dist/esm/limel-tab-bar.entry.js +2 -2
- package/dist/esm/limel-tab-panel.entry.js +1 -1
- package/dist/esm/limel-table.entry.js +4 -4
- package/dist/esm/limel-text-editor-link-menu.entry.js +118 -0
- package/dist/esm/limel-text-editor.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{translations-BHybIZJs.js → translations-DVRaJQvC.js} +236 -4
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-58176f7b.entry.js → p-05ff053d.entry.js} +1 -1
- package/dist/lime-elements/{p-7dd4e4bb.entry.js → p-08d1b87a.entry.js} +1 -1
- package/dist/lime-elements/{p-94f78e7a.entry.js → p-0fa2add8.entry.js} +1 -1
- package/dist/lime-elements/{p-40883e25.entry.js → p-1547b9c8.entry.js} +1 -1
- package/dist/lime-elements/{p-16a5f421.entry.js → p-1c244f85.entry.js} +1 -1
- package/dist/lime-elements/{p-ba9d6d42.entry.js → p-21dc4586.entry.js} +1 -1
- package/dist/lime-elements/{p-8e6a36a7.entry.js → p-2292181d.entry.js} +1 -1
- package/dist/lime-elements/{p-889d0000.entry.js → p-26bc957e.entry.js} +1 -1
- package/dist/lime-elements/{p-d4a51f0a.entry.js → p-287c4fb1.entry.js} +1 -1
- package/dist/lime-elements/p-358b277c.entry.js +1 -0
- package/dist/lime-elements/{p-f43e4cb8.entry.js → p-44295cc0.entry.js} +1 -1
- package/dist/lime-elements/{p-78fffaa9.entry.js → p-5178cc39.entry.js} +1 -1
- package/dist/lime-elements/{p-ec5b360a.entry.js → p-518fe33c.entry.js} +2 -2
- package/dist/lime-elements/{p-911db0aa.entry.js → p-53b94806.entry.js} +1 -1
- package/dist/lime-elements/p-5be668d8.entry.js +1 -0
- package/dist/lime-elements/{p-f49e5d8a.entry.js → p-68ffd790.entry.js} +1 -1
- package/dist/lime-elements/{p-fdfecf3d.entry.js → p-6a26ea78.entry.js} +1 -1
- package/dist/lime-elements/{p-5f593160.entry.js → p-6b05db4a.entry.js} +1 -1
- package/dist/lime-elements/p-70e2e60c.entry.js +1 -0
- package/dist/lime-elements/{p-3ad102a1.entry.js → p-756f452c.entry.js} +1 -1
- package/dist/lime-elements/{p-fa6aea91.entry.js → p-8784a57c.entry.js} +1 -1
- package/dist/lime-elements/{p-6d28c7b4.entry.js → p-89dfbd4a.entry.js} +1 -1
- package/dist/lime-elements/{p-5280d11e.entry.js → p-8ec4fdee.entry.js} +1 -1
- package/dist/lime-elements/{p-1b0eec07.entry.js → p-90f8d2ef.entry.js} +1 -1
- package/dist/lime-elements/p-965288d2.entry.js +1 -0
- package/dist/lime-elements/{p-8b77d2a8.entry.js → p-9908b57a.entry.js} +1 -1
- package/dist/lime-elements/{p-2d7a2258.entry.js → p-9e3e4f2c.entry.js} +1 -1
- package/dist/lime-elements/p-DVRaJQvC.js +1 -0
- package/dist/lime-elements/{p-3b18ef34.entry.js → p-a2295fa6.entry.js} +1 -1
- package/dist/lime-elements/{p-14bfd676.entry.js → p-a489f4b0.entry.js} +1 -1
- package/dist/lime-elements/{p-d5e954d4.entry.js → p-aeebf410.entry.js} +1 -1
- package/dist/lime-elements/{p-f4c9301d.entry.js → p-b11751c9.entry.js} +1 -1
- package/dist/lime-elements/{p-a1c1c40d.entry.js → p-b6ccc921.entry.js} +1 -1
- package/dist/lime-elements/{p-60f12574.entry.js → p-b95a42ea.entry.js} +1 -1
- package/dist/lime-elements/{p-8118cd4f.entry.js → p-bb38bb3c.entry.js} +1 -1
- package/dist/lime-elements/{p-d93f1c5f.entry.js → p-c3d565e2.entry.js} +1 -1
- package/dist/lime-elements/{p-a113dc9d.entry.js → p-c3ff8518.entry.js} +1 -1
- package/dist/lime-elements/{p-e00a96bd.entry.js → p-c6b9425b.entry.js} +1 -1
- package/dist/lime-elements/{p-373b7df7.entry.js → p-c6e9af7c.entry.js} +1 -1
- package/dist/lime-elements/{p-7997c118.entry.js → p-ce22f3da.entry.js} +1 -1
- package/dist/lime-elements/{p-8c6dfb19.entry.js → p-d5da5b05.entry.js} +1 -1
- package/dist/lime-elements/{p-b255e8e6.entry.js → p-da4429a8.entry.js} +1 -1
- package/dist/lime-elements/{p-6aa7cd43.entry.js → p-dcf3cc71.entry.js} +1 -1
- package/dist/lime-elements/{p-97f719ae.entry.js → p-de1e5ad9.entry.js} +1 -1
- package/dist/lime-elements/{p-13d0ec04.entry.js → p-eaac5ad2.entry.js} +1 -1
- package/dist/lime-elements/{p-ce178fbd.entry.js → p-ed8129db.entry.js} +1 -1
- package/dist/lime-elements/{p-b92431c8.entry.js → p-ee3afb60.entry.js} +3 -3
- package/dist/lime-elements/{p-8eff8a18.entry.js → p-ef75eed9.entry.js} +1 -1
- package/dist/lime-elements/{p-46b95d7c.entry.js → p-ef9bb368.entry.js} +1 -1
- package/dist/lime-elements/{p-912f53a3.entry.js → p-f70b8487.entry.js} +1 -1
- package/dist/lime-elements/{p-d53b8de5.entry.js → p-f9d5513d.entry.js} +1 -1
- package/dist/lime-elements/{p-bc4b4e46.entry.js → p-fb6c42a6.entry.js} +1 -1
- package/dist/types/components/code-diff/code-diff.d.ts +147 -0
- package/dist/types/components/code-diff/content-utils.d.ts +27 -0
- package/dist/types/components/code-diff/diff-engine.d.ts +36 -0
- package/dist/types/components/code-diff/search-utils.d.ts +30 -0
- package/dist/types/components/code-diff/syntax-highlighter.d.ts +19 -0
- package/dist/types/components/code-diff/types.d.ts +50 -0
- package/dist/types/components.d.ts +175 -0
- package/dist/types/translations/da.d.ts +29 -0
- package/dist/types/translations/de.d.ts +29 -0
- package/dist/types/translations/en.d.ts +29 -0
- package/dist/types/translations/fi.d.ts +29 -0
- package/dist/types/translations/fr.d.ts +29 -0
- package/dist/types/translations/nl.d.ts +29 -0
- package/dist/types/translations/no.d.ts +29 -0
- package/dist/types/translations/sv.d.ts +29 -0
- package/package.json +2 -1
- package/dist/cjs/limel-action-bar-item_2.cjs.entry.js +0 -137
- package/dist/esm/limel-action-bar-item_2.entry.js +0 -134
- package/dist/lime-elements/p-854a3ffe.entry.js +0 -1
- package/dist/lime-elements/p-8f2ac274.entry.js +0 -1
- package/dist/lime-elements/p-BHybIZJs.js +0 -1
- package/dist/lime-elements/p-accc6cc0.entry.js +0 -1
|
@@ -12,7 +12,7 @@ export class Grid {
|
|
|
12
12
|
console.warn('limel-grid is deprecated, please use CSS instead: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout');
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return h("slot", { key: '
|
|
15
|
+
return h("slot", { key: '7248c244edbe50a29b32b327a8317d7be106bd18' });
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "limel-grid"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -61,7 +61,7 @@ export class Header {
|
|
|
61
61
|
this.subheadingDivider = '·';
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h(Host, { key: '
|
|
64
|
+
return (h(Host, { key: 'a15f9daaa43d8c03c79f30c2a9d543b97185ed6b' }, h("div", { key: 'f9142be782bd6c20605387073db02ede3acd1a2e', class: "information" }, this.renderIcon(), h("div", { key: 'a1919b8bd21f92aeae4be0c26822517780d0bfc1', class: "headings" }, h("h1", { key: '2c6b225fc76359fa6573b25f232a3530bec7508b', class: "heading", title: this.heading }, this.heading), h("h2", { key: '14be7addf9b4a3082dab7373381a8daa30530fa8', class: "subheading", title: this.subheading }, this.subheading, this.renderSupportingText()))), h("slot", { key: '27d8265622b327f77e893d5dc3e736a25d7b4da3', name: "actions" }, h("slot", { key: '03837c68e6f1ae38941702aef2ea6c74fa1b479d' }))));
|
|
65
65
|
}
|
|
66
66
|
renderIcon() {
|
|
67
67
|
var _a, _b, _c, _d, _e;
|
|
@@ -19,7 +19,7 @@ export class HelpContent {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '6f52a747b64fe7136596a1edb660cd030021f473' }, h("limel-markdown", { key: '7c0913d1a8c39d38f392529ee8fd4a1531aae638', value: this.value }), this.renderReadMoreLink()));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "limel-help-content"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,9 +41,9 @@ export class HelpComponent {
|
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: 'df993a4485c405a756eb69ccbee5ab8ec616a6d3' }, h("limel-popover", { key: 'f4aab0006a23c83a1609f1c8e1b97f5d6f69b4b4', open: this.isOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("button", { key: 'a88ae28570d62668a4b34d3e334816bc665dc33e', slot: "trigger", type: "button", onClick: this.openPopover, class: {
|
|
45
45
|
'is-open': this.isOpen,
|
|
46
|
-
} }, this.trigger), h("limel-help-content", { key: '
|
|
46
|
+
} }, this.trigger), h("limel-help-content", { key: '32f146b00380d0de6529a7b6a4ab0bcb82b067d4', value: this.value, readMoreLink: this.readMoreLink }))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "limel-help"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -46,9 +46,9 @@ export class HelperLine {
|
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: 'ca260d9f14bb76025f382964f3f24eafc25daeeb', tabIndex: -1, class: {
|
|
50
50
|
invalid: this.invalid,
|
|
51
|
-
}, style: this.hasContent() ? {} : { display: 'none' }, "aria-hidden": !this.hasContent() }, h("div", { key: '
|
|
51
|
+
}, style: this.hasContent() ? {} : { display: 'none' }, "aria-hidden": !this.hasContent() }, h("div", { key: '3d24d9b80729945c7ebd3f1ecd4348afec77185b' }, this.renderHelperText(), this.renderCharacterCounter())));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "limel-helper-line"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class Icon {
|
|
|
18
18
|
this.loadIcon(this.name);
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return h("div", { key: '
|
|
21
|
+
return h("div", { key: '80c6844e64217d24e957368feafddc831b497b2f', class: "container" });
|
|
22
22
|
}
|
|
23
23
|
async loadIcon(name) {
|
|
24
24
|
if (name === undefined || name === '') {
|
|
@@ -51,7 +51,7 @@ export class IconButton {
|
|
|
51
51
|
if (this.host.hasAttribute('tabindex')) {
|
|
52
52
|
buttonAttributes.tabindex = this.host.getAttribute('tabindex');
|
|
53
53
|
}
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'eb93a508920a2a1124a5002faf24cbe837c5ff48', onClick: this.filterClickWhenDisabled }, h("button", Object.assign({ key: 'b4ef2d7c4f260a88be131e072e9db8f560ed136b', disabled: this.disabled, id: this.tooltipId }, buttonAttributes), this.renderIcon(), this.renderTooltip(this.tooltipId))));
|
|
55
55
|
}
|
|
56
56
|
renderIcon() {
|
|
57
57
|
var _a, _b;
|
|
@@ -116,9 +116,9 @@ export class InfoTile {
|
|
|
116
116
|
this.checkProps((_d = this === null || this === void 0 ? void 0 : this.link) === null || _d === void 0 ? void 0 : _d.title);
|
|
117
117
|
const link = this.disabled ? '#' : (_e = this.link) === null || _e === void 0 ? void 0 : _e.href;
|
|
118
118
|
const rel = getRel((_f = this.link) === null || _f === void 0 ? void 0 : _f.target, (_g = this.link) === null || _g === void 0 ? void 0 : _g.rel);
|
|
119
|
-
return (h(Host, { key: '
|
|
119
|
+
return (h(Host, { key: '57b632bbe5ba4171c118171cbb1d5c7c87550a53', onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, class: { 'has-primary-slot-content': this.hasPrimarySlot } }, h("a", { key: 'aa3e1db51f262a204a4d0bf7fc025e067f608629', title: (_h = this.link) === null || _h === void 0 ? void 0 : _h.title, href: link, target: (_j = this.link) === null || _j === void 0 ? void 0 : _j.target, rel: rel, tabindex: "0", "aria-label": extendedAriaLabel, "aria-disabled": this.disabled, "aria-busy": this.loading ? 'true' : 'false', "aria-live": "polite", class: {
|
|
120
120
|
'is-clickable': !!((_k = this.link) === null || _k === void 0 ? void 0 : _k.href) && !this.disabled,
|
|
121
|
-
} }, this.renderIcon(), this.renderProgress(), h("slot", { key: '
|
|
121
|
+
} }, this.renderIcon(), this.renderProgress(), h("slot", { key: '2f9643af8bfe88ff99eba045983081e9388ba688', name: "primary", onSlotchange: this.updateHasPrimarySlotContent }), h("div", { key: '9cf8b84d5f2376d36ba7dbae8e86cbb8e11fa390', class: "value-group" }, this.renderPrefix(), h("div", { key: 'c073080821cd0b4bd4340d6566688a10cd0acd5e', class: "value-and-suffix" }, this.renderValue(), this.renderSuffix()), this.renderSpinner()), this.renderLabel(), h("limel-3d-hover-effect-glow", { key: '5ac6fee4d62020b9dfe1232309de0a414d35d6e4' })), this.renderNotification()));
|
|
122
122
|
}
|
|
123
123
|
checkProps(propValue) {
|
|
124
124
|
return propValue ? propValue + ' ' : '';
|
|
@@ -588,7 +588,7 @@ export class InputField {
|
|
|
588
588
|
if (ariaControls) {
|
|
589
589
|
properties['aria-controls'] = ariaControls;
|
|
590
590
|
}
|
|
591
|
-
return (h(Host, { key: '
|
|
591
|
+
return (h(Host, { key: '6427ea1655ab4fa9d07a2e5e4f8f1b4bad169065' }, h("limel-notched-outline", { key: '5dbf37b876ed2673acdd439a875b6b82ef34ee22', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid || this.isInvalid(), disabled: this.disabled, readonly: this.readonly, hasValue: !!this.value, hasLeadingIcon: !!this.leadingIcon }, h("label", { key: '47ec8a216b5b5799769af87ce603e04f6a3abbaa', slot: "content", class: this.getContainerClassList() }, this.renderLeadingIcon(), this.renderPrefix(), this.renderFormattedNumber(), this.renderInput(properties), this.renderSuffix(), this.renderTextarea(properties), this.renderTrailingLinkOrButton())), this.renderHelperLine(), this.renderAutocompleteList()));
|
|
592
592
|
}
|
|
593
593
|
valueWatcher(newValue) {
|
|
594
594
|
if (!this.mdcTextField) {
|
|
@@ -143,7 +143,7 @@ export class List {
|
|
|
143
143
|
maxLinesSecondaryText = 1;
|
|
144
144
|
}
|
|
145
145
|
const html = this.listRenderer.render(this.items, this.config);
|
|
146
|
-
return (h(Host, { key: '
|
|
146
|
+
return (h(Host, { key: 'cc025328924cab9298919a2873ec1744aeed3dab', style: {
|
|
147
147
|
'--maxLinesSecondaryText': `${maxLinesSecondaryText}`,
|
|
148
148
|
} }, html));
|
|
149
149
|
}
|
|
@@ -162,9 +162,9 @@ export class ListItemComponent {
|
|
|
162
162
|
// also keep for `menuitem` for visual state consistency
|
|
163
163
|
ariaProps['aria-selected'] = this.selected ? 'true' : 'false';
|
|
164
164
|
}
|
|
165
|
-
return (h(Host, Object.assign({ key: '
|
|
165
|
+
return (h(Host, Object.assign({ key: 'cc58d641c46fc21c81d9fbc6fbcd3a483aa7d803', role: this.getHostRole(), class: {
|
|
166
166
|
'has-primary-component': !!((_a = this.primaryComponent) === null || _a === void 0 ? void 0 : _a.name),
|
|
167
|
-
} }, ariaProps), this.renderRadioButton(), this.renderCheckbox(), this.renderIcon(), this.renderImage(), this.renderPrimaryComponent(), h("div", { key: '
|
|
167
|
+
} }, ariaProps), this.renderRadioButton(), this.renderCheckbox(), this.renderIcon(), this.renderImage(), this.renderPrimaryComponent(), h("div", { key: '2d8f6496d714faf9f3bd59cc829459191d650dc7', class: "text" }, this.renderLabel(), this.renderDescription()), this.renderActionMenu(this.actions)));
|
|
168
168
|
}
|
|
169
169
|
/**
|
|
170
170
|
* Returns a stable reference for the provided actions array to avoid
|
|
@@ -17,7 +17,7 @@ export class MenuItemMeta {
|
|
|
17
17
|
this.showChevron = false;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '9e84c6ecc29e50b5a4e871d646fb11539e5fe86f' }, this.renderCommandText(), this.renderBadge(), this.renderChevron()));
|
|
21
21
|
}
|
|
22
22
|
renderCommandText() {
|
|
23
23
|
if (!this.commandText) {
|
|
@@ -119,7 +119,7 @@ export class Markdown {
|
|
|
119
119
|
this.cleanupImageIntersectionObserver();
|
|
120
120
|
}
|
|
121
121
|
render() {
|
|
122
|
-
return (h(Host, { key: '
|
|
122
|
+
return (h(Host, { key: '89f9536407969e0bb9dd206ca540dabee9c3eecf' }, h("div", { key: '373f17c2933a715a97f2854343c1d26d32a26a27', id: "markdown", ref: (el) => (this.rootElement = el) })));
|
|
123
123
|
}
|
|
124
124
|
setupImageIntersectionObserver() {
|
|
125
125
|
if (this.lazyLoadImages) {
|
|
@@ -519,7 +519,7 @@ export class Menu {
|
|
|
519
519
|
const cssProperties = this.getCssProperties();
|
|
520
520
|
const dropdownZIndex = getComputedStyle(this.host).getPropertyValue('--dropdown-z-index');
|
|
521
521
|
const menuSurfaceWidth = this.getMenuSurfaceWidth(cssProperties['--menu-surface-width']);
|
|
522
|
-
return (h("div", { key: '
|
|
522
|
+
return (h("div", { key: '7769d71e01b3e7835fdec458a56858c10eb0c71a', class: "mdc-menu-surface--anchor", onClick: this.onTriggerClick }, h("slot", { key: '800c993b63e1ae0fd94d1c984ffbfaef96eec627', ref: this.setTriggerRef, name: "trigger" }), this.renderNotificationBadge(), h("limel-portal", { key: 'cc4da9d70f09030f4c41567611b42dda8ad4403e', visible: this.open, containerId: this.portalId, openDirection: this.openDirection, position: "absolute", containerStyle: { 'z-index': dropdownZIndex } }, h("limel-menu-surface", { key: '5bb2a262f66d2f9b7bcbe46009574daf5eddf589', open: this.open, onDismiss: this.onClose, style: Object.assign(Object.assign({}, cssProperties), { '--menu-surface-width': menuSurfaceWidth, '--limel-menu-surface-display': 'flex', '--limel-menu-surface-flex-direction': 'column' }), class: {
|
|
523
523
|
'has-grid-layout': this.gridLayout,
|
|
524
524
|
} }, this.renderSearchField(), this.renderBreadcrumb(), this.renderLoader(), this.renderEmptyMessage(), this.renderMenuList()))));
|
|
525
525
|
}
|
|
@@ -88,7 +88,7 @@ export class MenuList {
|
|
|
88
88
|
iconSize: this.iconSize,
|
|
89
89
|
};
|
|
90
90
|
const html = this.MenuListRenderer.render(this.items, this.config);
|
|
91
|
-
return h("div", { key: '
|
|
91
|
+
return h("div", { key: 'a0d43ee28ff19b78b99ed0ec7fc0d1ff79f235e0', class: "mdc-menu mdc-menu-surface" }, html);
|
|
92
92
|
}
|
|
93
93
|
itemsChanged() {
|
|
94
94
|
setTimeout(() => {
|
|
@@ -105,7 +105,7 @@ export class MenuSurface {
|
|
|
105
105
|
'mdc-elevation-transition': true,
|
|
106
106
|
'mdc-elevation--z4': true,
|
|
107
107
|
};
|
|
108
|
-
return (h("div", { key: '
|
|
108
|
+
return (h("div", { key: '0d834530b1abaa97c0443447ae573ff4eb000ea7', class: classList, tabindex: "-1" }, h("slot", { key: 'caea2ed90273cdacfd7e79ae2f2b5aff476dc7ed' })));
|
|
109
109
|
}
|
|
110
110
|
static get is() { return "limel-menu-surface"; }
|
|
111
111
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,7 +59,7 @@ export class NotchedOutline {
|
|
|
59
59
|
this.hasFloatingLabel = false;
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h("div", { key: '
|
|
62
|
+
return (h("div", { key: 'b50040fa4388423e4a918aead75dc425c8b1b2f4', class: "limel-notched-outline" }, h("slot", { key: 'd8c2b975c3f82ec33dffd773b7461e28427f1dbe', name: "content" }), h("span", { key: '981dc0b50cf8de443fd70e25272819af2e91e4ac', class: "limel-notched-outline--outlines", "aria-hidden": "true" }, h("span", { key: 'b0f18a32926f2a1e308675911ac2cdcc8b8adb69', class: "limel-notched-outline--leading-outline" }), this.renderLabel(), h("span", { key: 'ac7812bc4b30d93b8cf73b49db14f51db8845d82', class: "limel-notched-outline--trailing-outline" }), this.renderEmptyReadonlyValue())));
|
|
63
63
|
}
|
|
64
64
|
renderLabel() {
|
|
65
65
|
if (!this.label) {
|
|
@@ -188,7 +188,7 @@ export class Picker {
|
|
|
188
188
|
props.maxItems = 1;
|
|
189
189
|
}
|
|
190
190
|
return [
|
|
191
|
-
h("limel-chip-set", Object.assign({ key: '
|
|
191
|
+
h("limel-chip-set", Object.assign({ key: '996808bffc8715bab47a4b225d02d57247b3287d', type: "input", inputType: "search", label: this.label, helperText: this.helperText, leadingIcon: this.leadingIcon, value: this.chips, disabled: this.disabled, invalid: this.invalid, delimiter: this.renderDelimiter(), readonly: this.readonly, required: this.required, searchLabel: this.searchLabel, onInput: this.handleTextInput, onKeyDown: this.handleInputKeyDown, onChange: this.handleChange, onInteract: this.handleInteract, onStartEdit: this.handleInputFieldFocus, onStopEdit: this.handleStopEditAndBlur, emptyInputOnBlur: false, clearAllButton: this.multiple && !this.chipSetEditMode }, props)),
|
|
192
192
|
this.renderDropdown(),
|
|
193
193
|
];
|
|
194
194
|
}
|
|
@@ -127,7 +127,7 @@ export class Popover {
|
|
|
127
127
|
render() {
|
|
128
128
|
const cssProperties = this.getCssProperties();
|
|
129
129
|
const popoverZIndex = getComputedStyle(this.host).getPropertyValue('--popover-z-index');
|
|
130
|
-
return (h("div", { key: '
|
|
130
|
+
return (h("div", { key: '862c9700bce5d7a3f55b20cb4ef8eb8346e62a25', class: "trigger-anchor" }, h("slot", { key: '08dd9ac01930db903dba46c15e25d00727f251ff', name: "trigger", ref: this.setTriggerRef }), h("limel-portal", { key: 'bc03a58425d52d5d7447a5ed1308ee51c51480b5', visible: this.open, containerId: this.portalId, containerStyle: { 'z-index': popoverZIndex }, openDirection: this.openDirection }, h("limel-popover-surface", { key: 'a9b117aee79359fa1f2800b914aed8ed8ab2a203', contentCollection: this.host.children, style: cssProperties }))));
|
|
131
131
|
}
|
|
132
132
|
globalClickListener(event) {
|
|
133
133
|
const element = event.target;
|
|
@@ -8,7 +8,7 @@ export class PopoverSurface {
|
|
|
8
8
|
this.appendElement();
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("div", { key: '
|
|
11
|
+
return h("div", { key: '553798a32efa190cbceb65aec00b56bfb5eb25f7', class: "limel-popover-surface", tabindex: "0" });
|
|
12
12
|
}
|
|
13
13
|
appendElement() {
|
|
14
14
|
const portalContainer = this.host.shadowRoot.querySelector('.limel-popover-surface');
|
|
@@ -120,7 +120,7 @@ export class Portal {
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
render() {
|
|
123
|
-
return h("slot", { key: '
|
|
123
|
+
return h("slot", { key: 'e41cbd7a44b0e55525f9e99d056cc9ab627082d0' });
|
|
124
124
|
}
|
|
125
125
|
onVisible() {
|
|
126
126
|
if (!this.container && this.visible) {
|
|
@@ -37,7 +37,7 @@ export class RadioButtonGroup {
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h("limel-list", { key: '
|
|
40
|
+
return (h("limel-list", { key: 'f6aca37c9b00f4f92b1a048f8d7d0dd86e6f8c1f', items: this.createItems(), type: "radio", badgeIcons: this.badgeIcons, maxLinesSecondaryText: this.maxLinesSecondaryText, onChange: this.handleChange }));
|
|
41
41
|
}
|
|
42
42
|
createItems() {
|
|
43
43
|
return this.items.map((option) => {
|
|
@@ -31,12 +31,12 @@ import { Host, h } from "@stencil/core";
|
|
|
31
31
|
*/
|
|
32
32
|
export class RadioButtonComponent {
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '09013c710b49de8c6aa1b3b0342add87ee69230b', class: {
|
|
35
35
|
'boolean-input': true,
|
|
36
36
|
'radio-button': true,
|
|
37
37
|
checked: this.checked,
|
|
38
38
|
disabled: this.disabled,
|
|
39
|
-
} }, h("input", { key: '
|
|
39
|
+
} }, h("input", { key: '0199ebfe42f8d46ccc848c00725739617863a1b3', type: "radio", id: this.id, checked: this.checked, disabled: this.disabled, onChange: this.onChange }), h("div", { key: '80fc53f911d4524267a5c9e915e2c3ba7d3b58e8', class: "box" }), h("label", { key: '6e260d713cd802b12bdd88251a79eaaaf97ea9e8', class: "boolean-input-label", htmlFor: this.id }, this.label)));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "limel-radio-button"; }
|
|
42
42
|
static get originalStyleUrls() {
|
|
@@ -101,7 +101,7 @@ export class Select {
|
|
|
101
101
|
}
|
|
102
102
|
render() {
|
|
103
103
|
const dropdownZIndex = getComputedStyle(this.host).getPropertyValue('--dropdown-z-index');
|
|
104
|
-
return (h(SelectTemplate, { key: '
|
|
104
|
+
return (h(SelectTemplate, { key: 'f2a3c3f06af578829d134ba4276850bbd035a3e2', id: this.portalId, disabled: this.disabled || this.readonly, readonly: this.readonly, required: this.required, invalid: this.invalid, label: this.label, helperText: this.helperText, value: this.value, options: this.options, onMenuChange: this.handleMenuChange, onNativeChange: this.handleNativeChange, onTriggerPress: this.handleMenuTriggerKeyPress, multiple: this.multiple, isOpen: this.menuOpen, open: this.openMenu, close: this.closeMenu, checkValid: this.checkValid, native: this.isMobileDevice && !this.multiple, dropdownZIndex: dropdownZIndex, anchor: this.getAnchorElement() }));
|
|
105
105
|
}
|
|
106
106
|
watchOpen(newValue, oldValue) {
|
|
107
107
|
if (this.checkValid) {
|
|
@@ -56,7 +56,7 @@ export class Shortcut {
|
|
|
56
56
|
render() {
|
|
57
57
|
var _a, _b, _c, _d, _e;
|
|
58
58
|
const rel = getRel((_a = this.link) === null || _a === void 0 ? void 0 : _a.target, (_b = this.link) === null || _b === void 0 ? void 0 : _b.rel);
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '4c999ffbf57f45f652d4bfa881b54e421a58df8f', onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("a", { key: '5b7f3a5e43237b9a302bc63735b63a92c019eb2f', "aria-disabled": this.disabled, href: (_c = this.link) === null || _c === void 0 ? void 0 : _c.href, target: (_d = this.link) === null || _d === void 0 ? void 0 : _d.target, rel: rel, tabindex: "0", "aria-label": this.getAriaLabel(), title: (_e = this.link) === null || _e === void 0 ? void 0 : _e.title }, h("limel-icon", { key: '421faadecac1f5444ecab389574ad24cab6d7012', name: this.icon }), h("limel-3d-hover-effect-glow", { key: '0d932adbb6b7c343b3120d01e866b29d4c165543' })), this.renderLabel(), this.renderNotification()));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "limel-shortcut"; }
|
|
62
62
|
static get encapsulation() { return "shadow"; }
|
|
@@ -237,7 +237,7 @@ export class Slider {
|
|
|
237
237
|
if (this.disabled || this.readonly) {
|
|
238
238
|
inputProps.disabled = true;
|
|
239
239
|
}
|
|
240
|
-
return (h(Host, { key: '
|
|
240
|
+
return (h(Host, { key: '770ec2fd58abc5cc34bae66a4b8ec4928c233327', class: this.getContainerClassList() }, h("limel-notched-outline", { key: 'a3cd421f2bdb9e10ebab358ffc18d7aac06068da', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, hasValue: !!this.value, hasFloatingLabel: true }, h("div", { key: 'a76ef62e54db1061e69078bf26b95554f9c59186', slot: "content" }, this.renderRangeContainer(), this.renderSliderContainer(inputProps))), this.renderHelperLine()));
|
|
241
241
|
}
|
|
242
242
|
watchDisabled() {
|
|
243
243
|
this.updateDisabledState();
|
|
@@ -121,14 +121,14 @@ export class Snackbar {
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return (h("aside", { key: '
|
|
124
|
+
return (h("aside", { key: 'e07fbddded6a243a118dd9122db77e8286d5733e', popover: "manual", style: {
|
|
125
125
|
'--snackbar-timeout': `${Math.max(this.timeout || 0, 0)}ms`,
|
|
126
126
|
'--snackbar-distance-to-top-edge': `${this.offset}px`,
|
|
127
127
|
}, class: {
|
|
128
128
|
open: this.open,
|
|
129
129
|
'is-closing': this.closing,
|
|
130
130
|
'limel-portal--parent': true,
|
|
131
|
-
}, id: this.snackbarId, role: this.setAriaRoles(), "aria-atomic": this.open ? 'true' : undefined, "aria-relevant": this.open ? 'additions' : undefined }, h("div", { key: '
|
|
131
|
+
}, id: this.snackbarId, role: this.setAriaRoles(), "aria-atomic": this.open ? 'true' : undefined, "aria-relevant": this.open ? 'additions' : undefined }, h("div", { key: 'd672fadb9f690c99c60b0582cf371313278a9642', class: "surface" }, h("div", { key: '7502281b26c83fbac612d7896b25563255fd46e3', class: "label" }, this.message), this.renderActions(this.actionText), this.renderDismissButton(this.dismissible))));
|
|
132
132
|
}
|
|
133
133
|
setAriaRoles() {
|
|
134
134
|
if (!this.open) {
|
|
@@ -16,7 +16,7 @@ export class Spinner {
|
|
|
16
16
|
this.limeBranded = false;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '2ea3c8e615b6f95452c1ce2f8d5eb9ee989b8612' }, h("svg", { key: 'd0ff66dbbf8f7fefa0c6a52cd51a7fca2abe0c4a', viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, this.renderSpinner())));
|
|
20
20
|
}
|
|
21
21
|
renderSpinner() {
|
|
22
22
|
if (!this.limeBranded) {
|
|
@@ -55,9 +55,9 @@ export class SplitButton {
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '7ec8239476acbb6a539f5c510c315834c3cc7d13', class: {
|
|
59
59
|
'has-menu': this.items.length > 0,
|
|
60
|
-
}, onClick: this.filterClickWhenDisabled }, h("limel-button", { key: '
|
|
60
|
+
}, onClick: this.filterClickWhenDisabled }, h("limel-button", { key: 'cc1b19340e231dd0851c91eed4633bdc72b83124', label: this.label, primary: this.primary, icon: this.icon, disabled: this.disabled, loading: this.loading, loadingFailed: this.loadingFailed }), this.renderMenu()));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "limel-split-button"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -62,11 +62,11 @@ export class TabBar {
|
|
|
62
62
|
this.tearDown();
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
|
-
return (h("div", { key: '
|
|
65
|
+
return (h("div", { key: '24724f0e550a495e3c76157322aec3c1795c35d2', class: "mdc-tab-bar", role: "tablist" }, h("div", { key: 'e715431c3daba67c220731763fa4ee1d3fb05964', class: {
|
|
66
66
|
'mdc-tab-scroller': true,
|
|
67
67
|
'can-scroll-left': this.canScrollLeft,
|
|
68
68
|
'can-scroll-right': this.canScrollRight,
|
|
69
|
-
} }, h("div", { key: '
|
|
69
|
+
} }, h("div", { key: '13575d1fd979e0acba904279929e0dc0f170770e', class: "mdc-tab-scroller__scroll-area lime-hide-scrollbars" }, h("div", { key: '090cabba1bdfe2166c7a4af3b31e744e8d04f415', class: "mdc-tab-scroller__scroll-content" }, this.tabs.map(this.renderTab))), h("div", { key: '8c2319f5f15bf1d5c06fe7f92a688c99ce302d1a', class: "scroll-fade left" }), h("div", { key: '5d54b52b021b1d65756bfba38b47367124233e38', class: "scroll-button left" }, h("button", { key: '126822721bc814a391cd20e45506d4884069d8e7', type: "button", tabindex: "-1", "aria-hidden": "true", disabled: !this.canScrollLeft, onClick: this.handleLeftScrollClick }, h("limel-icon", { key: 'd8bd0a943c89c3a58e9f3e7b4fa46024413de92b', name: "angle_left" }))), h("div", { key: 'eb1e078fca4124c6277cbbd8e1584b0b3879c581', class: "scroll-fade right" }), h("div", { key: '4309055997e231e6aae0c573fa4abeec72b27201', class: "scroll-button right" }, h("button", { key: 'c965ef3d215e9c3d44260894fc7a8e3edfb5d675', type: "button", tabindex: "-1", "aria-hidden": "true", disabled: !this.canScrollRight, onClick: this.handleRightScrollClick }, h("limel-icon", { key: '83132fe176b81172f308dd0ebb06c20741f1df6c', name: "angle_right" }))))));
|
|
70
70
|
}
|
|
71
71
|
tabsChanged(newTabs = [], oldTabs = []) {
|
|
72
72
|
const newIds = newTabs.map((tab) => tab.id);
|
|
@@ -56,7 +56,7 @@ export class TabPanel {
|
|
|
56
56
|
this.tabs.forEach(this.setTabStatus);
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'dabaea500271fdc964b3ade5f79adc266c160aee', onChangeTab: this.handleChangeTabs }, h("div", { key: '7a1c4ba3a41d361f85e5b2fc23474b84bac3f978', class: "tab-panel" }, h("limel-tab-bar", { key: '00e7431d9ca39536c90fcb75883bc148f301f1d5', tabs: this.tabs }), h("div", { key: 'f108ed8f0f99326cd8c1ee2267d61c6b177c1b5f', class: "tab-content" }, h("slot", { key: '2ae16e81cc9272f64d107d5c7ee5d8f60d8347c9' })))));
|
|
60
60
|
}
|
|
61
61
|
setSlotElements() {
|
|
62
62
|
const slot = this.getSlot();
|
|
@@ -575,16 +575,16 @@ export class Table {
|
|
|
575
575
|
render() {
|
|
576
576
|
var _a, _b;
|
|
577
577
|
const totalRows = (_a = this.totalRows) !== null && _a !== void 0 ? _a : this.data.length;
|
|
578
|
-
return (h(Host, { key: '
|
|
578
|
+
return (h(Host, { key: '498a9a20e6d11e68845977a78ce64084ef73fb80', class: {
|
|
579
579
|
'has-low-density': this.layout === 'lowDensity',
|
|
580
580
|
'has-pagination-on-top': this.paginationLocation === 'top',
|
|
581
|
-
} }, h("div", { key: '
|
|
581
|
+
} }, h("div", { key: 'c5135d414bbe1115d2b3ec68205bade7c02facd2', id: "tabulator-container", class: {
|
|
582
582
|
'has-pagination': totalRows > this.pageSize,
|
|
583
583
|
'has-aggregation': this.hasAggregation(this.columns),
|
|
584
584
|
'has-movable-columns': this.movableColumns,
|
|
585
585
|
'has-rowselector': this.selectable,
|
|
586
586
|
'has-selection': (_b = this.tableSelection) === null || _b === void 0 ? void 0 : _b.hasSelection,
|
|
587
|
-
} }, h("div", { key: '
|
|
587
|
+
} }, h("div", { key: '3dba4b573af560cc2cbbe9d984a6197092c78700', id: "tabulator-loader", style: { display: this.loading ? 'flex' : 'none' } }, h("limel-spinner", { key: '7f2c103555838161a2a8de6c726ce9ff175bb0ef', size: "large" })), this.renderEmptyMessage(), this.renderSelectAll(), h("div", { key: '28de3b3e37382b323d676c33cd660dd39e7f9a6c', id: "tabulator-table" }))));
|
|
588
588
|
}
|
|
589
589
|
renderSelectAll() {
|
|
590
590
|
var _a, _b, _c;
|
|
@@ -106,9 +106,9 @@ export class TextEditorLinkMenu {
|
|
|
106
106
|
var _a, _b;
|
|
107
107
|
const isValid = this.isValid(this.link.href);
|
|
108
108
|
return [
|
|
109
|
-
h("limel-input-field", { key: '
|
|
110
|
-
h("limel-input-field", { key: '
|
|
111
|
-
h("div", { key: '
|
|
109
|
+
h("limel-input-field", { key: '59a19c43140dc628d165014767ed46d2c01012d4', label: this.getTranslation('editor-link-menu.text'), value: ((_a = this.link) === null || _a === void 0 ? void 0 : _a.text) || '', leadingIcon: "text_cursor", onChange: this.handleLinkTitleChange, onKeyDown: this.handleKeyDown, ref: (el) => (this.textInput = el) }),
|
|
110
|
+
h("limel-input-field", { key: 'de5d72e0ff74a96278615c55871a86883ebc8ad5', label: this.getTranslation('editor-link-menu.link'), value: ((_b = this.link) === null || _b === void 0 ? void 0 : _b.href) || '', type: "text", leadingIcon: "-lime-text-link", trailingIcon: "external_link", invalid: !isValid, onChange: this.handleLinkValueChange, onAction: this.handleLinkInputAction, onKeyDown: this.handleKeyDown }),
|
|
111
|
+
h("div", { key: '28e258290e650ae336b348bc8ff5d749100438f0', class: "actions" }, h("limel-button", { key: 'de6ca7d3594dd64897a8589c5e2fc04e7f0b623e', label: this.getTranslation('cancel'), onClick: this.handleCancel }), h("limel-button", { key: 'be505a063196c20992e4918fa60d1d0bcd0b40d5', primary: true, label: this.getTranslation('save'), disabled: !isValid, onClick: this.handleSave, ref: (el) => (this.saveButton = el), slot: "button" })),
|
|
112
112
|
];
|
|
113
113
|
}
|
|
114
114
|
static get is() { return "limel-text-editor-link-menu"; }
|
|
@@ -246,7 +246,7 @@ export class ProsemirrorAdapter {
|
|
|
246
246
|
(_e = this.view) === null || _e === void 0 ? void 0 : _e.destroy();
|
|
247
247
|
}
|
|
248
248
|
render() {
|
|
249
|
-
return (h(Host, { key: '
|
|
249
|
+
return (h(Host, { key: '7b35a08b74fd562be3d626db5133110b135ba0e8', onFocus: this.handleFocus }, h("div", { key: '820b11f0a4e475c6a91b4569886d955d38107b46', id: "editor" }), this.renderToolbar(), this.renderLinkMenu()));
|
|
250
250
|
}
|
|
251
251
|
renderToolbar() {
|
|
252
252
|
if (this.actionBarItems.length === 0 || this.ui === 'no-toolbar') {
|
|
@@ -142,7 +142,7 @@ export class TextEditor {
|
|
|
142
142
|
this.editorId = createRandomString();
|
|
143
143
|
}
|
|
144
144
|
render() {
|
|
145
|
-
return (h(Host, { key: '
|
|
145
|
+
return (h(Host, { key: '1115f9ddf6545702dc6c99cbde8ae8b1ab96ac06' }, h("limel-notched-outline", { key: '476e1210b9d10e7061fbb81235300a56260b4515', labelId: this.editorId, label: this.label, required: this.required, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, hasValue: !!this.value, hasFloatingLabel: true }, this.renderEditor(), this.renderPlaceholder()), this.renderHelperLine()));
|
|
146
146
|
}
|
|
147
147
|
renderEditor() {
|
|
148
148
|
if (this.readonly) {
|
|
@@ -18,7 +18,7 @@ export class TooltipContent {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
return [
|
|
21
|
-
h("text", Object.assign({ key: '
|
|
21
|
+
h("text", Object.assign({ key: '3d96f1730668d689661312967b858e93497699c3', class: { 'has-column-layout': isLabelsTextLong } }, props), h("div", { key: 'd1bad177a97b5f57011aaa7691d8ef99b6dfe3ee', class: "label" }, this.label), h("div", { key: '6b593758bc01dd59b6b192cf000bc1dfbe9db3b2', class: "helper-label" }, this.helperLabel)),
|
|
22
22
|
];
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "limel-tooltip-content"; }
|
|
@@ -78,10 +78,10 @@ export class Tooltip {
|
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
80
|
const tooltipZIndex = getComputedStyle(this.host).getPropertyValue('--tooltip-z-index');
|
|
81
|
-
return (h("div", { key: '
|
|
81
|
+
return (h("div", { key: '9b3cb71f61c465c196d4beb767297478efe7855d', class: "trigger-anchor" }, h("limel-portal", { key: '36d2dc1ec350e199face794b8100983dff284f29', openDirection: this.openDirection, visible: this.open, containerId: this.portalId, containerStyle: {
|
|
82
82
|
'z-index': tooltipZIndex,
|
|
83
83
|
'pointer-events': 'none',
|
|
84
|
-
}, anchor: this.ownerElement }, h("limel-tooltip-content", { key: '
|
|
84
|
+
}, anchor: this.ownerElement }, h("limel-tooltip-content", { key: '5584b033478721872c759f59a7f442d2d032dea4', label: this.label, helperLabel: this.helperLabel, maxlength: this.maxlength, role: "tooltip", "aria-hidden": !this.open, id: this.tooltipId }))));
|
|
85
85
|
}
|
|
86
86
|
setOwnerAriaLabel() {
|
|
87
87
|
var _a;
|
|
@@ -76,6 +76,35 @@ Du kan fortsætte med at blokere billeder (e-mailen kan se ufuldstændig ud) ell
|
|
|
76
76
|
'ai-avatar.thinking': 'tænker',
|
|
77
77
|
'table.select-all': 'Vælg alle rækker',
|
|
78
78
|
'table.select-row': 'Vælg denne række',
|
|
79
|
+
'code-diff.table-label': 'Kodesammenligning',
|
|
80
|
+
'code-diff.no-differences': 'Ingen forskelle',
|
|
81
|
+
'code-diff.no-differences-found': 'Ingen forskelle fundet',
|
|
82
|
+
'code-diff.copy-old-version': 'Kopiér gammel version til udklipsholder',
|
|
83
|
+
'code-diff.copied': 'Kopieret!',
|
|
84
|
+
'code-diff.copied-to-clipboard': 'Kopieret til udklipsholder',
|
|
85
|
+
'code-diff.copy-change': 'Kopiér gammel version af denne ændring',
|
|
86
|
+
'code-diff.search': 'Søg i fjernede linjer',
|
|
87
|
+
'code-diff.previous-match': 'Forrige match',
|
|
88
|
+
'code-diff.next-match': 'Næste match',
|
|
89
|
+
'code-diff.close-search': 'Luk søgning',
|
|
90
|
+
'code-diff.no-matches': 'Ingen match',
|
|
91
|
+
'code-diff.match-count': '{ current } af { total }',
|
|
92
|
+
'code-diff.hidden-lines': '··· { count } skjulte linjer ···',
|
|
93
|
+
'code-diff.show-hidden-lines': 'Vis { count } skjulte linjer',
|
|
94
|
+
'code-diff.expanded-lines': 'Skjulte linjer udvidet',
|
|
95
|
+
'code-diff.expanded-lines-end': 'Skjulte linjer i slutningen udvidet',
|
|
96
|
+
'code-diff.line-added': 'Tilføjet',
|
|
97
|
+
'code-diff.line-removed': 'Fjernet',
|
|
98
|
+
'code-diff.line-context': 'Uændret',
|
|
99
|
+
'code-diff.old-line': 'Gammel linje { number }',
|
|
100
|
+
'code-diff.new-line': 'Ny linje { number }',
|
|
101
|
+
'code-diff.diff-addition': '{ count } tilføjelse',
|
|
102
|
+
'code-diff.diff-additions': '{ count } tilføjelser',
|
|
103
|
+
'code-diff.diff-deletion': '{ count } sletning',
|
|
104
|
+
'code-diff.diff-deletions': '{ count } sletninger',
|
|
105
|
+
'code-diff.old-heading': 'Original',
|
|
106
|
+
'code-diff.new-heading': 'Ændret',
|
|
107
|
+
'code-diff.diff-summary': 'Diff: { parts }. Brug piletasterne til at navigere.',
|
|
79
108
|
'profile-picture.remove': 'Fjern valgt billede',
|
|
80
109
|
'profile-picture.unsupported-preview.title': 'Ikke-understøttet billedformat',
|
|
81
110
|
'profile-picture.unsupported-preview.description': 'Vi kan ikke vise det valgte billede i denne browser. Vælg venligst en anden billedfil.',
|
|
@@ -76,6 +76,35 @@ Sie können Bilder weiterhin blockieren (die E-Mail kann unvollständig aussehen
|
|
|
76
76
|
'ai-avatar.thinking': 'denkt',
|
|
77
77
|
'table.select-all': 'Alle Zeilen auswählen',
|
|
78
78
|
'table.select-row': 'Diese Zeile auswählen',
|
|
79
|
+
'code-diff.table-label': 'Code-Vergleich',
|
|
80
|
+
'code-diff.no-differences': 'Keine Unterschiede',
|
|
81
|
+
'code-diff.no-differences-found': 'Keine Unterschiede gefunden',
|
|
82
|
+
'code-diff.copy-old-version': 'Alte Version in Zwischenablage kopieren',
|
|
83
|
+
'code-diff.copied': 'Kopiert!',
|
|
84
|
+
'code-diff.copied-to-clipboard': 'In die Zwischenablage kopiert',
|
|
85
|
+
'code-diff.copy-change': 'Alte Version dieser Änderung kopieren',
|
|
86
|
+
'code-diff.search': 'Entfernte Zeilen durchsuchen',
|
|
87
|
+
'code-diff.previous-match': 'Vorherige Übereinstimmung',
|
|
88
|
+
'code-diff.next-match': 'Nächste Übereinstimmung',
|
|
89
|
+
'code-diff.close-search': 'Suche schließen',
|
|
90
|
+
'code-diff.no-matches': 'Keine Übereinstimmungen',
|
|
91
|
+
'code-diff.match-count': '{ current } von { total }',
|
|
92
|
+
'code-diff.hidden-lines': '··· { count } ausgeblendete Zeilen ···',
|
|
93
|
+
'code-diff.show-hidden-lines': '{ count } ausgeblendete Zeilen anzeigen',
|
|
94
|
+
'code-diff.expanded-lines': 'Ausgeblendete Zeilen eingeblendet',
|
|
95
|
+
'code-diff.expanded-lines-end': 'Ausgeblendete Zeilen am Ende eingeblendet',
|
|
96
|
+
'code-diff.line-added': 'Hinzugefügt',
|
|
97
|
+
'code-diff.line-removed': 'Entfernt',
|
|
98
|
+
'code-diff.line-context': 'Unverändert',
|
|
99
|
+
'code-diff.old-line': 'Alte Zeile { number }',
|
|
100
|
+
'code-diff.new-line': 'Neue Zeile { number }',
|
|
101
|
+
'code-diff.diff-addition': '{ count } Hinzufügung',
|
|
102
|
+
'code-diff.diff-additions': '{ count } Hinzufügungen',
|
|
103
|
+
'code-diff.diff-deletion': '{ count } Löschung',
|
|
104
|
+
'code-diff.diff-deletions': '{ count } Löschungen',
|
|
105
|
+
'code-diff.old-heading': 'Original',
|
|
106
|
+
'code-diff.new-heading': 'Geändert',
|
|
107
|
+
'code-diff.diff-summary': 'Diff: { parts }. Pfeiltasten zum Navigieren verwenden.',
|
|
79
108
|
'profile-picture.remove': 'Ausgewähltes Bild entfernen',
|
|
80
109
|
'profile-picture.unsupported-preview.title': 'Nicht unterstütztes Bildformat',
|
|
81
110
|
'profile-picture.unsupported-preview.description': 'Wir können das ausgewählte Bild in diesem Browser nicht anzeigen. Bitte wählen Sie eine andere Bilddatei.',
|
|
@@ -76,6 +76,35 @@ You can keep images blocked (the email may look incomplete), or load them if you
|
|
|
76
76
|
'ai-avatar.thinking': 'thinking',
|
|
77
77
|
'table.select-all': 'Select all rows',
|
|
78
78
|
'table.select-row': 'Select this row',
|
|
79
|
+
'code-diff.table-label': 'Code diff',
|
|
80
|
+
'code-diff.no-differences': 'No differences',
|
|
81
|
+
'code-diff.no-differences-found': 'No differences found',
|
|
82
|
+
'code-diff.copy-old-version': 'Copy old version to clipboard',
|
|
83
|
+
'code-diff.copied': 'Copied!',
|
|
84
|
+
'code-diff.copied-to-clipboard': 'Copied to clipboard',
|
|
85
|
+
'code-diff.copy-change': 'Copy old version of this change',
|
|
86
|
+
'code-diff.search': 'Search removed lines',
|
|
87
|
+
'code-diff.previous-match': 'Previous match',
|
|
88
|
+
'code-diff.next-match': 'Next match',
|
|
89
|
+
'code-diff.close-search': 'Close search',
|
|
90
|
+
'code-diff.no-matches': 'No matches',
|
|
91
|
+
'code-diff.match-count': '{ current } of { total }',
|
|
92
|
+
'code-diff.hidden-lines': '··· { count } hidden lines ···',
|
|
93
|
+
'code-diff.show-hidden-lines': 'Show { count } hidden lines',
|
|
94
|
+
'code-diff.expanded-lines': 'Expanded hidden lines',
|
|
95
|
+
'code-diff.expanded-lines-end': 'Expanded hidden lines at end of diff',
|
|
96
|
+
'code-diff.line-added': 'Added',
|
|
97
|
+
'code-diff.line-removed': 'Removed',
|
|
98
|
+
'code-diff.line-context': 'Unchanged',
|
|
99
|
+
'code-diff.old-line': 'Old line { number }',
|
|
100
|
+
'code-diff.new-line': 'New line { number }',
|
|
101
|
+
'code-diff.diff-addition': '{ count } addition',
|
|
102
|
+
'code-diff.diff-additions': '{ count } additions',
|
|
103
|
+
'code-diff.diff-deletion': '{ count } deletion',
|
|
104
|
+
'code-diff.diff-deletions': '{ count } deletions',
|
|
105
|
+
'code-diff.old-heading': 'Original',
|
|
106
|
+
'code-diff.new-heading': 'Modified',
|
|
107
|
+
'code-diff.diff-summary': 'Diff: { parts }. Use arrow keys to navigate lines.',
|
|
79
108
|
'profile-picture.remove': 'Remove selected picture',
|
|
80
109
|
'profile-picture.unsupported-preview.title': 'Unsupported image format',
|
|
81
110
|
'profile-picture.unsupported-preview.description': 'We cannot display the selected image in this browser. Please select a different image file.',
|