@limetech/lime-crm-building-blocks 1.111.0 → 1.111.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.
Files changed (32) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cjs/limebb-text-editor-picker.cjs.entry.js +1 -1
  3. package/dist/cjs/limebb-text-editor.cjs.entry.js +1 -1
  4. package/dist/collection/components/chat-list/chat-item/chat-item.css +26 -5
  5. package/dist/collection/components/chat-list/chat-list.css +26 -5
  6. package/dist/collection/components/data-cells/data-cells.css +26 -5
  7. package/dist/collection/components/document-picker/document-picker.css +26 -5
  8. package/dist/collection/components/feed/feed-item/feed-timeline-item.css +26 -5
  9. package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.css +26 -5
  10. package/dist/collection/components/kanban/kanban-group/kanban-group.css +26 -5
  11. package/dist/collection/components/kanban/kanban-item/kanban-item.css +26 -5
  12. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-expression.css +26 -5
  13. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.css +26 -5
  14. package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.css +26 -5
  15. package/dist/collection/components/lime-query-builder/response-format/response-format-item.css +26 -5
  16. package/dist/collection/components/navigation-button/navigation-button.css +26 -5
  17. package/dist/collection/components/notification-list/notification-item/notification-item.css +26 -5
  18. package/dist/collection/components/notification-list/notification-list.css +26 -5
  19. package/dist/collection/components/percentage-visualizer/percentage-visualizer.css +26 -5
  20. package/dist/collection/components/text-editor/text-editor-picker.css +2 -0
  21. package/dist/collection/components/text-editor/text-editor.js +2 -1
  22. package/dist/collection/components/trend-indicator/trend-indicator.css +26 -5
  23. package/dist/components/limebb-text-editor.js +1 -1
  24. package/dist/components/text-editor-picker.js +1 -1
  25. package/dist/esm/limebb-text-editor-picker.entry.js +1 -1
  26. package/dist/esm/limebb-text-editor.entry.js +1 -1
  27. package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
  28. package/dist/lime-crm-building-blocks/{p-0c290fd8.entry.js → p-4a60bde2.entry.js} +1 -1
  29. package/dist/lime-crm-building-blocks/{p-5f5cd2b2.entry.js → p-55d1bbde.entry.js} +1 -1
  30. package/dist/types/components/text-editor/text-editor.d.ts +1 -0
  31. package/dist/types/components.d.ts +4 -0
  32. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.111.1](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.111.0...v1.111.1) (2026-03-30)
2
+
3
+ ### Bug Fixes
4
+
5
+
6
+ * **text-editor:** prevent picker dropdown from overflowing viewport ([58c9251](https://github.com/Lundalogik/lime-crm-building-blocks/commit/58c92514468f109f9b2b22562448631e7d9ddf9b)), closes [#1329](https://github.com/Lundalogik/lime-crm-building-blocks/issues/1329)
7
+
1
8
  ## [1.111.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.110.4...v1.111.0) (2026-03-19)
2
9
 
3
10
  ### Features
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-519b904a.js');
6
6
  const keycodes = require('./keycodes-88522d7f.js');
7
7
 
8
- const textEditorPickerCss = ":host(limebb-text-editor-picker){animation:fade-in 0.3s ease forwards;animation-delay:0.1s;display:block;max-width:calc(100vw - 2rem);padding:0.125rem;border-radius:0.5rem;background-color:rgba(var(--contrast-100));box-shadow:var(--shadow-depth-16)}limel-menu-list{position:relative}limel-spinner{margin:0 auto}.spinner-in-list{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";
8
+ const textEditorPickerCss = ":host(limebb-text-editor-picker){animation:fade-in 0.3s ease forwards;animation-delay:0.1s;display:block;max-width:calc(100vw - 2rem);padding:0.125rem;border-radius:0.5rem;background-color:rgba(var(--contrast-100));box-shadow:var(--shadow-depth-16);max-height:50vh;overflow-y:auto}limel-menu-list{position:relative}limel-spinner{margin:0 auto}.spinner-in-list{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";
9
9
  const LimebbTextEditorPickerStyle0 = textEditorPickerCss;
10
10
 
11
11
  const TextEditorPicker = class {
@@ -1777,7 +1777,7 @@ const LimeBBTextEditor = class {
1777
1777
  }
1778
1778
  render() {
1779
1779
  return [
1780
- index.h("limel-text-editor", { key: '74b1c4a2b87837c15da858fd98c138cf8a9623f0', ref: (el) => (this.textEditor = el), tabindex: this.disabled ? -1 : 0, value: this.value, contentType: this.contentType, customElements: this.registeredCustomElements, "aria-disabled": this.disabled, language: this.language, triggers: this.registeredTriggers, onTriggerStart: this.handleTriggerStart, onTriggerStop: this.handleTriggerStop, onTriggerChange: this.handleTriggerChange, onImagePasted: this.handleImagePasted, onMetadataChange: this.handleMetadataChange, ui: this.ui, allowResize: this.allowResize, required: this.required, disabled: this.disabled, readonly: this.readonly, helperText: this.helperText, placeholder: this.placeholder, label: this.label, invalid: this.invalid }),
1780
+ index.h("limel-text-editor", { key: '2a87007bba9c506efab7ca6a3ba231e53d237356', ref: (el) => (this.textEditor = el), tabindex: this.disabled ? -1 : 0, value: this.value, contentType: this.contentType, customElements: this.registeredCustomElements, "aria-disabled": this.disabled, language: this.language, triggers: this.registeredTriggers, onTriggerStart: this.handleTriggerStart, onTriggerStop: this.handleTriggerStop, onTriggerChange: this.handleTriggerChange, onImagePasted: this.handleImagePasted, onMetadataChange: this.handleMetadataChange, ui: this.ui, allowResize: this.allowResize, required: this.required, disabled: this.disabled, readonly: this.readonly, helperText: this.helperText, placeholder: this.placeholder, label: this.label, invalid: this.invalid }),
1781
1781
  this.renderPicker(),
1782
1782
  ];
1783
1783
  }
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -3,12 +3,33 @@
3
3
  * @prop --percentage-visualizer-color: defines the color of the percentage bar
4
4
  */
5
5
  /**
6
- * Note! This file is exported to `dist/scss/` in the published
7
- * node module, for consumer projects to import.
8
- * That means this file cannot import from any file that isn't
9
- * also exported, keeping the same relative path.
6
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
10
7
  *
11
- * Or, just don't import anything, that works too.
8
+ * This file enables the clean import path:
9
+ * `@use '@limetech/lime-elements' as lime-elements;`
10
+ *
11
+ * It simply forwards everything from the built exports file.
12
+ */
13
+ /**
14
+ * Public SCSS exports for consumers of @limetech/lime-elements.
15
+ *
16
+ * This file provides reusable styling utilities.
17
+ *
18
+ * Import this file using:
19
+ * `@use '@limetech/lime-elements' as lime-elements;`
20
+ *
21
+ * For detailed documentation of each utility, its parameters,
22
+ * and usage examples, refer to the respective source files.
23
+ */
24
+ /**
25
+ * Note! This file is forwarded via `src/style/exports.scss`
26
+ * and exposed to consumers through the root `index.scss`.
27
+ *
28
+ * Consumers import it using:
29
+ * `@use '@limetech/lime-elements' as lime-elements;`
30
+ *
31
+ * Legacy import paths (`dist/scss/mixins`) are maintained
32
+ * for backward compatibility via copy rules in the Stencil config.
12
33
  */
13
34
  /**
14
35
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -7,6 +7,8 @@
7
7
  border-radius: 0.5rem;
8
8
  background-color: rgba(var(--contrast-100));
9
9
  box-shadow: var(--shadow-depth-16);
10
+ max-height: 50vh;
11
+ overflow-y: auto;
10
12
  }
11
13
 
12
14
  limel-menu-list {
@@ -38,6 +38,7 @@ const DEBOUNCE_SEARCH_TIMEOUT = 300;
38
38
  * @exampleComponent limebb-example-text-editor-composite
39
39
  * @exampleComponent limebb-example-text-editor-allow-resize
40
40
  * @exampleComponent limebb-example-text-editor-focus
41
+ * @exampleComponent limebb-example-text-editor-many-picker-items
41
42
  * @beta
42
43
  */
43
44
  export class LimeBBTextEditor {
@@ -390,7 +391,7 @@ export class LimeBBTextEditor {
390
391
  }
391
392
  render() {
392
393
  return [
393
- h("limel-text-editor", { key: '74b1c4a2b87837c15da858fd98c138cf8a9623f0', ref: (el) => (this.textEditor = el), tabindex: this.disabled ? -1 : 0, value: this.value, contentType: this.contentType, customElements: this.registeredCustomElements, "aria-disabled": this.disabled, language: this.language, triggers: this.registeredTriggers, onTriggerStart: this.handleTriggerStart, onTriggerStop: this.handleTriggerStop, onTriggerChange: this.handleTriggerChange, onImagePasted: this.handleImagePasted, onMetadataChange: this.handleMetadataChange, ui: this.ui, allowResize: this.allowResize, required: this.required, disabled: this.disabled, readonly: this.readonly, helperText: this.helperText, placeholder: this.placeholder, label: this.label, invalid: this.invalid }),
394
+ h("limel-text-editor", { key: '2a87007bba9c506efab7ca6a3ba231e53d237356', ref: (el) => (this.textEditor = el), tabindex: this.disabled ? -1 : 0, value: this.value, contentType: this.contentType, customElements: this.registeredCustomElements, "aria-disabled": this.disabled, language: this.language, triggers: this.registeredTriggers, onTriggerStart: this.handleTriggerStart, onTriggerStop: this.handleTriggerStop, onTriggerChange: this.handleTriggerChange, onImagePasted: this.handleImagePasted, onMetadataChange: this.handleMetadataChange, ui: this.ui, allowResize: this.allowResize, required: this.required, disabled: this.disabled, readonly: this.readonly, helperText: this.helperText, placeholder: this.placeholder, label: this.label, invalid: this.invalid }),
394
395
  this.renderPicker(),
395
396
  ];
396
397
  }
@@ -1,11 +1,32 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
3
+ * Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
7
4
  *
8
- * Or, just don't import anything, that works too.
5
+ * This file enables the clean import path:
6
+ * `@use '@limetech/lime-elements' as lime-elements;`
7
+ *
8
+ * It simply forwards everything from the built exports file.
9
+ */
10
+ /**
11
+ * Public SCSS exports for consumers of @limetech/lime-elements.
12
+ *
13
+ * This file provides reusable styling utilities.
14
+ *
15
+ * Import this file using:
16
+ * `@use '@limetech/lime-elements' as lime-elements;`
17
+ *
18
+ * For detailed documentation of each utility, its parameters,
19
+ * and usage examples, refer to the respective source files.
20
+ */
21
+ /**
22
+ * Note! This file is forwarded via `src/style/exports.scss`
23
+ * and exposed to consumers through the root `index.scss`.
24
+ *
25
+ * Consumers import it using:
26
+ * `@use '@limetech/lime-elements' as lime-elements;`
27
+ *
28
+ * Legacy import paths (`dist/scss/mixins`) are maintained
29
+ * for backward compatibility via copy rules in the Stencil config.
9
30
  */
10
31
  /**
11
32
  * This can be used on a trigger element that opens a dropdown menu or a popover.
@@ -1777,7 +1777,7 @@ const LimeBBTextEditor = /*@__PURE__*/ proxyCustomElement(class LimeBBTextEditor
1777
1777
  }
1778
1778
  render() {
1779
1779
  return [
1780
- h("limel-text-editor", { key: '74b1c4a2b87837c15da858fd98c138cf8a9623f0', ref: (el) => (this.textEditor = el), tabindex: this.disabled ? -1 : 0, value: this.value, contentType: this.contentType, customElements: this.registeredCustomElements, "aria-disabled": this.disabled, language: this.language, triggers: this.registeredTriggers, onTriggerStart: this.handleTriggerStart, onTriggerStop: this.handleTriggerStop, onTriggerChange: this.handleTriggerChange, onImagePasted: this.handleImagePasted, onMetadataChange: this.handleMetadataChange, ui: this.ui, allowResize: this.allowResize, required: this.required, disabled: this.disabled, readonly: this.readonly, helperText: this.helperText, placeholder: this.placeholder, label: this.label, invalid: this.invalid }),
1780
+ h("limel-text-editor", { key: '2a87007bba9c506efab7ca6a3ba231e53d237356', ref: (el) => (this.textEditor = el), tabindex: this.disabled ? -1 : 0, value: this.value, contentType: this.contentType, customElements: this.registeredCustomElements, "aria-disabled": this.disabled, language: this.language, triggers: this.registeredTriggers, onTriggerStart: this.handleTriggerStart, onTriggerStop: this.handleTriggerStop, onTriggerChange: this.handleTriggerChange, onImagePasted: this.handleImagePasted, onMetadataChange: this.handleMetadataChange, ui: this.ui, allowResize: this.allowResize, required: this.required, disabled: this.disabled, readonly: this.readonly, helperText: this.helperText, placeholder: this.placeholder, label: this.label, invalid: this.invalid }),
1781
1781
  this.renderPicker(),
1782
1782
  ];
1783
1783
  }
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
2
2
  import { a as ESCAPE } from './keycodes.js';
3
3
  import { d as defineCustomElement$1 } from './empty-state.js';
4
4
 
5
- const textEditorPickerCss = ":host(limebb-text-editor-picker){animation:fade-in 0.3s ease forwards;animation-delay:0.1s;display:block;max-width:calc(100vw - 2rem);padding:0.125rem;border-radius:0.5rem;background-color:rgba(var(--contrast-100));box-shadow:var(--shadow-depth-16)}limel-menu-list{position:relative}limel-spinner{margin:0 auto}.spinner-in-list{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";
5
+ const textEditorPickerCss = ":host(limebb-text-editor-picker){animation:fade-in 0.3s ease forwards;animation-delay:0.1s;display:block;max-width:calc(100vw - 2rem);padding:0.125rem;border-radius:0.5rem;background-color:rgba(var(--contrast-100));box-shadow:var(--shadow-depth-16);max-height:50vh;overflow-y:auto}limel-menu-list{position:relative}limel-spinner{margin:0 auto}.spinner-in-list{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";
6
6
  const LimebbTextEditorPickerStyle0 = textEditorPickerCss;
7
7
 
8
8
  const TextEditorPicker = /*@__PURE__*/ proxyCustomElement(class TextEditorPicker extends HTMLElement {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d86e55c0.js';
2
2
  import { a as ESCAPE } from './keycodes-58a1fcc9.js';
3
3
 
4
- const textEditorPickerCss = ":host(limebb-text-editor-picker){animation:fade-in 0.3s ease forwards;animation-delay:0.1s;display:block;max-width:calc(100vw - 2rem);padding:0.125rem;border-radius:0.5rem;background-color:rgba(var(--contrast-100));box-shadow:var(--shadow-depth-16)}limel-menu-list{position:relative}limel-spinner{margin:0 auto}.spinner-in-list{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";
4
+ const textEditorPickerCss = ":host(limebb-text-editor-picker){animation:fade-in 0.3s ease forwards;animation-delay:0.1s;display:block;max-width:calc(100vw - 2rem);padding:0.125rem;border-radius:0.5rem;background-color:rgba(var(--contrast-100));box-shadow:var(--shadow-depth-16);max-height:50vh;overflow-y:auto}limel-menu-list{position:relative}limel-spinner{margin:0 auto}.spinner-in-list{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";
5
5
  const LimebbTextEditorPickerStyle0 = textEditorPickerCss;
6
6
 
7
7
  const TextEditorPicker = class {
@@ -1773,7 +1773,7 @@ const LimeBBTextEditor = class {
1773
1773
  }
1774
1774
  render() {
1775
1775
  return [
1776
- h("limel-text-editor", { key: '74b1c4a2b87837c15da858fd98c138cf8a9623f0', ref: (el) => (this.textEditor = el), tabindex: this.disabled ? -1 : 0, value: this.value, contentType: this.contentType, customElements: this.registeredCustomElements, "aria-disabled": this.disabled, language: this.language, triggers: this.registeredTriggers, onTriggerStart: this.handleTriggerStart, onTriggerStop: this.handleTriggerStop, onTriggerChange: this.handleTriggerChange, onImagePasted: this.handleImagePasted, onMetadataChange: this.handleMetadataChange, ui: this.ui, allowResize: this.allowResize, required: this.required, disabled: this.disabled, readonly: this.readonly, helperText: this.helperText, placeholder: this.placeholder, label: this.label, invalid: this.invalid }),
1776
+ h("limel-text-editor", { key: '2a87007bba9c506efab7ca6a3ba231e53d237356', ref: (el) => (this.textEditor = el), tabindex: this.disabled ? -1 : 0, value: this.value, contentType: this.contentType, customElements: this.registeredCustomElements, "aria-disabled": this.disabled, language: this.language, triggers: this.registeredTriggers, onTriggerStart: this.handleTriggerStart, onTriggerStop: this.handleTriggerStop, onTriggerChange: this.handleTriggerChange, onImagePasted: this.handleImagePasted, onMetadataChange: this.handleMetadataChange, ui: this.ui, allowResize: this.allowResize, required: this.required, disabled: this.disabled, readonly: this.readonly, helperText: this.helperText, placeholder: this.placeholder, label: this.label, invalid: this.invalid }),
1777
1777
  this.renderPicker(),
1778
1778
  ];
1779
1779
  }
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-52cf8641.js";export{s as setNonce}from"./p-52cf8641.js";import{g as i}from"./p-e1255160.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((async e=>(await i(),t(JSON.parse('[["p-f965d2a6",[[1,"limebb-lime-query-builder",{"platform":[16],"context":[16],"value":[16],"label":[1],"activeLimetype":[1,"active-limetype"],"limetypes":[32],"mode":[32],"codeValue":[32],"limetype":[32],"filter":[32],"internalResponseFormat":[32],"limit":[32],"orderBy":[32],"description":[32]}]]],["p-af1e3cac",[[1,"limebb-feed",{"platform":[16],"context":[16],"items":[16],"emptyStateMessage":[1,"empty-state-message"],"heading":[1],"loading":[4],"minutesOfProximity":[2,"minutes-of-proximity"],"totalCount":[2,"total-count"],"direction":[513],"lastVisitedTimestamp":[1,"last-visited-timestamp"],"highlightedItemId":[8,"highlighted-item-id"]},null,{"highlightedItemId":["highlightedItemIdChanged"]}]]],["p-973146f7",[[1,"limebb-kanban",{"platform":[16],"context":[16],"groups":[16]}]]],["p-ef08b09f",[[1,"limebb-lime-query-response-format-builder",{"platform":[16],"context":[16],"limetype":[1],"value":[16],"label":[1],"helperText":[1,"helper-text"],"limetypes":[32],"mode":[32],"codeValue":[32],"internalValue":[32]}]]],["p-1b2ed672",[[1,"limebb-chat-list",{"platform":[16],"context":[16],"items":[16],"loading":[516],"isTypingIndicatorVisible":[516,"is-typing-indicator-visible"],"lastVisitedTimestamp":[513,"last-visited-timestamp"],"order":[513]},null,{"items":["handleItemsChange"]}]]],["p-d2bd2fc3",[[1,"limebb-limeobject-file-viewer",{"platform":[16],"context":[16],"property":[1],"fileTypes":[16],"limeobject":[32],"limetype":[32]}]]],["p-5f5cd2b2",[[17,"limebb-text-editor",{"platform":[16],"context":[16],"allowMentioning":[4,"allow-mentioning"],"contentType":[1,"content-type"],"language":[513],"disabled":[516],"readonly":[516],"helperText":[513,"helper-text"],"placeholder":[513],"label":[513],"invalid":[516],"required":[516],"selectedContext":[16],"ui":[513],"allowResize":[4,"allow-resize"],"value":[1],"draftIdentifier":[1,"draft-identifier"],"triggerMap":[16],"customElements":[16],"allowInlineImages":[4,"allow-inline-images"],"items":[32],"highlightedItemIndex":[32],"editorPickerQuery":[32],"searchableLimetypes":[32],"isPickerOpen":[32],"isSearching":[32]},null,{"isPickerOpen":["watchOpen"],"editorPickerQuery":["watchQuery"]}]]],["p-77e7d7da",[[1,"limebb-data-cells",{"platform":[16],"context":[16],"limeobject":[8],"items":[16]}]]],["p-9b4617bd",[[1,"limebb-date-range",{"platform":[16],"context":[16],"startTime":[16],"endTime":[16],"startTimeLabel":[1,"start-time-label"],"endTimeLabel":[1,"end-time-label"],"language":[1],"timeFormat":[1,"time-format"],"type":[1]}]]],["p-228573ab",[[1,"limebb-document-picker",{"platform":[16],"context":[16],"items":[16],"label":[513],"helperText":[513,"helper-text"],"invalid":[516],"required":[516],"type":[513]}]]],["p-4ca1caf4",[[1,"limebb-info-tile-currency-format",{"platform":[16],"context":[16],"value":[16]}]]],["p-4b494de7",[[1,"limebb-notification-list",{"platform":[16],"context":[16],"items":[16],"loading":[4],"lastVisitedTimestamp":[1,"last-visited-timestamp"]},null,{"items":["handleItemsChange"]}]]],["p-87e5d049",[[17,"limebb-browser",{"platform":[16],"context":[16],"items":[16],"layout":[1],"filter":[32]}]]],["p-95b6eaf5",[[1,"limebb-component-config",{"platform":[16],"context":[16],"value":[16],"required":[4],"readonly":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"],"formInfo":[16],"type":[1],"nameField":[1,"name-field"],"configComponent":[32],"configViewType":[32]},null,{"formInfo":["watchFormInfo"],"configComponent":["watchconfigComponent"]}]]],["p-a954d06e",[[1,"limebb-component-picker",{"platform":[16],"context":[16],"type":[1],"tags":[16],"value":[1],"copyLabel":[1,"copy-label"],"hideCopyButton":[4,"hide-copy-button"],"required":[4],"readonly":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"]}]]],["p-937e9144",[[1,"limebb-dashboard-widget",{"heading":[513],"subheading":[513],"supportingText":[513,"supporting-text"],"icon":[513]}]]],["p-442dffef",[[1,"limebb-icon-picker",{"value":[1],"required":[4],"readonly":[4],"invalid":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"]}]]],["p-acf77715",[[1,"limebb-info-tile",{"platform":[16],"context":[16],"filterId":[513,"filter-id"],"disabled":[4],"icon":[513],"label":[1],"prefix":[1],"suffix":[1],"propertyName":[1,"property-name"],"aggregateOperator":[1,"aggregate-operator"],"format":[16],"config":[32],"filters":[32],"value":[32],"loading":[32],"error":[32],"limetypes":[32]},null,{"filterId":["watchFilterId"],"propertyName":["watchPropertyName"],"aggregateOperator":["watchAggregateOperator"]}]]],["p-eb56d4eb",[[1,"limebb-info-tile-date-format",{"value":[16]}]]],["p-fb292b3f",[[1,"limebb-info-tile-decimal-format",{"value":[16]}]]],["p-c678ba6d",[[1,"limebb-info-tile-format",{"platform":[16],"context":[16],"type":[1],"value":[16]}]]],["p-579be797",[[1,"limebb-info-tile-relative-date-format",{"value":[16]}]]],["p-3da67f32",[[1,"limebb-info-tile-unit-format",{"value":[16]}]]],["p-b7959ddb",[[1,"limebb-loader",{"platform":[16],"context":[16]}]]],["p-59b4af72",[[1,"limebb-locale-picker",{"platform":[16],"context":[16],"value":[1],"required":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"],"readonly":[4],"multipleChoice":[4,"multiple-choice"],"allLanguages":[32]}]]],["p-eb4aa158",[[1,"limebb-mention",{"limetype":[1],"objectid":[2],"limeobject":[32]}]]],["p-17baea44",[[1,"limebb-mention-group-counter",{"count":[2],"limetype":[16],"helperLabel":[1,"helper-label"]}]]],["p-77ef7ad1",[[1,"limebb-object-chip",{"limetype":[1],"objectid":[2],"platform":[16],"data":[32]},null,{"limetype":["handlePropChange"],"objectid":["handlePropChange"]}]]],["p-6e969c97",[[1,"limebb-trend-indicator",{"platform":[16],"context":[16],"value":[520],"formerValue":[514,"former-value"],"suffix":[513],"label":[513],"invalid":[516],"required":[516],"helperText":[513,"helper-text"],"reducePresence":[516,"reduce-presence"]},null,{"value":["valueChanged"]}]]],["p-517fd960",[[1,"limebb-feed-timeline-item",{"platform":[16],"context":[16],"item":[16],"ui":[513],"helperText":[1,"helper-text"],"hasError":[516,"has-error"],"isBundled":[516,"is-bundled"],"headingCanExpand":[32],"isHeadingExpanded":[32],"showMore":[32],"isTall":[32]}]]],["p-3d4c4df2",[[1,"limebb-kanban-group",{"platform":[16],"context":[16],"identifier":[1],"heading":[513],"help":[1],"items":[16],"summary":[1],"loading":[516],"totalCount":[514,"total-count"]}]]],["p-0c290fd8",[[1,"limebb-text-editor-picker",{"items":[16],"open":[516],"isSearching":[4,"is-searching"],"emptyMessage":[1,"empty-message"]},null,{"open":["watchOpen"]}]]],["p-85c04627",[[1,"limebb-currency-picker",{"platform":[16],"context":[16],"label":[513],"currencies":[16],"helperText":[513,"helper-text"],"required":[516],"readonly":[516],"invalid":[516],"disabled":[516],"value":[1]}]]],["p-01375d63",[[1,"limebb-date-picker",{"platform":[16],"context":[16],"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"required":[516],"value":[1],"type":[513]}]]],["p-a9ef0153",[[17,"limebb-document-item",{"platform":[16],"context":[16],"item":[16],"type":[513],"fileTypes":[16]}]]],["p-eaf58ba4",[[1,"limebb-live-docs-info"]]],["p-ac833ff7",[[1,"limebb-notification-item",{"platform":[16],"context":[16],"item":[16]}]]],["p-c1c89173",[[1,"limebb-percentage-visualizer",{"platform":[16],"context":[16],"value":[520],"rangeMax":[514,"range-max"],"rangeMin":[514,"range-min"],"multiplier":[514],"label":[513],"invalid":[516],"required":[516],"helperText":[513,"helper-text"],"reducePresence":[516,"reduce-presence"],"displayPercentageColors":[516,"display-percentage-colors"]},null,{"value":["valueChanged"]}]]],["p-e8069516",[[1,"limebb-kanban-item",{"platform":[16],"context":[16],"item":[16]}]]],["p-81583fc8",[[1,"limebb-property-selector",{"platform":[16],"context":[16],"limetype":[1],"value":[1],"label":[1],"required":[4],"helperText":[1,"helper-text"],"limetypes":[32],"isOpen":[32],"navigationPath":[32]}]]],["p-a9160103",[[1,"limebb-lime-query-order-by-item",{"platform":[16],"context":[16],"limetype":[1],"item":[16]}]]],["p-c38f0931",[[1,"limebb-chat-item",{"platform":[16],"context":[16],"item":[16],"helperText":[1,"helper-text"],"hasError":[516,"has-error"]}],[1,"limebb-typing-indicator"]]],["p-92062bd6",[[1,"limebb-feed-item-thumbnail-file-info",{"description":[1]}]]],["p-f9daa703",[[1,"limebb-lime-query-filter-builder",{"platform":[16],"context":[16],"limetype":[1],"activeLimetype":[1,"active-limetype"],"expression":[16]}],[1,"limebb-lime-query-order-by-editor",{"platform":[16],"context":[16],"limetype":[1],"value":[16],"label":[1],"items":[32]},null,{"value":["handleValueChange"]}],[0,"limebb-limetype-field",{"platform":[16],"context":[16],"label":[513],"required":[516],"readonly":[516],"disabled":[516],"value":[513],"helperText":[513,"helper-text"],"invalid":[4],"limetypes":[16],"propertyFields":[16],"fieldName":[1,"field-name"],"formInfo":[16]}]]],["p-e79f16ca",[[1,"limebb-empty-state",{"heading":[513],"value":[513],"icon":[16]}]]],["p-bd6b5a42",[[1,"limebb-lime-query-response-format-editor",{"platform":[16],"context":[16],"limetype":[1],"value":[16],"label":[1],"items":[32]}],[1,"limebb-lime-query-response-format-item",{"platform":[16],"context":[16],"limetype":[1],"item":[16],"showAliasInput":[32],"showDescriptionInput":[32]}]]],["p-6bd3f952",[[1,"limebb-lime-query-value-input",{"platform":[16],"context":[16],"limetype":[1],"activeLimetype":[1,"active-limetype"],"propertyPath":[1,"property-path"],"operator":[1],"value":[8],"label":[1],"limetypes":[32],"inputMode":[32]}],[1,"limebb-lime-query-filter-group",{"platform":[16],"context":[16],"limetype":[1],"activeLimetype":[1,"active-limetype"],"expression":[16],"value":[32]}],[1,"limebb-lime-query-filter-not",{"platform":[16],"context":[16],"label":[1],"limetype":[1],"activeLimetype":[1,"active-limetype"],"expression":[16]}]]],["p-199f0a47",[[1,"limebb-lime-query-filter-expression",{"platform":[16],"context":[16],"label":[1],"limetype":[1],"activeLimetype":[1,"active-limetype"],"expression":[16]}],[1,"limebb-lime-query-filter-comparison",{"platform":[16],"context":[16],"label":[513],"limetype":[1],"activeLimetype":[1,"active-limetype"],"expression":[16]}]]],["p-d880ba5e",[[1,"limebb-summary-popover",{"triggerDelay":[514,"trigger-delay"],"heading":[513],"subheading":[513],"image":[16],"icon":[513],"value":[1],"openDirection":[513,"open-direction"],"popoverMaxWidth":[513,"popover-max-width"],"popoverMaxHeight":[513,"popover-max-height"],"actions":[16],"isPopoverOpen":[32]}],[17,"limebb-navigation-button",{"href":[513],"tooltipLabel":[513,"tooltip-label"],"tooltipHelperLabel":[513,"tooltip-helper-label"],"type":[513]}]]]]'),e))));
1
+ import{p as e,b as t}from"./p-52cf8641.js";export{s as setNonce}from"./p-52cf8641.js";import{g as i}from"./p-e1255160.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((async e=>(await i(),t(JSON.parse('[["p-f965d2a6",[[1,"limebb-lime-query-builder",{"platform":[16],"context":[16],"value":[16],"label":[1],"activeLimetype":[1,"active-limetype"],"limetypes":[32],"mode":[32],"codeValue":[32],"limetype":[32],"filter":[32],"internalResponseFormat":[32],"limit":[32],"orderBy":[32],"description":[32]}]]],["p-af1e3cac",[[1,"limebb-feed",{"platform":[16],"context":[16],"items":[16],"emptyStateMessage":[1,"empty-state-message"],"heading":[1],"loading":[4],"minutesOfProximity":[2,"minutes-of-proximity"],"totalCount":[2,"total-count"],"direction":[513],"lastVisitedTimestamp":[1,"last-visited-timestamp"],"highlightedItemId":[8,"highlighted-item-id"]},null,{"highlightedItemId":["highlightedItemIdChanged"]}]]],["p-973146f7",[[1,"limebb-kanban",{"platform":[16],"context":[16],"groups":[16]}]]],["p-ef08b09f",[[1,"limebb-lime-query-response-format-builder",{"platform":[16],"context":[16],"limetype":[1],"value":[16],"label":[1],"helperText":[1,"helper-text"],"limetypes":[32],"mode":[32],"codeValue":[32],"internalValue":[32]}]]],["p-1b2ed672",[[1,"limebb-chat-list",{"platform":[16],"context":[16],"items":[16],"loading":[516],"isTypingIndicatorVisible":[516,"is-typing-indicator-visible"],"lastVisitedTimestamp":[513,"last-visited-timestamp"],"order":[513]},null,{"items":["handleItemsChange"]}]]],["p-d2bd2fc3",[[1,"limebb-limeobject-file-viewer",{"platform":[16],"context":[16],"property":[1],"fileTypes":[16],"limeobject":[32],"limetype":[32]}]]],["p-55d1bbde",[[17,"limebb-text-editor",{"platform":[16],"context":[16],"allowMentioning":[4,"allow-mentioning"],"contentType":[1,"content-type"],"language":[513],"disabled":[516],"readonly":[516],"helperText":[513,"helper-text"],"placeholder":[513],"label":[513],"invalid":[516],"required":[516],"selectedContext":[16],"ui":[513],"allowResize":[4,"allow-resize"],"value":[1],"draftIdentifier":[1,"draft-identifier"],"triggerMap":[16],"customElements":[16],"allowInlineImages":[4,"allow-inline-images"],"items":[32],"highlightedItemIndex":[32],"editorPickerQuery":[32],"searchableLimetypes":[32],"isPickerOpen":[32],"isSearching":[32]},null,{"isPickerOpen":["watchOpen"],"editorPickerQuery":["watchQuery"]}]]],["p-77e7d7da",[[1,"limebb-data-cells",{"platform":[16],"context":[16],"limeobject":[8],"items":[16]}]]],["p-9b4617bd",[[1,"limebb-date-range",{"platform":[16],"context":[16],"startTime":[16],"endTime":[16],"startTimeLabel":[1,"start-time-label"],"endTimeLabel":[1,"end-time-label"],"language":[1],"timeFormat":[1,"time-format"],"type":[1]}]]],["p-228573ab",[[1,"limebb-document-picker",{"platform":[16],"context":[16],"items":[16],"label":[513],"helperText":[513,"helper-text"],"invalid":[516],"required":[516],"type":[513]}]]],["p-4ca1caf4",[[1,"limebb-info-tile-currency-format",{"platform":[16],"context":[16],"value":[16]}]]],["p-4b494de7",[[1,"limebb-notification-list",{"platform":[16],"context":[16],"items":[16],"loading":[4],"lastVisitedTimestamp":[1,"last-visited-timestamp"]},null,{"items":["handleItemsChange"]}]]],["p-87e5d049",[[17,"limebb-browser",{"platform":[16],"context":[16],"items":[16],"layout":[1],"filter":[32]}]]],["p-95b6eaf5",[[1,"limebb-component-config",{"platform":[16],"context":[16],"value":[16],"required":[4],"readonly":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"],"formInfo":[16],"type":[1],"nameField":[1,"name-field"],"configComponent":[32],"configViewType":[32]},null,{"formInfo":["watchFormInfo"],"configComponent":["watchconfigComponent"]}]]],["p-a954d06e",[[1,"limebb-component-picker",{"platform":[16],"context":[16],"type":[1],"tags":[16],"value":[1],"copyLabel":[1,"copy-label"],"hideCopyButton":[4,"hide-copy-button"],"required":[4],"readonly":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"]}]]],["p-937e9144",[[1,"limebb-dashboard-widget",{"heading":[513],"subheading":[513],"supportingText":[513,"supporting-text"],"icon":[513]}]]],["p-442dffef",[[1,"limebb-icon-picker",{"value":[1],"required":[4],"readonly":[4],"invalid":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"]}]]],["p-acf77715",[[1,"limebb-info-tile",{"platform":[16],"context":[16],"filterId":[513,"filter-id"],"disabled":[4],"icon":[513],"label":[1],"prefix":[1],"suffix":[1],"propertyName":[1,"property-name"],"aggregateOperator":[1,"aggregate-operator"],"format":[16],"config":[32],"filters":[32],"value":[32],"loading":[32],"error":[32],"limetypes":[32]},null,{"filterId":["watchFilterId"],"propertyName":["watchPropertyName"],"aggregateOperator":["watchAggregateOperator"]}]]],["p-eb56d4eb",[[1,"limebb-info-tile-date-format",{"value":[16]}]]],["p-fb292b3f",[[1,"limebb-info-tile-decimal-format",{"value":[16]}]]],["p-c678ba6d",[[1,"limebb-info-tile-format",{"platform":[16],"context":[16],"type":[1],"value":[16]}]]],["p-579be797",[[1,"limebb-info-tile-relative-date-format",{"value":[16]}]]],["p-3da67f32",[[1,"limebb-info-tile-unit-format",{"value":[16]}]]],["p-b7959ddb",[[1,"limebb-loader",{"platform":[16],"context":[16]}]]],["p-59b4af72",[[1,"limebb-locale-picker",{"platform":[16],"context":[16],"value":[1],"required":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"],"readonly":[4],"multipleChoice":[4,"multiple-choice"],"allLanguages":[32]}]]],["p-eb4aa158",[[1,"limebb-mention",{"limetype":[1],"objectid":[2],"limeobject":[32]}]]],["p-17baea44",[[1,"limebb-mention-group-counter",{"count":[2],"limetype":[16],"helperLabel":[1,"helper-label"]}]]],["p-77ef7ad1",[[1,"limebb-object-chip",{"limetype":[1],"objectid":[2],"platform":[16],"data":[32]},null,{"limetype":["handlePropChange"],"objectid":["handlePropChange"]}]]],["p-6e969c97",[[1,"limebb-trend-indicator",{"platform":[16],"context":[16],"value":[520],"formerValue":[514,"former-value"],"suffix":[513],"label":[513],"invalid":[516],"required":[516],"helperText":[513,"helper-text"],"reducePresence":[516,"reduce-presence"]},null,{"value":["valueChanged"]}]]],["p-517fd960",[[1,"limebb-feed-timeline-item",{"platform":[16],"context":[16],"item":[16],"ui":[513],"helperText":[1,"helper-text"],"hasError":[516,"has-error"],"isBundled":[516,"is-bundled"],"headingCanExpand":[32],"isHeadingExpanded":[32],"showMore":[32],"isTall":[32]}]]],["p-3d4c4df2",[[1,"limebb-kanban-group",{"platform":[16],"context":[16],"identifier":[1],"heading":[513],"help":[1],"items":[16],"summary":[1],"loading":[516],"totalCount":[514,"total-count"]}]]],["p-4a60bde2",[[1,"limebb-text-editor-picker",{"items":[16],"open":[516],"isSearching":[4,"is-searching"],"emptyMessage":[1,"empty-message"]},null,{"open":["watchOpen"]}]]],["p-85c04627",[[1,"limebb-currency-picker",{"platform":[16],"context":[16],"label":[513],"currencies":[16],"helperText":[513,"helper-text"],"required":[516],"readonly":[516],"invalid":[516],"disabled":[516],"value":[1]}]]],["p-01375d63",[[1,"limebb-date-picker",{"platform":[16],"context":[16],"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"required":[516],"value":[1],"type":[513]}]]],["p-a9ef0153",[[17,"limebb-document-item",{"platform":[16],"context":[16],"item":[16],"type":[513],"fileTypes":[16]}]]],["p-eaf58ba4",[[1,"limebb-live-docs-info"]]],["p-ac833ff7",[[1,"limebb-notification-item",{"platform":[16],"context":[16],"item":[16]}]]],["p-c1c89173",[[1,"limebb-percentage-visualizer",{"platform":[16],"context":[16],"value":[520],"rangeMax":[514,"range-max"],"rangeMin":[514,"range-min"],"multiplier":[514],"label":[513],"invalid":[516],"required":[516],"helperText":[513,"helper-text"],"reducePresence":[516,"reduce-presence"],"displayPercentageColors":[516,"display-percentage-colors"]},null,{"value":["valueChanged"]}]]],["p-e8069516",[[1,"limebb-kanban-item",{"platform":[16],"context":[16],"item":[16]}]]],["p-81583fc8",[[1,"limebb-property-selector",{"platform":[16],"context":[16],"limetype":[1],"value":[1],"label":[1],"required":[4],"helperText":[1,"helper-text"],"limetypes":[32],"isOpen":[32],"navigationPath":[32]}]]],["p-a9160103",[[1,"limebb-lime-query-order-by-item",{"platform":[16],"context":[16],"limetype":[1],"item":[16]}]]],["p-c38f0931",[[1,"limebb-chat-item",{"platform":[16],"context":[16],"item":[16],"helperText":[1,"helper-text"],"hasError":[516,"has-error"]}],[1,"limebb-typing-indicator"]]],["p-92062bd6",[[1,"limebb-feed-item-thumbnail-file-info",{"description":[1]}]]],["p-f9daa703",[[1,"limebb-lime-query-filter-builder",{"platform":[16],"context":[16],"limetype":[1],"activeLimetype":[1,"active-limetype"],"expression":[16]}],[1,"limebb-lime-query-order-by-editor",{"platform":[16],"context":[16],"limetype":[1],"value":[16],"label":[1],"items":[32]},null,{"value":["handleValueChange"]}],[0,"limebb-limetype-field",{"platform":[16],"context":[16],"label":[513],"required":[516],"readonly":[516],"disabled":[516],"value":[513],"helperText":[513,"helper-text"],"invalid":[4],"limetypes":[16],"propertyFields":[16],"fieldName":[1,"field-name"],"formInfo":[16]}]]],["p-e79f16ca",[[1,"limebb-empty-state",{"heading":[513],"value":[513],"icon":[16]}]]],["p-bd6b5a42",[[1,"limebb-lime-query-response-format-editor",{"platform":[16],"context":[16],"limetype":[1],"value":[16],"label":[1],"items":[32]}],[1,"limebb-lime-query-response-format-item",{"platform":[16],"context":[16],"limetype":[1],"item":[16],"showAliasInput":[32],"showDescriptionInput":[32]}]]],["p-6bd3f952",[[1,"limebb-lime-query-value-input",{"platform":[16],"context":[16],"limetype":[1],"activeLimetype":[1,"active-limetype"],"propertyPath":[1,"property-path"],"operator":[1],"value":[8],"label":[1],"limetypes":[32],"inputMode":[32]}],[1,"limebb-lime-query-filter-group",{"platform":[16],"context":[16],"limetype":[1],"activeLimetype":[1,"active-limetype"],"expression":[16],"value":[32]}],[1,"limebb-lime-query-filter-not",{"platform":[16],"context":[16],"label":[1],"limetype":[1],"activeLimetype":[1,"active-limetype"],"expression":[16]}]]],["p-199f0a47",[[1,"limebb-lime-query-filter-expression",{"platform":[16],"context":[16],"label":[1],"limetype":[1],"activeLimetype":[1,"active-limetype"],"expression":[16]}],[1,"limebb-lime-query-filter-comparison",{"platform":[16],"context":[16],"label":[513],"limetype":[1],"activeLimetype":[1,"active-limetype"],"expression":[16]}]]],["p-d880ba5e",[[1,"limebb-summary-popover",{"triggerDelay":[514,"trigger-delay"],"heading":[513],"subheading":[513],"image":[16],"icon":[513],"value":[1],"openDirection":[513,"open-direction"],"popoverMaxWidth":[513,"popover-max-width"],"popoverMaxHeight":[513,"popover-max-height"],"actions":[16],"isPopoverOpen":[32]}],[17,"limebb-navigation-button",{"href":[513],"tooltipLabel":[513,"tooltip-label"],"tooltipHelperLabel":[513,"tooltip-helper-label"],"type":[513]}]]]]'),e))));
@@ -1 +1 @@
1
- import{r as t,c as s,h as e,H as i,g as a}from"./p-52cf8641.js";import{a as r}from"./p-463d3174.js";const n=class{constructor(e){t(this,e),this.cancel=s(this,"cancel",7),this.itemSelected=s(this,"itemSelected",7),this.items=[],this.open=!1,this.isSearching=!1,this.emptyMessage="",this.handleCancel=t=>{t instanceof KeyboardEvent&&t.key!==r||(t.stopPropagation(),t.preventDefault(),this.cancel.emit())},this.selectOnInteract=t=>{t.stopPropagation(),t.preventDefault(),this.itemSelected.emit(t.detail)}}watchOpen(t){!0===t?this.setupHandlers():!1===t&&this.teardownHandlers()}connectedCallback(){this.open&&this.setupHandlers()}disconnectedCallback(){this.teardownHandlers()}setupHandlers(){this.host.addEventListener("keyup",this.handleCancel)}teardownHandlers(){this.host&&this.host.removeEventListener("keyup",this.handleCancel)}render(){return 0===this.items.length?this.isSearching?this.renderSpinner():e(i,{onMouseDown:this.handleMouseDown},e("limebb-empty-state",{value:this.emptyMessage,icon:{name:"search_more",color:"rgb(var(--contrast-800))"}})):e(i,{onMouseDown:this.handleMouseDown},[e("div",null,e("limel-list",{type:"selectable",items:this.getItems(),onInteract:this.selectOnInteract}),e("div",{class:"spinner-in-list"},this.renderSpinner()))])}renderSpinner(){if(this.isSearching)return e("limel-spinner",{size:"small",class:"search-spinner"})}handleMouseDown(t){t.preventDefault()}getItems(){return this.items.map((t=>"separator"in t?t:Object.assign(Object.assign({},t),{disabled:this.isSearching})))}get host(){return a(this)}static get watchers(){return{open:["watchOpen"]}}};n.style=":host(limebb-text-editor-picker){animation:fade-in 0.3s ease forwards;animation-delay:0.1s;display:block;max-width:calc(100vw - 2rem);padding:0.125rem;border-radius:0.5rem;background-color:rgba(var(--contrast-100));box-shadow:var(--shadow-depth-16)}limel-menu-list{position:relative}limel-spinner{margin:0 auto}.spinner-in-list{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{n as limebb_text_editor_picker}
1
+ import{r as t,c as s,h as e,H as i,g as a}from"./p-52cf8641.js";import{a as r}from"./p-463d3174.js";const n=class{constructor(e){t(this,e),this.cancel=s(this,"cancel",7),this.itemSelected=s(this,"itemSelected",7),this.items=[],this.open=!1,this.isSearching=!1,this.emptyMessage="",this.handleCancel=t=>{t instanceof KeyboardEvent&&t.key!==r||(t.stopPropagation(),t.preventDefault(),this.cancel.emit())},this.selectOnInteract=t=>{t.stopPropagation(),t.preventDefault(),this.itemSelected.emit(t.detail)}}watchOpen(t){!0===t?this.setupHandlers():!1===t&&this.teardownHandlers()}connectedCallback(){this.open&&this.setupHandlers()}disconnectedCallback(){this.teardownHandlers()}setupHandlers(){this.host.addEventListener("keyup",this.handleCancel)}teardownHandlers(){this.host&&this.host.removeEventListener("keyup",this.handleCancel)}render(){return 0===this.items.length?this.isSearching?this.renderSpinner():e(i,{onMouseDown:this.handleMouseDown},e("limebb-empty-state",{value:this.emptyMessage,icon:{name:"search_more",color:"rgb(var(--contrast-800))"}})):e(i,{onMouseDown:this.handleMouseDown},[e("div",null,e("limel-list",{type:"selectable",items:this.getItems(),onInteract:this.selectOnInteract}),e("div",{class:"spinner-in-list"},this.renderSpinner()))])}renderSpinner(){if(this.isSearching)return e("limel-spinner",{size:"small",class:"search-spinner"})}handleMouseDown(t){t.preventDefault()}getItems(){return this.items.map((t=>"separator"in t?t:Object.assign(Object.assign({},t),{disabled:this.isSearching})))}get host(){return a(this)}static get watchers(){return{open:["watchOpen"]}}};n.style=":host(limebb-text-editor-picker){animation:fade-in 0.3s ease forwards;animation-delay:0.1s;display:block;max-width:calc(100vw - 2rem);padding:0.125rem;border-radius:0.5rem;background-color:rgba(var(--contrast-100));box-shadow:var(--shadow-depth-16);max-height:50vh;overflow-y:auto}limel-menu-list{position:relative}limel-spinner{margin:0 auto}.spinner-in-list{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{n as limebb_text_editor_picker}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,g as r}from"./p-52cf8641.js";import{c as s,s as n,b as o,Z as a}from"./p-199799ff.js";import{A as h,a as c,b as u,E as f,T as l}from"./p-463d3174.js";import{b as d,k as v,c as m,s as b,a as p,d as g,U as j,S as y,g as w}from"./p-35897ec3.js";import{d as O}from"./p-123190c3.js";import{e as x}from"./p-fe2b91d9.js";import{d as S,r as k,S as I,a as A,i as C}from"./p-b31772c8.js";import{d as T,i as E,o as F,g as M,h as P,n as $,a as N}from"./p-5322fd19.js";import{c as _}from"./p-fbda77a7.js";import{h as D,a as L,b as R}from"./p-0a266c26.js";import{i as U}from"./p-1484e300.js";import{i as z}from"./p-7e6fb4af.js";var G=/\s/,Q=/^\s+/;var W=NaN,q=/^[-+]0x[0-9a-f]+$/i,B=/^0b[01]+$/i,H=/^0o[0-7]+$/i,K=parseInt;function V(t){if("number"==typeof t)return t;if(z(t))return W;if(S(t)){var i="function"==typeof t.valueOf?t.valueOf():t;t=S(i)?i+"":i}if("string"!=typeof t)return 0===t?t:+t;var e;t=(e=t)?e.slice(0,function(t){for(var i=t.length;i--&&G.test(t.charAt(i)););return i}(e)+1).replace(Q,""):e;var r=B.test(t);return r||H.test(t)?K(t.slice(2),r?2:8):q.test(t)?W:+t}var Z=Object.create;const J=function(){function t(){}return function(i){if(!S(i))return{};if(Z)return Z(i);t.prototype=i;var e=new t;return t.prototype=void 0,e}}();function X(t,i,e){"__proto__"==i&&O?O(t,i,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[i]=e}var Y=Object.prototype.hasOwnProperty;function tt(t,i,e){var r=t[i];Y.call(t,i)&&x(r,e)&&(void 0!==e||i in t)||X(t,i,e)}function it(t,i,e,r){var s=!e;e||(e={});for(var n=-1,o=i.length;++n<o;){var a=i[n],h=r?r(e[a],t[a],a,e,t):void 0;void 0===h&&(h=t[a]),s?X(e,a,h):tt(e,a,h)}return e}var et=Object.prototype.hasOwnProperty;function rt(t){return E(t)?d(t,!0):function(t){if(!S(t))return function(t){var i=[];if(null!=t)for(var e in Object(t))i.push(e);return i}(t);var i=T(t),e=[];for(var r in t)("constructor"!=r||!i&&et.call(t,r))&&e.push(r);return e}(t)}const st=F(Object.getPrototypeOf,Object);var nt="object"==typeof exports&&exports&&!exports.nodeType&&exports,ot=nt&&"object"==typeof module&&module&&!module.nodeType&&module,at=ot&&ot.exports===nt?k.Buffer:void 0,ht=at?at.allocUnsafe:void 0;const ct=Object.getOwnPropertySymbols?function(t){for(var i=[];t;)p(i,m(t)),t=st(t);return i}:b;function ut(t){return g(t,rt,ct)}var ft=Object.prototype.hasOwnProperty;function lt(t){var i=new t.constructor(t.byteLength);return new j(i).set(new j(t)),i}var dt=/\w*$/,vt=I?I.prototype:void 0,mt=vt?vt.valueOf:void 0,bt="[object Boolean]",pt="[object Date]",gt="[object Map]",jt="[object Number]",yt="[object RegExp]",wt="[object Set]",Ot="[object String]",xt="[object Symbol]",St="[object ArrayBuffer]",kt="[object DataView]",It="[object Float32Array]",At="[object Float64Array]",Ct="[object Int8Array]",Tt="[object Int16Array]",Et="[object Int32Array]",Ft="[object Uint8Array]",Mt="[object Uint8ClampedArray]",Pt="[object Uint16Array]",$t="[object Uint32Array]";var Nt=$&&$.isMap;const _t=Nt?P(Nt):function(t){return A(t)&&"[object Map]"==M(t)};var Dt=$&&$.isSet;const Lt=Dt?P(Dt):function(t){return A(t)&&"[object Set]"==M(t)};var Rt=1,Ut=2,zt=4,Gt="[object Arguments]",Qt="[object Function]",Wt="[object GeneratorFunction]",qt="[object Object]",Bt={};function Ht(t,i,e,r,s,n){var o,a=i&Rt,h=i&Ut,c=i&zt;if(e&&(o=s?e(t,r,s,n):e(t)),void 0!==o)return o;if(!S(t))return t;var u=C(t);if(u){if(o=function(t){var i=t.length,e=new t.constructor(i);return i&&"string"==typeof t[0]&&ft.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(t),!a)return function(t,i){var e=-1,r=t.length;for(i||(i=Array(r));++e<r;)i[e]=t[e];return i}(t,o)}else{var f=M(t),l=f==Qt||f==Wt;if(N(t))return function(t,i){if(i)return t.slice();var e=t.length,r=ht?ht(e):new t.constructor(e);return t.copy(r),r}(t,a);if(f==qt||f==Gt||l&&!s){if(o=h||l?{}:function(t){return"function"!=typeof t.constructor||T(t)?{}:J(st(t))}(t),!a)return h?function(t,i){return it(t,ct(t),i)}(t,function(t,i){return t&&it(i,rt(i),t)}(o,t)):function(t,i){return it(t,m(t),i)}(t,function(t,i){return t&&it(i,v(i),t)}(o,t))}else{if(!Bt[f])return s?t:{};o=function(t,i,e){var r,s,n=t.constructor;switch(i){case St:return lt(t);case bt:case pt:return new n(+t);case kt:return function(t,i){var e=i?lt(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case It:case At:case Ct:case Tt:case Et:case Ft:case Mt:case Pt:case $t:return function(t,i){var e=i?lt(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}(t,e);case gt:return new n;case jt:case Ot:return new n(t);case yt:return(s=new(r=t).constructor(r.source,dt.exec(r))).lastIndex=r.lastIndex,s;case wt:return new n;case xt:return mt?Object(mt.call(t)):{}}}(t,f,a)}}n||(n=new y);var d=n.get(t);if(d)return d;n.set(t,o),Lt(t)?t.forEach((function(r){o.add(Ht(r,i,e,r,t,n))})):_t(t)&&t.forEach((function(r,s){o.set(s,Ht(r,i,e,s,t,n))}));var b=u?void 0:(c?h?ut:w:h?rt:v)(t);return function(t,i){for(var e=-1,r=null==t?0:t.length;++e<r&&!1!==i(t[e],e););}(b||t,(function(r,s){b&&(r=t[s=r]),tt(o,s,Ht(r,i,e,s,t,n))})),o}Bt[Gt]=Bt["[object Array]"]=Bt["[object ArrayBuffer]"]=Bt["[object DataView]"]=Bt["[object Boolean]"]=Bt["[object Date]"]=Bt["[object Float32Array]"]=Bt["[object Float64Array]"]=Bt["[object Int8Array]"]=Bt["[object Int16Array]"]=Bt["[object Int32Array]"]=Bt["[object Map]"]=Bt["[object Number]"]=Bt[qt]=Bt["[object RegExp]"]=Bt["[object Set]"]=Bt["[object String]"]=Bt["[object Symbol]"]=Bt["[object Uint8Array]"]=Bt["[object Uint8ClampedArray]"]=Bt["[object Uint16Array]"]=Bt["[object Uint32Array]"]=!0,Bt["[object Error]"]=Bt[Qt]=Bt["[object WeakMap]"]=!1;const Kt=function(){return k.Date.now()};var Vt=Math.max,Zt=Math.min;class Jt{get limeObjectService(){return this.platform.get(s.LimeObjectRepository)}get queryService(){return this.platform.get(s.Query)}get viewFactoryRegistry(){return this.platform.get(s.ViewFactoryRegistry)}get translator(){var t;return null===(t=this.platform)||void 0===t?void 0:t.get(s.Translate)}get triggerCharacter(){return this._triggerCharacter}get triggerHandler(){return this._triggerHandler}constructor(t,i,e){this.platform=t,this.context=i,this.searchableLimetypes=e,this.groupCounts={},this._triggerCharacter="@",this._triggerHandler={searcher:t=>this.searcher(t),inserter:(t,i)=>this.inserter(t,i),emptySearchMessage:"Start typing a name...",noItemsFoundMessage:"No results for your search...",nodeDefinition:{customElement:{tagName:"limebb-mention",attributes:["limetype","objectid","href"]},mapAttributes:t=>({limetype:t.value.getLimetype().name,objectid:t.value.id,href:`object/${this.context.limetype}/${this.context.id}`})}},this.searcher=async t=>{if(!t)return[];const{objects:i}=await this.limeObjectService.search(t,this.searchableLimetypes,10);return this.createSearchListItems(i)},this.inserter=async(t,i)=>{var e;const r=this.triggerHandler.nodeDefinition;r&&t.insert({node:{tagName:r.customElement.tagName,attributes:r.mapAttributes(i)},children:[null===(e=i.value)||void 0===e?void 0:e.descriptive]})}}async initialize(){await this.loadGroupCounts()}async loadGroupCounts(){const t=this.searchableLimetypes.filter((t=>!D(t,"user")&&L(t,"user"))).map((t=>this.getGroupCounts(t)));for(const i of await Promise.all(t))Object.assign(this.groupCounts,i)}async getGroupCounts(t){var i;const e=R(t,"user"),r=t.name;try{const t=await this.queryService.execute({limetype:r,responseFormat:{object:{_id:null,[e.name]:{count:{aggregate:{op:n.Count}}}}}});if(!(null===(i=t.objects)||void 0===i?void 0:i.length))return{[r]:{}};const s=this.createGroupCount(t.objects,e.name);return{[r]:s}}catch(i){return console.error(`Error fetching group count for limetype: ${t.name}`,i),{[r]:{}}}}createGroupCount(t,i){const e={};for(const r of t){const{_id:t,[i]:s}=r;e[t]=s.count}return e}createSearchListItems(t=[]){return t.map((t=>this.createSearchListItem(t))).filter(U)}createSearchListItem(t){const i=this.viewFactoryRegistry.getFactory("search"),e=this.limeObjectService.getObject(t._limetype,t._id);if(!e)return null;const r=i(e,this.context),s=this.getGroupCountComponent(e);return Object.assign(Object.assign({},r),s?{primaryComponent:s}:{})}getGroupCountComponent(t){var i;const e=t.getLimetype(),r=null===(i=this.groupCounts[e.name])||void 0===i?void 0:i[t.id],s=R(e,"user");if(void 0!==r&&s)return{name:"limebb-mention-group-counter",props:{count:r,limetype:s.relation.getLimetype(),helperLabel:this.translator.get("webclient.notification-center.members-will-be-notified")}}}}class Xt{constructor(t,i){this.file=t,this.http=i,this.uploadCancelled=!1,this.getUrl=t=>`api/v1/file/${null!=t?t:""}`}async initialize(){this.uploadService=await this.http.createFileUpload(o.Post,this.getUrl(),this.file),this.progressCallback&&(this.uploadService.onProgress=this.progressCallback)}async upload(){return this.uploadService.upload()}getFileName(){return this.file.name}cancel(){this.uploadService.cancel(),this.uploadCancelled=!0}set onProgress(t){this.progressCallback=t,this.uploadService&&(this.uploadService.onProgress=t)}}class Yt{constructor(t){this.platform=t}async handleImagePasted(t){const i=null==t?void 0:t.fileInfo;if(!i)return;if(!this.validateImageSize(i))return;t.insertThumbnail();const e=await this.createFileUpload(i),r=null==e?void 0:e.href;return r&&void 0!==(null==e?void 0:e.fileId)?t.insertImage(r):t.insertFailedThumbnail(),e}parseFileIdFromSrc(t){if(t){const i=/\/(\d+)\/contents\/?$/.exec(t);if(i&&i[1])return Number(i[1])}}validateImageSize(t){return!!t.fileContent&&t.fileContent.size<=52428800}async createFileUpload(t){var i;if(!t.fileContent)return;const e=new Xt(t.fileContent,this.http);await e.initialize();const r=Object.assign(Object.assign({},t),{progress:0,file:e,state:"added",fileId:void 0,href:void 0,id:t.id});e.onProgress=t=>{0===r.progress&&(r.state="uploading"),r.progress=t,100===t&&(r.state="finalizing")};const s=await e.upload();return r.fileId=s.id,r.filename=s.filename,r.extension=s.extension,r.contentType=s.contentType,r.size=s.size,r.state="done",r.href=null===(i=s._links)||void 0===i?void 0:i.contents.href,r}get http(){return this.platform.get(s.Http)}}const ti=class{watchOpen(){this.setupHandlers(),this.setPickerMessage()}watchQuery(){this.setPickerMessage()}constructor(e){t(this,e),this.change=i(this,"change",7),this.metadataChange=i(this,"metadataChange",7),this.allowMentioning=!1,this.contentType="markdown",this.language="en",this.disabled=!1,this.readonly=!1,this.invalid=!1,this.required=!1,this.ui="standard",this.allowResize=!0,this.value="",this.triggerMap={},this.customElements=[],this.allowInlineImages=!1,this.items=[],this.highlightedItemIndex=0,this.isPickerOpen=!1,this.isSearching=!1,this.registeredTriggers=[],this.registeredTriggerMap=this.triggerMap,this.registeredCustomElements=this.customElements,this.activeTrigger=void 0,this.handleMouseClick=t=>{this.textEditorPickerElement&&(t.target===this.textEditorPickerElement||this.resetTriggerAndPicker())},this.handleKeyPress=t=>{if(!this.isPickerOpen||!this.activeTrigger)return;if(![c,u,h,f,l].includes(t.key))return;if(t.stopPropagation(),t.preventDefault(),"keyup"===t.type)return;const i={[c]:this.handleEscapeKey,[f]:this.handleEnterOrTabKey,[l]:this.handleEnterOrTabKey,[h]:this.handleArrowKeyPress,[u]:this.handleArrowKeyPress}[t.key];i&&i(t)},this.handleArrowKeyPress=t=>{this.highlightedItemIndex=this.findNonSeparatorIndex(t.key,this.highlightedItemIndex)},this.findNonSeparatorIndex=(t,i,e=0)=>{if(0===this.items.length||e>this.items.length)return i;const r=((t,i,e)=>(i+(t===h?1:-1)+e)%e)(t,i,this.items.length);return this.isListSeparator(this.items[r])?this.findNonSeparatorIndex(t,r,e+1):r},this.handleEscapeKey=()=>{var t;null===(t=this.triggerFunction)||void 0===t||t.stopTrigger(),this.resetTriggerAndPicker()},this.handleEnterOrTabKey=t=>{this.handleItemSelection(t)},this.handleMetadataChange=t=>{t.stopPropagation();const i=t.detail,e=this.getEnhancedImages(i.images||[]),r=Object.assign(Object.assign({},i),{images:e});this.metadataChange.emit(r)},this.handleImagePasted=t=>{t.stopPropagation(),this.allowInlineImages&&this.uploadHandler.handleImagePasted(t.detail)},this.handleTriggerStart=t=>{t.stopPropagation(),this.activeTrigger=t.detail.trigger,this.triggerFunction=t.detail.textEditor,this.isPickerOpen=!0},this.handleTriggerStop=t=>{t.stopPropagation(),this.resetTriggerAndPicker()},this.handleTriggerChange=t=>{var i;t.stopImmediatePropagation(),this.editorPickerQuery=t.detail.value;const e=null===(i=this.registeredTriggerMap[t.detail.trigger])||void 0===i?void 0:i.searcher;e&&(this.isSearching=!0,this.debouncedSearchFn(e,this.editorPickerQuery))},this.resetTriggerAndPicker=()=>{this.isPickerOpen=!1,this.activeTrigger=void 0,this.triggerFunction=void 0,this.isSearching=!1,this.highlightedItemIndex=0,this.items=[]},this.handleItemSelection=t=>{var i;let e;if(t instanceof CustomEvent)e=t.detail;else{if(!(t instanceof KeyboardEvent))return;{const t=this.items[this.highlightedItemIndex];if(this.isListSeparator(t))return;e=t}}if(!this.activeTrigger)return;const r=this.registeredTriggerMap[this.activeTrigger];try{r.inserter(this.triggerFunction,e)}catch(t){console.error("Error inserting",t)}this.resetTriggerAndPicker(),null===(i=this.textEditor)||void 0===i||i.focus()},this.handleVisibilityChange=()=>{"hidden"===document.visibilityState&&this.saveDraft()},this.handleBeforeUnload=()=>{this.saveDraft()},this.portalId=_(),this.debouncedSearchFn=function(t,i,e){var r,s,n,o,a,h,c=0,u=!1,f=!1,l=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function d(i){var e=r,n=s;return r=s=void 0,c=i,o=t.apply(n,e)}function v(t){var e=t-h;return void 0===h||e>=i||e<0||f&&t-c>=n}function m(){var t=Kt();if(v(t))return b(t);a=setTimeout(m,function(t){var e=i-(t-h);return f?Zt(e,n-(t-c)):e}(t))}function b(t){return a=void 0,l&&r?d(t):(r=s=void 0,o)}function p(){var t=Kt(),e=v(t);if(r=arguments,s=this,h=t,e){if(void 0===a)return function(t){return c=t,a=setTimeout(m,i),u?d(t):o}(h);if(f)return clearTimeout(a),a=setTimeout(m,i),d(h)}return void 0===a&&(a=setTimeout(m,i)),o}return i=V(i)||0,S(e)&&(u=!!e.leading,n=(f="maxWait"in e)?Vt(V(e.maxWait)||0,i):n,l="trailing"in e?!!e.trailing:l),p.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=h=s=a=void 0},p.flush=function(){return void 0===a?o:b(Kt())},p}((async(t,i)=>{try{const e=await t(i);if(i!==this.editorPickerQuery||!this.activeTrigger)return;this.items=e}catch(t){console.error("Error searching",t)}finally{this.isSearching=!1}}),300)}connectedCallback(){var t,i,e,r;if(this.draftIdentifier){const s=null!==(i=null===(t=this.context)||void 0===t?void 0:t.id)&&void 0!==i?i:"no-limeobject",n=null!==(r=null===(e=this.context)||void 0===e?void 0:e.limetype)&&void 0!==r?r:"no-limetype";this.textEditorInnerId=["text-editor-draft",n,s,this.draftIdentifier].join("-")}this.textEditorInnerId&&(document.addEventListener("visibilitychange",this.handleVisibilityChange),window.addEventListener("beforeunload",this.handleBeforeUnload)),this.uploadHandler=new Yt(this.platform)}componentWillLoad(){this.allowMentioning&&this.registerMentions(),this.registerTriggers(),this.loadDraft()}disconnectedCallback(){document.removeEventListener("visibilitychange",this.handleVisibilityChange),window.removeEventListener("beforeunload",this.handleBeforeUnload),document.removeEventListener("mousedown",this.handleMouseClick),this.saveDraft(),this.host&&(this.host.removeEventListener("keyup",this.handleKeyPress,{capture:!0}),this.host.removeEventListener("keydown",this.handleKeyPress,{capture:!0})),this.debouncedSearchFn&&this.debouncedSearchFn.cancel&&this.debouncedSearchFn.cancel()}registerMentions(){const t=new Jt(this.platform,this.context,this.searchableLimetypes),i=t.triggerHandler.nodeDefinition;i&&(this.registeredCustomElements.push(i.customElement),this.registeredTriggerMap[t.triggerCharacter]=t.triggerHandler,t.initialize())}registerTriggers(){this.registeredTriggers=Object.keys(this.registeredTriggerMap)}setPickerMessage(){var t;if(!this.activeTrigger)return;const i=this.registeredTriggerMap[this.activeTrigger];this.pickerMessage=(null===(t=this.editorPickerQuery)||void 0===t?void 0:t.length)>0?i.noItemsFoundMessage:i.emptySearchMessage}setupHandlers(){this.isPickerOpen?(this.host.addEventListener("keyup",this.handleKeyPress,{capture:!0}),this.host.addEventListener("keydown",this.handleKeyPress,{capture:!0}),document.addEventListener("mousedown",this.handleMouseClick)):(this.host.removeEventListener("keyup",this.handleKeyPress,{capture:!0}),this.host.removeEventListener("keydown",this.handleKeyPress,{capture:!0}),document.removeEventListener("mousedown",this.handleMouseClick))}isListSeparator(t){return"separator"in t&&!0===t.separator}render(){return[e("limel-text-editor",{key:"74b1c4a2b87837c15da858fd98c138cf8a9623f0",ref:t=>this.textEditor=t,tabindex:this.disabled?-1:0,value:this.value,contentType:this.contentType,customElements:this.registeredCustomElements,"aria-disabled":this.disabled,language:this.language,triggers:this.registeredTriggers,onTriggerStart:this.handleTriggerStart,onTriggerStop:this.handleTriggerStop,onTriggerChange:this.handleTriggerChange,onImagePasted:this.handleImagePasted,onMetadataChange:this.handleMetadataChange,ui:this.ui,allowResize:this.allowResize,required:this.required,disabled:this.disabled,readonly:this.readonly,helperText:this.helperText,placeholder:this.placeholder,label:this.label,invalid:this.invalid}),this.renderPicker()]}renderPicker(){if(this.isPickerOpen)return e("limel-portal",{containerId:this.portalId,visible:this.isPickerOpen,openDirection:"top",inheritParentWidth:!0,anchor:this.textEditor},e("limebb-text-editor-picker",{ref:t=>this.textEditorPickerElement=t,items:(t=this.items,i=this.highlightedItemIndex,t.map(((t,e)=>{const r=Ht(t,5);return Object.assign(Object.assign({},r),{selected:e===i})}))),onItemSelected:this.handleItemSelection,emptyMessage:this.pickerMessage,isSearching:this.isSearching}));var t,i}getEnhancedImages(t){return t.map((t=>{let i;return"success"===t.state&&(i=this.uploadHandler.parseFileIdFromSrc(t.src)),i?Object.assign(Object.assign({},t),{fileId:i}):t}))}loadDraft(){if(!this.userDataService||!this.textEditorInnerId)return;if(this.value)return;const t=this.userDataService.get(this.textEditorInnerId);t&&this.change.emit(t)}saveDraft(){var t,i,e,r;if(!this.textEditorInnerId)return;const s=null===(t=this.value)||void 0===t?void 0:t.trim(),n=null===(i=this.userDataService)||void 0===i?void 0:i.get(this.textEditorInnerId);s&&s!==n?null===(e=this.userDataService)||void 0===e||e.set(this.textEditorInnerId,s):!s&&n&&(null===(r=this.userDataService)||void 0===r||r.set(this.textEditorInnerId,void 0))}get userDataService(){return this.platform.get(s.UserDataRepository)}static get delegatesFocus(){return!0}get host(){return r(this)}static get watchers(){return{isPickerOpen:["watchOpen"],editorPickerQuery:["watchQuery"]}}};(function(t,i,e,r){var s,n=arguments.length,o=n<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,e,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(i,e,o):s(i,e))||o);n>3&&o&&Object.defineProperty(i,e,o)})([a({map:[function(t){return Object.values(t).filter((t=>D(t,"user")||L(t,"user")))}]})],ti.prototype,"searchableLimetypes",void 0),ti.style=":host(limebb-text-editor){display:block;width:100%;min-width:5rem;min-height:5rem;height:100%;max-height:var(--text-editor-max-height, calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)) - 4rem))}";export{ti as limebb_text_editor}
1
+ import{r as t,c as i,h as e,g as r}from"./p-52cf8641.js";import{c as s,s as n,b as o,Z as a}from"./p-199799ff.js";import{A as h,a as c,b as u,E as f,T as l}from"./p-463d3174.js";import{b as d,k as v,c as b,s as m,a as p,d as g,U as j,S as y,g as w}from"./p-35897ec3.js";import{d as O}from"./p-123190c3.js";import{e as x}from"./p-fe2b91d9.js";import{d as S,r as k,S as I,a as A,i as C}from"./p-b31772c8.js";import{d as T,i as E,o as F,g as M,h as P,n as $,a as N}from"./p-5322fd19.js";import{c as _}from"./p-fbda77a7.js";import{h as D,a as L,b as R}from"./p-0a266c26.js";import{i as U}from"./p-1484e300.js";import{i as z}from"./p-7e6fb4af.js";var G=/\s/,Q=/^\s+/;var W=NaN,q=/^[-+]0x[0-9a-f]+$/i,B=/^0b[01]+$/i,H=/^0o[0-7]+$/i,K=parseInt;function V(t){if("number"==typeof t)return t;if(z(t))return W;if(S(t)){var i="function"==typeof t.valueOf?t.valueOf():t;t=S(i)?i+"":i}if("string"!=typeof t)return 0===t?t:+t;var e;t=(e=t)?e.slice(0,function(t){for(var i=t.length;i--&&G.test(t.charAt(i)););return i}(e)+1).replace(Q,""):e;var r=B.test(t);return r||H.test(t)?K(t.slice(2),r?2:8):q.test(t)?W:+t}var Z=Object.create;const J=function(){function t(){}return function(i){if(!S(i))return{};if(Z)return Z(i);t.prototype=i;var e=new t;return t.prototype=void 0,e}}();function X(t,i,e){"__proto__"==i&&O?O(t,i,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[i]=e}var Y=Object.prototype.hasOwnProperty;function tt(t,i,e){var r=t[i];Y.call(t,i)&&x(r,e)&&(void 0!==e||i in t)||X(t,i,e)}function it(t,i,e,r){var s=!e;e||(e={});for(var n=-1,o=i.length;++n<o;){var a=i[n],h=r?r(e[a],t[a],a,e,t):void 0;void 0===h&&(h=t[a]),s?X(e,a,h):tt(e,a,h)}return e}var et=Object.prototype.hasOwnProperty;function rt(t){return E(t)?d(t,!0):function(t){if(!S(t))return function(t){var i=[];if(null!=t)for(var e in Object(t))i.push(e);return i}(t);var i=T(t),e=[];for(var r in t)("constructor"!=r||!i&&et.call(t,r))&&e.push(r);return e}(t)}const st=F(Object.getPrototypeOf,Object);var nt="object"==typeof exports&&exports&&!exports.nodeType&&exports,ot=nt&&"object"==typeof module&&module&&!module.nodeType&&module,at=ot&&ot.exports===nt?k.Buffer:void 0,ht=at?at.allocUnsafe:void 0;const ct=Object.getOwnPropertySymbols?function(t){for(var i=[];t;)p(i,b(t)),t=st(t);return i}:m;function ut(t){return g(t,rt,ct)}var ft=Object.prototype.hasOwnProperty;function lt(t){var i=new t.constructor(t.byteLength);return new j(i).set(new j(t)),i}var dt=/\w*$/,vt=I?I.prototype:void 0,bt=vt?vt.valueOf:void 0,mt="[object Boolean]",pt="[object Date]",gt="[object Map]",jt="[object Number]",yt="[object RegExp]",wt="[object Set]",Ot="[object String]",xt="[object Symbol]",St="[object ArrayBuffer]",kt="[object DataView]",It="[object Float32Array]",At="[object Float64Array]",Ct="[object Int8Array]",Tt="[object Int16Array]",Et="[object Int32Array]",Ft="[object Uint8Array]",Mt="[object Uint8ClampedArray]",Pt="[object Uint16Array]",$t="[object Uint32Array]";var Nt=$&&$.isMap;const _t=Nt?P(Nt):function(t){return A(t)&&"[object Map]"==M(t)};var Dt=$&&$.isSet;const Lt=Dt?P(Dt):function(t){return A(t)&&"[object Set]"==M(t)};var Rt=1,Ut=2,zt=4,Gt="[object Arguments]",Qt="[object Function]",Wt="[object GeneratorFunction]",qt="[object Object]",Bt={};function Ht(t,i,e,r,s,n){var o,a=i&Rt,h=i&Ut,c=i&zt;if(e&&(o=s?e(t,r,s,n):e(t)),void 0!==o)return o;if(!S(t))return t;var u=C(t);if(u){if(o=function(t){var i=t.length,e=new t.constructor(i);return i&&"string"==typeof t[0]&&ft.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(t),!a)return function(t,i){var e=-1,r=t.length;for(i||(i=Array(r));++e<r;)i[e]=t[e];return i}(t,o)}else{var f=M(t),l=f==Qt||f==Wt;if(N(t))return function(t,i){if(i)return t.slice();var e=t.length,r=ht?ht(e):new t.constructor(e);return t.copy(r),r}(t,a);if(f==qt||f==Gt||l&&!s){if(o=h||l?{}:function(t){return"function"!=typeof t.constructor||T(t)?{}:J(st(t))}(t),!a)return h?function(t,i){return it(t,ct(t),i)}(t,function(t,i){return t&&it(i,rt(i),t)}(o,t)):function(t,i){return it(t,b(t),i)}(t,function(t,i){return t&&it(i,v(i),t)}(o,t))}else{if(!Bt[f])return s?t:{};o=function(t,i,e){var r,s,n=t.constructor;switch(i){case St:return lt(t);case mt:case pt:return new n(+t);case kt:return function(t,i){var e=i?lt(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case It:case At:case Ct:case Tt:case Et:case Ft:case Mt:case Pt:case $t:return function(t,i){var e=i?lt(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}(t,e);case gt:return new n;case jt:case Ot:return new n(t);case yt:return(s=new(r=t).constructor(r.source,dt.exec(r))).lastIndex=r.lastIndex,s;case wt:return new n;case xt:return bt?Object(bt.call(t)):{}}}(t,f,a)}}n||(n=new y);var d=n.get(t);if(d)return d;n.set(t,o),Lt(t)?t.forEach((function(r){o.add(Ht(r,i,e,r,t,n))})):_t(t)&&t.forEach((function(r,s){o.set(s,Ht(r,i,e,s,t,n))}));var m=u?void 0:(c?h?ut:w:h?rt:v)(t);return function(t,i){for(var e=-1,r=null==t?0:t.length;++e<r&&!1!==i(t[e],e););}(m||t,(function(r,s){m&&(r=t[s=r]),tt(o,s,Ht(r,i,e,s,t,n))})),o}Bt[Gt]=Bt["[object Array]"]=Bt["[object ArrayBuffer]"]=Bt["[object DataView]"]=Bt["[object Boolean]"]=Bt["[object Date]"]=Bt["[object Float32Array]"]=Bt["[object Float64Array]"]=Bt["[object Int8Array]"]=Bt["[object Int16Array]"]=Bt["[object Int32Array]"]=Bt["[object Map]"]=Bt["[object Number]"]=Bt[qt]=Bt["[object RegExp]"]=Bt["[object Set]"]=Bt["[object String]"]=Bt["[object Symbol]"]=Bt["[object Uint8Array]"]=Bt["[object Uint8ClampedArray]"]=Bt["[object Uint16Array]"]=Bt["[object Uint32Array]"]=!0,Bt["[object Error]"]=Bt[Qt]=Bt["[object WeakMap]"]=!1;const Kt=function(){return k.Date.now()};var Vt=Math.max,Zt=Math.min;class Jt{get limeObjectService(){return this.platform.get(s.LimeObjectRepository)}get queryService(){return this.platform.get(s.Query)}get viewFactoryRegistry(){return this.platform.get(s.ViewFactoryRegistry)}get translator(){var t;return null===(t=this.platform)||void 0===t?void 0:t.get(s.Translate)}get triggerCharacter(){return this._triggerCharacter}get triggerHandler(){return this._triggerHandler}constructor(t,i,e){this.platform=t,this.context=i,this.searchableLimetypes=e,this.groupCounts={},this._triggerCharacter="@",this._triggerHandler={searcher:t=>this.searcher(t),inserter:(t,i)=>this.inserter(t,i),emptySearchMessage:"Start typing a name...",noItemsFoundMessage:"No results for your search...",nodeDefinition:{customElement:{tagName:"limebb-mention",attributes:["limetype","objectid","href"]},mapAttributes:t=>({limetype:t.value.getLimetype().name,objectid:t.value.id,href:`object/${this.context.limetype}/${this.context.id}`})}},this.searcher=async t=>{if(!t)return[];const{objects:i}=await this.limeObjectService.search(t,this.searchableLimetypes,10);return this.createSearchListItems(i)},this.inserter=async(t,i)=>{var e;const r=this.triggerHandler.nodeDefinition;r&&t.insert({node:{tagName:r.customElement.tagName,attributes:r.mapAttributes(i)},children:[null===(e=i.value)||void 0===e?void 0:e.descriptive]})}}async initialize(){await this.loadGroupCounts()}async loadGroupCounts(){const t=this.searchableLimetypes.filter((t=>!D(t,"user")&&L(t,"user"))).map((t=>this.getGroupCounts(t)));for(const i of await Promise.all(t))Object.assign(this.groupCounts,i)}async getGroupCounts(t){var i;const e=R(t,"user"),r=t.name;try{const t=await this.queryService.execute({limetype:r,responseFormat:{object:{_id:null,[e.name]:{count:{aggregate:{op:n.Count}}}}}});if(!(null===(i=t.objects)||void 0===i?void 0:i.length))return{[r]:{}};const s=this.createGroupCount(t.objects,e.name);return{[r]:s}}catch(i){return console.error(`Error fetching group count for limetype: ${t.name}`,i),{[r]:{}}}}createGroupCount(t,i){const e={};for(const r of t){const{_id:t,[i]:s}=r;e[t]=s.count}return e}createSearchListItems(t=[]){return t.map((t=>this.createSearchListItem(t))).filter(U)}createSearchListItem(t){const i=this.viewFactoryRegistry.getFactory("search"),e=this.limeObjectService.getObject(t._limetype,t._id);if(!e)return null;const r=i(e,this.context),s=this.getGroupCountComponent(e);return Object.assign(Object.assign({},r),s?{primaryComponent:s}:{})}getGroupCountComponent(t){var i;const e=t.getLimetype(),r=null===(i=this.groupCounts[e.name])||void 0===i?void 0:i[t.id],s=R(e,"user");if(void 0!==r&&s)return{name:"limebb-mention-group-counter",props:{count:r,limetype:s.relation.getLimetype(),helperLabel:this.translator.get("webclient.notification-center.members-will-be-notified")}}}}class Xt{constructor(t,i){this.file=t,this.http=i,this.uploadCancelled=!1,this.getUrl=t=>`api/v1/file/${null!=t?t:""}`}async initialize(){this.uploadService=await this.http.createFileUpload(o.Post,this.getUrl(),this.file),this.progressCallback&&(this.uploadService.onProgress=this.progressCallback)}async upload(){return this.uploadService.upload()}getFileName(){return this.file.name}cancel(){this.uploadService.cancel(),this.uploadCancelled=!0}set onProgress(t){this.progressCallback=t,this.uploadService&&(this.uploadService.onProgress=t)}}class Yt{constructor(t){this.platform=t}async handleImagePasted(t){const i=null==t?void 0:t.fileInfo;if(!i)return;if(!this.validateImageSize(i))return;t.insertThumbnail();const e=await this.createFileUpload(i),r=null==e?void 0:e.href;return r&&void 0!==(null==e?void 0:e.fileId)?t.insertImage(r):t.insertFailedThumbnail(),e}parseFileIdFromSrc(t){if(t){const i=/\/(\d+)\/contents\/?$/.exec(t);if(i&&i[1])return Number(i[1])}}validateImageSize(t){return!!t.fileContent&&t.fileContent.size<=52428800}async createFileUpload(t){var i;if(!t.fileContent)return;const e=new Xt(t.fileContent,this.http);await e.initialize();const r=Object.assign(Object.assign({},t),{progress:0,file:e,state:"added",fileId:void 0,href:void 0,id:t.id});e.onProgress=t=>{0===r.progress&&(r.state="uploading"),r.progress=t,100===t&&(r.state="finalizing")};const s=await e.upload();return r.fileId=s.id,r.filename=s.filename,r.extension=s.extension,r.contentType=s.contentType,r.size=s.size,r.state="done",r.href=null===(i=s._links)||void 0===i?void 0:i.contents.href,r}get http(){return this.platform.get(s.Http)}}const ti=class{watchOpen(){this.setupHandlers(),this.setPickerMessage()}watchQuery(){this.setPickerMessage()}constructor(e){t(this,e),this.change=i(this,"change",7),this.metadataChange=i(this,"metadataChange",7),this.allowMentioning=!1,this.contentType="markdown",this.language="en",this.disabled=!1,this.readonly=!1,this.invalid=!1,this.required=!1,this.ui="standard",this.allowResize=!0,this.value="",this.triggerMap={},this.customElements=[],this.allowInlineImages=!1,this.items=[],this.highlightedItemIndex=0,this.isPickerOpen=!1,this.isSearching=!1,this.registeredTriggers=[],this.registeredTriggerMap=this.triggerMap,this.registeredCustomElements=this.customElements,this.activeTrigger=void 0,this.handleMouseClick=t=>{this.textEditorPickerElement&&(t.target===this.textEditorPickerElement||this.resetTriggerAndPicker())},this.handleKeyPress=t=>{if(!this.isPickerOpen||!this.activeTrigger)return;if(![c,u,h,f,l].includes(t.key))return;if(t.stopPropagation(),t.preventDefault(),"keyup"===t.type)return;const i={[c]:this.handleEscapeKey,[f]:this.handleEnterOrTabKey,[l]:this.handleEnterOrTabKey,[h]:this.handleArrowKeyPress,[u]:this.handleArrowKeyPress}[t.key];i&&i(t)},this.handleArrowKeyPress=t=>{this.highlightedItemIndex=this.findNonSeparatorIndex(t.key,this.highlightedItemIndex)},this.findNonSeparatorIndex=(t,i,e=0)=>{if(0===this.items.length||e>this.items.length)return i;const r=((t,i,e)=>(i+(t===h?1:-1)+e)%e)(t,i,this.items.length);return this.isListSeparator(this.items[r])?this.findNonSeparatorIndex(t,r,e+1):r},this.handleEscapeKey=()=>{var t;null===(t=this.triggerFunction)||void 0===t||t.stopTrigger(),this.resetTriggerAndPicker()},this.handleEnterOrTabKey=t=>{this.handleItemSelection(t)},this.handleMetadataChange=t=>{t.stopPropagation();const i=t.detail,e=this.getEnhancedImages(i.images||[]),r=Object.assign(Object.assign({},i),{images:e});this.metadataChange.emit(r)},this.handleImagePasted=t=>{t.stopPropagation(),this.allowInlineImages&&this.uploadHandler.handleImagePasted(t.detail)},this.handleTriggerStart=t=>{t.stopPropagation(),this.activeTrigger=t.detail.trigger,this.triggerFunction=t.detail.textEditor,this.isPickerOpen=!0},this.handleTriggerStop=t=>{t.stopPropagation(),this.resetTriggerAndPicker()},this.handleTriggerChange=t=>{var i;t.stopImmediatePropagation(),this.editorPickerQuery=t.detail.value;const e=null===(i=this.registeredTriggerMap[t.detail.trigger])||void 0===i?void 0:i.searcher;e&&(this.isSearching=!0,this.debouncedSearchFn(e,this.editorPickerQuery))},this.resetTriggerAndPicker=()=>{this.isPickerOpen=!1,this.activeTrigger=void 0,this.triggerFunction=void 0,this.isSearching=!1,this.highlightedItemIndex=0,this.items=[]},this.handleItemSelection=t=>{var i;let e;if(t instanceof CustomEvent)e=t.detail;else{if(!(t instanceof KeyboardEvent))return;{const t=this.items[this.highlightedItemIndex];if(this.isListSeparator(t))return;e=t}}if(!this.activeTrigger)return;const r=this.registeredTriggerMap[this.activeTrigger];try{r.inserter(this.triggerFunction,e)}catch(t){console.error("Error inserting",t)}this.resetTriggerAndPicker(),null===(i=this.textEditor)||void 0===i||i.focus()},this.handleVisibilityChange=()=>{"hidden"===document.visibilityState&&this.saveDraft()},this.handleBeforeUnload=()=>{this.saveDraft()},this.portalId=_(),this.debouncedSearchFn=function(t,i,e){var r,s,n,o,a,h,c=0,u=!1,f=!1,l=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function d(i){var e=r,n=s;return r=s=void 0,c=i,o=t.apply(n,e)}function v(t){var e=t-h;return void 0===h||e>=i||e<0||f&&t-c>=n}function b(){var t=Kt();if(v(t))return m(t);a=setTimeout(b,function(t){var e=i-(t-h);return f?Zt(e,n-(t-c)):e}(t))}function m(t){return a=void 0,l&&r?d(t):(r=s=void 0,o)}function p(){var t=Kt(),e=v(t);if(r=arguments,s=this,h=t,e){if(void 0===a)return function(t){return c=t,a=setTimeout(b,i),u?d(t):o}(h);if(f)return clearTimeout(a),a=setTimeout(b,i),d(h)}return void 0===a&&(a=setTimeout(b,i)),o}return i=V(i)||0,S(e)&&(u=!!e.leading,n=(f="maxWait"in e)?Vt(V(e.maxWait)||0,i):n,l="trailing"in e?!!e.trailing:l),p.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=h=s=a=void 0},p.flush=function(){return void 0===a?o:m(Kt())},p}((async(t,i)=>{try{const e=await t(i);if(i!==this.editorPickerQuery||!this.activeTrigger)return;this.items=e}catch(t){console.error("Error searching",t)}finally{this.isSearching=!1}}),300)}connectedCallback(){var t,i,e,r;if(this.draftIdentifier){const s=null!==(i=null===(t=this.context)||void 0===t?void 0:t.id)&&void 0!==i?i:"no-limeobject",n=null!==(r=null===(e=this.context)||void 0===e?void 0:e.limetype)&&void 0!==r?r:"no-limetype";this.textEditorInnerId=["text-editor-draft",n,s,this.draftIdentifier].join("-")}this.textEditorInnerId&&(document.addEventListener("visibilitychange",this.handleVisibilityChange),window.addEventListener("beforeunload",this.handleBeforeUnload)),this.uploadHandler=new Yt(this.platform)}componentWillLoad(){this.allowMentioning&&this.registerMentions(),this.registerTriggers(),this.loadDraft()}disconnectedCallback(){document.removeEventListener("visibilitychange",this.handleVisibilityChange),window.removeEventListener("beforeunload",this.handleBeforeUnload),document.removeEventListener("mousedown",this.handleMouseClick),this.saveDraft(),this.host&&(this.host.removeEventListener("keyup",this.handleKeyPress,{capture:!0}),this.host.removeEventListener("keydown",this.handleKeyPress,{capture:!0})),this.debouncedSearchFn&&this.debouncedSearchFn.cancel&&this.debouncedSearchFn.cancel()}registerMentions(){const t=new Jt(this.platform,this.context,this.searchableLimetypes),i=t.triggerHandler.nodeDefinition;i&&(this.registeredCustomElements.push(i.customElement),this.registeredTriggerMap[t.triggerCharacter]=t.triggerHandler,t.initialize())}registerTriggers(){this.registeredTriggers=Object.keys(this.registeredTriggerMap)}setPickerMessage(){var t;if(!this.activeTrigger)return;const i=this.registeredTriggerMap[this.activeTrigger];this.pickerMessage=(null===(t=this.editorPickerQuery)||void 0===t?void 0:t.length)>0?i.noItemsFoundMessage:i.emptySearchMessage}setupHandlers(){this.isPickerOpen?(this.host.addEventListener("keyup",this.handleKeyPress,{capture:!0}),this.host.addEventListener("keydown",this.handleKeyPress,{capture:!0}),document.addEventListener("mousedown",this.handleMouseClick)):(this.host.removeEventListener("keyup",this.handleKeyPress,{capture:!0}),this.host.removeEventListener("keydown",this.handleKeyPress,{capture:!0}),document.removeEventListener("mousedown",this.handleMouseClick))}isListSeparator(t){return"separator"in t&&!0===t.separator}render(){return[e("limel-text-editor",{key:"2a87007bba9c506efab7ca6a3ba231e53d237356",ref:t=>this.textEditor=t,tabindex:this.disabled?-1:0,value:this.value,contentType:this.contentType,customElements:this.registeredCustomElements,"aria-disabled":this.disabled,language:this.language,triggers:this.registeredTriggers,onTriggerStart:this.handleTriggerStart,onTriggerStop:this.handleTriggerStop,onTriggerChange:this.handleTriggerChange,onImagePasted:this.handleImagePasted,onMetadataChange:this.handleMetadataChange,ui:this.ui,allowResize:this.allowResize,required:this.required,disabled:this.disabled,readonly:this.readonly,helperText:this.helperText,placeholder:this.placeholder,label:this.label,invalid:this.invalid}),this.renderPicker()]}renderPicker(){if(this.isPickerOpen)return e("limel-portal",{containerId:this.portalId,visible:this.isPickerOpen,openDirection:"top",inheritParentWidth:!0,anchor:this.textEditor},e("limebb-text-editor-picker",{ref:t=>this.textEditorPickerElement=t,items:(t=this.items,i=this.highlightedItemIndex,t.map(((t,e)=>{const r=Ht(t,5);return Object.assign(Object.assign({},r),{selected:e===i})}))),onItemSelected:this.handleItemSelection,emptyMessage:this.pickerMessage,isSearching:this.isSearching}));var t,i}getEnhancedImages(t){return t.map((t=>{let i;return"success"===t.state&&(i=this.uploadHandler.parseFileIdFromSrc(t.src)),i?Object.assign(Object.assign({},t),{fileId:i}):t}))}loadDraft(){if(!this.userDataService||!this.textEditorInnerId)return;if(this.value)return;const t=this.userDataService.get(this.textEditorInnerId);t&&this.change.emit(t)}saveDraft(){var t,i,e,r;if(!this.textEditorInnerId)return;const s=null===(t=this.value)||void 0===t?void 0:t.trim(),n=null===(i=this.userDataService)||void 0===i?void 0:i.get(this.textEditorInnerId);s&&s!==n?null===(e=this.userDataService)||void 0===e||e.set(this.textEditorInnerId,s):!s&&n&&(null===(r=this.userDataService)||void 0===r||r.set(this.textEditorInnerId,void 0))}get userDataService(){return this.platform.get(s.UserDataRepository)}static get delegatesFocus(){return!0}get host(){return r(this)}static get watchers(){return{isPickerOpen:["watchOpen"],editorPickerQuery:["watchQuery"]}}};(function(t,i,e,r){var s,n=arguments.length,o=n<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,e,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(i,e,o):s(i,e))||o);n>3&&o&&Object.defineProperty(i,e,o)})([a({map:[function(t){return Object.values(t).filter((t=>D(t,"user")||L(t,"user")))}]})],ti.prototype,"searchableLimetypes",void 0),ti.style=":host(limebb-text-editor){display:block;width:100%;min-width:5rem;min-height:5rem;height:100%;max-height:var(--text-editor-max-height, calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)) - 4rem))}";export{ti as limebb_text_editor}
@@ -24,6 +24,7 @@ import { EnhancedEditorMetadata } from './uploader/building-blocks-upload-handle
24
24
  * @exampleComponent limebb-example-text-editor-composite
25
25
  * @exampleComponent limebb-example-text-editor-allow-resize
26
26
  * @exampleComponent limebb-example-text-editor-focus
27
+ * @exampleComponent limebb-example-text-editor-many-picker-items
27
28
  * @beta
28
29
  */
29
30
  export declare class LimeBBTextEditor implements FormComponent<string> {
@@ -1996,6 +1996,7 @@ export namespace Components {
1996
1996
  * @exampleComponent limebb-example-text-editor-composite
1997
1997
  * @exampleComponent limebb-example-text-editor-allow-resize
1998
1998
  * @exampleComponent limebb-example-text-editor-focus
1999
+ * @exampleComponent limebb-example-text-editor-many-picker-items
1999
2000
  * @beta
2000
2001
  */
2001
2002
  interface LimebbTextEditor {
@@ -3698,6 +3699,7 @@ declare global {
3698
3699
  * @exampleComponent limebb-example-text-editor-composite
3699
3700
  * @exampleComponent limebb-example-text-editor-allow-resize
3700
3701
  * @exampleComponent limebb-example-text-editor-focus
3702
+ * @exampleComponent limebb-example-text-editor-many-picker-items
3701
3703
  * @beta
3702
3704
  */
3703
3705
  interface HTMLLimebbTextEditorElement extends Components.LimebbTextEditor, HTMLStencilElement {
@@ -5958,6 +5960,7 @@ declare namespace LocalJSX {
5958
5960
  * @exampleComponent limebb-example-text-editor-composite
5959
5961
  * @exampleComponent limebb-example-text-editor-allow-resize
5960
5962
  * @exampleComponent limebb-example-text-editor-focus
5963
+ * @exampleComponent limebb-example-text-editor-many-picker-items
5961
5964
  * @beta
5962
5965
  */
5963
5966
  interface LimebbTextEditor {
@@ -6884,6 +6887,7 @@ declare module "@stencil/core" {
6884
6887
  * @exampleComponent limebb-example-text-editor-composite
6885
6888
  * @exampleComponent limebb-example-text-editor-allow-resize
6886
6889
  * @exampleComponent limebb-example-text-editor-focus
6890
+ * @exampleComponent limebb-example-text-editor-many-picker-items
6887
6891
  * @beta
6888
6892
  */
6889
6893
  "limebb-text-editor": LocalJSX.LimebbTextEditor & JSXBase.HTMLAttributes<HTMLLimebbTextEditorElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-crm-building-blocks",
3
- "version": "1.111.0",
3
+ "version": "1.111.1",
4
4
  "description": "A home for shared components meant for use with Lime CRM",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@limetech/eslint-config": "^3.0.1",
38
- "@limetech/lime-elements": "^39.7.1",
38
+ "@limetech/lime-elements": "^39.9.4",
39
39
  "@limetech/lime-web-components": "^6.13.1",
40
40
  "@limetech/lime-web-components-testing": "^1.0.0",
41
41
  "@lundalogik/lime-icons8": "^2.38.1",