bromcom-ui 2.7.37-rc.1 → 2.7.37-rc.3
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/p-00f2b559.entry.js +5 -0
- package/dist/bromcom-ui/{p-0e480b7b.entry.js → p-02892da0.entry.js} +1 -1
- package/dist/bromcom-ui/p-034cd518.js +5 -0
- package/dist/bromcom-ui/{p-cc270a88.entry.js → p-0653fefc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ace65422.entry.js → p-087d371a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1a12fbd0.entry.js → p-0cd7e628.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1115af65.entry.js → p-109d49c2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0ba73c30.js → p-10caf4ce.js} +1 -1
- package/dist/bromcom-ui/p-11d54517.entry.js +5 -0
- package/dist/bromcom-ui/{p-2d3c0790.entry.js → p-1507f99a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-83317635.entry.js → p-151d7bec.entry.js} +1 -1
- package/dist/bromcom-ui/p-1672aa8b.js +5 -0
- package/dist/bromcom-ui/{p-10dfe83e.js → p-27f0db71.js} +1 -1
- package/dist/bromcom-ui/p-2b27570e.entry.js +5 -0
- package/dist/bromcom-ui/{p-6fe3bfd9.entry.js → p-2b332236.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bfb83484.entry.js → p-2b3b55ef.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a0352fdd.entry.js → p-2b91dab0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ca13fe84.entry.js → p-2c3c7265.entry.js} +1 -1
- package/dist/bromcom-ui/p-2cfa8d1a.js +5 -0
- package/dist/bromcom-ui/{p-f69302a8.js → p-30806ec7.js} +1 -1
- package/dist/bromcom-ui/{p-cc9ba164.entry.js → p-31bc32d4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-20fc8571.entry.js → p-34b815f5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c562e4c2.entry.js → p-34f30b8b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f053ed80.entry.js → p-3716c24c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d11eccc0.entry.js → p-47fa3046.entry.js} +1 -1
- package/dist/bromcom-ui/p-49c83e11.entry.js +5 -0
- package/dist/bromcom-ui/{p-128a5956.js → p-4be4c5bf.js} +1 -1
- package/dist/bromcom-ui/p-522c96a2.js +5 -0
- package/dist/bromcom-ui/{p-125213af.entry.js → p-55cce901.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8c4b256e.js → p-577cf8e3.js} +1 -1
- package/dist/bromcom-ui/{p-7fad995d.entry.js → p-591b3100.entry.js} +1 -1
- package/dist/bromcom-ui/{p-23d5fe0b.entry.js → p-609bc368.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c7b9b694.entry.js → p-640244fa.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e73e6d2b.entry.js → p-65dcaa9e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f9401599.entry.js → p-6768e612.entry.js} +1 -1
- package/dist/bromcom-ui/{p-56f22945.entry.js → p-6a3c1fb9.entry.js} +1 -1
- package/dist/bromcom-ui/p-6ad01d01.entry.js +5 -0
- package/dist/bromcom-ui/{p-de9979a6.entry.js → p-6c12e5dd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-173ebc98.entry.js → p-6c7eb43f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9ecacdbb.entry.js → p-751c94dd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1a03334e.entry.js → p-76153673.entry.js} +1 -1
- package/dist/bromcom-ui/{p-51f23b60.entry.js → p-78d48636.entry.js} +1 -1
- package/dist/bromcom-ui/{p-81927f68.entry.js → p-7b7caea1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-eb809fa4.entry.js → p-7c8d47f6.entry.js} +1 -1
- package/dist/bromcom-ui/p-7d119b6d.js +5 -0
- package/dist/bromcom-ui/p-7df25164.entry.js +5 -0
- package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
- package/dist/bromcom-ui/{p-1c525c05.entry.js → p-7f065a45.entry.js} +1 -1
- package/dist/bromcom-ui/{p-603183c2.entry.js → p-8255f60a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7477b927.entry.js → p-82ad3d24.entry.js} +1 -1
- package/dist/bromcom-ui/{p-172edb20.entry.js → p-8513e734.entry.js} +1 -1
- package/dist/bromcom-ui/p-85d1183b.entry.js +5 -0
- package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
- package/dist/bromcom-ui/p-99dc108e.entry.js +5 -0
- package/dist/bromcom-ui/{p-f4c06b78.entry.js → p-9e8eb647.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b9f0114c.entry.js → p-9efe118a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6cda636f.entry.js → p-a04909f2.entry.js} +1 -1
- package/dist/bromcom-ui/p-a1c849e7.js +5 -0
- package/dist/bromcom-ui/{p-a8d1397d.js → p-a3ffcb0d.js} +1 -1
- package/dist/bromcom-ui/{p-d36f9b12.entry.js → p-a59a0361.entry.js} +1 -1
- package/dist/bromcom-ui/p-a661a9d5.entry.js +5 -0
- package/dist/bromcom-ui/p-a677275e.entry.js +5 -0
- package/dist/bromcom-ui/{p-99009fb3.entry.js → p-a98aecdf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5fb75161.entry.js → p-ab3f2735.entry.js} +1 -1
- package/dist/bromcom-ui/{p-250f52d3.entry.js → p-ad11bb72.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6f5cff36.entry.js → p-b1d1cdb0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dbc48ab6.entry.js → p-b4cbf3bd.entry.js} +1 -1
- package/dist/bromcom-ui/p-b9421650.entry.js +5 -0
- package/dist/bromcom-ui/{p-236a8be4.entry.js → p-b9983e4b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-12c97616.entry.js → p-bf30bf7f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-20e22beb.js → p-cd0490e2.js} +1 -1
- package/dist/bromcom-ui/p-cd638c37.entry.js +5 -0
- package/dist/bromcom-ui/p-ce9f87de.entry.js +5 -0
- package/dist/bromcom-ui/p-d18c5524.entry.js +5 -0
- package/dist/bromcom-ui/{p-0540bd97.entry.js → p-d9fb53c9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-df0a2839.entry.js → p-db7c75ac.entry.js} +1 -1
- package/dist/bromcom-ui/p-dbb106a4.entry.js +5 -0
- package/dist/bromcom-ui/{p-ac7386a1.entry.js → p-e467d49f.entry.js} +1 -1
- package/dist/bromcom-ui/p-e75fa6be.entry.js +5 -0
- package/dist/bromcom-ui/{p-1bb1ffce.entry.js → p-ea15e1f4.entry.js} +1 -1
- package/dist/bromcom-ui/p-ea9c10c3.js +5 -0
- package/dist/bromcom-ui/{p-0baf7808.entry.js → p-f9b0e4d2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-be904c55.js → p-f9cb7ae4.js} +1 -1
- package/dist/bromcom-ui/{p-1b5695a9.entry.js → p-fa42b2de.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c1253548.entry.js → p-fda9a21b.entry.js} +1 -1
- package/dist/bromcom-ui/p-fe3e3210.js +5 -0
- package/dist/bromcom-ui/{p-515f3937.entry.js → p-fef3003b.entry.js} +1 -1
- package/dist/cjs/_commonjsHelpers-bd20f4c0.js +29 -0
- package/dist/cjs/bcm-2c51bf0c.js +448 -0
- package/dist/cjs/bcm-accordion.cjs.entry.js +85 -0
- package/dist/cjs/bcm-alert.cjs.entry.js +112 -0
- package/dist/cjs/bcm-attendance.cjs.entry.js +50 -0
- package/dist/cjs/bcm-autocomplete.cjs.entry.js +155 -0
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +156 -0
- package/dist/cjs/bcm-box.cjs.entry.js +35 -0
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +67 -0
- package/dist/cjs/bcm-button-group.cjs.entry.js +102 -0
- package/dist/cjs/bcm-button_4.cjs.entry.js +997 -0
- package/dist/cjs/bcm-card.cjs.entry.js +76 -0
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +409 -0
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2570 -0
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +203 -0
- package/dist/cjs/bcm-chip.cjs.entry.js +70 -0
- package/dist/cjs/bcm-collapse-group.cjs.entry.js +57 -0
- package/dist/cjs/bcm-collapse.cjs.entry.js +58 -0
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +433 -0
- package/dist/cjs/bcm-date-picker.cjs.entry.js +171 -0
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +1432 -0
- package/dist/cjs/bcm-default.cjs.entry.js +40 -0
- package/dist/cjs/bcm-drawer.cjs.entry.js +111 -0
- package/dist/cjs/bcm-dropdown.cjs.entry.js +239 -0
- package/dist/cjs/bcm-error-layout.cjs.entry.js +78 -0
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +127 -0
- package/dist/cjs/bcm-form-2.cjs.entry.js +206 -0
- package/dist/cjs/bcm-form-group.cjs.entry.js +45 -0
- package/dist/cjs/bcm-input.cjs.entry.js +325 -0
- package/dist/cjs/bcm-item.cjs.entry.js +83 -0
- package/dist/cjs/bcm-items.cjs.entry.js +61 -0
- package/dist/cjs/bcm-label_2.cjs.entry.js +119 -0
- package/dist/cjs/bcm-link.cjs.entry.js +62 -0
- package/dist/cjs/bcm-linked.cjs.entry.js +179 -0
- package/dist/cjs/bcm-list.cjs.entry.js +1768 -0
- package/dist/cjs/bcm-menu.cjs.entry.js +248 -0
- package/dist/cjs/bcm-message.cjs.entry.js +99 -0
- package/dist/cjs/bcm-notification.cjs.entry.js +103 -0
- package/dist/cjs/bcm-old-input.cjs.entry.js +398 -0
- package/dist/cjs/bcm-old-tag_2.cjs.entry.js +157 -0
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +122 -0
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +112 -0
- package/dist/cjs/bcm-popover.cjs.entry.js +182 -0
- package/dist/cjs/bcm-progress.cjs.entry.js +174 -0
- package/dist/cjs/bcm-radio-group.cjs.entry.js +267 -0
- package/dist/cjs/bcm-radio.cjs.entry.js +104 -0
- package/dist/cjs/bcm-range.cjs.entry.js +189 -0
- package/dist/cjs/bcm-result.cjs.entry.js +79 -0
- package/dist/cjs/bcm-search.cjs.entry.js +256 -0
- package/dist/cjs/bcm-select-group.cjs.entry.js +31 -0
- package/dist/cjs/bcm-select-option.cjs.entry.js +37 -0
- package/dist/cjs/bcm-select.cjs.entry.js +1198 -0
- package/dist/cjs/bcm-skeleton.cjs.entry.js +56 -0
- package/dist/cjs/bcm-step.cjs.entry.js +93 -0
- package/dist/cjs/bcm-stepper.cjs.entry.js +211 -0
- package/dist/cjs/bcm-switch.cjs.entry.js +139 -0
- package/dist/cjs/bcm-tab-group.cjs.entry.js +172 -0
- package/dist/cjs/bcm-tab-pane.cjs.entry.js +70 -0
- package/dist/cjs/bcm-tab.cjs.entry.js +89 -0
- package/dist/cjs/bcm-table.cjs.entry.js +78 -0
- package/dist/cjs/bcm-tabs-content.cjs.entry.js +62 -0
- package/dist/cjs/bcm-tabs.cjs.entry.js +390 -0
- package/dist/cjs/bcm-tag.cjs.entry.js +101 -0
- package/dist/cjs/bcm-text.cjs.entry.js +60 -0
- package/dist/cjs/bcm-textarea.cjs.entry.js +150 -0
- package/dist/cjs/bcm-time-picker.cjs.entry.js +139 -0
- package/dist/cjs/bcm-timeline-item.cjs.entry.js +55 -0
- package/dist/cjs/bcm-timeline.cjs.entry.js +73 -0
- package/dist/cjs/bcm-treeview-group.cjs.entry.js +23 -0
- package/dist/cjs/bromcom-ui.cjs.js +24 -0
- package/dist/cjs/caption-template-954d34bc.js +34 -0
- package/dist/cjs/color-helper-c9882bd8.js +490 -0
- package/dist/cjs/colors-56282b00.js +224 -0
- package/dist/cjs/datetime-helper-eaf4fadb.js +11 -0
- package/dist/cjs/element-dragger-a8562f82.js +279 -0
- package/dist/cjs/floating-ui-dae608ba.js +1455 -0
- package/dist/cjs/generate-9444aa87.js +203 -0
- package/dist/cjs/global-b0d21446.js +15 -0
- package/dist/cjs/index-9d98aa56.js +1864 -0
- package/dist/cjs/index-a2b50e51.js +64 -0
- package/dist/cjs/index-f8547ecd.js +193 -0
- package/dist/cjs/index.cjs.js +6 -0
- package/dist/cjs/input-template-623d767d.js +86 -0
- package/dist/cjs/is-load-decorator-65755a67.js +56 -0
- package/dist/cjs/json-parse-decarator-e39af071.js +40 -0
- package/dist/cjs/label-template-1ed6a569.js +23 -0
- package/dist/cjs/loader.cjs.js +26 -0
- package/dist/cjs/number-helper-ba5aa459.js +20 -0
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +161 -0
- package/dist/cjs/old-bcm-popover.cjs.entry.js +104 -0
- package/dist/cjs/popover-placement-87901bb3.js +98 -0
- package/dist/cjs/property-decorators-cb2155ed.js +33 -0
- package/dist/cjs/slot-template-2ff0d22a.js +15 -0
- package/dist/cjs/stepper-states-46c5f64b.js +83 -0
- package/dist/cjs/string-helper-df40a475.js +134 -0
- package/dist/cjs/tooltip-helper-5442af2e.js +104 -0
- package/dist/cjs/types-3871235f.js +32 -0
- package/dist/cjs/types-6eb7e028.js +32 -0
- package/dist/cjs/types-cc4adee7.js +19 -0
- package/dist/cjs/utils-fc077139.js +131 -0
- package/dist/cjs/validators-e45ced35.js +33 -0
- package/dist/collection/collection-manifest.json +95 -0
- package/dist/collection/components/atoms/avatar/avatar.css +448 -0
- package/dist/collection/components/atoms/avatar/avatar.js +259 -0
- package/dist/collection/components/atoms/badge/badge.css +481 -0
- package/dist/collection/components/atoms/badge/badge.js +224 -0
- package/dist/collection/components/atoms/box/box.js +23 -0
- package/dist/collection/components/atoms/button/button.css +652 -0
- package/dist/collection/components/atoms/button/button.js +527 -0
- package/dist/collection/components/atoms/button/types.js +170 -0
- package/dist/collection/components/atoms/chip/chip.css +453 -0
- package/dist/collection/components/atoms/chip/chip.js +187 -0
- package/dist/collection/components/atoms/divider/divider.css +142 -0
- package/dist/collection/components/atoms/divider/divider.js +83 -0
- package/dist/collection/components/atoms/icon/icon.css +127 -0
- package/dist/collection/components/atoms/icon/icon.js +70 -0
- package/dist/collection/components/atoms/label/label.css +408 -0
- package/dist/collection/components/atoms/label/label.js +216 -0
- package/dist/collection/components/atoms/link/link.css +419 -0
- package/dist/collection/components/atoms/link/link.js +176 -0
- package/dist/collection/components/atoms/states/button.states.js +31 -0
- package/dist/collection/components/atoms/tag/tag.js +334 -0
- package/dist/collection/components/atoms/tag/types.js +30 -0
- package/dist/collection/components/atoms/typography/typography.js +23 -0
- package/dist/collection/components/molecules/accordion/accordion.css +127 -0
- package/dist/collection/components/molecules/accordion/accordion.js +129 -0
- package/dist/collection/components/molecules/alert/alert.css +191 -0
- package/dist/collection/components/molecules/alert/alert.js +298 -0
- package/dist/collection/components/molecules/alert/types.js +23 -0
- package/dist/collection/components/molecules/breadcrumb/breadcrumb.css +201 -0
- package/dist/collection/components/molecules/breadcrumb/breadcrumb.js +155 -0
- package/dist/collection/components/molecules/breadcrumb/types.js +5 -0
- package/dist/collection/components/molecules/button-group/button-group.css +423 -0
- package/dist/collection/components/molecules/button-group/button-group.js +235 -0
- package/dist/collection/components/molecules/card/card.css +408 -0
- package/dist/collection/components/molecules/card/card.js +128 -0
- package/dist/collection/components/molecules/checkbox/checkbox-lite.js +237 -0
- package/dist/collection/components/molecules/checkbox/checkbox.css +1280 -0
- package/dist/collection/components/molecules/checkbox/checkbox.js +688 -0
- package/dist/collection/components/molecules/checkbox/group.css +156 -0
- package/dist/collection/components/molecules/checkbox/group.js +779 -0
- package/dist/collection/components/molecules/drawer/drawer.css +502 -0
- package/dist/collection/components/molecules/drawer/drawer.js +272 -0
- package/dist/collection/components/molecules/dropdown/dropdown.css +419 -0
- package/dist/collection/components/molecules/dropdown/dropdown.js +857 -0
- package/dist/collection/components/molecules/empty/empty.js +44 -0
- package/dist/collection/components/molecules/error-layout/error-layout.css +396 -0
- package/dist/collection/components/molecules/error-layout/error-layout.js +177 -0
- package/dist/collection/components/molecules/error-layout/types.js +5 -0
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +488 -0
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +322 -0
- package/dist/collection/components/molecules/input/input.css +1208 -0
- package/dist/collection/components/molecules/input/input.js +1171 -0
- package/dist/collection/components/molecules/input/types.js +17 -0
- package/dist/collection/components/molecules/item/item.css +446 -0
- package/dist/collection/components/molecules/item/item.js +151 -0
- package/dist/collection/components/molecules/items/items.js +84 -0
- package/dist/collection/components/molecules/linked/linked.js +410 -0
- package/dist/collection/components/molecules/menu/menu.css +718 -0
- package/dist/collection/components/molecules/menu/menu.js +623 -0
- package/dist/collection/components/molecules/message/message.css +165 -0
- package/dist/collection/components/molecules/message/message.js +222 -0
- package/dist/collection/components/molecules/message/types.js +14 -0
- package/dist/collection/components/molecules/modal/modal.css +526 -0
- package/dist/collection/components/molecules/modal/modal.js +374 -0
- package/dist/collection/components/molecules/notification/notification.css +183 -0
- package/dist/collection/components/molecules/notification/notification.js +244 -0
- package/dist/collection/components/molecules/notification/types.js +15 -0
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +563 -0
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.js +396 -0
- package/dist/collection/components/molecules/popconfirm/popconfirm.css +127 -0
- package/dist/collection/components/molecules/popconfirm/popconfirm.js +382 -0
- package/dist/collection/components/molecules/popover/popover.js +254 -0
- package/dist/collection/components/molecules/progress/progress.css +486 -0
- package/dist/collection/components/molecules/progress/progress.js +404 -0
- package/dist/collection/components/molecules/progress/types.js +28 -0
- package/dist/collection/components/molecules/radio/group.css +798 -0
- package/dist/collection/components/molecules/radio/group.js +652 -0
- package/dist/collection/components/molecules/radio/radio.css +1280 -0
- package/dist/collection/components/molecules/radio/radio.js +291 -0
- package/dist/collection/components/molecules/radio/types.js +30 -0
- package/dist/collection/components/molecules/range/range.css +570 -0
- package/dist/collection/components/molecules/range/range.js +472 -0
- package/dist/collection/components/molecules/result/result.css +164 -0
- package/dist/collection/components/molecules/result/result.js +143 -0
- package/dist/collection/components/molecules/result/types.js +22 -0
- package/dist/collection/components/molecules/search/search.css +1208 -0
- package/dist/collection/components/molecules/search/search.js +406 -0
- package/dist/collection/components/molecules/skeleton/skeleton.js +94 -0
- package/dist/collection/components/molecules/states/alert.states.js +25 -0
- package/dist/collection/components/molecules/states/checkbox-group.states.js +199 -0
- package/dist/collection/components/molecules/states/radio-group.states.js +107 -0
- package/dist/collection/components/molecules/states/search.states.js +137 -0
- package/dist/collection/components/molecules/states/stepper-states.js +79 -0
- package/dist/collection/components/molecules/stepper/step.js +346 -0
- package/dist/collection/components/molecules/stepper/stepper.css +617 -0
- package/dist/collection/components/molecules/stepper/stepper.js +484 -0
- package/dist/collection/components/molecules/switch/switch.css +1272 -0
- package/dist/collection/components/molecules/switch/switch.js +716 -0
- package/dist/collection/components/molecules/tab-group/tab-group.js +280 -0
- package/dist/collection/components/molecules/textarea/textarea.css +1208 -0
- package/dist/collection/components/molecules/textarea/textarea.js +731 -0
- package/dist/collection/components/molecules/textarea/types.js +13 -0
- package/dist/collection/components/molecules/timeline/timeline-item.css +254 -0
- package/dist/collection/components/molecules/timeline/timeline-item.js +159 -0
- package/dist/collection/components/molecules/timeline/timeline.css +205 -0
- package/dist/collection/components/molecules/timeline/timeline.js +125 -0
- package/dist/collection/components/molecules/tooltip/tooltip.js +232 -0
- package/dist/collection/components/organism/autocomplete/autocomplete.css +168 -0
- package/dist/collection/components/organism/autocomplete/autocomplete.js +399 -0
- package/dist/collection/components/organism/colorpicker/colorpicker.css +313 -0
- package/dist/collection/components/organism/colorpicker/colorpicker.js +774 -0
- package/dist/collection/components/organism/colorpicker/static/chess.png +0 -0
- package/dist/collection/components/organism/colorpicker/static/color.svg +14 -0
- package/dist/collection/components/organism/colorpicker/static/colors.svg +16 -0
- package/dist/collection/components/organism/date-picker/date-picker.css +141 -0
- package/dist/collection/components/organism/date-picker/date-picker.js +780 -0
- package/dist/collection/components/organism/datetime-picker/datetime-picker.css +1429 -0
- package/dist/collection/components/organism/datetime-picker/datetime-picker.js +2166 -0
- package/dist/collection/components/organism/datetime-picker/types.js +39 -0
- package/dist/collection/components/organism/form/form-group.css +131 -0
- package/dist/collection/components/organism/form/form-group.js +131 -0
- package/dist/collection/components/organism/form/form.css +132 -0
- package/dist/collection/components/organism/form/form.js +680 -0
- package/dist/collection/components/organism/form-2/bcm-form-components.js +26 -0
- package/dist/collection/components/organism/form-2/form-2.css +127 -0
- package/dist/collection/components/organism/form-2/form-2.js +329 -0
- package/dist/collection/components/organism/list/list-key-control.js +125 -0
- package/dist/collection/components/organism/list/list-tag-control.js +172 -0
- package/dist/collection/components/organism/list/list.css +2047 -0
- package/dist/collection/components/organism/list/list.js +1894 -0
- package/dist/collection/components/organism/states/bcm-list2.states.js +532 -0
- package/dist/collection/components/organism/time-picker/time-picker.css +141 -0
- package/dist/collection/components/organism/time-picker/time-picker.js +627 -0
- package/dist/collection/components/other/attendance/attendance.css +433 -0
- package/dist/collection/components/other/attendance/attendance.js +87 -0
- package/dist/collection/components/other/data-table/table.css +130 -0
- package/dist/collection/components/other/data-table/table.js +92 -0
- package/dist/collection/components/other/default/default.css +127 -0
- package/dist/collection/components/other/default/default.js +54 -0
- package/dist/collection/components/other_deprecated/collapse/collapse.css +177 -0
- package/dist/collection/components/other_deprecated/collapse/collapse.js +163 -0
- package/dist/collection/components/other_deprecated/collapse/group.js +128 -0
- package/dist/collection/components/other_deprecated/listbox/listbox-group.css +139 -0
- package/dist/collection/components/other_deprecated/listbox/listbox-group.js +93 -0
- package/dist/collection/components/other_deprecated/listbox/listbox-item.css +269 -0
- package/dist/collection/components/other_deprecated/listbox/listbox-item.js +641 -0
- package/dist/collection/components/other_deprecated/listbox/listbox.css +365 -0
- package/dist/collection/components/other_deprecated/listbox/listbox.js +1999 -0
- package/dist/collection/components/other_deprecated/listbox/types.js +11 -0
- package/dist/collection/components/other_deprecated/old-input/old-input.css +1360 -0
- package/dist/collection/components/other_deprecated/old-input/old-input.js +1154 -0
- package/dist/collection/components/other_deprecated/old-input/types.js +17 -0
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +582 -0
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.js +422 -0
- package/dist/collection/components/other_deprecated/old-popover/old-popover.css +127 -0
- package/dist/collection/components/other_deprecated/old-popover/old-popover.js +296 -0
- package/dist/collection/components/other_deprecated/old-search/old-search.css +131 -0
- package/dist/collection/components/other_deprecated/old-search/old-search.js +496 -0
- package/dist/collection/components/other_deprecated/old-tag/old-tag.css +305 -0
- package/dist/collection/components/other_deprecated/old-tag/old-tag.js +326 -0
- package/dist/collection/components/other_deprecated/old-tag/types.js +30 -0
- package/dist/collection/components/other_deprecated/select/group.css +144 -0
- package/dist/collection/components/other_deprecated/select/group.js +88 -0
- package/dist/collection/components/other_deprecated/select/option.css +164 -0
- package/dist/collection/components/other_deprecated/select/option.js +142 -0
- package/dist/collection/components/other_deprecated/select/select-box.css +143 -0
- package/dist/collection/components/other_deprecated/select/select-box.js +104 -0
- package/dist/collection/components/other_deprecated/select/select.css +364 -0
- package/dist/collection/components/other_deprecated/select/select.js +2281 -0
- package/dist/collection/components/other_deprecated/tabs/tab-pane.css +142 -0
- package/dist/collection/components/other_deprecated/tabs/tab-pane.js +168 -0
- package/dist/collection/components/other_deprecated/tabs/tab.css +587 -0
- package/dist/collection/components/other_deprecated/tabs/tab.js +303 -0
- package/dist/collection/components/other_deprecated/tabs/tabs-content.css +136 -0
- package/dist/collection/components/other_deprecated/tabs/tabs-content.js +147 -0
- package/dist/collection/components/other_deprecated/tabs/tabs.css +212 -0
- package/dist/collection/components/other_deprecated/tabs/tabs.js +806 -0
- package/dist/collection/components/other_deprecated/tabs/types.js +30 -0
- package/dist/collection/components/other_deprecated/text/text.css +429 -0
- package/dist/collection/components/other_deprecated/text/text.js +159 -0
- package/dist/collection/components/other_deprecated/treeview/treeview-group.css +0 -0
- package/dist/collection/components/other_deprecated/treeview/treeview-group.js +18 -0
- package/dist/collection/components/other_deprecated/treeview/treeview-item.css +318 -0
- package/dist/collection/components/other_deprecated/treeview/treeview-item.js +977 -0
- package/dist/collection/components/other_deprecated/treeview/treeview.css +190 -0
- package/dist/collection/components/other_deprecated/treeview/treeview.js +1699 -0
- package/dist/collection/components/other_deprecated/treeview/types.js +11 -0
- package/dist/collection/decorators/id-decorator.js +18 -0
- package/dist/collection/decorators/index.js +8 -0
- package/dist/collection/decorators/is-load-decorator.js +51 -0
- package/dist/collection/decorators/json-parse-decarator.js +35 -0
- package/dist/collection/decorators/property-decorators.js +28 -0
- package/dist/collection/global/components/_checkbox.css +627 -0
- package/dist/collection/global/config.js +45 -0
- package/dist/collection/global/global.js +43 -0
- package/dist/collection/global/variables/colors.js +220 -0
- package/dist/collection/helper/color-helper.js +81 -0
- package/dist/collection/helper/datetime-helper.js +7 -0
- package/dist/collection/helper/generate.js +168 -0
- package/dist/collection/helper/index.js +12 -0
- package/dist/collection/helper/number-helper.js +15 -0
- package/dist/collection/helper/popover-helper.js +106 -0
- package/dist/collection/helper/string-helper.js +65 -0
- package/dist/collection/helper/tooltip-helper.js +95 -0
- package/dist/collection/helper/validators.js +28 -0
- package/dist/collection/index.js +5 -0
- package/dist/collection/models/abstract-classes/abstract-key-control.js +97 -0
- package/dist/collection/models/bcm-types.js +5 -0
- package/dist/collection/models/bcm.js +466 -0
- package/dist/collection/models/index.js +6 -0
- package/dist/collection/models/states/atoms/bcm-atoms-state.js +5 -0
- package/dist/collection/models/states/molecules/bcm-molecules-state.js +5 -0
- package/dist/collection/models/states/organisms/bcm-organisms-state.js +5 -0
- package/dist/collection/templates/button-template.js +22 -0
- package/dist/collection/templates/caption-template.js +29 -0
- package/dist/collection/templates/checkbox-group-template.js +10 -0
- package/dist/collection/templates/checkbox-template.js +31 -0
- package/dist/collection/templates/icon-template.js +24 -0
- package/dist/collection/templates/index.js +17 -0
- package/dist/collection/templates/info-footer-template.js +16 -0
- package/dist/collection/templates/input-template.js +81 -0
- package/dist/collection/templates/label-template.js +18 -0
- package/dist/collection/templates/list-item-template.js +58 -0
- package/dist/collection/templates/list-template.js +24 -0
- package/dist/collection/templates/slot-template.js +10 -0
- package/dist/collection/templates/step-template.js +26 -0
- package/dist/collection/templates/tag-template.js +45 -0
- package/dist/collection/types/index.js +5 -0
- package/dist/collection/utils/element-dragger.js +274 -0
- package/dist/collection/utils/floating-ui.js +95 -0
- package/dist/collection/utils/index.js +9 -0
- package/dist/collection/utils/popover-placement.js +96 -0
- package/dist/collection/utils/utils.js +223 -0
- package/dist/collection/utils/validation.js +47 -0
- package/dist/esm/_commonjsHelpers-3016b722.js +25 -0
- package/dist/esm/bcm-accordion.entry.js +81 -0
- package/dist/esm/bcm-alert.entry.js +108 -0
- package/dist/esm/bcm-attendance.entry.js +46 -0
- package/dist/esm/bcm-autocomplete.entry.js +151 -0
- package/dist/esm/bcm-avatar_2.entry.js +151 -0
- package/dist/esm/bcm-b8d8a236.js +446 -0
- package/dist/esm/bcm-box.entry.js +31 -0
- package/dist/esm/bcm-breadcrumb.entry.js +63 -0
- package/dist/esm/bcm-button-group.entry.js +98 -0
- package/dist/esm/bcm-button_4.entry.js +990 -0
- package/dist/esm/bcm-card.entry.js +72 -0
- package/dist/esm/bcm-checkbox-group.entry.js +405 -0
- package/dist/esm/bcm-checkbox-lite_9.entry.js +2558 -0
- package/dist/esm/bcm-checkbox_2.entry.js +198 -0
- package/dist/esm/bcm-chip.entry.js +66 -0
- package/dist/esm/bcm-collapse-group.entry.js +53 -0
- package/dist/esm/bcm-collapse.entry.js +54 -0
- package/dist/esm/bcm-colorpicker.entry.js +429 -0
- package/dist/esm/bcm-date-picker.entry.js +167 -0
- package/dist/esm/bcm-datetime-picker.entry.js +1428 -0
- package/dist/esm/bcm-default.entry.js +36 -0
- package/dist/esm/bcm-drawer.entry.js +107 -0
- package/dist/esm/bcm-dropdown.entry.js +235 -0
- package/dist/esm/bcm-error-layout.entry.js +74 -0
- package/dist/esm/bcm-expansion-panel.entry.js +123 -0
- package/dist/esm/bcm-form-2.entry.js +202 -0
- package/dist/esm/bcm-form-group.entry.js +41 -0
- package/dist/esm/bcm-input.entry.js +321 -0
- package/dist/esm/bcm-item.entry.js +79 -0
- package/dist/esm/bcm-items.entry.js +57 -0
- package/dist/esm/bcm-label_2.entry.js +114 -0
- package/dist/esm/bcm-link.entry.js +58 -0
- package/dist/esm/bcm-linked.entry.js +175 -0
- package/dist/esm/bcm-list.entry.js +1764 -0
- package/dist/esm/bcm-menu.entry.js +244 -0
- package/dist/esm/bcm-message.entry.js +95 -0
- package/dist/esm/bcm-notification.entry.js +99 -0
- package/dist/esm/bcm-old-input.entry.js +394 -0
- package/dist/esm/bcm-old-tag_2.entry.js +152 -0
- package/dist/esm/bcm-popconfirm-box.entry.js +118 -0
- package/dist/esm/bcm-popconfirm.entry.js +108 -0
- package/dist/esm/bcm-popover.entry.js +178 -0
- package/dist/esm/bcm-progress.entry.js +170 -0
- package/dist/esm/bcm-radio-group.entry.js +263 -0
- package/dist/esm/bcm-radio.entry.js +100 -0
- package/dist/esm/bcm-range.entry.js +185 -0
- package/dist/esm/bcm-result.entry.js +75 -0
- package/dist/esm/bcm-search.entry.js +252 -0
- package/dist/esm/bcm-select-group.entry.js +27 -0
- package/dist/esm/bcm-select-option.entry.js +33 -0
- package/dist/esm/bcm-select.entry.js +1194 -0
- package/dist/esm/bcm-skeleton.entry.js +52 -0
- package/dist/esm/bcm-step.entry.js +89 -0
- package/dist/esm/bcm-stepper.entry.js +207 -0
- package/dist/esm/bcm-switch.entry.js +135 -0
- package/dist/esm/bcm-tab-group.entry.js +168 -0
- package/dist/esm/bcm-tab-pane.entry.js +66 -0
- package/dist/esm/bcm-tab.entry.js +85 -0
- package/dist/esm/bcm-table.entry.js +74 -0
- package/dist/esm/bcm-tabs-content.entry.js +58 -0
- package/dist/esm/bcm-tabs.entry.js +386 -0
- package/dist/esm/bcm-tag.entry.js +97 -0
- package/dist/esm/bcm-text.entry.js +56 -0
- package/dist/esm/bcm-textarea.entry.js +146 -0
- package/dist/esm/bcm-time-picker.entry.js +135 -0
- package/dist/esm/bcm-timeline-item.entry.js +51 -0
- package/dist/esm/bcm-timeline.entry.js +69 -0
- package/dist/esm/bcm-treeview-group.entry.js +19 -0
- package/dist/esm/bromcom-ui.js +22 -0
- package/dist/esm/caption-template-d54ee0c3.js +32 -0
- package/dist/esm/color-helper-7e202fd8.js +488 -0
- package/dist/esm/colors-1d7854ea.js +222 -0
- package/dist/esm/datetime-helper-df25808a.js +9 -0
- package/dist/esm/element-dragger-89bb52fd.js +277 -0
- package/dist/esm/floating-ui-f03a96ce.js +1453 -0
- package/dist/esm/generate-d57a5f95.js +200 -0
- package/dist/esm/global-4fad925b.js +13 -0
- package/dist/esm/index-2a3eeccc.js +1833 -0
- package/dist/esm/index-6e950253.js +191 -0
- package/dist/esm/index-ba2edd32.js +62 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/input-template-2044f4f6.js +84 -0
- package/dist/esm/is-load-decorator-b990575a.js +54 -0
- package/dist/esm/json-parse-decarator-50541a21.js +38 -0
- package/dist/esm/label-template-e3eebfbc.js +21 -0
- package/dist/esm/loader.js +22 -0
- package/dist/esm/number-helper-75d21178.js +18 -0
- package/dist/esm/old-bcm-popover-box.entry.js +157 -0
- package/dist/esm/old-bcm-popover.entry.js +100 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/popover-placement-9864294b.js +95 -0
- package/dist/esm/property-decorators-f3f1e7de.js +31 -0
- package/dist/esm/slot-template-877c4e01.js +13 -0
- package/dist/esm/stepper-states-9f66e2b4.js +81 -0
- package/dist/esm/string-helper-74a1648f.js +132 -0
- package/dist/esm/tooltip-helper-bed79484.js +102 -0
- package/dist/esm/types-6f06fa1a.js +19 -0
- package/dist/esm/types-b211a5eb.js +32 -0
- package/dist/esm/types-bfc3bba1.js +32 -0
- package/dist/esm/utils-57652744.js +123 -0
- package/dist/esm/validators-6af629b4.js +31 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/atoms/avatar/avatar.d.ts +23 -0
- package/dist/types/components/atoms/badge/badge.d.ts +17 -0
- package/dist/types/components/atoms/box/box.d.ts +5 -0
- package/dist/types/components/atoms/button/button.d.ts +33 -0
- package/dist/types/components/atoms/button/types.d.ts +166 -0
- package/dist/types/components/atoms/chip/chip.d.ts +24 -0
- package/dist/types/components/atoms/divider/divider.d.ts +7 -0
- package/dist/types/components/atoms/icon/icon.d.ts +6 -0
- package/dist/types/components/atoms/label/label.d.ts +16 -0
- package/dist/types/components/atoms/link/link.d.ts +13 -0
- package/dist/types/components/atoms/states/button.states.d.ts +7 -0
- package/dist/types/components/atoms/tag/tag.d.ts +24 -0
- package/dist/types/components/atoms/tag/types.d.ts +29 -0
- package/dist/types/components/atoms/typography/typography.d.ts +5 -0
- package/dist/types/components/molecules/accordion/accordion.d.ts +11 -0
- package/dist/types/components/molecules/alert/alert.d.ts +21 -0
- package/dist/types/components/molecules/alert/types.d.ts +25 -0
- package/dist/types/components/molecules/breadcrumb/breadcrumb.d.ts +14 -0
- package/dist/types/components/molecules/breadcrumb/types.d.ts +10 -0
- package/dist/types/components/molecules/button-group/button-group.d.ts +21 -0
- package/dist/types/components/molecules/card/card.d.ts +11 -0
- package/dist/types/components/molecules/checkbox/checkbox-lite.d.ts +14 -0
- package/dist/types/components/molecules/checkbox/checkbox.d.ts +56 -0
- package/dist/types/components/molecules/checkbox/group.d.ts +56 -0
- package/dist/types/components/molecules/drawer/drawer.d.ts +21 -0
- package/dist/types/components/molecules/dropdown/dropdown.d.ts +55 -0
- package/dist/types/components/molecules/empty/empty.d.ts +5 -0
- package/dist/types/components/molecules/error-layout/error-layout.d.ts +25 -0
- package/dist/types/components/molecules/error-layout/types.d.ts +4 -0
- package/dist/types/components/molecules/expansion-panel/expansion-panel.d.ts +31 -0
- package/dist/types/components/molecules/input/input.d.ts +82 -0
- package/dist/types/components/molecules/input/types.d.ts +13 -0
- package/dist/types/components/molecules/item/item.d.ts +13 -0
- package/dist/types/components/molecules/items/items.d.ts +10 -0
- package/dist/types/components/molecules/linked/linked.d.ts +30 -0
- package/dist/types/components/molecules/menu/menu.d.ts +41 -0
- package/dist/types/components/molecules/message/message.d.ts +32 -0
- package/dist/types/components/molecules/message/types.d.ts +13 -0
- package/dist/types/components/molecules/modal/modal.d.ts +25 -0
- package/dist/types/components/molecules/notification/notification.d.ts +42 -0
- package/dist/types/components/molecules/notification/types.d.ts +14 -0
- package/dist/types/components/molecules/popconfirm/popconfirm-box.d.ts +29 -0
- package/dist/types/components/molecules/popconfirm/popconfirm.d.ts +28 -0
- package/dist/types/components/molecules/popover/popover.d.ts +20 -0
- package/dist/types/components/molecules/progress/progress.d.ts +25 -0
- package/dist/types/components/molecules/progress/types.d.ts +14 -0
- package/dist/types/components/molecules/radio/group.d.ts +54 -0
- package/dist/types/components/molecules/radio/radio.d.ts +21 -0
- package/dist/types/components/molecules/radio/types.d.ts +29 -0
- package/dist/types/components/molecules/range/range.d.ts +36 -0
- package/dist/types/components/molecules/result/result.d.ts +13 -0
- package/dist/types/components/molecules/result/types.d.ts +19 -0
- package/dist/types/components/molecules/search/search.d.ts +35 -0
- package/dist/types/components/molecules/skeleton/skeleton.d.ts +8 -0
- package/dist/types/components/molecules/states/alert.states.d.ts +7 -0
- package/dist/types/components/molecules/states/checkbox-group.states.d.ts +53 -0
- package/dist/types/components/molecules/states/radio-group.states.d.ts +48 -0
- package/dist/types/components/molecules/states/search.states.d.ts +14 -0
- package/dist/types/components/molecules/states/stepper-states.d.ts +13 -0
- package/dist/types/components/molecules/stepper/step.d.ts +25 -0
- package/dist/types/components/molecules/stepper/stepper.d.ts +34 -0
- package/dist/types/components/molecules/switch/switch.d.ts +46 -0
- package/dist/types/components/molecules/tab-group/tab-group.d.ts +18 -0
- package/dist/types/components/molecules/textarea/textarea.d.ts +53 -0
- package/dist/types/components/molecules/textarea/types.d.ts +9 -0
- package/dist/types/components/molecules/timeline/timeline-item.d.ts +16 -0
- package/dist/types/components/molecules/timeline/timeline.d.ts +25 -0
- package/dist/types/components/molecules/tooltip/tooltip.d.ts +19 -0
- package/dist/types/components/organism/autocomplete/autocomplete.d.ts +31 -0
- package/dist/types/components/organism/colorpicker/colorpicker.d.ts +176 -0
- package/dist/types/components/organism/date-picker/date-picker.d.ts +77 -0
- package/dist/types/components/organism/datetime-picker/datetime-picker.d.ts +438 -0
- package/dist/types/components/organism/datetime-picker/types.d.ts +54 -0
- package/dist/types/components/organism/form/form-group.d.ts +10 -0
- package/dist/types/components/organism/form/form.d.ts +34 -0
- package/dist/types/components/organism/form-2/bcm-form-components.d.ts +2 -0
- package/dist/types/components/organism/form-2/form-2.d.ts +25 -0
- package/dist/types/components/organism/list/list-key-control.d.ts +18 -0
- package/dist/types/components/organism/list/list-tag-control.d.ts +18 -0
- package/dist/types/components/organism/list/list.d.ts +140 -0
- package/dist/types/components/organism/states/bcm-list2.states.d.ts +28 -0
- package/dist/types/components/organism/time-picker/time-picker.d.ts +69 -0
- package/dist/types/components/other/attendance/attendance.d.ts +7 -0
- package/dist/types/components/other/data-table/table.d.ts +8 -0
- package/dist/types/components/other/default/default.d.ts +6 -0
- package/dist/types/components/other_deprecated/collapse/collapse.d.ts +12 -0
- package/dist/types/components/other_deprecated/collapse/group.d.ts +15 -0
- package/dist/types/components/other_deprecated/listbox/listbox-group.d.ts +7 -0
- package/dist/types/components/other_deprecated/listbox/listbox-item.d.ts +58 -0
- package/dist/types/components/other_deprecated/listbox/listbox.d.ts +152 -0
- package/dist/types/components/other_deprecated/listbox/types.d.ts +11 -0
- package/dist/types/components/other_deprecated/old-input/old-input.d.ts +80 -0
- package/dist/types/components/other_deprecated/old-input/types.d.ts +13 -0
- package/dist/types/components/other_deprecated/old-popover/old-popover-box.d.ts +26 -0
- package/dist/types/components/other_deprecated/old-popover/old-popover.d.ts +22 -0
- package/dist/types/components/other_deprecated/old-search/old-search.d.ts +32 -0
- package/dist/types/components/other_deprecated/old-tag/old-tag.d.ts +27 -0
- package/dist/types/components/other_deprecated/old-tag/types.d.ts +29 -0
- package/dist/types/components/other_deprecated/select/group.d.ts +6 -0
- package/dist/types/components/other_deprecated/select/option.d.ts +10 -0
- package/dist/types/components/other_deprecated/select/select-box.d.ts +15 -0
- package/dist/types/components/other_deprecated/select/select.d.ts +133 -0
- package/dist/types/components/other_deprecated/tabs/tab-pane.d.ts +19 -0
- package/dist/types/components/other_deprecated/tabs/tab.d.ts +36 -0
- package/dist/types/components/other_deprecated/tabs/tabs-content.d.ts +18 -0
- package/dist/types/components/other_deprecated/tabs/tabs.d.ts +112 -0
- package/dist/types/components/other_deprecated/tabs/types.d.ts +39 -0
- package/dist/types/components/other_deprecated/text/text.d.ts +11 -0
- package/dist/types/components/other_deprecated/treeview/treeview-group.d.ts +3 -0
- package/dist/types/components/other_deprecated/treeview/treeview-item.d.ts +119 -0
- package/dist/types/components/other_deprecated/treeview/treeview.d.ts +181 -0
- package/dist/types/components/other_deprecated/treeview/types.d.ts +11 -0
- package/dist/types/components.d.ts +3532 -0
- package/dist/types/decorators/id-decorator.d.ts +4 -0
- package/dist/types/decorators/index.d.ts +4 -0
- package/dist/types/decorators/is-load-decorator.d.ts +7 -0
- package/dist/types/decorators/json-parse-decarator.d.ts +4 -0
- package/dist/types/decorators/property-decorators.d.ts +4 -0
- package/dist/types/global/variables/colors.d.ts +217 -0
- package/dist/types/helper/color-helper.d.ts +16 -0
- package/dist/types/helper/datetime-helper.d.ts +3 -0
- package/dist/types/helper/generate.d.ts +22 -0
- package/dist/types/helper/index.d.ts +8 -0
- package/dist/types/helper/number-helper.d.ts +10 -0
- package/dist/types/helper/popover-helper.d.ts +31 -0
- package/dist/types/helper/string-helper.d.ts +27 -0
- package/dist/types/helper/tooltip-helper.d.ts +25 -0
- package/dist/types/helper/validators.d.ts +10 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/abstract-classes/abstract-key-control.d.ts +31 -0
- package/dist/types/models/bcm-types.d.ts +21 -0
- package/dist/types/models/bcm.d.ts +456 -0
- package/dist/types/models/index.d.ts +2 -0
- package/dist/types/models/states/atoms/bcm-atoms-state.d.ts +34 -0
- package/dist/types/models/states/molecules/bcm-molecules-state.d.ts +90 -0
- package/dist/types/models/states/organisms/bcm-organisms-state.d.ts +78 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/templates/button-template.d.ts +18 -0
- package/dist/types/templates/caption-template.d.ts +14 -0
- package/dist/types/templates/checkbox-group-template.d.ts +10 -0
- package/dist/types/templates/checkbox-template.d.ts +13 -0
- package/dist/types/templates/icon-template.d.ts +7 -0
- package/dist/types/templates/index.d.ts +13 -0
- package/dist/types/templates/info-footer-template.d.ts +10 -0
- package/dist/types/templates/input-template.d.ts +34 -0
- package/dist/types/templates/label-template.d.ts +12 -0
- package/dist/types/templates/list-item-template.d.ts +13 -0
- package/dist/types/templates/list-template.d.ts +29 -0
- package/dist/types/templates/slot-template.d.ts +8 -0
- package/dist/types/templates/step-template.d.ts +17 -0
- package/dist/types/templates/tag-template.d.ts +21 -0
- package/dist/types/types/index.d.ts +12 -0
- package/dist/types/utils/element-dragger.d.ts +146 -0
- package/dist/types/utils/floating-ui.d.ts +1 -0
- package/dist/types/utils/index.d.ts +5 -0
- package/dist/types/utils/popover-placement.d.ts +3 -0
- package/dist/types/utils/utils.d.ts +55 -0
- package/dist/types/utils/validation.d.ts +19 -0
- package/package.json +7 -5
- package/dist/bromcom-ui/p-0846712b.js +0 -5
- package/dist/bromcom-ui/p-0f4e34e9.js +0 -5
- package/dist/bromcom-ui/p-1b60d9d1.entry.js +0 -5
- package/dist/bromcom-ui/p-2135cb11.js +0 -5
- package/dist/bromcom-ui/p-3c8d24f0.entry.js +0 -5
- package/dist/bromcom-ui/p-4958dd94.js +0 -5
- package/dist/bromcom-ui/p-4ee3fbcf.entry.js +0 -5
- package/dist/bromcom-ui/p-517bca05.entry.js +0 -5
- package/dist/bromcom-ui/p-73cacbce.entry.js +0 -5
- package/dist/bromcom-ui/p-7a34d5a4.entry.js +0 -5
- package/dist/bromcom-ui/p-7de55a4c.entry.js +0 -5
- package/dist/bromcom-ui/p-8f394771.js +0 -5
- package/dist/bromcom-ui/p-b66edda8.js +0 -5
- package/dist/bromcom-ui/p-b970549a.entry.js +0 -5
- package/dist/bromcom-ui/p-bb698305.js +0 -5
- package/dist/bromcom-ui/p-d3d143b3.entry.js +0 -5
- package/dist/bromcom-ui/p-d9913ea9.js +0 -5
- package/dist/bromcom-ui/p-dbde0dc8.entry.js +0 -5
- package/dist/bromcom-ui/p-e8159c40.entry.js +0 -5
- package/dist/bromcom-ui/p-f7589887.entry.js +0 -5
- package/dist/bromcom-ui/p-f932d88a.entry.js +0 -5
|
@@ -0,0 +1,1764 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-2a3eeccc.js';
|
|
6
|
+
import { I as IsLoad } from './is-load-decorator-b990575a.js';
|
|
7
|
+
import { J as JsonParse } from './json-parse-decarator-50541a21.js';
|
|
8
|
+
import './color-helper-7e202fd8.js';
|
|
9
|
+
import './datetime-helper-df25808a.js';
|
|
10
|
+
import { s as snq, G as Generate } from './generate-d57a5f95.js';
|
|
11
|
+
import { N as NumberHelper } from './number-helper-75d21178.js';
|
|
12
|
+
import { S as StringHelper } from './string-helper-74a1648f.js';
|
|
13
|
+
import { V as Validators } from './validators-6af629b4.js';
|
|
14
|
+
import './element-dragger-89bb52fd.js';
|
|
15
|
+
import { g as getPlacement, s as setPosition } from './popover-placement-9864294b.js';
|
|
16
|
+
import { p as pluralize, d as delay } from './utils-57652744.js';
|
|
17
|
+
import { B as Bcm, a as Bcm$1 } from './bcm-b8d8a236.js';
|
|
18
|
+
import { C as CaptionTemplate } from './caption-template-d54ee0c3.js';
|
|
19
|
+
import { c as classnames } from './index-ba2edd32.js';
|
|
20
|
+
import './types-6f06fa1a.js';
|
|
21
|
+
import { L as LabelTemplate } from './label-template-e3eebfbc.js';
|
|
22
|
+
import './types-bfc3bba1.js';
|
|
23
|
+
import { c as createStore } from './index-6e950253.js';
|
|
24
|
+
import { T as Tooltip } from './tooltip-helper-bed79484.js';
|
|
25
|
+
import './colors-1d7854ea.js';
|
|
26
|
+
import './_commonjsHelpers-3016b722.js';
|
|
27
|
+
import './slot-template-877c4e01.js';
|
|
28
|
+
import './floating-ui-f03a96ce.js';
|
|
29
|
+
|
|
30
|
+
const CheckboxTemplate = ({ disabled, checked, readonly, required, indeterminate, hidden, captionType, _id }) => {
|
|
31
|
+
// if ( indeterminate ) {
|
|
32
|
+
// checked = indeterminate == 'determinate' ? true : false
|
|
33
|
+
// }
|
|
34
|
+
const hostClasses = classnames('bcm-checkbox', 'bcm-checkbox__type-default', `bcm-checkbox-size-medium`, {
|
|
35
|
+
// 'size-2': size === Bcm.Size.small || size === Bcm.Size.medium,
|
|
36
|
+
// 'size-3': optionType === 'button' && size === Bcm.Size.large,
|
|
37
|
+
'error': captionType == Bcm.Status.error,
|
|
38
|
+
hidden,
|
|
39
|
+
checked,
|
|
40
|
+
disabled,
|
|
41
|
+
required,
|
|
42
|
+
readonly,
|
|
43
|
+
});
|
|
44
|
+
const bcmCheckboxIconClass = classnames('bcm-checkbox__label-icon', 'bcm-checkbox__label-icon-lite', 'bcm-checkbox__label-icon-' + indeterminate, {
|
|
45
|
+
'bcm-checkbox__label-icon-checked': checked,
|
|
46
|
+
});
|
|
47
|
+
const bcmCheckboxLabelClass = classnames('bcm-checkbox__label');
|
|
48
|
+
return (h("div", { class: hostClasses },
|
|
49
|
+
h("input", { tabindex: "-1", id: _id, type: "checkbox", checked: checked, disabled: disabled, required: required, readonly: readonly }),
|
|
50
|
+
h("label", { class: bcmCheckboxLabelClass, htmlFor: _id },
|
|
51
|
+
h("span", { class: bcmCheckboxIconClass },
|
|
52
|
+
h("bcm-icon", { icon: "far fa-check" })))));
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
const InfoFooterTemplate = ({ selected, total, found, multiple, variableText }) => {
|
|
56
|
+
total = total || 0;
|
|
57
|
+
variableText = variableText ? pluralize(variableText, total) : 'items';
|
|
58
|
+
return (h("footer", { class: "bcm-info-footer" },
|
|
59
|
+
h("bcm-text", { scale: "size-1", color: "grey-8" },
|
|
60
|
+
(multiple && selected > 0) && ` ( ${selected} selected ) `,
|
|
61
|
+
` Total ${total} `,
|
|
62
|
+
found != null && ` / ${found} `,
|
|
63
|
+
` ${variableText} found. `)));
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
const ListItemTemplate = ({ item, treeview, highlight, checkboxes, size, selectedItem, openGroup, checkedItem, focusItem, searchIsOnlyChilds }) => {
|
|
67
|
+
const isHaveChildren = item.items && item.items.length > 0;
|
|
68
|
+
var text = StringHelper.htmlEntities(item.text);
|
|
69
|
+
let intersection = [];
|
|
70
|
+
if (highlight && StringHelper.slugify(text).includes(StringHelper.slugify(highlight))) {
|
|
71
|
+
if (!searchIsOnlyChilds || (searchIsOnlyChilds && (!isHaveChildren || (!treeview && item.type != "group")))) {
|
|
72
|
+
text = StringHelper.highlight(text, highlight);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
if (item.type != 'group' && item.template) {
|
|
76
|
+
const match = item.template
|
|
77
|
+
.replace(/\s/g, '')
|
|
78
|
+
.match(/\{{[^}}]+\}/g)
|
|
79
|
+
.map(x => x.replace(/[{}]/g, ''));
|
|
80
|
+
const keys = Object.keys(item.itemObject);
|
|
81
|
+
intersection = match.filter(x => keys.includes(x));
|
|
82
|
+
}
|
|
83
|
+
text = item.isHtmlContent ? item.isHtmlContent : item.template && intersection.length > 0 ? StringHelper.templateParser(item.template, Object.assign(Object.assign({}, item.itemObject), { text })) : text;
|
|
84
|
+
const unClickable = !treeview && item.type == "group" && !item.clickable;
|
|
85
|
+
const disabled = item.disabled;
|
|
86
|
+
const readonly = item.readonly;
|
|
87
|
+
const itemClick = (event) => {
|
|
88
|
+
let path = event.path || event.composedPath();
|
|
89
|
+
if (path.filter(x => x.attributes && x.attributes.getNamedItem("unlinked"))[0]) {
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
if (readonly) {
|
|
93
|
+
collapseClick();
|
|
94
|
+
}
|
|
95
|
+
!unClickable && !disabled && !readonly && (checkboxes ? checkedItem(item.id) : selectedItem(item.id));
|
|
96
|
+
};
|
|
97
|
+
const collapseClick = () => {
|
|
98
|
+
item.open = item.isSearching;
|
|
99
|
+
openGroup(item.id);
|
|
100
|
+
};
|
|
101
|
+
return (h("div", { id: item.id, hidden: item.hidden, tabindex: "-1", "on-focus": e => !unClickable && !disabled && focusItem(e), class: classnames('bcm-list__item',
|
|
102
|
+
// size === 'large' ? 'size-3' : 'size-2',
|
|
103
|
+
'bcm-list__item-' + size, {
|
|
104
|
+
'bcm-list__item--group': !treeview && item.type == 'group',
|
|
105
|
+
'bcm-list__item--readonly': readonly,
|
|
106
|
+
}) },
|
|
107
|
+
h("div", { class: classnames('bcm-list__item-content', !checkboxes && item.selected && 'selected', { disabled: disabled }) },
|
|
108
|
+
treeview && (h("div", { class: "bcm-list__item-content-collapse-icon", onClick: () => collapseClick() }, isHaveChildren && h("bcm-icon", { icon: classnames('fas fa-caret-' + (item.isSearching || item.open ? 'down' : 'right')) }))),
|
|
109
|
+
h("div", { class: classnames('bcm-list__item-content-text', { treeview }), onClick: (e) => itemClick(e) },
|
|
110
|
+
checkboxes && (treeview || (!treeview && item.type != 'group')) && (h("div", { class: "bcm-list__item-content-text-checkbox" },
|
|
111
|
+
h(CheckboxTemplate, { indeterminate: item.indeterminate, checked: item.checked, disabled: item.disabled }))),
|
|
112
|
+
h("span", Object.assign({ class: "bcm-list__item-content-text-inner" }, (item.title && { "title": item.title }), { innerHTML: text })))),
|
|
113
|
+
(treeview || !treeview && item.type == "group") && isHaveChildren && (h("div", { class: "bcm-list__item-childs" }, (item.isSearching || item.open || (!treeview && item.type == "group")) &&
|
|
114
|
+
item.items.map((item) => (h(ListItemTemplate, { highlight: highlight, item: item, searchIsOnlyChilds: searchIsOnlyChilds, treeview: treeview, checkboxes: checkboxes, size: size, selectedItem: selectedItem, checkedItem: checkedItem, openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId) })))))));
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
const ListTemplate = ({ highlight, selectAllItem, bcmListContainer, treeview, checkboxes, checkAll, infoFooter, value, totalData, searchFound, variableText, _id, data, width, height, size, searchPlaceholder, selectedItem, openGroup, checkedItem, onScrollEvent, focusItem, items, searchable, searchIsOnlyChilds, emptyText, emptyIcon }) => {
|
|
118
|
+
const showSelectAll = !(treeview && searchFound > 0) && !(searchFound > 0);
|
|
119
|
+
return (h("div", { id: `bcm-list-${_id}`, class: bcmListContainer, style: { '--height': height, '--width': width } },
|
|
120
|
+
data && searchable && (h("section", { class: "bcm-list__container-search" },
|
|
121
|
+
h("bcm-search", { size: size, id: `bcm-list-${_id}-search`, data: data, clearable: true, placeholder: searchPlaceholder, searchIsOnlyChilds: searchIsOnlyChilds }))),
|
|
122
|
+
h("main", { onScroll: (e) => onScrollEvent(e), class: "scrolling" },
|
|
123
|
+
checkAll && searchFound != 0 && items && items.length > 0 && checkboxes && showSelectAll && (h("section", { class: "bcm-list__container-select-all" },
|
|
124
|
+
h(ListItemTemplate, { size: size, item: selectAllItem, treeview: false, checkboxes: true, selectedItem: (itemId) => selectedItem(itemId), checkedItem: (itemId) => checkedItem(itemId), openGroup: (parentId) => openGroup(parentId), focusItem: (itemId) => focusItem(itemId) }))),
|
|
125
|
+
items.map((item) => (h(ListItemTemplate, { highlight: highlight, size: size, item: item, searchIsOnlyChilds: searchIsOnlyChilds, treeview: treeview, checkboxes: checkboxes, selectedItem: (itemId) => selectedItem(itemId), checkedItem: (itemId) => checkedItem(itemId), openGroup: (parentId) => openGroup(parentId), focusItem: (itemId) => focusItem(itemId) }))),
|
|
126
|
+
((!items || items.length === 0) && searchFound != 0) && (h("section", { class: "bcm-list__container-no-data" },
|
|
127
|
+
h("bcm-empty", { style: { "height": "auto" }, icon: emptyIcon },
|
|
128
|
+
h("span", { innerHTML: emptyText || "No data" })))),
|
|
129
|
+
searchFound == 0 && (h("section", { class: "bcm-list__container-no-data" },
|
|
130
|
+
h("bcm-empty", { style: { "height": "auto" }, icon: emptyIcon },
|
|
131
|
+
h("span", { innerHTML: emptyText || "No Data Found" }))))),
|
|
132
|
+
infoFooter && data && data.length > 0 && (h(InfoFooterTemplate, { selected: value === null || value === void 0 ? void 0 : value.length, total: totalData, found: searchFound, multiple: checkboxes, variableText: variableText }))));
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
const { state } = createStore({
|
|
136
|
+
value: new Map(),
|
|
137
|
+
});
|
|
138
|
+
const setValue = val => {
|
|
139
|
+
const { id, dataSource, options } = val;
|
|
140
|
+
const { type, treeview, checkboxes, searchable, value, name, label, size, disabled, readonly, highlight, required, hidden, fullWidth, height, maxHeight, minHeight, width, infoFooter, variableText, template, allOpen, keyControl, checkAll, linkedComponent, placeholder, searchPlaceholder, searchIsOnlyChilds, clearable, caption, noCaption, captionType, captionError, placement, } = options;
|
|
141
|
+
const itemOptions = { size, checkboxes, template, allOpen, highlight, treeview };
|
|
142
|
+
const data = {
|
|
143
|
+
id: snq(() => id, Generate.UID),
|
|
144
|
+
dataSource: dataSource && dataSource.length > 0 && recursive(dataSource, itemOptions),
|
|
145
|
+
options: {
|
|
146
|
+
type,
|
|
147
|
+
treeview,
|
|
148
|
+
checkboxes,
|
|
149
|
+
searchable,
|
|
150
|
+
value,
|
|
151
|
+
name,
|
|
152
|
+
label,
|
|
153
|
+
size,
|
|
154
|
+
disabled,
|
|
155
|
+
readonly,
|
|
156
|
+
highlight,
|
|
157
|
+
required,
|
|
158
|
+
hidden,
|
|
159
|
+
fullWidth,
|
|
160
|
+
height,
|
|
161
|
+
maxHeight,
|
|
162
|
+
minHeight,
|
|
163
|
+
width,
|
|
164
|
+
infoFooter,
|
|
165
|
+
variableText,
|
|
166
|
+
template,
|
|
167
|
+
allOpen,
|
|
168
|
+
keyControl,
|
|
169
|
+
checkAll,
|
|
170
|
+
linkedComponent,
|
|
171
|
+
placeholder,
|
|
172
|
+
searchPlaceholder,
|
|
173
|
+
searchIsOnlyChilds,
|
|
174
|
+
clearable,
|
|
175
|
+
caption,
|
|
176
|
+
noCaption,
|
|
177
|
+
captionType,
|
|
178
|
+
captionError,
|
|
179
|
+
placement,
|
|
180
|
+
},
|
|
181
|
+
totalItems: (dataSource === null || dataSource === void 0 ? void 0 : dataSource.length) > 0 && calculateTotalItems(dataSource, options.treeview),
|
|
182
|
+
totalRoots: dataSource === null || dataSource === void 0 ? void 0 : dataSource.length,
|
|
183
|
+
};
|
|
184
|
+
state.value.set(data.id, data);
|
|
185
|
+
};
|
|
186
|
+
const recursive = (data, options, parentId) => {
|
|
187
|
+
let recData = [];
|
|
188
|
+
if (data && data.length > 0) {
|
|
189
|
+
recData = data.map(item => (Object.assign(Object.assign(Object.assign(Object.assign({ itemObject: item }, item), options), { parentId: snq(() => parentId, null), open: options.allOpen || item.open || false }), ((options.treeview || (!options.treeview && item.type == 'group')) && item.items && item.items.length > 0
|
|
190
|
+
? { items: snq(() => recursive(item.items, options, item.id), []) }
|
|
191
|
+
: { items: [] }))));
|
|
192
|
+
}
|
|
193
|
+
return recData;
|
|
194
|
+
};
|
|
195
|
+
const removeValue = _id => {
|
|
196
|
+
state.value.delete(_id);
|
|
197
|
+
};
|
|
198
|
+
const getValue = id => snq(() => state.value.get(id), {});
|
|
199
|
+
const calculateTotalItems = (dataSource, treeview) => {
|
|
200
|
+
let total = 0;
|
|
201
|
+
dataSource.forEach(item => {
|
|
202
|
+
if (treeview || (!treeview && item.type != 'group')) {
|
|
203
|
+
total += 1;
|
|
204
|
+
}
|
|
205
|
+
if ((treeview || (!treeview && item.type == 'group')) && item.items) {
|
|
206
|
+
total += calculateTotalItems(item.items, treeview);
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
return total;
|
|
210
|
+
};
|
|
211
|
+
const getData = id => {
|
|
212
|
+
let data = [];
|
|
213
|
+
const value = getValue(id);
|
|
214
|
+
if (value) {
|
|
215
|
+
const { dataSource } = value;
|
|
216
|
+
data = dataSource;
|
|
217
|
+
}
|
|
218
|
+
return data;
|
|
219
|
+
};
|
|
220
|
+
const getDataPagination = (id, limit = 3, ids) => {
|
|
221
|
+
let data = [];
|
|
222
|
+
const value = getValue(id);
|
|
223
|
+
if (value) {
|
|
224
|
+
const { dataSource } = value;
|
|
225
|
+
data = !ids ? dataSource.slice(0, limit) : dataSource.filter(item => ids.indexOf(item.id) > -1).slice(0, limit);
|
|
226
|
+
}
|
|
227
|
+
return data;
|
|
228
|
+
};
|
|
229
|
+
const openGroup = (id, groupId, items, status) => {
|
|
230
|
+
let dataSource;
|
|
231
|
+
if (items) {
|
|
232
|
+
dataSource = items;
|
|
233
|
+
}
|
|
234
|
+
else {
|
|
235
|
+
const value = getValue(id);
|
|
236
|
+
dataSource = value.dataSource;
|
|
237
|
+
}
|
|
238
|
+
if (dataSource) {
|
|
239
|
+
dataSource.forEach(item => {
|
|
240
|
+
if (status != undefined) {
|
|
241
|
+
item.open = status;
|
|
242
|
+
}
|
|
243
|
+
else if (item.id == groupId) {
|
|
244
|
+
item.open = !item.open;
|
|
245
|
+
item.isSearching = item.open;
|
|
246
|
+
if (!item.open && item.items) {
|
|
247
|
+
openGroup(id, groupId, item.items, false);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
else if (item.items) {
|
|
251
|
+
openGroup(id, groupId, item.items);
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
const removeOtherTags = (id, ids, items) => {
|
|
257
|
+
ids = Array.isArray(ids) ? ids : [ids];
|
|
258
|
+
let dataSource;
|
|
259
|
+
if (items) {
|
|
260
|
+
dataSource = items;
|
|
261
|
+
}
|
|
262
|
+
else {
|
|
263
|
+
const value = getValue(id);
|
|
264
|
+
dataSource = value.dataSource;
|
|
265
|
+
}
|
|
266
|
+
if (dataSource) {
|
|
267
|
+
ids.forEach(otherTagIds => {
|
|
268
|
+
dataSource.forEach(child => {
|
|
269
|
+
if (child.id == otherTagIds) {
|
|
270
|
+
child.checked = false;
|
|
271
|
+
child.itemObject.checked = false;
|
|
272
|
+
}
|
|
273
|
+
else if (child.items) {
|
|
274
|
+
onRemoveItems(id, otherTagIds, child.items);
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
};
|
|
280
|
+
const onRemoveItems = (id, itemId, items) => {
|
|
281
|
+
if (items) {
|
|
282
|
+
items.forEach(item => {
|
|
283
|
+
if (item.id == itemId) {
|
|
284
|
+
item.checked = false;
|
|
285
|
+
item.itemObject.checked = false;
|
|
286
|
+
indeterminateStatus(id, item.parentId);
|
|
287
|
+
}
|
|
288
|
+
else if (item.items) {
|
|
289
|
+
onRemoveItems(id, itemId, item.items);
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
};
|
|
294
|
+
const addChecked = (id, ids) => {
|
|
295
|
+
const value = getValue(id);
|
|
296
|
+
if (value) {
|
|
297
|
+
ids.forEach(item => {
|
|
298
|
+
checkedItem(id, item);
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
};
|
|
302
|
+
const checkedItem = (id, itemId) => {
|
|
303
|
+
findItem(id, itemId);
|
|
304
|
+
};
|
|
305
|
+
const findItem = (id, itemId, items) => {
|
|
306
|
+
itemId = Array.isArray(itemId) ? itemId : [itemId];
|
|
307
|
+
let dataSource;
|
|
308
|
+
if (items) {
|
|
309
|
+
dataSource = items;
|
|
310
|
+
}
|
|
311
|
+
else {
|
|
312
|
+
const value = getValue(id);
|
|
313
|
+
dataSource = value.dataSource;
|
|
314
|
+
}
|
|
315
|
+
if (dataSource) {
|
|
316
|
+
dataSource.forEach(item => {
|
|
317
|
+
if (itemId.includes(item.id)) {
|
|
318
|
+
checkedProcess(id, item);
|
|
319
|
+
if (item.parentId) {
|
|
320
|
+
indeterminateStatus(id, item.parentId);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
else if (item.items) {
|
|
324
|
+
findItem(id, itemId, item.items);
|
|
325
|
+
}
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
};
|
|
329
|
+
const checkedProcess = (id, item, status) => {
|
|
330
|
+
const value = getValue(id);
|
|
331
|
+
if (value) {
|
|
332
|
+
const treeview = value.options.treeview;
|
|
333
|
+
if (item) {
|
|
334
|
+
// && !item.hidden => select all bastığımızda hidden olanları seçmemesi içindi
|
|
335
|
+
if (treeview || (!treeview && item.type != 'group')) {
|
|
336
|
+
if (!item.disabled) {
|
|
337
|
+
if (status != undefined) {
|
|
338
|
+
item.checked = status;
|
|
339
|
+
}
|
|
340
|
+
else {
|
|
341
|
+
item.checked = !item.checked;
|
|
342
|
+
}
|
|
343
|
+
item.itemObject.checked = item.checked;
|
|
344
|
+
item.indeterminate = item.checked ? 'determinate' : 'uncheck';
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
if (item.items) {
|
|
348
|
+
item.items.forEach(child => {
|
|
349
|
+
checkedProcess(id, child, status == undefined ? item.checked : status);
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
};
|
|
355
|
+
const indeterminateStatus = (id, itemId, items) => {
|
|
356
|
+
let dataSource;
|
|
357
|
+
if (items) {
|
|
358
|
+
dataSource = items;
|
|
359
|
+
}
|
|
360
|
+
else {
|
|
361
|
+
const value = getValue(id);
|
|
362
|
+
dataSource = value.dataSource;
|
|
363
|
+
}
|
|
364
|
+
if (dataSource) {
|
|
365
|
+
dataSource.forEach(item => {
|
|
366
|
+
if (item.id == itemId) {
|
|
367
|
+
let allChecked = true;
|
|
368
|
+
let allUnchecked = true;
|
|
369
|
+
if (item.items) {
|
|
370
|
+
item.items.map(child => {
|
|
371
|
+
(child.checked || child.indeterminate === 'indeterminate') && (allUnchecked = false);
|
|
372
|
+
!child.checked && (allChecked = false);
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
const indeterminateState = !allChecked && !allUnchecked ? 'indeterminate' : allChecked ? 'determinate' : 'uncheck';
|
|
376
|
+
item.indeterminate = indeterminateState;
|
|
377
|
+
item.checked = indeterminateState == 'determinate' ? true : false;
|
|
378
|
+
item.itemObject.checked = item.checked;
|
|
379
|
+
if (item.parentId) {
|
|
380
|
+
indeterminateStatus(id, item.parentId);
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
else if (item.items) {
|
|
384
|
+
indeterminateStatus(id, itemId, item.items);
|
|
385
|
+
}
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
};
|
|
389
|
+
const filterData = (id, ids, items, searchOtherTag) => {
|
|
390
|
+
let checkeds = [];
|
|
391
|
+
let visibled = [];
|
|
392
|
+
getValue(id).isSearchOtherTag = searchOtherTag;
|
|
393
|
+
let dataSource;
|
|
394
|
+
if (items) {
|
|
395
|
+
dataSource = items;
|
|
396
|
+
}
|
|
397
|
+
else {
|
|
398
|
+
const value = getValue(id);
|
|
399
|
+
dataSource = value.dataSource;
|
|
400
|
+
}
|
|
401
|
+
if (dataSource) {
|
|
402
|
+
dataSource.forEach(item => {
|
|
403
|
+
if (ids) {
|
|
404
|
+
item.hidden = true;
|
|
405
|
+
// const filter = ids.find((find) => find.id === item.id)
|
|
406
|
+
var filter;
|
|
407
|
+
for (let index = 0; index < ids.length; index++) {
|
|
408
|
+
if (ids[index].id === item.id) {
|
|
409
|
+
filter = ids[index];
|
|
410
|
+
break;
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
if (filter) {
|
|
414
|
+
item.hidden = false;
|
|
415
|
+
if (!getValue(id).isSearchOtherTag) {
|
|
416
|
+
item.isSearching = true;
|
|
417
|
+
}
|
|
418
|
+
visibled.push(item);
|
|
419
|
+
if (item.checked) {
|
|
420
|
+
checkeds.push(item);
|
|
421
|
+
}
|
|
422
|
+
if (filter.items) {
|
|
423
|
+
const { checkedItems, visibledItems } = filterData(id, filter.items, item.items, searchOtherTag);
|
|
424
|
+
if (checkedItems) {
|
|
425
|
+
checkeds = [...new Set([...checkeds, ...checkedItems])];
|
|
426
|
+
}
|
|
427
|
+
if (visibledItems) {
|
|
428
|
+
visibled = [...new Set([...visibled, ...visibledItems])];
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
else {
|
|
434
|
+
item.hidden = false;
|
|
435
|
+
if (item.items) {
|
|
436
|
+
filterData(id, null, item.items);
|
|
437
|
+
}
|
|
438
|
+
visibled.push(item);
|
|
439
|
+
item.isSearching = false;
|
|
440
|
+
}
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
return { checkedItems: checkeds !== null && checkeds !== void 0 ? checkeds : [], visibledItems: visibled !== null && visibled !== void 0 ? visibled : [] };
|
|
444
|
+
};
|
|
445
|
+
const getSelected = (id, items) => {
|
|
446
|
+
let dataSource;
|
|
447
|
+
let selected = null;
|
|
448
|
+
if (items) {
|
|
449
|
+
dataSource = items;
|
|
450
|
+
}
|
|
451
|
+
else {
|
|
452
|
+
const value = getValue(id);
|
|
453
|
+
dataSource = value.dataSource;
|
|
454
|
+
}
|
|
455
|
+
if (dataSource) {
|
|
456
|
+
dataSource.forEach(item => {
|
|
457
|
+
if (item.selected) {
|
|
458
|
+
selected = item.itemObject;
|
|
459
|
+
}
|
|
460
|
+
else if (item.items) {
|
|
461
|
+
const found = getSelected(id, item.items);
|
|
462
|
+
if (found) {
|
|
463
|
+
selected = found;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
});
|
|
467
|
+
}
|
|
468
|
+
return selected;
|
|
469
|
+
};
|
|
470
|
+
const getCheckedList = (id, items) => {
|
|
471
|
+
let dataSource;
|
|
472
|
+
let checkedList = [];
|
|
473
|
+
let nestedResult = [];
|
|
474
|
+
if (items) {
|
|
475
|
+
dataSource = items;
|
|
476
|
+
}
|
|
477
|
+
else {
|
|
478
|
+
const value = getValue(id);
|
|
479
|
+
dataSource = value.dataSource;
|
|
480
|
+
}
|
|
481
|
+
if (dataSource) {
|
|
482
|
+
dataSource.forEach(item => {
|
|
483
|
+
var _a;
|
|
484
|
+
let foundChild = [];
|
|
485
|
+
let foundItem = [];
|
|
486
|
+
if (item.checked) {
|
|
487
|
+
checkedList.push(item.itemObject);
|
|
488
|
+
foundItem.push(Object.assign(Object.assign({}, item.itemObject), { items: [] }));
|
|
489
|
+
}
|
|
490
|
+
if (item.items) {
|
|
491
|
+
const found = getCheckedList(id, item.items);
|
|
492
|
+
if (((_a = found === null || found === void 0 ? void 0 : found.checkedList) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
493
|
+
checkedList = [...checkedList, ...found.checkedList];
|
|
494
|
+
}
|
|
495
|
+
if (found.nestedResult.length > 0) {
|
|
496
|
+
foundChild = found.nestedResult;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
if (foundChild.length > 0) {
|
|
500
|
+
if (foundItem.length == 0) {
|
|
501
|
+
foundItem.push(Object.assign(Object.assign({}, item.itemObject), { items: [] }));
|
|
502
|
+
}
|
|
503
|
+
foundItem[0].items = foundChild;
|
|
504
|
+
nestedResult.push(foundItem[0]);
|
|
505
|
+
}
|
|
506
|
+
else {
|
|
507
|
+
if (foundItem.length > 0) {
|
|
508
|
+
foundItem[0].items = foundChild;
|
|
509
|
+
nestedResult.push(foundItem[0]);
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
return { checkedList: (checkedList === null || checkedList === void 0 ? void 0 : checkedList.length) > 0 ? checkedList : null, nestedResult: nestedResult };
|
|
515
|
+
};
|
|
516
|
+
const selectedItem = (id, itemId, items) => {
|
|
517
|
+
let dataSource;
|
|
518
|
+
let selected = [];
|
|
519
|
+
if (items) {
|
|
520
|
+
dataSource = items;
|
|
521
|
+
}
|
|
522
|
+
else {
|
|
523
|
+
const value = getValue(id);
|
|
524
|
+
dataSource = value.dataSource;
|
|
525
|
+
}
|
|
526
|
+
if (dataSource) {
|
|
527
|
+
dataSource.forEach(item => {
|
|
528
|
+
if (itemId) {
|
|
529
|
+
if (item.id == itemId) {
|
|
530
|
+
// if (!item.selected){
|
|
531
|
+
item.selected = true;
|
|
532
|
+
item.itemObject.selected = item.selected;
|
|
533
|
+
// }
|
|
534
|
+
}
|
|
535
|
+
else {
|
|
536
|
+
if (item.selected) {
|
|
537
|
+
item.selected = false;
|
|
538
|
+
item.itemObject.selected = item.selected;
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
if (item.items) {
|
|
543
|
+
const found = selectedItem(id, itemId, item.items);
|
|
544
|
+
if ((found === null || found === void 0 ? void 0 : found.length) > 0) {
|
|
545
|
+
selected = [...selected, ...found];
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
if (item.selected) {
|
|
549
|
+
selected.push(item.itemObject);
|
|
550
|
+
}
|
|
551
|
+
});
|
|
552
|
+
}
|
|
553
|
+
return selected && selected.length > 0 ? selected : null;
|
|
554
|
+
};
|
|
555
|
+
const setClear = (id, items) => {
|
|
556
|
+
let dataSource;
|
|
557
|
+
if (items) {
|
|
558
|
+
dataSource = items;
|
|
559
|
+
}
|
|
560
|
+
else {
|
|
561
|
+
const value = getValue(id);
|
|
562
|
+
dataSource = value.dataSource;
|
|
563
|
+
}
|
|
564
|
+
if (dataSource) {
|
|
565
|
+
dataSource.forEach(item => {
|
|
566
|
+
var _a, _b, _c;
|
|
567
|
+
item.checked && (item.checked = false);
|
|
568
|
+
item.selected && (item.selected = false);
|
|
569
|
+
item.indeterminate && (item.indeterminate = 'uncheck');
|
|
570
|
+
((_a = item.itemObject) === null || _a === void 0 ? void 0 : _a.checked) && (item.itemObject.checked = false);
|
|
571
|
+
((_b = item.itemObject) === null || _b === void 0 ? void 0 : _b.selected) && (item.itemObject.selected = false);
|
|
572
|
+
((_c = item.itemObject) === null || _c === void 0 ? void 0 : _c.indeterminate) && (item.itemObject.indeterminate = 'uncheck');
|
|
573
|
+
if (item.items) {
|
|
574
|
+
setClear(id, item.items);
|
|
575
|
+
}
|
|
576
|
+
});
|
|
577
|
+
}
|
|
578
|
+
};
|
|
579
|
+
const selectAll = (id, status) => {
|
|
580
|
+
const dataSource = getValue(id).dataSource;
|
|
581
|
+
if (dataSource) {
|
|
582
|
+
dataSource.forEach(item => {
|
|
583
|
+
checkedProcess(id, item, status);
|
|
584
|
+
});
|
|
585
|
+
}
|
|
586
|
+
};
|
|
587
|
+
const updateOptions = (id, options) => {
|
|
588
|
+
Object.keys(getValue(id).options).forEach(key => {
|
|
589
|
+
getValue(id).options[key] = options[key];
|
|
590
|
+
});
|
|
591
|
+
};
|
|
592
|
+
const removeState = id => {
|
|
593
|
+
return Promise.resolve(state.value.delete(id));
|
|
594
|
+
};
|
|
595
|
+
const listState = {
|
|
596
|
+
setValue,
|
|
597
|
+
removeValue,
|
|
598
|
+
getValue,
|
|
599
|
+
getData,
|
|
600
|
+
getDataPagination,
|
|
601
|
+
openGroup,
|
|
602
|
+
checkedItem,
|
|
603
|
+
filterData,
|
|
604
|
+
getSelected,
|
|
605
|
+
getCheckedList,
|
|
606
|
+
selectedItem,
|
|
607
|
+
addChecked,
|
|
608
|
+
setClear,
|
|
609
|
+
selectAll,
|
|
610
|
+
removeOtherTags,
|
|
611
|
+
onRemoveItems,
|
|
612
|
+
updateOptions,
|
|
613
|
+
removeState,
|
|
614
|
+
};
|
|
615
|
+
|
|
616
|
+
class KeyControl {
|
|
617
|
+
constructor(keyCode, element, elementName, childElementName) {
|
|
618
|
+
this.elementName = '';
|
|
619
|
+
this.childElementName = '';
|
|
620
|
+
this.keyCode = keyCode;
|
|
621
|
+
this.element = element;
|
|
622
|
+
this.elementName = elementName;
|
|
623
|
+
this.childElementName = childElementName;
|
|
624
|
+
}
|
|
625
|
+
getKeyCode() {
|
|
626
|
+
return this.keyCode;
|
|
627
|
+
}
|
|
628
|
+
getElementName() {
|
|
629
|
+
return this.elementName;
|
|
630
|
+
}
|
|
631
|
+
getChildElementName() {
|
|
632
|
+
return this.childElementName;
|
|
633
|
+
}
|
|
634
|
+
getFocusedElementName() {
|
|
635
|
+
return this.getElementName() + '.focused';
|
|
636
|
+
}
|
|
637
|
+
getFocusedElement() {
|
|
638
|
+
return this.element.querySelectorAll(this.getFocusedElementName())[0] || null;
|
|
639
|
+
}
|
|
640
|
+
getFirstElement() {
|
|
641
|
+
return this.element.querySelectorAll(this.getElementName())[0] || null;
|
|
642
|
+
}
|
|
643
|
+
getNextElement() {
|
|
644
|
+
var _a;
|
|
645
|
+
return ((_a = this.getFocusedElement()) === null || _a === void 0 ? void 0 : _a.nextElementSibling) || this.getFirstElement();
|
|
646
|
+
}
|
|
647
|
+
getPreviousElement() {
|
|
648
|
+
var _a;
|
|
649
|
+
return ((_a = this.getFocusedElement()) === null || _a === void 0 ? void 0 : _a.previousElementSibling) || this.getFirstElement();
|
|
650
|
+
}
|
|
651
|
+
getChildElement() {
|
|
652
|
+
var _a;
|
|
653
|
+
return ((_a = this.getFocusedElement()) === null || _a === void 0 ? void 0 : _a.querySelectorAll(this.getChildElementName())[0]) || null;
|
|
654
|
+
}
|
|
655
|
+
getParentElement(element) {
|
|
656
|
+
if (element && element) {
|
|
657
|
+
const isRootElement = element && element.attributes['data-isroot'];
|
|
658
|
+
if (isRootElement) {
|
|
659
|
+
return element;
|
|
660
|
+
}
|
|
661
|
+
return this.getParentElement(element.parentNode);
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
focusElementIsOpen() {
|
|
665
|
+
var _a;
|
|
666
|
+
return ((_a = this.getFocusedElement()) === null || _a === void 0 ? void 0 : _a.classList.contains('bcm-list__item--open')) || false;
|
|
667
|
+
}
|
|
668
|
+
isRootElement() {
|
|
669
|
+
var _a;
|
|
670
|
+
return ((_a = this.getFocusedElement()) === null || _a === void 0 ? void 0 : _a.querySelectorAll(this.getChildElementName()).length) > 0;
|
|
671
|
+
}
|
|
672
|
+
isRootElementIsOpen() {
|
|
673
|
+
return this.getFocusedElement().classList.contains('bcm-list__item--open');
|
|
674
|
+
}
|
|
675
|
+
getFocusedChildElement() {
|
|
676
|
+
var _a;
|
|
677
|
+
return ((_a = this.getChildElement()) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.focused')[0]) || null;
|
|
678
|
+
}
|
|
679
|
+
isLastElement() {
|
|
680
|
+
var _a;
|
|
681
|
+
return ((_a = this.getFocusedElement()) === null || _a === void 0 ? void 0 : _a.nextElementSibling) === null;
|
|
682
|
+
}
|
|
683
|
+
focusParentElementFirstChild() {
|
|
684
|
+
var _a, _b;
|
|
685
|
+
return this.setFocus((_b = (_a = this.getFocusedElement()) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.firstChild);
|
|
686
|
+
}
|
|
687
|
+
isFirstElement() {
|
|
688
|
+
var _a;
|
|
689
|
+
return ((_a = this.getFocusedElement()) === null || _a === void 0 ? void 0 : _a.previousElementSibling) === null;
|
|
690
|
+
}
|
|
691
|
+
focusRootElement() {
|
|
692
|
+
var _a, _b, _c;
|
|
693
|
+
return this.setFocus((_c = (_b = (_a = this.getFocusedElement()) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.parentElement) === null || _c === void 0 ? void 0 : _c.firstChild);
|
|
694
|
+
}
|
|
695
|
+
nextRootElement() {
|
|
696
|
+
var _a, _b, _c;
|
|
697
|
+
return this.setFocus((_c = (_b = (_a = this.getFocusedElement()) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.parentElement) === null || _c === void 0 ? void 0 : _c.nextElementSibling);
|
|
698
|
+
}
|
|
699
|
+
findFocusElementParent() {
|
|
700
|
+
return this.getFocusedElement().parentNode.querySelectorAll('.bcm-list__item--open');
|
|
701
|
+
}
|
|
702
|
+
getLastElement() {
|
|
703
|
+
return this.element.querySelectorAll(this.getElementName())[this.element.querySelectorAll(this.getElementName()).length - 1] || null;
|
|
704
|
+
}
|
|
705
|
+
setFocus(element) {
|
|
706
|
+
element.focus();
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
class ListKeyControl extends KeyControl {
|
|
711
|
+
constructor(keyCode, element, treeview, checkBoxes) {
|
|
712
|
+
super(keyCode, element, '.bcm-list__item', '.bcm-list__item-childs');
|
|
713
|
+
this.isTreeview = false;
|
|
714
|
+
this.isCheckBoxes = false;
|
|
715
|
+
this.isTreeview = treeview;
|
|
716
|
+
this.isCheckBoxes = checkBoxes;
|
|
717
|
+
}
|
|
718
|
+
keyUpControl() {
|
|
719
|
+
if (this.isTreeview) {
|
|
720
|
+
this.keyUpTreeview();
|
|
721
|
+
}
|
|
722
|
+
else {
|
|
723
|
+
if (this.isFirstElement()) {
|
|
724
|
+
this.setFocus(this.getLastElement());
|
|
725
|
+
}
|
|
726
|
+
else {
|
|
727
|
+
this.setFocus(this.getPreviousElement());
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
keyDownTreeView() {
|
|
732
|
+
var _a;
|
|
733
|
+
if (this.isTreeview) {
|
|
734
|
+
if (this.isRootElement() && this.isRootElementIsOpen()) {
|
|
735
|
+
const childs = this.getChildElement();
|
|
736
|
+
if (childs) {
|
|
737
|
+
this.setFocus(childs.firstChild);
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
else {
|
|
741
|
+
if (this.isLastElement() && this.getParentElement(this.getFocusedElement())) {
|
|
742
|
+
this.setFocus((_a = this.getParentElement(this.getFocusedElement())) === null || _a === void 0 ? void 0 : _a.nextElementSibling);
|
|
743
|
+
}
|
|
744
|
+
else {
|
|
745
|
+
this.setFocus(this.getNextElement());
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
keyUpTreeview() {
|
|
751
|
+
if (this.isFirstElement()) {
|
|
752
|
+
const parent = this.getParentElement(this.getFocusedElement());
|
|
753
|
+
this.setFocus(parent);
|
|
754
|
+
}
|
|
755
|
+
else {
|
|
756
|
+
const previousElement = this.getPreviousElement();
|
|
757
|
+
if (previousElement) {
|
|
758
|
+
if (previousElement.classList.contains('bcm-list__item--open')) {
|
|
759
|
+
const getChildElement = previousElement.querySelectorAll(this.getChildElementName())[0];
|
|
760
|
+
console.log({ getChildElement });
|
|
761
|
+
this.setFocus(getChildElement.lastChild);
|
|
762
|
+
}
|
|
763
|
+
else {
|
|
764
|
+
this.setFocus(previousElement);
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
keyDownControl() {
|
|
770
|
+
if (this.isTreeview) {
|
|
771
|
+
this.keyDownTreeView();
|
|
772
|
+
}
|
|
773
|
+
else {
|
|
774
|
+
if (this.isLastElement()) {
|
|
775
|
+
this.setFocus(this.getFirstElement());
|
|
776
|
+
}
|
|
777
|
+
else {
|
|
778
|
+
this.setFocus(this.getNextElement());
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
keyRightControl() {
|
|
783
|
+
if (this.isTreeview) {
|
|
784
|
+
if (!this.isRootElementIsOpen() && this.isRootElement()) {
|
|
785
|
+
const { id } = this.getFocusedElement();
|
|
786
|
+
this.openGroup(id);
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
keyLeftControl() {
|
|
791
|
+
if (this.isTreeview) {
|
|
792
|
+
if (this.isRootElementIsOpen() && this.isRootElement()) {
|
|
793
|
+
const { id } = this.getFocusedElement();
|
|
794
|
+
this.openGroup(id);
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
keyEnterControl() { }
|
|
799
|
+
keySpaceControl() {
|
|
800
|
+
if (this.isCheckBoxes) {
|
|
801
|
+
const { id } = this.getFocusedElement();
|
|
802
|
+
this.checkedItem(id);
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
keyDown() {
|
|
806
|
+
switch (this.getKeyCode()) {
|
|
807
|
+
case Bcm.KeyCode.up:
|
|
808
|
+
this.keyUpControl();
|
|
809
|
+
break;
|
|
810
|
+
case Bcm.KeyCode.down:
|
|
811
|
+
this.keyDownControl();
|
|
812
|
+
break;
|
|
813
|
+
case Bcm.KeyCode.left:
|
|
814
|
+
this.keyLeftControl();
|
|
815
|
+
break;
|
|
816
|
+
case Bcm.KeyCode.right:
|
|
817
|
+
this.keyRightControl();
|
|
818
|
+
break;
|
|
819
|
+
case Bcm.KeyCode.enter:
|
|
820
|
+
this.keyEnterControl();
|
|
821
|
+
break;
|
|
822
|
+
case Bcm.KeyCode.space:
|
|
823
|
+
this.keySpaceControl();
|
|
824
|
+
break;
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
keyUp() { }
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
class ListTagControl {
|
|
831
|
+
constructor(containerId, values, listId, selectedOtherTag, clearable) {
|
|
832
|
+
this.clearable = false;
|
|
833
|
+
this.containerId = containerId;
|
|
834
|
+
this.values = values;
|
|
835
|
+
this.listId = listId;
|
|
836
|
+
this.selectedOtherTag = selectedOtherTag;
|
|
837
|
+
this.clearable = clearable;
|
|
838
|
+
}
|
|
839
|
+
getTooltip(id, text) {
|
|
840
|
+
return new Tooltip({ message: text, targetId: id, placement: 'bottom' });
|
|
841
|
+
}
|
|
842
|
+
tagHtmlTemplate(tag, isOtherTag = false, otherTagIsSingle = false) {
|
|
843
|
+
return `<span class="bcm-tag__content dismissable ${!otherTagIsSingle && isOtherTag && (this.selectedOtherTag ? 'checkable checked' : '')}">
|
|
844
|
+
<span class="value">${tag.text}</span>
|
|
845
|
+
${otherTagIsSingle
|
|
846
|
+
? ''
|
|
847
|
+
: `
|
|
848
|
+
<span class="right close-button" bcm-list-tag-dismiss >
|
|
849
|
+
<bcm-icon icon="fal fa-times"></bcm-icon>
|
|
850
|
+
</span>`}
|
|
851
|
+
</span>`;
|
|
852
|
+
}
|
|
853
|
+
getContainer() {
|
|
854
|
+
return document.getElementById(this.containerId);
|
|
855
|
+
}
|
|
856
|
+
getContainerWidth() {
|
|
857
|
+
let tagContainerWidth = snq(() => document.getElementById(this.containerId).clientWidth, 0);
|
|
858
|
+
tagContainerWidth = (this.clearable ? tagContainerWidth - 20 : tagContainerWidth) - 20;
|
|
859
|
+
return [tagContainerWidth < 130 ? 130 : tagContainerWidth - 20, tagContainerWidth];
|
|
860
|
+
}
|
|
861
|
+
isClickDismiss(e) {
|
|
862
|
+
const path = e.path || (e.composedPath && e.composedPath());
|
|
863
|
+
const tag = path.find(element => element.attributes && element.attributes['bcm-list-tag-dismiss']);
|
|
864
|
+
return !!tag;
|
|
865
|
+
}
|
|
866
|
+
onClickControl(e, id, isOtherTag = false) {
|
|
867
|
+
const isDismiss = this.isClickDismiss(e);
|
|
868
|
+
let tooltipId = '';
|
|
869
|
+
if (isDismiss) {
|
|
870
|
+
this.onClickDismiss(id);
|
|
871
|
+
tooltipId = isOtherTag ? `bcm-list-input-tag-${this.listId}-other-tag` : `list-${this.listId}-${id}`;
|
|
872
|
+
this.getTooltip(tooltipId, '').hide();
|
|
873
|
+
}
|
|
874
|
+
else {
|
|
875
|
+
isOtherTag ? this.onClickOtherTag(id) : this.onClickTag(id);
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
calculateTags() {
|
|
879
|
+
const containerWidth = this.getContainerWidth();
|
|
880
|
+
const virtualDom = this.getContainer();
|
|
881
|
+
if (virtualDom) {
|
|
882
|
+
if (this.values && this.values.length > 0) {
|
|
883
|
+
if (containerWidth[0] > 0 && virtualDom) {
|
|
884
|
+
virtualDom.innerHTML = '';
|
|
885
|
+
this.values.slice(0, 50).map(value => {
|
|
886
|
+
const tag = document.createElement('div');
|
|
887
|
+
tag.classList.add('bcm-tag');
|
|
888
|
+
tag.id = `list-${this.listId}-${value.id}`;
|
|
889
|
+
// tag.title = value.tagTitle || value.text || '';
|
|
890
|
+
tag.onmouseenter = () => this.getTooltip(`list-${this.listId}-${value.id}`, value.tagTitle || value.text || '').show();
|
|
891
|
+
tag.onmouseleave = () => this.getTooltip(`list-${this.listId}-${value.id}`, value.tagTitle || value.text || '').hide();
|
|
892
|
+
tag.dataset.id = value.id;
|
|
893
|
+
tag.onclick = e => this.onClickControl(e, value.id);
|
|
894
|
+
tag.innerHTML = this.tagHtmlTemplate(Object.assign(Object.assign({}, value), { text: StringHelper.textLimitter(value.text, 10) }));
|
|
895
|
+
virtualDom.appendChild(tag);
|
|
896
|
+
});
|
|
897
|
+
let tags = virtualDom.querySelectorAll('.bcm-tag');
|
|
898
|
+
let otherTags = [];
|
|
899
|
+
let visibleTags = [];
|
|
900
|
+
const checkControl = () => {
|
|
901
|
+
const virtualDomTags = virtualDom.querySelectorAll('.bcm-tag');
|
|
902
|
+
if (visibleTags.length === 1 && (virtualDomTags === null || virtualDomTags === void 0 ? void 0 : virtualDomTags.length) === 1) {
|
|
903
|
+
visibleTags[0].innerHTML = this.tagHtmlTemplate({ text: '+1' }, false, true);
|
|
904
|
+
}
|
|
905
|
+
};
|
|
906
|
+
let tagsWidth = Array.from(tags).reduce((acc, tag) => {
|
|
907
|
+
const tagClientWidth = tag.clientWidth > 50 ? tag.clientWidth : 50;
|
|
908
|
+
if (tagClientWidth > 0 && acc + tagClientWidth + 10 < containerWidth[0]) {
|
|
909
|
+
acc += tagClientWidth + 10;
|
|
910
|
+
visibleTags.push(tag);
|
|
911
|
+
const checkFreeSpace = tagClientWidth > 0 && acc + tagClientWidth + 10 < containerWidth[0];
|
|
912
|
+
!checkFreeSpace && containerWidth[1] < 70 && checkControl();
|
|
913
|
+
}
|
|
914
|
+
else {
|
|
915
|
+
otherTags.push(tag);
|
|
916
|
+
tag.remove();
|
|
917
|
+
}
|
|
918
|
+
return acc;
|
|
919
|
+
}, 0);
|
|
920
|
+
const otherTagElement = this.values.slice(visibleTags.length);
|
|
921
|
+
const virtualDomLastElements = virtualDom.lastElementChild;
|
|
922
|
+
const otherTagTextControl = args => {
|
|
923
|
+
const { count, width } = args;
|
|
924
|
+
if (count > 999)
|
|
925
|
+
return '999+' + pluralize('item', count);
|
|
926
|
+
if (width > 100)
|
|
927
|
+
return `${count} ` + pluralize('item', count) + ' selected';
|
|
928
|
+
if (width < 100)
|
|
929
|
+
return `+${count < 10 ? count : '9'}`;
|
|
930
|
+
};
|
|
931
|
+
if (otherTags && otherTags.length > 0 && virtualDomLastElements && virtualDomLastElements.id !== `bcm-list-input-tag-${this.listId}-other-tag`) {
|
|
932
|
+
otherTags.push(virtualDomLastElements);
|
|
933
|
+
if (otherTags.length > 0) {
|
|
934
|
+
const otherCounter = otherTagElement.length + 1;
|
|
935
|
+
const createOthertagElement = {
|
|
936
|
+
id: `bcm-list-input-tag-${this.listId}-other-tag`,
|
|
937
|
+
text: otherTagTextControl({ count: otherCounter, width: containerWidth[1] }),
|
|
938
|
+
title: snq(() => otherTags
|
|
939
|
+
.map(tag => this.values.find(value => value.id == tag.dataset.id))
|
|
940
|
+
.slice(0, 15)
|
|
941
|
+
.map(item => StringHelper.textLimitter(item.tagTitle || item.text, 40, true))
|
|
942
|
+
.toString()
|
|
943
|
+
.split(',')
|
|
944
|
+
.join('\r\n') + (otherTags.length > 15 ? ('\r\n...') : ''), '...'),
|
|
945
|
+
};
|
|
946
|
+
virtualDomLastElements.remove();
|
|
947
|
+
visibleTags = visibleTags.filter(tag => tag.id !== virtualDomLastElements.id);
|
|
948
|
+
const hiddenTags = this.values.filter(value => !visibleTags.find(tag => tag.dataset.id == value.id)).map(value => value.id);
|
|
949
|
+
const otherTag = document.createElement('div');
|
|
950
|
+
const otherTagIds = hiddenTags.join(',');
|
|
951
|
+
const otherTagIsSingle = visibleTags.length === 0;
|
|
952
|
+
otherTag.classList.add('bcm-tag');
|
|
953
|
+
!otherTagIsSingle && otherTag.classList.add('bcm-tag--other');
|
|
954
|
+
otherTag.id = createOthertagElement.id;
|
|
955
|
+
// otherTag.title = createOthertagElement.title || false;
|
|
956
|
+
if (createOthertagElement.title) {
|
|
957
|
+
otherTag.onmouseenter = () => this.getTooltip(createOthertagElement.id, createOthertagElement.title).show();
|
|
958
|
+
otherTag.onmouseleave = () => this.getTooltip(createOthertagElement.id, createOthertagElement.title).hide();
|
|
959
|
+
}
|
|
960
|
+
otherTag.onclick = e => this.onClickControl(e, otherTagIds, otherTagIsSingle ? false : true);
|
|
961
|
+
otherTag.innerHTML = this.tagHtmlTemplate(createOthertagElement, true, otherTagIsSingle);
|
|
962
|
+
otherTag.dataset.ids = hiddenTags.join(',');
|
|
963
|
+
virtualDom.appendChild(otherTag);
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
const otherTag = document.getElementById(`bcm-list-input-tag-${this.listId}-other-tag`);
|
|
967
|
+
const otherTagWidth = otherTag ? (otherTag.clientWidth && otherTag.clientWidth < 50 ? 50 : otherTag.clientWidth) : 200;
|
|
968
|
+
const tagsPerRow = Math.floor(containerWidth[0] - tagsWidth);
|
|
969
|
+
if (tagsPerRow > otherTagWidth) {
|
|
970
|
+
if (otherTag) {
|
|
971
|
+
const findElement = this.values.find(value => value.id == otherTag.dataset.ids.split(',')[0]);
|
|
972
|
+
const tag = document.createElement('div');
|
|
973
|
+
tag.classList.add('bcm-tag');
|
|
974
|
+
tag.id = `list-${this.listId}-${findElement.id}`;
|
|
975
|
+
// tag.title = findElement?.title || '';
|
|
976
|
+
tag.onmouseenter = () => this.getTooltip(`list-${this.listId}-${findElement.id}`, (findElement === null || findElement === void 0 ? void 0 : findElement.title) || '').show();
|
|
977
|
+
tag.onmouseleave = () => this.getTooltip(`list-${this.listId}-${findElement.id}`, (findElement === null || findElement === void 0 ? void 0 : findElement.title) || '').hide();
|
|
978
|
+
tag.dataset.id = findElement.id;
|
|
979
|
+
tag.onclick = e => this.onClickControl(e, findElement === null || findElement === void 0 ? void 0 : findElement.id);
|
|
980
|
+
tag.innerHTML = this.tagHtmlTemplate(Object.assign(Object.assign({}, findElement), { text: StringHelper.textLimitter(findElement.text, 10) }));
|
|
981
|
+
const otherTagElement = document.getElementById(`bcm-list-input-tag-${this.listId}-other-tag`);
|
|
982
|
+
otherTagElement.remove();
|
|
983
|
+
virtualDom.appendChild(tag);
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
else {
|
|
989
|
+
virtualDom.innerHTML = '';
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
const listCss = "@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\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @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}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.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}:root{--bcm-new-ds-color-inherit:inherit;--bcm-new-ds-color-current:currentColor;--bcm-new-ds-color-transparent:transparent;--bcm-new-ds-color-black:#000;--bcm-new-ds-color-white:#fff;--bcm-new-ds-color-slate:#64748b;--bcm-new-ds-color-slate-50:#f8fafc;--bcm-new-ds-color-slate-100:#f1f5f9;--bcm-new-ds-color-slate-200:#e2e8f0;--bcm-new-ds-color-slate-300:#cbd5e1;--bcm-new-ds-color-slate-400:#94a3b8;--bcm-new-ds-color-slate-500:#64748b;--bcm-new-ds-color-slate-600:#475569;--bcm-new-ds-color-slate-700:#334155;--bcm-new-ds-color-slate-800:#1e293b;--bcm-new-ds-color-slate-900:#0f172a;--bcm-new-ds-color-gray:#6b7280;--bcm-new-ds-color-gray-50:#f9fafb;--bcm-new-ds-color-gray-100:#f3f4f6;--bcm-new-ds-color-gray-200:#e5e7eb;--bcm-new-ds-color-gray-300:#d1d5db;--bcm-new-ds-color-gray-400:#9ca3af;--bcm-new-ds-color-gray-500:#6b7280;--bcm-new-ds-color-gray-600:#4b5563;--bcm-new-ds-color-gray-700:#374151;--bcm-new-ds-color-gray-800:#1f2937;--bcm-new-ds-color-gray-900:#111827;--bcm-new-ds-color-zinc:#71717a;--bcm-new-ds-color-zinc-50:#fafafa;--bcm-new-ds-color-zinc-100:#f4f4f5;--bcm-new-ds-color-zinc-200:#e4e4e7;--bcm-new-ds-color-zinc-300:#d4d4d8;--bcm-new-ds-color-zinc-400:#a1a1aa;--bcm-new-ds-color-zinc-500:#71717a;--bcm-new-ds-color-zinc-600:#52525b;--bcm-new-ds-color-zinc-700:#3f3f46;--bcm-new-ds-color-zinc-800:#27272a;--bcm-new-ds-color-zinc-900:#18181b;--bcm-new-ds-color-neutral:#737373;--bcm-new-ds-color-neutral-50:#fafafa;--bcm-new-ds-color-neutral-100:#f5f5f5;--bcm-new-ds-color-neutral-200:#e5e5e5;--bcm-new-ds-color-neutral-300:#d4d4d4;--bcm-new-ds-color-neutral-400:#a3a3a3;--bcm-new-ds-color-neutral-500:#737373;--bcm-new-ds-color-neutral-600:#525252;--bcm-new-ds-color-neutral-700:#404040;--bcm-new-ds-color-neutral-800:#262626;--bcm-new-ds-color-neutral-900:#171717;--bcm-new-ds-color-stone:#78716c;--bcm-new-ds-color-stone-50:#fafaf9;--bcm-new-ds-color-stone-100:#f5f5f4;--bcm-new-ds-color-stone-200:#e7e5e4;--bcm-new-ds-color-stone-300:#d6d3d1;--bcm-new-ds-color-stone-400:#a8a29e;--bcm-new-ds-color-stone-500:#78716c;--bcm-new-ds-color-stone-600:#57534e;--bcm-new-ds-color-stone-700:#44403c;--bcm-new-ds-color-stone-800:#292524;--bcm-new-ds-color-stone-900:#1c1917;--bcm-new-ds-color-red:#ef4444;--bcm-new-ds-color-red-50:#fef2f2;--bcm-new-ds-color-red-100:#fee2e2;--bcm-new-ds-color-red-200:#fecaca;--bcm-new-ds-color-red-300:#fca5a5;--bcm-new-ds-color-red-400:#f87171;--bcm-new-ds-color-red-500:#ef4444;--bcm-new-ds-color-red-600:#dc2626;--bcm-new-ds-color-red-700:#b91c1c;--bcm-new-ds-color-red-800:#991b1b;--bcm-new-ds-color-red-900:#7f1d1d;--bcm-new-ds-color-orange:#f97316;--bcm-new-ds-color-orange-50:#fff7ed;--bcm-new-ds-color-orange-100:#ffedd5;--bcm-new-ds-color-orange-200:#fed7aa;--bcm-new-ds-color-orange-300:#fdba74;--bcm-new-ds-color-orange-400:#fb923c;--bcm-new-ds-color-orange-500:#f97316;--bcm-new-ds-color-orange-600:#ea580c;--bcm-new-ds-color-orange-700:#c2410c;--bcm-new-ds-color-orange-800:#9a3412;--bcm-new-ds-color-orange-900:#7c2d12;--bcm-new-ds-color-amber:#f59e0b;--bcm-new-ds-color-amber-50:#fffbeb;--bcm-new-ds-color-amber-100:#fef3c7;--bcm-new-ds-color-amber-200:#fde68a;--bcm-new-ds-color-amber-300:#fcd34d;--bcm-new-ds-color-amber-400:#fbbf24;--bcm-new-ds-color-amber-500:#f59e0b;--bcm-new-ds-color-amber-600:#d97706;--bcm-new-ds-color-amber-700:#b45309;--bcm-new-ds-color-amber-800:#92400e;--bcm-new-ds-color-amber-900:#78350f;--bcm-new-ds-color-yellow:#eab308;--bcm-new-ds-color-yellow-50:#fefce8;--bcm-new-ds-color-yellow-100:#fef9c3;--bcm-new-ds-color-yellow-200:#fef08a;--bcm-new-ds-color-yellow-300:#fde047;--bcm-new-ds-color-yellow-400:#facc15;--bcm-new-ds-color-yellow-500:#eab308;--bcm-new-ds-color-yellow-600:#ca8a04;--bcm-new-ds-color-yellow-700:#a16207;--bcm-new-ds-color-yellow-800:#854d0e;--bcm-new-ds-color-yellow-900:#713f12;--bcm-new-ds-color-lime:#84cc16;--bcm-new-ds-color-lime-50:#f7fee7;--bcm-new-ds-color-lime-100:#ecfccb;--bcm-new-ds-color-lime-200:#d9f99d;--bcm-new-ds-color-lime-300:#bef264;--bcm-new-ds-color-lime-400:#a3e635;--bcm-new-ds-color-lime-500:#84cc16;--bcm-new-ds-color-lime-600:#65a30d;--bcm-new-ds-color-lime-700:#4d7c0f;--bcm-new-ds-color-lime-800:#3f6212;--bcm-new-ds-color-lime-900:#365314;--bcm-new-ds-color-green:#22c55e;--bcm-new-ds-color-green-50:#f0fdf4;--bcm-new-ds-color-green-100:#dcfce7;--bcm-new-ds-color-green-200:#bbf7d0;--bcm-new-ds-color-green-300:#86efac;--bcm-new-ds-color-green-400:#4ade80;--bcm-new-ds-color-green-500:#22c55e;--bcm-new-ds-color-green-600:#16a34a;--bcm-new-ds-color-green-700:#15803d;--bcm-new-ds-color-green-800:#166534;--bcm-new-ds-color-green-900:#14532d;--bcm-new-ds-color-emerald:#10b981;--bcm-new-ds-color-emerald-50:#ecfdf5;--bcm-new-ds-color-emerald-100:#d1fae5;--bcm-new-ds-color-emerald-200:#a7f3d0;--bcm-new-ds-color-emerald-300:#6ee7b7;--bcm-new-ds-color-emerald-400:#34d399;--bcm-new-ds-color-emerald-500:#10b981;--bcm-new-ds-color-emerald-600:#059669;--bcm-new-ds-color-emerald-700:#047857;--bcm-new-ds-color-emerald-800:#065f46;--bcm-new-ds-color-emerald-900:#064e3b;--bcm-new-ds-color-teal:#14b8a6;--bcm-new-ds-color-teal-50:#f0fdfa;--bcm-new-ds-color-teal-100:#ccfbf1;--bcm-new-ds-color-teal-200:#99f6e4;--bcm-new-ds-color-teal-300:#5eead4;--bcm-new-ds-color-teal-400:#2dd4bf;--bcm-new-ds-color-teal-500:#14b8a6;--bcm-new-ds-color-teal-600:#0d9488;--bcm-new-ds-color-teal-700:#0f766e;--bcm-new-ds-color-teal-800:#115e59;--bcm-new-ds-color-teal-900:#134e4a;--bcm-new-ds-color-cyan:#06b6d4;--bcm-new-ds-color-cyan-50:#ecfeff;--bcm-new-ds-color-cyan-100:#cffafe;--bcm-new-ds-color-cyan-200:#a5f3fc;--bcm-new-ds-color-cyan-300:#67e8f9;--bcm-new-ds-color-cyan-400:#22d3ee;--bcm-new-ds-color-cyan-500:#06b6d4;--bcm-new-ds-color-cyan-600:#0891b2;--bcm-new-ds-color-cyan-700:#0e7490;--bcm-new-ds-color-cyan-800:#155e75;--bcm-new-ds-color-cyan-900:#164e63;--bcm-new-ds-color-sky:#0ea5e9;--bcm-new-ds-color-sky-50:#f0f9ff;--bcm-new-ds-color-sky-100:#e0f2fe;--bcm-new-ds-color-sky-200:#bae6fd;--bcm-new-ds-color-sky-300:#7dd3fc;--bcm-new-ds-color-sky-400:#38bdf8;--bcm-new-ds-color-sky-500:#0ea5e9;--bcm-new-ds-color-sky-600:#0284c7;--bcm-new-ds-color-sky-700:#0369a1;--bcm-new-ds-color-sky-800:#075985;--bcm-new-ds-color-sky-900:#0c4a6e;--bcm-new-ds-color-blue:#3b82f6;--bcm-new-ds-color-blue-50:#eff6ff;--bcm-new-ds-color-blue-100:#dbeafe;--bcm-new-ds-color-blue-200:#bfdbfe;--bcm-new-ds-color-blue-300:#93c5fd;--bcm-new-ds-color-blue-400:#60a5fa;--bcm-new-ds-color-blue-500:#3b82f6;--bcm-new-ds-color-blue-600:#2563eb;--bcm-new-ds-color-blue-700:#1d4ed8;--bcm-new-ds-color-blue-800:#1e40af;--bcm-new-ds-color-blue-900:#1e3a8a;--bcm-new-ds-color-indigo:#6366f1;--bcm-new-ds-color-indigo-50:#eef2ff;--bcm-new-ds-color-indigo-100:#e0e7ff;--bcm-new-ds-color-indigo-200:#c7d2fe;--bcm-new-ds-color-indigo-300:#a5b4fc;--bcm-new-ds-color-indigo-400:#818cf8;--bcm-new-ds-color-indigo-500:#6366f1;--bcm-new-ds-color-indigo-600:#4f46e5;--bcm-new-ds-color-indigo-700:#4338ca;--bcm-new-ds-color-indigo-800:#3730a3;--bcm-new-ds-color-indigo-900:#312e81;--bcm-new-ds-color-violet:#8b5cf6;--bcm-new-ds-color-violet-50:#f5f3ff;--bcm-new-ds-color-violet-100:#ede9fe;--bcm-new-ds-color-violet-200:#ddd6fe;--bcm-new-ds-color-violet-300:#c4b5fd;--bcm-new-ds-color-violet-400:#a78bfa;--bcm-new-ds-color-violet-500:#8b5cf6;--bcm-new-ds-color-violet-600:#7c3aed;--bcm-new-ds-color-violet-700:#6d28d9;--bcm-new-ds-color-violet-800:#5b21b6;--bcm-new-ds-color-violet-900:#4c1d95;--bcm-new-ds-color-purple:#a855f7;--bcm-new-ds-color-purple-50:#faf5ff;--bcm-new-ds-color-purple-100:#f3e8ff;--bcm-new-ds-color-purple-200:#e9d5ff;--bcm-new-ds-color-purple-300:#d8b4fe;--bcm-new-ds-color-purple-400:#c084fc;--bcm-new-ds-color-purple-500:#a855f7;--bcm-new-ds-color-purple-600:#9333ea;--bcm-new-ds-color-purple-700:#7e22ce;--bcm-new-ds-color-purple-800:#6b21a8;--bcm-new-ds-color-purple-900:#581c87;--bcm-new-ds-color-fuchsia:#d946ef;--bcm-new-ds-color-fuchsia-50:#fdf4ff;--bcm-new-ds-color-fuchsia-100:#fae8ff;--bcm-new-ds-color-fuchsia-200:#f5d0fe;--bcm-new-ds-color-fuchsia-300:#f0abfc;--bcm-new-ds-color-fuchsia-400:#e879f9;--bcm-new-ds-color-fuchsia-500:#d946ef;--bcm-new-ds-color-fuchsia-600:#c026d3;--bcm-new-ds-color-fuchsia-700:#a21caf;--bcm-new-ds-color-fuchsia-800:#86198f;--bcm-new-ds-color-fuchsia-900:#701a75;--bcm-new-ds-color-pink:#ec4899;--bcm-new-ds-color-pink-50:#fdf2f8;--bcm-new-ds-color-pink-100:#fce7f3;--bcm-new-ds-color-pink-200:#fbcfe8;--bcm-new-ds-color-pink-300:#f9a8d4;--bcm-new-ds-color-pink-400:#f472b6;--bcm-new-ds-color-pink-500:#ec4899;--bcm-new-ds-color-pink-600:#db2777;--bcm-new-ds-color-pink-700:#be185d;--bcm-new-ds-color-pink-800:#9d174d;--bcm-new-ds-color-pink-900:#831843;--bcm-new-ds-color-rose:#f43f5e;--bcm-new-ds-color-rose-50:#fff1f2;--bcm-new-ds-color-rose-100:#ffe4e6;--bcm-new-ds-color-rose-200:#fecdd3;--bcm-new-ds-color-rose-300:#fda4af;--bcm-new-ds-color-rose-400:#fb7185;--bcm-new-ds-color-rose-500:#f43f5e;--bcm-new-ds-color-rose-600:#e11d48;--bcm-new-ds-color-rose-700:#be123c;--bcm-new-ds-color-rose-800:#9f1239;--bcm-new-ds-color-rose-900:#881337}*{box-sizing:border-box}.bcm-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}:root{--bcm-new-ds-color-inherit:inherit;--bcm-new-ds-color-current:currentColor;--bcm-new-ds-color-transparent:transparent;--bcm-new-ds-color-black:#000;--bcm-new-ds-color-white:#fff;--bcm-new-ds-color-slate:#64748b;--bcm-new-ds-color-slate-50:#f8fafc;--bcm-new-ds-color-slate-100:#f1f5f9;--bcm-new-ds-color-slate-200:#e2e8f0;--bcm-new-ds-color-slate-300:#cbd5e1;--bcm-new-ds-color-slate-400:#94a3b8;--bcm-new-ds-color-slate-500:#64748b;--bcm-new-ds-color-slate-600:#475569;--bcm-new-ds-color-slate-700:#334155;--bcm-new-ds-color-slate-800:#1e293b;--bcm-new-ds-color-slate-900:#0f172a;--bcm-new-ds-color-gray:#6b7280;--bcm-new-ds-color-gray-50:#f9fafb;--bcm-new-ds-color-gray-100:#f3f4f6;--bcm-new-ds-color-gray-200:#e5e7eb;--bcm-new-ds-color-gray-300:#d1d5db;--bcm-new-ds-color-gray-400:#9ca3af;--bcm-new-ds-color-gray-500:#6b7280;--bcm-new-ds-color-gray-600:#4b5563;--bcm-new-ds-color-gray-700:#374151;--bcm-new-ds-color-gray-800:#1f2937;--bcm-new-ds-color-gray-900:#111827;--bcm-new-ds-color-zinc:#71717a;--bcm-new-ds-color-zinc-50:#fafafa;--bcm-new-ds-color-zinc-100:#f4f4f5;--bcm-new-ds-color-zinc-200:#e4e4e7;--bcm-new-ds-color-zinc-300:#d4d4d8;--bcm-new-ds-color-zinc-400:#a1a1aa;--bcm-new-ds-color-zinc-500:#71717a;--bcm-new-ds-color-zinc-600:#52525b;--bcm-new-ds-color-zinc-700:#3f3f46;--bcm-new-ds-color-zinc-800:#27272a;--bcm-new-ds-color-zinc-900:#18181b;--bcm-new-ds-color-neutral:#737373;--bcm-new-ds-color-neutral-50:#fafafa;--bcm-new-ds-color-neutral-100:#f5f5f5;--bcm-new-ds-color-neutral-200:#e5e5e5;--bcm-new-ds-color-neutral-300:#d4d4d4;--bcm-new-ds-color-neutral-400:#a3a3a3;--bcm-new-ds-color-neutral-500:#737373;--bcm-new-ds-color-neutral-600:#525252;--bcm-new-ds-color-neutral-700:#404040;--bcm-new-ds-color-neutral-800:#262626;--bcm-new-ds-color-neutral-900:#171717;--bcm-new-ds-color-stone:#78716c;--bcm-new-ds-color-stone-50:#fafaf9;--bcm-new-ds-color-stone-100:#f5f5f4;--bcm-new-ds-color-stone-200:#e7e5e4;--bcm-new-ds-color-stone-300:#d6d3d1;--bcm-new-ds-color-stone-400:#a8a29e;--bcm-new-ds-color-stone-500:#78716c;--bcm-new-ds-color-stone-600:#57534e;--bcm-new-ds-color-stone-700:#44403c;--bcm-new-ds-color-stone-800:#292524;--bcm-new-ds-color-stone-900:#1c1917;--bcm-new-ds-color-red:#ef4444;--bcm-new-ds-color-red-50:#fef2f2;--bcm-new-ds-color-red-100:#fee2e2;--bcm-new-ds-color-red-200:#fecaca;--bcm-new-ds-color-red-300:#fca5a5;--bcm-new-ds-color-red-400:#f87171;--bcm-new-ds-color-red-500:#ef4444;--bcm-new-ds-color-red-600:#dc2626;--bcm-new-ds-color-red-700:#b91c1c;--bcm-new-ds-color-red-800:#991b1b;--bcm-new-ds-color-red-900:#7f1d1d;--bcm-new-ds-color-orange:#f97316;--bcm-new-ds-color-orange-50:#fff7ed;--bcm-new-ds-color-orange-100:#ffedd5;--bcm-new-ds-color-orange-200:#fed7aa;--bcm-new-ds-color-orange-300:#fdba74;--bcm-new-ds-color-orange-400:#fb923c;--bcm-new-ds-color-orange-500:#f97316;--bcm-new-ds-color-orange-600:#ea580c;--bcm-new-ds-color-orange-700:#c2410c;--bcm-new-ds-color-orange-800:#9a3412;--bcm-new-ds-color-orange-900:#7c2d12;--bcm-new-ds-color-amber:#f59e0b;--bcm-new-ds-color-amber-50:#fffbeb;--bcm-new-ds-color-amber-100:#fef3c7;--bcm-new-ds-color-amber-200:#fde68a;--bcm-new-ds-color-amber-300:#fcd34d;--bcm-new-ds-color-amber-400:#fbbf24;--bcm-new-ds-color-amber-500:#f59e0b;--bcm-new-ds-color-amber-600:#d97706;--bcm-new-ds-color-amber-700:#b45309;--bcm-new-ds-color-amber-800:#92400e;--bcm-new-ds-color-amber-900:#78350f;--bcm-new-ds-color-yellow:#eab308;--bcm-new-ds-color-yellow-50:#fefce8;--bcm-new-ds-color-yellow-100:#fef9c3;--bcm-new-ds-color-yellow-200:#fef08a;--bcm-new-ds-color-yellow-300:#fde047;--bcm-new-ds-color-yellow-400:#facc15;--bcm-new-ds-color-yellow-500:#eab308;--bcm-new-ds-color-yellow-600:#ca8a04;--bcm-new-ds-color-yellow-700:#a16207;--bcm-new-ds-color-yellow-800:#854d0e;--bcm-new-ds-color-yellow-900:#713f12;--bcm-new-ds-color-lime:#84cc16;--bcm-new-ds-color-lime-50:#f7fee7;--bcm-new-ds-color-lime-100:#ecfccb;--bcm-new-ds-color-lime-200:#d9f99d;--bcm-new-ds-color-lime-300:#bef264;--bcm-new-ds-color-lime-400:#a3e635;--bcm-new-ds-color-lime-500:#84cc16;--bcm-new-ds-color-lime-600:#65a30d;--bcm-new-ds-color-lime-700:#4d7c0f;--bcm-new-ds-color-lime-800:#3f6212;--bcm-new-ds-color-lime-900:#365314;--bcm-new-ds-color-green:#22c55e;--bcm-new-ds-color-green-50:#f0fdf4;--bcm-new-ds-color-green-100:#dcfce7;--bcm-new-ds-color-green-200:#bbf7d0;--bcm-new-ds-color-green-300:#86efac;--bcm-new-ds-color-green-400:#4ade80;--bcm-new-ds-color-green-500:#22c55e;--bcm-new-ds-color-green-600:#16a34a;--bcm-new-ds-color-green-700:#15803d;--bcm-new-ds-color-green-800:#166534;--bcm-new-ds-color-green-900:#14532d;--bcm-new-ds-color-emerald:#10b981;--bcm-new-ds-color-emerald-50:#ecfdf5;--bcm-new-ds-color-emerald-100:#d1fae5;--bcm-new-ds-color-emerald-200:#a7f3d0;--bcm-new-ds-color-emerald-300:#6ee7b7;--bcm-new-ds-color-emerald-400:#34d399;--bcm-new-ds-color-emerald-500:#10b981;--bcm-new-ds-color-emerald-600:#059669;--bcm-new-ds-color-emerald-700:#047857;--bcm-new-ds-color-emerald-800:#065f46;--bcm-new-ds-color-emerald-900:#064e3b;--bcm-new-ds-color-teal:#14b8a6;--bcm-new-ds-color-teal-50:#f0fdfa;--bcm-new-ds-color-teal-100:#ccfbf1;--bcm-new-ds-color-teal-200:#99f6e4;--bcm-new-ds-color-teal-300:#5eead4;--bcm-new-ds-color-teal-400:#2dd4bf;--bcm-new-ds-color-teal-500:#14b8a6;--bcm-new-ds-color-teal-600:#0d9488;--bcm-new-ds-color-teal-700:#0f766e;--bcm-new-ds-color-teal-800:#115e59;--bcm-new-ds-color-teal-900:#134e4a;--bcm-new-ds-color-cyan:#06b6d4;--bcm-new-ds-color-cyan-50:#ecfeff;--bcm-new-ds-color-cyan-100:#cffafe;--bcm-new-ds-color-cyan-200:#a5f3fc;--bcm-new-ds-color-cyan-300:#67e8f9;--bcm-new-ds-color-cyan-400:#22d3ee;--bcm-new-ds-color-cyan-500:#06b6d4;--bcm-new-ds-color-cyan-600:#0891b2;--bcm-new-ds-color-cyan-700:#0e7490;--bcm-new-ds-color-cyan-800:#155e75;--bcm-new-ds-color-cyan-900:#164e63;--bcm-new-ds-color-sky:#0ea5e9;--bcm-new-ds-color-sky-50:#f0f9ff;--bcm-new-ds-color-sky-100:#e0f2fe;--bcm-new-ds-color-sky-200:#bae6fd;--bcm-new-ds-color-sky-300:#7dd3fc;--bcm-new-ds-color-sky-400:#38bdf8;--bcm-new-ds-color-sky-500:#0ea5e9;--bcm-new-ds-color-sky-600:#0284c7;--bcm-new-ds-color-sky-700:#0369a1;--bcm-new-ds-color-sky-800:#075985;--bcm-new-ds-color-sky-900:#0c4a6e;--bcm-new-ds-color-blue:#3b82f6;--bcm-new-ds-color-blue-50:#eff6ff;--bcm-new-ds-color-blue-100:#dbeafe;--bcm-new-ds-color-blue-200:#bfdbfe;--bcm-new-ds-color-blue-300:#93c5fd;--bcm-new-ds-color-blue-400:#60a5fa;--bcm-new-ds-color-blue-500:#3b82f6;--bcm-new-ds-color-blue-600:#2563eb;--bcm-new-ds-color-blue-700:#1d4ed8;--bcm-new-ds-color-blue-800:#1e40af;--bcm-new-ds-color-blue-900:#1e3a8a;--bcm-new-ds-color-indigo:#6366f1;--bcm-new-ds-color-indigo-50:#eef2ff;--bcm-new-ds-color-indigo-100:#e0e7ff;--bcm-new-ds-color-indigo-200:#c7d2fe;--bcm-new-ds-color-indigo-300:#a5b4fc;--bcm-new-ds-color-indigo-400:#818cf8;--bcm-new-ds-color-indigo-500:#6366f1;--bcm-new-ds-color-indigo-600:#4f46e5;--bcm-new-ds-color-indigo-700:#4338ca;--bcm-new-ds-color-indigo-800:#3730a3;--bcm-new-ds-color-indigo-900:#312e81;--bcm-new-ds-color-violet:#8b5cf6;--bcm-new-ds-color-violet-50:#f5f3ff;--bcm-new-ds-color-violet-100:#ede9fe;--bcm-new-ds-color-violet-200:#ddd6fe;--bcm-new-ds-color-violet-300:#c4b5fd;--bcm-new-ds-color-violet-400:#a78bfa;--bcm-new-ds-color-violet-500:#8b5cf6;--bcm-new-ds-color-violet-600:#7c3aed;--bcm-new-ds-color-violet-700:#6d28d9;--bcm-new-ds-color-violet-800:#5b21b6;--bcm-new-ds-color-violet-900:#4c1d95;--bcm-new-ds-color-purple:#a855f7;--bcm-new-ds-color-purple-50:#faf5ff;--bcm-new-ds-color-purple-100:#f3e8ff;--bcm-new-ds-color-purple-200:#e9d5ff;--bcm-new-ds-color-purple-300:#d8b4fe;--bcm-new-ds-color-purple-400:#c084fc;--bcm-new-ds-color-purple-500:#a855f7;--bcm-new-ds-color-purple-600:#9333ea;--bcm-new-ds-color-purple-700:#7e22ce;--bcm-new-ds-color-purple-800:#6b21a8;--bcm-new-ds-color-purple-900:#581c87;--bcm-new-ds-color-fuchsia:#d946ef;--bcm-new-ds-color-fuchsia-50:#fdf4ff;--bcm-new-ds-color-fuchsia-100:#fae8ff;--bcm-new-ds-color-fuchsia-200:#f5d0fe;--bcm-new-ds-color-fuchsia-300:#f0abfc;--bcm-new-ds-color-fuchsia-400:#e879f9;--bcm-new-ds-color-fuchsia-500:#d946ef;--bcm-new-ds-color-fuchsia-600:#c026d3;--bcm-new-ds-color-fuchsia-700:#a21caf;--bcm-new-ds-color-fuchsia-800:#86198f;--bcm-new-ds-color-fuchsia-900:#701a75;--bcm-new-ds-color-pink:#ec4899;--bcm-new-ds-color-pink-50:#fdf2f8;--bcm-new-ds-color-pink-100:#fce7f3;--bcm-new-ds-color-pink-200:#fbcfe8;--bcm-new-ds-color-pink-300:#f9a8d4;--bcm-new-ds-color-pink-400:#f472b6;--bcm-new-ds-color-pink-500:#ec4899;--bcm-new-ds-color-pink-600:#db2777;--bcm-new-ds-color-pink-700:#be185d;--bcm-new-ds-color-pink-800:#9d174d;--bcm-new-ds-color-pink-900:#831843;--bcm-new-ds-color-rose:#f43f5e;--bcm-new-ds-color-rose-50:#fff1f2;--bcm-new-ds-color-rose-100:#ffe4e6;--bcm-new-ds-color-rose-200:#fecdd3;--bcm-new-ds-color-rose-300:#fda4af;--bcm-new-ds-color-rose-400:#fb7185;--bcm-new-ds-color-rose-500:#f43f5e;--bcm-new-ds-color-rose-600:#e11d48;--bcm-new-ds-color-rose-700:#be123c;--bcm-new-ds-color-rose-800:#9f1239;--bcm-new-ds-color-rose-900:#881337}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}:root{--bcm-new-ds-color-inherit:inherit;--bcm-new-ds-color-current:currentColor;--bcm-new-ds-color-transparent:transparent;--bcm-new-ds-color-black:#000;--bcm-new-ds-color-white:#fff;--bcm-new-ds-color-slate:#64748b;--bcm-new-ds-color-slate-50:#f8fafc;--bcm-new-ds-color-slate-100:#f1f5f9;--bcm-new-ds-color-slate-200:#e2e8f0;--bcm-new-ds-color-slate-300:#cbd5e1;--bcm-new-ds-color-slate-400:#94a3b8;--bcm-new-ds-color-slate-500:#64748b;--bcm-new-ds-color-slate-600:#475569;--bcm-new-ds-color-slate-700:#334155;--bcm-new-ds-color-slate-800:#1e293b;--bcm-new-ds-color-slate-900:#0f172a;--bcm-new-ds-color-gray:#6b7280;--bcm-new-ds-color-gray-50:#f9fafb;--bcm-new-ds-color-gray-100:#f3f4f6;--bcm-new-ds-color-gray-200:#e5e7eb;--bcm-new-ds-color-gray-300:#d1d5db;--bcm-new-ds-color-gray-400:#9ca3af;--bcm-new-ds-color-gray-500:#6b7280;--bcm-new-ds-color-gray-600:#4b5563;--bcm-new-ds-color-gray-700:#374151;--bcm-new-ds-color-gray-800:#1f2937;--bcm-new-ds-color-gray-900:#111827;--bcm-new-ds-color-zinc:#71717a;--bcm-new-ds-color-zinc-50:#fafafa;--bcm-new-ds-color-zinc-100:#f4f4f5;--bcm-new-ds-color-zinc-200:#e4e4e7;--bcm-new-ds-color-zinc-300:#d4d4d8;--bcm-new-ds-color-zinc-400:#a1a1aa;--bcm-new-ds-color-zinc-500:#71717a;--bcm-new-ds-color-zinc-600:#52525b;--bcm-new-ds-color-zinc-700:#3f3f46;--bcm-new-ds-color-zinc-800:#27272a;--bcm-new-ds-color-zinc-900:#18181b;--bcm-new-ds-color-neutral:#737373;--bcm-new-ds-color-neutral-50:#fafafa;--bcm-new-ds-color-neutral-100:#f5f5f5;--bcm-new-ds-color-neutral-200:#e5e5e5;--bcm-new-ds-color-neutral-300:#d4d4d4;--bcm-new-ds-color-neutral-400:#a3a3a3;--bcm-new-ds-color-neutral-500:#737373;--bcm-new-ds-color-neutral-600:#525252;--bcm-new-ds-color-neutral-700:#404040;--bcm-new-ds-color-neutral-800:#262626;--bcm-new-ds-color-neutral-900:#171717;--bcm-new-ds-color-stone:#78716c;--bcm-new-ds-color-stone-50:#fafaf9;--bcm-new-ds-color-stone-100:#f5f5f4;--bcm-new-ds-color-stone-200:#e7e5e4;--bcm-new-ds-color-stone-300:#d6d3d1;--bcm-new-ds-color-stone-400:#a8a29e;--bcm-new-ds-color-stone-500:#78716c;--bcm-new-ds-color-stone-600:#57534e;--bcm-new-ds-color-stone-700:#44403c;--bcm-new-ds-color-stone-800:#292524;--bcm-new-ds-color-stone-900:#1c1917;--bcm-new-ds-color-red:#ef4444;--bcm-new-ds-color-red-50:#fef2f2;--bcm-new-ds-color-red-100:#fee2e2;--bcm-new-ds-color-red-200:#fecaca;--bcm-new-ds-color-red-300:#fca5a5;--bcm-new-ds-color-red-400:#f87171;--bcm-new-ds-color-red-500:#ef4444;--bcm-new-ds-color-red-600:#dc2626;--bcm-new-ds-color-red-700:#b91c1c;--bcm-new-ds-color-red-800:#991b1b;--bcm-new-ds-color-red-900:#7f1d1d;--bcm-new-ds-color-orange:#f97316;--bcm-new-ds-color-orange-50:#fff7ed;--bcm-new-ds-color-orange-100:#ffedd5;--bcm-new-ds-color-orange-200:#fed7aa;--bcm-new-ds-color-orange-300:#fdba74;--bcm-new-ds-color-orange-400:#fb923c;--bcm-new-ds-color-orange-500:#f97316;--bcm-new-ds-color-orange-600:#ea580c;--bcm-new-ds-color-orange-700:#c2410c;--bcm-new-ds-color-orange-800:#9a3412;--bcm-new-ds-color-orange-900:#7c2d12;--bcm-new-ds-color-amber:#f59e0b;--bcm-new-ds-color-amber-50:#fffbeb;--bcm-new-ds-color-amber-100:#fef3c7;--bcm-new-ds-color-amber-200:#fde68a;--bcm-new-ds-color-amber-300:#fcd34d;--bcm-new-ds-color-amber-400:#fbbf24;--bcm-new-ds-color-amber-500:#f59e0b;--bcm-new-ds-color-amber-600:#d97706;--bcm-new-ds-color-amber-700:#b45309;--bcm-new-ds-color-amber-800:#92400e;--bcm-new-ds-color-amber-900:#78350f;--bcm-new-ds-color-yellow:#eab308;--bcm-new-ds-color-yellow-50:#fefce8;--bcm-new-ds-color-yellow-100:#fef9c3;--bcm-new-ds-color-yellow-200:#fef08a;--bcm-new-ds-color-yellow-300:#fde047;--bcm-new-ds-color-yellow-400:#facc15;--bcm-new-ds-color-yellow-500:#eab308;--bcm-new-ds-color-yellow-600:#ca8a04;--bcm-new-ds-color-yellow-700:#a16207;--bcm-new-ds-color-yellow-800:#854d0e;--bcm-new-ds-color-yellow-900:#713f12;--bcm-new-ds-color-lime:#84cc16;--bcm-new-ds-color-lime-50:#f7fee7;--bcm-new-ds-color-lime-100:#ecfccb;--bcm-new-ds-color-lime-200:#d9f99d;--bcm-new-ds-color-lime-300:#bef264;--bcm-new-ds-color-lime-400:#a3e635;--bcm-new-ds-color-lime-500:#84cc16;--bcm-new-ds-color-lime-600:#65a30d;--bcm-new-ds-color-lime-700:#4d7c0f;--bcm-new-ds-color-lime-800:#3f6212;--bcm-new-ds-color-lime-900:#365314;--bcm-new-ds-color-green:#22c55e;--bcm-new-ds-color-green-50:#f0fdf4;--bcm-new-ds-color-green-100:#dcfce7;--bcm-new-ds-color-green-200:#bbf7d0;--bcm-new-ds-color-green-300:#86efac;--bcm-new-ds-color-green-400:#4ade80;--bcm-new-ds-color-green-500:#22c55e;--bcm-new-ds-color-green-600:#16a34a;--bcm-new-ds-color-green-700:#15803d;--bcm-new-ds-color-green-800:#166534;--bcm-new-ds-color-green-900:#14532d;--bcm-new-ds-color-emerald:#10b981;--bcm-new-ds-color-emerald-50:#ecfdf5;--bcm-new-ds-color-emerald-100:#d1fae5;--bcm-new-ds-color-emerald-200:#a7f3d0;--bcm-new-ds-color-emerald-300:#6ee7b7;--bcm-new-ds-color-emerald-400:#34d399;--bcm-new-ds-color-emerald-500:#10b981;--bcm-new-ds-color-emerald-600:#059669;--bcm-new-ds-color-emerald-700:#047857;--bcm-new-ds-color-emerald-800:#065f46;--bcm-new-ds-color-emerald-900:#064e3b;--bcm-new-ds-color-teal:#14b8a6;--bcm-new-ds-color-teal-50:#f0fdfa;--bcm-new-ds-color-teal-100:#ccfbf1;--bcm-new-ds-color-teal-200:#99f6e4;--bcm-new-ds-color-teal-300:#5eead4;--bcm-new-ds-color-teal-400:#2dd4bf;--bcm-new-ds-color-teal-500:#14b8a6;--bcm-new-ds-color-teal-600:#0d9488;--bcm-new-ds-color-teal-700:#0f766e;--bcm-new-ds-color-teal-800:#115e59;--bcm-new-ds-color-teal-900:#134e4a;--bcm-new-ds-color-cyan:#06b6d4;--bcm-new-ds-color-cyan-50:#ecfeff;--bcm-new-ds-color-cyan-100:#cffafe;--bcm-new-ds-color-cyan-200:#a5f3fc;--bcm-new-ds-color-cyan-300:#67e8f9;--bcm-new-ds-color-cyan-400:#22d3ee;--bcm-new-ds-color-cyan-500:#06b6d4;--bcm-new-ds-color-cyan-600:#0891b2;--bcm-new-ds-color-cyan-700:#0e7490;--bcm-new-ds-color-cyan-800:#155e75;--bcm-new-ds-color-cyan-900:#164e63;--bcm-new-ds-color-sky:#0ea5e9;--bcm-new-ds-color-sky-50:#f0f9ff;--bcm-new-ds-color-sky-100:#e0f2fe;--bcm-new-ds-color-sky-200:#bae6fd;--bcm-new-ds-color-sky-300:#7dd3fc;--bcm-new-ds-color-sky-400:#38bdf8;--bcm-new-ds-color-sky-500:#0ea5e9;--bcm-new-ds-color-sky-600:#0284c7;--bcm-new-ds-color-sky-700:#0369a1;--bcm-new-ds-color-sky-800:#075985;--bcm-new-ds-color-sky-900:#0c4a6e;--bcm-new-ds-color-blue:#3b82f6;--bcm-new-ds-color-blue-50:#eff6ff;--bcm-new-ds-color-blue-100:#dbeafe;--bcm-new-ds-color-blue-200:#bfdbfe;--bcm-new-ds-color-blue-300:#93c5fd;--bcm-new-ds-color-blue-400:#60a5fa;--bcm-new-ds-color-blue-500:#3b82f6;--bcm-new-ds-color-blue-600:#2563eb;--bcm-new-ds-color-blue-700:#1d4ed8;--bcm-new-ds-color-blue-800:#1e40af;--bcm-new-ds-color-blue-900:#1e3a8a;--bcm-new-ds-color-indigo:#6366f1;--bcm-new-ds-color-indigo-50:#eef2ff;--bcm-new-ds-color-indigo-100:#e0e7ff;--bcm-new-ds-color-indigo-200:#c7d2fe;--bcm-new-ds-color-indigo-300:#a5b4fc;--bcm-new-ds-color-indigo-400:#818cf8;--bcm-new-ds-color-indigo-500:#6366f1;--bcm-new-ds-color-indigo-600:#4f46e5;--bcm-new-ds-color-indigo-700:#4338ca;--bcm-new-ds-color-indigo-800:#3730a3;--bcm-new-ds-color-indigo-900:#312e81;--bcm-new-ds-color-violet:#8b5cf6;--bcm-new-ds-color-violet-50:#f5f3ff;--bcm-new-ds-color-violet-100:#ede9fe;--bcm-new-ds-color-violet-200:#ddd6fe;--bcm-new-ds-color-violet-300:#c4b5fd;--bcm-new-ds-color-violet-400:#a78bfa;--bcm-new-ds-color-violet-500:#8b5cf6;--bcm-new-ds-color-violet-600:#7c3aed;--bcm-new-ds-color-violet-700:#6d28d9;--bcm-new-ds-color-violet-800:#5b21b6;--bcm-new-ds-color-violet-900:#4c1d95;--bcm-new-ds-color-purple:#a855f7;--bcm-new-ds-color-purple-50:#faf5ff;--bcm-new-ds-color-purple-100:#f3e8ff;--bcm-new-ds-color-purple-200:#e9d5ff;--bcm-new-ds-color-purple-300:#d8b4fe;--bcm-new-ds-color-purple-400:#c084fc;--bcm-new-ds-color-purple-500:#a855f7;--bcm-new-ds-color-purple-600:#9333ea;--bcm-new-ds-color-purple-700:#7e22ce;--bcm-new-ds-color-purple-800:#6b21a8;--bcm-new-ds-color-purple-900:#581c87;--bcm-new-ds-color-fuchsia:#d946ef;--bcm-new-ds-color-fuchsia-50:#fdf4ff;--bcm-new-ds-color-fuchsia-100:#fae8ff;--bcm-new-ds-color-fuchsia-200:#f5d0fe;--bcm-new-ds-color-fuchsia-300:#f0abfc;--bcm-new-ds-color-fuchsia-400:#e879f9;--bcm-new-ds-color-fuchsia-500:#d946ef;--bcm-new-ds-color-fuchsia-600:#c026d3;--bcm-new-ds-color-fuchsia-700:#a21caf;--bcm-new-ds-color-fuchsia-800:#86198f;--bcm-new-ds-color-fuchsia-900:#701a75;--bcm-new-ds-color-pink:#ec4899;--bcm-new-ds-color-pink-50:#fdf2f8;--bcm-new-ds-color-pink-100:#fce7f3;--bcm-new-ds-color-pink-200:#fbcfe8;--bcm-new-ds-color-pink-300:#f9a8d4;--bcm-new-ds-color-pink-400:#f472b6;--bcm-new-ds-color-pink-500:#ec4899;--bcm-new-ds-color-pink-600:#db2777;--bcm-new-ds-color-pink-700:#be185d;--bcm-new-ds-color-pink-800:#9d174d;--bcm-new-ds-color-pink-900:#831843;--bcm-new-ds-color-rose:#f43f5e;--bcm-new-ds-color-rose-50:#fff1f2;--bcm-new-ds-color-rose-100:#ffe4e6;--bcm-new-ds-color-rose-200:#fecdd3;--bcm-new-ds-color-rose-300:#fda4af;--bcm-new-ds-color-rose-400:#fb7185;--bcm-new-ds-color-rose-500:#f43f5e;--bcm-new-ds-color-rose-600:#e11d48;--bcm-new-ds-color-rose-700:#be123c;--bcm-new-ds-color-rose-800:#9f1239;--bcm-new-ds-color-rose-900:#881337}*{box-sizing:border-box}:root{--bcm-new-ds-color-inherit:inherit;--bcm-new-ds-color-current:currentColor;--bcm-new-ds-color-transparent:transparent;--bcm-new-ds-color-black:#000;--bcm-new-ds-color-white:#fff;--bcm-new-ds-color-slate:#64748b;--bcm-new-ds-color-slate-50:#f8fafc;--bcm-new-ds-color-slate-100:#f1f5f9;--bcm-new-ds-color-slate-200:#e2e8f0;--bcm-new-ds-color-slate-300:#cbd5e1;--bcm-new-ds-color-slate-400:#94a3b8;--bcm-new-ds-color-slate-500:#64748b;--bcm-new-ds-color-slate-600:#475569;--bcm-new-ds-color-slate-700:#334155;--bcm-new-ds-color-slate-800:#1e293b;--bcm-new-ds-color-slate-900:#0f172a;--bcm-new-ds-color-gray:#6b7280;--bcm-new-ds-color-gray-50:#f9fafb;--bcm-new-ds-color-gray-100:#f3f4f6;--bcm-new-ds-color-gray-200:#e5e7eb;--bcm-new-ds-color-gray-300:#d1d5db;--bcm-new-ds-color-gray-400:#9ca3af;--bcm-new-ds-color-gray-500:#6b7280;--bcm-new-ds-color-gray-600:#4b5563;--bcm-new-ds-color-gray-700:#374151;--bcm-new-ds-color-gray-800:#1f2937;--bcm-new-ds-color-gray-900:#111827;--bcm-new-ds-color-zinc:#71717a;--bcm-new-ds-color-zinc-50:#fafafa;--bcm-new-ds-color-zinc-100:#f4f4f5;--bcm-new-ds-color-zinc-200:#e4e4e7;--bcm-new-ds-color-zinc-300:#d4d4d8;--bcm-new-ds-color-zinc-400:#a1a1aa;--bcm-new-ds-color-zinc-500:#71717a;--bcm-new-ds-color-zinc-600:#52525b;--bcm-new-ds-color-zinc-700:#3f3f46;--bcm-new-ds-color-zinc-800:#27272a;--bcm-new-ds-color-zinc-900:#18181b;--bcm-new-ds-color-neutral:#737373;--bcm-new-ds-color-neutral-50:#fafafa;--bcm-new-ds-color-neutral-100:#f5f5f5;--bcm-new-ds-color-neutral-200:#e5e5e5;--bcm-new-ds-color-neutral-300:#d4d4d4;--bcm-new-ds-color-neutral-400:#a3a3a3;--bcm-new-ds-color-neutral-500:#737373;--bcm-new-ds-color-neutral-600:#525252;--bcm-new-ds-color-neutral-700:#404040;--bcm-new-ds-color-neutral-800:#262626;--bcm-new-ds-color-neutral-900:#171717;--bcm-new-ds-color-stone:#78716c;--bcm-new-ds-color-stone-50:#fafaf9;--bcm-new-ds-color-stone-100:#f5f5f4;--bcm-new-ds-color-stone-200:#e7e5e4;--bcm-new-ds-color-stone-300:#d6d3d1;--bcm-new-ds-color-stone-400:#a8a29e;--bcm-new-ds-color-stone-500:#78716c;--bcm-new-ds-color-stone-600:#57534e;--bcm-new-ds-color-stone-700:#44403c;--bcm-new-ds-color-stone-800:#292524;--bcm-new-ds-color-stone-900:#1c1917;--bcm-new-ds-color-red:#ef4444;--bcm-new-ds-color-red-50:#fef2f2;--bcm-new-ds-color-red-100:#fee2e2;--bcm-new-ds-color-red-200:#fecaca;--bcm-new-ds-color-red-300:#fca5a5;--bcm-new-ds-color-red-400:#f87171;--bcm-new-ds-color-red-500:#ef4444;--bcm-new-ds-color-red-600:#dc2626;--bcm-new-ds-color-red-700:#b91c1c;--bcm-new-ds-color-red-800:#991b1b;--bcm-new-ds-color-red-900:#7f1d1d;--bcm-new-ds-color-orange:#f97316;--bcm-new-ds-color-orange-50:#fff7ed;--bcm-new-ds-color-orange-100:#ffedd5;--bcm-new-ds-color-orange-200:#fed7aa;--bcm-new-ds-color-orange-300:#fdba74;--bcm-new-ds-color-orange-400:#fb923c;--bcm-new-ds-color-orange-500:#f97316;--bcm-new-ds-color-orange-600:#ea580c;--bcm-new-ds-color-orange-700:#c2410c;--bcm-new-ds-color-orange-800:#9a3412;--bcm-new-ds-color-orange-900:#7c2d12;--bcm-new-ds-color-amber:#f59e0b;--bcm-new-ds-color-amber-50:#fffbeb;--bcm-new-ds-color-amber-100:#fef3c7;--bcm-new-ds-color-amber-200:#fde68a;--bcm-new-ds-color-amber-300:#fcd34d;--bcm-new-ds-color-amber-400:#fbbf24;--bcm-new-ds-color-amber-500:#f59e0b;--bcm-new-ds-color-amber-600:#d97706;--bcm-new-ds-color-amber-700:#b45309;--bcm-new-ds-color-amber-800:#92400e;--bcm-new-ds-color-amber-900:#78350f;--bcm-new-ds-color-yellow:#eab308;--bcm-new-ds-color-yellow-50:#fefce8;--bcm-new-ds-color-yellow-100:#fef9c3;--bcm-new-ds-color-yellow-200:#fef08a;--bcm-new-ds-color-yellow-300:#fde047;--bcm-new-ds-color-yellow-400:#facc15;--bcm-new-ds-color-yellow-500:#eab308;--bcm-new-ds-color-yellow-600:#ca8a04;--bcm-new-ds-color-yellow-700:#a16207;--bcm-new-ds-color-yellow-800:#854d0e;--bcm-new-ds-color-yellow-900:#713f12;--bcm-new-ds-color-lime:#84cc16;--bcm-new-ds-color-lime-50:#f7fee7;--bcm-new-ds-color-lime-100:#ecfccb;--bcm-new-ds-color-lime-200:#d9f99d;--bcm-new-ds-color-lime-300:#bef264;--bcm-new-ds-color-lime-400:#a3e635;--bcm-new-ds-color-lime-500:#84cc16;--bcm-new-ds-color-lime-600:#65a30d;--bcm-new-ds-color-lime-700:#4d7c0f;--bcm-new-ds-color-lime-800:#3f6212;--bcm-new-ds-color-lime-900:#365314;--bcm-new-ds-color-green:#22c55e;--bcm-new-ds-color-green-50:#f0fdf4;--bcm-new-ds-color-green-100:#dcfce7;--bcm-new-ds-color-green-200:#bbf7d0;--bcm-new-ds-color-green-300:#86efac;--bcm-new-ds-color-green-400:#4ade80;--bcm-new-ds-color-green-500:#22c55e;--bcm-new-ds-color-green-600:#16a34a;--bcm-new-ds-color-green-700:#15803d;--bcm-new-ds-color-green-800:#166534;--bcm-new-ds-color-green-900:#14532d;--bcm-new-ds-color-emerald:#10b981;--bcm-new-ds-color-emerald-50:#ecfdf5;--bcm-new-ds-color-emerald-100:#d1fae5;--bcm-new-ds-color-emerald-200:#a7f3d0;--bcm-new-ds-color-emerald-300:#6ee7b7;--bcm-new-ds-color-emerald-400:#34d399;--bcm-new-ds-color-emerald-500:#10b981;--bcm-new-ds-color-emerald-600:#059669;--bcm-new-ds-color-emerald-700:#047857;--bcm-new-ds-color-emerald-800:#065f46;--bcm-new-ds-color-emerald-900:#064e3b;--bcm-new-ds-color-teal:#14b8a6;--bcm-new-ds-color-teal-50:#f0fdfa;--bcm-new-ds-color-teal-100:#ccfbf1;--bcm-new-ds-color-teal-200:#99f6e4;--bcm-new-ds-color-teal-300:#5eead4;--bcm-new-ds-color-teal-400:#2dd4bf;--bcm-new-ds-color-teal-500:#14b8a6;--bcm-new-ds-color-teal-600:#0d9488;--bcm-new-ds-color-teal-700:#0f766e;--bcm-new-ds-color-teal-800:#115e59;--bcm-new-ds-color-teal-900:#134e4a;--bcm-new-ds-color-cyan:#06b6d4;--bcm-new-ds-color-cyan-50:#ecfeff;--bcm-new-ds-color-cyan-100:#cffafe;--bcm-new-ds-color-cyan-200:#a5f3fc;--bcm-new-ds-color-cyan-300:#67e8f9;--bcm-new-ds-color-cyan-400:#22d3ee;--bcm-new-ds-color-cyan-500:#06b6d4;--bcm-new-ds-color-cyan-600:#0891b2;--bcm-new-ds-color-cyan-700:#0e7490;--bcm-new-ds-color-cyan-800:#155e75;--bcm-new-ds-color-cyan-900:#164e63;--bcm-new-ds-color-sky:#0ea5e9;--bcm-new-ds-color-sky-50:#f0f9ff;--bcm-new-ds-color-sky-100:#e0f2fe;--bcm-new-ds-color-sky-200:#bae6fd;--bcm-new-ds-color-sky-300:#7dd3fc;--bcm-new-ds-color-sky-400:#38bdf8;--bcm-new-ds-color-sky-500:#0ea5e9;--bcm-new-ds-color-sky-600:#0284c7;--bcm-new-ds-color-sky-700:#0369a1;--bcm-new-ds-color-sky-800:#075985;--bcm-new-ds-color-sky-900:#0c4a6e;--bcm-new-ds-color-blue:#3b82f6;--bcm-new-ds-color-blue-50:#eff6ff;--bcm-new-ds-color-blue-100:#dbeafe;--bcm-new-ds-color-blue-200:#bfdbfe;--bcm-new-ds-color-blue-300:#93c5fd;--bcm-new-ds-color-blue-400:#60a5fa;--bcm-new-ds-color-blue-500:#3b82f6;--bcm-new-ds-color-blue-600:#2563eb;--bcm-new-ds-color-blue-700:#1d4ed8;--bcm-new-ds-color-blue-800:#1e40af;--bcm-new-ds-color-blue-900:#1e3a8a;--bcm-new-ds-color-indigo:#6366f1;--bcm-new-ds-color-indigo-50:#eef2ff;--bcm-new-ds-color-indigo-100:#e0e7ff;--bcm-new-ds-color-indigo-200:#c7d2fe;--bcm-new-ds-color-indigo-300:#a5b4fc;--bcm-new-ds-color-indigo-400:#818cf8;--bcm-new-ds-color-indigo-500:#6366f1;--bcm-new-ds-color-indigo-600:#4f46e5;--bcm-new-ds-color-indigo-700:#4338ca;--bcm-new-ds-color-indigo-800:#3730a3;--bcm-new-ds-color-indigo-900:#312e81;--bcm-new-ds-color-violet:#8b5cf6;--bcm-new-ds-color-violet-50:#f5f3ff;--bcm-new-ds-color-violet-100:#ede9fe;--bcm-new-ds-color-violet-200:#ddd6fe;--bcm-new-ds-color-violet-300:#c4b5fd;--bcm-new-ds-color-violet-400:#a78bfa;--bcm-new-ds-color-violet-500:#8b5cf6;--bcm-new-ds-color-violet-600:#7c3aed;--bcm-new-ds-color-violet-700:#6d28d9;--bcm-new-ds-color-violet-800:#5b21b6;--bcm-new-ds-color-violet-900:#4c1d95;--bcm-new-ds-color-purple:#a855f7;--bcm-new-ds-color-purple-50:#faf5ff;--bcm-new-ds-color-purple-100:#f3e8ff;--bcm-new-ds-color-purple-200:#e9d5ff;--bcm-new-ds-color-purple-300:#d8b4fe;--bcm-new-ds-color-purple-400:#c084fc;--bcm-new-ds-color-purple-500:#a855f7;--bcm-new-ds-color-purple-600:#9333ea;--bcm-new-ds-color-purple-700:#7e22ce;--bcm-new-ds-color-purple-800:#6b21a8;--bcm-new-ds-color-purple-900:#581c87;--bcm-new-ds-color-fuchsia:#d946ef;--bcm-new-ds-color-fuchsia-50:#fdf4ff;--bcm-new-ds-color-fuchsia-100:#fae8ff;--bcm-new-ds-color-fuchsia-200:#f5d0fe;--bcm-new-ds-color-fuchsia-300:#f0abfc;--bcm-new-ds-color-fuchsia-400:#e879f9;--bcm-new-ds-color-fuchsia-500:#d946ef;--bcm-new-ds-color-fuchsia-600:#c026d3;--bcm-new-ds-color-fuchsia-700:#a21caf;--bcm-new-ds-color-fuchsia-800:#86198f;--bcm-new-ds-color-fuchsia-900:#701a75;--bcm-new-ds-color-pink:#ec4899;--bcm-new-ds-color-pink-50:#fdf2f8;--bcm-new-ds-color-pink-100:#fce7f3;--bcm-new-ds-color-pink-200:#fbcfe8;--bcm-new-ds-color-pink-300:#f9a8d4;--bcm-new-ds-color-pink-400:#f472b6;--bcm-new-ds-color-pink-500:#ec4899;--bcm-new-ds-color-pink-600:#db2777;--bcm-new-ds-color-pink-700:#be185d;--bcm-new-ds-color-pink-800:#9d174d;--bcm-new-ds-color-pink-900:#831843;--bcm-new-ds-color-rose:#f43f5e;--bcm-new-ds-color-rose-50:#fff1f2;--bcm-new-ds-color-rose-100:#ffe4e6;--bcm-new-ds-color-rose-200:#fecdd3;--bcm-new-ds-color-rose-300:#fda4af;--bcm-new-ds-color-rose-400:#fb7185;--bcm-new-ds-color-rose-500:#f43f5e;--bcm-new-ds-color-rose-600:#e11d48;--bcm-new-ds-color-rose-700:#be123c;--bcm-new-ds-color-rose-800:#9f1239;--bcm-new-ds-color-rose-900:#881337}*{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}.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}.bcm-list{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;--width:256px;--height:256px;--max-height:inherit;--min-height:inherit;min-width:90px;display:flex;flex-direction:column;margin:0 0 8px 0}.bcm-list__listbox .bcm-list__container{height:var(--height);max-height:var(--max-height);min-height:var(--min-height)}.bcm-list.full-width{width:100%}.bcm-list__size-small .bcm-list__input{height:24px;font-size:12px;line-height:calc(12px + 8px)}.bcm-list__size-small .bcm-list__input .bcm-tag__content.dismissable{font-size:10px;line-height:calc(10px + 8px)}.bcm-list__size-medium .bcm-list__input{height:32px;font-size:14px;line-height:calc(14px + 8px)}.bcm-list__size-medium .bcm-list__input .bcm-tag__content.dismissable{font-size:12px;line-height:calc(12px + 8px)}.bcm-list__size-large .bcm-list__input{height:40px;font-size:16px;line-height:calc(16px + 8px)}.bcm-list__size-large .bcm-list__input .bcm-tag__content.dismissable{font-size:14px;line-height:calc(14px + 8px)}.bcm-list:hover{outline:none}.bcm-list:hover .bcm-list__input{border-color:var(--bcm-new-ds-color-blue-500);background-color:var(--bcm-new-ds-color-slate-50)}.bcm-list:focus-visible{outline:none}.bcm-list:focus-visible .bcm-list__input{border-color:var(--bcm-new-ds-color-blue-600);background-color:var(--bcm-new-ds-color-white)}.bcm-list:active{outline:none}.bcm-list:active .bcm-list__input{border-color:var(--bcm-new-ds-color-blue-600);box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1)}.bcm-list__container{--width:256px;--height:256px;width:var(--width);height:var(--height);background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;padding-top:8px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;gap:4px}.bcm-list__container main{scroll-behavior:smooth;padding:0 8px;flex:1;overflow:auto;display:flex;flex-direction:column}.bcm-list__container-search{margin:0 8px}.bcm-list__container-search:after{margin:4px 0}.bcm-list__container-no-data{flex:1;display:flex;justify-content:stretch;align-items:stretch;padding-bottom:4px}.bcm-list__container.error{border-color:var(--bcm-color-red-6)}.bcm-list__container.full-width{width:100%}.bcm-list__container.bcm-list__type-linked-component,.bcm-list__container.bcm-list__type-select,.bcm-list__container.bcm-list__type-autocomplete{opacity:0;visibility:hidden;position:absolute;top:0;left:0;height:0;width:0;transform:translateY(10%);z-index:10800;transition:visibility 0s linear 400ms, opacity 100ms, transform 200ms}.bcm-list__container.bcm-list__type-linked-component.bcm-list--top,.bcm-list__container.bcm-list__type-select.bcm-list--top,.bcm-list__container.bcm-list__type-autocomplete.bcm-list--top{transform:translateY(-10%)}.bcm-list__container.bcm-list__type-linked-component.is-open,.bcm-list__container.bcm-list__type-select.is-open,.bcm-list__container.bcm-list__type-autocomplete.is-open{opacity:1;transform:translateY(0);visibility:visible;transition:visibility 0s linear 0s, opacity 100ms, transform 100ms}.bcm-list__label{line-height:1}.bcm-list__input{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-white);user-select:none;cursor:pointer;padding:0 8px;height:32px;overflow:hidden;position:relative;transition:background-color 100ms, border-color 100ms}.bcm-list__input-spinner{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:var(--bcm-color-grey-1);opacity:0;visibility:hidden;transition:opacity 0.2s ease-in-out;z-index:-1}.bcm-list__input-spinner.is-open{opacity:1;visibility:visible;z-index:1}.bcm-list__input-container{width:100%}.bcm-list__input-container.value-empty{color:var(--bcm-color-grey-6)}.bcm-list__input-container.type-single,.bcm-list__input-container.value-empty{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bcm-list__input-placeholder{color:var(--bcm-color-grey-6)}.bcm-list__input-tag-container{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;grid-gap:2px;line-height:1}.bcm-list__input-buttons{display:flex;align-items:center;justify-content:flex-end;grid-gap:4px;min-width:40px}.bcm-list__input-buttons-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:4px;font-size:16px;color:var(--bcm-new-ds-color-slate-500)}.bcm-list__input-buttons-button.caret-is{transform:rotate(360deg);transition:transform 0.2s ease-in-out}.bcm-list__input-buttons-button.caret-is-open{transform:rotate(180deg)}.bcm-list__input-buttons:not(.disabled) .bcm-list__input-buttons-button:hover{cursor:pointer;color:var(--bcm-new-ds-color-slate-600)}.bcm-list__input-autocomplete{position:relative;padding-right:0}.bcm-list__input-autocomplete .bcm-list-input-selected-text{background-color:#ffffff;display:flex;align-items:center;justify-content:flex-start;width:calc(100% - 24px);height:100%;padding:0 calc(8px + 4px);position:absolute;top:0;left:0}.bcm-list__input-autocomplete .bcm-list__input-container{height:100%;display:flex;flex-direction:row}.bcm-list__input-autocomplete .bcm-list__input-container .bcm-list__input-tag-container{width:auto}.bcm-list__input-autocomplete .bcm-input,.bcm-list__input-autocomplete .bcm-list__autocomplete{height:100%;min-width:70px;width:100%}.bcm-list__input-autocomplete .bcm-input__container,.bcm-list__input-autocomplete .bcm-list__autocomplete__container{height:100%;border:none;padding:0;width:100%}.bcm-list__input-autocomplete .bcm-input__container:not(.disabled).focused,.bcm-list__input-autocomplete .bcm-input__container:not(.disabled):hover,.bcm-list__input-autocomplete .bcm-list__autocomplete__container:not(.disabled).focused,.bcm-list__input-autocomplete .bcm-list__autocomplete__container:not(.disabled):hover{border:none;box-shadow:none}.bcm-list__autocomplete{width:100%;position:relative}.bcm-list.full-width .bcm-list__container,.bcm-list.full-width .bcm-list__input{width:100%}.bcm-list.error .bcm-list__input{border-color:var(--bcm-color-red-6)}.bcm-list.disabled .bcm-list__container,.bcm-list.disabled .bcm-list__input{color:var(--bcm-new-ds-color-slate-300);background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-list.disabled .bcm-tag__content.dismissable .close-button{cursor:default}.bcm-list:not(.disabled) .bcm-list__input .bcm-tag__content.checked .close-button bcm-icon{color:var(--bcm-new-ds-color-slate-100)}.bcm-list:not(.disabled) .bcm-list__input .bcm-tag__content.checked .close-button:hover bcm-icon{color:var(--bcm-new-ds-color-slate-200)}.bcm-list:not(.disabled) .bcm-list__input:hover{border-color:var(--bcm-new-ds-color-blue-500)}.bcm-list:not(.disabled) .bcm-list__input:hover .bcm-tag__content.dismissable:not(.checked){background-color:var(--bcm-new-ds-color-slate-200);border-color:var(--bcm-new-ds-color-slate-200)}.bcm-list:not(.disabled) .bcm-list__input:focus-visible{border-color:var(--bcm-new-ds-color-blue-500);box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1)}.bcm-list:not(.disabled) .bcm-list__input:active{border-color:var(--bcm-new-ds-color-blue-500)}.bcm-list__item{padding:2px 0}.bcm-list__item.disabled{user-select:none}.bcm-list__item:focus{outline:none}.bcm-list__item:focus-visible>.bcm-list__item-content{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-list__item:focus-visible>.bcm-list__item-content:not(.disabled){color:var(--bcm-new-ds-color-slate-600)}.bcm-list__item-content{display:flex;flex-direction:row;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;cursor:pointer;border-radius:4px;padding:0;padding-left:4px;color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-slate-50);transition:background-color 0.2s ease}.bcm-list__item-content.disabled{color:var(--bcm-new-ds-color-slate-300);background-color:var(--bcm-new-ds-color-slate-50);user-select:none;cursor:not-allowed}.bcm-list__item-content.selected{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-new-ds-color-blue-500)}.bcm-list__item-content.selected:hover:not(.disabled){color:var(--bcm-new-ds-color-white);background-color:var(--bcm-new-ds-color-blue-600)}.bcm-list__item-content:hover:not(.disabled){color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-slate-100)}.bcm-list__item-content:active:not(.disabled){color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-slate-200)}.bcm-list__item-content-collapse-icon{width:16px;padding:0 8px;display:flex;align-items:center;justify-content:center;font-size:16px}.bcm-list__item-content-collapse-icon.child{cursor:pointer}.bcm-list__item-content-text{user-select:none;padding:8px;width:100%;display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.bcm-list__item-content-text.treeview{padding:8px 0}.bcm-list__item-content-text-checkbox{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;margin-right:8px}.bcm-list__item-content-text-checkbox .bcm-checkbox{margin:0}.bcm-list__item-content-text-inner{width:100%}.bcm-list__item-content-text mark{padding:0;margin:0;font-size:inherit;color:var(--bcm-color-grey-8);background-color:var(--bcm-color-yellow-4)}.bcm-list__item-childs{padding-left:16px}.bcm-list__item-small{padding:2px 0 2px 8px;font-size:10px;line-height:calc(10px + 8px)}.bcm-list__item-small .bcm-list__item-content-text{padding:3px 4px}.bcm-list__item-medium{font-size:12px;line-height:calc(12px + 8px)}.bcm-list__item-medium .bcm-list__item-content-text{padding:6px 4px}.bcm-list__item-large{font-size:14px;line-height:calc(14px + 8px)}.bcm-list__item-large .bcm-list__item-content-text{padding:9px 4px}.bcm-list__item--readonly:focus>.bcm-list__item-content:not(.disabled),.bcm-list__item--readonly.focused>.bcm-list__item-content:not(.disabled){color:var(--bcm-color-grey-7)}.bcm-list__item--readonly>.bcm-list__item-content{color:var(--bcm-color-grey-7)}.bcm-list__item--readonly>.bcm-list__item-content:hover,.bcm-list__item--readonly>.bcm-list__item-content:focus{color:var(--bcm-color-grey-7)}.bcm-list__item--group{border-radius:4px}.bcm-list__item--group:focus>.bcm-list__item-content:not(.disabled){background-color:var(--bcm-new-ds-color-slate-50);color:var(--bcm-new-ds-color-slate-600)}.bcm-list__item--group>.bcm-list__item-content{background-color:var(--bcm-new-ds-color-slate-50);color:var(--bcm-new-ds-color-slate-600);border-radius:4px 4px 0 0;cursor:default;font-size:14px;line-height:calc(14px + 8px);font-weight:500;position:sticky;top:0}.bcm-list__item--group>.bcm-list__item-content>.bcm-list__item-content-text{padding:4px 8px 4px 16px}.bcm-list__item--group>.bcm-list__item-content:hover,.bcm-list__item--group>.bcm-list__item-content:focus{color:var(--bcm-new-ds-color-slate-800);background-color:var(--bcm-new-ds-color-slate-50)}.bcm-list__item--group>.bcm-list__item-content-unclickable:hover{color:var(--bcm-new-ds-color-slate-700);background-color:var(--bcm-new-ds-color-slate-50)}.bcm-list__item--group>.bcm-list__item-childs{background-color:var(--bcm-new-ds-color-slate-50);color:var(--bcm-new-ds-color-slate-600);padding-bottom:8px;border-radius:0 0 4px 4px;padding-left:8px}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content{background-color:var(--bcm-new-ds-color-white);color:var(--bcm-new-ds-color-slate-600)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content:hover{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content:active{background-color:var(--bcm-new-ds-color-slate-200)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content:focus-visible{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content.selected{background-color:var(--bcm-new-ds-color-blue-500);color:var(--bcm-new-ds-color-white)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content.selected:hover{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content.selected:active{background-color:var(--bcm-new-ds-color-blue-700)}.bcm-list__linked{display:none}.bcm-list .bcm-tag--other .value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bcm-info-footer{text-align:right;padding:4px 8px;background-color:var(--bcm-new-ds-color-slate-100);color:var(--bcm-new-ds-color-slate-600);border-radius:0 0 4px 4px}";
|
|
996
|
+
|
|
997
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
998
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
999
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1000
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
1001
|
+
else
|
|
1002
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
1003
|
+
if (d = decorators[i])
|
|
1004
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1005
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1006
|
+
};
|
|
1007
|
+
const BcmList = class {
|
|
1008
|
+
constructor(hostRef) {
|
|
1009
|
+
registerInstance(this, hostRef);
|
|
1010
|
+
this.bcmChecklist = createEvent(this, "bcm-checklist", 7);
|
|
1011
|
+
this.bcmSelected = createEvent(this, "bcm-selected", 7);
|
|
1012
|
+
this.change = createEvent(this, "bcm-change", 7);
|
|
1013
|
+
this.open = createEvent(this, "bcm-open", 7);
|
|
1014
|
+
this.close = createEvent(this, "bcm-close", 7);
|
|
1015
|
+
this.debounce = null;
|
|
1016
|
+
this._id = Generate.UID();
|
|
1017
|
+
// All types
|
|
1018
|
+
this.type = Bcm$1.ListType.listbox;
|
|
1019
|
+
this.treeview = false;
|
|
1020
|
+
this.checkboxes = false;
|
|
1021
|
+
this.searchable = false;
|
|
1022
|
+
this.value = null;
|
|
1023
|
+
this.size = Bcm$1.Size.medium;
|
|
1024
|
+
this.disabled = false;
|
|
1025
|
+
this.readonly = false;
|
|
1026
|
+
this.highlight = false;
|
|
1027
|
+
this.required = false;
|
|
1028
|
+
this.hidden = false;
|
|
1029
|
+
this.fullWidth = false;
|
|
1030
|
+
this.height = '256px';
|
|
1031
|
+
this.maxHeight = '500px';
|
|
1032
|
+
this.minHeight = '150px';
|
|
1033
|
+
this.width = '256px';
|
|
1034
|
+
this.infoFooter = false;
|
|
1035
|
+
this.variableText = 'item';
|
|
1036
|
+
// @Prop({ mutable: true }) showIcon = false;
|
|
1037
|
+
// @Prop({ mutable: true }) favIcon = false;
|
|
1038
|
+
// @Prop({ mutable: true }) favIconOnlyChilds = false;
|
|
1039
|
+
// @Prop({ mutable: true }) contextMenu
|
|
1040
|
+
this.allOpen = false;
|
|
1041
|
+
this.keyControl = false;
|
|
1042
|
+
this.checkAll = true;
|
|
1043
|
+
this.stopDeepClean = false;
|
|
1044
|
+
this.isOpen = false;
|
|
1045
|
+
this.calculatedViewport = false;
|
|
1046
|
+
this.isSelectedOther = false;
|
|
1047
|
+
this.isHaveOtherTag = false;
|
|
1048
|
+
//Only Select and similar
|
|
1049
|
+
this.placeholder = 'Choose an option';
|
|
1050
|
+
this.searchPlaceholder = 'Search';
|
|
1051
|
+
this.searchIsOnlyChilds = false;
|
|
1052
|
+
this.clearable = false;
|
|
1053
|
+
this.noCaption = false;
|
|
1054
|
+
this.captionType = Bcm$1.Status.default;
|
|
1055
|
+
this.emptyIcon = 'fad fa-folder-open';
|
|
1056
|
+
this.tick = {};
|
|
1057
|
+
this.totalData = 0;
|
|
1058
|
+
this.totalRootData = 0;
|
|
1059
|
+
this.limit = 20;
|
|
1060
|
+
this.searchResultLimit = 20; //Gerekliliği düşünülecek
|
|
1061
|
+
this.searchFound = null;
|
|
1062
|
+
this.returnFilterData = {};
|
|
1063
|
+
this.returnOtherData = {};
|
|
1064
|
+
this.options = {
|
|
1065
|
+
rootMargin: '30px',
|
|
1066
|
+
};
|
|
1067
|
+
this.tagContainerWidth = 0;
|
|
1068
|
+
this.selectAllItem = {
|
|
1069
|
+
id: 'select-all',
|
|
1070
|
+
text: 'Select All',
|
|
1071
|
+
value: 'select-all',
|
|
1072
|
+
checked: false,
|
|
1073
|
+
disabled: false,
|
|
1074
|
+
icon: '',
|
|
1075
|
+
status: Bcm$1.Status.default,
|
|
1076
|
+
indeterminate: 'uncheck',
|
|
1077
|
+
};
|
|
1078
|
+
this.placement = Bcm$1.Placement['bottom-start'];
|
|
1079
|
+
this.data = [];
|
|
1080
|
+
this.debounceHandler = Generate.debounceInput(() => this.listenResize(), 300, false);
|
|
1081
|
+
}
|
|
1082
|
+
connectedCallback() {
|
|
1083
|
+
if (this.height != '256px') {
|
|
1084
|
+
if (this.height.indexOf('px') > -1) {
|
|
1085
|
+
this.limit = Math.floor(+this.height.replace('px', '') / 10);
|
|
1086
|
+
}
|
|
1087
|
+
else {
|
|
1088
|
+
this.limit = Math.floor(+(window.innerHeight / 10));
|
|
1089
|
+
}
|
|
1090
|
+
this.searchResultLimit = this.limit;
|
|
1091
|
+
this.markForCheck();
|
|
1092
|
+
}
|
|
1093
|
+
const checkElementWithDom = document.querySelectorAll(`#bcm-list-${this._id}`);
|
|
1094
|
+
(checkElementWithDom === null || checkElementWithDom === void 0 ? void 0 : checkElementWithDom.length) > 0 && checkElementWithDom.forEach(item => item.remove());
|
|
1095
|
+
}
|
|
1096
|
+
componentWillRender() {
|
|
1097
|
+
this.calculateLocation();
|
|
1098
|
+
}
|
|
1099
|
+
componentShouldUpdate(newVal, oldVal, propName) {
|
|
1100
|
+
if (Object.keys(this.getOptions()).indexOf(propName) > -1 && newVal !== oldVal) {
|
|
1101
|
+
this.updateOptions();
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
async componentDidLoad() {
|
|
1105
|
+
await this.initState();
|
|
1106
|
+
if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
|
|
1107
|
+
const list = this.el.querySelector(`#bcm-list-${this._id}`);
|
|
1108
|
+
if (list) {
|
|
1109
|
+
document.body.appendChild(list);
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
tagCalculator() {
|
|
1114
|
+
if (this.checkboxes && (this.type == 'select' || this.type == 'autocomplete')) {
|
|
1115
|
+
const tagCalculator = new ListTagControl(`bcm-list-input-tag-container-${this._id}`, this.value, this._id, this.isSelectedOther, this.clearable);
|
|
1116
|
+
tagCalculator.calculateTags();
|
|
1117
|
+
const arrayIds = id => (typeof id == 'string' ? id.split(',') : [id]);
|
|
1118
|
+
const clearAutocomplete = () => {
|
|
1119
|
+
if (this.type == 'autocomplete') {
|
|
1120
|
+
const autocompleteInput = this.getAutoCompleteInput();
|
|
1121
|
+
if (autocompleteInput) {
|
|
1122
|
+
autocompleteInput.handleClear(false);
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
};
|
|
1126
|
+
tagCalculator.onClickOtherTag = async (id) => {
|
|
1127
|
+
if (!this.disabled) {
|
|
1128
|
+
clearAutocomplete();
|
|
1129
|
+
if (this.isSelectedOther) {
|
|
1130
|
+
await this.unSelectOther();
|
|
1131
|
+
}
|
|
1132
|
+
else {
|
|
1133
|
+
await this.onClearSearch();
|
|
1134
|
+
this.isSelectedOther = true;
|
|
1135
|
+
this.filterOtherList(arrayIds(id));
|
|
1136
|
+
this.isOpen = true;
|
|
1137
|
+
}
|
|
1138
|
+
this.onSelectSearch();
|
|
1139
|
+
}
|
|
1140
|
+
};
|
|
1141
|
+
tagCalculator.onClickTag = _ => {
|
|
1142
|
+
// console.log(id);
|
|
1143
|
+
clearAutocomplete();
|
|
1144
|
+
this.onSelectSearch();
|
|
1145
|
+
this.unSelectOther();
|
|
1146
|
+
};
|
|
1147
|
+
tagCalculator.onClickDismiss = async (id) => {
|
|
1148
|
+
var _a;
|
|
1149
|
+
if (!this.disabled) {
|
|
1150
|
+
if (this.isSelectedOther) {
|
|
1151
|
+
await this.unSelectOther();
|
|
1152
|
+
}
|
|
1153
|
+
arrayIds(id).length > 1 ? listState.removeOtherTags(this._id, arrayIds(id)) : listState.checkedItem(this._id, arrayIds(id)[0]);
|
|
1154
|
+
this.value = (await this.getCheckedList()).checkedList;
|
|
1155
|
+
this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
|
|
1156
|
+
}
|
|
1157
|
+
};
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
disconnectedCallback() {
|
|
1161
|
+
this.isOpen = false;
|
|
1162
|
+
if (this.stopDeepClean)
|
|
1163
|
+
return;
|
|
1164
|
+
listState.removeState(this._id);
|
|
1165
|
+
this.el.innerHTML = '';
|
|
1166
|
+
if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
|
|
1167
|
+
const list = document.querySelectorAll(`#bcm-list-${this._id}`);
|
|
1168
|
+
if (list === null || list === void 0 ? void 0 : list.length) {
|
|
1169
|
+
list.forEach(item => item.remove());
|
|
1170
|
+
this.el.remove();
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
watchId(_, oldVal) {
|
|
1175
|
+
// console.info('Changed component id:', oldVal + ' -> ' + newVal);
|
|
1176
|
+
listState.removeState(oldVal);
|
|
1177
|
+
this.initState();
|
|
1178
|
+
}
|
|
1179
|
+
handleValueChange(newVal, oldVal) {
|
|
1180
|
+
var _a;
|
|
1181
|
+
if (Generate.objectIsEmpty(this.returnFilterData)) {
|
|
1182
|
+
this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
|
|
1183
|
+
}
|
|
1184
|
+
if (this.checkboxes) {
|
|
1185
|
+
if (!Validators.compareTwoArrayIsSame(newVal, oldVal)) {
|
|
1186
|
+
this.bcmChecklist.emit(this.value);
|
|
1187
|
+
this.change.emit(this.value);
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
else {
|
|
1191
|
+
if ((newVal === null || newVal === void 0 ? void 0 : newVal.text) != (oldVal === null || oldVal === void 0 ? void 0 : oldVal.text)) {
|
|
1192
|
+
this.change.emit(this.value);
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
this.tagCalculator();
|
|
1196
|
+
}
|
|
1197
|
+
watchReturnFilterData(newVal) {
|
|
1198
|
+
var _a;
|
|
1199
|
+
const { checkedItems, visibledItems } = newVal;
|
|
1200
|
+
if (checkedItems && visibledItems) {
|
|
1201
|
+
this.handleIndeterminate(checkedItems.length, visibledItems.length);
|
|
1202
|
+
}
|
|
1203
|
+
else {
|
|
1204
|
+
this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
handleOtherSelected(newValue) {
|
|
1208
|
+
var _a;
|
|
1209
|
+
const tagContent = (_a = document.getElementById(`bcm-list-input-tag-${this._id}-other-tag`)) === null || _a === void 0 ? void 0 : _a.querySelector('.bcm-tag__content');
|
|
1210
|
+
if (tagContent) {
|
|
1211
|
+
if (newValue === true) {
|
|
1212
|
+
tagContent.classList.add('checkable', 'checked');
|
|
1213
|
+
}
|
|
1214
|
+
else {
|
|
1215
|
+
tagContent.classList.remove('checkable', 'checked');
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
async handleOpen() {
|
|
1220
|
+
if (this.isOpen) {
|
|
1221
|
+
this.open.emit();
|
|
1222
|
+
this.calculateLocation();
|
|
1223
|
+
this.onSelectSearch();
|
|
1224
|
+
}
|
|
1225
|
+
else {
|
|
1226
|
+
this.close.emit();
|
|
1227
|
+
await delay(100);
|
|
1228
|
+
this.unSelectOther();
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
async dataChanged(newValue, oldValue) {
|
|
1232
|
+
if (!Validators.compareTwoArrayIsSame(newValue, oldValue)) {
|
|
1233
|
+
await this.initState();
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
isIntersecting(e) {
|
|
1237
|
+
const target = e === null || e === void 0 ? void 0 : e.target;
|
|
1238
|
+
if (target && target.id === this._id) {
|
|
1239
|
+
this.listenResize();
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
handleSlotItems(e) {
|
|
1243
|
+
var _a;
|
|
1244
|
+
if (((_a = e === null || e === void 0 ? void 0 : e.detail) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
1245
|
+
this.data = e.detail;
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
handleChange(e) {
|
|
1249
|
+
if (e.target.id == `bcm-list-input-tag-container-${this._id}-autocomplete-input`) {
|
|
1250
|
+
e.stopImmediatePropagation();
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
handleResize() {
|
|
1254
|
+
this.calculateLocation();
|
|
1255
|
+
this.debounceHandler();
|
|
1256
|
+
}
|
|
1257
|
+
handleWheel(event) {
|
|
1258
|
+
if (this.isOpen) {
|
|
1259
|
+
const list = document.querySelector(`#bcm-list-${this._id}`);
|
|
1260
|
+
const isClickInside = list && Generate.findEventPath(event, list);
|
|
1261
|
+
if (isClickInside) {
|
|
1262
|
+
if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
|
|
1263
|
+
this.calculateLocation();
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
else {
|
|
1267
|
+
this.hide();
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
handleClick(event) {
|
|
1272
|
+
var _a;
|
|
1273
|
+
if (this.disabled)
|
|
1274
|
+
return;
|
|
1275
|
+
const list = document.querySelector(`#bcm-list-${this._id}`);
|
|
1276
|
+
const isClickInside = Generate.findEventPath(event, this.el) || (list && Generate.findEventPath(event, list));
|
|
1277
|
+
if (isClickInside) {
|
|
1278
|
+
if (this.debounce !== null) {
|
|
1279
|
+
event.preventDefault();
|
|
1280
|
+
event.stopPropagation();
|
|
1281
|
+
clearTimeout(this.debounce);
|
|
1282
|
+
this.debounce = null;
|
|
1283
|
+
}
|
|
1284
|
+
this.debounce = setTimeout(() => {
|
|
1285
|
+
this.debounce = null;
|
|
1286
|
+
}, 300);
|
|
1287
|
+
}
|
|
1288
|
+
if (!isClickInside) {
|
|
1289
|
+
if (this.type == 'autocomplete') {
|
|
1290
|
+
const autocompleteInput = this.getAutoCompleteInput();
|
|
1291
|
+
if (autocompleteInput) {
|
|
1292
|
+
if (this.checkboxes) {
|
|
1293
|
+
autocompleteInput.setValue('');
|
|
1294
|
+
}
|
|
1295
|
+
else {
|
|
1296
|
+
autocompleteInput.setValue(((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || '');
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
const clickToTag = Generate.findEventPathWithKey(event, 'className', ['bcm-tag']);
|
|
1302
|
+
const clickToOtherTag = Generate.findEventPathWithKey(event, 'className', ['bcm-tag bcm-tag--other']);
|
|
1303
|
+
const clickToSelect = Generate.findEventPathWithKey(event, 'id', [`bcm-list-input-${this._id}`, `bcm-list-label-${this._id}`]);
|
|
1304
|
+
const clickToTagDismiss = Generate.findEventPathWithKey(event, 'className', ['right close-button']);
|
|
1305
|
+
if (clickToSelect && !clickToTagDismiss && this.type != 'autocomplete') {
|
|
1306
|
+
this.isOpen = clickToTag || clickToOtherTag ? true : !this.isOpen;
|
|
1307
|
+
}
|
|
1308
|
+
if (list) {
|
|
1309
|
+
if (this.isOpen) {
|
|
1310
|
+
if (!list.contains(event.target) && !this.el.contains(event.target)) {
|
|
1311
|
+
this.isOpen = false;
|
|
1312
|
+
// this.unSelectOther()
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
bcmOnSearchClear(event) {
|
|
1318
|
+
var _a, _b;
|
|
1319
|
+
if (this.type == 'autocomplete') {
|
|
1320
|
+
if (((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.id) === `bcm-list-${this._id}-search` || ((_b = event === null || event === void 0 ? void 0 : event.target) === null || _b === void 0 ? void 0 : _b.id) === `bcm-list-input-tag-container-${this._id}-autocomplete-input`) {
|
|
1321
|
+
if (event.detail) {
|
|
1322
|
+
this.setClear();
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
bcmOnSearch(event) {
|
|
1328
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1329
|
+
if (((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.id) === `bcm-list-${this._id}-search` || ((_b = event === null || event === void 0 ? void 0 : event.target) === null || _b === void 0 ? void 0 : _b.id) === `bcm-list-input-tag-container-${this._id}-autocomplete-input`) {
|
|
1330
|
+
this.searchGetParents = snq(() => { var _a; return (_a = event.detail) === null || _a === void 0 ? void 0 : _a.parentIndex; }, null);
|
|
1331
|
+
this.searchResultLimit = 10;
|
|
1332
|
+
this.searchFound = ((_c = event.detail) === null || _c === void 0 ? void 0 : _c.matching) != null ? (_d = event.detail) === null || _d === void 0 ? void 0 : _d.matching.length : null;
|
|
1333
|
+
this.returnFilterData = listState.filterData(this._id, (_e = event.detail) === null || _e === void 0 ? void 0 : _e.nestedResult);
|
|
1334
|
+
if (this.searchFound > 0 && this.highlight) {
|
|
1335
|
+
this.highlightText = (_f = event.detail) === null || _f === void 0 ? void 0 : _f.value;
|
|
1336
|
+
}
|
|
1337
|
+
if (this.type == 'autocomplete') {
|
|
1338
|
+
this.isOpen = true;
|
|
1339
|
+
}
|
|
1340
|
+
if (!event.detail.result) {
|
|
1341
|
+
if (this.type == 'autocomplete') {
|
|
1342
|
+
this.isOpen = false;
|
|
1343
|
+
}
|
|
1344
|
+
if (this.isSelectedOther) {
|
|
1345
|
+
this.filterOtherList(this.otherTagIds());
|
|
1346
|
+
}
|
|
1347
|
+
else {
|
|
1348
|
+
this.returnFilterData = {};
|
|
1349
|
+
listState.filterData(this._id, null);
|
|
1350
|
+
}
|
|
1351
|
+
// this.isSelectedOther = false
|
|
1352
|
+
this.searchResultLimit = null;
|
|
1353
|
+
this.highlightText = null;
|
|
1354
|
+
}
|
|
1355
|
+
this.markForCheck();
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
//keyboard navigation
|
|
1359
|
+
handleKeyDown(ev) {
|
|
1360
|
+
const keycode = ev.keyCode || ev.which;
|
|
1361
|
+
if (keycode === Bcm$1.KeyCode.escape) {
|
|
1362
|
+
if (this.isOpen) {
|
|
1363
|
+
this.isOpen = false;
|
|
1364
|
+
ev.preventDefault();
|
|
1365
|
+
ev.stopPropagation();
|
|
1366
|
+
ev.stopImmediatePropagation();
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
if (this.keyControl) {
|
|
1370
|
+
const keyboard = new ListKeyControl(keycode, this.el, this.treeview, this.checkboxes);
|
|
1371
|
+
keyboard.openGroup = openGroupId => {
|
|
1372
|
+
this.openGroup(openGroupId);
|
|
1373
|
+
};
|
|
1374
|
+
keyboard.checkedItem = checkedItemId => {
|
|
1375
|
+
this.checkedItem(checkedItemId);
|
|
1376
|
+
};
|
|
1377
|
+
keyboard.keyDown();
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
handleKeyUp(ev) {
|
|
1381
|
+
if (this.keyControl) {
|
|
1382
|
+
const focusedList = Generate.findEventPath(ev, this.el);
|
|
1383
|
+
if (focusedList) {
|
|
1384
|
+
const list = document.getElementById(`bcm-list-${this._id}`);
|
|
1385
|
+
if (list) {
|
|
1386
|
+
const items = list.querySelectorAll('.bcm-list__item.focused');
|
|
1387
|
+
if (items.length > 0) {
|
|
1388
|
+
const main = list.querySelector('main');
|
|
1389
|
+
const itemHeight = items[0].offsetHeight;
|
|
1390
|
+
const listHeight = main.offsetHeight;
|
|
1391
|
+
const itemTop = items[0].offsetTop;
|
|
1392
|
+
if (itemTop > listHeight) {
|
|
1393
|
+
main.scrollTop = itemTop - listHeight / 2 + itemHeight / 2;
|
|
1394
|
+
}
|
|
1395
|
+
if (itemTop < listHeight) {
|
|
1396
|
+
main.scrollTop = itemTop - listHeight / 2 - itemHeight / 2;
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
async set(data) {
|
|
1404
|
+
if (data) {
|
|
1405
|
+
if (Array.isArray(data)) {
|
|
1406
|
+
this.addChecked(data);
|
|
1407
|
+
}
|
|
1408
|
+
if (typeof data === 'string' || typeof data === 'number') {
|
|
1409
|
+
this.selectedItem(data);
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
else {
|
|
1413
|
+
this.setClear();
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
async get() {
|
|
1417
|
+
var _a, _b;
|
|
1418
|
+
return this.value ? (this.checkboxes ? (_b = (_a = (await this.getCheckedList())) === null || _a === void 0 ? void 0 : _a.checkedList) === null || _b === void 0 ? void 0 : _b.map(item => item.id) : this.value.id) : null;
|
|
1419
|
+
}
|
|
1420
|
+
async getCheckedList() {
|
|
1421
|
+
return Promise.resolve(listState.getCheckedList(this._id));
|
|
1422
|
+
}
|
|
1423
|
+
async getSelected() {
|
|
1424
|
+
return Promise.resolve(listState.getSelected(this._id));
|
|
1425
|
+
}
|
|
1426
|
+
async getValue() {
|
|
1427
|
+
return Promise.resolve(this.value);
|
|
1428
|
+
}
|
|
1429
|
+
async addChecked(ids = [], save = false, emit = true) {
|
|
1430
|
+
if (ids && ids.length > 0) {
|
|
1431
|
+
if (!save) {
|
|
1432
|
+
listState.setClear(this._id);
|
|
1433
|
+
await delay(10);
|
|
1434
|
+
}
|
|
1435
|
+
await listState.addChecked(this._id, ids);
|
|
1436
|
+
await delay(10);
|
|
1437
|
+
emit && (this.value = (await this.getCheckedList()).checkedList);
|
|
1438
|
+
this.markForCheck();
|
|
1439
|
+
}
|
|
1440
|
+
return Promise.resolve(this.value);
|
|
1441
|
+
}
|
|
1442
|
+
async selected(id) {
|
|
1443
|
+
if (id) {
|
|
1444
|
+
return Promise.resolve(await this.selectedItem(id));
|
|
1445
|
+
}
|
|
1446
|
+
return false;
|
|
1447
|
+
}
|
|
1448
|
+
async setClear(e) {
|
|
1449
|
+
listState.setClear(this._id);
|
|
1450
|
+
this.value = null;
|
|
1451
|
+
this.inputText = '';
|
|
1452
|
+
this.isOpen = false;
|
|
1453
|
+
this.selectAllItem.indeterminate = 'uncheck';
|
|
1454
|
+
this.tagCalculator();
|
|
1455
|
+
this.markForCheck();
|
|
1456
|
+
if (e) {
|
|
1457
|
+
e.stopPropagation();
|
|
1458
|
+
e.preventDefault();
|
|
1459
|
+
}
|
|
1460
|
+
await delay(10);
|
|
1461
|
+
return Promise.resolve();
|
|
1462
|
+
}
|
|
1463
|
+
async resetCaption() {
|
|
1464
|
+
await delay(10);
|
|
1465
|
+
this.caption = this.captionCache;
|
|
1466
|
+
this.captionType = this.captionTypeCache;
|
|
1467
|
+
this.captionError = null;
|
|
1468
|
+
await delay(10);
|
|
1469
|
+
return Promise.resolve();
|
|
1470
|
+
}
|
|
1471
|
+
async show() {
|
|
1472
|
+
this.isOpen = true;
|
|
1473
|
+
return Promise.resolve();
|
|
1474
|
+
}
|
|
1475
|
+
async hide() {
|
|
1476
|
+
this.isOpen = false;
|
|
1477
|
+
return Promise.resolve();
|
|
1478
|
+
}
|
|
1479
|
+
updateOptions() {
|
|
1480
|
+
listState.updateOptions(this._id, this);
|
|
1481
|
+
}
|
|
1482
|
+
handleIndeterminate(checkeds, total) {
|
|
1483
|
+
this.selectAllItem = Object.assign(Object.assign({}, this.selectAllItem), { indeterminate: this.checkboxes && checkeds > 0 ? (checkeds === total ? 'check' : 'indeterminate') : 'uncheck', checked: this.checkboxes && checkeds > 0 ? (checkeds === total ? true : false) : false });
|
|
1484
|
+
}
|
|
1485
|
+
listenResize() {
|
|
1486
|
+
this.tagCalculator();
|
|
1487
|
+
this.calculateLocation();
|
|
1488
|
+
this.markForCheck();
|
|
1489
|
+
}
|
|
1490
|
+
async unSelectOther() {
|
|
1491
|
+
await this.onClearSearch();
|
|
1492
|
+
this.isSelectedOther = false;
|
|
1493
|
+
this.searchFound = null;
|
|
1494
|
+
this.returnFilterData = {};
|
|
1495
|
+
listState.filterData(this._id, null);
|
|
1496
|
+
await delay(10);
|
|
1497
|
+
return Promise.resolve();
|
|
1498
|
+
}
|
|
1499
|
+
async onClearSearch() {
|
|
1500
|
+
const searchInput = document.getElementById(`bcm-list-${this._id}-search`);
|
|
1501
|
+
if (searchInput) {
|
|
1502
|
+
await searchInput.handleClear();
|
|
1503
|
+
}
|
|
1504
|
+
return Promise.resolve();
|
|
1505
|
+
}
|
|
1506
|
+
async onSelectSearch() {
|
|
1507
|
+
const searchInput = document.getElementById(`bcm-list-${this._id}-search`);
|
|
1508
|
+
if (searchInput) {
|
|
1509
|
+
await delay(100);
|
|
1510
|
+
searchInput.onBcmFocus();
|
|
1511
|
+
searchInput.onBcmSelect();
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
otherTagIds() {
|
|
1515
|
+
const otherTag = document.querySelector(`#bcm-list-input-tag-${this._id}-other-tag`);
|
|
1516
|
+
if (otherTag) {
|
|
1517
|
+
return otherTag.getAttribute('data-ids').split(',');
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
async filterOtherList(ids) {
|
|
1521
|
+
const checklist = (await this.getCheckedList()).nestedResult;
|
|
1522
|
+
const filter = Generate.convertIdsToNestedData(ids, checklist);
|
|
1523
|
+
this.returnFilterData = await listState.filterData(this._id, filter, null, true);
|
|
1524
|
+
this.searchFound = ids.length || 0;
|
|
1525
|
+
this.limit = 500;
|
|
1526
|
+
this.searchGetParents = null;
|
|
1527
|
+
await delay(1000);
|
|
1528
|
+
this.markForCheck();
|
|
1529
|
+
}
|
|
1530
|
+
async initState() {
|
|
1531
|
+
var _a, _b, _c;
|
|
1532
|
+
this.onClearSearch();
|
|
1533
|
+
await listState.setValue({
|
|
1534
|
+
id: this._id,
|
|
1535
|
+
dataSource: this.data && snq(() => (typeof this.data == 'string' ? JSON.parse(this.data) : this.data), []),
|
|
1536
|
+
options: this,
|
|
1537
|
+
});
|
|
1538
|
+
const { totalRoots, totalItems } = listState.getValue(this._id);
|
|
1539
|
+
this.totalData = totalItems;
|
|
1540
|
+
this.totalRootData = totalRoots;
|
|
1541
|
+
this.value = this.checkboxes ? (await this.getCheckedList()).checkedList : listState.selectedItem(this._id) ? listState.selectedItem(this._id)[0] : null;
|
|
1542
|
+
if (!this.checkboxes) {
|
|
1543
|
+
this.inputText = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || null;
|
|
1544
|
+
}
|
|
1545
|
+
// checkli olan subparentların indeterminate kontrolü için
|
|
1546
|
+
if (this.checkboxes && ((_b = this.value) === null || _b === void 0 ? void 0 : _b.length) > 0) {
|
|
1547
|
+
const checkedIDs = [];
|
|
1548
|
+
this.value.forEach(item => {
|
|
1549
|
+
if (!item.items || item.items.length === 0) {
|
|
1550
|
+
checkedIDs.push(item.id);
|
|
1551
|
+
}
|
|
1552
|
+
});
|
|
1553
|
+
await this.addChecked(checkedIDs, false, false);
|
|
1554
|
+
}
|
|
1555
|
+
await this.handleIndeterminate((_c = this.value) === null || _c === void 0 ? void 0 : _c.length, this.totalData);
|
|
1556
|
+
await this.markForCheck();
|
|
1557
|
+
}
|
|
1558
|
+
async markForCheck() {
|
|
1559
|
+
await delay(10);
|
|
1560
|
+
this.tick = Generate.UID();
|
|
1561
|
+
}
|
|
1562
|
+
getOptions() {
|
|
1563
|
+
return snq(() => listState.getValue(this._id).options, {});
|
|
1564
|
+
}
|
|
1565
|
+
getItems() {
|
|
1566
|
+
if (this.isSelectedOther) {
|
|
1567
|
+
return this.returnFilterData['checkedItems'];
|
|
1568
|
+
}
|
|
1569
|
+
return snq(() => listState.getData(this._id), []);
|
|
1570
|
+
}
|
|
1571
|
+
getLimitedItems(ids) {
|
|
1572
|
+
return snq(() => listState.getDataPagination(this._id, this.searchResultLimit || this.limit, ids), []);
|
|
1573
|
+
}
|
|
1574
|
+
openGroup(parentId) {
|
|
1575
|
+
listState.openGroup(this._id, parentId);
|
|
1576
|
+
this.markForCheck();
|
|
1577
|
+
}
|
|
1578
|
+
focusItem(e) {
|
|
1579
|
+
if (e.target.classList.contains('bcm-list__item')) {
|
|
1580
|
+
const item = e.target;
|
|
1581
|
+
const list = document.getElementById(`bcm-list-${this._id}`);
|
|
1582
|
+
if (list) {
|
|
1583
|
+
const items = list.querySelectorAll('.bcm-list__item');
|
|
1584
|
+
if (items.length > 0) {
|
|
1585
|
+
const selectedItem = list.querySelector('.bcm-list__item.focused');
|
|
1586
|
+
if (selectedItem) {
|
|
1587
|
+
selectedItem.classList.remove('focused');
|
|
1588
|
+
}
|
|
1589
|
+
item.classList.add('focused');
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
async selectedItem(itemId) {
|
|
1595
|
+
var _a;
|
|
1596
|
+
if (!this.checkboxes) {
|
|
1597
|
+
this.value = listState.selectedItem(this._id, itemId) ? listState.selectedItem(this._id, itemId)[0] : null;
|
|
1598
|
+
this.inputText = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || null;
|
|
1599
|
+
this.isOpen = false;
|
|
1600
|
+
this.markForCheck();
|
|
1601
|
+
if (this.type == 'autocomplete' && this.value) {
|
|
1602
|
+
// await delay(100)
|
|
1603
|
+
// this.resetCaption()
|
|
1604
|
+
const autocompleteInput = this.getAutoCompleteInput();
|
|
1605
|
+
if (autocompleteInput) {
|
|
1606
|
+
setTimeout(() => {
|
|
1607
|
+
var _a;
|
|
1608
|
+
autocompleteInput.setValue(((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || '');
|
|
1609
|
+
this.isOpen = false;
|
|
1610
|
+
}, 100);
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
}
|
|
1614
|
+
return Promise.resolve(this.value);
|
|
1615
|
+
}
|
|
1616
|
+
async checkedItem(itemId) {
|
|
1617
|
+
const isCheckSelectAll = itemId === 'select-all';
|
|
1618
|
+
if (!isCheckSelectAll) {
|
|
1619
|
+
listState.checkedItem(this._id, itemId);
|
|
1620
|
+
}
|
|
1621
|
+
else {
|
|
1622
|
+
listState.selectAll(this._id, !this.selectAllItem.checked);
|
|
1623
|
+
}
|
|
1624
|
+
this.value = (await this.getCheckedList()).checkedList;
|
|
1625
|
+
this.changeVisibleCheckeds();
|
|
1626
|
+
this.markForCheck();
|
|
1627
|
+
}
|
|
1628
|
+
changeVisibleCheckeds() {
|
|
1629
|
+
const { visibledItems } = this.returnFilterData;
|
|
1630
|
+
this.returnFilterData = {
|
|
1631
|
+
visibledItems,
|
|
1632
|
+
checkedItems: (visibledItems && visibledItems.filter(item => item.checked)) || [],
|
|
1633
|
+
};
|
|
1634
|
+
}
|
|
1635
|
+
getAutoCompleteInput() {
|
|
1636
|
+
return document.getElementById(`bcm-list-input-tag-container-${this._id}-autocomplete-input`);
|
|
1637
|
+
}
|
|
1638
|
+
dataScrollEvent(event) {
|
|
1639
|
+
let count = 0;
|
|
1640
|
+
let io = new IntersectionObserver((data) => {
|
|
1641
|
+
if (count === 0) {
|
|
1642
|
+
count++;
|
|
1643
|
+
if (data[0].isIntersecting) {
|
|
1644
|
+
this.limit += 15;
|
|
1645
|
+
this.searchResultLimit += 15;
|
|
1646
|
+
io.disconnect();
|
|
1647
|
+
io = null;
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1650
|
+
}, this.options);
|
|
1651
|
+
io.observe(event.target.lastElementChild);
|
|
1652
|
+
}
|
|
1653
|
+
async calculateLocation() {
|
|
1654
|
+
var _a, _b;
|
|
1655
|
+
if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
|
|
1656
|
+
const list = document.getElementById(`bcm-list-${this._id}`);
|
|
1657
|
+
// list && (list.style.height = '256px') //sebebi neydi ki!
|
|
1658
|
+
var placement = this.placement;
|
|
1659
|
+
const targetElementId = this.linkedComponent ? this.linkedComponent : `bcm-list-input-${this._id}`;
|
|
1660
|
+
const targetElement = document.getElementById(targetElementId);
|
|
1661
|
+
if (list && targetElement) {
|
|
1662
|
+
getPlacement(list, targetElement, placement, (place) => (placement = place));
|
|
1663
|
+
await delay(10);
|
|
1664
|
+
let pos = setPosition(placement, targetElement);
|
|
1665
|
+
let captionAreaHeight = 0;
|
|
1666
|
+
let labelAreaHeight = 0;
|
|
1667
|
+
if (this.linkedComponent) {
|
|
1668
|
+
const linked = document.getElementById(this.linkedComponent);
|
|
1669
|
+
if (linked) {
|
|
1670
|
+
if (!linked['noCaption']) {
|
|
1671
|
+
const captionArea = ((_a = linked.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.bcm-caption-area')) || linked.querySelector('.bcm-caption-area');
|
|
1672
|
+
if (captionArea) {
|
|
1673
|
+
captionAreaHeight = captionArea.offsetHeight || captionArea.clientHeight;
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
const labelArea = ((_b = linked.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.bcm-label')) || linked.querySelector('.bcm-label');
|
|
1677
|
+
if (labelArea) {
|
|
1678
|
+
labelAreaHeight = labelArea.offsetHeight || labelArea.clientHeight;
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
if (this.fullWidth) {
|
|
1683
|
+
list.style.width = targetElement.offsetWidth + 'px';
|
|
1684
|
+
}
|
|
1685
|
+
else {
|
|
1686
|
+
list.style.width = this.width || 'auto';
|
|
1687
|
+
}
|
|
1688
|
+
if (this.height.indexOf('%') > -1) {
|
|
1689
|
+
list.style.height = NumberHelper.toNumber(this.height) * 0.01 * window.innerHeight - pos[0] - 50 + 'px';
|
|
1690
|
+
}
|
|
1691
|
+
else {
|
|
1692
|
+
list.style.height = this.height;
|
|
1693
|
+
}
|
|
1694
|
+
list.style.minHeight = this.minHeight;
|
|
1695
|
+
// const calculatedMaxHeight = window.innerHeight - pos[0] - 50;
|
|
1696
|
+
const calculatedMaxHeight = placement.split('-')[0] == 'top' ? window.innerHeight - (window.innerHeight - pos[0]) - 50 : window.innerHeight - pos[0] - 50;
|
|
1697
|
+
if (this.maxHeight.indexOf('%') > -1) {
|
|
1698
|
+
list.style.maxHeight = NumberHelper.toNumber(this.maxHeight) * 0.01 * calculatedMaxHeight + 'px';
|
|
1699
|
+
}
|
|
1700
|
+
else {
|
|
1701
|
+
list.style.maxHeight = NumberHelper.toNumber(this.maxHeight) < calculatedMaxHeight ? this.maxHeight : calculatedMaxHeight + 'px';
|
|
1702
|
+
}
|
|
1703
|
+
getPlacement(list, targetElement, placement, (place) => (placement = place));
|
|
1704
|
+
await delay(10);
|
|
1705
|
+
pos = setPosition(placement, targetElement);
|
|
1706
|
+
list.style.top = (placement.split('-')[0] == 'top' ? pos[0] - list.offsetHeight + labelAreaHeight : pos[0] - captionAreaHeight) + 'px';
|
|
1707
|
+
// list.style.left = pos[1] + 'px';
|
|
1708
|
+
list.style.left = placement.split('-')[1] == 'end' ? pos[1] - list.offsetWidth + 'px' : pos[1] + 'px';
|
|
1709
|
+
list.classList.toggle('bcm-list--top', placement.split('-')[0] == 'top');
|
|
1710
|
+
this.calculatedViewport = true;
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
render() {
|
|
1715
|
+
const { checkboxes, treeview, label, size, disabled, readonly, required, hidden, fullWidth, searchable } = this.getOptions();
|
|
1716
|
+
const hostClasses = classnames('bcm-list', `bcm-list__size-${size}`, `bcm-list__${this.type}`, size === 'large' ? 'size-3' : 'size-2', {
|
|
1717
|
+
'error': this.captionType == Bcm$1.Status.error,
|
|
1718
|
+
'full-width': fullWidth,
|
|
1719
|
+
'bcm-list__linked': this.linkedComponent,
|
|
1720
|
+
hidden,
|
|
1721
|
+
readonly,
|
|
1722
|
+
disabled,
|
|
1723
|
+
});
|
|
1724
|
+
const bcmListContainer = classnames('bcm-list__container', this.linkedComponent ? 'bcm-list__type-linked-component' : `bcm-list__type-${this.type}`, {
|
|
1725
|
+
'is-open': this.isOpen && this.calculatedViewport,
|
|
1726
|
+
'error': this.captionType == Bcm$1.Status.error,
|
|
1727
|
+
'full-width': fullWidth,
|
|
1728
|
+
hidden,
|
|
1729
|
+
readonly,
|
|
1730
|
+
disabled,
|
|
1731
|
+
});
|
|
1732
|
+
const bcmListInput = classnames('bcm-list__input');
|
|
1733
|
+
const openedType = this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent;
|
|
1734
|
+
return (h(Host, { class: hostClasses, tabindex: "0", style: {
|
|
1735
|
+
'--width': fullWidth ? '100%' : this.width,
|
|
1736
|
+
'--height': openedType ? '100%' : this.height,
|
|
1737
|
+
'--max-height': openedType ? 'inherit' : this.maxHeight,
|
|
1738
|
+
'--min-height': openedType ? 'inherit' : this.minHeight,
|
|
1739
|
+
} }, h("div", { id: `bcm-list-label-${this._id}`, class: "bcm-list__label" }, label && (h("div", null, h(LabelTemplate, { size: this.size, type: this.captionType, value: label, required: required, htmlFor: this._id })))), this.type == 'select' && (h("div", { id: `bcm-list-input-${this._id}`, class: bcmListInput }, h("span", { class: classnames('bcm-list__input-container', { 'type-single': !checkboxes, 'value-empty': !this.value }) }, this.checkboxes && h("span", { id: `bcm-list-input-tag-container-${this._id}`, class: "bcm-list__input-tag-container" }), this.checkboxes && !this.value && h("span", { class: "bcm-list__input-placeholder" }, this.placeholder), !this.checkboxes && (this.value ? this.inputText : h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))), h("span", { class: classnames('bcm-list__input-buttons', {
|
|
1740
|
+
disabled: disabled,
|
|
1741
|
+
}) }, this.clearable && this.value && (h("div", { class: "bcm-list__input-buttons-button" }, h("bcm-icon", { icon: "fal fa-times", onClick: e => !disabled && this.setClear(e) }))), h("div", { class: `bcm-list__input-buttons-button caret-is ${this.isOpen && this.calculatedViewport && 'caret-is-open'}` }, h("bcm-icon", { icon: `far fa-angle-down` }))))), this.type === 'autocomplete' && (h("div", { id: `bcm-list-input-${this._id}`, class: classnames(bcmListInput, { 'bcm-list__input-autocomplete': this.type == 'autocomplete' }) }, h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` }, this.checkboxes && h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }), h("bcm-search", { id: `bcm-list-input-tag-container-${this._id}-autocomplete-input`, class: "bcm-list__autocomplete", data: this.data, clearable: true, "full-width": true, "no-caption": true, placeholder: this.placeholder })))), h(ListTemplate, { highlight: this.highlightText, searchable: this.type == 'autocomplete' ? false : searchable, bcmListContainer: bcmListContainer, checkboxes: checkboxes, treeview: treeview, infoFooter: this.infoFooter, value: this.value, totalData: this.totalData, searchFound: this.searchFound, variableText: this.variableText, searchPlaceholder: this.searchPlaceholder, searchIsOnlyChilds: this.searchIsOnlyChilds, _id: this._id, checkAll: this.checkAll, data: this.getItems(), width: this.width, height: this.height, size: this.size, selectAllItem: this.selectAllItem, onScrollEvent: e => this.dataScrollEvent(e), items: this.getLimitedItems(this.searchGetParents), selectedItem: itemId => this.selectedItem(itemId), checkedItem: itemId => this.checkedItem(itemId), openGroup: parentId => this.openGroup(parentId), focusItem: itemId => this.focusItem(itemId), emptyText: this.emptyText, emptyIcon: this.emptyIcon }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
|
|
1742
|
+
}
|
|
1743
|
+
get el() { return getElement(this); }
|
|
1744
|
+
static get watchers() { return {
|
|
1745
|
+
"_id": ["watchId"],
|
|
1746
|
+
"value": ["handleValueChange"],
|
|
1747
|
+
"returnFilterData": ["watchReturnFilterData"],
|
|
1748
|
+
"isSelectedOther": ["handleOtherSelected"],
|
|
1749
|
+
"isOpen": ["handleOpen"],
|
|
1750
|
+
"data": ["dataChanged"]
|
|
1751
|
+
}; }
|
|
1752
|
+
};
|
|
1753
|
+
__decorate([
|
|
1754
|
+
IsLoad()
|
|
1755
|
+
], BcmList.prototype, "el", void 0);
|
|
1756
|
+
__decorate([
|
|
1757
|
+
JsonParse('data')
|
|
1758
|
+
], BcmList.prototype, "data", void 0);
|
|
1759
|
+
__decorate([
|
|
1760
|
+
JsonParse('data', true)
|
|
1761
|
+
], BcmList.prototype, "dataChanged", null);
|
|
1762
|
+
BcmList.style = listCss;
|
|
1763
|
+
|
|
1764
|
+
export { BcmList as bcm_list };
|