@limetech/lime-crm-building-blocks 2.0.1 → 2.0.2
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 +7 -0
- package/dist/cjs/{filter-group-logic-EDLGrkTt.js → filter-group-logic-Bt5tIbfP.js} +1 -1
- package/dist/cjs/{filter-operators-CVCyCZ7Q.js → filter-operators-CzIq9qKC.js} +1 -1
- package/dist/cjs/{index-BrWc7h0p.js → index-mDIvByXc.js} +47 -11
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{index.esm-CcYbS__E.js → index.esm-D1EzGa8X.js} +3 -3
- package/dist/cjs/lime-crm-building-blocks.cjs.js +2 -2
- package/dist/cjs/{lime-query-validation-B0oYW7Z6.js → lime-query-validation-Df4GZRGm.js} +1 -1
- package/dist/cjs/limebb-alert-dialog.cjs.entry.js +2 -2
- package/dist/cjs/limebb-browser.cjs.entry.js +4 -4
- package/dist/cjs/limebb-chat-icon-list_3.cjs.entry.js +6 -6
- package/dist/cjs/limebb-chat-list.cjs.entry.js +3 -3
- package/dist/cjs/limebb-color-palette-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-color-palette-swatches.cjs.entry.js +2 -2
- package/dist/cjs/limebb-component-config.cjs.entry.js +3 -3
- package/dist/cjs/limebb-component-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-composer-toolbar.cjs.entry.js +4 -4
- package/dist/cjs/limebb-currency-picker.cjs.entry.js +3 -3
- package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +2 -2
- package/dist/cjs/limebb-data-cells.cjs.entry.js +2 -2
- package/dist/cjs/limebb-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/limebb-date-range.cjs.entry.js +2 -2
- package/dist/cjs/limebb-document-chips.cjs.entry.js +2 -2
- package/dist/cjs/limebb-document-item.cjs.entry.js +3 -3
- package/dist/cjs/limebb-document-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +2 -2
- package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +3 -3
- package/dist/cjs/limebb-feed.cjs.entry.js +3 -3
- package/dist/cjs/limebb-filter-chip_6.cjs.entry.js +7 -7
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-info-tile-currency-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-date-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-decimal-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-format.cjs.entry.js +2 -2
- package/dist/cjs/limebb-info-tile-relative-date-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile-unit-format.cjs.entry.js +1 -1
- package/dist/cjs/limebb-info-tile.cjs.entry.js +3 -3
- package/dist/cjs/limebb-inline-image.cjs.entry.js +2 -2
- package/dist/cjs/limebb-kanban-group.cjs.entry.js +3 -3
- package/dist/cjs/limebb-kanban-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-kanban.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-builder.cjs.entry.js +3 -3
- package/dist/cjs/limebb-lime-query-filter-builder.cjs.entry.js +3 -3
- package/dist/cjs/limebb-lime-query-filter-comparison_2.cjs.entry.js +4 -4
- package/dist/cjs/limebb-lime-query-order-by-editor_2.cjs.entry.js +3 -3
- package/dist/cjs/limebb-lime-query-order-by-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-lime-query-response-format-builder.cjs.entry.js +3 -3
- package/dist/cjs/limebb-lime-query-response-format-editor_2.cjs.entry.js +32 -27
- package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +2 -2
- package/dist/cjs/limebb-live-docs-info.cjs.entry.js +1 -1
- package/dist/cjs/limebb-loader.cjs.entry.js +2 -2
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-mention-group-counter.cjs.entry.js +1 -1
- package/dist/cjs/limebb-mention.cjs.entry.js +2 -2
- package/dist/cjs/limebb-navigation-button_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-notification-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/limebb-object-chip.cjs.entry.js +3 -3
- package/dist/cjs/limebb-percentage-visualizer.cjs.entry.js +2 -2
- package/dist/cjs/limebb-property-selector.cjs.entry.js +84 -72
- package/dist/cjs/limebb-rule-arg-filter-editor.cjs.entry.js +2 -2
- package/dist/cjs/limebb-rule-chip-popover.cjs.entry.js +3 -3
- package/dist/cjs/limebb-rule-editor.cjs.entry.js +2 -2
- package/dist/cjs/limebb-rule-gate.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/limebb-trend-indicator.cjs.entry.js +2 -2
- package/dist/cjs/limebb-value-comparison-editor.cjs.entry.js +4 -4
- package/dist/cjs/{limetype-C-fVThrI.js → limetype-BPuuRLtH.js} +2 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{web-component-template-C9hvjrMm.js → web-component-template-DRMW9wHN.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/alert-dialog/alert-dialog.js +1 -1
- package/dist/collection/components/browser/browser.js +2 -2
- package/dist/collection/components/chat-list/chat-icon-list/chat-icon-list.js +1 -1
- package/dist/collection/components/chat-list/chat-item/chat-item.js +2 -2
- package/dist/collection/components/chat-list/chat-list.js +1 -1
- package/dist/collection/components/chat-list/typing-indicator/typing-indicator.js +1 -1
- package/dist/collection/components/color-palette-picker/color-palette-picker.js +1 -1
- package/dist/collection/components/color-palette-picker/color-palette-swatches/color-palette-swatches.js +1 -1
- package/dist/collection/components/composer-toolbar/composer-toolbar.js +2 -2
- package/dist/collection/components/currency-picker/currency-picker.js +1 -1
- package/dist/collection/components/dashboard-widget/dashboard-widget.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-range/date-range.js +1 -1
- package/dist/collection/components/document-chips/document-chips.js +1 -1
- package/dist/collection/components/document-picker/document-item/document-item.js +2 -2
- package/dist/collection/components/document-picker/document-picker.js +1 -1
- package/dist/collection/components/feed/feed-item/feed-timeline-item.js +1 -1
- package/dist/collection/components/feed/feed-item-thumbnail-file-info/feed-item-thumbnail-file-info.js +1 -1
- package/dist/collection/components/feed/feed.js +1 -1
- package/dist/collection/components/filter-chip/filter-chip.js +2 -2
- package/dist/collection/components/filter-condition-picker/filter-condition-picker.js +1 -1
- package/dist/collection/components/icon-picker/icon-picker.js +1 -1
- package/dist/collection/components/info-tile/format/config/info-tile-format.js +1 -1
- package/dist/collection/components/kanban/kanban-group/kanban-group.js +4 -3
- package/dist/collection/components/lime-query-builder/property-selection-format.js +31 -26
- package/dist/collection/components/lime-query-builder/property-selector/property-selector.js +87 -72
- package/dist/collection/components/rule-editor/value-comparison-editor/value-comparison-editor.js +1 -1
- package/dist/components/chat-icon-list.js +1 -1
- package/dist/components/chat-item.js +1 -1
- package/dist/components/currency-picker.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/document-item.js +1 -1
- package/dist/components/feed-item-thumbnail-file-info.js +1 -1
- package/dist/components/feed-timeline-item.js +1 -1
- package/dist/components/filter-chip.js +1 -1
- package/dist/components/filter-condition-picker.js +1 -1
- package/dist/components/kanban-group.js +1 -1
- package/dist/components/limebb-alert-dialog.js +1 -1
- package/dist/components/limebb-browser.js +1 -1
- package/dist/components/limebb-chat-list.js +1 -1
- package/dist/components/limebb-color-palette-picker.js +1 -1
- package/dist/components/limebb-color-palette-swatches.js +1 -1
- package/dist/components/limebb-composer-toolbar.js +1 -1
- package/dist/components/limebb-dashboard-widget.js +1 -1
- package/dist/components/limebb-date-range.js +1 -1
- package/dist/components/limebb-document-chips.js +1 -1
- package/dist/components/limebb-document-picker.js +1 -1
- package/dist/components/limebb-feed.js +1 -1
- package/dist/components/limebb-icon-picker.js +1 -1
- package/dist/components/limebb-info-tile-format.js +1 -1
- package/dist/components/limebb-value-comparison-editor.js +1 -1
- package/dist/components/limetype.js +1 -1
- package/dist/components/property-selector.js +1 -1
- package/dist/components/response-format-editor.js +1 -1
- package/dist/components/typing-indicator.js +1 -1
- package/dist/esm/{filter-group-logic-DS1inQTh.js → filter-group-logic-CzThKf85.js} +1 -1
- package/dist/esm/{filter-operators-CsZi5iCV.js → filter-operators-u3T1PKhm.js} +1 -1
- package/dist/esm/{index-DwHAn7LS.js → index-COtSgrC5.js} +47 -11
- package/dist/esm/{index.esm-BjIhvFKX.js → index.esm-B9D_MXA6.js} +2 -2
- package/dist/esm/index.js +3 -3
- package/dist/esm/lime-crm-building-blocks.js +3 -3
- package/dist/esm/{lime-query-validation-CVV7mrLj.js → lime-query-validation-dGoN_93p.js} +1 -1
- package/dist/esm/limebb-alert-dialog.entry.js +2 -2
- package/dist/esm/limebb-browser.entry.js +4 -4
- package/dist/esm/limebb-chat-icon-list_3.entry.js +6 -6
- package/dist/esm/limebb-chat-list.entry.js +3 -3
- package/dist/esm/limebb-color-palette-picker.entry.js +2 -2
- package/dist/esm/limebb-color-palette-swatches.entry.js +2 -2
- package/dist/esm/limebb-component-config.entry.js +3 -3
- package/dist/esm/limebb-component-picker.entry.js +2 -2
- package/dist/esm/limebb-composer-toolbar.entry.js +4 -4
- package/dist/esm/limebb-currency-picker.entry.js +3 -3
- package/dist/esm/limebb-dashboard-widget.entry.js +2 -2
- package/dist/esm/limebb-data-cells.entry.js +2 -2
- package/dist/esm/limebb-date-picker.entry.js +3 -3
- package/dist/esm/limebb-date-range.entry.js +2 -2
- package/dist/esm/limebb-document-chips.entry.js +2 -2
- package/dist/esm/limebb-document-item.entry.js +3 -3
- package/dist/esm/limebb-document-picker.entry.js +2 -2
- package/dist/esm/limebb-empty-state.entry.js +1 -1
- package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +2 -2
- package/dist/esm/limebb-feed-timeline-item.entry.js +3 -3
- package/dist/esm/limebb-feed.entry.js +3 -3
- package/dist/esm/limebb-filter-chip_6.entry.js +7 -7
- package/dist/esm/limebb-icon-picker.entry.js +2 -2
- package/dist/esm/limebb-info-tile-currency-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-date-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-decimal-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-format.entry.js +2 -2
- package/dist/esm/limebb-info-tile-relative-date-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile-unit-format.entry.js +1 -1
- package/dist/esm/limebb-info-tile.entry.js +3 -3
- package/dist/esm/limebb-inline-image.entry.js +2 -2
- package/dist/esm/limebb-kanban-group.entry.js +3 -3
- package/dist/esm/limebb-kanban-item.entry.js +2 -2
- package/dist/esm/limebb-kanban.entry.js +1 -1
- package/dist/esm/limebb-lime-query-builder.entry.js +3 -3
- package/dist/esm/limebb-lime-query-filter-builder.entry.js +3 -3
- package/dist/esm/limebb-lime-query-filter-comparison_2.entry.js +4 -4
- package/dist/esm/limebb-lime-query-order-by-editor_2.entry.js +3 -3
- package/dist/esm/limebb-lime-query-order-by-item.entry.js +1 -1
- package/dist/esm/limebb-lime-query-response-format-builder.entry.js +3 -3
- package/dist/esm/limebb-lime-query-response-format-editor_2.entry.js +32 -27
- package/dist/esm/limebb-limeobject-file-viewer.entry.js +2 -2
- package/dist/esm/limebb-live-docs-info.entry.js +1 -1
- package/dist/esm/limebb-loader.entry.js +2 -2
- package/dist/esm/limebb-locale-picker.entry.js +2 -2
- package/dist/esm/limebb-mention-group-counter.entry.js +1 -1
- package/dist/esm/limebb-mention.entry.js +2 -2
- package/dist/esm/limebb-navigation-button_2.entry.js +1 -1
- package/dist/esm/limebb-notification-item.entry.js +2 -2
- package/dist/esm/limebb-notification-list.entry.js +2 -2
- package/dist/esm/limebb-object-chip.entry.js +3 -3
- package/dist/esm/limebb-percentage-visualizer.entry.js +2 -2
- package/dist/esm/limebb-property-selector.entry.js +84 -72
- package/dist/esm/limebb-rule-arg-filter-editor.entry.js +2 -2
- package/dist/esm/limebb-rule-chip-popover.entry.js +3 -3
- package/dist/esm/limebb-rule-editor.entry.js +2 -2
- package/dist/esm/limebb-rule-gate.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/limebb-trend-indicator.entry.js +2 -2
- package/dist/esm/limebb-value-comparison-editor.entry.js +4 -4
- package/dist/esm/{limetype-BbMRN-SU.js → limetype-BcELY1NF.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{web-component-template-CAI6pXCH.js → web-component-template-DxbwHsvw.js} +1 -1
- package/dist/lime-crm-building-blocks/index.esm.js +1 -1
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-b0b8ce73.entry.js → p-0193ed83.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-97839894.entry.js → p-021e452a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-7033d408.entry.js → p-02fba38e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5beb508a.entry.js → p-0370200d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-0c4f6220.entry.js → p-07a9c8f2.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-240cbd82.entry.js → p-080a1166.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-52a92d89.entry.js → p-0ed9a7cc.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-a4e676a6.entry.js → p-10310a64.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ef890206.entry.js → p-10da40f8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-0253fd45.entry.js → p-1ebe45b8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-251aca46.entry.js → p-242ed59b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-662fb8b6.entry.js → p-29262c17.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-22e68812.entry.js → p-3c3009e3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-40cb2c7c.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-43dfbefb.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-f4d518ec.entry.js → p-49d042aa.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-4f0939e6.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-f9e9d18e.entry.js → p-5268fc02.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-25984c90.entry.js → p-56d125c7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-73b71080.entry.js → p-584a48e4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-397a6191.entry.js → p-5f682c06.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-dd7aec09.entry.js → p-63e7c191.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d43cf8d1.entry.js → p-6951dcf7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-69c116b3.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-2e48601d.entry.js → p-6a8422d2.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c4e5e589.entry.js → p-6d8efe87.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d78370be.entry.js → p-73f23d08.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e2e1358d.entry.js → p-78118c62.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-906b4eca.entry.js → p-79bb58b0.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f6377fa5.entry.js → p-7a9d7d87.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c97c4604.entry.js → p-7ccca5e4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-585f6cfe.entry.js → p-7cd8dffd.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-7a5c2dda.entry.js → p-848462ee.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-84ad9159.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-e8b2df7c.entry.js → p-8a17a7ea.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-bc297cf4.entry.js → p-8fdf6a09.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-aafead4e.entry.js → p-956e466d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-COtSgrC5.js +3 -0
- package/dist/lime-crm-building-blocks/{p-b78ub0mY.js → p-Cj_3f9vm.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-Cw4kdMw3.js → p-Css8537O.js} +1 -1
- package/dist/lime-crm-building-blocks/p-Cz5s8qGk.js +1 -0
- package/dist/lime-crm-building-blocks/{p-Dhyy9Td7.js → p-DLec4QaM.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-DI3GWqfD.js → p-DVypQWZ4.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d014ec57.entry.js → p-a17d6dac.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-a58c9e1e.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-1c6e5402.entry.js → p-a5f3913d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-964b066d.entry.js → p-abe751c0.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-7b6c9cbf.entry.js → p-ac13feb9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-1f97e235.entry.js → p-ad661a38.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-19dc7242.entry.js → p-bd89279d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-bcd8c767.entry.js → p-c85ff45b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-673226a6.entry.js → p-ce2755a0.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-742926a3.entry.js → p-ce723c21.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3f537135.entry.js → p-d071bd2d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f4214745.entry.js → p-d23f4604.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-d495cc19.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-e6a85c26.entry.js → p-d816fcc8.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d3fe25a7.entry.js → p-d8d32cb1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-89f120f8.entry.js → p-da35bcc7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6c2e25d9.entry.js → p-dacf9e77.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-69b08896.entry.js → p-e5028d83.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e4a21ebe.entry.js → p-e910963c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d2e85be2.entry.js → p-ee7bd504.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6f4e2590.entry.js → p-eed0b2c2.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e581d0b7.entry.js → p-f1060c88.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-896e77b9.entry.js → p-f9b1cd5e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-ffca266e.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-CE43qjk3.js → p-hsyotUav.js} +1 -1
- package/dist/types/components/lime-query-builder/property-selector/property-selector.d.ts +23 -3
- package/dist/types/components.d.ts +21 -11
- package/dist/types/stencil-public-runtime.d.ts +12 -0
- package/loader/index.d.ts +1 -1
- package/package.json +14 -14
- package/dist/lime-crm-building-blocks/p-59fb624c.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-78d362b4.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-79c492b2.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-7ce967b6.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-DLehg4hi.js +0 -1
- package/dist/lime-crm-building-blocks/p-DwHAn7LS.js +0 -2
- package/dist/lime-crm-building-blocks/p-a157233b.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-a3058b72.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-d20404ec.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-e29c27b8.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as r}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e,H as r}from"./p-COtSgrC5.js";import{n as o}from"./p-Cj_3f9vm.js";const a=class{constructor(r){t(this,r),this.interact=i(this,"interact"),this.handleClick=()=>{this.isItemClickable()&&this.handleNotificationListItemClick()},this.handleKeyDown=t=>{this.isItemClickable()&&"Enter"===t.key&&this.handleNotificationListItemClick()},this.renderHeading=()=>{if(!this.item.heading)return;if(!this.item.author)return e("limel-markdown",{value:this.translator.get(this.item.heading)});const t=this.getAuthorLink(),i=this.translator.get(this.item.heading,{author:t});return e("limel-markdown",{class:"heading",value:i})},this.createMenuItem=t=>{var i,e;return"separator"in t?t:{value:t,text:null!==(i=t.label)&&void 0!==i?i:"",secondaryText:t.description,disabled:t.disabled,icon:null!==(e=t.icon)&&void 0!==e?e:""}},this.handleMenuItemSelect=t=>{var i;t.stopPropagation();const e=null===(i=t.detail.value)||void 0===i?void 0:i.command;e&&this.commandbus.handle(e)},this.handleNotificationListItemClick=()=>{this.interact.emit(this.item)}}render(){var t,i;return e(r,{key:"478562eb1347b383b23e73f28f0143fceec96b7a",id:this.item.id,class:{"is-clickable":this.isItemClickable(),"is-read":!!(null===(t=this.item)||void 0===t?void 0:t.read),"is-selected":!!(null===(i=this.item)||void 0===i?void 0:i.selected)},onClick:this.handleClick,onKeyDown:this.handleKeyDown,tabindex:0},this.renderSource(),this.renderContent())}isItemClickable(){var t;return!!(null===(t=this.item)||void 0===t?void 0:t.clickable)}renderSource(){return e("div",{class:"header"},this.renderIcon(),this.renderCaption(),this.renderTimestamp(),this.renderUnpromotedActionsMenu())}renderIcon(){var t,i,r,o;if(this.item.icon)return e("limel-icon",{class:"icon",badge:!0,name:null!==(i=null===(t=this.item.icon)||void 0===t?void 0:t.name)&&void 0!==i?i:"dot_circle",style:{color:`${null===(r=this.item.icon)||void 0===r?void 0:r.color}`,"background-color":`${null===(o=this.item.icon)||void 0===o?void 0:o.backgroundColor}`}})}renderContent(){return e("div",{class:"content"},e("div",{class:"body"},this.renderHeadline(),this.renderValue()),this.renderAuthorPicture())}renderHeadline(){if(this.item.heading)return e("div",{class:"headline"},this.renderHeading())}getAuthorLink(){if(!this.item.author)return;if("string"==typeof this.item.author.name)return this.item.author.name;const{href:t,text:i}=this.item.author.name;return`[${i}](${t})`}renderAuthorPicture(){var t;if(null===(t=this.item.author)||void 0===t?void 0:t.picture)return e("img",{class:"author-avatar",loading:"lazy",src:this.item.author.picture})}renderCaption(){if(this.item.caption)return e("h2",{class:"caption"},this.item.caption)}renderValue(){if(this.item.value)return e("limel-markdown",{class:"body-text",value:this.item.value})}renderUnpromotedActionsMenu(){var t,i;if(!(null===(t=this.item.unpromotedActions)||void 0===t?void 0:t.length))return;const r=this.item.unpromotedActions.map(this.createMenuItem);return e("limel-menu",{class:"unpromoted-actions-menu",items:r,openDirection:"bottom-end",onSelect:this.handleMenuItemSelect},e("limel-icon-button",{icon:"menu_2",slot:"trigger",label:null===(i=this.translator)||void 0===i?void 0:i.get("webclient.more-actions")}))}renderTimestamp(){const t=this.item.timestamp;if(t)return e("span",{class:"timestamp"},this.dateTimeFormatter.format(t,"timeofday"))}get dateTimeFormatter(){return this.platform.get(o.DateTimeFormatter)}get translator(){var t;return null===(t=this.platform)||void 0===t?void 0:t.get(o.Translate)}get commandbus(){var t;return null===(t=this.platform)||void 0===t?void 0:t.get(o.CommandBus)}};a.style='@charset "UTF-8";*{box-sizing:border-box}:host(limebb-notification-item){isolation:isolate;position:relative;box-sizing:border-box;display:flex;flex-direction:column;gap:0.25rem;margin-left:0.5rem;border-radius:0.75rem;border:1px solid rgb(var(--contrast-500))}:host(limebb-notification-item):before{content:"";display:block;position:absolute;left:-1rem;top:0.85rem;border-radius:50%;height:0.5rem;width:0.5rem;transition:background-color 0.2s ease, scale 0.2s cubic-bezier(0.82, 0.3, 0.14, 1.36);scale:var(--limebb-notification-item-unread-badge-scale, 0.6);background-color:var(--limebb-notification-item-unread-badge-color, transparent)}:host(limebb-notification-item:hover) .timestamp{color:rgb(var(--contrast-1100))}:host(limebb-notification-item:hover) .body-text{opacity:1}.header{display:flex;align-items:center;gap:0.25rem;min-height:2rem;padding:0 0 0 0.25rem;margin-bottom:0.25rem}.header:not(:has(.icon)){padding-left:0.75rem}.header:not(:has(.unpromoted-actions-menu)){padding-right:0.5rem}.caption,.timestamp{font-size:0.75rem}.caption{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0;flex-grow:1;font-weight:600;color:rgb(var(--contrast-900))}.timestamp{flex-shrink:0;margin-left:auto;transition:color 0.4s ease, opacity 0.2s ease;color:rgb(var(--contrast-900))}.headline{display:flex;gap:0.25rem;align-items:center}.content{display:flex;min-width:0;gap:0.5rem;padding:0 0.75rem 0.5rem 0.75rem}.heading{display:-webkit-box;overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:2.5rem;font-size:0.875rem;--markdown-hyperlink-color:var(--mdc-theme-primary);--markdown-hyperlink-color--hovered:rgb(var(--color-teal-light))}.body{display:flex;flex-direction:column;gap:0.5rem}.body-text{display:-webkit-box;overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:3;max-height:4.25rem;transition:opacity 0.2s ease;opacity:0.7}.icon{--icon-background-color:var(--limebb-feed-background-color);flex-shrink:0;width:1.5rem;padding:0.125rem}.author-avatar{border-radius:50%;width:2rem;height:2rem;object-fit:cover;margin-top:auto;margin-right:-0.25rem;margin-left:auto;box-shadow:0 0 0 1px rgb(var(--contrast-600))}.author{font-weight:bold;text-decoration:none;white-space:nowrap}a.author{position:relative;cursor:pointer;transition:color 0.2s ease;color:var(--mdc-theme-primary)}a.author:before{transition:opacity 0.2s ease, transform 0.3s ease-out;content:"";position:absolute;inset:auto 0 0 0;width:calc(100% - 0.5rem);margin:auto;height:0.125rem;border-radius:1rem;background-color:currentColor;opacity:0;transform:scale(0.6)}a.author:hover{color:rgb(var(--color-teal-light))}a.author:hover:before{opacity:0.3;transform:scale(1)}limel-chip-set{--button-shadow-normal:none;margin-left:-1rem;margin-bottom:-0.5rem}';export{a as limebb_notification_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as o,h as t,H as r}from"./p-
|
|
1
|
+
import{r as e,c as o,h as t,H as r}from"./p-COtSgrC5.js";import{L as i,n as a}from"./p-Cj_3f9vm.js";const n=class{constructor(t){e(this,t),this.loadMore=o(this,"loadMore"),this.items=[],this.handleLoadMore=e=>{e.stopPropagation(),this.loadMore.emit(this.identifier)}}render(){return t(r,{key:"b00741bf0f2c617453ce53ce2e6ec852472f20dc"},this.renderHelp(),this.renderGroupHeading(),this.renderGroupSummary(),this.renderItems())}renderGroupSummary(){if(this.summary&&this.totalCount)return t("limel-markdown",{class:"group-summary",value:this.summary})}renderGroupHeading(){return t("limel-header",{heading:this.heading},this.renderCounterBadge())}renderHelp(){if(this.help)return t("limel-help",{value:this.help})}renderSpinner(){if(this.loading)return t("limel-spinner",{size:"small"})}renderCounterBadge(){if(this.totalCount)return[t("limel-badge",{slot:"actions",id:"badge-tooltip",label:this.totalCount}),this.renderTooltip()]}renderTooltip(){const e=this.translator.get("webclient.kanban.item-in-group",{count:this.totalCount}),o=this.limetype?this.labelWithLimetype():e;return t("limel-tooltip",{elementId:"badge-tooltip",label:o||"",openDirection:"top"})}labelWithLimetype(){return this.translator.get("webclient.kanban.limetype-item-in-group",{limetype:this.totalCount>1?this.limetype.localname.plural:this.limetype.localname.singular,count:this.totalCount})}renderItems(){if(this.loading||0!==this.items.length)return t("div",{class:"items"},this.renderKanbanItems(),this.renderSpinner(),this.renderLoadMore())}renderKanbanItems(){return this.items.map((e=>{var o,r;const i=null===(o=e.bodyComponent)||void 0===o?void 0:o.name;return t("limebb-kanban-item",{tabindex:0,platform:this.platform,context:this.context,item:e,key:e.id},i&&t(i,Object.assign({slot:"body",platform:this.platform,context:this.context},null===(r=e.bodyComponent)||void 0===r?void 0:r.props)))}))}renderLoadMore(){if(!(this.loading||this.items.length>=this.totalCount))return t("limel-icon-button",{class:"load-more-button",icon:"more",onClick:this.handleLoadMore,elevated:!0,label:this.translator.get("webclient.load-more")})}get translator(){return this.platform.get(a.Translate)}};(function(e,o,t,r){var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,o,t,r);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(n=(a<3?i(n):a>3?i(o,t,n):i(o,t))||n);a>3&&n&&Object.defineProperty(o,t,n)})([i()],n.prototype,"limetype",void 0),n.style='@charset "UTF-8";:host(limebb-feed-timeline-item.is-tall) .markdown-container{margin-bottom:0.5rem}:host(limebb-feed-timeline-item.is-tall) .body-text{--body-text-min-height-set-by-code:10rem;min-height:calc(var(--body-text-min-height-set-by-code) + 0.25rem)}:host(limebb-feed-timeline-item.is-tall) .body-text:after{transition:opacity 0.6s ease;content:"";opacity:0.26;pointer-events:none;position:absolute;bottom:-0.125rem;right:-0.125rem;left:-0.125rem;height:2.5rem;background:radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0)) 0 100%, linear-gradient(to bottom, rgb(var(--limebb-feed-item-background-color), 0) 0%, rgb(var(--limebb-feed-item-background-color), 90%) 100%);background-repeat:no-repeat;background-size:100% 0.5rem, 100% 100%}:host(limebb-feed-timeline-item.is-tall.shows-less) .markdown-container{grid-template-rows:0fr}:host(limebb-feed-timeline-item.is-tall.shows-less) .body-text:after{opacity:1}:host(limebb-feed-timeline-item.is-tall.shows-more) .markdown-container{grid-template-rows:1fr}:host(limebb-feed-timeline-item.is-tall.shows-more) #show-more-button limel-icon{rotate:180deg}.markdown-container{position:relative;display:grid}.markdown-container:not(.opened){transition:grid-template-rows min(var(--body-text-height) * 1.2ms, 500ms) cubic-bezier(1, 0.09, 0, 0.89)}.body-text{display:block;overflow:hidden}button#show-more-button{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal)}button#show-more-button:hover,button#show-more-button:focus,button#show-more-button:focus-visible{will-change:color, background-color, box-shadow, transform}button#show-more-button:hover,button#show-more-button:focus-visible{transform:translate3d(0, -0.04rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}button#show-more-button:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button#show-more-button:hover,button#show-more-button:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button#show-more-button:focus{outline:none}button#show-more-button:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button#show-more-button{z-index:1;position:absolute;right:0;bottom:-0.6rem;left:0;margin:0 auto;display:flex;align-items:center;justify-content:center;border-radius:3rem;width:2rem;height:1rem}button#show-more-button limel-icon{transition:rotate 0.2s ease 0.5s;color:var(--mdc-theme-primary);width:0.75rem}*{box-sizing:border-box}:host(limebb-kanban-group){position:relative;background-color:rgb(var(--limebb-kanban-group-primary-background));--header-top-right-left-border-radius:0.5rem;--limebb-kanban-group-secondary-background:var(--contrast-300);--limebb-kanban-group-primary-background:var(--contrast-600);scroll-snap-align:start;box-sizing:border-box;display:flex;flex-direction:column;border-radius:0.5rem;min-width:var(--limebb-kanban-group-width, 22rem);max-width:100%}:host(limebb-kanban-group[total-count="0"]){min-width:var(--limebb-kanban-group-width, 8rem)}:host(limebb-kanban-group.secondary){border:1px dashed rgb(var(--contrast-700));background-color:rgb(var(--limebb-kanban-group-secondary-background))}:host(limebb-kanban-group.secondary) limebb-kanban-item{border:1px dashed rgb(var(--contrast-700))}:host(limebb-kanban-group.secondary) limel-header{background-color:rgb(var(--limebb-kanban-group-secondary-background))}limel-header{padding-right:0.5rem;background-color:rgb(var(--limebb-kanban-group-primary-background));width:100%}limel-badge{--badge-background-color:rgb(var(--contrast-200))}limel-help{position:absolute;z-index:1;left:-0.25rem;top:-0.25rem}.group-summary{flex-shrink:0;padding:0 0.75rem 0.5rem 0.75rem;opacity:0.6;max-height:7rem;max-width:100%;overflow-y:auto}.load-more-button,limel-spinner{align-self:center}.load-more-button{--icon-background-color:var(--lime-elevated-surface-background-color)}.items{--limel-overflow-mask-vertical:linear-gradient( to bottom, transparent 0%, black calc(0% + var(--limel-top-edge-fade-height, 1rem)), black calc(100% - var(--limel-bottom-edge-fade-height, 1rem)), transparent 100% );-webkit-mask-image:var(--limel-overflow-mask-vertical);mask-image:var(--limel-overflow-mask-vertical);padding-top:var(--limel-top-edge-fade-height, 1rem);padding-bottom:var(--limel-bottom-edge-fade-height, 1rem);--limel-top-edge-fade-height:0.5rem;--limel-bottom-edge-fade-height:2rem;flex-grow:1;display:flex;flex-direction:column;gap:0.75rem;padding:var(--limel-top-edge-fade-height) 0.5rem var(--limel-bottom-edge-fade-height) 0.5rem;overflow-y:auto;-webkit-overflow-scrolling:touch}limebb-kanban-item{transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color)}limebb-kanban-item:hover,limebb-kanban-item:focus,limebb-kanban-item:focus-visible{will-change:color, background-color, box-shadow, transform}limebb-kanban-item:hover,limebb-kanban-item:focus-visible{transform:translate3d(0, 0.01rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color)}limebb-kanban-item:hover{box-shadow:var(--button-shadow-hovered)}limebb-kanban-item:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}limebb-kanban-item:hover,limebb-kanban-item:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}limebb-kanban-item:focus{outline:none}limebb-kanban-item:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}limebb-kanban-item.is-selected{box-shadow:var(--shadow-focused-state)}limebb-kanban-item.is-selected:hover{box-shadow:var(--shadow-focused-state), var(--button-shadow-hovered)}';export{n as limebb_kanban_group}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as
|
|
1
|
+
import{r as t,c as i,h as e,g as s}from"./p-COtSgrC5.js";import{n as r}from"./p-Cj_3f9vm.js";import{E as a}from"./p-CwMJvF_Z.js";import{n as o}from"./p-ooVD-6_a.js";const h=class{constructor(e){t(this,e),this.change=i(this,"change"),this.layout="grid",this.handleChangeFilter=t=>{t.stopPropagation(),this.filter=t.detail},this.isIncluded=(t,i)=>this.isSeparator(t)?!(0===i&&!t.text):!this.filter||t.text.toLocaleLowerCase().includes(this.filter.toLocaleLowerCase()),this.isEmptyGroup=(t,i,e)=>{if(!this.isSeparator(t))return!1;const s=e[i+1];return!s||this.isSeparator(s)},this.handleChange=t=>{t.preventDefault(),this.handleItemChange(t.detail)},this.handleKeyDown=t=>{var i;if(t.key!==a)return;const e=null===(i=this.host.shadowRoot)||void 0===i?void 0:i.querySelector("limel-list"),s=this.getItems().filter(o(this.isSeparator));e&&s.length>0&&(e.focus(),this.handleItemChange(s[0]))}}render(){return[e("limel-input-field",{key:"e0bfaf51dc8ca8139205db265e9cf4efb9a2bde8",tabIndex:0,value:this.filter,type:"search","leading-icon":"search",placeholder:this.translator.get("webclient.global-search-route"),onChange:this.handleChangeFilter,onKeyDown:this.handleKeyDown}),e("limel-list",{key:"1f788aa87ec1cfc0c3b89df0a2bf3298b123d96d",items:this.getItems(),type:"selectable",class:{"has-interactive-items":!0,"has-grid-layout":"grid"===this.layout},onChange:this.handleChange})]}isSeparator(t){return!!t&&"object"==typeof t&&"separator"in t}get navigator(){return this.platform.get(r.Navigator)}get translator(){var t;return null===(t=this.platform)||void 0===t?void 0:t.get(r.Translate)}handleItemChange(t){this.change.emit(t),this.filter=void 0,this.navigator.navigate(t.path)}getItems(){return this.items.filter(this.isIncluded).filter(o(this.isEmptyGroup))}static get delegatesFocus(){return!0}get host(){return s(this)}};h.style=":host(limebb-browser){isolation:isolate;display:flex;flex-direction:column;background-color:rgba(var(--contrast-100))}limel-input-field{position:sticky;top:0;z-index:1;padding:0.5rem 0.75rem;background-color:rgba(var(--contrast-100), 0.75);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem)}";export{h as limebb_browser}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as r}from"./p-
|
|
1
|
+
import{r as t,c as e,h as r}from"./p-COtSgrC5.js";const o=class{constructor(r){t(this,r),this.change=e(this,"change"),this.getOptionValue=t=>t.value||void 0,this.handleChangeOptions=(t,e=t=>t)=>r=>{r.stopPropagation(),this.change.emit(Object.assign(Object.assign({},this.value),{options:Object.assign(Object.assign({},this.value.options),{[t]:e(r.detail)||void 0})}))}}render(){return[this.renderStyle(),this.renderNumeric()]}renderStyle(){const t=[{value:"long",text:"Long"},{value:"narrow",text:"Narrow"},{value:"short",text:"Short"}],e=t.find((t=>{var e;return t.value&&t.value===(null===(e=this.value.options)||void 0===e?void 0:e.style)}));return r("limel-select",{label:"Style",helperText:"The style of the formatted relative time",options:t,value:e,onChange:this.handleChangeOptions("style",this.getOptionValue)})}renderNumeric(){const t=[{value:"always",text:"Always",secondaryText:'E.g. "in 1 day"'},{value:"auto",text:"Auto",secondaryText:'E.g. "tomorrow"'}],e=t.find((t=>{var e;return t.value&&t.value===(null===(e=this.value.options)||void 0===e?void 0:e.numeric)}));return r("limel-select",{label:"Numeric",helperText:"Whether to use numeric values in the output",options:t,value:e,onChange:this.handleChangeOptions("numeric",this.getOptionValue)})}};export{o as limebb_info_tile_relative_date_format}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as i}from"./p-
|
|
1
|
+
import{r as t,c as e,h as i}from"./p-COtSgrC5.js";import{o as s}from"./p-Cj_3f9vm.js";import{o as r,c as a,a as n}from"./p-hsyotUav.js";const h=[{value:"string",text:"Text"},{value:"number",text:"Number"},{value:"date",text:"Date"},{value:"datetime",text:"Date & time"},{value:"time",text:"Time"}],o=[s.EQUALS,s.NOT_EQUALS,s.LESS,s.LESS_OR_EQUAL,s.GREATER,s.GREATER_OR_EQUAL],l=r(o),u={string:"string",number:"integer",date:"date",datetime:"date",time:"time"},d="__relative_offset__",c="__specific__",v=[{value:"$now",text:"Now"},{value:"$today",text:"Today"},{value:"$tomorrow",text:"Tomorrow"},{value:"$yesterday",text:"Yesterday"},{value:"$this_week",text:"This week"},{value:"$this_month",text:"This month"},{value:"$this_quarter",text:"This quarter"},{value:"$this_year",text:"This year"}],m=new Set(v.map((t=>t.value))),p=[{value:"next",text:"Next"},{value:"previous",text:"Previous"}],f=[{value:"day",text:"days"},{value:"week",text:"weeks"},{value:"month",text:"months"},{value:"quarter",text:"quarters"},{value:"year",text:"years"}],x=/^\$(next|previous)_(day|week|month|quarter|year)\((\d+)\)$/,b=new Set(["date","datetime","time"]),y=class{constructor(i){t(this,i),this.change=e(this,"change"),this.value={},this.direction="next",this.unit="week",this.count=1,this.countInput="1",this.countInvalid=!1,this.handleTypeChange=t=>{var e,i;t.stopPropagation(),this.resetOperandState(),this.emit(this.currentOperator,void 0,null!==(i=null===(e=t.detail)||void 0===e?void 0:e.value)&&void 0!==i?i:"string")},this.handleConditionChange=t=>{t.stopPropagation();const e=a(t.detail);e&&this.emit(e,this.value.operand)},this.handleScalarOperandChange=t=>{t.stopPropagation(),this.emit(this.currentOperator,this.parseScalarOperand(t.detail))},this.handleOperandKeyChange=t=>{var e;t.stopPropagation();const i=this.currentOperator,s=null===(e=t.detail)||void 0===e?void 0:e.value;if(this.operandKey=s,s!==d)return s===c?(this.specificDate||(this.specificDate=new Date),void this.emit(i,this.formatSpecific(this.specificDate))):void this.emit(i,s||void 0);this.emit(i,this.relativeOffsetToken())},this.handleDirectionChange=t=>{var e,i;t.stopPropagation(),this.direction=null!==(i=null===(e=t.detail)||void 0===e?void 0:e.value)&&void 0!==i?i:"next",this.emitRelativeOffset()},this.handleUnitChange=t=>{var e,i;t.stopPropagation(),this.unit=null!==(i=null===(e=t.detail)||void 0===e?void 0:e.value)&&void 0!==i?i:"week",this.emitRelativeOffset()},this.handleCountChange=t=>{t.stopPropagation(),this.countInput=String(t.detail);const e=Number.parseInt(this.countInput,10);Number.isNaN(e)||e<1?this.countInvalid=!0:(this.countInvalid=!1,this.count=e,this.emitRelativeOffset())},this.handleSpecificDateChange=t=>{t.stopPropagation();const e=this.currentOperator,i=t.detail instanceof Date?t.detail:void 0;this.specificDate=i,this.emit(e,i?this.formatSpecific(i):void 0)}}componentWillLoad(){this.syncFromValue(this.value)}onValueChange(t){this.syncFromValue(t)}get valueType(){var t;return null!==(t=this.value.valueType)&&void 0!==t?t:"string"}get currentOperator(){var t;return null!==(t=this.value.operator)&&void 0!==t?t:o[0]}render(){const t=h.find((t=>t.value===this.valueType));return i("div",{key:"adecd47e558632637dec3506429c285dcddf7746",class:"rule"},i("limel-select",{key:"41032f0494cccf8ab9ef429e0648e84b70de7a80",class:"type-select",label:"Compare as",options:h,value:t,onChange:this.handleTypeChange}),i("limebb-filter-condition-picker",{key:"118a34ec6bf0b057ad504690ea2bbb50295697ef",class:"operator-select",platform:this.platform,propertyType:u[this.valueType],conditions:l,value:n(this.currentOperator),onChange:this.handleConditionChange}),this.renderOperand())}renderOperand(){return b.has(this.valueType)?this.renderTemporalOperand():this.renderScalarInput()}renderScalarInput(){return i("limel-input-field",{class:"operand-input",label:"Compared with",type:"number"===this.valueType?"number":"text",value:void 0===this.value.operand?"":String(this.value.operand),onChange:this.handleScalarOperandChange})}renderTemporalOperand(){const t=this.operandOptions(),e=t.find((t=>t.value===this.operandKey));return[i("limel-select",{key:"operand-select",class:"operand-select",label:"Compared with",options:t,value:e,onChange:this.handleOperandKeyChange}),this.renderTemporalSubControl()]}operandOptions(){if("time"===this.valueType)return[{value:"$now",text:"Now"},{value:c,text:"Specific time…"}];const t="datetime"===this.valueType?"Specific date & time…":"Specific date…";return[..."date"===this.valueType?v.filter((t=>"$now"!==t.value)):v,{value:d,text:"Relative offset…"},{value:c,text:t}]}renderTemporalSubControl(){return this.operandKey===d?this.renderOffsetBuilder():this.operandKey===c?this.renderDatePicker():null}renderOffsetBuilder(){const t=p.find((t=>t.value===this.direction)),e=f.find((t=>t.value===this.unit));return i("div",{key:"offset-builder",class:"offset-builder"},i("limel-select",{class:"offset-direction",options:p,value:t,onChange:this.handleDirectionChange}),i("limel-input-field",{class:"offset-count",label:"Amount",type:"number",required:!0,invalid:this.countInvalid,value:this.countInput,onChange:this.handleCountChange}),i("limel-select",{class:"offset-unit",options:f,value:e,onChange:this.handleUnitChange}))}renderDatePicker(){return i("limel-date-picker",{key:"specific-picker",class:"operand-picker",label:"Compared with",type:this.valueType,value:this.specificDate,onChange:this.handleSpecificDateChange})}emitRelativeOffset(){this.emit(this.currentOperator,this.relativeOffsetToken())}relativeOffsetToken(){return`$${this.direction}_${this.unit}(${this.count})`}parseScalarOperand(t){const e=String(t);if(""===e.trim())return;if("number"!==this.valueType)return e;const i=Number(e);return Number.isNaN(i)?void 0:i}formatSpecific(t){return"datetime"===this.valueType?t.toISOString():"time"===this.valueType?`${g(t.getHours())}:${g(t.getMinutes())}:${g(t.getSeconds())}`:`${t.getFullYear()}-${g(t.getMonth()+1)}-${g(t.getDate())}`}emit(t,e,i=this.valueType){const s={valueType:i};t&&(s.operator=t),void 0!==e&&(s.operand=e),this.change.emit(s)}resetOperandState(){this.operandKey=void 0,this.specificDate=void 0,this.direction="next",this.unit="week",this.count=1,this.countInput="1",this.countInvalid=!1}syncFromValue(t){const e=null==t?void 0:t.operand;if("string"!=typeof e||""===e)return;if(!b.has(this.valueType))return void(this.operandKey=void 0);const i=x.exec(e);if(i){const[,t,e,s]=i;return this.operandKey=d,this.direction=t,this.unit=e,this.count=Number(s),this.countInput=s,void(this.countInvalid=!1)}m.has(e)?this.operandKey=e:(this.operandKey=c,this.specificDate=this.parseSpecific(e))}parseSpecific(t){const e=new Date(this.specificDateText(t));return Number.isNaN(e.getTime())?void 0:e}specificDateText(t){return"time"===this.valueType?`1970-01-01T${t}`:"date"===this.valueType?`${t}T00:00:00`:t}static get watchers(){return{value:[{onValueChange:0}]}}};function g(t){return String(t).padStart(2,"0")}y.style=":host{display:block}.rule{display:grid;gap:0.5rem;grid-template-columns:repeat(auto-fit, minmax(12rem, 1fr))}.offset-builder{display:flex;gap:0.5rem;align-items:flex-end;grid-column:1/-1}.offset-builder .offset-count{max-width:6rem}";export{y as limebb_value_comparison_editor}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as t,h as s,H as i}from"./p-
|
|
1
|
+
import{r as e,c as t,h as s,H as i}from"./p-COtSgrC5.js";import{C as r}from"./p-1N3bZuHj.js";const o={display:"block",order:3,width:"6rem",flexShrink:0,marginRight:"-0.5rem"},a=class{constructor(s){e(this,s),this.change=t(this,"change"),this.options=[],this.optionsById=new Map,this.handleChange=e=>{var t;e.stopPropagation();const s=e.detail,i=Array.isArray(s)?s[0]:s;this.change.emit(null!==(t=null==i?void 0:i.value)&&void 0!==t?t:"")}}componentWillLoad(){this.options=[{text:"",value:""},...r.map((e=>({text:e.title,secondaryText:e.description,value:e.id,primaryComponent:{name:"limebb-color-palette-swatches",props:{colors:e.colors,style:o}}})))],this.optionsById=new Map(this.options.map((e=>[e.value,e])))}render(){return s(i,{key:"5aa23a2ef0f4828de43f8098a97b39df77cf6d22"},s("limel-select",{key:"9421937459200b3a35c5afa9d13b18c882e2774e",label:this.label,helperText:this.helperText,disabled:this.disabled,readonly:this.readonly,invalid:this.invalid,required:this.required,options:this.options,value:this.getSelectedOption(),onChange:this.handleChange}))}getSelectedOption(){if(!this.value)return;return this.optionsById.get(this.value)||(this.lastWarnedValue!==this.value&&(console.warn(`limebb-color-palette-picker: palette "${this.value}" was not found in the registry. Rendering as (none).`),this.lastWarnedValue=this.value),this.optionsById.get(""))}};a.style=":host(limebb-color-palette-picker){box-sizing:border-box;display:block;--color-palette-swatches-transform:scale(0.9) translateX(0.5rem)}";export{a as limebb_color_palette_picker}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as i}from"./p-COtSgrC5.js";import{I as s,n as r}from"./p-Cj_3f9vm.js";import{v as o,a as n}from"./p-CQUZjrU4.js";import{i as h,g as l}from"./p-Cz5s8qGk.js";const c=class{constructor(i){t(this,i),this.change=e(this,"change"),this.label="Property",this.required=!1,this.isOpen=!1,this.navigationPath="",this.menuItems=[],this.handleChipSetWrapperClick=t=>{t.stopPropagation()},this.handleChipSetFocus=()=>{this.isOpen||(this.loadMenuItems(),this.isOpen=!0)},this.handleChipSetBlur=()=>{var t;const e=document.activeElement;(null===(t=null==e?void 0:e.tagName)||void 0===t?void 0:t.startsWith("LIMEL-MENU"))||(this.isOpen=!1,this.navigationPath="")},this.handleSelect=t=>{t.stopPropagation();const e=t.detail.value;if(!e)return;const{error:i}=o(this.limetypes,this.limetype,e);i?console.warn("property-selector rejected a property path",{limetype:this.limetype,path:e,error:i}):(this.change.emit(e),this.isOpen=!1,this.navigationPath="")},this.handleNavigateMenu=t=>{var e,i;t.stopPropagation(),this.navigationPath=null!==(i=null===(e=t.detail)||void 0===e?void 0:e.value)&&void 0!==i?i:""},this.handleCancel=()=>{this.isOpen=!1,this.navigationPath=""},this.handleChipSetChange=t=>{t.stopPropagation();const e=t.detail;if(!e)return this.change.emit(""),void(this.navigationPath="");const i=Array.isArray(e)?e:[e];if(0===i.length)this.change.emit(""),this.navigationPath="";else{const t=i.at(-1);t&&this.change.emit(t.value),this.navigationPath=""}}}componentWillLoad(){const t=this.platform.get(r.Application).getLanguage();this.collator=new Intl.Collator(t,{numeric:!0,sensitivity:"base"})}render(){if(!this.limetype||!this.limetypes)return null;const t=this.getChipsForPath(this.navigationPath||this.value||"");return i("limel-menu",{items:this.menuItems,open:this.isOpen,emptyResultMessage:"No available properties",surfaceWidth:"inherit-from-trigger",openDirection:"bottom-end",onSelect:this.handleSelect,onNavigateMenu:this.handleNavigateMenu,onCancel:this.handleCancel},i("div",{slot:"trigger"},i("div",{onClick:this.handleChipSetWrapperClick},i("limel-chip-set",{type:"input",label:this.label,value:t,required:this.required,helperText:this.helperText,delimiter:"›",maxItems:1,onChange:this.handleChipSetChange,onFocus:this.handleChipSetFocus,onStopEdit:this.handleChipSetBlur}))))}loadMenuItems(){const t=this.limetypes[this.limetype];this.menuItems=t?this.createMenuItems(t,""):[]}createMenuItems(t,e){const i=Object.entries(n(t)).filter((([,t])=>!h(t))).map((([t,i])=>this.createPropertyItem(i,a(e,t)))).sort(((t,e)=>this.collator.compare(t.text,e.text)));return 0===i.length?[{text:"No available properties",value:"",disabled:!0}]:i}createPropertyItem(t,e){return{text:this.getPropertyText(t,e),secondaryText:this.getSecondaryText(t),icon:this.getIconForProperty(t),value:e,items:this.createSubMenuLoader(t,e)}}createSubMenuLoader(t,e){var i;const s=null===(i=t.relation)||void 0===i?void 0:i.getLimetype();if(s)return async()=>this.createRelationSubMenu(t,e,s)}createRelationSubMenu(t,e,i){const s=this.createMenuItems(i,e);return[{text:this.getPropertyText(t,e),secondaryText:"Select this relation",icon:this.getIconForProperty(t),value:e},{separator:!0},...s]}getPropertyText(t,e){return t.localname||e.split(".").at(-1)||e}getSecondaryText(t){var e;if(t.relation){const i=t.relation.getLimetype();return(null===(e=null==i?void 0:i.localname)||void 0===e?void 0:e.singular)||"Object"}return t.type.charAt(0).toUpperCase()+t.type.slice(1)}getIconForProperty(t){return t.relation?l(t.relation.getLimetype()):{name:"dot_circle",color:"rgb(var(--color-gray-default))"}}getChipsForPath(t){if(!t)return[];const e=t.split("."),i=[];let s=this.limetypes[this.limetype],r="";for(const t of e){r=a(r,t);const e=n(s)[t];e&&(i.push({id:r,text:e.localname||t,icon:this.getIconForProperty(e),value:r}),e.relation&&(s=e.relation.getLimetype()))}return i}static get delegatesFocus(){return!0}};!function(t,e,i,s){var r,o=arguments.length,n=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var h=t.length-1;h>=0;h--)(r=t[h])&&(n=(o<3?r(n):o>3?r(e,i,n):r(e,i))||n);o>3&&n&&Object.defineProperty(e,i,n)}([s()],c.prototype,"limetypes",void 0);const a=(t,e)=>t?`${t}.${e}`:e;c.style=":host(limebb-property-selector){display:block}limel-menu{display:block;width:100%}";export{c as limebb_property_selector}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as n}from"./p-
|
|
1
|
+
import{o as n}from"./p-Cj_3f9vm.js";const t=[[n.EQUALS,"equals"],[n.NOT_EQUALS,"not-equals"],[n.GREATER,"greater-than"],[n.GREATER_OR_EQUAL,"greater-than-or-equal"],[n.LESS,"less-than"],[n.LESS_OR_EQUAL,"less-than-or-equal"],[n.IN,"in-filter-set"],[n.LIKE,"contains"],[n.BEGINS,"begins-with"],[n.ENDS,"ends-with"]];function r(n){var r;return null===(r=t.find((([,t])=>t===n)))||void 0===r?void 0:r[0]}function e(n){return n.map((n=>{var r;return null===(r=t.find((([t])=>t===n)))||void 0===r?void 0:r[1]})).filter((n=>void 0!==n))}function a(n){if(n)return e([n])[0]}export{a,r as c,e as o}
|
|
@@ -4,16 +4,19 @@ import { LimeWebComponent, LimeWebComponentContext, LimeWebComponentPlatform } f
|
|
|
4
4
|
* Property Selector Component
|
|
5
5
|
*
|
|
6
6
|
* A menu-based property selector that allows users to navigate through properties
|
|
7
|
-
* and relations,
|
|
7
|
+
* and relations, emitting complete property paths.
|
|
8
8
|
*
|
|
9
9
|
* Similar to limec-context-expression but specifically for selecting properties
|
|
10
10
|
* with dot-notation paths.
|
|
11
11
|
*
|
|
12
|
+
* A path ends either in a plain property (`coworker.name`) or in a single
|
|
13
|
+
* relation (`coworker`), which the backend matches by id.
|
|
14
|
+
*
|
|
12
15
|
* Features:
|
|
13
16
|
* - Menu-based navigation through properties
|
|
14
17
|
* - Submenu support for drilling into relations
|
|
15
18
|
* - Internal state management during navigation
|
|
16
|
-
* - Only emits complete paths
|
|
19
|
+
* - Only emits complete paths
|
|
17
20
|
* - Chip-set display showing current path
|
|
18
21
|
* @private
|
|
19
22
|
*/
|
|
@@ -64,9 +67,26 @@ export declare class PropertySelector implements LimeWebComponent {
|
|
|
64
67
|
private handleNavigateMenu;
|
|
65
68
|
private handleCancel;
|
|
66
69
|
private handleChipSetChange;
|
|
70
|
+
/**
|
|
71
|
+
* The menu always opens at the root limetype. `limel-menu` owns the
|
|
72
|
+
* drilling from there, and every item it holds already carries its full
|
|
73
|
+
* path, so opening below the root would build items whose paths are
|
|
74
|
+
* missing their prefix and resolve against the wrong limetype.
|
|
75
|
+
*/
|
|
67
76
|
private loadMenuItems;
|
|
68
|
-
private getCurrentLimetype;
|
|
69
77
|
private createMenuItems;
|
|
78
|
+
private createPropertyItem;
|
|
79
|
+
private createSubMenuLoader;
|
|
80
|
+
/**
|
|
81
|
+
* `limel-menu` navigates into a submenu instead of emitting `select` for
|
|
82
|
+
* the item that owns it, so the relation row cannot select itself. The
|
|
83
|
+
* extra item is what makes the relation reachable as a leaf.
|
|
84
|
+
* @param property
|
|
85
|
+
* @param path
|
|
86
|
+
* @param relatedLimetype
|
|
87
|
+
*/
|
|
88
|
+
private createRelationSubMenu;
|
|
89
|
+
private getPropertyText;
|
|
70
90
|
private getSecondaryText;
|
|
71
91
|
private getIconForProperty;
|
|
72
92
|
private getChipsForPath;
|
|
@@ -24,6 +24,7 @@ import { DateTimeFormat, NumberFormat, RelativeDateTimeFormat } from "./componen
|
|
|
24
24
|
import { InfoTile } from "./components/info-tile/info-tile";
|
|
25
25
|
import { KanbanGroup } from "./components/kanban/kanban-group/kanban-group.types";
|
|
26
26
|
import { KanbanItem } from "./components/kanban/kanban-item/kanban-item.types";
|
|
27
|
+
import { KanbanGroup as KanbanGroup1 } from "./components/kanban/kanban-group/kanban-group";
|
|
27
28
|
import { LimeQuery, OrderByItem, ResponseFormat } from "./components/lime-query-builder/lime-query.types";
|
|
28
29
|
import { ComparisonExpression } from "./components/lime-query-builder/expressions/lime-query-operators";
|
|
29
30
|
import { GroupExpression } from "./components/lime-query-builder/expressions/filter-group-logic";
|
|
@@ -53,6 +54,7 @@ export { DateTimeFormat, NumberFormat, RelativeDateTimeFormat } from "./componen
|
|
|
53
54
|
export { InfoTile } from "./components/info-tile/info-tile";
|
|
54
55
|
export { KanbanGroup } from "./components/kanban/kanban-group/kanban-group.types";
|
|
55
56
|
export { KanbanItem } from "./components/kanban/kanban-item/kanban-item.types";
|
|
57
|
+
export { KanbanGroup as KanbanGroup1 } from "./components/kanban/kanban-group/kanban-group";
|
|
56
58
|
export { LimeQuery, OrderByItem, ResponseFormat } from "./components/lime-query-builder/lime-query.types";
|
|
57
59
|
export { ComparisonExpression } from "./components/lime-query-builder/expressions/lime-query-operators";
|
|
58
60
|
export { GroupExpression } from "./components/lime-query-builder/expressions/filter-group-logic";
|
|
@@ -2345,14 +2347,16 @@ export namespace Components {
|
|
|
2345
2347
|
/**
|
|
2346
2348
|
* Property Selector Component
|
|
2347
2349
|
* A menu-based property selector that allows users to navigate through properties
|
|
2348
|
-
* and relations,
|
|
2350
|
+
* and relations, emitting complete property paths.
|
|
2349
2351
|
* Similar to limec-context-expression but specifically for selecting properties
|
|
2350
2352
|
* with dot-notation paths.
|
|
2353
|
+
* A path ends either in a plain property (`coworker.name`) or in a single
|
|
2354
|
+
* relation (`coworker`), which the backend matches by id.
|
|
2351
2355
|
* Features:
|
|
2352
2356
|
* - Menu-based navigation through properties
|
|
2353
2357
|
* - Submenu support for drilling into relations
|
|
2354
2358
|
* - Internal state management during navigation
|
|
2355
|
-
* - Only emits complete paths
|
|
2359
|
+
* - Only emits complete paths
|
|
2356
2360
|
* - Chip-set display showing current path
|
|
2357
2361
|
* @private
|
|
2358
2362
|
*/
|
|
@@ -3960,7 +3964,7 @@ declare global {
|
|
|
3960
3964
|
new (): HTMLLimebbKanbanElement;
|
|
3961
3965
|
};
|
|
3962
3966
|
interface HTMLLimebbKanbanGroupElementEventMap {
|
|
3963
|
-
"loadMore":
|
|
3967
|
+
"loadMore": KanbanGroup1['identifier'];
|
|
3964
3968
|
}
|
|
3965
3969
|
/**
|
|
3966
3970
|
* This component generates the groups for `limebb-kanban`.
|
|
@@ -4655,14 +4659,16 @@ declare global {
|
|
|
4655
4659
|
/**
|
|
4656
4660
|
* Property Selector Component
|
|
4657
4661
|
* A menu-based property selector that allows users to navigate through properties
|
|
4658
|
-
* and relations,
|
|
4662
|
+
* and relations, emitting complete property paths.
|
|
4659
4663
|
* Similar to limec-context-expression but specifically for selecting properties
|
|
4660
4664
|
* with dot-notation paths.
|
|
4665
|
+
* A path ends either in a plain property (`coworker.name`) or in a single
|
|
4666
|
+
* relation (`coworker`), which the backend matches by id.
|
|
4661
4667
|
* Features:
|
|
4662
4668
|
* - Menu-based navigation through properties
|
|
4663
4669
|
* - Submenu support for drilling into relations
|
|
4664
4670
|
* - Internal state management during navigation
|
|
4665
|
-
* - Only emits complete paths
|
|
4671
|
+
* - Only emits complete paths
|
|
4666
4672
|
* - Chip-set display showing current path
|
|
4667
4673
|
* @private
|
|
4668
4674
|
*/
|
|
@@ -5063,7 +5069,7 @@ declare global {
|
|
|
5063
5069
|
}
|
|
5064
5070
|
}
|
|
5065
5071
|
declare namespace LocalJSX {
|
|
5066
|
-
type OneOf<K extends string, PropT, AttrT = PropT> = { [P in K]: PropT } & { [P in `attr:${K}`
|
|
5072
|
+
type OneOf<K extends string, PropT, AttrT = PropT> = { [P in K]: PropT } & { [P in `attr:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K]?: never };
|
|
5067
5073
|
|
|
5068
5074
|
/**
|
|
5069
5075
|
* An alert dialog interrupts the user flow. It can be used when an explicit
|
|
@@ -6523,7 +6529,7 @@ declare namespace LocalJSX {
|
|
|
6523
6529
|
/**
|
|
6524
6530
|
* Emitted when the load more button is clicked
|
|
6525
6531
|
*/
|
|
6526
|
-
"onLoadMore"?: (event: LimebbKanbanGroupCustomEvent<
|
|
6532
|
+
"onLoadMore"?: (event: LimebbKanbanGroupCustomEvent<KanbanGroup1['identifier']>) => void;
|
|
6527
6533
|
/**
|
|
6528
6534
|
* Reference to the platform service container. Use this to access all platform services like repositories, HTTP client, command bus, navigator, and more. The platform instance is shared across all components in the same application context.
|
|
6529
6535
|
* @inheritdoc
|
|
@@ -7537,14 +7543,16 @@ declare namespace LocalJSX {
|
|
|
7537
7543
|
/**
|
|
7538
7544
|
* Property Selector Component
|
|
7539
7545
|
* A menu-based property selector that allows users to navigate through properties
|
|
7540
|
-
* and relations,
|
|
7546
|
+
* and relations, emitting complete property paths.
|
|
7541
7547
|
* Similar to limec-context-expression but specifically for selecting properties
|
|
7542
7548
|
* with dot-notation paths.
|
|
7549
|
+
* A path ends either in a plain property (`coworker.name`) or in a single
|
|
7550
|
+
* relation (`coworker`), which the backend matches by id.
|
|
7543
7551
|
* Features:
|
|
7544
7552
|
* - Menu-based navigation through properties
|
|
7545
7553
|
* - Submenu support for drilling into relations
|
|
7546
7554
|
* - Internal state management during navigation
|
|
7547
|
-
* - Only emits complete paths
|
|
7555
|
+
* - Only emits complete paths
|
|
7548
7556
|
* - Chip-set display showing current path
|
|
7549
7557
|
* @private
|
|
7550
7558
|
*/
|
|
@@ -9339,14 +9347,16 @@ declare module "@stencil/core" {
|
|
|
9339
9347
|
/**
|
|
9340
9348
|
* Property Selector Component
|
|
9341
9349
|
* A menu-based property selector that allows users to navigate through properties
|
|
9342
|
-
* and relations,
|
|
9350
|
+
* and relations, emitting complete property paths.
|
|
9343
9351
|
* Similar to limec-context-expression but specifically for selecting properties
|
|
9344
9352
|
* with dot-notation paths.
|
|
9353
|
+
* A path ends either in a plain property (`coworker.name`) or in a single
|
|
9354
|
+
* relation (`coworker`), which the backend matches by id.
|
|
9345
9355
|
* Features:
|
|
9346
9356
|
* - Menu-based navigation through properties
|
|
9347
9357
|
* - Submenu support for drilling into relations
|
|
9348
9358
|
* - Internal state management during navigation
|
|
9349
|
-
* - Only emits complete paths
|
|
9359
|
+
* - Only emits complete paths
|
|
9350
9360
|
* - Chip-set display showing current path
|
|
9351
9361
|
* @private
|
|
9352
9362
|
*/
|
|
@@ -1008,6 +1008,7 @@ export declare namespace JSXBase {
|
|
|
1008
1008
|
onClose?: (event: Event) => void;
|
|
1009
1009
|
open?: boolean;
|
|
1010
1010
|
returnValue?: string;
|
|
1011
|
+
closedby?: 'any' | 'closerequest' | 'none';
|
|
1011
1012
|
}
|
|
1012
1013
|
interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1013
1014
|
height?: number | string;
|
|
@@ -1045,6 +1046,8 @@ export declare namespace JSXBase {
|
|
|
1045
1046
|
allowtransparency?: string | boolean;
|
|
1046
1047
|
frameBorder?: number | string;
|
|
1047
1048
|
frameborder?: number | string;
|
|
1049
|
+
fetchPriority?: 'high' | 'low' | 'auto';
|
|
1050
|
+
fetchpriority?: 'high' | 'low' | 'auto';
|
|
1048
1051
|
importance?: 'low' | 'auto' | 'high';
|
|
1049
1052
|
height?: number | string;
|
|
1050
1053
|
loading?: 'lazy' | 'auto' | 'eager';
|
|
@@ -1067,6 +1070,8 @@ export declare namespace JSXBase {
|
|
|
1067
1070
|
crossOrigin?: string;
|
|
1068
1071
|
crossorigin?: string;
|
|
1069
1072
|
decoding?: 'async' | 'auto' | 'sync';
|
|
1073
|
+
fetchPriority?: 'high' | 'low' | 'auto';
|
|
1074
|
+
fetchpriority?: 'high' | 'low' | 'auto';
|
|
1070
1075
|
importance?: 'low' | 'auto' | 'high';
|
|
1071
1076
|
height?: number | string;
|
|
1072
1077
|
loading?: 'lazy' | 'auto' | 'eager';
|
|
@@ -1166,6 +1171,8 @@ export declare namespace JSXBase {
|
|
|
1166
1171
|
}
|
|
1167
1172
|
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1168
1173
|
as?: string;
|
|
1174
|
+
fetchPriority?: 'high' | 'low' | 'auto';
|
|
1175
|
+
fetchpriority?: 'high' | 'low' | 'auto';
|
|
1169
1176
|
href?: string;
|
|
1170
1177
|
hrefLang?: string;
|
|
1171
1178
|
hreflang?: string;
|
|
@@ -1289,6 +1296,8 @@ export declare namespace JSXBase {
|
|
|
1289
1296
|
crossOrigin?: string;
|
|
1290
1297
|
crossorigin?: string;
|
|
1291
1298
|
defer?: boolean;
|
|
1299
|
+
fetchPriority?: 'high' | 'low' | 'auto';
|
|
1300
|
+
fetchpriority?: 'high' | 'low' | 'auto';
|
|
1292
1301
|
importance?: 'low' | 'auto' | 'high';
|
|
1293
1302
|
integrity?: string;
|
|
1294
1303
|
nonce?: string;
|
|
@@ -1404,7 +1413,10 @@ export declare namespace JSXBase {
|
|
|
1404
1413
|
tabIndex?: number;
|
|
1405
1414
|
tabindex?: number | string;
|
|
1406
1415
|
title?: string;
|
|
1416
|
+
translate?: 'yes' | 'no' | (string & {});
|
|
1407
1417
|
popover?: string | null;
|
|
1418
|
+
focusgroup?: string;
|
|
1419
|
+
focusgroupstart?: boolean;
|
|
1408
1420
|
inputMode?: string;
|
|
1409
1421
|
inputmode?: string;
|
|
1410
1422
|
enterKeyHint?: string;
|
package/loader/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface CustomElementsDefineOptions {
|
|
|
8
8
|
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
9
9
|
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
10
10
|
}
|
|
11
|
-
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void
|
|
11
|
+
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
|
|
12
12
|
/**
|
|
13
13
|
* @deprecated
|
|
14
14
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-crm-building-blocks",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
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",
|
|
@@ -33,30 +33,30 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@limetech/eslint-config": "^4.0
|
|
37
|
-
"@limetech/lime-elements": "^39.
|
|
38
|
-
"@limetech/lime-web-components": "^7.
|
|
36
|
+
"@limetech/eslint-config": "^4.1.0",
|
|
37
|
+
"@limetech/lime-elements": "^39.45.3",
|
|
38
|
+
"@limetech/lime-web-components": "^7.4.0",
|
|
39
39
|
"@lundalogik/lime-icons8": "^2.41.0",
|
|
40
|
-
"@lundalogik/limeclient.js": "^1.
|
|
41
|
-
"@stencil/core": "^4.
|
|
42
|
-
"@stencil/sass": "^3.
|
|
43
|
-
"@stencil/vitest": "^1.
|
|
40
|
+
"@lundalogik/limeclient.js": "^1.114.0",
|
|
41
|
+
"@stencil/core": "^4.44.2",
|
|
42
|
+
"@stencil/sass": "^3.3.3",
|
|
43
|
+
"@stencil/vitest": "^1.14.0",
|
|
44
44
|
"@types/json-schema": "^7.0.15",
|
|
45
45
|
"@types/lodash-es": "^4.17.12",
|
|
46
|
-
"@vitest/coverage-v8": "^4.1.
|
|
46
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
47
47
|
"cross-env": "^10.1.0",
|
|
48
48
|
"currency-codes": "^2.2.0",
|
|
49
49
|
"date-fns": "^4.4.0",
|
|
50
|
-
"eslint": "^10.
|
|
50
|
+
"eslint": "^10.9.1",
|
|
51
51
|
"fs": "^0.0.1-security",
|
|
52
|
-
"globals": "^17.
|
|
53
|
-
"happy-dom": "^20.
|
|
52
|
+
"globals": "^17.11.0",
|
|
53
|
+
"happy-dom": "^20.11.12",
|
|
54
54
|
"kompendium": "npm:@limetech/kompendium@^1.3.0",
|
|
55
55
|
"lodash-es": "^4.18.1",
|
|
56
|
-
"prettier": "^3.9.
|
|
56
|
+
"prettier": "^3.9.6",
|
|
57
57
|
"replace-in-file": "^7.2.0",
|
|
58
58
|
"shelljs": "^0.10.0",
|
|
59
59
|
"vitest": "^4.1.9",
|
|
60
|
-
"yargs": "^18.
|
|
60
|
+
"yargs": "^18.1.0"
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i}from"./p-DwHAn7LS.js";import{n as l}from"./p-b78ub0mY.js";const n=[{trigger:"rich-text",icon:"font_style_formatting",translationKey:"webclient.composer-toolbar.rich-text"},{trigger:"mention",icon:"email_sign_92447",translationKey:"webclient.composer-toolbar.mention",helperLabel:"@"},{trigger:"text-snippet",icon:"add_text",translationKey:"webclient.composer-toolbar.text-snippet",helperLabel:"!"},{trigger:"internal-link",icon:"hashtag_large",translationKey:"webclient.composer-toolbar.internal-link",helperLabel:"#"}],o=class{constructor(i){t(this,i),this.triggerInsert=e(this,"triggerInsert"),this.filesSelected=e(this,"filesSelected"),this.mentions=!1,this.textSnippets=!1,this.internalLinks=!1,this.richText=!1,this.handleTriggerSelected=t=>{t.stopPropagation(),this.triggerInsert.emit(t.detail.value)},this.handleFilesSelected=t=>{t.stopPropagation(),this.filesSelected.emit(t.detail)}}render(){return[i("div",{key:"95a495c2289ee07d42b9f2ffd5b9f69634f0c70b",class:"actions"},i("slot",{key:"3729266b77e939e980734556dc1417e34921b9a9",name:"leading"}),this.renderFileInput(),this.renderTriggerActions(),i("slot",{key:"211edc189658f512049b9e9487007a9e5b580134",name:"trailing"})),i("slot",{key:"5c7e90a4577224f004e45b4f8447b330b6878138",name:"primary-action"})]}get translator(){var t;return null===(t=this.platform)||void 0===t?void 0:t.get(l.Translate)}get triggerActions(){const t={mention:this.mentions,"text-snippet":this.textSnippets,"internal-link":this.internalLinks,"rich-text":this.richText};return n.filter((e=>t[e.trigger])).map((t=>{var e,i;return{text:null!==(i=null===(e=this.translator)||void 0===e?void 0:e.get(t.translationKey))&&void 0!==i?i:t.trigger,commandText:t.helperLabel,icon:t.icon,iconOnly:!0,value:t.trigger}}))}renderTriggerActions(){const t=this.triggerActions;if(0!==t.length)return i("limel-action-bar",{actions:t,onItemSelected:this.handleTriggerSelected})}renderFileInput(){var t,e,l,n,o,r;if(this.fileInput)return i("limel-file-input",{accept:null!==(t=this.fileInput.accept)&&void 0!==t?t:"*",multiple:null!==(e=this.fileInput.multiple)&&void 0!==e&&e,disabled:null!==(l=this.fileInput.disabled)&&void 0!==l&&l,onFilesSelected:this.handleFilesSelected},i("limel-icon-button",{icon:"attach",disabled:null!==(n=this.fileInput.disabled)&&void 0!==n&&n,label:null===(o=this.translator)||void 0===o?void 0:o.get("webclient.attach-files"),helperLabel:null===(r=this.translator)||void 0===r?void 0:r.get("webclient.attach-files-helper")}))}};o.style="*{box-sizing:border-box;min-width:0}:host(limebb-composer-toolbar){box-sizing:border-box;display:flex;align-items:center;width:100%;max-width:100%;gap:0.5rem}.actions{display:flex;align-items:center;flex-wrap:nowrap;flex-grow:1}limel-icon-button,::slotted(limel-icon-button){display:inline-block;scale:0.86}limel-file-input{flex-shrink:0}";export{o as limebb_composer_toolbar}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as i}from"./p-DwHAn7LS.js";import{W as t,L as r,n as l}from"./p-b78ub0mY.js";import{g as o}from"./p-Bcm94u_z.js";import{n as s}from"./p-ooVD-6_a.js";const n=["pdf","edit","view"];var c=function(e,i,t,r){var l,o=arguments.length,s=o<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,r);else for(var n=e.length-1;n>=0;n--)(l=e[n])&&(s=(o<3?l(s):o>3?l(i,t,s):l(i,t))||s);return o>3&&s&&Object.defineProperty(i,t,s),s};const a=class{constructor(t){e(this,t),this.fileTypes=["view","contents","download"],this.renderLiveDocs=e=>{if(!this.isLiveDocsAvailable(e))return i("limebb-live-docs-info",null);if(!this.platform.isFeatureEnabled("useOfficeFilePreview"))return i("limebb-empty-state",{value:"Preview of this file type will be available soon",icon:{name:"attention",color:"rgb(var(--color-blue-light))"}});const t=this.getLiveDocsUrl(e);return i("iframe",{src:t,frameBorder:0,marginHeight:0,marginWidth:0})},this.renderFileViewer=e=>{const t=e.filename,r=this.getFileUrl(e);return r?i("limel-file-viewer",{filename:t,url:r,allowFullscreen:!0,allowOpenInNewTab:!0}):this.renderNotFound()},this.renderUnsupported=e=>i("limel-file-viewer",{filename:e.filename,url:void 0,allowFullscreen:!0,allowOpenInNewTab:!0}),this.renderNotFound=()=>[i("section",{class:"not-found"},i("limel-icon",{name:"error",size:"large"}),i("h2",null,this.translator.get("webclient.not-found")),i("p",null,this.translator.get("webclient.no-files-attached",{object:this.getDescriptive(this.limeobject)})))]}render(){const e=this.getFile();if(!e)return this.renderNotFound();const i=o(e.extension);return(0,{fileViewer:this.renderFileViewer,browser:this.renderFileViewer,sharepoint:this.renderLiveDocs,unsupported:this.renderUnsupported}[i])(e)}getLiveDocsUrl(e){let i=[...this.fileTypes];return this.platform.isFeatureEnabled("useOfficeFilePreview")&&(i=["pdf",...i]),i.filter(this.isLiveDocsType).map((i=>e.getUrl(i))).find(Boolean)}getFileUrl(e){return this.fileTypes.filter(s(this.isLiveDocsType)).map((i=>e.getUrl(i))).find(Boolean)}getFile(){const e=this.fileProperty;if(e)return this.limeobject.getFile(e.name)}isLiveDocsAvailable(e){return n.some((i=>e.getUrl(i)))}isLiveDocsType(e){return n.includes(e)}getDescriptive(e){var i;return(null==e?void 0:e.descriptive)||(null===(i=this.limetype)||void 0===i?void 0:i.localname.singular)||this.translator.get("object")}get fileProperty(){if(this.limeobject){if(this.property){const e=this.limeobject.getLimetype().getProperty(this.property);if("file"===e.type)return e}return Object.values(this.limeobject.getLimetype().properties).find((e=>"file"===e.type))}}get translator(){return this.platform.get(l.Translate)}};c([t()],a.prototype,"limeobject",void 0),c([r()],a.prototype,"limetype",void 0),a.style=".not-found{display:flex;flex-direction:column;height:100%;align-items:center;justify-content:center;line-height:1rem;color:rgb(var(--contrast-1100))}.not-found limel-icon{color:rgb(var(--color-red-default))}iframe{height:100%;width:100%}";export{a as limebb_limeobject_file_viewer}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t}from"./p-DwHAn7LS.js";import{U as o,n as i}from"./p-b78ub0mY.js";import{H as c}from"./p-BWMpG2bS.js";let n=class{constructor(e){this.itemId=e}};n=function(e,t,o,i){var c,n=arguments.length,l=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(n<3?c(l):n>3?c(t,o,l):c(t,o))||l);return n>3&&l&&Object.defineProperty(t,o,l),l}([o({id:"limebb-feed.highlight-item"})],n);const l="limetech.limeobject-matches-filter",s=class{constructor(o){e(this,o),this.loaded=t(this,"loaded")}connectedCallback(){}async componentWillLoad(){const e=new c;var t;this.platform.register(c.SERVICE_NAME,e),this.commandBus.register(n,e),(t=this.platform.get(i.RuleRegistry)).listPrimitives().some((e=>e.id===l))&&t.attachMetadata(l,{configComponent:{name:"limebb-rule-arg-filter-editor"}}),(()=>{this.platform.get(i.RuleRegistry).attachMetadata("limetech.value-comparison",{configComponent:{name:"limebb-value-comparison-editor"}})})(),this.loaded.emit()}componentWillUpdate(){}disconnectedCallback(){}get commandBus(){return this.platform.get(i.CommandBus)}};export{s as limebb_loader}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s}from"./p-DwHAn7LS.js";import{I as e,n as o}from"./p-b78ub0mY.js";import{g as r,a as n}from"./p-CQUZjrU4.js";import{g as h}from"./p-DLehg4hi.js";const l=class{constructor(s){t(this,s),this.change=i(this,"change"),this.label="Property",this.required=!1,this.isOpen=!1,this.navigationPath="",this.menuItems=[],this.handleChipSetWrapperClick=t=>{t.stopPropagation()},this.handleChipSetFocus=()=>{this.isOpen||(this.navigationPath=this.value||"",this.loadMenuItems(),this.isOpen=!0)},this.handleChipSetBlur=()=>{var t;const i=document.activeElement;(null===(t=null==i?void 0:i.tagName)||void 0===t?void 0:t.startsWith("LIMEL-MENU"))||(this.isOpen=!1,this.navigationPath="")},this.handleSelect=t=>{t.stopPropagation();const i=t.detail.value;if(!i)return;const s=r(this.limetypes,this.limetype,i);(null==s?void 0:s.relation)?this.navigationPath=i:(this.change.emit(i),this.isOpen=!1,this.navigationPath="")},this.handleNavigateMenu=t=>{var i;t.stopPropagation(),(null===(i=t.detail)||void 0===i?void 0:i.value)&&(this.navigationPath=t.detail.value)},this.handleCancel=()=>{this.isOpen=!1,this.navigationPath=""},this.handleChipSetChange=t=>{t.stopPropagation();const i=t.detail;if(!i)return this.change.emit(""),void(this.navigationPath="");const s=Array.isArray(i)?i:[i];if(0===s.length)this.change.emit(""),this.navigationPath="";else{const t=s.at(-1);t&&this.change.emit(t.value),this.navigationPath=""}}}componentWillLoad(){const t=this.platform.get(o.Application).getLanguage();this.collator=new Intl.Collator(t,{numeric:!0,sensitivity:"base"})}render(){if(!this.limetype||!this.limetypes)return null;const t=this.getChipsForPath(this.navigationPath||this.value||"");return s("limel-menu",{items:this.menuItems,open:this.isOpen,emptyResultMessage:"No available properties",surfaceWidth:"inherit-from-trigger",openDirection:"bottom-end",onSelect:this.handleSelect,onNavigateMenu:this.handleNavigateMenu,onCancel:this.handleCancel},s("div",{slot:"trigger"},s("div",{onClick:this.handleChipSetWrapperClick},s("limel-chip-set",{type:"input",label:this.label,value:t,required:this.required,helperText:this.helperText,delimiter:"›",maxItems:1,onChange:this.handleChipSetChange,onFocus:this.handleChipSetFocus,onStopEdit:this.handleChipSetBlur}))))}loadMenuItems(){const t=this.getCurrentLimetype();this.menuItems=t?this.createMenuItems(t,""):[]}getCurrentLimetype(){if(!this.navigationPath)return this.limetypes[this.limetype];const t=r(this.limetypes,this.limetype,this.navigationPath);return(null==t?void 0:t.relation)?t.relation.getLimetype():this.limetypes[this.limetype]}createMenuItems(t,i){const s=[];if(!t)return s;const e=n(t);for(const[t,o]of Object.entries(e)){if("hasmany"===o.type||"hasandbelongstomany"===o.type)continue;const e=i?`${i}.${t}`:t;let r;if(o.relation&&o.relation){const t=o.relation.getLimetype();t&&(r=async()=>this.createMenuItems(t,e))}s.push({text:o.localname||t,secondaryText:this.getSecondaryText(o),icon:this.getIconForProperty(o),value:e,items:r})}return s.sort(((t,i)=>{var s,e;return this.collator.compare(null!==(s=t.text)&&void 0!==s?s:"",null!==(e=i.text)&&void 0!==e?e:"")})),0===s.length?[{text:"No available properties",value:"",disabled:!0}]:s}getSecondaryText(t){var i;if(t.relation){const s=t.relation.getLimetype();return(null===(i=null==s?void 0:s.localname)||void 0===i?void 0:i.singular)||"Object"}return t.type.charAt(0).toUpperCase()+t.type.slice(1)}getIconForProperty(t){return t.relation?h(t.relation.getLimetype()):{name:"dot_circle",color:"rgb(var(--color-gray-default))"}}getChipsForPath(t){if(!t)return[];const i=t.split("."),s=[];let e=this.limetypes[this.limetype],o="";for(const t of i){o=o?`${o}.${t}`:t;const i=n(e)[t];i&&(s.push({id:o,text:i.localname||t,icon:this.getIconForProperty(i),value:o}),i.relation&&(e=i.relation.getLimetype()))}return s}static get delegatesFocus(){return!0}};(function(t,i,s,e){var o,r=arguments.length,n=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,s,e);else for(var h=t.length-1;h>=0;h--)(o=t[h])&&(n=(r<3?o(n):r>3?o(i,s,n):o(i,s))||n);r>3&&n&&Object.defineProperty(i,s,n)})([e()],l.prototype,"limetypes",void 0),l.style=":host(limebb-property-selector){display:block}limel-menu{display:block;width:100%}";export{l as limebb_property_selector}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as n,a as r}from"./p-b78ub0mY.js";function o(n){var r;return(o=(null===(r=null==n?void 0:n.ui)||void 0===r?void 0:r.color)||"rgb(var(--color-gray-default))").startsWith("lime-")?`var(--${o})`:o;var o}function t(n){var r;return{name:(null===(r=null==n?void 0:n.ui)||void 0===r?void 0:r.icon)||"decision",color:o(n)}}function i(n,r){return n.label===r}function e(n,r){return Object.values(n.properties).find((n=>n&&n.relation&&i(n.relation.getLimetype(),r)))}function u(o,t){const i=e(o,t);return!!i&&function(o){return n(o)&&!r(o)}(i)}function l(n){var r,o,t;const{targetLimetype:i,currentLimetype:e,contextLimetypeName:u,contextId:l,propertyName:v}=n;if(i&&u&&l){if(v){const n=null===(o=null===(r=null==e?void 0:e.getProperty(v))||void 0===r?void 0:r.relation)||void 0===o?void 0:o.getBackreference();if(n)return n.name}return null===(t=Object.values(i.properties).find((n=>{var r;return(null===(r=n.relation)||void 0===r?void 0:r.getLimetype().name)===u})))||void 0===t?void 0:t.name}}export{l as a,i as b,e as c,t as g,u as h}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function t(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var e,n,o=(e,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=e[o],s=t(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);s&&Object.defineProperty(e,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(o)?e[o]=n.l.get(o):void 0!==l&&(e[o]=l)}}))},l=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},s=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.i=t,512&e.o.u&&o(t,e))},i=(t,e)=>e in t,r=(t,n)=>(e||console.error)(t,n),c=t=>e=t,u=new Map,f=new Map,a="http://www.w3.org/1999/xlink",d="undefined"!=typeof window?window:{},p={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},h=t=>Promise.resolve(t),m=(()=>{try{return!!d.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),v=!!m&&(()=>!!d.document&&Object.getOwnPropertyDescriptor(d.document.adoptedStyleSheets,"length").writable)(),y=!1,b=[],w=[],$=(t,e)=>n=>{t.push(n),y||(y=!0,e&&4&p.u?O(j):p.raf(j))},g=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){r(t)}t.length=0},j=()=>{g(b),g(w),(y=b.length>0)&&p.raf(j)},O=t=>h().then(t),S=$(w,!0);function k(t){const e={mode:"open"};e.delegatesFocus=!!(16&t.u);const o=this.attachShadow(e);void 0===n&&(n=null),n&&(v?o.adoptedStyleSheets.push(n):o.adoptedStyleSheets=[...o.adoptedStyleSheets,n])}function E(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var M,C,x=new WeakMap,A=t=>"sc-"+t.h,L=t=>"object"==(t=typeof t)||"function"===t,N=(t,e,...n)=>{let o=null,l=null,s=!1,i=!1;const r=[],c=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof t&&!L(o))&&(o+=""),s&&i?r[r.length-1].m+=o:r.push(s?R(null,o):o),i=s)};if(c(n),e){e.key&&(l=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,r,H);const u=R(t,null);return u.v=e,r.length>0&&(u.$=r),u.j=l,u},R=(t,e)=>({u:0,O:t,m:null!=e?e:null,S:null,$:null,v:null,j:null}),D={},H={forEach:(t,e)=>t.map(P).forEach(e),map:(t,e)=>t.map(P).map(e).map(T)},P=t=>({vattrs:t.v,vchildren:t.$,vkey:t.j,vname:t.k,vtag:t.O,vtext:t.m}),T=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),N(t.vtag,e,...t.vchildren||[])}const e=R(t.vtag,t.vtext);return e.v=t.vattrs,e.$=t.vchildren,e.j=t.vkey,e.k=t.vname,e},U=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const o of e){if(n)break;for(const e of t[o])if("string"==typeof e){n=!0;break}}if(!n)return t;const o={};for(const n of e)o[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return o},W=(t,e)=>null==t||L(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,z=t=>{var e;return null==(e=l(t))?void 0:e.$hostElement$},F=(t,e)=>{const n=z(t);return{emit:t=>V(n,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},V=(t,e,n)=>{const o=p.ce(e,n);return t.dispatchEvent(o),o},q=(t,e,n,o,s,r)=>{if(n===o)return;let c=i(t,e),u=e.toLowerCase();if("class"===e){const e=t.classList,l=Y(n);let s=Y(o);e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&it(o,t);else if(c||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const n=e.slice(5);let s;{const e=l(t);if(e&&e.o&&e.o.t){const t=e.o.t[n];t&&t[1]&&(s=t[1])}}return s||(s=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===o?"":o))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=o}catch(t){}return}{const l=L(o);if((c||l&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?c=!1:null!=n&&t[e]===l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}let i=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(e=u,i=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(i?t.removeAttributeNS(a,e):t.removeAttribute(e)):(!c||4&r||s)&&!l&&1===t.nodeType&&(o=!0===o?"":o,i?t.setAttributeNS(a,e,o):t.setAttribute(e,o))}}else if(e="-"===e[2]?e.slice(3):i(d,u)?u.slice(2):u[2]+e.slice(3),n||o){const l=e.endsWith(Z);e=e.replace(_,""),n&&p.rel(t,e,n,l),o&&p.ael(t,e,o,l)}},G=/\s/,Y=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(G):[]),Z="Capture",_=RegExp(Z+"$"),B=(t,e,n)=>{const o=11===e.S.nodeType&&e.S.host?e.S.host:e.S,l=t&&t.v||{},s=e.v||{};for(const t of I(Object.keys(l)))t in s||q(o,t,l[t],void 0,n,e.u);for(const t of I(Object.keys(s)))q(o,t,l[t],s[t],n,e.u)};function I(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var J=!1,K=!1,Q=[],X=[],tt=(t,e,n)=>{const o=e.$[n];let l,s,i=0;if(null!=o.m)l=o.S=d.document.createTextNode(o.m);else{if(K||(K="svg"===o.O),!d.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.S=d.document.createElementNS(K?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.O),K&&"foreignObject"===o.O&&(K=!1),B(null,o,K),null!=M&&void 0!==M&&l["s-si"]!==M&&l.classList.add(l["s-si"]=M),o.$){const e="template"===o.O?l.content:l;for(i=0;i<o.$.length;++i)s=tt(t,o,i),s&&e.appendChild(s)}"svg"===o.O?K=!1:"foreignObject"===l.tagName&&(K=!0)}return l["s-hn"]=C,l},et=(t,e,n,o,l,s)=>{let i,r=t;for(r.shadowRoot&&r.tagName===C&&(r=r.shadowRoot),"template"===n.O&&(r=r.content);l<=s;++l)o[l]&&(i=tt(null,n,l),i&&(o[l].S=i,rt(r,i,e)))},nt=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.S;st(e),t&&t.remove()}}},ot=(t,e,n=!1)=>t.O===e.O&&(n?(n&&!t.j&&e.j&&(t.j=e.j),!0):t.j===e.j),lt=(t,e,n=!1)=>{const o=e.S=t.S,l=t.$,s=e.$,i=e.O,r=e.m;null==r?(K="svg"===i||"foreignObject"!==i&&K,"slot"!==i||J||t.k!==e.k&&(e.S["s-sn"]=e.k||"",(t=>{p.u|=1;const e=t.closest(C.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(rt(e,t,null!=n?n:null),t["s-sh"]=void 0)}p.u&=-2})(e.S.parentElement)),B(t,e,K),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=e.length-1,d=e[0],p=e[a],h=o.length-1,m=o[0],v=o[h];const y="template"===n.O?t.content:t;for(;r<=a&&c<=h;)if(null==d)d=e[++r];else if(null==p)p=e[--a];else if(null==m)m=o[++c];else if(null==v)v=o[--h];else if(ot(d,m,l))lt(d,m,l),d=e[++r],m=o[++c];else if(ot(p,v,l))lt(p,v,l),p=e[--a],v=o[--h];else if(ot(d,v,l))lt(d,v,l),rt(y,d.S,p.S.nextSibling),d=e[++r],v=o[--h];else if(ot(p,m,l))lt(p,m,l),rt(y,p.S,d.S),p=e[--a],m=o[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].j&&e[f].j===m.j){u=f;break}u>=0?(i=e[u],i.O!==m.O?s=tt(e&&e[c],n,u):(lt(i,m,l),e[u]=void 0,s=i.S),m=o[++c]):(s=tt(e&&e[c],n,c),m=o[++c]),s&&rt(d.S.parentNode,s,d.S)}r>a?et(t,null==o[h+1]?null:o[h+1].S,n,o,c,h):c>h&&nt(e,r,a)})(o,l,e,s,n):null!==s?(null!==t.m&&(o.textContent=""),et(o,null,e,s,0,s.length-1)):!n&&null!==l&&nt(l,0,l.length-1),K&&"svg"===i&&(K=!1)):t.m!==r&&(o.data=r)},st=t=>{t.v&&t.v.ref&&Q.push((()=>t.v.ref(null))),t.$&&t.$.map(st)},it=(t,e)=>{X.push((()=>t(e)))},rt=(t,e,n)=>t.__insertBefore?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n),ct=(t,e)=>{if(e&&!t.M&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.M=()=>{e["s-p"].splice(n-1,1),o()})))}},ut=(t,e)=>{if(t.u|=16,4&t.u)return void(t.u|=512);ct(t,t.C);const n=()=>ft(t,e);if(!e)return S(n);queueMicrotask((()=>{n()}))},ft=(t,e)=>{const n=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e?(t.u|=256,t.A&&(t.A.map((([t,e])=>yt(o,t,e,n))),t.A=void 0),t.L.length&&t.L.forEach((t=>t(n))),l=yt(o,"componentWillLoad",void 0,n)):l=yt(o,"componentWillUpdate",void 0,n),l=at(l,(()=>yt(o,"componentWillRender",void 0,n))),at(l,(()=>pt(t,o,e)))},at=(t,e)=>dt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),dt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,pt=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,o=e.u,l=((t,e)=>{var n,o,l;const s=A(e),i=f.get(s);if(!d.document)return s;if(t=11===t.nodeType?t:d.document,i)if("string"==typeof i){let l,r=x.get(t=t.head||t);if(r||x.set(t,r=new Set),!r.has(s)){l=d.document.createElement("style"),l.textContent=i;const c=null!=(n=p.N)?n:E(d.document);if(null!=c&&l.setAttribute("nonce",c),!(1&e.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(m){const e=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(i),v?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=i+e.textContent:t.prepend(l)}else t.append(l);1&e.u&&t.insertBefore(l,null),4&e.u&&(l.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(s)}}else{let e=x.get(t);if(e||x.set(t,e=new Set),!e.has(s)){const n=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(i.constructor===n.CSSStyleSheet)o=i;else{o=new n.CSSStyleSheet;for(let t=0;t<i.cssRules.length;t++)o.insertRule(i.cssRules[t].cssText,t)}v?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],e.add(s)}}return s})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);ht(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>mt(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}},ht=(t,e,n,o)=>{try{e=e.render&&e.render(),t.u&=-17,t.u|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.o,s=t.R||R(null,null),i=(t=>t&&t.O===D)(e)?e:N(null,null,e);if(C=o.tagName,l.D&&(i.v=i.v||{},l.D.forEach((([t,e])=>{i.v[e]=o[t]}))),n&&i.v)for(const t of Object.keys(i.v))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.v[t]=o[t]);i.O=null,i.u|=4,t.R=i,i.S=s.S=o.shadowRoot||o,M=o["s-sc"],J=!(!(1&l.u)||128&l.u),lt(s,i,n),Q.forEach((t=>t())),Q.length=0,X.forEach((t=>t())),X.length=0})(t,e,o)}catch(e){r(e,t.$hostElement$)}return null},mt=t=>{const e=t.$hostElement$,n=t.i,o=t.C;yt(n,"componentDidRender",void 0,e),64&t.u?yt(n,"componentDidUpdate",void 0,e):(t.u|=64,bt(e),yt(n,"componentDidLoad",void 0,e),t.H(e),o||vt()),t.M&&(t.M(),t.M=void 0),512&t.u&&O((()=>ut(t,!1))),t.u&=-517},vt=()=>{O((()=>V(d,"appload",{detail:{namespace:"lime-crm-building-blocks"}})))},yt=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){r(t,o)}},bt=t=>t.classList.add("hydrated"),wt=(t,e,n,o)=>{const s=l(t);if(!s)return;if(!s)throw Error(`Couldn't find host element for "${o.h}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const i=s.$hostElement$,c=s.l.get(e),u=s.u,f=s.i;if(n=W(n,o.t[e][0]),!(8&u&&void 0!==c||n===c||Number.isNaN(c)&&Number.isNaN(n))){if(s.l.set(e,n),o.P){const t=o.P[e];t&&t.map((t=>{try{const[[o,l]]=Object.entries(t);(128&u||1&l)&&(f?f[o](n,c,e):s.L.push((()=>{s.i[o](n,c,e)})))}catch(t){r(t,i)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(n,c,e)&&!(16&u))return;16&u||ut(s,!1)}}},$t=(e,n,o)=>{var s,i;const r=e.prototype;{e.watchers&&!n.P&&(n.P=U(e.watchers)),e.deserializers&&!n.T&&(n.T=e.deserializers),e.serializers&&!n.U&&(n.U=e.serializers);const c=Object.entries(null!=(s=n.t)?s:{});if(c.map((([e,[s]])=>{if(31&s||2&o&&32&s){const{get:i,set:c}=t(r,e)||{};i&&(n.t[e][0]|=2048),c&&(n.t[e][0]|=4096),(1&o||!i)&&Object.defineProperty(r,e,{get(){{if(!(2048&n.t[e][0]))return((t,e)=>l(this).l.get(e))(0,e);const t=l(this),o=t?t.i:r;if(!o)return;return o[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(t){const i=l(this);if(i){if(c)return void 0===(32&s?this[e]:i.$hostElement$[e])&&i.l.get(e)&&(t=i.l.get(e)),c.call(this,W(t,s)),void wt(this,e,t=32&s?this[e]:i.$hostElement$[e],n);{if(!(1&o&&4096&n.t[e][0]))return wt(this,e,t,n),void(1&o&&!i.i&&i.L.push((()=>{4096&n.t[e][0]&&i.i[e]!==i.l.get(e)&&(i.i[e]=t)})));const l=()=>{const o=i.i[e];!i.l.get(e)&&o&&i.l.set(e,o),i.i[e]=W(t,s),wt(this,e,i.i[e],n)};i.i?l():i.L.push((()=>{l()}))}}}})}})),1&o){const t=new Map;r.attributeChangedCallback=function(e,o,s){p.jmp((()=>{var i;const u=t.get(e),f=l(this);if(this.hasOwnProperty(u)&&(s=this[u],delete this[u]),r.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==s)return;if(null==u){const t=null==f?void 0:f.u;if(f&&t&&!(8&t)&&s!==o){const l=f.i,r=null==(i=n.P)?void 0:i[e];null==r||r.forEach((n=>{const[[i,r]]=Object.entries(n);null!=l[i]&&(128&t||1&r)&&l[i].call(l,s,o,e)}))}return}const a=c.find((([t])=>t===u)),d=a&&4&a[1][0],p=d&&null===s&&void 0===this[u];d&&(s=null!==s&&"false"!==s);const h=Object.getOwnPropertyDescriptor(r,u);p||s==this[u]||h.get&&!h.set||(this[u]=s)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.P)?i:{}),...c.filter((([t,e])=>31&e[0])).map((([e,o])=>{var l;const s=o[1]||e;return t.set(s,e),512&o[0]&&(null==(l=n.D)||l.push([e,s])),s}))]))}}return e},gt=(t,e)=>{yt(t,"connectedCallback",void 0,e)},jt=(t,e)=>{yt(t,"disconnectedCallback",void 0,e||t)},Ot=(t,e={})=>{var n;if(!d.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],s=e.exclude||[],i=d.customElements,c=d.document.head,a=c.querySelector("meta[charset]"),h=d.document.createElement("style"),v=[];let y,b=!0;if(Object.assign(p,e),p.p=new URL(e.resourcesUrl||"./",d.document.baseURI).href,t.map((t=>{t[1].map((e=>{var n,c;const a={u:e[0],h:e[1],t:e[2],W:e[3]};a.t=e[2],a.W=e[3],a.D=[],a.P=U(e[4]),a.U=null!=(n=e[5])?n:{},a.T=null!=(c=e[6])?c:{};const d=a.h,h=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),((t,e)=>{const n={u:0,$hostElement$:t,o:e,l:new Map,F:new Map};n.V=new Promise((t=>n.H=t)),t["s-p"]=[],t["s-rc"]=[],n.L=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,a),1&a.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${a.h}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else k.call(t,a)}connectedCallback(){const t=l(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,St(this,t,a.W)),y&&(clearTimeout(y),y=null),b?v.push(this):p.jmp((()=>(t=>{if(!(1&p.u)){const e=l(t);if(!e)return;const n=e.o,o=()=>{};if(1&e.u)St(t,e,n.W),(null==e?void 0:e.i)?gt(e.i,t):(null==e?void 0:e.V)&&e.V.then((()=>gt(e.i,t)));else{e.u|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){ct(e,e.C=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;try{if(!(32&e.u)){if(e.u|=32,n.q){const l=((t,e)=>{const n=t.h.replace(/-/g,"_"),o=t.q;if(!o)return;const l=u.get(o);return l?l[n]:import(`./${o}.entry.js`).then((t=>(u.set(o,t),t[n])),(t=>{r(t,e.$hostElement$)}))
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${n.h}#${e.G}" was not found`);o.isProxied||(n.P=U(o.watchers),n.U=o.serializers,n.T=o.deserializers,$t(o,n,2),o.isProxied=!0);const s=()=>{};e.u|=8;try{new o(e)}catch(e){r(e,t)}e.u&=-9,e.u|=128,s(),gt(e.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=A(n);if(!f.has(e)){const o=()=>{};((t,e,n)=>{let o=f.get(t);m&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,f.set(t,o)})(e,t,!!(1&n.u)),o()}}}const l=e.C,s=()=>ut(e,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()}catch(n){r(n,t),e.M&&(e.M(),e.M=void 0),e.H&&e.H(t)}})(t,e,n)}o()}})(this))))}disconnectedCallback(){p.jmp((()=>(async t=>{if(!(1&p.u)){const e=l(t);(null==e?void 0:e.Y)&&(e.Y.map((t=>t())),e.Y=void 0),(null==e?void 0:e.i)?jt(e.i,t):(null==e?void 0:e.V)&&e.V.then((()=>jt(e.i,t)))}x.has(t)&&x.delete(t),t.shadowRoot&&x.has(t.shadowRoot)&&x.delete(t.shadowRoot)})(this))),p.raf((()=>{var t;const e=l(this);if(!e)return;const n=v.findIndex((t=>t===this));n>-1&&v.splice(n,1),(null==(t=null==e?void 0:e.R)?void 0:t.S)instanceof Node&&!e.R.S.isConnected&&delete e.R.S}))}componentOnReady(){var t;return null==(t=l(this))?void 0:t.V}};a.q=t[0],s.includes(d)||i.get(d)||(o.push(d),i.define(d,$t(h,a,1)))}))})),o.length>0&&(h.textContent+=o.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",h.innerHTML.length)){h.setAttribute("data-styles","");const t=null!=(n=p.N)?n:E(d.document);null!=t&&h.setAttribute("nonce",t),c.insertBefore(h,a?a.nextSibling:c.firstChild)}b=!1,v.length?v.map((t=>t.connectedCallback())):p.jmp((()=>y=setTimeout(vt,30)))},St=(t,e,n)=>{n&&d.document&&n.map((([n,o,l])=>{const s=t,i=kt(e,l),r=Et(n);p.ael(s,o,i,r),(e.Y=e.Y||[]).push((()=>p.rel(s,o,i,r)))}))},kt=(t,e)=>n=>{var o;try{256&t.u?null==(o=t.i)||o[e](n):(t.A=t.A||[]).push([e,n])}catch(e){r(e,t.$hostElement$)}},Et=t=>({passive:!!(1&t),capture:!!(2&t)}),Mt=t=>p.N=t;export{D as H,c as a,Ot as b,F as c,z as g,N as h,h as p,s as r,Mt as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as r,H as a}from"./p-DwHAn7LS.js";const t=class{constructor(r){e(this,r),this.colors=[]}render(){return r(a,{key:"62b7189e13fb67c79e8da299a40b1ec621a2886f","aria-hidden":"true"},r("ol",{key:"ae4bda8db0f631c0a8d7ea42f033c4bb1e37b1da"},this.colors.map(((e,a)=>r("li",{key:a,style:{backgroundColor:e}})))))}};t.style=":host(limebb-color-palette-swatches){pointer-events:none;transform:var(--color-palette-swatches-transform, unset);box-sizing:border-box;display:block;width:100%}*{box-sizing:border-box;min-width:0;min-height:0}ol{list-style:none;display:grid;grid-template-columns:repeat(auto-fit, minmax(0.75rem, 1fr));gap:var(--color-palette-swatches-gap, 0.25rem);margin:0;padding:var(--color-palette-swatches-gap, 0.25rem);border-radius:0.5rem}li{aspect-ratio:1;border-radius:0.25rem}";export{t as limebb_color_palette_swatches}
|