@limetech/lime-crm-building-blocks 2.3.0 → 2.4.0
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 +20 -0
- package/dist/cjs/{condition-tree-translate-B_qIQz9s.js → condition-tree-translate-BQwKtiNZ.js} +1 -1
- package/dist/cjs/{filter-group-logic-Bt5tIbfP.js → filter-group-logic-CeGmYgsu.js} +1 -1
- package/dist/cjs/{filter-operators-CzIq9qKC.js → filter-operators-C3T2czC_.js} +1 -1
- package/dist/cjs/{index-mDIvByXc.js → index-Du4GyM0Y.js} +13 -8
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{index.esm-D1EzGa8X.js → index.esm-C2zw0QJK.js} +2 -2
- package/dist/cjs/lime-crm-building-blocks.cjs.js +3 -3
- package/dist/cjs/{lime-query-validation-Df4GZRGm.js → lime-query-validation-CzYkphmi.js} +1 -1
- package/dist/cjs/limebb-alert-dialog.cjs.entry.js +1 -1
- package/dist/cjs/limebb-browser.cjs.entry.js +2 -2
- package/dist/cjs/limebb-chat-icon-list_3.cjs.entry.js +2 -2
- package/dist/cjs/limebb-chat-list.cjs.entry.js +9 -4
- package/dist/cjs/limebb-color-palette-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-color-palette-swatches.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/limebb-condition-tree-editor.cjs.entry.js +24 -9
- package/dist/cjs/limebb-condition-tree.cjs.entry.js +121 -34
- package/dist/cjs/limebb-currency-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +1 -1
- package/dist/cjs/limebb-data-cells.cjs.entry.js +2 -2
- package/dist/cjs/limebb-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/limebb-date-range.cjs.entry.js +1 -1
- package/dist/cjs/limebb-document-chips.cjs.entry.js +1 -1
- package/dist/cjs/limebb-document-item.cjs.entry.js +1 -1
- package/dist/cjs/limebb-document-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-item-thumbnail-file-info.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/limebb-feed.cjs.entry.js +2 -2
- package/dist/cjs/limebb-filter-chip_6.cjs.entry.js +4 -4
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +3 -3
- package/dist/cjs/limebb-rule-arg-filter-editor.cjs.entry.js +2 -2
- package/dist/cjs/limebb-rule-condition-chip.cjs.entry.js +71 -0
- package/dist/cjs/limebb-rule-condition-editor-CHWTMOmi.js +285 -0
- package/dist/cjs/limebb-rule-condition-editor.cjs.entry.js +9 -0
- package/dist/cjs/limebb-rule-editor.cjs.entry.js +217 -573
- 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 +3 -3
- package/dist/cjs/{limetype-BPuuRLtH.js → limetype-BzVDjAKS.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{web-component-template-DRMW9wHN.js → web-component-template-C-AkY5as.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/chat-list/chat-list.js +7 -2
- package/dist/collection/components/condition-tree/condition-tree-editor/condition-tree-editor.js +46 -5
- package/dist/collection/components/condition-tree/condition-tree-nodes.js +13 -6
- package/dist/collection/components/condition-tree/condition-tree.js +69 -18
- package/dist/collection/components/condition-tree/group-node-view.js +41 -5
- package/dist/collection/components/condition-tree/leaf-node-view.js +19 -2
- package/dist/collection/components/rule-editor/condition-tree-adapter.js +229 -0
- package/dist/collection/components/rule-editor/rule-condition-chip/rule-condition-chip.css +4 -0
- package/dist/collection/components/rule-editor/rule-condition-chip/rule-condition-chip.js +322 -0
- package/dist/collection/components/rule-editor/rule-condition-editor/rule-condition-editor.css +5 -0
- package/dist/collection/components/rule-editor/rule-condition-editor/rule-condition-editor.js +259 -0
- package/dist/collection/components/rule-editor/rule-editor.css +1 -73
- package/dist/collection/components/rule-editor/rule-editor.js +143 -153
- package/dist/collection/components/rule-editor/rule-issues.js +89 -0
- package/dist/collection/components/rule-editor/view-helpers.js +19 -41
- package/dist/components/condition-tree-adapter.js +1 -0
- package/dist/components/condition-tree-editor.js +1 -1
- package/dist/components/condition-tree.js +1 -0
- package/dist/components/limebb-chat-list.js +1 -1
- package/dist/components/limebb-condition-tree.js +1 -1
- package/dist/components/limebb-rule-condition-chip.d.ts +11 -0
- package/dist/components/limebb-rule-condition-chip.js +1 -0
- package/dist/components/limebb-rule-condition-editor.d.ts +11 -0
- package/dist/components/limebb-rule-condition-editor.js +1 -0
- package/dist/components/limebb-rule-editor.js +1 -1
- package/dist/esm/{condition-tree-translate-CBeXbZ_z.js → condition-tree-translate-ZQptbaXF.js} +1 -1
- package/dist/esm/{filter-group-logic-CzThKf85.js → filter-group-logic-nqCMmV0e.js} +1 -1
- package/dist/esm/{filter-operators-u3T1PKhm.js → filter-operators-QbKK26m2.js} +1 -1
- package/dist/esm/{index-COtSgrC5.js → index-BK566_jX.js} +13 -8
- package/dist/esm/{index.esm-B9D_MXA6.js → index.esm-C__n3hug.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/lime-crm-building-blocks.js +4 -4
- package/dist/esm/{lime-query-validation-dGoN_93p.js → lime-query-validation-BvB2v-yP.js} +1 -1
- package/dist/esm/limebb-alert-dialog.entry.js +1 -1
- package/dist/esm/limebb-browser.entry.js +2 -2
- package/dist/esm/limebb-chat-icon-list_3.entry.js +2 -2
- package/dist/esm/limebb-chat-list.entry.js +9 -4
- package/dist/esm/limebb-color-palette-picker.entry.js +1 -1
- package/dist/esm/limebb-color-palette-swatches.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/limebb-condition-tree-editor.entry.js +24 -9
- package/dist/esm/limebb-condition-tree.entry.js +121 -34
- package/dist/esm/limebb-currency-picker.entry.js +2 -2
- package/dist/esm/limebb-dashboard-widget.entry.js +1 -1
- package/dist/esm/limebb-data-cells.entry.js +2 -2
- package/dist/esm/limebb-date-picker.entry.js +2 -2
- package/dist/esm/limebb-date-range.entry.js +1 -1
- package/dist/esm/limebb-document-chips.entry.js +1 -1
- package/dist/esm/limebb-document-item.entry.js +1 -1
- package/dist/esm/limebb-document-picker.entry.js +1 -1
- package/dist/esm/limebb-empty-state.entry.js +1 -1
- package/dist/esm/limebb-feed-item-thumbnail-file-info.entry.js +1 -1
- package/dist/esm/limebb-feed-timeline-item.entry.js +2 -2
- package/dist/esm/limebb-feed.entry.js +2 -2
- package/dist/esm/limebb-filter-chip_6.entry.js +4 -4
- package/dist/esm/limebb-icon-picker.entry.js +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +3 -3
- package/dist/esm/limebb-rule-arg-filter-editor.entry.js +2 -2
- package/dist/esm/limebb-rule-condition-chip.entry.js +69 -0
- package/dist/esm/limebb-rule-condition-editor-DeY758N-.js +281 -0
- package/dist/esm/limebb-rule-condition-editor.entry.js +3 -0
- package/dist/esm/limebb-rule-editor.entry.js +217 -573
- 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 +3 -3
- package/dist/esm/{limetype-BcELY1NF.js → limetype-Muf9VutX.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{web-component-template-DxbwHsvw.js → web-component-template-D1JpeNy_.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-0621e884.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-ab0f8170.entry.js → p-087d5651.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ce2755a0.entry.js → p-1917956c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-07a9c8f2.entry.js → p-1ae4962d.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-021e452a.entry.js → p-23d2632b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ffca266e.entry.js → p-251784bf.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-635a45ad.entry.js → p-27240bb0.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-2adeac66.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-6a8422d2.entry.js → p-32339f09.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-1990e369.entry.js → p-3446290c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d495cc19.entry.js → p-35d9b3ad.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-eed0b2c2.entry.js → p-3865eec4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-dacf9e77.entry.js → p-394b521a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8c36b847.entry.js → p-39a36450.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-97e75dee.entry.js → p-3b672249.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ad5dcefd.entry.js → p-47b56a75.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-402a9c97.entry.js → p-4af3ea2c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e7dee7ac.entry.js → p-4bdaf436.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-cf66256a.entry.js → p-4f60b7bc.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-90f0c96b.entry.js → p-4fd9d615.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-28550961.entry.js → p-53b44865.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-7ae27308.entry.js → p-550606f6.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-573f9e95.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-a5f3913d.entry.js → p-5c541d0c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ce723c21.entry.js → p-612c6b28.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-5f682c06.entry.js → p-627b0c79.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-49d042aa.entry.js → p-6303201b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-6f923112.entry.js → p-687640ed.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8e9fcf3c.entry.js → p-6bd61290.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-dcb49a62.entry.js → p-6d2dba20.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-0193ed83.entry.js → p-6e2553b4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-Cz5s8qGk.js → p-7DQ7qvMa.js} +1 -1
- package/dist/lime-crm-building-blocks/p-7c3d3e06.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-dd02821e.entry.js → p-7d53756b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-79d743bb.entry.js → p-895c8966.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-da35bcc7.entry.js → p-8c0455e4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-a201df35.entry.js → p-8f80d024.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-32a81271.entry.js → p-949ed056.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-cf03a756.entry.js → p-985ae787.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-9959019d.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-DLec4QaM.js → p-B7whyaAL.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-COtSgrC5.js → p-BK566_jX.js} +1 -1
- package/dist/lime-crm-building-blocks/p-ClYOFrOo.js +1 -0
- package/dist/lime-crm-building-blocks/{p-DVypQWZ4.js → p-Cve-3L4y.js} +1 -1
- package/dist/lime-crm-building-blocks/p-DOULPRTn.js +1 -0
- package/dist/lime-crm-building-blocks/{p-Cj_3f9vm.js → p-DhGRAeCH.js} +1 -1
- package/dist/lime-crm-building-blocks/p-DjoMDjMo.js +1 -0
- package/dist/lime-crm-building-blocks/p-DuWEcQ7n.js +1 -0
- package/dist/lime-crm-building-blocks/{p-dfaef740.entry.js → p-a1052482.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3babfbe0.entry.js → p-a14bed52.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-cc53a8ca.entry.js → p-a2e291b4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-8a17a7ea.entry.js → p-a2ebd5a4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-0cbe2180.entry.js → p-a4556649.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f5c1ed0c.entry.js → p-a598f92f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b44b9dbc.entry.js → p-a938384f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f3539042.entry.js → p-ab0210b2.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c0d49532.entry.js → p-b272730c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-0370200d.entry.js → p-b4571d32.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-551a36f6.entry.js → p-b72c748b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-0ed9a7cc.entry.js → p-bac9d3a9.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-bd6c12bc.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-81783bd4.entry.js → p-bf693702.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-e6cc320a.entry.js → p-c58067ec.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-08797129.entry.js → p-c7bfa2e4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-a953d48e.entry.js → p-d4635a39.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-d3c58bc1.entry.js → p-d6099dc7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-bf05d9de.entry.js → p-d6c7cf0f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-1ebe45b8.entry.js → p-da79c5fc.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-e18a2cef.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-f9991c35.entry.js → p-e19f4b3b.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-46aec244.entry.js → p-eb95767a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-ddc4ede8.entry.js → p-ec9b5e30.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-95ba7a84.entry.js → p-f49250f3.entry.js} +1 -1
- package/dist/types/components/condition-tree/condition-tree-editor/condition-tree-editor.d.ts +20 -3
- package/dist/types/components/condition-tree/condition-tree-nodes.d.ts +11 -4
- package/dist/types/components/condition-tree/condition-tree-view-context.d.ts +3 -2
- package/dist/types/components/condition-tree/condition-tree.d.ts +41 -8
- package/dist/types/components/condition-tree/condition-tree.types.d.ts +21 -2
- package/dist/types/components/rule-editor/condition-tree-adapter.d.ts +67 -0
- package/dist/types/components/rule-editor/rule-condition-chip/rule-condition-chip.d.ts +82 -0
- package/dist/types/components/rule-editor/rule-condition-editor/rule-condition-editor.d.ts +61 -0
- package/dist/types/components/rule-editor/rule-editor.d.ts +105 -47
- package/dist/types/components/rule-editor/rule-issues.d.ts +12 -0
- package/dist/types/components/rule-editor/view-helpers.d.ts +16 -35
- package/dist/types/components.d.ts +304 -79
- package/dist/types/stencil-public-runtime.d.ts +61 -55
- package/package.json +4 -4
- package/dist/cjs/limebb-rule-chip-popover.cjs.entry.js +0 -82
- package/dist/collection/components/rule-editor/chip-picker-view.js +0 -148
- package/dist/collection/components/rule-editor/group-node-view.js +0 -79
- package/dist/collection/components/rule-editor/rule-chip-popover/rule-chip-popover.css +0 -36
- package/dist/collection/components/rule-editor/rule-chip-popover/rule-chip-popover.js +0 -344
- package/dist/collection/components/rule-editor/rule-editor-views.js +0 -43
- package/dist/collection/components/rule-editor/rule-operations.js +0 -145
- package/dist/components/limebb-rule-chip-popover.d.ts +0 -11
- package/dist/components/limebb-rule-chip-popover.js +0 -1
- package/dist/components/rule-chip-popover.js +0 -1
- package/dist/esm/limebb-rule-chip-popover.entry.js +0 -80
- package/dist/lime-crm-building-blocks/p-1578c8f0.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-229d018c.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-6331f9c5.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-705c53c0.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-84ad9159.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-BxCq236x.js +0 -1
- package/dist/lime-crm-building-blocks/p-Css8537O.js +0 -1
- package/dist/lime-crm-building-blocks/p-a58c9e1e.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-hsyotUav.js +0 -1
- package/dist/types/components/rule-editor/chip-picker-view.d.ts +0 -35
- package/dist/types/components/rule-editor/group-node-view.d.ts +0 -11
- package/dist/types/components/rule-editor/rule-chip-popover/rule-chip-popover.d.ts +0 -43
- package/dist/types/components/rule-editor/rule-editor-views.d.ts +0 -58
- package/dist/types/components/rule-editor/rule-operations.d.ts +0 -70
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var index_esm = require('./index.esm-
|
|
5
|
-
var limetype = require('./limetype-
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
|
+
var index_esm = require('./index.esm-C2zw0QJK.js');
|
|
5
|
+
var limetype = require('./limetype-BzVDjAKS.js');
|
|
6
6
|
var nonNull = require('./non-null-BMnREsqJ.js');
|
|
7
7
|
var _baseIsEqual = require('./_baseIsEqual-Ba8g_ag_.js');
|
|
8
8
|
var _MapCache = require('./_MapCache-DHOVMBKi.js');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
4
|
|
|
5
5
|
const orderByItemCss = () => `*{box-sizing:border-box}:host(limebb-lime-query-order-by-item){box-sizing:border-box;display:flex;flex-direction:row;align-items:flex-start;gap:0.5rem;width:100%}limebb-property-selector{flex-grow:1}.control-buttons{flex-shrink:0;display:flex;align-items:center;gap:0.25rem}`;
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var index_esm = require('./index.esm-
|
|
5
|
-
var limeQueryValidation = require('./lime-query-validation-
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
|
+
var index_esm = require('./index.esm-C2zw0QJK.js');
|
|
5
|
+
var limeQueryValidation = require('./lime-query-validation-CzYkphmi.js');
|
|
6
6
|
require('./property-resolution-Bz1zPcfq.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var index_esm = require('./index.esm-
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
|
+
var index_esm = require('./index.esm-C2zw0QJK.js');
|
|
5
5
|
var extensionMapping = require('./extension-mapping-CvK-Mz3f.js');
|
|
6
6
|
var negate = require('./negate-Bg3SqQh6.js');
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
4
|
|
|
5
5
|
const liveDocsInfoCss = () => `:host(limebb-live-docs-info){padding:1rem 2rem;display:flex;flex-direction:column;gap:0.5rem;border-style:dashed;border-color:rgb(var(--contrast-700));border-radius:0 0 0.5rem 0.5rem;border-width:0 1px 1px 1px}.header{display:flex;align-items:center;gap:0.5rem}h2,p{margin:0;color:rgb(var(--contrast-1100))}h2{font-size:large;font-weight:300}limel-icon{color:rgb(var(--color-orange-default));width:2rem}a{all:unset;cursor:pointer;transition:color 0.2s ease;color:rgb(var(--color-sky-default));margin-left:0.5rem}a:hover{color:rgb(var(--color-sky-dark));text-decoration:underline}`;
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var index_esm = require('./index.esm-
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
|
+
var index_esm = require('./index.esm-C2zw0QJK.js');
|
|
5
5
|
var highlightItem_handler = require('./highlight-item.handler-BVqvzXiD.js');
|
|
6
6
|
|
|
7
7
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var index_esm = require('./index.esm-
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
|
+
var index_esm = require('./index.esm-C2zw0QJK.js');
|
|
5
5
|
var get = require('./get-D1lIKhWp.js');
|
|
6
6
|
var _Uint8Array = require('./_Uint8Array-CXHKqIsu.js');
|
|
7
7
|
var _MapCache = require('./_MapCache-DHOVMBKi.js');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
4
|
|
|
5
5
|
const mentionGroupCounterCss = () => `:host(limebb-mention-group-counter){order:2;margin-right:-0.5rem;box-sizing:border-box;transition:background-color 0.2s ease;min-width:fit-content;font-size:smaller;border-radius:9rem;cursor:help;padding:0.25rem 0.5rem;line-height:1;border:1px solid rgb(var(--contrast-500))}:host(limebb-mention-group-counter:hover){border-color:rgb(var(--contrast-100));background-color:rgb(var(--contrast-600))}`;
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
4
|
var dom = require('./dom--t_vVnyU.js');
|
|
5
|
-
var index_esm = require('./index.esm-
|
|
5
|
+
var index_esm = require('./index.esm-C2zw0QJK.js');
|
|
6
6
|
|
|
7
7
|
const mentionCss = () => `:host(limebb-mention){display:inline}a{transition:background-color 0.2s ease;white-space:normal;overflow-wrap:break-word;word-break:break-word;padding:0 0.125rem;border-radius:0.25rem;text-decoration:none;color:rgb(var(--color-blue-default));background-color:rgb(var(--color-blue-default), 0.06)}a:hover{background-color:rgb(var(--color-blue-default), 0.16)}a:before,span:before{content:"@";opacity:0.7}`;
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var index_esm = require('./index.esm-
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
|
+
var index_esm = require('./index.esm-C2zw0QJK.js');
|
|
5
5
|
|
|
6
6
|
const notificationItemCss = () => `@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}`;
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var index_esm = require('./index.esm-
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
|
+
var index_esm = require('./index.esm-C2zw0QJK.js');
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Processes a list of notifications by adding date headers and a "new items" indicator.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var limetype = require('./limetype-
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
|
+
var limetype = require('./limetype-BzVDjAKS.js');
|
|
5
5
|
var dom = require('./dom--t_vVnyU.js');
|
|
6
|
-
var index_esm = require('./index.esm-
|
|
6
|
+
var index_esm = require('./index.esm-C2zw0QJK.js');
|
|
7
7
|
|
|
8
8
|
const logger = index_esm.It('object-resolver');
|
|
9
9
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var index_esm = require('./index.esm-
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
|
+
var index_esm = require('./index.esm-C2zw0QJK.js');
|
|
5
5
|
var normalizeValue = require('./normalize-value-CQXayJzh.js');
|
|
6
6
|
|
|
7
7
|
const percentageVisualizerCss = () => `@charset "UTF-8";*,::before,::after{box-sizing:border-box}:host(limebb-percentage-visualizer){width:100%}limel-notched-outline:not([invalid]:not([invalid=false])) .limel-notched-outline--outlines{--limel-notched-outline-border-color:transparent}div[slot=content]:focus{outline:none}div[slot=content]:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}div[slot=content]{display:flex;align-items:center;gap:0.5rem;border-radius:inherit;background-color:transparent !important}:host(limebb-percentage-visualizer[invalid]:not([invalid=false])) div[slot=content]{border-color:rgb(var(--color-red-default))}:host(limebb-percentage-visualizer):has(label) div[slot=content]{min-height:2.5rem;padding:0 0.375rem 0 1rem}.percentage-text{flex-shrink:0;min-width:2.5rem}:host([range-min^="-"]) .percentage-text{min-width:3.75rem}.percent-sign{opacity:0.4}.zero-point{content:"";position:absolute;transform:translateX(-50%);left:var(--limebb-percentage-visualizer-zero-point-position);height:0.25rem;width:0.25rem;border-radius:50%;box-shadow:0 0 0 0.125rem var(--limebb-percentage-visualizer-zero-point-color, rgb(var(--contrast-1200), 0.3));background-color:var(--limebb-percentage-visualizer-zero-point-color, rgb(var(--contrast-200), 0.9))}.percentage-bar{overflow:hidden;flex-grow:1;position:relative;display:flex;align-items:center;height:0.5rem;min-width:2rem;border-radius:0.5rem;background-color:rgb(var(--contrast-800), 0.6)}.percentage-fill{transition:width 0.2s ease;position:absolute;margin:auto;left:var(--limebb-percentage-visualizer-zero-point-position, 0);rotate:var(--limebb-percentage-visualizer-rotate, 0deg);transform-origin:left center;width:var(--limebb-percentage-visualizer-width);height:100%;border-radius:0.5rem}:host(limebb-percentage-visualizer:focus),:host(limebb-percentage-visualizer:focus-visible),:host(limebb-percentage-visualizer:focus-within){--limel-h-l-grid-template-rows-transition-speed:0.46s;--limel-h-l-grid-template-rows:1fr}:host(limebb-percentage-visualizer){--limel-h-l-grid-template-rows-transition-speed:0.3s;--limel-h-l-grid-template-rows:0fr}:host(limebb-percentage-visualizer:focus) limel-helper-line,:host(limebb-percentage-visualizer:focus-visible) limel-helper-line,:host(limebb-percentage-visualizer:focus-within) limel-helper-line,:host(limebb-percentage-visualizer:hover) limel-helper-line{will-change:grid-template-rows}.percentage-fill{background-color:var(--percentage-visualizer-color, var(--limebb-percentage-visualizer-color, var(--mdc-theme-primary)))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-200or-larger-negative) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-red-darker))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-200to100-negative) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-red-dark))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-100to90-negative) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-red-dark))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-90to80-negative) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-red-dark))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-80to70-negative) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-red-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-70to60-negative) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-red-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-60to50-negative) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-coral-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-50to40-negative) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-coral-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-40to30-negative) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-orange-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-30to20-negative) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-orange-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-20to10-negative) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-amber-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-10to0-negative) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-amber-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-0) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--contrast-800))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-0to10-positive) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-yellow-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-10to20-positive) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-yellow-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-20to30-positive) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-grass-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-30to40-positive) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-grass-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-40to50-positive) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-lime-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-50to60-positive) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-lime-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-60to70-positive) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-teal-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-70to80-positive) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-teal-default))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-80to90-positive) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-teal-dark))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-90to100-positive) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-teal-dark))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-100to200-positive) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-teal-dark))}:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-200or-larger-positive) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-teal-darker))}:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-0) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--contrast-800))}:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-0to10-positive) .percentage-fill{--limebb-percentage-visualizer-color:var(--color-percent--0to10)}:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-10to20-positive) .percentage-fill{--limebb-percentage-visualizer-color:var(--color-percent--10to20)}:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-20to30-positive) .percentage-fill{--limebb-percentage-visualizer-color:var(--color-percent--20to30)}:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-30to40-positive) .percentage-fill{--limebb-percentage-visualizer-color:var(--color-percent--30to40)}:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-40to50-positive) .percentage-fill{--limebb-percentage-visualizer-color:var(--color-percent--40to50)}:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-50to60-positive) .percentage-fill{--limebb-percentage-visualizer-color:var(--color-percent--50to60)}:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-60to70-positive) .percentage-fill{--limebb-percentage-visualizer-color:var(--color-percent--60to70)}:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-70to80-positive) .percentage-fill{--limebb-percentage-visualizer-color:var(--color-percent--70to80)}:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-80to90-positive) .percentage-fill{--limebb-percentage-visualizer-color:var(--color-percent--80to90)}:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-90to100-positive) .percentage-fill{--limebb-percentage-visualizer-color:var(--color-percent--90to100)}:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-100to200-positive) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-teal-dark))}:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-200or-larger-positive) .percentage-fill{--limebb-percentage-visualizer-color:rgb(var(--color-teal-darker))}`;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var index_esm = require('./index.esm-
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
|
+
var index_esm = require('./index.esm-C2zw0QJK.js');
|
|
5
5
|
var propertyResolution = require('./property-resolution-Bz1zPcfq.js');
|
|
6
|
-
var limetype = require('./limetype-
|
|
6
|
+
var limetype = require('./limetype-BzVDjAKS.js');
|
|
7
7
|
|
|
8
8
|
const propertySelectorCss = () => `:host(limebb-property-selector){display:block}limel-menu{display:block;width:100%}`;
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var index_esm = require('./index.esm-
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
|
+
var index_esm = require('./index.esm-C2zw0QJK.js');
|
|
5
5
|
|
|
6
6
|
const ruleArgFilterEditorCss = () => `:host{display:block}`;
|
|
7
7
|
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
|
+
|
|
5
|
+
const ruleConditionChipCss = () => `:host{display:inline-flex;min-width:0}`;
|
|
6
|
+
|
|
7
|
+
const RuleConditionChip = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
this.remove = index.createEvent(this, "remove");
|
|
11
|
+
/**
|
|
12
|
+
* Whether the condition is negated. The chip has to say so: the switch that
|
|
13
|
+
* sets it is out of sight inside the editor.
|
|
14
|
+
*/
|
|
15
|
+
this.negated = false;
|
|
16
|
+
/**
|
|
17
|
+
* @inheritdoc
|
|
18
|
+
*/
|
|
19
|
+
this.invalid = false;
|
|
20
|
+
/**
|
|
21
|
+
* Whether this condition's editor is the one currently open.
|
|
22
|
+
*/
|
|
23
|
+
this.selected = false;
|
|
24
|
+
/**
|
|
25
|
+
* Deliberately not passed on to `limel-chip`, which would render it as a
|
|
26
|
+
* disabled button. A condition's arguments live behind this chip and
|
|
27
|
+
* nowhere else, so a chip that cannot be opened is a rule that cannot be
|
|
28
|
+
* read. It takes the delete control away instead — see `removable`.
|
|
29
|
+
*
|
|
30
|
+
* @inheritdoc
|
|
31
|
+
*/
|
|
32
|
+
this.readonly = false;
|
|
33
|
+
/**
|
|
34
|
+
* @inheritdoc
|
|
35
|
+
*/
|
|
36
|
+
this.disabled = false;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the chip offers a control that deletes the condition. `readonly`
|
|
39
|
+
* overrules it here rather than in the caller, since withholding `readonly`
|
|
40
|
+
* from `limel-chip` also withholds the lock it puts on the cross.
|
|
41
|
+
*/
|
|
42
|
+
this.removable = true;
|
|
43
|
+
this.handleRemove = (event) => {
|
|
44
|
+
event.stopPropagation();
|
|
45
|
+
this.remove.emit();
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
render() {
|
|
49
|
+
return (index.h("limel-chip", { key: '3b1e45748efbdd1bdbf8effd7bca4976f9ba537c', text: this.text, icon: this.glyph, invalid: this.invalid, selected: this.selected, disabled: this.disabled, removable: this.removable && !this.readonly, onRemove: this.handleRemove }));
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* The glyph, with its colour put back on when it has one.
|
|
53
|
+
*/
|
|
54
|
+
get glyph() {
|
|
55
|
+
if (!this.icon || !this.iconColor) {
|
|
56
|
+
return this.icon;
|
|
57
|
+
}
|
|
58
|
+
return { name: this.icon, color: this.iconColor };
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* The name, behind `¬` when negated — a symbol rather than a word, so it
|
|
62
|
+
* does not compete with the "not" the tree writes between the rows of a
|
|
63
|
+
* negated group.
|
|
64
|
+
*/
|
|
65
|
+
get text() {
|
|
66
|
+
return this.negated ? `¬ ${this.label}` : this.label;
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
RuleConditionChip.style = ruleConditionChipCss();
|
|
70
|
+
|
|
71
|
+
exports.limebb_rule_condition_chip = RuleConditionChip;
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Du4GyM0Y.js');
|
|
4
|
+
var webComponentTemplate = require('./web-component-template-C-AkY5as.js');
|
|
5
|
+
|
|
6
|
+
/** What a chip says for a condition with no name to put on it. */
|
|
7
|
+
const UNNAMED = '…';
|
|
8
|
+
/**
|
|
9
|
+
* Which `all`/`any` a combinator is built on, and whether a `not` goes round it.
|
|
10
|
+
* The wrapper is not a node of its own in a condition tree: it folds into the
|
|
11
|
+
* combinator of the group it wraps, and unfolds again on the way back out.
|
|
12
|
+
*/
|
|
13
|
+
const SHAPE = {
|
|
14
|
+
all: { type: 'all', negated: false },
|
|
15
|
+
any: { type: 'any', negated: false },
|
|
16
|
+
'not-all': { type: 'all', negated: true },
|
|
17
|
+
none: { type: 'any', negated: true },
|
|
18
|
+
};
|
|
19
|
+
const NEGATED_COMBINATOR = {
|
|
20
|
+
all: 'not-all',
|
|
21
|
+
any: 'none',
|
|
22
|
+
'not-all': 'all',
|
|
23
|
+
none: 'any',
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* How `limebb-condition-tree` reads and rebuilds a {@link Rule}. Everything
|
|
27
|
+
* structural belongs to the tree; everything about what a rule *is* belongs
|
|
28
|
+
* here.
|
|
29
|
+
* @param source
|
|
30
|
+
*/
|
|
31
|
+
function createRuleConditionTreeAdapter(source) {
|
|
32
|
+
return {
|
|
33
|
+
describe: (node, state) => describeRule(node, state, source),
|
|
34
|
+
group: group,
|
|
35
|
+
negate: negate,
|
|
36
|
+
createLeaf: (item) => {
|
|
37
|
+
var _a;
|
|
38
|
+
const leaf = { type: 'ref', id: String((_a = item === null || item === void 0 ? void 0 : item.value) !== null && _a !== void 0 ? _a : '') };
|
|
39
|
+
source.created().add(leaf);
|
|
40
|
+
return leaf;
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* How the rule joins what is inside it, and what that is — or nothing when it
|
|
46
|
+
* is a single condition rather than a group. A `not` is transparent: it becomes
|
|
47
|
+
* the group's combinator, and chains of them fold down to one.
|
|
48
|
+
* @param rule
|
|
49
|
+
*/
|
|
50
|
+
function groupOf(rule) {
|
|
51
|
+
if (!isNode(rule)) {
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
if (rule.type === 'all' || rule.type === 'any') {
|
|
55
|
+
return Array.isArray(rule.rules)
|
|
56
|
+
? { combinator: rule.type, rules: rule.rules }
|
|
57
|
+
: undefined;
|
|
58
|
+
}
|
|
59
|
+
if (rule.type !== 'not') {
|
|
60
|
+
return undefined;
|
|
61
|
+
}
|
|
62
|
+
const inner = groupOf(rule.rule);
|
|
63
|
+
return inner
|
|
64
|
+
? {
|
|
65
|
+
combinator: NEGATED_COMBINATOR[inner.combinator],
|
|
66
|
+
rules: inner.rules,
|
|
67
|
+
}
|
|
68
|
+
: undefined;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* The primitive a rule refers to, and whether it is negated — or nothing when
|
|
72
|
+
* the rule refers to none. Wrapping in a `not` is the only negation a rule
|
|
73
|
+
* condition has, having no "is not" vocabulary of its own.
|
|
74
|
+
* @param rule
|
|
75
|
+
*/
|
|
76
|
+
function refOf(rule) {
|
|
77
|
+
if (!isNode(rule)) {
|
|
78
|
+
return undefined;
|
|
79
|
+
}
|
|
80
|
+
if (rule.type === 'ref') {
|
|
81
|
+
return { ref: rule, negated: false };
|
|
82
|
+
}
|
|
83
|
+
if (rule.type === 'not' && isNode(rule.rule) && rule.rule.type === 'ref') {
|
|
84
|
+
return { ref: rule.rule, negated: true };
|
|
85
|
+
}
|
|
86
|
+
return undefined;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Whether there is a rule here at all. A hand-edited rule can hold a `null` or
|
|
90
|
+
* a bare value where a node should be, and reading `type` off one throws, so
|
|
91
|
+
* everything that asks about structure asks this first.
|
|
92
|
+
* @param rule
|
|
93
|
+
*/
|
|
94
|
+
function isNode(rule) {
|
|
95
|
+
return typeof rule === 'object' && rule !== null;
|
|
96
|
+
}
|
|
97
|
+
function describeRule(node, state, source) {
|
|
98
|
+
const issues = source.issues().get(node);
|
|
99
|
+
const group = groupOf(node);
|
|
100
|
+
if (group) {
|
|
101
|
+
return {
|
|
102
|
+
kind: 'group',
|
|
103
|
+
combinator: group.combinator,
|
|
104
|
+
// Never copies: the tree tells conditions apart by identity.
|
|
105
|
+
children: group.rules,
|
|
106
|
+
issues: issues,
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
const reference = refOf(node);
|
|
110
|
+
if (!reference) {
|
|
111
|
+
return unreadable(node, source, issues);
|
|
112
|
+
}
|
|
113
|
+
return describeRef(reference, state, source, issues);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* How a condition reads: its primitive's name, the bare id when nobody
|
|
117
|
+
* registered it, and the placeholder when it has not even got that.
|
|
118
|
+
* @param ref
|
|
119
|
+
* @param source
|
|
120
|
+
*/
|
|
121
|
+
function nameOf(ref, source) {
|
|
122
|
+
return source.titles.get(ref.id) || ref.id || UNNAMED;
|
|
123
|
+
}
|
|
124
|
+
function describeRef(reference, state, source, issues) {
|
|
125
|
+
const { ref, negated } = reference;
|
|
126
|
+
const metadata = source.metadata.get(ref.id);
|
|
127
|
+
const fresh = source.created().has(ref);
|
|
128
|
+
const editor = metadata === null || metadata === void 0 ? void 0 : metadata.configComponent;
|
|
129
|
+
return {
|
|
130
|
+
kind: 'leaf',
|
|
131
|
+
chip: {
|
|
132
|
+
label: nameOf(ref, source),
|
|
133
|
+
icon: glyphOf(metadata),
|
|
134
|
+
// Marked before validation has had its say, so that a rule loaded
|
|
135
|
+
// from storage does not read as sound for a render.
|
|
136
|
+
invalid: !metadata || !!(issues === null || issues === void 0 ? void 0 : issues.length),
|
|
137
|
+
component: {
|
|
138
|
+
name: 'limebb-rule-condition-chip',
|
|
139
|
+
props: {
|
|
140
|
+
negated: negated,
|
|
141
|
+
iconColor: colourOf(metadata),
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
// Every condition here is opaque, so the tree offers the negation and
|
|
146
|
+
// rebuilds it through `negate`.
|
|
147
|
+
negated: negated,
|
|
148
|
+
issues: issues,
|
|
149
|
+
// Just added and with something to configure: the one thing left to do
|
|
150
|
+
// is put in front of the author. One with nothing to configure is
|
|
151
|
+
// already complete, and stays shut.
|
|
152
|
+
autoOpen: fresh && !!editor,
|
|
153
|
+
editor: editor && {
|
|
154
|
+
name: 'limebb-rule-condition-editor',
|
|
155
|
+
props: {
|
|
156
|
+
configComponent: editor,
|
|
157
|
+
// Never into one they merely re-opened to look at.
|
|
158
|
+
focusOnOpen: fresh && !state.visited,
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* A rule this adapter cannot read: neither a group nor a reference. Drawn, so
|
|
165
|
+
* the tree is not silently short of a condition, and marked — but with no
|
|
166
|
+
* editor, which is what keeps it shut.
|
|
167
|
+
* @param node
|
|
168
|
+
* @param source
|
|
169
|
+
* @param issues
|
|
170
|
+
*/
|
|
171
|
+
function unreadable(node, source, issues) {
|
|
172
|
+
var _a;
|
|
173
|
+
return {
|
|
174
|
+
kind: 'leaf',
|
|
175
|
+
chip: {
|
|
176
|
+
label: (_a = typeNameOf(node)) !== null && _a !== void 0 ? _a : UNNAMED,
|
|
177
|
+
icon: 'question',
|
|
178
|
+
invalid: true,
|
|
179
|
+
component: { name: 'limebb-rule-condition-chip' },
|
|
180
|
+
},
|
|
181
|
+
issues: (issues === null || issues === void 0 ? void 0 : issues.length)
|
|
182
|
+
? issues
|
|
183
|
+
: [
|
|
184
|
+
source.translate('webclient.rule-editor.unreadable-condition', 'This condition cannot be read, and so cannot be edited here.'),
|
|
185
|
+
],
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* What a node says it is, when it says anything at all. Read defensively: the
|
|
190
|
+
* nodes that get here are the ones that are not rules, so a `type` that is
|
|
191
|
+
* missing or is not a word is exactly how one arrives.
|
|
192
|
+
* @param node
|
|
193
|
+
*/
|
|
194
|
+
function typeNameOf(node) {
|
|
195
|
+
if (!isNode(node)) {
|
|
196
|
+
return undefined;
|
|
197
|
+
}
|
|
198
|
+
const type = node.type;
|
|
199
|
+
return typeof type === 'string' && type ? type : undefined;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* The primitive's glyph, or the one standing for a primitive nobody registered.
|
|
203
|
+
* Its colour travels separately — see {@link colourOf} — because the tree's
|
|
204
|
+
* chip vocabulary has room only for the name.
|
|
205
|
+
* @param metadata
|
|
206
|
+
*/
|
|
207
|
+
function glyphOf(metadata) {
|
|
208
|
+
if (!metadata) {
|
|
209
|
+
return 'question';
|
|
210
|
+
}
|
|
211
|
+
if (!metadata.icon) {
|
|
212
|
+
return undefined;
|
|
213
|
+
}
|
|
214
|
+
return typeof metadata.icon === 'string'
|
|
215
|
+
? metadata.icon
|
|
216
|
+
: metadata.icon.name;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* The colour the primitive asked for its glyph, when it asked for one.
|
|
220
|
+
* @param metadata
|
|
221
|
+
*/
|
|
222
|
+
function colourOf(metadata) {
|
|
223
|
+
return typeof (metadata === null || metadata === void 0 ? void 0 : metadata.icon) === 'object' ? metadata.icon.color : undefined;
|
|
224
|
+
}
|
|
225
|
+
function group(combinator, children) {
|
|
226
|
+
const inner = { type: SHAPE[combinator].type, rules: [...children] };
|
|
227
|
+
return SHAPE[combinator].negated ? { type: 'not', rule: inner } : inner;
|
|
228
|
+
}
|
|
229
|
+
function negate(node, negated) {
|
|
230
|
+
if (negated) {
|
|
231
|
+
return node.type === 'not' ? node : { type: 'not', rule: node };
|
|
232
|
+
}
|
|
233
|
+
return node.type === 'not' ? node.rule : node;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
const ruleConditionEditorCss = () => `:host{display:block;padding:1rem;min-width:24rem}`;
|
|
237
|
+
|
|
238
|
+
const RuleConditionEditor = class {
|
|
239
|
+
constructor(hostRef) {
|
|
240
|
+
index.registerInstance(this, hostRef);
|
|
241
|
+
this.conditionChange = index.createEvent(this, "conditionChange");
|
|
242
|
+
/**
|
|
243
|
+
* Forwarded so that component can take focus as it appears. Set only for a
|
|
244
|
+
* condition the author has just added.
|
|
245
|
+
*/
|
|
246
|
+
this.focusOnOpen = false;
|
|
247
|
+
/**
|
|
248
|
+
* @inheritdoc
|
|
249
|
+
*/
|
|
250
|
+
this.readonly = false;
|
|
251
|
+
/**
|
|
252
|
+
* @inheritdoc
|
|
253
|
+
*/
|
|
254
|
+
this.disabled = false;
|
|
255
|
+
/**
|
|
256
|
+
* The config component's `change` bubbles and is composed, so it would
|
|
257
|
+
* otherwise reach the rule editor and be taken for the whole rule changing.
|
|
258
|
+
* It stops here and leaves as the event the tree listens for.
|
|
259
|
+
* @param event
|
|
260
|
+
*/
|
|
261
|
+
this.handleChange = (event) => {
|
|
262
|
+
event.stopPropagation();
|
|
263
|
+
const reference = this.reference;
|
|
264
|
+
if (!reference) {
|
|
265
|
+
return;
|
|
266
|
+
}
|
|
267
|
+
const next = Object.assign(Object.assign({}, reference.ref), { args: event.detail });
|
|
268
|
+
this.conditionChange.emit(reference.negated ? { type: 'not', rule: next } : next);
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
render() {
|
|
272
|
+
if (!this.configComponent || !this.reference) {
|
|
273
|
+
return null;
|
|
274
|
+
}
|
|
275
|
+
return (index.h(webComponentTemplate.LimeWebComponentTemplate, { class: "editor", platform: this.platform, context: this.context, name: this.configComponent.name, props: Object.assign(Object.assign({}, this.configComponent.props), { value: this.reference.ref.args, readonly: this.readonly, disabled: this.disabled, focusOnOpen: this.focusOnOpen, onChange: this.handleChange }) }));
|
|
276
|
+
}
|
|
277
|
+
get reference() {
|
|
278
|
+
return this.value ? refOf(this.value) : undefined;
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
RuleConditionEditor.style = ruleConditionEditorCss();
|
|
282
|
+
|
|
283
|
+
exports.RuleConditionEditor = RuleConditionEditor;
|
|
284
|
+
exports.createRuleConditionTreeAdapter = createRuleConditionTreeAdapter;
|
|
285
|
+
exports.groupOf = groupOf;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var limebbRuleConditionEditor_entry = require('./limebb-rule-condition-editor-CHWTMOmi.js');
|
|
4
|
+
require('./index-Du4GyM0Y.js');
|
|
5
|
+
require('./web-component-template-C-AkY5as.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.limebb_rule_condition_editor = limebbRuleConditionEditor_entry.RuleConditionEditor;
|