bromcom-ui 2.8.0-rc.9 → 3.0.0-rc.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/dist/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/global/helper/toast.ts +2 -2
- package/dist/bromcom-ui/p-00f07dc3.entry.js +5 -0
- package/dist/bromcom-ui/p-0279271c.entry.js +5 -0
- package/dist/bromcom-ui/p-05b4cd11.entry.js +5 -0
- package/dist/bromcom-ui/p-105de77c.entry.js +5 -0
- package/dist/bromcom-ui/p-10bf821f.js +5 -0
- package/dist/bromcom-ui/p-1442fe54.entry.js +5 -0
- package/dist/bromcom-ui/p-17afa7f6.entry.js +5 -0
- package/dist/bromcom-ui/p-19a8ae51.entry.js +5 -0
- package/dist/bromcom-ui/p-215d04da.entry.js +5 -0
- package/dist/bromcom-ui/{p-04d4c6e7.entry.js → p-24ba554d.entry.js} +1 -1
- package/dist/bromcom-ui/p-24f3a77e.entry.js +5 -0
- package/dist/bromcom-ui/p-276547d8.entry.js +5 -0
- package/dist/bromcom-ui/p-287c4271.js +5 -0
- package/dist/bromcom-ui/p-28c49c8f.entry.js +5 -0
- package/dist/bromcom-ui/p-2efa36f1.entry.js +5 -0
- package/dist/bromcom-ui/p-30431c71.entry.js +5 -0
- package/dist/bromcom-ui/p-31a0e7ba.entry.js +5 -0
- package/dist/bromcom-ui/p-32354ea1.js +5 -0
- package/dist/bromcom-ui/p-37ef1da1.entry.js +5 -0
- package/dist/bromcom-ui/{p-8c018ae0.js → p-3c7a0345.js} +1 -1
- package/dist/bromcom-ui/{p-a60a2dd0.js → p-3cde7f38.js} +1 -1
- package/dist/bromcom-ui/p-3f170366.entry.js +5 -0
- package/dist/bromcom-ui/p-41fc7f04.entry.js +5 -0
- package/dist/bromcom-ui/{p-14a0a646.entry.js → p-46c96fed.entry.js} +1 -1
- package/dist/bromcom-ui/p-4e55fc9e.js +5 -0
- package/dist/bromcom-ui/p-5145a391.entry.js +5 -0
- package/dist/bromcom-ui/{p-0716606a.js → p-52ad7164.js} +1 -1
- package/dist/bromcom-ui/p-53fbc706.entry.js +5 -0
- package/dist/bromcom-ui/{p-c23b6240.js → p-54c0916c.js} +1 -1
- package/dist/bromcom-ui/{p-7e44e6b5.js → p-5ae0a59b.js} +1 -1
- package/dist/bromcom-ui/p-5bebc25f.entry.js +5 -0
- package/dist/bromcom-ui/p-5bffe176.entry.js +5 -0
- package/dist/bromcom-ui/p-5c46d081.entry.js +5 -0
- package/dist/bromcom-ui/p-5e9262f1.entry.js +5 -0
- package/dist/bromcom-ui/p-62c1fa8c.entry.js +5 -0
- package/dist/bromcom-ui/{p-8e2540d8.entry.js → p-630cbe30.entry.js} +1 -1
- package/dist/bromcom-ui/p-6554c2d3.entry.js +5 -0
- package/dist/bromcom-ui/p-67408ca5.entry.js +5 -0
- package/dist/bromcom-ui/p-6835650f.entry.js +5 -0
- package/dist/bromcom-ui/{p-e8a668b7.js → p-69b5544d.js} +1 -1
- package/dist/bromcom-ui/p-6a353bb6.js +5 -0
- package/dist/bromcom-ui/{p-da1055cb.js → p-6d7fe687.js} +1 -1
- package/dist/bromcom-ui/p-7000163b.entry.js +5 -0
- package/dist/bromcom-ui/p-7240b562.entry.js +5 -0
- package/dist/bromcom-ui/p-75b85862.entry.js +5 -0
- package/dist/bromcom-ui/p-77ed76f5.entry.js +5 -0
- package/dist/bromcom-ui/{p-dbc4c30c.js → p-78ce966b.js} +1 -1
- package/dist/bromcom-ui/p-79fe882b.entry.js +5 -0
- package/dist/bromcom-ui/p-7bcbb142.entry.js +5 -0
- package/dist/bromcom-ui/p-7e978e98.entry.js +5 -0
- package/dist/bromcom-ui/p-81623cde.entry.js +5 -0
- package/dist/bromcom-ui/{p-976f682f.entry.js → p-8206f068.entry.js} +1 -1
- package/dist/bromcom-ui/p-821f3fb6.entry.js +5 -0
- package/dist/bromcom-ui/p-8431b63c.js +5 -0
- package/dist/bromcom-ui/p-8a5fe91c.entry.js +5 -0
- package/dist/bromcom-ui/p-8cbef7a6.entry.js +5 -0
- package/dist/bromcom-ui/p-8ef8b497.entry.js +5 -0
- package/dist/bromcom-ui/p-90b4c7c9.entry.js +5 -0
- package/dist/bromcom-ui/p-937d971a.entry.js +5 -0
- package/dist/bromcom-ui/p-978011dd.js +5 -0
- package/dist/bromcom-ui/p-98ea4ff6.js +5 -0
- package/dist/bromcom-ui/p-98ff24c9.entry.js +5 -0
- package/dist/bromcom-ui/p-9b8d1b13.entry.js +5 -0
- package/dist/bromcom-ui/p-9f6b4476.js +5 -0
- package/dist/bromcom-ui/p-a57afe94.entry.js +5 -0
- package/dist/bromcom-ui/p-a70f02c2.entry.js +5 -0
- package/dist/bromcom-ui/p-a831bd5d.js +5 -0
- package/dist/bromcom-ui/p-abf80382.entry.js +5 -0
- package/dist/bromcom-ui/p-ad3ac171.entry.js +5 -0
- package/dist/bromcom-ui/p-b030b897.entry.js +5 -0
- package/dist/bromcom-ui/p-b5ae4583.entry.js +5 -0
- package/dist/bromcom-ui/p-b78fb80e.entry.js +5 -0
- package/dist/bromcom-ui/p-b9f08edd.entry.js +5 -0
- package/dist/bromcom-ui/p-ba3faef7.entry.js +5 -0
- package/dist/bromcom-ui/{p-8c77e8a8.js → p-bd0d939f.js} +1 -1
- package/dist/bromcom-ui/p-bd6be9db.entry.js +5 -0
- package/dist/bromcom-ui/p-c2ae2973.js +5 -0
- package/dist/bromcom-ui/p-c2e3346a.entry.js +5 -0
- package/dist/bromcom-ui/p-c7410110.entry.js +5 -0
- package/dist/bromcom-ui/p-cace6ebd.js +5 -0
- package/dist/bromcom-ui/{p-221448f8.entry.js → p-cfce9a65.entry.js} +1 -1
- package/dist/bromcom-ui/p-d24db173.entry.js +5 -0
- package/dist/bromcom-ui/p-d472ca66.entry.js +5 -0
- package/dist/bromcom-ui/p-d55299d2.entry.js +5 -0
- package/dist/bromcom-ui/p-d55de67d.entry.js +5 -0
- package/dist/bromcom-ui/p-d6ea0ab5.entry.js +5 -0
- package/dist/bromcom-ui/p-d82b164a.js +5 -0
- package/dist/bromcom-ui/p-d9dfd77d.entry.js +10 -0
- package/dist/bromcom-ui/{p-1e264881.entry.js → p-dc8c9f18.entry.js} +1 -1
- package/dist/bromcom-ui/{p-39eda493.entry.js → p-df67e1ec.entry.js} +1 -1
- package/dist/bromcom-ui/p-df79894d.entry.js +5 -0
- package/dist/bromcom-ui/{p-8d0ca8c2.js → p-dfbc34e2.js} +1 -1
- package/dist/bromcom-ui/{p-4fcf03c1.entry.js → p-ea4d8a18.entry.js} +1 -1
- package/dist/bromcom-ui/p-f68b9e28.entry.js +5 -0
- package/dist/bromcom-ui/p-f68c2cdc.entry.js +5 -0
- package/dist/bromcom-ui/p-f9e4fae2.entry.js +5 -0
- package/dist/bromcom-ui/p-fa5daf9b.entry.js +5 -0
- package/dist/bromcom-ui/p-fed9ee6b.entry.js +5 -0
- package/dist/bromcom-ui/p-ff560908.entry.js +5 -0
- package/dist/bromcom-ui/p-ffe65dfc.entry.js +5 -0
- package/dist/cjs/bcm-accordion.cjs.entry.js +4 -3
- package/dist/cjs/bcm-alert.cjs.entry.js +54 -75
- package/dist/cjs/bcm-attendance.cjs.entry.js +31 -9
- package/dist/cjs/bcm-avatar_6.cjs.entry.js +751 -0
- package/dist/cjs/bcm-badge.cjs.entry.js +83 -0
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +4 -3
- package/dist/cjs/bcm-button-group.cjs.entry.js +22 -19
- package/dist/cjs/bcm-button.cjs.entry.js +202 -316
- package/dist/cjs/bcm-card.cjs.entry.js +8 -7
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +213 -345
- package/dist/cjs/bcm-checkbox.cjs.entry.js +174 -0
- package/dist/cjs/bcm-chip.cjs.entry.js +24 -33
- package/dist/cjs/bcm-collapse.cjs.entry.js +4 -3
- package/dist/cjs/bcm-color-input.cjs.entry.js +8 -7
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +11 -10
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-date-picker.cjs.entry.js +5 -4
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +8 -8
- package/dist/cjs/bcm-default.cjs.entry.js +4 -3
- package/dist/cjs/bcm-drawer.cjs.entry.js +24 -26
- package/dist/cjs/bcm-dropdown.cjs.entry.js +22 -25
- package/dist/cjs/{bcm-634604e3.js → bcm-e4cbab88.js} +6 -0
- package/dist/cjs/bcm-error-layout.cjs.entry.js +12 -35
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +7 -6
- package/dist/cjs/bcm-form.cjs.entry.js +137 -419
- package/dist/cjs/bcm-icon.cjs.entry.js +10 -6
- package/dist/cjs/bcm-input-custom.cjs.entry.js +3 -2
- package/dist/cjs/bcm-input.cjs.entry.js +10 -9
- package/dist/cjs/bcm-item.cjs.entry.js +6 -5
- package/dist/cjs/bcm-items.cjs.entry.js +6 -5
- package/dist/cjs/bcm-label_2.cjs.entry.js +14 -19
- package/dist/cjs/bcm-link.cjs.entry.js +37 -23
- package/dist/cjs/bcm-list.cjs.entry.js +26 -26
- package/dist/cjs/{bcm-checkbox-lite_9.cjs.entry.js → bcm-listbox_4.cjs.entry.js} +10 -652
- package/dist/cjs/bcm-menu.cjs.entry.js +11 -10
- package/dist/cjs/bcm-modal-footer.cjs.entry.js +51 -0
- package/dist/cjs/bcm-modal-header.cjs.entry.js +50 -0
- package/dist/cjs/bcm-modal.cjs.entry.js +119 -90
- package/dist/cjs/bcm-old-form-group.cjs.entry.js +46 -0
- package/dist/cjs/bcm-old-input.cjs.entry.js +2 -2
- package/dist/cjs/bcm-old-tag_2.cjs.entry.js +2 -2
- package/dist/cjs/bcm-overlay_2.cjs.entry.js +48 -0
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +9 -8
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +5 -4
- package/dist/cjs/bcm-popover.cjs.entry.js +9 -8
- package/dist/cjs/bcm-progress.cjs.entry.js +7 -6
- package/dist/cjs/bcm-radio-group.cjs.entry.js +10 -9
- package/dist/cjs/bcm-radio.cjs.entry.js +9 -8
- package/dist/cjs/bcm-range.cjs.entry.js +5 -4
- package/dist/cjs/bcm-result.cjs.entry.js +48 -45
- package/dist/cjs/bcm-search.cjs.entry.js +14 -13
- package/dist/cjs/bcm-select-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-select-option.cjs.entry.js +1 -1
- package/dist/cjs/bcm-select.cjs.entry.js +3 -3
- package/dist/cjs/bcm-skeleton.cjs.entry.js +3 -2
- package/dist/cjs/bcm-step.cjs.entry.js +4 -3
- package/dist/cjs/bcm-stepper.cjs.entry.js +17 -16
- package/dist/cjs/bcm-switch.cjs.entry.js +8 -6
- package/dist/cjs/bcm-tab-group.cjs.entry.js +8 -7
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +8 -7
- package/dist/cjs/bcm-tab-item.cjs.entry.js +8 -7
- package/dist/cjs/bcm-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tab.cjs.entry.js +1 -1
- package/dist/cjs/bcm-table.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tabs-content.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tabs.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tag.cjs.entry.js +5 -4
- package/dist/cjs/bcm-text.cjs.entry.js +6 -6
- package/dist/cjs/bcm-textarea.cjs.entry.js +7 -6
- package/dist/cjs/bcm-time-picker.cjs.entry.js +5 -4
- package/dist/cjs/bcm-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/bcm-timeline.cjs.entry.js +1 -1
- package/dist/cjs/bcm-toast.cjs.entry.js +6 -5
- package/dist/cjs/bcm-typography.cjs.entry.js +35 -0
- package/dist/cjs/bromcom-ui.cjs.js +1 -1
- package/dist/cjs/caption-template-3cfa638c.js +32 -0
- package/dist/cjs/{color-helper-0097a7c2.js → color-helper-8c8675e5.js} +8 -8
- package/dist/cjs/{colors-43b24668.js → colors-f0a07cbe.js} +17 -11
- package/dist/cjs/{floating-ui-74eb26d6.js → floating-ui-54bb620a.js} +67 -78
- package/dist/cjs/{generate-b39bfd65.js → generate-59e65204.js} +17 -55
- package/dist/cjs/icon-template-9d3d546d.js +15 -0
- package/dist/cjs/{input-template-7c7cfb83.js → input-template-2d413cf8.js} +5 -3
- package/dist/cjs/{json-parse-decarator-3b0b8500.js → json-parse-decarator-d31c2be8.js} +5 -5
- package/dist/cjs/label-template-2db9d086.js +24 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/number-helper-07df86a9.js +20 -0
- package/dist/cjs/old-bcm-form.cjs.entry.js +487 -0
- package/dist/cjs/{popover-placement-3c8f3a72.js → popover-placement-07720aeb.js} +1 -1
- package/dist/cjs/{slot-template-3e59d7d8.js → slot-template-b36cf392.js} +1 -1
- package/dist/cjs/snq.es5-da53ce70.js +20 -0
- package/dist/cjs/{stepper-states-538d8ba5.js → stepper-states-741ebc34.js} +4 -3
- package/dist/cjs/{string-helper-45cffee0.js → string-helper-8893dc39.js} +1 -1
- package/dist/cjs/{tooltip-helper-c3879175.js → tooltip-helper-e85cd3f8.js} +7 -7
- package/dist/cjs/{validators-7e8e9603.js → validators-cd7d5c69.js} +2 -2
- package/dist/collection/collection-manifest.json +8 -9
- package/dist/collection/components/atoms/avatar/avatar.js +59 -57
- package/dist/collection/components/atoms/badge/badge.js +48 -97
- package/dist/collection/components/atoms/button/button.js +381 -257
- package/dist/collection/components/atoms/button/types.js +110 -143
- package/dist/collection/components/atoms/chip/chip.js +40 -57
- package/dist/collection/components/atoms/divider/divider.js +12 -21
- package/dist/collection/components/atoms/icon/icon.js +5 -34
- package/dist/collection/components/atoms/label/label.js +17 -30
- package/dist/collection/components/atoms/link/link.js +99 -47
- package/dist/collection/components/molecules/accordion/accordion.css +0 -11
- package/dist/collection/components/molecules/alert/alert.js +156 -136
- package/dist/collection/components/molecules/breadcrumb/breadcrumb.css +0 -11
- package/dist/collection/components/molecules/button-group/button-group.js +49 -36
- package/dist/collection/components/molecules/card/card.css +0 -263
- package/dist/collection/components/molecules/checkbox/{group.js → checkbox-group.js} +405 -314
- package/dist/collection/components/molecules/checkbox/checkbox.js +40 -54
- package/dist/collection/components/molecules/colorful/colorful.css +39 -882
- package/dist/collection/components/molecules/drawer/drawer.js +40 -32
- package/dist/collection/components/molecules/dropdown/dropdown.js +40 -51
- package/dist/collection/components/molecules/empty/empty.js +61 -4
- package/dist/collection/components/molecules/error-layout/error-layout.js +40 -79
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +0 -263
- package/dist/collection/components/molecules/input/input.css +38 -881
- package/dist/collection/components/molecules/item/item.css +0 -263
- package/dist/collection/components/molecules/linked/linked.js +1 -1
- package/dist/collection/components/molecules/menu/menu.css +0 -263
- package/dist/collection/components/molecules/modal/modal-footer.js +54 -0
- package/dist/collection/components/molecules/modal/modal-header.js +53 -0
- package/dist/collection/components/molecules/modal/modal.js +192 -129
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +0 -263
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.js +1 -1
- package/dist/collection/components/molecules/popconfirm/popconfirm.css +0 -11
- package/dist/collection/components/molecules/progress/progress.css +10 -273
- package/dist/collection/components/molecules/progress/progress.js +1 -1
- package/dist/collection/components/molecules/radio/radio-group.js +1 -1
- package/dist/collection/components/molecules/radio/radio.js +1 -1
- package/dist/collection/components/molecules/range/range.css +0 -263
- package/dist/collection/components/molecules/result/result.js +121 -71
- package/dist/collection/components/molecules/search/search.css +38 -881
- package/dist/collection/components/molecules/stepper/stepper.css +75 -306
- package/dist/collection/components/molecules/stepper/stepper.js +1 -1
- package/dist/collection/components/molecules/switch/switch.css +14 -867
- package/dist/collection/components/molecules/switch/switch.js +2 -1
- package/dist/collection/components/molecules/textarea/textarea.css +38 -881
- package/dist/collection/components/molecules/timeline/timeline-item.css +1 -12
- package/dist/collection/components/molecules/timeline/timeline.css +0 -11
- package/dist/collection/components/organism/date-picker/date-picker.css +0 -11
- package/dist/collection/components/organism/datetime-picker/datetime-picker.css +0 -856
- package/dist/collection/components/organism/form/form.js +133 -494
- package/dist/collection/components/organism/list/list.css +0 -1108
- package/dist/collection/components/organism/time-picker/time-picker.css +0 -11
- package/dist/collection/components/other/attendance/attendance.js +78 -24
- package/dist/collection/components/other/data-table/table.css +0 -11
- package/dist/collection/components/other/default/default.css +0 -11
- package/dist/collection/components/other/overlay/overlay.js +101 -0
- package/dist/collection/components/other/scroll-area/scroll-area.js +77 -0
- package/dist/collection/components/other/toast/toast.js +1 -1
- package/dist/collection/components/other/typography/typography.js +1 -1
- package/dist/collection/components/other_deprecated/collapse/collapse.css +0 -11
- package/dist/collection/components/other_deprecated/colorpicker/colorpicker.css +0 -11
- package/dist/collection/components/other_deprecated/listbox/listbox-group.css +0 -11
- package/dist/collection/components/other_deprecated/listbox/listbox-item.css +0 -11
- package/dist/collection/components/other_deprecated/listbox/listbox.css +0 -11
- package/dist/collection/components/{organism/form-2/form-2.css → other_deprecated/old-form/old-form-group.css} +4 -11
- package/dist/collection/components/{organism/form/form-group.js → other_deprecated/old-form/old-form-group.js} +5 -5
- package/dist/collection/components/{organism/form/form.css → other_deprecated/old-form/old-form.css} +0 -11
- package/dist/collection/components/other_deprecated/old-form/old-form.js +695 -0
- package/dist/collection/components/other_deprecated/old-input/old-input.css +0 -864
- package/dist/collection/components/other_deprecated/old-search/old-search.css +0 -11
- package/dist/collection/components/other_deprecated/old-tag/old-tag.css +0 -19
- package/dist/collection/components/other_deprecated/select/group.css +0 -11
- package/dist/collection/components/other_deprecated/select/option.css +0 -11
- package/dist/collection/components/other_deprecated/select/select-box.css +0 -11
- package/dist/collection/components/other_deprecated/select/select.css +5 -16
- package/dist/collection/components/other_deprecated/tabs/tab-pane.css +0 -11
- package/dist/collection/components/other_deprecated/tabs/tab.css +5 -268
- package/dist/collection/components/other_deprecated/tabs/tabs-content.css +0 -11
- package/dist/collection/components/other_deprecated/tabs/tabs.css +0 -11
- package/dist/collection/components/other_deprecated/text/text.css +0 -263
- package/dist/collection/components/other_deprecated/treeview/treeview-item.css +0 -11
- package/dist/collection/components/other_deprecated/treeview/treeview.css +0 -11
- package/dist/collection/global/components/_checkbox.css +0 -263
- package/dist/collection/global/helper/toast.ts +2 -2
- package/dist/collection/helper/generate.js +13 -20
- package/dist/collection/models/bcm.js +8 -0
- package/dist/collection/templates/caption-template.js +15 -11
- package/dist/collection/templates/icon-template.js +4 -19
- package/dist/collection/templates/input-template.js +1 -1
- package/dist/collection/templates/label-template.js +5 -3
- package/dist/collection/templates/step-template.js +1 -1
- package/dist/components/avatar.js +56 -55
- package/dist/components/badge.js +43 -49
- package/dist/components/bcm-accordion.js +1 -1
- package/dist/components/bcm-alert.js +58 -87
- package/dist/components/bcm-attendance.js +29 -10
- package/dist/components/bcm-breadcrumb.js +1 -1
- package/dist/components/bcm-button-group.js +27 -23
- package/dist/components/bcm-card.js +1 -1
- package/dist/components/bcm-checkbox-group.js +229 -363
- package/dist/components/bcm-chip.js +29 -47
- package/dist/components/bcm-collapse.js +1 -1
- package/dist/components/bcm-color-input.js +1 -2
- package/dist/components/bcm-colorpicker.js +1 -1
- package/dist/components/bcm-date-picker.js +3 -3
- package/dist/components/bcm-default.js +1 -1
- package/dist/components/bcm-drawer.js +23 -26
- package/dist/components/bcm-dropdown.js +18 -22
- package/dist/components/bcm-error-layout.js +15 -40
- package/dist/components/bcm-expansion-panel.js +1 -1
- package/dist/components/bcm-form.js +140 -427
- package/dist/components/bcm-item.js +2 -2
- package/dist/components/bcm-items.js +2 -1
- package/dist/components/bcm-list.js +5 -6
- package/dist/components/{bcm-form-group.d.ts → bcm-modal-footer.d.ts} +4 -4
- package/dist/components/{typography.js → bcm-modal-footer.js} +23 -9
- package/dist/components/bcm-modal-header.d.ts +11 -0
- package/dist/components/bcm-modal-header.js +58 -0
- package/dist/components/bcm-modal.js +1 -162
- package/dist/components/{bcm-notification.d.ts → bcm-old-form-group.d.ts} +4 -4
- package/dist/components/bcm-old-form-group.js +66 -0
- package/dist/components/{bcm-message.d.ts → bcm-overlay.d.ts} +4 -4
- package/dist/components/bcm-overlay.js +10 -0
- package/dist/components/bcm-popconfirm.js +2 -2
- package/dist/components/bcm-popover.js +2 -3
- package/dist/components/bcm-progress.js +3 -3
- package/dist/components/bcm-radio-group.js +3 -5
- package/dist/components/bcm-range.js +2 -2
- package/dist/components/bcm-result.js +66 -57
- package/dist/components/{old-bcm-popover.d.ts → bcm-scroll-area.d.ts} +4 -4
- package/dist/components/bcm-scroll-area.js +10 -0
- package/dist/components/bcm-select-group.js +1 -1
- package/dist/components/bcm-select-option.js +1 -1
- package/dist/components/bcm-select.js +39 -45
- package/dist/components/bcm-stepper.js +8 -9
- package/dist/components/bcm-switch.js +4 -3
- package/dist/components/bcm-tab-group.js +2 -3
- package/dist/components/bcm-tab-item-header.js +2 -3
- package/dist/components/bcm-tab-item.js +1 -2
- package/dist/components/bcm-tab-pane.js +1 -1
- package/dist/components/bcm-tab.js +2 -2
- package/dist/components/bcm-table.js +1 -1
- package/dist/components/bcm-tabs-content.js +2 -2
- package/dist/components/bcm-tabs.js +2 -2
- package/dist/components/bcm-tag.js +2 -2
- package/dist/components/bcm-textarea.js +2 -2
- package/dist/components/bcm-time-picker.js +2 -2
- package/dist/components/bcm-timeline-item.js +1 -1
- package/dist/components/bcm-timeline.js +1 -1
- package/dist/components/bcm-toast.js +2 -2
- package/dist/components/bcm-typography.js +39 -1
- package/dist/components/bcm.js +7 -1
- package/dist/components/button.js +227 -333
- package/dist/components/caption-template.js +15 -17
- package/dist/components/checkbox-lite.js +2 -2
- package/dist/components/checkbox.js +36 -43
- package/dist/components/color-helper.js +8 -8
- package/dist/components/colorful.js +1 -1
- package/dist/components/colors2.js +17 -11
- package/dist/components/datetime-picker.js +3 -4
- package/dist/components/divider.js +8 -10
- package/dist/components/element-dragger.js +30 -1
- package/dist/components/empty.js +11 -9
- package/dist/components/floating-ui.js +67 -78
- package/dist/components/generate.js +17 -54
- package/dist/components/icon-template.js +13 -0
- package/dist/components/icon.js +9 -9
- package/dist/components/index.d.ts +7 -8
- package/dist/components/index.js +6 -7
- package/dist/components/input-template.js +4 -2
- package/dist/components/input.js +3 -3
- package/dist/components/json-parse-decarator.js +1 -1
- package/dist/components/label-template.js +7 -6
- package/dist/components/label.js +13 -19
- package/dist/components/link.js +40 -35
- package/dist/components/linked.js +3 -4
- package/dist/components/listbox-group.js +1 -1
- package/dist/components/listbox-item.js +1 -1
- package/dist/components/listbox.js +33 -39
- package/dist/components/menu.js +2 -3
- package/dist/components/modal.js +202 -0
- package/dist/components/number-helper.js +1 -1
- package/dist/components/{bcm-form-2.d.ts → old-bcm-form.d.ts} +4 -4
- package/dist/components/old-bcm-form.js +511 -0
- package/dist/components/old-input.js +1 -1
- package/dist/components/old-search.js +1 -1
- package/dist/components/old-tag.js +1 -1
- package/dist/components/overlay.js +47 -0
- package/dist/components/popconfirm-box.js +2 -2
- package/dist/components/radio.js +3 -4
- package/dist/components/scroll-area.js +40 -0
- package/dist/components/search.js +4 -3
- package/dist/components/select-box.js +35 -41
- package/dist/components/snq.es5.js +18 -0
- package/dist/components/step.js +2 -1
- package/dist/components/string-helper.js +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/tooltip-helper.js +1 -2
- package/dist/components/tooltip.js +2 -3
- package/dist/components/treeview-item.js +1 -1
- package/dist/components/treeview.js +21 -27
- package/dist/components/types.js +28 -1
- package/dist/components/types2.js +25 -25
- package/dist/esm/{bcm-9f50af9c.js → bcm-a29f0eef.js} +6 -0
- package/dist/esm/bcm-accordion.entry.js +6 -5
- package/dist/esm/bcm-alert.entry.js +52 -73
- package/dist/esm/bcm-attendance.entry.js +33 -11
- package/dist/esm/bcm-avatar_6.entry.js +742 -0
- package/dist/esm/bcm-badge.entry.js +79 -0
- package/dist/esm/bcm-box.entry.js +2 -2
- package/dist/esm/bcm-breadcrumb.entry.js +6 -5
- package/dist/esm/bcm-button-group.entry.js +23 -20
- package/dist/esm/bcm-button.entry.js +204 -318
- package/dist/esm/bcm-card.entry.js +11 -10
- package/dist/esm/bcm-checkbox-group.entry.js +207 -339
- package/dist/esm/bcm-checkbox.entry.js +170 -0
- package/dist/esm/bcm-chip.entry.js +27 -36
- package/dist/esm/bcm-collapse-group.entry.js +3 -3
- package/dist/esm/bcm-collapse.entry.js +6 -5
- package/dist/esm/bcm-color-input.entry.js +11 -10
- package/dist/esm/bcm-colorful_2.entry.js +15 -14
- package/dist/esm/bcm-colorpicker.entry.js +5 -5
- package/dist/esm/bcm-date-picker.entry.js +8 -7
- package/dist/esm/bcm-datetime-picker.entry.js +12 -12
- package/dist/esm/bcm-default.entry.js +6 -5
- package/dist/esm/bcm-drawer.entry.js +28 -30
- package/dist/esm/bcm-dropdown.entry.js +24 -27
- package/dist/esm/bcm-error-layout.entry.js +13 -36
- package/dist/esm/bcm-expansion-panel.entry.js +10 -9
- package/dist/esm/bcm-form.entry.js +139 -421
- package/dist/esm/bcm-icon.entry.js +12 -8
- package/dist/esm/bcm-input-custom.entry.js +5 -4
- package/dist/esm/bcm-input.entry.js +13 -12
- package/dist/esm/bcm-item.entry.js +9 -8
- package/dist/esm/bcm-items.entry.js +7 -6
- package/dist/esm/bcm-label_2.entry.js +18 -23
- package/dist/esm/bcm-link.entry.js +37 -23
- package/dist/esm/bcm-list.entry.js +20 -20
- package/dist/esm/{bcm-checkbox-lite_9.entry.js → bcm-listbox_4.entry.js} +13 -650
- package/dist/esm/bcm-menu.entry.js +15 -14
- package/dist/esm/bcm-modal-footer.entry.js +47 -0
- package/dist/esm/bcm-modal-header.entry.js +46 -0
- package/dist/esm/bcm-modal.entry.js +119 -90
- package/dist/esm/bcm-old-form-group.entry.js +42 -0
- package/dist/esm/bcm-old-input.entry.js +5 -5
- package/dist/esm/bcm-old-tag_2.entry.js +5 -5
- package/dist/esm/bcm-overlay_2.entry.js +43 -0
- package/dist/esm/bcm-popconfirm-box.entry.js +12 -11
- package/dist/esm/bcm-popconfirm.entry.js +7 -6
- package/dist/esm/bcm-popover.entry.js +13 -12
- package/dist/esm/bcm-progress.entry.js +10 -9
- package/dist/esm/bcm-radio-group.entry.js +14 -13
- package/dist/esm/bcm-radio.entry.js +12 -11
- package/dist/esm/bcm-range.entry.js +8 -7
- package/dist/esm/bcm-result.entry.js +49 -46
- package/dist/esm/bcm-search.entry.js +11 -10
- package/dist/esm/bcm-select-group.entry.js +2 -2
- package/dist/esm/bcm-select-option.entry.js +2 -2
- package/dist/esm/bcm-select.entry.js +6 -6
- package/dist/esm/bcm-skeleton.entry.js +5 -4
- package/dist/esm/bcm-step.entry.js +7 -6
- package/dist/esm/bcm-stepper.entry.js +19 -18
- package/dist/esm/bcm-switch.entry.js +11 -9
- package/dist/esm/bcm-tab-group.entry.js +12 -11
- package/dist/esm/bcm-tab-item-header.entry.js +12 -11
- package/dist/esm/bcm-tab-item.entry.js +12 -11
- package/dist/esm/bcm-tab-pane.entry.js +3 -3
- package/dist/esm/bcm-tab.entry.js +3 -3
- package/dist/esm/bcm-table.entry.js +4 -4
- package/dist/esm/bcm-tabs-content.entry.js +4 -4
- package/dist/esm/bcm-tabs.entry.js +4 -4
- package/dist/esm/bcm-tag.entry.js +8 -7
- package/dist/esm/bcm-text.entry.js +9 -9
- package/dist/esm/bcm-textarea.entry.js +10 -9
- package/dist/esm/bcm-time-picker.entry.js +8 -7
- package/dist/esm/bcm-timeline-item.entry.js +3 -3
- package/dist/esm/bcm-timeline.entry.js +3 -3
- package/dist/esm/bcm-toast.entry.js +9 -8
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bcm-typography.entry.js +31 -0
- package/dist/esm/bromcom-ui.js +3 -3
- package/dist/esm/caption-template-62c75b98.js +30 -0
- package/dist/esm/{color-helper-4fa5dd0d.js → color-helper-85f2eddb.js} +9 -9
- package/dist/esm/{colors-fa05fe33.js → colors-e780e48d.js} +17 -11
- package/dist/esm/{element-dragger-89bb52fd.js → element-dragger-7ea06c76.js} +1 -1
- package/dist/esm/{floating-ui-e7341329.js → floating-ui-065b36f9.js} +67 -78
- package/dist/esm/{generate-5f415340.js → generate-7be7919a.js} +17 -54
- package/dist/esm/icon-template-0f1f5828.js +13 -0
- package/dist/esm/{index-93e36fdb.js → index-0052017c.js} +1 -1
- package/dist/esm/{index-39133086.js → index-348b16ad.js} +1 -1
- package/dist/esm/{input-template-5d9e6648.js → input-template-5ed08d5c.js} +5 -3
- package/dist/esm/{is-load-decorator-bc14ec4b.js → is-load-decorator-07d3502a.js} +1 -1
- package/dist/esm/{json-parse-decarator-94b458ca.js → json-parse-decarator-fa15277b.js} +2 -2
- package/dist/esm/label-template-253d4ed9.js +22 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{number-helper-cdcb2700.js → number-helper-cc915c62.js} +1 -1
- package/dist/esm/old-bcm-form.entry.js +483 -0
- package/dist/esm/{popover-placement-78f86f15.js → popover-placement-3ba8a0d9.js} +1 -1
- package/dist/esm/{slot-template-5b2db362.js → slot-template-94ad4a24.js} +2 -2
- package/dist/esm/snq.es5-d6023241.js +18 -0
- package/dist/esm/{stepper-states-0ef7bf68.js → stepper-states-4db164ca.js} +4 -3
- package/dist/esm/{string-helper-6bd24967.js → string-helper-8e053b44.js} +1 -1
- package/dist/esm/{tooltip-helper-b7db775c.js → tooltip-helper-6ed9a1a0.js} +9 -9
- package/dist/esm/{utils-57652744.js → utils-b3338faf.js} +1 -1
- package/dist/esm/{validators-10185191.js → validators-37bd26a4.js} +1 -1
- package/dist/types/components/atoms/avatar/avatar.d.ts +3 -7
- package/dist/types/components/atoms/badge/badge.d.ts +4 -8
- package/dist/types/components/atoms/button/button.d.ts +50 -20
- package/dist/types/components/atoms/button/types.d.ts +16 -16
- package/dist/types/components/atoms/chip/chip.d.ts +5 -16
- package/dist/types/components/atoms/divider/divider.d.ts +3 -2
- package/dist/types/components/atoms/icon/icon.d.ts +0 -1
- package/dist/types/components/atoms/label/label.d.ts +2 -3
- package/dist/types/components/atoms/link/link.d.ts +8 -4
- package/dist/types/components/molecules/alert/alert.d.ts +16 -15
- package/dist/types/components/molecules/button-group/button-group.d.ts +4 -3
- package/dist/types/components/molecules/checkbox/checkbox-group.d.ts +61 -0
- package/dist/types/components/molecules/checkbox/checkbox.d.ts +1 -4
- package/dist/types/components/molecules/drawer/drawer.d.ts +3 -2
- package/dist/types/components/molecules/dropdown/dropdown.d.ts +6 -6
- package/dist/types/components/molecules/empty/empty.d.ts +6 -2
- package/dist/types/components/molecules/error-layout/error-layout.d.ts +5 -19
- package/dist/types/components/molecules/modal/modal-footer.d.ts +7 -0
- package/dist/types/components/molecules/modal/modal-header.d.ts +7 -0
- package/dist/types/components/molecules/modal/modal.d.ts +23 -16
- package/dist/types/components/molecules/result/result.d.ts +12 -10
- package/dist/types/components/organism/form/form.d.ts +17 -26
- package/dist/types/components/other/attendance/attendance.d.ts +11 -2
- package/dist/types/components/other/overlay/overlay.d.ts +8 -0
- package/dist/types/components/other/scroll-area/scroll-area.d.ts +7 -0
- package/dist/types/components/{organism/form/form-group.d.ts → other_deprecated/old-form/old-form-group.d.ts} +1 -1
- package/dist/types/components/other_deprecated/old-form/old-form.d.ts +34 -0
- package/dist/types/components.d.ts +287 -370
- package/dist/types/global/helper/toast.d.ts +2 -2
- package/dist/types/helper/generate.d.ts +1 -4
- package/dist/types/models/bcm-types.d.ts +1 -0
- package/dist/types/models/bcm.d.ts +6 -0
- package/dist/types/templates/caption-template.d.ts +1 -1
- package/dist/types/templates/icon-template.d.ts +2 -2
- package/helper/toast.d.ts +2 -2
- package/helper/toast.d.ts.map +1 -1
- package/package.json +7 -29
- package/dist/bromcom-ui/p-01107ccf.entry.js +0 -5
- package/dist/bromcom-ui/p-0557b296.entry.js +0 -5
- package/dist/bromcom-ui/p-0a16fcfa.entry.js +0 -5
- package/dist/bromcom-ui/p-0b663779.entry.js +0 -5
- package/dist/bromcom-ui/p-106ac30f.entry.js +0 -5
- package/dist/bromcom-ui/p-11645edd.entry.js +0 -5
- package/dist/bromcom-ui/p-14ec06cb.entry.js +0 -5
- package/dist/bromcom-ui/p-16e7c6fb.entry.js +0 -5
- package/dist/bromcom-ui/p-1cb948c7.entry.js +0 -5
- package/dist/bromcom-ui/p-1cfafa49.entry.js +0 -5
- package/dist/bromcom-ui/p-24aefda6.js +0 -5
- package/dist/bromcom-ui/p-28a43882.entry.js +0 -5
- package/dist/bromcom-ui/p-290b295e.entry.js +0 -5
- package/dist/bromcom-ui/p-31226526.entry.js +0 -5
- package/dist/bromcom-ui/p-3126bfd0.entry.js +0 -5
- package/dist/bromcom-ui/p-34d91cc3.entry.js +0 -5
- package/dist/bromcom-ui/p-3c651065.entry.js +0 -5
- package/dist/bromcom-ui/p-41bf36cc.entry.js +0 -5
- package/dist/bromcom-ui/p-4639e2e7.entry.js +0 -5
- package/dist/bromcom-ui/p-47857754.entry.js +0 -5
- package/dist/bromcom-ui/p-4e214c36.entry.js +0 -5
- package/dist/bromcom-ui/p-533cb826.entry.js +0 -5
- package/dist/bromcom-ui/p-584db3af.entry.js +0 -5
- package/dist/bromcom-ui/p-58651d85.entry.js +0 -5
- package/dist/bromcom-ui/p-58ed1d0b.entry.js +0 -5
- package/dist/bromcom-ui/p-5b549e78.entry.js +0 -5
- package/dist/bromcom-ui/p-61da178c.entry.js +0 -5
- package/dist/bromcom-ui/p-64067354.entry.js +0 -5
- package/dist/bromcom-ui/p-6814967d.entry.js +0 -5
- package/dist/bromcom-ui/p-692a0269.js +0 -5
- package/dist/bromcom-ui/p-6b7a9d96.entry.js +0 -5
- package/dist/bromcom-ui/p-6cc73d59.entry.js +0 -5
- package/dist/bromcom-ui/p-722b4241.entry.js +0 -5
- package/dist/bromcom-ui/p-740d46f0.entry.js +0 -5
- package/dist/bromcom-ui/p-76358e74.js +0 -5
- package/dist/bromcom-ui/p-77756f31.entry.js +0 -5
- package/dist/bromcom-ui/p-79fd816c.js +0 -5
- package/dist/bromcom-ui/p-7bdda715.entry.js +0 -5
- package/dist/bromcom-ui/p-7f658fed.entry.js +0 -5
- package/dist/bromcom-ui/p-8515ecef.entry.js +0 -5
- package/dist/bromcom-ui/p-88503d48.entry.js +0 -5
- package/dist/bromcom-ui/p-88ace511.entry.js +0 -5
- package/dist/bromcom-ui/p-88f5facd.entry.js +0 -5
- package/dist/bromcom-ui/p-89edeb2b.entry.js +0 -5
- package/dist/bromcom-ui/p-8f88c3b5.js +0 -5
- package/dist/bromcom-ui/p-93ff886a.entry.js +0 -5
- package/dist/bromcom-ui/p-94958b01.entry.js +0 -5
- package/dist/bromcom-ui/p-97933e31.entry.js +0 -5
- package/dist/bromcom-ui/p-9874bde7.entry.js +0 -5
- package/dist/bromcom-ui/p-9bb6ed5b.entry.js +0 -5
- package/dist/bromcom-ui/p-a14ba057.js +0 -5
- package/dist/bromcom-ui/p-a3f1abc7.entry.js +0 -10
- package/dist/bromcom-ui/p-a429e85b.js +0 -5
- package/dist/bromcom-ui/p-a7d1a083.entry.js +0 -5
- package/dist/bromcom-ui/p-aad63720.entry.js +0 -5
- package/dist/bromcom-ui/p-b0098cb3.entry.js +0 -5
- package/dist/bromcom-ui/p-b60bcecf.js +0 -5
- package/dist/bromcom-ui/p-bc840f30.entry.js +0 -5
- package/dist/bromcom-ui/p-c004ac8e.entry.js +0 -5
- package/dist/bromcom-ui/p-c3feb3ff.entry.js +0 -5
- package/dist/bromcom-ui/p-c6974976.entry.js +0 -5
- package/dist/bromcom-ui/p-c82ad9af.entry.js +0 -5
- package/dist/bromcom-ui/p-c85b8abc.entry.js +0 -5
- package/dist/bromcom-ui/p-c85d5bb2.entry.js +0 -5
- package/dist/bromcom-ui/p-c8e13fd7.js +0 -5
- package/dist/bromcom-ui/p-d1752924.entry.js +0 -5
- package/dist/bromcom-ui/p-d644b6d9.entry.js +0 -5
- package/dist/bromcom-ui/p-d98eb190.entry.js +0 -5
- package/dist/bromcom-ui/p-da40b2f9.entry.js +0 -5
- package/dist/bromcom-ui/p-dd913770.js +0 -5
- package/dist/bromcom-ui/p-de311d1e.entry.js +0 -5
- package/dist/bromcom-ui/p-e19e9dc1.entry.js +0 -5
- package/dist/bromcom-ui/p-e7558537.entry.js +0 -5
- package/dist/bromcom-ui/p-f529ded0.entry.js +0 -5
- package/dist/bromcom-ui/p-f8c20298.entry.js +0 -5
- package/dist/bromcom-ui/p-fafcca5f.entry.js +0 -5
- package/dist/bromcom-ui/p-fb79631d.entry.js +0 -5
- package/dist/bromcom-ui/p-fbe878ff.entry.js +0 -5
- package/dist/bromcom-ui/p-fd739176.js +0 -5
- package/dist/bromcom-ui/p-ff1acc28.entry.js +0 -5
- package/dist/cjs/bcm-autocomplete.cjs.entry.js +0 -156
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -166
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -206
- package/dist/cjs/bcm-form-2.cjs.entry.js +0 -207
- package/dist/cjs/bcm-form-group.cjs.entry.js +0 -46
- package/dist/cjs/bcm-message.cjs.entry.js +0 -96
- package/dist/cjs/bcm-notification.cjs.entry.js +0 -105
- package/dist/cjs/caption-template-8d099fd6.js +0 -34
- package/dist/cjs/label-template-cc69bc21.js +0 -23
- package/dist/cjs/number-helper-6fb59969.js +0 -20
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +0 -168
- package/dist/cjs/old-bcm-popover.cjs.entry.js +0 -104
- package/dist/collection/components/atoms/avatar/avatar.css +0 -450
- package/dist/collection/components/atoms/badge/badge.css +0 -483
- package/dist/collection/components/atoms/button/button.css +0 -654
- package/dist/collection/components/atoms/chip/chip.css +0 -455
- package/dist/collection/components/atoms/divider/divider.css +0 -142
- package/dist/collection/components/atoms/icon/icon.css +0 -127
- package/dist/collection/components/atoms/label/label.css +0 -410
- package/dist/collection/components/atoms/link/link.css +0 -421
- package/dist/collection/components/atoms/states/button.states.js +0 -31
- package/dist/collection/components/external-source/bcm-toast-helper.js +0 -20
- package/dist/collection/components/external-source/test.js/bcm-toast-helper.js +0 -20
- package/dist/collection/components/molecules/alert/alert.css +0 -191
- package/dist/collection/components/molecules/alert/types.js +0 -23
- package/dist/collection/components/molecules/button-group/button-group.css +0 -429
- package/dist/collection/components/molecules/checkbox/checkbox.css +0 -1287
- package/dist/collection/components/molecules/checkbox/group.css +0 -156
- package/dist/collection/components/molecules/drawer/drawer.css +0 -504
- package/dist/collection/components/molecules/dropdown/dropdown.css +0 -421
- package/dist/collection/components/molecules/error-layout/error-layout.css +0 -398
- package/dist/collection/components/molecules/error-layout/types.js +0 -1
- package/dist/collection/components/molecules/message/message.css +0 -165
- package/dist/collection/components/molecules/message/message.js +0 -227
- package/dist/collection/components/molecules/message/types.js +0 -14
- package/dist/collection/components/molecules/modal/modal.css +0 -528
- package/dist/collection/components/molecules/notification/notification.css +0 -183
- package/dist/collection/components/molecules/notification/notification.js +0 -250
- package/dist/collection/components/molecules/notification/types.js +0 -15
- package/dist/collection/components/molecules/result/result.css +0 -164
- package/dist/collection/components/molecules/result/types.js +0 -22
- package/dist/collection/components/molecules/states/alert.states.js +0 -25
- package/dist/collection/components/molecules/states/checkbox-group.states.js +0 -199
- package/dist/collection/components/organism/autocomplete/autocomplete.css +0 -168
- package/dist/collection/components/organism/autocomplete/autocomplete.js +0 -412
- package/dist/collection/components/organism/form/form-group.css +0 -131
- package/dist/collection/components/organism/form-2/form-2.js +0 -344
- package/dist/collection/components/other/attendance/attendance.css +0 -435
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +0 -584
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.js +0 -440
- package/dist/collection/components/other_deprecated/old-popover/old-popover.css +0 -127
- package/dist/collection/components/other_deprecated/old-popover/old-popover.js +0 -308
- package/dist/collection/models/states/atoms/bcm-atoms-state.js +0 -1
- package/dist/components/bcm-autocomplete.d.ts +0 -11
- package/dist/components/bcm-autocomplete.js +0 -294
- package/dist/components/bcm-form-2.js +0 -226
- package/dist/components/bcm-form-group.js +0 -66
- package/dist/components/bcm-message.js +0 -123
- package/dist/components/bcm-notification.js +0 -138
- package/dist/components/old-bcm-popover-box.d.ts +0 -11
- package/dist/components/old-bcm-popover-box.js +0 -10
- package/dist/components/old-bcm-popover.js +0 -131
- package/dist/components/old-popover-box.js +0 -190
- package/dist/components/types3.js +0 -32
- package/dist/components/validators.js +0 -35
- package/dist/esm/bcm-autocomplete.entry.js +0 -152
- package/dist/esm/bcm-avatar_2.entry.js +0 -161
- package/dist/esm/bcm-checkbox_2.entry.js +0 -201
- package/dist/esm/bcm-form-2.entry.js +0 -203
- package/dist/esm/bcm-form-group.entry.js +0 -42
- package/dist/esm/bcm-message.entry.js +0 -92
- package/dist/esm/bcm-notification.entry.js +0 -101
- package/dist/esm/caption-template-da16ba7b.js +0 -32
- package/dist/esm/label-template-d74fe788.js +0 -21
- package/dist/esm/old-bcm-popover-box.entry.js +0 -164
- package/dist/esm/old-bcm-popover.entry.js +0 -100
- package/dist/types/components/atoms/states/button.states.d.ts +0 -7
- package/dist/types/components/external-source/bcm-toast-helper.d.ts +0 -12
- package/dist/types/components/external-source/test.js/bcm-toast-helper.d.ts +0 -12
- package/dist/types/components/molecules/alert/types.d.ts +0 -25
- package/dist/types/components/molecules/checkbox/group.d.ts +0 -56
- package/dist/types/components/molecules/error-layout/types.d.ts +0 -4
- package/dist/types/components/molecules/message/message.d.ts +0 -32
- package/dist/types/components/molecules/message/types.d.ts +0 -13
- package/dist/types/components/molecules/notification/notification.d.ts +0 -42
- package/dist/types/components/molecules/notification/types.d.ts +0 -14
- package/dist/types/components/molecules/result/types.d.ts +0 -19
- package/dist/types/components/molecules/states/alert.states.d.ts +0 -7
- package/dist/types/components/molecules/states/checkbox-group.states.d.ts +0 -53
- package/dist/types/components/organism/autocomplete/autocomplete.d.ts +0 -31
- package/dist/types/components/organism/form-2/form-2.d.ts +0 -25
- package/dist/types/components/other_deprecated/old-popover/old-popover-box.d.ts +0 -26
- package/dist/types/components/other_deprecated/old-popover/old-popover.d.ts +0 -22
- package/dist/types/models/states/atoms/bcm-atoms-state.d.ts +0 -34
- /package/dist/collection/components/organism/{form-2 → form}/bcm-form-components.js +0 -0
- /package/dist/types/components/organism/{form-2 → form}/bcm-form-components.d.ts +0 -0
|
@@ -0,0 +1,751 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
'use strict';
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
+
|
|
9
|
+
const index = require('./index-ddfd6d8f.js');
|
|
10
|
+
const isLoadDecorator = require('./is-load-decorator-137dded1.js');
|
|
11
|
+
require('./color-helper-8c8675e5.js');
|
|
12
|
+
require('./datetime-helper-eaf4fadb.js');
|
|
13
|
+
const generate = require('./generate-59e65204.js');
|
|
14
|
+
require('./number-helper-07df86a9.js');
|
|
15
|
+
require('./string-helper-8893dc39.js');
|
|
16
|
+
require('./validators-cd7d5c69.js');
|
|
17
|
+
require('./element-dragger-a8562f82.js');
|
|
18
|
+
const bcm = require('./bcm-e4cbab88.js');
|
|
19
|
+
const index$1 = require('./index-fdbf5226.js');
|
|
20
|
+
const utils = require('./utils-fc077139.js');
|
|
21
|
+
require('./colors-56282b00.js');
|
|
22
|
+
require('./colors-f0a07cbe.js');
|
|
23
|
+
require('./_commonjsHelpers-bd20f4c0.js');
|
|
24
|
+
require('./snq.es5-da53ce70.js');
|
|
25
|
+
|
|
26
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
27
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
28
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
29
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
30
|
+
else
|
|
31
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
32
|
+
if (d = decorators[i])
|
|
33
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
34
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
35
|
+
};
|
|
36
|
+
const BcmAvatar = class {
|
|
37
|
+
constructor(hostRef) {
|
|
38
|
+
index.registerInstance(this, hostRef);
|
|
39
|
+
this._id = generate.Generate.UID();
|
|
40
|
+
this.hidden = false;
|
|
41
|
+
this.image = undefined;
|
|
42
|
+
this.name = undefined;
|
|
43
|
+
this.alt = undefined;
|
|
44
|
+
this.shape = bcm.Bcm$1.Shape.ellipse;
|
|
45
|
+
this.size = bcm.Bcm$1.Size.medium;
|
|
46
|
+
this.color = "slate";
|
|
47
|
+
this.status = undefined;
|
|
48
|
+
this.isFallback = false;
|
|
49
|
+
}
|
|
50
|
+
componentWillLoad() {
|
|
51
|
+
this.name = (this.name && this.name.trim()) || "";
|
|
52
|
+
}
|
|
53
|
+
handleError() {
|
|
54
|
+
this.isFallback = true;
|
|
55
|
+
}
|
|
56
|
+
getFirstLetters(name) {
|
|
57
|
+
const splitted = name.split(" ");
|
|
58
|
+
if (splitted.length === 1)
|
|
59
|
+
return splitted[0].substring(0, 2);
|
|
60
|
+
return splitted[0].charAt(0) + splitted[splitted.length - 1].charAt(0);
|
|
61
|
+
}
|
|
62
|
+
render() {
|
|
63
|
+
const { image, name, alt, hidden, shape, size, status, color, isFallback } = this;
|
|
64
|
+
const isCustom = !Object.keys(bcm.Bcm$1.BaseSize).includes(size);
|
|
65
|
+
const defaultColors = generate.Generate.getTwColor({ color });
|
|
66
|
+
const IconTemplate = () => (index.h("i", { class: index$1.classnames("far fa-user", {
|
|
67
|
+
"tw-text-size-2": size === bcm.Bcm$1.Size.small,
|
|
68
|
+
"tw-text-size-3": size === bcm.Bcm$1.Size.medium,
|
|
69
|
+
"tw-text-size-4": size === bcm.Bcm$1.Size.large,
|
|
70
|
+
"tw-px-[18px] tw-py-[17px] tw-text-4": isCustom,
|
|
71
|
+
}) }));
|
|
72
|
+
const ImageTemplate = () => {
|
|
73
|
+
return index.h("img", { onError: () => this.handleError(), src: image, alt: alt, class: index$1.classnames("tw-h-full tw-w-full tw-rounded-full tw-object-cover") });
|
|
74
|
+
};
|
|
75
|
+
const NameTemplate = () => {
|
|
76
|
+
return (index.h("span", { class: index$1.classnames("tw-uppercase", {
|
|
77
|
+
"tw-p-1 tw-text-size-3": size === bcm.Bcm$1.Size.small,
|
|
78
|
+
"tw-px-[5px] tw-py-1.5 tw-text-size-4": size === bcm.Bcm$1.Size.medium,
|
|
79
|
+
"tw-px-[9.5px] tw-py-[9px] tw-text-size-5": size === bcm.Bcm$1.Size.large,
|
|
80
|
+
"tw-px-[13.5px] tw-py-[13px] tw-text-4": isCustom,
|
|
81
|
+
}) }, this.getFirstLetters(name)));
|
|
82
|
+
};
|
|
83
|
+
const StatusTemplate = () => {
|
|
84
|
+
return (index.h("bcm-badge", { class: index$1.classnames("tw-absolute", {
|
|
85
|
+
"tw-right-0 tw-top-0": shape === bcm.Bcm$1.Shape.ellipse,
|
|
86
|
+
"tw-right-[-2px] tw-top-[-2px]": shape === bcm.Bcm$1.Shape.square,
|
|
87
|
+
}, {
|
|
88
|
+
"tw-h-1.5 tw-w-1.5": size === bcm.Bcm$1.Size.small,
|
|
89
|
+
"tw-h-2 tw-w-2": size === bcm.Bcm$1.Size.medium,
|
|
90
|
+
"tw-h-2.5 tw-w-2.5": size === bcm.Bcm$1.Size.large,
|
|
91
|
+
}), status: status }));
|
|
92
|
+
};
|
|
93
|
+
return (index.h(index.Host, { role: "avatar", class: index$1.classnames("bcm-ui-element bcm-ui-content-display bcm-avatar", "tw-flex tw-items-center tw-justify-center tw-rounded tw-bg-default-200 tw-text-default-700", {
|
|
94
|
+
"tw-hidden": hidden,
|
|
95
|
+
"tw-relative": status,
|
|
96
|
+
"tw-h-6 tw-w-6": size === bcm.Bcm$1.Size.small,
|
|
97
|
+
"tw-h-8 tw-w-8": size === bcm.Bcm$1.Size.medium,
|
|
98
|
+
"tw-h-10 tw-w-10": size === bcm.Bcm$1.Size.large,
|
|
99
|
+
"tw-h-[50px] tw-w-[50px]": isCustom,
|
|
100
|
+
}, {
|
|
101
|
+
"tw-rounded-full": shape === bcm.Bcm$1.Shape.ellipse,
|
|
102
|
+
}), style: Object.assign({}, defaultColors) }, index.h("span", { class: "tw-hidden" }, index.h("slot", null)), image && !isFallback && index.h(ImageTemplate, null), name && !isFallback && index.h(NameTemplate, null), status && index.h(StatusTemplate, null), isFallback ? name ? index.h(NameTemplate, null) : index.h(IconTemplate, null) : null, !isFallback && !image && !name && index.h(IconTemplate, null)));
|
|
103
|
+
}
|
|
104
|
+
get el() { return index.getElement(this); }
|
|
105
|
+
};
|
|
106
|
+
__decorate$3([
|
|
107
|
+
isLoadDecorator.IsLoad()
|
|
108
|
+
], BcmAvatar.prototype, "el", void 0);
|
|
109
|
+
|
|
110
|
+
const checkboxCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-checkbox{outline:none;border:none;--bcm-checkbox-primary-color-default:var(--bcm-new-ds-color-blue-500);--bcm-checkbox-secondary-color-default:var(--bcm-new-ds-color-white);--bcm-checkbox-primary-color-hover:var(--bcm-new-ds-color-blue-600);--bcm-checkbox-secondary-color-hover:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-focus-visible:var(--bcm-new-ds-color-blue-800);--bcm-checkbox-secondary-color-focus-visible:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-active:var(--bcm-new-ds-color-blue-700);--bcm-checkbox-secondary-color-active:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-disabled:var(--bcm-new-ds-color-slate-300);--bcm-checkbox-secondary-color-disabled:var(--bcm-new-ds-color-slate-200);display:inline-flex;width:fit-content;flex-direction:column;margin-bottom:8px}.bcm-checkbox:focus,.bcm-checkbox:hover,.bcm-checkbox:active{outline:none;border:none}.bcm-checkbox *{box-sizing:border-box}.bcm-checkbox input[type=radio],.bcm-checkbox input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:#fff;margin:0;display:none}.bcm-checkbox__input{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap;padding-top:4px}.bcm-checkbox.hidden{display:none}.bcm-checkbox :hover{cursor:pointer}.bcm-checkbox[disabled] :hover,.bcm-checkbox.disabled :hover{cursor:not-allowed}.bcm-checkbox .slot{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-weight:500;color:var(--bcm-new-ds-color-slate-600)}.bcm-checkbox .slot:not(:empty){margin-left:8px;margin-right:8px}.bcm-checkbox-size-small .slot{font-size:12px;line-height:calc(12px + 8px);margin-top:-2.5px}.bcm-checkbox-size-small .bcm-checkbox__input{min-height:calc(24px - 4px)}.bcm-checkbox-size-small .bcm-checkbox__label-icon{width:14px;height:14px;min-width:14px;font-size:calc(10px - 2px)}.bcm-checkbox-size-medium .slot{font-size:calc(12px + 1px);line-height:calc(12px + 8px);margin-top:-1.5px}.bcm-checkbox-size-medium .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-medium .bcm-checkbox__label-icon{width:16px;height:16px;min-width:16px;font-size:10px}.bcm-checkbox-size-large .slot{font-size:16px;line-height:calc(16px + 8px);margin-top:-1.5px}.bcm-checkbox-size-large .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-large .bcm-checkbox__label-icon{width:18px;height:18px;min-width:18px;font-size:12px}.bcm-checkbox__label{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap}.bcm-checkbox__label-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;border-width:1px;border-style:solid;border-radius:2px}.bcm-checkbox__label-icon-indeterminate{position:relative}.bcm-checkbox__label-icon-indeterminate:after{content:\"\";display:block;position:absolute;width:70%;height:1.5px;background:var(--bcm-new-ds-color-white)}.bcm-checkbox__label-icon.bcm-radio__icon{width:16px;height:16px;box-sizing:border-box;border-radius:100px}.bcm-checkbox__label-icon.bcm-radio__icon .bcm-radio__icon-inner{width:10px;height:10px;border-radius:100px;background-color:var(--bcm-new-ds-color-white)}.bcm-checkbox .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-default);color:var(--bcm-checkbox-secondary-color-default);border-color:var(--bcm-new-ds-color-slate-300)}.bcm-checkbox .bcm-checkbox__label-icon-checked,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-default);border-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-default);background-color:var(--bcm-checkbox-secondary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox:hover .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-hover);color:var(--bcm-checkbox-secondary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-hover);background-color:var(--bcm-checkbox-secondary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-focus-visible);color:var(--bcm-checkbox-secondary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-focus-visible);background-color:var(--bcm-checkbox-secondary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:active .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-active);color:var(--bcm-checkbox-secondary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-active);background-color:var(--bcm-checkbox-secondary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-disabled);color:var(--bcm-checkbox-secondary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-disabled);background-color:var(--bcm-checkbox-secondary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[no-margin] .bcm-checkbox__input{margin:0;min-height:0;padding:0}";
|
|
111
|
+
|
|
112
|
+
const BcmCheckboxLite = class {
|
|
113
|
+
constructor(hostRef) {
|
|
114
|
+
index.registerInstance(this, hostRef);
|
|
115
|
+
this._id = generate.Generate.UID();
|
|
116
|
+
this.checked = true;
|
|
117
|
+
this.indeterminate = null;
|
|
118
|
+
this.disabled = false;
|
|
119
|
+
this.hidden = false;
|
|
120
|
+
this.required = false;
|
|
121
|
+
this.readOnly = false;
|
|
122
|
+
this.captionType = bcm.Bcm.Status.default;
|
|
123
|
+
}
|
|
124
|
+
render() {
|
|
125
|
+
const { disabled, checked, readOnly, required, indeterminate, hidden, captionType, _id } = this;
|
|
126
|
+
// const hostClasses = cs(
|
|
127
|
+
// 'bcm-checkbox',
|
|
128
|
+
// 'bcm-checkbox__type-default',
|
|
129
|
+
// {
|
|
130
|
+
// 'error': captionType == Bcm.Status.error,
|
|
131
|
+
// hidden,
|
|
132
|
+
// checked,
|
|
133
|
+
// disabled,
|
|
134
|
+
// required,
|
|
135
|
+
// readOnly,
|
|
136
|
+
// }
|
|
137
|
+
// )
|
|
138
|
+
// const bcmCheckboxIconClass = cs(
|
|
139
|
+
// 'bcm-checkbox__icon',
|
|
140
|
+
// 'bcm-checkbox__icon-lite',
|
|
141
|
+
// 'bcm-checkbox__icon-' + indeterminate,
|
|
142
|
+
// {
|
|
143
|
+
// checked
|
|
144
|
+
// }
|
|
145
|
+
// )
|
|
146
|
+
// const bcmCheckboxLabelClass = cs(
|
|
147
|
+
// 'bcm-checkbox__label'
|
|
148
|
+
// )
|
|
149
|
+
const bcmCheckboxClass = index$1.classnames('bcm-checkbox', `bcm-checkbox-size-medium`, {
|
|
150
|
+
'error': captionType == bcm.Bcm.Status.error,
|
|
151
|
+
hidden,
|
|
152
|
+
checked,
|
|
153
|
+
disabled,
|
|
154
|
+
required
|
|
155
|
+
});
|
|
156
|
+
const bcmCheckboxIconClass = index$1.classnames('bcm-checkbox__label-icon', 'bcm-checkbox__label-icon-lite', 'bcm-checkbox__label-icon-' + indeterminate, {
|
|
157
|
+
'bcm-checkbox__label-icon-checked': checked,
|
|
158
|
+
});
|
|
159
|
+
const bcmCheckboxLabelClass = index$1.classnames('bcm-checkbox__label');
|
|
160
|
+
const bcmCheckboxInputClass = index$1.classnames('bcm-checkbox__input');
|
|
161
|
+
return (index.h(index.Host, { class: bcmCheckboxClass, style: { 'margin': '0' } }, index.h("div", { class: bcmCheckboxInputClass, style: {
|
|
162
|
+
'padding-top': '5px'
|
|
163
|
+
} }, index.h("input", { id: _id, type: "checkbox", checked: checked, disabled: disabled, required: required, readOnly: readOnly }), index.h("label", { class: bcmCheckboxLabelClass, htmlFor: _id }, index.h("span", { class: bcmCheckboxIconClass }, index.h("div", { style: {
|
|
164
|
+
'height': '12px',
|
|
165
|
+
'min-height': '12px',
|
|
166
|
+
'width': '12px',
|
|
167
|
+
'min-width': '12px'
|
|
168
|
+
} }, index.h("svg", { class: "bcm-icon-lite", width: "100%", height: "100%", viewBox: "0 0 11 9", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M1.91308 4.03516H1.91326C1.99256 4.03525 2.07081 4.05331 2.14213 4.08798C2.21341 4.12262 2.27591 4.17295 2.32497 4.2352L1.91308 4.03516ZM1.91308 4.03516H1.09394C0.890308 4.03516 0.776602 4.26975 0.902321 4.4292L0.902371 4.42927L4.11214 8.49567L4.11218 8.49573C4.32247 8.76188 4.72568 8.76114 4.93667 8.49617L4.93708 8.49566L10.6597 1.24398C10.6598 1.24378 10.66 1.24358 10.6602 1.24338C10.7884 1.08295 10.6699 0.85 10.4689 0.85H9.6498C9.48941 0.85 9.33668 0.9235 9.2376 1.05044C9.23751 1.05055 9.23742 1.05066 9.23734 1.05077L4.52403 7.02157M1.91308 4.03516L4.52403 7.02157M4.52403 7.02157L2.32506 4.23531L4.52403 7.02157Z", fill: "#ffffff" }))))))));
|
|
169
|
+
}
|
|
170
|
+
get el() { return index.getElement(this); }
|
|
171
|
+
};
|
|
172
|
+
BcmCheckboxLite.style = checkboxCss;
|
|
173
|
+
|
|
174
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
175
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
176
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
177
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
178
|
+
else
|
|
179
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
180
|
+
if (d = decorators[i])
|
|
181
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
182
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
183
|
+
};
|
|
184
|
+
const BcmDivider = class {
|
|
185
|
+
constructor(hostRef) {
|
|
186
|
+
index.registerInstance(this, hostRef);
|
|
187
|
+
this.hidden = false;
|
|
188
|
+
this.direction = bcm.Bcm$1.Direction.horizontal;
|
|
189
|
+
}
|
|
190
|
+
render() {
|
|
191
|
+
const { hidden, direction } = this;
|
|
192
|
+
return (index.h(index.Host, { class: index$1.classnames("bcm-ui-element bcm-ui-content-display bcm-divider", "tw-block tw-border tw-border-solid tw-border-slate-300", {
|
|
193
|
+
"tw-mx-auto tw-my-1 tw-h-[1px] tw-w-full": direction === bcm.Bcm$1.Direction.horizontal,
|
|
194
|
+
"tw-mx-1 tw-my-0 tw-h-auto tw-min-h-[24px] tw-w-[1px]": direction === bcm.Bcm$1.Direction.vertical,
|
|
195
|
+
"tw-hidden": hidden,
|
|
196
|
+
}) }, index.h("span", { hidden: true }, index.h("slot", null))));
|
|
197
|
+
}
|
|
198
|
+
get el() { return index.getElement(this); }
|
|
199
|
+
};
|
|
200
|
+
__decorate$2([
|
|
201
|
+
isLoadDecorator.IsLoad()
|
|
202
|
+
], BcmDivider.prototype, "el", void 0);
|
|
203
|
+
|
|
204
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
205
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
206
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
207
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
208
|
+
else
|
|
209
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
210
|
+
if (d = decorators[i])
|
|
211
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
212
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
213
|
+
};
|
|
214
|
+
const BcmEmpty = class {
|
|
215
|
+
constructor(hostRef) {
|
|
216
|
+
index.registerInstance(this, hostRef);
|
|
217
|
+
this._id = generate.Generate.UID();
|
|
218
|
+
this.headerText = undefined;
|
|
219
|
+
this.icon = undefined;
|
|
220
|
+
this.description = undefined;
|
|
221
|
+
}
|
|
222
|
+
render() {
|
|
223
|
+
const { icon, headerText, description } = this;
|
|
224
|
+
return (index.h(index.Host, { class: "bcm-ui-element bcm-ui-feedback bcm-empty tw-flex tw-h-full tw-w-full tw-flex-col tw-items-center tw-justify-center tw-gap-3 tw-text-center" }, icon && index.h("i", { class: icon }), !icon && (index.h("svg", { width: "105", height: "99", viewBox: "0 0 105 99", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M44.8676 98.6269C69.2871 98.6269 89.083 94.928 89.083 90.3652C89.083 85.8024 69.2871 82.1035 44.8676 82.1035C20.4481 82.1035 0.652176 85.8024 0.652176 90.3652C0.652176 94.928 20.4481 98.6269 44.8676 98.6269Z", fill: "#FEF3C7" }), index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M80.2396 66.0939L64.6363 46.8906C63.8876 45.9867 62.7933 45.4396 61.6409 45.4396H28.093C26.9413 45.4396 25.847 45.9867 25.0983 46.8906L9.49566 66.0939V76.1263H80.2402V66.0939H80.2396Z", fill: "#FDE68A" }), index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M22.7152 20.6543H67.0193C67.7112 20.6543 68.3748 20.9292 68.864 21.4184C69.3532 21.9076 69.628 22.5712 69.628 23.263V84.1396C69.628 84.8314 69.3532 85.495 68.864 85.9842C68.3748 86.4734 67.7112 86.7483 67.0193 86.7483H22.7152C22.0233 86.7483 21.3598 86.4734 20.8706 85.9842C20.3814 85.495 20.1065 84.8314 20.1065 84.1396V23.263C20.1065 22.5712 20.3814 21.9076 20.8706 21.4184C21.3598 20.9292 22.0233 20.6543 22.7152 20.6543V20.6543Z", fill: "#FEF3C7" }), index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M28.4857 27.1454H61.2489C61.5948 27.1454 61.9266 27.2829 62.1712 27.5275C62.4158 27.7721 62.5533 28.1038 62.5533 28.4498V44.7261C62.5533 45.072 62.4158 45.4038 62.1712 45.6484C61.9266 45.893 61.5948 46.0304 61.2489 46.0304H28.4857C28.1397 46.0304 27.808 45.893 27.5633 45.6484C27.3187 45.4038 27.1813 45.072 27.1813 44.7261V28.4498C27.1813 28.1038 27.3187 27.7721 27.5633 27.5275C27.808 27.2829 28.1397 27.1454 28.4857 27.1454V27.1454ZM28.6565 53.1111H61.078C61.4693 53.1111 61.8445 53.2665 62.1212 53.5432C62.3978 53.8198 62.5533 54.1951 62.5533 54.5863C62.5533 54.9776 62.3978 55.3528 62.1212 55.6294C61.8445 55.9061 61.4693 56.0615 61.078 56.0615H28.6565C28.2653 56.0615 27.89 55.9061 27.6134 55.6294C27.3367 55.3528 27.1813 54.9776 27.1813 54.5863C27.1813 54.1951 27.3367 53.8198 27.6134 53.5432C27.89 53.2665 28.2653 53.1111 28.6565 53.1111V53.1111ZM28.6565 60.7826H61.078C61.4694 60.7826 61.8447 60.9381 62.1214 61.2148C62.3981 61.4915 62.5536 61.8668 62.5536 62.2582C62.5536 62.6495 62.3981 63.0248 62.1214 63.3015C61.8447 63.5782 61.4694 63.7337 61.078 63.7337H28.6565C28.2652 63.7337 27.8899 63.5782 27.6132 63.3015C27.3364 63.0248 27.181 62.6495 27.181 62.2582C27.181 61.8668 27.3364 61.4915 27.6132 61.2148C27.8899 60.9381 28.2652 60.7826 28.6565 60.7826V60.7826ZM80.0954 89.1535C79.59 91.1563 77.8148 92.6491 75.703 92.6491H14.0315C11.9198 92.6491 10.1446 91.1556 9.63979 89.1535C9.54351 88.7718 9.49488 88.3797 9.495 87.9861V66.0946H26.6589C28.5548 66.0946 30.0828 67.6911 30.0828 69.6293V69.6554C30.0828 71.593 31.6285 73.1576 33.5244 73.1576H56.2102C58.1061 73.1576 59.6517 71.5787 59.6517 69.6404V69.6326C59.6517 67.6943 61.1798 66.0939 63.0757 66.0939H80.2396V87.9867C80.2396 88.3891 80.1894 88.7798 80.0954 89.1535V89.1535Z", fill: "#FBBF24" }), index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M82.2528 21.7122L77.7985 23.4404C77.6841 23.4849 77.5594 23.4962 77.4388 23.473C77.3183 23.4498 77.2067 23.393 77.117 23.3092C77.0272 23.2254 76.963 23.118 76.9316 22.9993C76.9002 22.8806 76.903 22.7555 76.9396 22.6383L78.2028 18.5902C76.5143 16.6702 75.523 14.3289 75.523 11.8024C75.523 5.28391 82.1217 0 90.2622 0C98.4006 0 105 5.28391 105 11.8024C105 18.3209 98.4013 23.6048 90.2615 23.6048C87.3085 23.6048 84.5589 22.9096 82.2528 21.7122Z", fill: "#FDE68A" }), index.h("path", { d: "M96.0678 13.9337C97.094 13.9337 97.9259 13.1117 97.9259 12.0978C97.9259 11.0839 97.094 10.262 96.0678 10.262C95.0417 10.262 94.2098 11.0839 94.2098 12.0978C94.2098 13.1117 95.0417 13.9337 96.0678 13.9337Z", fill: "white" }), index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M86.3139 13.7041H82.5978L84.4878 10.4915L86.3139 13.7041ZM88.6363 10.4915H91.8874V13.7041H88.6363V10.4915Z", fill: "white" }))), index.h("section", null, headerText && index.h("div", { class: "tw-text-size-5 tw-font-medium tw-text-slate-700" }, " ", headerText, " "), description && index.h("div", { class: "tw-text-size-4 tw-font-normal tw-text-slate-600" }, " ", description, " ")), index.h("section", { class: "tw-px-3 tw-py-1" }, index.h("slot", { name: "actions" }))));
|
|
225
|
+
}
|
|
226
|
+
get el() { return index.getElement(this); }
|
|
227
|
+
};
|
|
228
|
+
__decorate$1([
|
|
229
|
+
isLoadDecorator.IsLoad()
|
|
230
|
+
], BcmEmpty.prototype, "el", void 0);
|
|
231
|
+
|
|
232
|
+
const oldSearchCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block}:host(.hidden){display:none}";
|
|
233
|
+
|
|
234
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
235
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
236
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
237
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
238
|
+
else
|
|
239
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
240
|
+
if (d = decorators[i])
|
|
241
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
242
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
243
|
+
};
|
|
244
|
+
const lowercase = (str) => str.toLowerCase();
|
|
245
|
+
const BcmOldSearch = class {
|
|
246
|
+
constructor(hostRef) {
|
|
247
|
+
index.registerInstance(this, hostRef);
|
|
248
|
+
this.bcmOnSearch = index.createEvent(this, "bcm-on-search", 7);
|
|
249
|
+
this.bcmOnSearchValue = index.createEvent(this, "bcm-on-search-value", 7);
|
|
250
|
+
this.data = [];
|
|
251
|
+
this.searchFields = ['text', 'value' /*, ...*/];
|
|
252
|
+
this.returnField = 'idx';
|
|
253
|
+
this.searchSub = null;
|
|
254
|
+
this.hidden = false;
|
|
255
|
+
this.onlyChild = false;
|
|
256
|
+
this.clearable = false;
|
|
257
|
+
this.searchValue = '';
|
|
258
|
+
this.searchPlaceholder = 'Search';
|
|
259
|
+
this.disabled = false;
|
|
260
|
+
this._internal_id = (Math.random() * 4).toString(16).replace('.', '');
|
|
261
|
+
this.results = [];
|
|
262
|
+
}
|
|
263
|
+
getInput() {
|
|
264
|
+
return this.el.shadowRoot.querySelector('bcm-old-input');
|
|
265
|
+
}
|
|
266
|
+
componentDidLoad() {
|
|
267
|
+
this.getInput().clearable = this.clearable;
|
|
268
|
+
}
|
|
269
|
+
listenBcmChange(e) {
|
|
270
|
+
e.stopPropagation();
|
|
271
|
+
}
|
|
272
|
+
async setValue(value) {
|
|
273
|
+
await this.getInput().setValue(value);
|
|
274
|
+
return value;
|
|
275
|
+
}
|
|
276
|
+
async select() {
|
|
277
|
+
await this.getInput().select();
|
|
278
|
+
this.bcmOnSearch.emit(true);
|
|
279
|
+
return true;
|
|
280
|
+
}
|
|
281
|
+
async setClear() {
|
|
282
|
+
await this.getInput().setClear();
|
|
283
|
+
this.bcmOnSearch.emit(true);
|
|
284
|
+
return true;
|
|
285
|
+
}
|
|
286
|
+
async searchArray(value, idFields = null) {
|
|
287
|
+
// console.log(this.data)
|
|
288
|
+
let cacheSearchFields = this.searchFields;
|
|
289
|
+
let arrayResult = [];
|
|
290
|
+
if (idFields) {
|
|
291
|
+
this.searchFields = [idFields];
|
|
292
|
+
}
|
|
293
|
+
value.forEach(item => {
|
|
294
|
+
// item = {[idFields]:item}
|
|
295
|
+
this.results = [];
|
|
296
|
+
// console.log(this.data)
|
|
297
|
+
this.nestedSearch(this.data, item, true);
|
|
298
|
+
arrayResult.push(...this.results);
|
|
299
|
+
});
|
|
300
|
+
this.searchFields = cacheSearchFields;
|
|
301
|
+
return arrayResult;
|
|
302
|
+
// await this.getInput().setValue( value )
|
|
303
|
+
// return value
|
|
304
|
+
}
|
|
305
|
+
nestedSearch(items, value, equal = false) {
|
|
306
|
+
var result;
|
|
307
|
+
items && (items.map((item) => {
|
|
308
|
+
this.searchFields.map(searchField => {
|
|
309
|
+
if (searchField in item) {
|
|
310
|
+
// debugger;
|
|
311
|
+
item[searchField] = lowercase(String(item[searchField]));
|
|
312
|
+
if (this.onlyChild) {
|
|
313
|
+
if (item[this.searchSub]) {
|
|
314
|
+
var temp = this.nestedSearch(item[this.searchSub], value, equal);
|
|
315
|
+
if (temp) {
|
|
316
|
+
this.results.push((result = String(item[this.returnField])));
|
|
317
|
+
this.results.push(temp);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
else {
|
|
321
|
+
if (equal) {
|
|
322
|
+
// console.log(value)
|
|
323
|
+
if (item[searchField] == lowercase(String(value))) {
|
|
324
|
+
// if (item == lowercase(value)) {
|
|
325
|
+
this.results.push((result = String(item[this.returnField])));
|
|
326
|
+
// this.results.push (result = String(item))
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
else {
|
|
330
|
+
if (item[searchField].indexOf(lowercase(value)) !== -1) {
|
|
331
|
+
this.results.push((result = String(item[this.returnField])));
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
else {
|
|
337
|
+
if (item[this.searchSub]) {
|
|
338
|
+
var temp = this.nestedSearch(item[this.searchSub], value, equal);
|
|
339
|
+
if (temp) {
|
|
340
|
+
this.results.push((result = String(item[this.returnField])));
|
|
341
|
+
this.results.push(temp);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
if (equal) {
|
|
345
|
+
// console.log(value)
|
|
346
|
+
if (item[searchField] == lowercase(String(value))) {
|
|
347
|
+
// if (item == lowercase(value)) {
|
|
348
|
+
this.results.push((result = String(item[this.returnField])));
|
|
349
|
+
// this.results.push (result = String(item))
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
else {
|
|
353
|
+
if (item[searchField].indexOf(lowercase(value)) !== -1) {
|
|
354
|
+
this.results.push((result = String(item[this.returnField])));
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
});
|
|
360
|
+
}));
|
|
361
|
+
return result;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* @desc
|
|
365
|
+
* @param value
|
|
366
|
+
*/
|
|
367
|
+
inputChange(value) {
|
|
368
|
+
this.results = [];
|
|
369
|
+
// data prop'unda arama yapılacak (searchFields prop'u içerisindeki alanlar ile)
|
|
370
|
+
// arama sonucunda eşleyen itemların 'idx', index
|
|
371
|
+
// değerleri, array şeklinde root component'e
|
|
372
|
+
// event ile gönderilecek
|
|
373
|
+
// Örneğin value == 'to' olduğunda aşağıdaki
|
|
374
|
+
// sonuçlar filtrelenmeli
|
|
375
|
+
// -->
|
|
376
|
+
//{ text: 'Mateusz Eaton', idx: 2 },
|
|
377
|
+
//{ text: 'Tony Vickers', idx: 3 },
|
|
378
|
+
// result array'i eşleşen itemların
|
|
379
|
+
// index numaralarını tutacak
|
|
380
|
+
// results = [2, 3]
|
|
381
|
+
// Örnek arama
|
|
382
|
+
// #
|
|
383
|
+
this.nestedSearch(this.data, value);
|
|
384
|
+
this.results = Array.from(new Set(this.results));
|
|
385
|
+
(value && ((this.results.length > 0 && this.bcmOnSearch.emit(this.results)) || this.bcmOnSearch.emit([-1]))) || this.bcmOnSearch.emit(true);
|
|
386
|
+
this.bcmOnSearchValue.emit(value);
|
|
387
|
+
}
|
|
388
|
+
render() {
|
|
389
|
+
const hostClasses = index$1.classnames(this.hidden ? 'hidden' : null);
|
|
390
|
+
return (index.h(index.Host, { class: hostClasses }, index.h("bcm-old-input", { placeholder: this.searchPlaceholder, "no-caption": true, "no-margin": true, "full-width": true, disabled: this.disabled, type: "search", "on-bcm-change": e => this.inputChange(e.detail), value: this.searchValue })));
|
|
391
|
+
}
|
|
392
|
+
get el() { return index.getElement(this); }
|
|
393
|
+
static get watchers() { return {
|
|
394
|
+
"searchValue": ["inputChange"]
|
|
395
|
+
}; }
|
|
396
|
+
};
|
|
397
|
+
__decorate([
|
|
398
|
+
isLoadDecorator.IsLoad()
|
|
399
|
+
], BcmOldSearch.prototype, "el", void 0);
|
|
400
|
+
BcmOldSearch.style = oldSearchCss;
|
|
401
|
+
|
|
402
|
+
const treeviewItemCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host(.hidden){display:none}.treeview-item{display:flex;align-items:stretch;justify-content:flex-start;color:var(--bcm-color-grey-8);padding-left:8px;user-select:none;background-color:var(--bcm-color-grey-1)}.treeview-item-context-menu{display:none;position:absolute;height:auto;background-color:#ffffff;align-items:center;justify-content:center;flex-direction:column;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25)}.treeview-item-context-menu.show{display:flex}.treeview-item-context-menu span{text-align:left;min-width:100px;padding:5px 8px;font-size:14px;line-height:22px;color:var(--bcm-color-grey-8)}.treeview-item-context-menu span:hover{cursor:pointer;color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}.treeview-item.focus .treeview-item-container{border:2px solid var(--bcm-color-prime-blue-2)}.treeview-item-container{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.treeview-item-container.disabled{color:var(--bcm-color-grey-6)}.treeview-item-container.disabled .text-content{cursor:not-allowed}.treeview-item-container.selected:not(.disabled){color:var(--bcm-color-prime-blue-6)}.treeview-item-container.selected:not(.disabled):hover:not(.disabled){color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}.treeview-item-container:hover:not(.disabled),.treeview-item-container:active:not(.disabled){color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}.treeview-item-container>section:not(.favicon){display:flex;align-items:stretch;justify-content:flex-start;border:2px solid transparent;flex:1}.treeview-item-container>section.favicon{display:flex;align-items:center;justify-content:center;padding:0 5px;height:100%;cursor:pointer}.treeview-item-container>section.favicon:not(.favorite){display:none}.treeview-item-container:hover:not(.disabled) .favicon{display:flex}.treeview-inner{display:none}.treeview-inner.open{display:block}.collapse-content{display:flex;align-items:center;justify-content:center;width:16px;min-width:16px}.collapse-content.child{cursor:pointer}.check-content{display:flex;align-items:center;justify-content:flex-start;width:24px;min-width:24px;padding-left:8px}.check-content .indeterminate{width:16px;height:16px;position:relative;display:block;padding-right:8px;cursor:pointer}.check-content .indeterminate:after{content:\"\";position:absolute;top:50%;left:9px;width:10px;height:10px;background-color:var(--bcm-color-prime-blue-6);transform:translate(-50%, -50%);opacity:1;z-index:1}.check-content .indeterminate:before{content:\"\";position:absolute;top:-1px;left:0px;width:16px;height:100%;border-radius:2px;background-color:transparent;border:1px solid var(--bcm-color-grey-5);opacity:1;z-index:2}.check-content .indeterminate:hover:not(.disabled):before{border-color:var(--bcm-color-prime-blue-6);box-shadow:0px 2px 4px rgba(54, 121, 171, 0.5)}.check-content .indeterminate.disabled{cursor:not-allowed;background:linear-gradient(90deg, var(--bcm-color-grey-3) 18px, transparent 0px);border-color:var(--bcm-color-grey-3)}.check-content .indeterminate.disabled:after{background-color:var(--bcm-color-grey-6)}.check-content .indeterminate.disabled bcm-icon{filter:brightness(0);opacity:0.3}.text-content{display:flex;align-items:center;justify-content:space-between;cursor:pointer;width:100%;flex:1}.text-content .favicon{display:flex;flex-direction:row;align-items:center;grid-gap:4px}.text-content #text .highlight{background-color:var(--bcm-color-yellow-5)}.text-content.small{padding:0 8px 0 4px}.text-content.medium{padding:4px 8px 4px 4px}.text-content.large{padding:8px 8px 8px 4px}.text-content .icon{text-align:center;margin-right:8px}";
|
|
403
|
+
|
|
404
|
+
const BcmtreeviewItem = class {
|
|
405
|
+
constructor(hostRef) {
|
|
406
|
+
index.registerInstance(this, hostRef);
|
|
407
|
+
this.treeviewItemSelected = index.createEvent(this, "bcm-treeview-item-selected", 7);
|
|
408
|
+
this.treeviewUnchecked = index.createEvent(this, "bcm-treeview-unchecked", 7);
|
|
409
|
+
this.treeviewChecked = index.createEvent(this, "bcm-treeview-checked", 7);
|
|
410
|
+
this.treeviewChange = index.createEvent(this, "bcm-treeview-change", 7);
|
|
411
|
+
this.treeviewIndeterminateUnchecked = index.createEvent(this, "bcm-treeview-indeterminate-unchecked", 7);
|
|
412
|
+
this.treeviewIndeterminateChecked = index.createEvent(this, "bcm-treeview-indeterminate-checked", 7);
|
|
413
|
+
this.itemChecked = index.createEvent(this, "bcm-treeview-check-item-checked", 7);
|
|
414
|
+
this.itemUnchecked = index.createEvent(this, "bcm-treeview-check-item-unchecked", 7);
|
|
415
|
+
this.groupCheck = index.createEvent(this, "bcm-treeview-check-group-check", 7);
|
|
416
|
+
this.favoriteStatus = index.createEvent(this, "bcm-favorite-status", 7);
|
|
417
|
+
this.firstRun = true;
|
|
418
|
+
this.items = undefined;
|
|
419
|
+
this.itemObject = undefined;
|
|
420
|
+
this.text = undefined;
|
|
421
|
+
this.tooltipText = undefined;
|
|
422
|
+
this._id = (Math.random() * 4).toString(16).replace('.', '');
|
|
423
|
+
this.parentId = undefined;
|
|
424
|
+
this.hasChild = false;
|
|
425
|
+
this.size = 'medium';
|
|
426
|
+
this.icon = 'bug';
|
|
427
|
+
this.open = false;
|
|
428
|
+
this.selected = false;
|
|
429
|
+
this.checkboxes = false;
|
|
430
|
+
this.showIcon = false;
|
|
431
|
+
this.favicon = false;
|
|
432
|
+
this.favorite = false;
|
|
433
|
+
this.checked = false;
|
|
434
|
+
this.checkTrigger = false;
|
|
435
|
+
this.focused = false;
|
|
436
|
+
this.disabled = false;
|
|
437
|
+
this.contextMenuShow = false;
|
|
438
|
+
this._contextMenu = [];
|
|
439
|
+
this.indeterminateState = 'uncheck';
|
|
440
|
+
this._internal_id = "";
|
|
441
|
+
this.menuPadding = 0;
|
|
442
|
+
this.childLength = 0;
|
|
443
|
+
this.indeterminate = false;
|
|
444
|
+
this.hidden = false;
|
|
445
|
+
this.contextMenu = [];
|
|
446
|
+
this.contextOffsetLeft = 0;
|
|
447
|
+
this.contextOffsetTop = 0;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* @ComponentMethod
|
|
451
|
+
*/
|
|
452
|
+
componentWillLoad() {
|
|
453
|
+
this.menuPadding = 24;
|
|
454
|
+
this.childLength = this.el.children.length;
|
|
455
|
+
this.parseItems(this._contextMenu);
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* @ComponentMethod
|
|
459
|
+
*/
|
|
460
|
+
componentDidLoad() {
|
|
461
|
+
// if (!this.disabled){
|
|
462
|
+
// // if (this.selected) this.treeviewItemSelected.emit(this.itemObject)
|
|
463
|
+
// if (this.checked){
|
|
464
|
+
// // this.treeviewChecked.emit(this._id)
|
|
465
|
+
// this.handleCheckMouseUp()
|
|
466
|
+
// }
|
|
467
|
+
// }
|
|
468
|
+
if (!this.disabled && this.firstRun && this.checkTrigger) {
|
|
469
|
+
this.firstRun = false;
|
|
470
|
+
this.handleCheckMouseUp();
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
* @desc
|
|
475
|
+
* @returns {void}
|
|
476
|
+
*/
|
|
477
|
+
/* setIndeterminateState() {
|
|
478
|
+
if(this.getAllChilds().length > 0) {
|
|
479
|
+
|
|
480
|
+
let state: string = 'uncheck'
|
|
481
|
+
let allChecked: boolean = true
|
|
482
|
+
let allUnchecked: boolean = true
|
|
483
|
+
|
|
484
|
+
this.getAllChilds().map((item) => {
|
|
485
|
+
item.checked && (allUnchecked = false)
|
|
486
|
+
!item.checked && (allChecked = false)
|
|
487
|
+
});
|
|
488
|
+
|
|
489
|
+
!allChecked && !allUnchecked
|
|
490
|
+
? state = 'indeterminate'
|
|
491
|
+
: allChecked
|
|
492
|
+
? state = 'determinate'
|
|
493
|
+
: state = 'uncheck'
|
|
494
|
+
|
|
495
|
+
this.indeterminateState = state as any;
|
|
496
|
+
|
|
497
|
+
}
|
|
498
|
+
} */
|
|
499
|
+
/* @Watch('indeterminateState')
|
|
500
|
+
onCheckedChange() {
|
|
501
|
+
if (this.indeterminateState == 'determinate') {
|
|
502
|
+
this.treeviewChecked.emit(this._id)
|
|
503
|
+
}else if (this.indeterminateState == 'uncheck') {
|
|
504
|
+
this.treeviewIndeterminateUnchecked.emit(this._id)
|
|
505
|
+
this.checked = false
|
|
506
|
+
}else{
|
|
507
|
+
this.treeviewIndeterminateUnchecked.emit(this._id)
|
|
508
|
+
this.checked = false
|
|
509
|
+
}
|
|
510
|
+
} */
|
|
511
|
+
/**
|
|
512
|
+
* @descc
|
|
513
|
+
* @param event
|
|
514
|
+
*/
|
|
515
|
+
handletreeviewClearSelecteds(event) {
|
|
516
|
+
if (!this.disabled) {
|
|
517
|
+
if (event.detail && event.detail !== this.itemObject)
|
|
518
|
+
this.selected = false;
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* @descc
|
|
523
|
+
* @param event
|
|
524
|
+
*/
|
|
525
|
+
ListentreeviewChange() {
|
|
526
|
+
//this.setIndeterminateState();
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* @descc
|
|
530
|
+
* @param event
|
|
531
|
+
*/
|
|
532
|
+
ListentreeviewShowContext(event) {
|
|
533
|
+
this.contextOffsetTop = event.detail[1];
|
|
534
|
+
this.contextOffsetLeft = event.detail[2];
|
|
535
|
+
if (event.detail[0] && event.detail[0] === this._id) {
|
|
536
|
+
this.contextMenuShow = true;
|
|
537
|
+
}
|
|
538
|
+
else {
|
|
539
|
+
this.contextMenuShow = false;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* @desc
|
|
544
|
+
* @param event
|
|
545
|
+
*/
|
|
546
|
+
handleWindowClick(event) {
|
|
547
|
+
const target = event.target;
|
|
548
|
+
if (target === this.el)
|
|
549
|
+
return;
|
|
550
|
+
this.contextMenuShow = false;
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* @desc
|
|
554
|
+
*/
|
|
555
|
+
handleClick() {
|
|
556
|
+
if (!this.disabled) {
|
|
557
|
+
this.selected = true;
|
|
558
|
+
this.treeviewItemSelected.emit(this.itemObject);
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* @desc
|
|
563
|
+
*/
|
|
564
|
+
handleFavClick(e) {
|
|
565
|
+
if (!this.disabled) {
|
|
566
|
+
this.favorite = !this.favorite;
|
|
567
|
+
if (!this.itemObject["rightSlot"]) {
|
|
568
|
+
this.itemObject["rightSlot"] = {};
|
|
569
|
+
}
|
|
570
|
+
this.itemObject["rightSlot"]["favorite"] = this.favorite;
|
|
571
|
+
this.favoriteStatus.emit(this.itemObject);
|
|
572
|
+
e.stopPropagation();
|
|
573
|
+
e.preventDefault();
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
* @desc
|
|
578
|
+
*/
|
|
579
|
+
handleOpen() {
|
|
580
|
+
this.open = !this.open;
|
|
581
|
+
}
|
|
582
|
+
getRootChilds(element = this.el) {
|
|
583
|
+
return utils.getChilds(element, 'bcm-treeview-item');
|
|
584
|
+
}
|
|
585
|
+
getAllChilds(element = this.el) {
|
|
586
|
+
let returnAllItems = [];
|
|
587
|
+
utils.getChilds(element, 'bcm-treeview-item').forEach(items => {
|
|
588
|
+
this.getAllChilds(items) && (returnAllItems = [...returnAllItems, ...this.getAllChilds(items)]);
|
|
589
|
+
returnAllItems = [...returnAllItems,
|
|
590
|
+
items
|
|
591
|
+
];
|
|
592
|
+
});
|
|
593
|
+
return returnAllItems;
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* @desc
|
|
597
|
+
* -
|
|
598
|
+
*/
|
|
599
|
+
checkGroupState() {
|
|
600
|
+
// debugger;
|
|
601
|
+
const childsRoot = this.getRootChilds();
|
|
602
|
+
let [state, allChecked, allUnchecked] = ['uncheck', true, true];
|
|
603
|
+
if (childsRoot.length > 0) {
|
|
604
|
+
childsRoot.forEach(checkbox => {
|
|
605
|
+
(checkbox.checked || checkbox.indeterminateState === 'indeterminate') && (allUnchecked = false);
|
|
606
|
+
!checkbox.checked && (allChecked = false);
|
|
607
|
+
});
|
|
608
|
+
!allChecked && !allUnchecked
|
|
609
|
+
? state = 'indeterminate'
|
|
610
|
+
: allChecked
|
|
611
|
+
? state = 'determinate'
|
|
612
|
+
: state = 'uncheck';
|
|
613
|
+
this.indeterminateState = state;
|
|
614
|
+
if (state === 'determinate') {
|
|
615
|
+
this.checked = true;
|
|
616
|
+
// if(this.checked) {
|
|
617
|
+
this.treeviewChecked.emit(this._id);
|
|
618
|
+
// }
|
|
619
|
+
}
|
|
620
|
+
else {
|
|
621
|
+
this.checked = false;
|
|
622
|
+
this.treeviewUnchecked.emit(this._id);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
else {
|
|
626
|
+
if (this.checked) {
|
|
627
|
+
this.checked = false;
|
|
628
|
+
this.treeviewUnchecked.emit(this._id);
|
|
629
|
+
}
|
|
630
|
+
else {
|
|
631
|
+
this.checked = true;
|
|
632
|
+
this.treeviewChecked.emit(this._id);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* @Event
|
|
638
|
+
* @desc
|
|
639
|
+
* -
|
|
640
|
+
*/
|
|
641
|
+
handleCheckMouseUp() {
|
|
642
|
+
const checked = this.checked;
|
|
643
|
+
const state = this.indeterminateState;
|
|
644
|
+
if (!this.hasChild) {
|
|
645
|
+
!checked
|
|
646
|
+
? this.checked = true
|
|
647
|
+
: this.checked = false;
|
|
648
|
+
if (this.checked) {
|
|
649
|
+
this.treeviewChecked.emit(this._id);
|
|
650
|
+
}
|
|
651
|
+
else {
|
|
652
|
+
this.treeviewUnchecked.emit(this._id);
|
|
653
|
+
}
|
|
654
|
+
this.groupCheck.emit(this.parentId);
|
|
655
|
+
return;
|
|
656
|
+
}
|
|
657
|
+
const childs = this.getAllChilds();
|
|
658
|
+
if (state === 'indeterminate' || state === 'uncheck') {
|
|
659
|
+
childs.forEach(child => {
|
|
660
|
+
child.checked = true;
|
|
661
|
+
// if(this.checked) {
|
|
662
|
+
this.treeviewChecked.emit(child._id);
|
|
663
|
+
// }
|
|
664
|
+
child.indeterminateState = 'determined';
|
|
665
|
+
});
|
|
666
|
+
}
|
|
667
|
+
else {
|
|
668
|
+
childs.forEach(child => {
|
|
669
|
+
child.checked = false;
|
|
670
|
+
this.treeviewUnchecked.emit(child._id);
|
|
671
|
+
child.indeterminateState = 'uncheck';
|
|
672
|
+
});
|
|
673
|
+
}
|
|
674
|
+
this.checkGroupState();
|
|
675
|
+
this.groupCheck.emit(this.parentId);
|
|
676
|
+
}
|
|
677
|
+
checkGroup(e) {
|
|
678
|
+
const { detail: groupId } = e;
|
|
679
|
+
if (!groupId || this._id !== groupId)
|
|
680
|
+
return;
|
|
681
|
+
this.checkGroupState();
|
|
682
|
+
this.groupCheck.emit(this.parentId);
|
|
683
|
+
}
|
|
684
|
+
/**
|
|
685
|
+
* @desc
|
|
686
|
+
* @param item
|
|
687
|
+
*/
|
|
688
|
+
contextItemRenderer(item) {
|
|
689
|
+
return (index.h("span", null, item.title));
|
|
690
|
+
}
|
|
691
|
+
/**
|
|
692
|
+
* @desc
|
|
693
|
+
* @param newValue
|
|
694
|
+
* @returns {void}
|
|
695
|
+
*/
|
|
696
|
+
parseItems(newValue) {
|
|
697
|
+
if (newValue) {
|
|
698
|
+
typeof newValue == 'string'
|
|
699
|
+
? this.contextMenu = JSON.parse(newValue)
|
|
700
|
+
: this.contextMenu = newValue;
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
render() {
|
|
704
|
+
const { _id, text, tooltipText, size, icon, open, childLength, checkboxes, showIcon, checked, indeterminateState, focused, contextMenuShow } = this;
|
|
705
|
+
const menuPadding = this.menuPadding + 'px';
|
|
706
|
+
const textContent = index$1.classnames('text-content', size, 'size-2'
|
|
707
|
+
// {
|
|
708
|
+
// 'size-2': size === 'small' || size === 'medium',
|
|
709
|
+
// 'size-3': size === 'large',
|
|
710
|
+
// }
|
|
711
|
+
);
|
|
712
|
+
const classes = index$1.classnames('treeview-item', {
|
|
713
|
+
'focus': focused,
|
|
714
|
+
'open': open,
|
|
715
|
+
'selected': this.selected
|
|
716
|
+
});
|
|
717
|
+
const treeviewContextMenu = index$1.classnames('treeview-item-context-menu', {
|
|
718
|
+
'show': contextMenuShow
|
|
719
|
+
});
|
|
720
|
+
const treeviewInner = index$1.classnames('treeview-inner', {
|
|
721
|
+
'open': open,
|
|
722
|
+
});
|
|
723
|
+
const indeterminate = index$1.classnames('indeterminate', {
|
|
724
|
+
'disabled': this.disabled,
|
|
725
|
+
});
|
|
726
|
+
const treeviewItemContainer = index$1.classnames('treeview-item-container', {
|
|
727
|
+
'selected': this.selected,
|
|
728
|
+
'disabled': this.disabled
|
|
729
|
+
});
|
|
730
|
+
const collapseContent = index$1.classnames('collapse-content', {
|
|
731
|
+
'child': childLength > 0,
|
|
732
|
+
});
|
|
733
|
+
const hostClasses = index$1.classnames(this.hidden ? 'hidden' : null);
|
|
734
|
+
const faviconClass = index$1.classnames("favicon", {
|
|
735
|
+
"favorite": this.favorite
|
|
736
|
+
});
|
|
737
|
+
return (index.h(index.Host, { class: hostClasses }, index.h("div", { class: classes }, index.h("div", { class: collapseContent, id: "collapse-button", onClick: () => childLength > 0 && this.handleOpen() }, childLength > 0 && (index.h("bcm-icon", { class: "collapse-icon", icon: `far fa-${open ? 'caret-down' : 'caret-right'}` }))), index.h("div", { class: treeviewItemContainer }, index.h("section", { onMouseUp: () => this.handleCheckMouseUp() }, checkboxes && (index.h("div", { class: "check-content" }, indeterminateState == 'indeterminate' && (index.h("span", { class: indeterminate })) || (index.h("bcm-checkbox", { id: 'check-' + _id, name: 'check-' + _id, checked: checked, disabled: this.disabled, noCaption: true })))), index.h("div", { class: textContent, onClick: () => this.handleClick(), title: tooltipText }, showIcon && icon && (index.h("bcm-icon", { class: "icon", icon: icon })), index.h("span", { id: "text" }, text))), this.favicon && (index.h("section", { class: faviconClass, onClick: (e) => this.handleFavClick(e) }, index.h("bcm-icon", { title: this.favorite ? "Click to remove from favorite list" : "Click to add to your favourites list", icon: "far fa-star" })))), !checkboxes && (index.h("div", { class: treeviewContextMenu, style: { top: this.contextOffsetTop + 'px', left: this.contextOffsetLeft + 'px' } }, this.contextMenu.length !== 0 && this.contextMenu.map((item) => (this.contextItemRenderer(item)))))), index.h("div", { class: treeviewInner, style: { paddingLeft: menuPadding } }, index.h("slot", null))));
|
|
738
|
+
}
|
|
739
|
+
get el() { return index.getElement(this); }
|
|
740
|
+
static get watchers() { return {
|
|
741
|
+
"_contextMenu": ["parseItems"]
|
|
742
|
+
}; }
|
|
743
|
+
};
|
|
744
|
+
BcmtreeviewItem.style = treeviewItemCss;
|
|
745
|
+
|
|
746
|
+
exports.bcm_avatar = BcmAvatar;
|
|
747
|
+
exports.bcm_checkbox_lite = BcmCheckboxLite;
|
|
748
|
+
exports.bcm_divider = BcmDivider;
|
|
749
|
+
exports.bcm_empty = BcmEmpty;
|
|
750
|
+
exports.bcm_old_search = BcmOldSearch;
|
|
751
|
+
exports.bcm_treeview_item = BcmtreeviewItem;
|