@limetech/lime-crm-building-blocks 1.110.4 → 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.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/dom-2ea30350.js +28 -0
- package/dist/cjs/{index.esm-b68bd570.js → index.esm-e01e9bd4.js} +2 -1
- package/dist/cjs/lime-crm-building-blocks.cjs.js +1 -1
- package/dist/cjs/{lime-query-validation-5eb432fe.js → lime-query-validation-c118b96d.js} +1 -1
- package/dist/cjs/limebb-browser.cjs.entry.js +1 -1
- package/dist/cjs/limebb-chat-item_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-chat-list.cjs.entry.js +1 -1
- package/dist/cjs/limebb-component-config.cjs.entry.js +1 -1
- package/dist/cjs/limebb-component-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-currency-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-data-cells.cjs.entry.js +1 -1
- package/dist/cjs/limebb-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile.cjs.entry.js +1 -1
- package/dist/cjs/limebb-kanban-group.cjs.entry.js +1 -1
- package/dist/cjs/limebb-kanban-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +2 -2
- package/dist/cjs/limebb-lime-query-filter-builder_3.cjs.entry.js +2 -2
- package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-filter-group_3.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +2 -2
- package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +1 -1
- package/dist/cjs/limebb-loader.cjs.entry.js +1 -1
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-mention.cjs.entry.js +3 -27
- package/dist/cjs/limebb-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/limebb-object-chip.cjs.entry.js +216 -0
- package/dist/cjs/limebb-property-selector.cjs.entry.js +2 -2
- package/dist/cjs/limebb-text-editor-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-text-editor.cjs.entry.js +3 -3
- package/dist/cjs/{limetype-b91060e7.js → limetype-3c1c53b6.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/chat-list/chat-item/chat-item.css +26 -5
- package/dist/collection/components/chat-list/chat-list.css +26 -5
- package/dist/collection/components/data-cells/data-cells.css +26 -5
- package/dist/collection/components/document-picker/document-picker.css +26 -5
- package/dist/collection/components/feed/feed-item/feed-timeline-item.css +26 -5
- package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.css +26 -5
- package/dist/collection/components/kanban/kanban-group/kanban-group.css +26 -5
- package/dist/collection/components/kanban/kanban-item/kanban-item.css +26 -5
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-expression.css +26 -5
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.css +26 -5
- package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-not.css +26 -5
- package/dist/collection/components/lime-query-builder/response-format/response-format-item.css +26 -5
- package/dist/collection/components/navigation-button/navigation-button.css +26 -5
- package/dist/collection/components/notification-list/notification-item/notification-item.css +26 -5
- package/dist/collection/components/notification-list/notification-list.css +26 -5
- package/dist/collection/components/object-chip/object-chip.css +3 -0
- package/dist/collection/components/object-chip/object-chip.js +157 -0
- package/dist/collection/components/percentage-visualizer/percentage-visualizer.css +26 -5
- package/dist/collection/components/text-editor/text-editor-picker.css +2 -0
- package/dist/collection/components/text-editor/text-editor.js +2 -1
- package/dist/collection/components/trend-indicator/trend-indicator.css +26 -5
- package/dist/collection/util/object-resolver.js +151 -0
- package/dist/components/dom.js +26 -0
- package/dist/components/index.esm.js +1 -1
- package/dist/components/limebb-mention.js +1 -25
- package/dist/components/limebb-object-chip.d.ts +11 -0
- package/dist/components/limebb-object-chip.js +238 -0
- package/dist/components/limebb-text-editor.js +1 -1
- package/dist/components/text-editor-picker.js +1 -1
- package/dist/esm/dom-9cc051d7.js +26 -0
- package/dist/esm/{index.esm-863d7783.js → index.esm-11a8b9e2.js} +1 -1
- package/dist/esm/lime-crm-building-blocks.js +1 -1
- package/dist/esm/{lime-query-validation-84253575.js → lime-query-validation-01797a51.js} +1 -1
- package/dist/esm/limebb-browser.entry.js +1 -1
- package/dist/esm/limebb-chat-item_2.entry.js +1 -1
- package/dist/esm/limebb-chat-list.entry.js +1 -1
- package/dist/esm/limebb-component-config.entry.js +1 -1
- package/dist/esm/limebb-component-picker.entry.js +1 -1
- package/dist/esm/limebb-currency-picker.entry.js +1 -1
- package/dist/esm/limebb-data-cells.entry.js +1 -1
- package/dist/esm/limebb-date-picker.entry.js +1 -1
- package/dist/esm/limebb-feed-timeline-item.entry.js +1 -1
- package/dist/esm/limebb-feed.entry.js +1 -1
- package/dist/esm/limebb-info-tile.entry.js +1 -1
- package/dist/esm/limebb-kanban-group.entry.js +1 -1
- package/dist/esm/limebb-kanban-item.entry.js +1 -1
- package/dist/esm/limebb-lime-query-builder.entry.js +2 -2
- package/dist/esm/limebb-lime-query-filter-builder_3.entry.js +2 -2
- package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +1 -1
- package/dist/esm/limebb-lime-query-filter-group_3.entry.js +1 -1
- package/dist/esm/limebb-lime-query-response-format-builder.entry.js +2 -2
- package/dist/esm/limebb-limeobject-file-viewer.entry.js +1 -1
- package/dist/esm/limebb-loader.entry.js +1 -1
- package/dist/esm/limebb-locale-picker.entry.js +1 -1
- package/dist/esm/limebb-mention.entry.js +2 -26
- package/dist/esm/limebb-notification-item.entry.js +1 -1
- package/dist/esm/limebb-notification-list.entry.js +1 -1
- package/dist/esm/limebb-object-chip.entry.js +212 -0
- package/dist/esm/limebb-property-selector.entry.js +2 -2
- package/dist/esm/limebb-text-editor-picker.entry.js +1 -1
- package/dist/esm/limebb-text-editor.entry.js +3 -3
- package/dist/esm/{limetype-09477163.js → limetype-12fbba0f.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-bd92871a.entry.js → p-01375d63.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6aeb7b9b.js → p-0a266c26.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3b1fcd5b.js → p-199799ff.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-da511a18.entry.js → p-199f0a47.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-27e84266.entry.js → p-1b2ed672.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-14685f34.entry.js → p-3d4c4df2.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-0c290fd8.entry.js → p-4a60bde2.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-4a85590d.js +1 -0
- package/dist/lime-crm-building-blocks/{p-0da02112.entry.js → p-4b494de7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-37982f06.entry.js → p-517fd960.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f35e4543.entry.js → p-55d1bbde.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-fc92dab6.entry.js → p-59b4af72.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f1eee3bb.entry.js → p-6bd3f952.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c9460ae0.entry.js → p-77e7d7da.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-77ef7ad1.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-c3c0c738.entry.js → p-81583fc8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-85cae2a1.entry.js → p-85c04627.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3f0e4017.entry.js → p-87e5d049.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-4fa58e0e.entry.js → p-95b6eaf5.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-77b97c9f.entry.js → p-a954d06e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-7c04361c.entry.js → p-ac833ff7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d4273468.entry.js → p-acf77715.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-cbbcec09.entry.js → p-af1e3cac.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-b7959ddb.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-f97ea913.entry.js → p-c38f0931.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-0ed58846.entry.js → p-d2bd2fc3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-9f2a9cf5.js → p-d47b6c3c.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-4584e9c8.entry.js → p-e8069516.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-eb4aa158.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-9624acfd.entry.js → p-ef08b09f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-dd6861b1.entry.js → p-f965d2a6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-aec5cbca.entry.js → p-f9daa703.entry.js} +1 -1
- package/dist/types/components/object-chip/object-chip.d.ts +47 -0
- package/dist/types/components/text-editor/text-editor.d.ts +1 -0
- package/dist/types/components.d.ts +93 -0
- package/dist/types/util/object-resolver.d.ts +66 -0
- package/package.json +2 -2
- package/dist/lime-crm-building-blocks/p-351de229.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-d51d607b.entry.js +0 -1
|
@@ -1,11 +1,32 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
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
|
-
*
|
|
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.
|
package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-expression.css
CHANGED
|
@@ -1,11 +1,32 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
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
|
-
*
|
|
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.
|
package/dist/collection/components/lime-query-builder/expressions/lime-query-filter-group.css
CHANGED
|
@@ -1,11 +1,32 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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.
|
package/dist/collection/components/lime-query-builder/response-format/response-format-item.css
CHANGED
|
@@ -1,11 +1,32 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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.
|
package/dist/collection/components/notification-list/notification-item/notification-item.css
CHANGED
|
@@ -1,11 +1,32 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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.
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { getIcon } from "../../util/limetype";
|
|
2
|
+
import { getObjectUrl, ObjectResolver, } from "../../util/object-resolver";
|
|
3
|
+
import { PlatformServiceName, } from "@limetech/lime-web-components";
|
|
4
|
+
import { getElement, h } from "@stencil/core";
|
|
5
|
+
/**
|
|
6
|
+
* Object chip
|
|
7
|
+
*
|
|
8
|
+
* Renders a `limel-chip` representing a Lime CRM object.
|
|
9
|
+
* The consumer provides `limetype` and `objectid`, and the component
|
|
10
|
+
* takes care of resolving the descriptive text, limetype icon and color,
|
|
11
|
+
* and generating a navigation URL.
|
|
12
|
+
*
|
|
13
|
+
* :::note
|
|
14
|
+
* If `platform` is not supplied as a prop, it will be fetched from the DOM.
|
|
15
|
+
* :::
|
|
16
|
+
*
|
|
17
|
+
* @exampleComponent limebb-example-object-chip
|
|
18
|
+
* @exampleComponent limebb-example-object-chip-icon-and-color-fallbacks
|
|
19
|
+
* @beta
|
|
20
|
+
*/
|
|
21
|
+
export class ObjectChip {
|
|
22
|
+
constructor() {
|
|
23
|
+
this.data = { loadFailed: false };
|
|
24
|
+
this.resolver = new ObjectResolver((data) => {
|
|
25
|
+
this.data = data;
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
connectedCallback() {
|
|
29
|
+
this.resolver.connect(this.limetype, this.objectid, getElement(this), this.platform);
|
|
30
|
+
}
|
|
31
|
+
disconnectedCallback() {
|
|
32
|
+
this.resolver.disconnect();
|
|
33
|
+
}
|
|
34
|
+
handlePropChange() {
|
|
35
|
+
this.resolver.update(this.limetype, this.objectid);
|
|
36
|
+
}
|
|
37
|
+
render() {
|
|
38
|
+
if (!this.resolver.resolvedPlatform) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
const icon = getIcon(this.data.limetypeData);
|
|
42
|
+
return (h("limel-chip", { text: this.getChipText(), icon: icon, link: { href: getObjectUrl(this.limetype, this.objectid) }, loading: !this.data.limeobject && !this.data.loadFailed }));
|
|
43
|
+
}
|
|
44
|
+
getChipText() {
|
|
45
|
+
var _a;
|
|
46
|
+
if ((_a = this.data.limeobject) === null || _a === void 0 ? void 0 : _a.descriptive) {
|
|
47
|
+
return this.data.limeobject.descriptive;
|
|
48
|
+
}
|
|
49
|
+
if (this.data.loadFailed) {
|
|
50
|
+
return this.getErrorText();
|
|
51
|
+
}
|
|
52
|
+
return '';
|
|
53
|
+
}
|
|
54
|
+
getErrorText() {
|
|
55
|
+
if (!this.resolver.resolvedPlatform) {
|
|
56
|
+
return 'loading failed';
|
|
57
|
+
}
|
|
58
|
+
try {
|
|
59
|
+
const translator = this.resolver.resolvedPlatform.get(PlatformServiceName.Translate);
|
|
60
|
+
return translator.get('webclient.limeobject.errors.load-failed');
|
|
61
|
+
}
|
|
62
|
+
catch (_a) {
|
|
63
|
+
return 'loading failed';
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
static get is() { return "limebb-object-chip"; }
|
|
67
|
+
static get encapsulation() { return "shadow"; }
|
|
68
|
+
static get originalStyleUrls() {
|
|
69
|
+
return {
|
|
70
|
+
"$": ["object-chip.scss"]
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
static get styleUrls() {
|
|
74
|
+
return {
|
|
75
|
+
"$": ["object-chip.css"]
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
static get properties() {
|
|
79
|
+
return {
|
|
80
|
+
"limetype": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"mutable": false,
|
|
83
|
+
"complexType": {
|
|
84
|
+
"original": "string",
|
|
85
|
+
"resolved": "string",
|
|
86
|
+
"references": {}
|
|
87
|
+
},
|
|
88
|
+
"required": false,
|
|
89
|
+
"optional": false,
|
|
90
|
+
"docs": {
|
|
91
|
+
"tags": [],
|
|
92
|
+
"text": "Name of the limetype of the object."
|
|
93
|
+
},
|
|
94
|
+
"getter": false,
|
|
95
|
+
"setter": false,
|
|
96
|
+
"attribute": "limetype",
|
|
97
|
+
"reflect": false
|
|
98
|
+
},
|
|
99
|
+
"objectid": {
|
|
100
|
+
"type": "number",
|
|
101
|
+
"mutable": false,
|
|
102
|
+
"complexType": {
|
|
103
|
+
"original": "number",
|
|
104
|
+
"resolved": "number",
|
|
105
|
+
"references": {}
|
|
106
|
+
},
|
|
107
|
+
"required": false,
|
|
108
|
+
"optional": false,
|
|
109
|
+
"docs": {
|
|
110
|
+
"tags": [],
|
|
111
|
+
"text": "Id of the object."
|
|
112
|
+
},
|
|
113
|
+
"getter": false,
|
|
114
|
+
"setter": false,
|
|
115
|
+
"attribute": "objectid",
|
|
116
|
+
"reflect": false
|
|
117
|
+
},
|
|
118
|
+
"platform": {
|
|
119
|
+
"type": "unknown",
|
|
120
|
+
"mutable": false,
|
|
121
|
+
"complexType": {
|
|
122
|
+
"original": "LimeWebComponentPlatform",
|
|
123
|
+
"resolved": "LimeWebComponentPlatform | undefined",
|
|
124
|
+
"references": {
|
|
125
|
+
"LimeWebComponentPlatform": {
|
|
126
|
+
"location": "import",
|
|
127
|
+
"path": "@limetech/lime-web-components",
|
|
128
|
+
"id": "node_modules::LimeWebComponentPlatform"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"required": false,
|
|
133
|
+
"optional": true,
|
|
134
|
+
"docs": {
|
|
135
|
+
"tags": [],
|
|
136
|
+
"text": "Platform instance. If not provided, the component will\nwalk the DOM to find a parent with a platform.\n\n:::note\nThe platform must be available when the component connects to\nthe DOM, either as a prop or via a parent element. Changing\nthe platform after the component has connected is not supported.\n:::"
|
|
137
|
+
},
|
|
138
|
+
"getter": false,
|
|
139
|
+
"setter": false
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
static get states() {
|
|
144
|
+
return {
|
|
145
|
+
"data": {}
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
static get watchers() {
|
|
149
|
+
return [{
|
|
150
|
+
"propName": "limetype",
|
|
151
|
+
"methodName": "handlePropChange"
|
|
152
|
+
}, {
|
|
153
|
+
"propName": "objectid",
|
|
154
|
+
"methodName": "handlePropChange"
|
|
155
|
+
}];
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -3,12 +3,33 @@
|
|
|
3
3
|
* @prop --percentage-visualizer-color: defines the color of the percentage bar
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
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
|
-
*
|
|
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.
|
|
@@ -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: '
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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.
|