bromcom-ui 2.10.1-rc.0 → 2.10.1-rc.10
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-000670b6.js +5 -0
- package/dist/bromcom-ui/{p-401a6ab5.entry.js → p-073d177e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fa08ba52.entry.js → p-07e9b5e7.entry.js} +1 -1
- package/dist/bromcom-ui/p-0fc73cca.entry.js +5 -0
- package/dist/bromcom-ui/{p-fcc6f71e.js → p-125d6ed0.js} +1 -1
- package/dist/bromcom-ui/{p-4438d629.entry.js → p-14cafd64.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6b5ed4d8.js → p-157359d6.js} +1 -1
- package/dist/bromcom-ui/{p-05bd4980.entry.js → p-16450a8b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e037ee2b.js → p-170cf07d.js} +1 -1
- package/dist/bromcom-ui/{p-3bae35e5.entry.js → p-175eb1c7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7c94a7b0.entry.js → p-17c0a72a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-51ba92e5.entry.js → p-17eb0140.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5a97d31c.entry.js → p-18d28737.entry.js} +1 -1
- package/dist/bromcom-ui/{p-08159d00.entry.js → p-19f27bd8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-95a2c489.entry.js → p-1c801d0c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e32ab4da.entry.js → p-1c9314bd.entry.js} +1 -1
- package/dist/bromcom-ui/p-1f5ca41b.entry.js +5 -0
- package/dist/bromcom-ui/p-21cb3cfe.entry.js +5 -0
- package/dist/bromcom-ui/p-228c74e9.entry.js +5 -0
- package/dist/bromcom-ui/{p-1d04942a.entry.js → p-23eb79ac.entry.js} +1 -1
- package/dist/bromcom-ui/{p-18bc4e04.entry.js → p-26290ed5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-188b9079.entry.js → p-2aaeb247.entry.js} +1 -1
- package/dist/bromcom-ui/{p-552dfb63.entry.js → p-2d965b60.entry.js} +1 -1
- package/dist/bromcom-ui/p-32d93221.entry.js +21 -0
- package/dist/bromcom-ui/p-33513345.entry.js +5 -0
- package/dist/bromcom-ui/{p-61ad661f.entry.js → p-3b5c36e8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dca22282.entry.js → p-3f127ea5.entry.js} +1 -1
- package/dist/bromcom-ui/p-40b85b9b.entry.js +5 -0
- package/dist/bromcom-ui/{p-2ce15cc8.entry.js → p-424b7562.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0efc9196.entry.js → p-430c0a24.entry.js} +1 -1
- package/dist/bromcom-ui/{p-da20e681.entry.js → p-43a1f84c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c851688d.entry.js → p-4e436468.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6e5f5f36.js → p-518b9b80.js} +1 -1
- package/dist/bromcom-ui/{p-be6595a2.entry.js → p-51b6a14a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-32fd9854.js → p-52b7fc24.js} +1 -1
- package/dist/bromcom-ui/p-56187d14.entry.js +5 -0
- package/dist/bromcom-ui/{p-468157a0.entry.js → p-5699f67d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d4755f0d.entry.js → p-58d5775f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dd1a0284.entry.js → p-594953e7.entry.js} +1 -1
- package/dist/bromcom-ui/p-5b96272e.entry.js +5 -0
- package/dist/bromcom-ui/{p-21fed956.entry.js → p-5bf620b2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4d8067b9.entry.js → p-5c671967.entry.js} +1 -1
- package/dist/bromcom-ui/{p-599889d7.entry.js → p-5fc49f6f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-00e1c9bb.entry.js → p-60a12878.entry.js} +1 -1
- package/dist/bromcom-ui/p-61314a43.js +5 -0
- package/dist/bromcom-ui/{p-5dd45752.entry.js → p-6153f889.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4798d827.js → p-61db1f1f.js} +1 -1
- package/dist/bromcom-ui/{p-7a89243a.entry.js → p-626b805d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a313fba6.js → p-6369b73b.js} +1 -1
- package/dist/bromcom-ui/{p-6660ba14.entry.js → p-643a09b4.entry.js} +1 -1
- package/dist/bromcom-ui/p-64999c43.entry.js +5 -0
- package/dist/bromcom-ui/p-64fad38b.js +11 -0
- package/dist/bromcom-ui/{p-3b079331.entry.js → p-67343ad8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-48f5a3c9.entry.js → p-69260d36.entry.js} +1 -1
- package/dist/bromcom-ui/{p-034bbcdd.js → p-6edf985f.js} +1 -1
- package/dist/bromcom-ui/{p-197aba37.js → p-74e6d2b6.js} +1 -1
- package/dist/bromcom-ui/{p-47df8e77.entry.js → p-79712823.entry.js} +1 -1
- package/dist/bromcom-ui/{p-03337609.entry.js → p-7c5763cc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-181f2f4a.entry.js → p-7d18ce0e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ddb6f31a.entry.js → p-7e2da99e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
- package/dist/bromcom-ui/{p-0db33506.entry.js → p-841f2b60.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e45c1546.js → p-85eedabc.js} +1 -1
- package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
- package/dist/bromcom-ui/{p-ab3cd547.entry.js → p-8c3a6509.entry.js} +1 -1
- package/dist/bromcom-ui/p-8c610886.js +5 -0
- package/dist/bromcom-ui/{p-5efc5c02.entry.js → p-8e772077.entry.js} +1 -1
- package/dist/bromcom-ui/{p-61334720.entry.js → p-8fbdb72f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-91623d42.entry.js → p-910c935f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8e5e362a.js → p-9850cbce.js} +1 -1
- package/dist/bromcom-ui/{p-f9119bec.entry.js → p-99824717.entry.js} +1 -1
- package/dist/bromcom-ui/p-9ac757e9.entry.js +5 -0
- package/dist/bromcom-ui/{p-d345d37b.entry.js → p-9da1d897.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d3bd9ee0.entry.js → p-9f1e6daa.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cd724916.js → p-a1477028.js} +1 -1
- package/dist/bromcom-ui/p-a25c8a55.js +5 -0
- package/dist/bromcom-ui/{p-0207059a.js → p-a58b2664.js} +1 -1
- package/dist/bromcom-ui/{p-1a33d7a3.entry.js → p-a664cc20.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8fa5700a.entry.js → p-a835bff0.entry.js} +1 -1
- package/dist/bromcom-ui/p-a889681e.entry.js +5 -0
- package/dist/bromcom-ui/{p-1ba21e9c.entry.js → p-aab72ea1.entry.js} +1 -1
- package/dist/bromcom-ui/p-abc44b58.entry.js +5 -0
- package/dist/bromcom-ui/p-ae57f046.entry.js +5 -0
- package/dist/bromcom-ui/{p-035c6dbc.entry.js → p-afde516e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6e7bb16f.entry.js → p-ba9eff2a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-107f11df.entry.js → p-c1a992e7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0c8abcd8.entry.js → p-c977ed98.entry.js} +1 -1
- package/dist/bromcom-ui/p-cfd52d5f.entry.js +5 -0
- package/dist/bromcom-ui/{p-63138ee5.entry.js → p-d551a51d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f9988c3c.entry.js → p-da5fdda2.entry.js} +1 -1
- package/dist/bromcom-ui/p-e19a8e73.entry.js +5 -0
- package/dist/bromcom-ui/{p-4542066c.js → p-e2aaaece.js} +1 -1
- package/dist/bromcom-ui/{p-a42879c1.entry.js → p-e6faa2bb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-751baf81.entry.js → p-ec36f5a0.entry.js} +1 -1
- package/dist/bromcom-ui/p-ec992ac3.entry.js +5 -0
- package/dist/bromcom-ui/{p-f4576a4f.entry.js → p-ecd8d70f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4d7ea23c.entry.js → p-ece578ef.entry.js} +1 -1
- package/dist/bromcom-ui/p-edbdd7dd.js +5 -0
- package/dist/bromcom-ui/{p-daa45693.entry.js → p-f077a1d7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-704352eb.entry.js → p-f2776268.entry.js} +1 -1
- package/dist/bromcom-ui/p-f800e665.js +5 -0
- package/dist/bromcom-ui/{p-2d59be96.js → p-f83b3048.js} +1 -1
- package/dist/bromcom-ui/{p-c39f002b.js → p-fed84581.js} +1 -1
- package/dist/bromcom-ui/{p-1e8559ac.entry.js → p-fff1a0f9.entry.js} +1 -1
- package/dist/cjs/{bcm-489c9b1a.js → bcm-3c58a6d5.js} +28 -28
- package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
- package/dist/cjs/bcm-alert.cjs.entry.js +4 -4
- package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +6 -6
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bcm-button-group.cjs.entry.js +4 -4
- package/dist/cjs/bcm-button_15.cjs.entry.js +37832 -0
- package/dist/cjs/bcm-caption.cjs.entry.js +47 -0
- package/dist/cjs/bcm-card.cjs.entry.js +5 -5
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +20 -22
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +3 -3
- package/dist/cjs/bcm-chip-group.cjs.entry.js +8 -9
- package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
- package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
- package/dist/cjs/bcm-color-input.cjs.entry.js +6 -6
- package/dist/cjs/bcm-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +7 -8
- package/dist/cjs/bcm-default.cjs.entry.js +2 -2
- package/dist/cjs/bcm-drawer.cjs.entry.js +6 -6
- package/dist/cjs/bcm-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +4 -4
- package/dist/cjs/bcm-form-2.cjs.entry.js +4 -4
- package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +10 -10
- package/dist/cjs/bcm-item.cjs.entry.js +3 -3
- package/dist/cjs/bcm-items.cjs.entry.js +4 -4
- package/dist/cjs/bcm-link.cjs.entry.js +1 -1
- package/dist/cjs/bcm-menu.cjs.entry.js +8 -8
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal.cjs.entry.js +5 -5
- package/dist/cjs/bcm-number-input.cjs.entry.js +109 -0
- package/dist/cjs/bcm-old-input.cjs.entry.js +2 -2
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +5 -5
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +3 -3
- package/dist/cjs/bcm-popover.cjs.entry.js +7 -7
- package/dist/cjs/bcm-progress.cjs.entry.js +3 -3
- package/dist/cjs/bcm-radio-group.cjs.entry.js +7 -7
- package/dist/cjs/bcm-radio.cjs.entry.js +6 -6
- package/dist/cjs/bcm-range.cjs.entry.js +3 -3
- package/dist/cjs/bcm-select.cjs.entry.js +2 -2
- package/dist/cjs/bcm-shortcut.cjs.entry.js +6 -6
- package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
- package/dist/cjs/bcm-step.cjs.entry.js +3 -3
- package/dist/cjs/bcm-stepper.cjs.entry.js +7 -7
- package/dist/cjs/bcm-tab-group.cjs.entry.js +6 -6
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +6 -6
- package/dist/cjs/bcm-tab-item.cjs.entry.js +6 -6
- package/dist/cjs/bcm-table.cjs.entry.js +6 -6
- package/dist/cjs/bcm-tag.cjs.entry.js +4 -4
- package/dist/cjs/bcm-text.cjs.entry.js +3 -3
- package/dist/cjs/bcm-textarea.cjs.entry.js +6 -6
- package/dist/cjs/bcm-time-picker.cjs.entry.js +3 -3
- package/dist/cjs/bcm-toast.cjs.entry.js +4 -4
- package/dist/cjs/bcm-typography.cjs.entry.js +21 -0
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/caption-template-6f535b93.js +32 -0
- package/dist/cjs/{floating-ui-21890d11.js → floating-ui-555cd3d4.js} +1 -1
- package/dist/cjs/{generate-e214b3de.js → generate-c3a6c8c7.js} +15 -1
- package/dist/cjs/{global-532b40dc.js → global-9e8b5009.js} +1 -1
- package/dist/cjs/{input-template-2b8e0195.js → input-template-8eeb94e7.js} +2 -2
- package/dist/cjs/{json-parse-decarator-668b7724.js → json-parse-decarator-0932bec0.js} +1 -1
- package/dist/cjs/label-template-a6f51ef2.js +27 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{number-helper-3a911c0f.js → number-helper-4e902d31.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
- package/dist/cjs/old-bcm-popover.cjs.entry.js +3 -3
- package/dist/cjs/{package-f9f70acc.js → package-b23f7b7f.js} +1 -1
- package/dist/cjs/{popover-placement-e7d6eabd.js → popover-placement-9b4b4153.js} +1 -1
- package/dist/cjs/{slot-template-c8e2816c.js → slot-template-80b019d5.js} +1 -1
- package/dist/cjs/{stepper-states-7d2f2235.js → stepper-states-cb2339c3.js} +1 -1
- package/dist/cjs/{string-helper-f9184277.js → string-helper-3212f4ea.js} +1 -1
- package/dist/cjs/{tooltip-helper-410ac258.js → tooltip-helper-4ddec3b4.js} +6 -6
- package/dist/cjs/{validators-910556c5.js → validators-e2155072.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/atoms/caption/caption.js +195 -0
- package/dist/collection/components/atoms/label/label.js +48 -29
- package/dist/collection/components/molecules/checkbox/checkbox.css +0 -89
- package/dist/collection/components/molecules/input/input.css +0 -89
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.css +0 -89
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +1 -1
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.style.js +1 -1
- package/dist/collection/components/{atoms/label/label.css → molecules/number-input/number-input.css} +12 -33
- package/dist/collection/components/molecules/number-input/number-input.js +425 -0
- package/dist/collection/components/molecules/number-input/number-input.style.js +45 -0
- package/dist/collection/components/molecules/search/search.css +0 -89
- package/dist/collection/components/molecules/switch/switch.css +1 -89
- package/dist/collection/components/molecules/textarea/textarea.css +0 -89
- package/dist/collection/components/organism/datetime-picker/datetime-picker.css +0 -89
- package/dist/collection/components/organism/list/list.css +2 -89
- package/dist/collection/components/organism/list/list.js +83 -15
- package/dist/collection/components/other_deprecated/old-input/old-input.css +0 -89
- package/dist/collection/components/third-parts/colorful/colorful.css +0 -89
- package/dist/collection/components/third-parts/rc-picker/date.js +7 -5
- package/dist/collection/components/third-parts/rc-picker/rc-picker.css +1 -376
- package/dist/collection/components/third-parts/rc-picker/rc-picker.js +3 -16
- package/dist/collection/helper/generate.js +14 -0
- package/dist/collection/models/bcm.js +28 -28
- package/dist/collection/stories/ui-library/components/date/argTypes_common.js +203 -0
- package/dist/collection/stories/ui-library/components/date/argTypes_date.js +47 -0
- package/dist/collection/stories/ui-library/components/date/argTypes_datetime.js +109 -0
- package/dist/collection/stories/ui-library/components/date/argTypes_time.js +91 -0
- package/dist/collection/templates/caption-template.js +15 -11
- package/dist/collection/templates/label-template.js +9 -7
- package/dist/collection/templates/list-item-template.js +3 -2
- package/dist/collection/templates/list-template.js +2 -2
- package/dist/components/bcm-caption.d.ts +11 -0
- package/dist/components/bcm-caption.js +64 -0
- package/dist/components/bcm-checkbox-group.js +7 -8
- package/dist/components/bcm-chip-group.js +1 -2
- package/dist/components/bcm-date.js +26 -7
- package/dist/components/bcm-input-dropdown.js +3 -3
- package/dist/components/bcm-number-input.d.ts +11 -0
- package/dist/components/bcm-number-input.js +157 -0
- package/dist/components/bcm-switch.js +1 -1
- package/dist/components/bcm.js +28 -28
- package/dist/components/caption-template.js +15 -17
- package/dist/components/checkbox.js +1 -1
- package/dist/components/colorful.js +1 -1
- package/dist/components/datetime-picker.js +2 -3
- package/dist/components/generate.js +15 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/input.js +1 -1
- package/dist/components/label.js +46 -20
- package/dist/components/list.js +49 -18
- package/dist/components/old-input.js +1 -1
- package/dist/components/rc-picker.js +4 -17
- package/dist/components/search.js +1 -1
- package/dist/components/textarea.js +1 -1
- package/dist/esm/{_commonjsHelpers-be0d4ec8.js → _commonjsHelpers-7002e5de.js} +1 -1
- package/dist/esm/{bcm-a50d55ba.js → bcm-0f9cc27c.js} +28 -28
- package/dist/esm/bcm-accordion.entry.js +5 -5
- package/dist/esm/bcm-alert.entry.js +9 -9
- package/dist/esm/bcm-attendance.entry.js +5 -5
- package/dist/esm/bcm-autocomplete.entry.js +3 -3
- package/dist/esm/bcm-avatar_2.entry.js +12 -12
- package/dist/esm/bcm-box.entry.js +1 -1
- package/dist/esm/bcm-breadcrumb.entry.js +6 -6
- package/dist/esm/bcm-button-group.entry.js +8 -8
- package/dist/esm/bcm-button_15.entry.js +37814 -0
- package/dist/esm/bcm-caption.entry.js +43 -0
- package/dist/esm/bcm-card.entry.js +11 -11
- package/dist/esm/bcm-checkbox-group.entry.js +17 -19
- package/dist/esm/bcm-checkbox-lite_9.entry.js +8 -8
- package/dist/esm/bcm-chip-group.entry.js +15 -16
- package/dist/esm/bcm-chip.entry.js +8 -8
- package/dist/esm/bcm-collapse-group.entry.js +2 -2
- package/dist/esm/bcm-collapse.entry.js +6 -6
- package/dist/esm/bcm-color-input.entry.js +12 -12
- package/dist/esm/bcm-colorpicker.entry.js +5 -5
- package/dist/esm/bcm-content.entry.js +1 -1
- package/dist/esm/bcm-date-picker.entry.js +9 -9
- package/dist/esm/bcm-datetime-picker.entry.js +14 -15
- package/dist/esm/bcm-default.entry.js +5 -5
- package/dist/esm/bcm-drawer.entry.js +13 -13
- package/dist/esm/bcm-dropdown.entry.js +9 -9
- package/dist/esm/bcm-error-layout.entry.js +3 -3
- package/dist/esm/bcm-expansion-panel.entry.js +10 -10
- package/dist/esm/bcm-form-2.entry.js +8 -8
- package/dist/esm/bcm-form-group.entry.js +1 -1
- package/dist/esm/bcm-input-custom.entry.js +6 -6
- package/dist/esm/bcm-input-dropdown.entry.js +17 -17
- package/dist/esm/bcm-item.entry.js +9 -9
- package/dist/esm/bcm-items.entry.js +7 -7
- package/dist/esm/bcm-link.entry.js +4 -4
- package/dist/esm/bcm-menu.entry.js +16 -16
- package/dist/esm/bcm-message.entry.js +3 -3
- package/dist/esm/bcm-modal-2-footer.entry.js +13 -13
- package/dist/esm/bcm-modal-2-header.entry.js +12 -12
- package/dist/esm/bcm-modal-2.entry.js +13 -13
- package/dist/esm/bcm-modal.entry.js +9 -9
- package/dist/esm/bcm-notification.entry.js +3 -3
- package/dist/esm/bcm-number-input.entry.js +105 -0
- package/dist/esm/bcm-old-input.entry.js +6 -6
- package/dist/esm/bcm-old-tag_2.entry.js +4 -4
- package/dist/esm/bcm-overlay_2.entry.js +4 -4
- package/dist/esm/bcm-popconfirm-box.entry.js +11 -11
- package/dist/esm/bcm-popconfirm.entry.js +7 -7
- package/dist/esm/bcm-popover.entry.js +13 -13
- package/dist/esm/bcm-progress.entry.js +9 -9
- package/dist/esm/bcm-radio-group.entry.js +15 -15
- package/dist/esm/bcm-radio.entry.js +13 -13
- package/dist/esm/bcm-range.entry.js +8 -8
- package/dist/esm/bcm-result.entry.js +3 -3
- package/dist/esm/bcm-select-group.entry.js +3 -3
- package/dist/esm/bcm-select-option.entry.js +3 -3
- package/dist/esm/bcm-select.entry.js +6 -6
- package/dist/esm/bcm-shortcut.entry.js +13 -13
- package/dist/esm/bcm-skeleton.entry.js +12 -12
- package/dist/esm/bcm-step.entry.js +8 -8
- package/dist/esm/bcm-stepper.entry.js +15 -15
- package/dist/esm/bcm-tab-group.entry.js +12 -12
- package/dist/esm/bcm-tab-item-header.entry.js +13 -13
- package/dist/esm/bcm-tab-item.entry.js +12 -12
- package/dist/esm/bcm-tab-pane.entry.js +3 -3
- package/dist/esm/bcm-tab.entry.js +3 -3
- package/dist/esm/bcm-table.entry.js +13 -13
- package/dist/esm/bcm-tabs-content.entry.js +4 -4
- package/dist/esm/bcm-tabs.entry.js +4 -4
- package/dist/esm/bcm-tag.entry.js +9 -9
- package/dist/esm/bcm-text.entry.js +9 -9
- package/dist/esm/bcm-textarea.entry.js +12 -12
- package/dist/esm/bcm-time-picker.entry.js +9 -9
- package/dist/esm/bcm-timeline-item.entry.js +3 -3
- package/dist/esm/bcm-timeline.entry.js +3 -3
- package/dist/esm/bcm-toast.entry.js +9 -9
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bcm-typography.entry.js +17 -0
- package/dist/esm/bromcom-ui.js +5 -5
- package/dist/esm/caption-template-0c32ce16.js +30 -0
- package/dist/esm/{color-helper-c4fa9ebc.js → color-helper-845ba523.js} +2 -2
- package/dist/esm/{colors-e1c31f79.js → colors-ebea297f.js} +1 -1
- package/dist/esm/{element-dragger-7ea06c76.js → element-dragger-89bb52fd.js} +1 -1
- package/dist/esm/{floating-ui-3f4394da.js → floating-ui-a4e67246.js} +1 -1
- package/dist/esm/{generate-7d1e216b.js → generate-80f589b2.js} +16 -2
- package/dist/esm/{global-34d95eec.js → global-9afe304c.js} +2 -2
- package/dist/esm/{index-b84bc8c9.js → index-00c8a8f7.js} +1 -1
- package/dist/esm/{index-4614b7f0.js → index-0615c2b8.js} +1 -1
- package/dist/esm/{index-f38e3364.js → index-7e71bbc8.js} +1 -1
- package/dist/esm/{input-template-1df1e8d3.js → input-template-a5d07ba6.js} +4 -4
- package/dist/esm/{is-load-decorator-b8ca22f2.js → is-load-decorator-8277e3b8.js} +1 -1
- package/dist/esm/{json-parse-decarator-19a0db7a.js → json-parse-decarator-5195f510.js} +2 -2
- package/dist/esm/label-template-ad2e8119.js +25 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{number-helper-a5eab393.js → number-helper-aeb5881f.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +13 -13
- package/dist/esm/old-bcm-popover.entry.js +7 -7
- package/dist/esm/{package-e0577fef.js → package-5e39e390.js} +1 -1
- package/dist/esm/{popover-placement-2f5939ea.js → popover-placement-279ce860.js} +1 -1
- package/dist/esm/{slot-template-08ed1fe4.js → slot-template-9234df88.js} +2 -2
- package/dist/esm/{stepper-states-10d7b726.js → stepper-states-97a648ff.js} +3 -3
- package/dist/esm/{string-helper-85990695.js → string-helper-8f5da9ec.js} +2 -2
- package/dist/esm/{tooltip-helper-59b661f8.js → tooltip-helper-d339c58a.js} +9 -9
- package/dist/esm/{utils-b3338faf.js → utils-57652744.js} +1 -1
- package/dist/esm/{validators-7979c137.js → validators-b5e106d5.js} +1 -1
- package/dist/types/components/atoms/caption/caption.d.ts +14 -0
- package/dist/types/components/atoms/label/label.d.ts +3 -3
- package/dist/types/components/molecules/number-input/number-input.d.ts +29 -0
- package/dist/types/components/molecules/number-input/number-input.style.d.ts +200 -0
- package/dist/types/components/organism/list/list.d.ts +5 -1
- package/dist/types/components.d.ts +90 -7
- package/dist/types/helper/generate.d.ts +3 -0
- package/dist/types/models/bcm.d.ts +3 -0
- package/dist/types/templates/caption-template.d.ts +1 -1
- package/dist/types/templates/label-template.d.ts +2 -1
- package/dist/types/templates/list-template.d.ts +1 -0
- package/package.json +2 -2
- package/dist/bromcom-ui/p-036877be.entry.js +0 -5
- package/dist/bromcom-ui/p-0d2b8bc4.entry.js +0 -5
- package/dist/bromcom-ui/p-1daf0fe1.entry.js +0 -5
- package/dist/bromcom-ui/p-2a5d176d.js +0 -5
- package/dist/bromcom-ui/p-2cbda5aa.entry.js +0 -5
- package/dist/bromcom-ui/p-3182df7e.js +0 -10
- package/dist/bromcom-ui/p-32df2233.js +0 -5
- package/dist/bromcom-ui/p-3ccb15ef.entry.js +0 -5
- package/dist/bromcom-ui/p-4213ba24.js +0 -5
- package/dist/bromcom-ui/p-43598b88.entry.js +0 -5
- package/dist/bromcom-ui/p-4a7c2381.entry.js +0 -5
- package/dist/bromcom-ui/p-5ea9881d.entry.js +0 -5
- package/dist/bromcom-ui/p-64ddda1d.entry.js +0 -5
- package/dist/bromcom-ui/p-6d0a02d7.entry.js +0 -5
- package/dist/bromcom-ui/p-6f11eb8e.entry.js +0 -5
- package/dist/bromcom-ui/p-76edf59f.js +0 -7
- package/dist/bromcom-ui/p-77035c08.entry.js +0 -5
- package/dist/bromcom-ui/p-7a4cc259.js +0 -5
- package/dist/bromcom-ui/p-7e3209a0.js +0 -14
- package/dist/bromcom-ui/p-8291e20e.js +0 -5
- package/dist/bromcom-ui/p-82a5033e.js +0 -5
- package/dist/bromcom-ui/p-85d8092e.entry.js +0 -5
- package/dist/bromcom-ui/p-8fbc35e7.entry.js +0 -5
- package/dist/bromcom-ui/p-903cbe6a.entry.js +0 -5
- package/dist/bromcom-ui/p-9339510a.entry.js +0 -5
- package/dist/bromcom-ui/p-94a8408e.entry.js +0 -5
- package/dist/bromcom-ui/p-a0909a04.entry.js +0 -5
- package/dist/bromcom-ui/p-b1a70ec2.entry.js +0 -5
- package/dist/bromcom-ui/p-ba315064.entry.js +0 -5
- package/dist/bromcom-ui/p-bb739bf8.entry.js +0 -5
- package/dist/bromcom-ui/p-bed627ab.js +0 -11
- package/dist/bromcom-ui/p-ec90b2c7.entry.js +0 -5
- package/dist/bromcom-ui/p-fce1d13c.entry.js +0 -5
- package/dist/bromcom-ui/p-ff5acf88.entry.js +0 -5
- package/dist/cjs/bcm-button.cjs.entry.js +0 -372
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -194
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +0 -17624
- package/dist/cjs/bcm-date.cjs.entry.js +0 -182
- package/dist/cjs/bcm-form.cjs.entry.js +0 -489
- package/dist/cjs/bcm-icon.cjs.entry.js +0 -39
- package/dist/cjs/bcm-label_2.cjs.entry.js +0 -126
- package/dist/cjs/bcm-linked.cjs.entry.js +0 -219
- package/dist/cjs/bcm-list_3.cjs.entry.js +0 -2516
- package/dist/cjs/bcm-rc-picker.cjs.entry.js +0 -9404
- package/dist/cjs/bcm-switch.cjs.entry.js +0 -151
- package/dist/cjs/caption-template-81dbc490.js +0 -34
- package/dist/cjs/index-3d67f613.js +0 -1610
- package/dist/cjs/index-e05a7c6f.js +0 -545
- package/dist/cjs/label-template-d9bee58a.js +0 -23
- package/dist/cjs/moment-d06b012f.js +0 -4601
- package/dist/components/label-template.js +0 -21
- package/dist/esm/bcm-button.entry.js +0 -368
- package/dist/esm/bcm-checkbox_2.entry.js +0 -189
- package/dist/esm/bcm-colorful_2.entry.js +0 -17619
- package/dist/esm/bcm-date.entry.js +0 -178
- package/dist/esm/bcm-form.entry.js +0 -485
- package/dist/esm/bcm-icon.entry.js +0 -35
- package/dist/esm/bcm-label_2.entry.js +0 -121
- package/dist/esm/bcm-linked.entry.js +0 -215
- package/dist/esm/bcm-list_3.entry.js +0 -2510
- package/dist/esm/bcm-rc-picker.entry.js +0 -9400
- package/dist/esm/bcm-switch.entry.js +0 -147
- package/dist/esm/caption-template-a1a968fd.js +0 -32
- package/dist/esm/index-a6d9d0af.js +0 -541
- package/dist/esm/index-c4568336.js +0 -1594
- package/dist/esm/label-template-639fcd41.js +0 -21
- package/dist/esm/moment-15cd9198.js +0 -4598
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r,h as s,H as t,g as
|
|
5
|
+
import{r,h as s,H as t,g as o}from"./p-170cf07d.js";const e=class{constructor(s){r(this,s)}render(){return s(t,null,s("slot",null))}get el(){return o(this)}};export{e as bcm_box}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r as e,h as i,H as t}from"./p-
|
|
5
|
+
import{r as e,h as i,H as t}from"./p-170cf07d.js";import{c as p}from"./p-64fad38b.js";import"./p-85eedabc.js";const s=class{constructor(i){e(this,i),this.heading=void 0,this.visible=!0,this.hidden=!1}render(){const e=p("group",{visible:this.visible}),s=p(this.hidden?"hidden":null);return i(t,{class:s},i("div",{class:e},i("span",{class:"group-title size-1"}," ",this.heading," "),i("slot",null)))}};s.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.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}:host{display:block}:host(.hidden){display:none}.group{display:none}.group.visible{display:block}.group-title{color:var(--bcm-color-grey-7);padding:4px 8px;display:block}';export{s as bcm_select_group}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r as i,c as t,h as e,H as s,g as h}from"./p-
|
|
5
|
+
import{r as i,c as t,h as e,H as s,g as h}from"./p-170cf07d.js";import{c as p}from"./p-64fad38b.js";import{G as n}from"./p-8c610886.js";import{B as o}from"./p-6369b73b.js";import"./p-85eedabc.js";import"./p-a58b2664.js";import"./p-6edf985f.js";const a=class{constructor(e){i(this,e),this.onShow=t(this,"bcm-show",7),this.onHide=t(this,"bcm-hide",7),this.onConfirm=t(this,"bcm-confirm",7),this.onCancel=t(this,"bcm-cancel",7),this._id=n.UID(),this.message=void 0,this.status="warning",this.cancelText="No",this.okeyText="Yes",this.placement=o.Placement.top,this.trigger=o.TriggerType.click,this.open=!1,this.hidden=!1}async show(){this.open=!0,this.onShow.emit(),await this.createBox().then((()=>this.showBox()))}async hide(){this.open=!1,this.onHide.emit()}async createBox(){if(!this.getPopconfirmBox()){const i=document.createElement("bcm-popconfirm-box");i.setAttribute("id","box-"+this._id),i.setAttribute("target-id",this._id),i.setAttribute("placement",this.placement),i.setAttribute("message",this.message),i.setAttribute("status",this.status),i.setAttribute("cancel-text",this.cancelText),i.setAttribute("okey-text",this.okeyText),this.el.parentElement.appendChild(i)}return Promise.resolve()}getPopconfirmBox(){return document.querySelector(`bcm-popconfirm-box[id="box-${this._id}"]`)}showBox(){this.getPopconfirmBox()&&this.getPopconfirmBox().show()}hideBox(){this.getPopconfirmBox()&&this.getPopconfirmBox().hide()}listenTrigger(i){switch(this.trigger){case"click":"click"===i&&(this.open?this.hide():this.show());break;case"hover":"onMouseOver"===i&&this.show(),"onMouseOut"===i&&this.hide();break;case"focus":"onFocus"===i&&this.show(),"onBlur"===i&&this.hide()}}onBcmConfirm(i){i.detail==this._id&&this.onConfirm.emit(this._id)}onBcmCancel(i){i.detail==this._id&&this.onCancel.emit(this._id)}render(){const i=p("bcm-popconfirm");return e(s,{class:i,onclick:()=>this.listenTrigger("click")},e("slot",null))}get el(){return h(this)}};a.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.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}.bcm-popconfirm{display:inline-flex}';export{a as bcm_popconfirm}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{
|
|
5
|
+
import{a as t}from"./p-8c018ae0.js";var s;!function(t){t.x="x",t.y="y",t.both="both"}(s||(s={}));class i{constructor({target:i,trigger:e,limit:h,center:o,direction:n=s.both,snapOnMouseDown:r=!1,useTransform:a=!1}){this.drag={x:0,y:0},this.offset={left:0,top:0},this.events={end:[],drag:[]},this.active=!1,this.anim=!1,this.busy=!1,this.target=i,this.trigger=e||i,this.direction=n,this.limit=h,this.useTransform=a,this.snapOnMouseDown=r,this.center=o,this.container=this.findRelativeContainer(),this.offset={top:this.useTransform?t(i).y:i.offsetTop,left:this.useTransform?t(i).x:i.offsetLeft},this.attachEvents()}attachEvents(){window.addEventListener("mousemove",(t=>this.windowMove(t))),window.addEventListener("mouseup",(()=>this.windowUp())),this.trigger.addEventListener("mousedown",(t=>this.triggerDown(t)))}computedStyle(t,s){return window.getComputedStyle(t,null).getPropertyValue(s)}findRelativeContainer(){const{target:t}=this,s=Node.ELEMENT_NODE;let i=t.parentNode;for(;i&&i.nodeType===s;){if(["absolute","relative"].includes(this.computedStyle(i,"position")))return i;i=i.parentNode}return null}windowMove(t){if(!this.active)return;const{limit:s}=this,{center:{x:i,y:e}={x:0,y:0}}=this;let h=t.pageX-this.drag.x-i,o=t.pageY-this.drag.y-e;this.busy=!0;const[n,r,a,l]=[s&&s.x&&s.x.max-i,s&&s.x&&s.x.min-i,s&&s.y&&s.y.max-e,s&&s.y&&s.y.min-e];(n||0===n)&&h>n&&(h=n),(r||0===r)&&h<r&&(h=r),(a||0===a)&&o>a&&(o=a),(l||0===l)&&o<l&&(o=l),this.offset={top:o,left:h},this.removeTransition(),this.move()}windowUp(){this.active&&(this.triggerEvent("end",this.getCurrentPosition()),this.animTimeout=setTimeout((()=>{clearTimeout(this.animTimeout),this.busy=!1}),210),this.active=!1)}triggerDown(t){this.active=!0,this.snapOnMouseDown&&(this.offset.left=t.offsetX,this.offset.top=t.offsetY,this.move()),this.drag.x=t.pageX-this.offset.left,this.drag.y=t.pageY-this.offset.top}move(t=!0){const{direction:i,useTransform:e,target:h,offset:{top:o,left:n}}=this;i===s.both?e?h.style.transform=`translate(${n}px, ${o}px)`:(h.style.top=`${o}px`)&&(h.style.left=`${n}px`):i===s.x?e?h.style.transform=`translateX(${n}px)`:h.style.left=`${n}px`:i===s.y&&(e?h.style.transform=`translateY(${o}px)`:h.style.top=`${o}px`),t&&this.triggerEvent("drag",this.getCurrentPosition())}calculateOffset(){const{target:t,container:s}=this;let{left:i,top:e}=t.style;if(!s)return{left:i,top:e};const[h,o]=[t.getBoundingClientRect(),s.getBoundingClientRect()];return i=h.left-o.left,e=h.top-o.top,{left:i,top:e}}getCurrentPosition(){const{target:s}=this,{center:{x:i,y:e}={x:0,y:0}}=this;let{left:h,top:o}=this.calculateOffset();return{x:this.useTransform?t(s).x+i:parseFloat(h)+i,y:this.useTransform?t(s).y+e:parseFloat(o)+e}}setPosition({x:t,y:s,anim:i}){const{center:{x:e,y:h}={x:0,y:0}}=this;(t||0===t)&&(this.offset.left=t-e),(s||0===s)&&(this.offset.top=s-h),i&&this.applyTransition(),this.move(!1)}applyTransition(){this.anim=!0,this.target.style.transition="transform 0.2s ease"}removeTransition(){this.anim=!1,this.target.style.transition=""}getOffset(){return this.offset}on(t,s){this.events[t].push(s)}triggerEvent(t,...s){this.events[t].forEach((t=>t(s[0])))}}export{s as D,i as E}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r as e,c as i,h as t,H as o,g as a}from"./p-
|
|
5
|
+
import{r as e,c as i,h as t,H as o,g as a}from"./p-170cf07d.js";import{c as s}from"./p-64fad38b.js";import{B as n}from"./p-6369b73b.js";import{S as l}from"./p-157359d6.js";import{S as c}from"./p-f800e665.js";import{G as r}from"./p-8c610886.js";import"./p-85eedabc.js";import"./p-a58b2664.js";import"./p-6edf985f.js";const d=class{constructor(t){e(this,t),this.close=i(this,"bcm-close",3),this.modalClose=i(this,"bcm-modal-close",3),this.modalBeforeClose=i(this,"bcm-modal-before-close",3),this.modalBeforeOpen=i(this,"bcm-modal-before-open",3),this.modalSlots={},this._id=r.UID(),this.isShow=!1,this.hidden=!1,this.size=n.Size.medium,this.backdrop=!0,this.width=void 0,this.height=void 0,this.fullWidth=!1}connectedCallback(){const e=this.el.querySelectorAll("bcm-modal-header, bcm-modal-footer");e&&e.forEach((e=>{let i=l.lowercase(l.split(e.nodeName,"-").pop());e.slot=i,e.classList.add(`bcm-modal__container-${i}-content`),this.modalSlots[i]=e}));const i=`bcm-modal--disable-scroll-${this._id}`,t=`bcm-modal-style-${this._id}`;let o=document.getElementById(t);o||(o=document.createElement("style"),o.id=t,o.innerHTML=`.${i} { overflow: hidden; }`,document.head.appendChild(o))}componentWillLoad(){}handleSubmit(e){const i=r.findEventPathWithNodeName(e,l.uppercase("bcm-button"));i&&i.dataDismiss&&this.hide()}handleBackdrop(){1==this.backdrop&&this.hide()}async hide(e={force:!1}){if(null==e?void 0:e.force)return this.isShow=!1,this.close.emit(),void this.modalClose.emit();this.modalBeforeClose.emit(this.el)}async show(e={force:!1}){(null==e?void 0:e.force)?this.isShow=!0:this.modalBeforeOpen.emit(this.el)}keyboardNavigation(e){1==this.backdrop&&(e.keyCode||0)==n.KeyCode.escape&&(e.preventDefault(),this.hide())}async showModal(e){e.defaultPrevented||e.target===this.el&&(this.isShow=!0)}async hideModal(e){e.defaultPrevented||e.target===this.el&&(this.isShow=!1,this.close.emit(),this.modalClose.emit())}_openHandler(){const e=`bcm-modal--disable-scroll-${this._id}`;this.isShow?document.body.classList.add(e):document.body.classList.remove(e)}disconnectedCallback(){document.body.classList.remove(`bcm-modal--disable-scroll-${this._id}`)}render(){const{isShow:e,size:i,fullWidth:a,hidden:n,width:l,height:r}=this,d=s("bcm-modal__container",i,{"custom-size":l||r,"full-width":a,"bcm-modal__show":e}),m=s("bcm-modal",{hidden:n,"bcm-modal__show":e}),h=s("bcm-modal__container-main","size-2"),p=Object.assign(Object.assign({},l&&{width:l}),r&&{height:r});return t(o,{class:`tw-overscroll-contain ${m}`},t("div",{class:"overlay",onClick:()=>this.handleBackdrop()}),t("div",{class:d,style:p},t((()=>this.modalSlots.header&&t("header",{class:"bcm-modal__container-header"},t(c,{name:"header",className:"full-width"}),t("div",{class:"bcm-modal__container-header-close",onClick:()=>this.hide()},t("bcm-icon",{icon:"far fa-times"})))),null),t("main",{class:h},t("article",null,t(c,null))),t((()=>this.modalSlots.footer&&t("footer",{class:"bcm-modal__container-footer"},t("slot",{name:"footer"}))),null)))}get el(){return a(this)}static get watchers(){return{isShow:["_openHandler"]}}};d.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.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}*{box-sizing:border-box}.bcm-modal{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex-wrap:nowrap;width:100%;height:100%;position:fixed;z-index:-1;opacity:0;top:0;left:0;visibility:hidden;overflow:auto;padding:24px;transition:opacity 0.5s ease, visibility 0.4s ease-in-out, 0.3s z-index}.bcm-modal__show{opacity:1;z-index:10500;visibility:visible;transition:opacity 0.2s ease, visibility 0.4s ease-in-out, 0.3s z-index}.bcm-modal__show .bcm-modal__container{transition:opacity 0.2s ease-in-out, transform 0.2s ease-in-out;transform:translateY(0)}.bcm-modal .overlay{position:fixed;width:100vw;height:100vh;z-index:1;top:0;left:0;opacity:0.6;background-color:var(--bcm-new-ds-color-slate-900)}.bcm-modal__container{display:flex;flex-direction:column;width:100%;box-shadow:0 2px 6px 1px rgba(17, 24, 38, 0.1);border-radius:8px;background-color:var(--bcm-new-ds-color-white);z-index:2;transform:translateY(-50px);transition:opacity 0.2s ease-in-out, transform 0.2s ease-in-out}.bcm-modal__container.portrait{max-width:312px}.bcm-modal__container.landscape{max-width:475px}.bcm-modal__container.small{max-width:576px}.bcm-modal__container.medium{max-width:768px}.bcm-modal__container.large{max-width:992px}.bcm-modal__container.xlarge{max-width:1024px}.bcm-modal__container.xxlarge{max-width:1200px}.bcm-modal__container.xxxlarge{max-width:1700px}.bcm-modal__container.full-width{width:100%;max-width:100%}.bcm-modal__container.custom-size main{overflow:auto;height:100%;width:100%}.bcm-modal__container-main{color:var(--bcm-color-grey-8);padding:0}.bcm-modal__container-header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap;padding:12px 24px;font-size:16px;line-height:calc(16px + 8px);font-weight:500;color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-slate-100);position:relative}.bcm-modal__container-header span.full-width{width:100%}.bcm-modal__container-header-close{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;padding:8px;cursor:pointer;color:var(--bcm-new-ds-color-slate-500);transition:color 0.1s ease-in-out}.bcm-modal__container-header-close:hover{color:var(--bcm-new-ds-color-slate-600)}.bcm-modal__container-header-close:active{color:var(--bcm-new-ds-color-slate-700)}.bcm-modal__container-header-close:focus-visible{color:var(--bcm-new-ds-color-slate-800)}.bcm-modal__container-header:after{border-radius:8px 8px 0 0;content:"";display:block;width:100%;height:4px;background-color:var(--bcm-color-primary-400);position:absolute;top:-4px;left:0}.bcm-modal__container-footer-content{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-end;flex-wrap:nowrap;padding:12px 24px 24px;grid-gap:8px}';export{d as bcm_modal}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e,n,r){return e(r={path:n,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},r.exports),r.exports}function t(e){if(e.__esModule)return e;var n=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,t.get?t:{enumerable:!0,get:function(){return e[r]}})})),n}export{e as a,
|
|
5
|
+
var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e,n,r){return e(r={path:n,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},r.exports),r.exports}function t(e){if(e.__esModule)return e;var n=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,t.get?t:{enumerable:!0,get:function(){return e[r]}})})),n}export{e as a,n as b,r as c,t as g}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
const e=e=>new Promise((s=>setTimeout(s,e))),s=(e,s)=>{const a=s.split("-"),i=a[a.length-1],r=a.slice(0,a.length-1).join("-");return e[r]&&e[r][i]?e[r][i]:e["prime-blue"][6]},a=(e,s)=>{let a=[],i=[];const r=Array.from(e.shadowRoot.querySelectorAll("slot")).find((e=>!e.name));return a=r&&r.assignedElements()||[],a.map((e=>{String(e.tagName).toLowerCase()==s&&i.push(e)})),a=e.shadowRoot.querySelectorAll(s),i=[...i,...a],i},i=(e,s)=>[...e.querySelectorAll(s)],r=(e,s)=>{const a=e,i=document.documentElement.clientWidth,r=document.documentElement.clientHeight;var t=document.querySelector(s);if(t){var o=0;t.shadowRoot&&t.shadowRoot.querySelector(".caption-area")&&t.shadowRoot.querySelector(".caption-area").clientHeight&&(o=t.shadowRoot.querySelector(".caption-area").clientHeight+8);var n=0;t.shadowRoot&&t.shadowRoot.querySelector(".label")&&t.shadowRoot.querySelector(".label").clientHeight&&(n=t.shadowRoot.querySelector(".label").clientHeight+2);var u=t.noCaption?0:o-8,c=t.getBoundingClientRect();a.style.position="fixed",a.style.top=c.top+c.height-u+"px",a.style.left=c.left+"px",r<a.clientHeight+c.top+c.height-u&&(a.style.top=c.top-a.clientHeight+n+"px"),i<a.clientWidth+c.left&&(a.style.left=c.left-a.clientWidth+c.width-2+"px")}},t=e=>{let s;return s=getComputedStyle(e).getPropertyValue("transform").replace(/(matrix|\(|\)|px)/g,""),s=s.split(", "),{x:parseInt(s[4]),y:parseInt(s[5])}},o=(n={addendum:"addenda",aircraft:"aircraft",alumna:"alumnae",alumnus:"alumni",analysis:"analyses",antenna:"antennae",antithesis:"antitheses",apex:"apices",appendix:"appendices",axis:"axes",bacillus:"bacilli",bacterium:"bacteria",basis:"bases",beau:"beaux",bison:"bison",bureau:"bureaux",cactus:"cacti",château:"châteaux",child:"children",codex:"codices",concerto:"concerti",corpus:"corpora",crisis:"crises",criterion:"criteria",curriculum:"curricula",datum:"data",deer:"deer",diagnosis:"diagnoses",die:"dice",dwarf:"dwarves",ellipsis:"ellipses",erratum:"errata","faux pas":"faux pas",fez:"fezzes",fish:"fish",focus:"foci",foot:"feet",formula:"formulae",fungus:"fungi",genus:"genera",goose:"geese",graffito:"graffiti",grouse:"grouse",half:"halves",hoof:"hooves",hypothesis:"hypotheses",index:"indices",larva:"larvae",libretto:"libretti",loaf:"loaves",locus:"loci",louse:"lice",man:"men",matrix:"matrices",medium:"media",memorandum:"memoranda",minutia:"minutiae",moose:"moose",mouse:"mice",nebula:"nebulae",nucleus:"nuclei",oasis:"oases",offspring:"offspring",opus:"opera",ovum:"ova",ox:"oxen",parenthesis:"parentheses",phenomenon:"phenomena",phylum:"phyla",quiz:"quizzes",radius:"radii",referendum:"referenda",salmon:"salmon",scarf:"scarves",self:"selves",series:"series",sheep:"sheep",shrimp:"shrimp",species:"species",stimulus:"stimuli",stratum:"strata",swine:"swine",syllabus:"syllabi",symposium:"symposia",synopsis:"synopses",tableau:"tableaux",thesis:"theses",thief:"thieves",tooth:"teeth",trout:"trout",tuna:"tuna",vertebra:"vertebrae",vertex:"vertices",vita:"vitae",vortex:"vortices",wharf:"wharves",wife:"wives",wolf:"wolves",woman:"women",guy:"guys",buy:"buys",person:"people"},function(e,s=1){return s>1?n[e]?n[e]:"s"===e[e.length-1]||e.endsWith("sh")||e.endsWith("ch")||"x"===e[e.length-1]||"z"===e[e.length-1]?e+"es":"y"===e[e.length-1]?e.substring(0,e.length-1)+"ies":e+"s":e});var n;export{
|
|
5
|
+
const e=e=>new Promise((s=>setTimeout(s,e))),s=(e,s)=>{const a=s.split("-"),i=a[a.length-1],r=a.slice(0,a.length-1).join("-");return e[r]&&e[r][i]?e[r][i]:e["prime-blue"][6]},a=(e,s)=>{let a=[],i=[];const r=Array.from(e.shadowRoot.querySelectorAll("slot")).find((e=>!e.name));return a=r&&r.assignedElements()||[],a.map((e=>{String(e.tagName).toLowerCase()==s&&i.push(e)})),a=e.shadowRoot.querySelectorAll(s),i=[...i,...a],i},i=(e,s)=>[...e.querySelectorAll(s)],r=(e,s)=>{const a=e,i=document.documentElement.clientWidth,r=document.documentElement.clientHeight;var t=document.querySelector(s);if(t){var o=0;t.shadowRoot&&t.shadowRoot.querySelector(".caption-area")&&t.shadowRoot.querySelector(".caption-area").clientHeight&&(o=t.shadowRoot.querySelector(".caption-area").clientHeight+8);var n=0;t.shadowRoot&&t.shadowRoot.querySelector(".label")&&t.shadowRoot.querySelector(".label").clientHeight&&(n=t.shadowRoot.querySelector(".label").clientHeight+2);var u=t.noCaption?0:o-8,c=t.getBoundingClientRect();a.style.position="fixed",a.style.top=c.top+c.height-u+"px",a.style.left=c.left+"px",r<a.clientHeight+c.top+c.height-u&&(a.style.top=c.top-a.clientHeight+n+"px"),i<a.clientWidth+c.left&&(a.style.left=c.left-a.clientWidth+c.width-2+"px")}},t=e=>{let s;return s=getComputedStyle(e).getPropertyValue("transform").replace(/(matrix|\(|\)|px)/g,""),s=s.split(", "),{x:parseInt(s[4]),y:parseInt(s[5])}},o=(n={addendum:"addenda",aircraft:"aircraft",alumna:"alumnae",alumnus:"alumni",analysis:"analyses",antenna:"antennae",antithesis:"antitheses",apex:"apices",appendix:"appendices",axis:"axes",bacillus:"bacilli",bacterium:"bacteria",basis:"bases",beau:"beaux",bison:"bison",bureau:"bureaux",cactus:"cacti",château:"châteaux",child:"children",codex:"codices",concerto:"concerti",corpus:"corpora",crisis:"crises",criterion:"criteria",curriculum:"curricula",datum:"data",deer:"deer",diagnosis:"diagnoses",die:"dice",dwarf:"dwarves",ellipsis:"ellipses",erratum:"errata","faux pas":"faux pas",fez:"fezzes",fish:"fish",focus:"foci",foot:"feet",formula:"formulae",fungus:"fungi",genus:"genera",goose:"geese",graffito:"graffiti",grouse:"grouse",half:"halves",hoof:"hooves",hypothesis:"hypotheses",index:"indices",larva:"larvae",libretto:"libretti",loaf:"loaves",locus:"loci",louse:"lice",man:"men",matrix:"matrices",medium:"media",memorandum:"memoranda",minutia:"minutiae",moose:"moose",mouse:"mice",nebula:"nebulae",nucleus:"nuclei",oasis:"oases",offspring:"offspring",opus:"opera",ovum:"ova",ox:"oxen",parenthesis:"parentheses",phenomenon:"phenomena",phylum:"phyla",quiz:"quizzes",radius:"radii",referendum:"referenda",salmon:"salmon",scarf:"scarves",self:"selves",series:"series",sheep:"sheep",shrimp:"shrimp",species:"species",stimulus:"stimuli",stratum:"strata",swine:"swine",syllabus:"syllabi",symposium:"symposia",synopsis:"synopses",tableau:"tableaux",thesis:"theses",thief:"thieves",tooth:"teeth",trout:"trout",tuna:"tuna",vertebra:"vertebrae",vertex:"vertices",vita:"vitae",vortex:"vortices",wharf:"wharves",wife:"wives",wolf:"wolves",woman:"women",guy:"guys",buy:"buys",person:"people"},function(e,s=1){return s>1?n[e]?n[e]:"s"===e[e.length-1]||e.endsWith("sh")||e.endsWith("ch")||"x"===e[e.length-1]||"z"===e[e.length-1]?e+"es":"y"===e[e.length-1]?e.substring(0,e.length-1)+"ies":e+"s":e});var n;export{t as a,r as b,a as c,e as d,s as e,i as g,o as p}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import{r as t,h as i,H as
|
|
5
|
+
import{r as t,h as i,H as s,g as e}from"./p-170cf07d.js";import"./p-61db1f1f.js";import"./p-626a65e9.js";import{G as r}from"./p-8c610886.js";import"./p-61314a43.js";import"./p-157359d6.js";import"./p-52b7fc24.js";import"./p-7e44e6b5.js";import"./p-6369b73b.js";import"./p-436364c8.js";import"./p-8c018ae0.js";import"./p-6edf985f.js";import"./p-85eedabc.js";import"./p-a58b2664.js";const o=class{constructor(i){t(this,i),this._id=r.UID(),this.active=!1,this.disabled=!1,this.index=void 0}componentWillLoad(){this.indexControl()}componentDidRender(){this.headerMove()}getHeaderItem(){const t=this.el.querySelector("bcm-tab-item-header");return t&&(t.setAttribute("index",`${this.index}`),t.setAttribute("active",`${this.active}`),t.setAttribute("disabled",`${this.disabled}`),t.setAttribute("tab-id",`${this._id}`),t.style.order=`${this.index}`),t}getParentTabGroup(){return r.findParentElement(this.el,"bcm-tab-group")}getFindHeaderItem(){var t,i;return null===(i=null===(t=this.getParentTabGroup())||void 0===t?void 0:t.querySelector("#tab-header"))||void 0===i?void 0:i.querySelector(`bcm-tab-item-header[tab-id="${this._id}"]`)}headerMove(){var t,i,s,e;this.getHeaderItem()&&(null===(t=this.getFindHeaderItem())||void 0===t||t.remove(),null===(s=null===(i=this.getParentTabGroup())||void 0===i?void 0:i.querySelector("#tab-header"))||void 0===s||s.appendChild(this.getHeaderItem()),null===(e=this.el.parentElement)||void 0===e||e.refresh())}indexControl(){var t;this.index||null===(t=r.findParentElement(this.el,"bcm-tab-group"))||void 0===t||t.querySelectorAll("bcm-tab-item").forEach(((t,i)=>{t===this.el&&t.setAttribute("index",`${i+1}`)}))}componentDidLoad(){new MutationObserver((()=>{this.headerMove()})).observe(this.el,{childList:!0,subtree:!0})}render(){return i(s,{id:this._id,role:"tabpanel","aria-labelledby":`tab-${this._id}`,"aria-hidden":`${!this.active}`,class:{"tw-block":this.active,"tw-hidden":!this.active,"tw-opacity-50":this.disabled,"tw-w-full":!0}},i("slot",null))}get el(){return e(this)}};export{o as bcm_tab_item}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import{v as r}from"./p-a58b2664.js";import{c as t}from"./p-6edf985f.js";var e,n;function o(r,t){try{var e=r();return void 0===e?t:e}catch(r){if(r instanceof TypeError)return t;throw r}}!function(r){r.info="info",r.error="error",r.warning="warning",r.success="success",r.default="default"}(e||(e={})),function(r){r.banner="banner",r.basic="basic"}(n||(n={}));const c=["localhost","beta-regression.bromcomcloud.com","beta-scrum.bromcomcloud.com","beta-kanban.bromcomcloud.com"];(()=>{const r=window.location.hostname;return c.includes(r)})()&&console.log(`%cbromcom ui%c version: ${r}-p `,"color: white; background:#1890FF; font-weight: 300; font-size:10px; padding:2px 6px; border-radius: 5px","font-size:10px;"),function(){const r=document.querySelector("body");let t=localStorage.getItem("bcm-theme");!r.classList.contains("bcm-theme-*")&&t&&r.classList.add(`bcm-theme-${t}`)}(),function(){const r=document.querySelector("body");let t=document.querySelector("#bcm-overlay-container");t||(t=document.createElement("div"),t.id="bcm-overlay-container",r.appendChild(t))}();class u{static prettify(r){const t={};for(const e in r)r.hasOwnProperty(e)&&(t[e]=r[e]);return t}static getTwColor(r){const{color:e,variable:n,tones:o}=r=Object.assign({variable:"--bcm-color-default",defaultTone:"600",tones:{50:{},100:{},200:{},300:{},400:{},500:{},600:{},700:{},800:{},900:{},950:{}}},r);if(!e||!t[e])return!1;const c={};return"string"==typeof t[e]?(c[n]=t[e],c):((Array.isArray(o)?o:Object.keys(o)).forEach((r=>{t[e][r]&&(Array.isArray(o[r])?o[r].forEach((o=>{c[`${n}-${o}`]=t[e][r]})):c[`${n}-${r}`]=t[e][r])})),c)}}u.UID=(r="bcm")=>`${r}${Math.random().toString(36).substr(2,9)}`,u.getIconAttrWithStatusType=(r,t=!1)=>{if(t)return{icon:"far fa-spinner-third fa-spin"};switch(r){case e.info:return{icon:"far fa-info-circle"};case e.error:return{icon:"far fa-times-circle"};case e.warning:return{icon:"far fa-exclamation-circle"};case e.success:return{icon:"far fa-check-circle"}}},u.domParser=r=>(new DOMParser).parseFromString(r,"text/html").body.innerText,u.createComponent=(r,t,e="append-area")=>{let n=e?document.querySelector(e):document.body;e&&!n&&(n=document.createElement("div"),n.id="append-area",document.body.appendChild(n),n.style.visibility="hidden",n.style.opacity="0");let o=document.getElementById(t.id);return o||(o=document.createElement(r)),Object.keys(t).forEach((r=>{o[r]=t[r]})),n.appendChild(o),o},u.createElement=(r="div",t)=>{let e=document.getElementById(t.id);return e||(e=document.createElement(r)),Object.keys(t).forEach((r=>{"innerHTML"==r?e[r]=t[r]:e.setAttribute(r,t[r])})),document.body.appendChild(e),e},u.debounceInput=(r,t,e,n)=>{let o;return function(){let c=this,u=arguments;n&&n.apply(c,u);let i=function(){o=null,e||r.apply(c,u)},a=e&&!o;clearTimeout(o),o=setTimeout(i,t),a&&r.apply(c,u)}},u.flatArray=r=>r.reduce(((r,t)=>r.concat(Array.isArray(t)?u.flatArray(t):t)),[]),u.reverseNodeList=r=>{let t=[];for(let e=r.length-1;e>=0;e--)t.push(r[e]);return t},u.findEventPathWithKey=(r,t,e)=>{e=Array.isArray(e)?e:[e];let n=r.composedPath()||r.path;if(n)return void 0!==n.filter((r=>e.includes(r[t])))[0]},u.findEventPathHasAttribute=(r,t)=>{let e=r.composedPath()||r.path;if(e)return o((()=>!!e.find((r=>r.hasAttribute(t)))),!1)},u.findEventTarget=(r,t)=>{t=Array.isArray(t)?t:[t];let e=r.target||r.srcElement;if(e)return t.includes(e)},u.findEventPathWithNodeName=(r,t)=>{let e=r.composedPath()||r.path;if(e)return e.filter((r=>r.nodeName===t))[0]},u.findEventPath=(r,t)=>{t=Array.isArray(t)?t:[t];let e=r.composedPath()||r.path;if(e)return void 0!==e.filter((r=>t.includes(r)))[0]},u.objectIsEmpty=r=>0===Object.keys(r).length&&r.constructor===Object,u.convertIdsToNestedData=(r,t)=>{let e=[],n=[];return t.forEach((t=>{r&&r.indexOf(t.id.toString())>-1?e.push(t):t.items&&(n=u.convertIdsToNestedData(r,t.items),n.length>0&&(t.items=n,e.push(t)))})),e},u.nodeListToArray=r=>Array.prototype.slice.call(r),u.setAttributes=(r,t)=>{Object.keys(t).forEach((e=>{r.setAttribute(e,t[e])}))},u.computedStyle=(r,t)=>window.getComputedStyle(r,null).getPropertyValue(t),u.getAncestor=(r,t)=>{for(;(r=r.parentElement)&&!r.matches(t););return r},u.findParentElement=(r,t)=>{const e=t.charAt(0);if("*"===t)return r.parentElement;if("."===e){const e=t.slice(1);return function(r,t){for(;null!==r;){if(r.classList.contains(t))return r;r=r.parentElement}return null}(r.parentElement,e)}if("#"===e){const e=t.slice(1);return function(r,t){for(;null!==r;){if(r.id===t)return r;r=r.parentElement}return null}(r.parentElement,e)}if("["===e){const e=t.indexOf("]"),n=t.slice(1,e),o=t.slice(e+2,-1);return function(r,t,e){for(;null!==r;){if(r.hasAttribute(t)&&(void 0===e||r.getAttribute(t)===e))return r;r=r.parentElement}return null}(r.parentElement,n,o)}{const e=t.toLowerCase();return function(r,t){for(;null!==r;){if(r.tagName.toLowerCase()===t.toLowerCase())return r;r=r.parentElement}return null}(r.parentElement,e)}};export{u as G,e as S,n as T,o as s}
|