bromcom-ui 2.10.0 → 2.10.1-rc.1
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-9c6363e3.entry.js → p-015d19dd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7e3f14bf.entry.js → p-0325e8a4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-50694c46.entry.js → p-09699c4d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f4ef049a.entry.js → p-0973538a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9d631596.entry.js → p-0b316c6f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b87096e9.entry.js → p-0b820f78.entry.js} +1 -1
- package/dist/bromcom-ui/{p-33f783d4.entry.js → p-0fe106fc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8c951a73.js → p-125d6ed0.js} +1 -1
- package/dist/bromcom-ui/p-140f3478.js +5 -0
- package/dist/bromcom-ui/{p-42b8f665.entry.js → p-14c32a34.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4438d629.entry.js → p-14cafd64.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f95797df.js → p-157359d6.js} +1 -1
- package/dist/bromcom-ui/{p-bf8637cf.entry.js → p-16848643.entry.js} +1 -1
- package/dist/bromcom-ui/{p-db72fb9a.entry.js → p-1708a5ec.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e037ee2b.js → p-170cf07d.js} +1 -1
- package/dist/bromcom-ui/{p-f03e56b9.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-228c74e9.entry.js +5 -0
- package/dist/bromcom-ui/{p-bc20302f.entry.js → p-24710a65.entry.js} +1 -1
- package/dist/bromcom-ui/{p-18bc4e04.entry.js → p-26290ed5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-be635a5f.entry.js → p-29614b49.entry.js} +1 -1
- package/dist/bromcom-ui/{p-188b9079.entry.js → p-2aaeb247.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1f9b6d10.entry.js → p-2da72d6a.entry.js} +1 -1
- package/dist/bromcom-ui/p-3432a82d.js +19 -0
- package/dist/bromcom-ui/{p-4b82126e.entry.js → p-3756f541.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0974f3ef.entry.js → p-39a40a6e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-86642adc.entry.js → p-3b41df22.entry.js} +1 -1
- package/dist/bromcom-ui/p-3d142f76.entry.js +5 -0
- package/dist/bromcom-ui/{p-1dc1bb32.entry.js → p-3f39982f.entry.js} +1 -1
- package/dist/bromcom-ui/p-40b85b9b.entry.js +5 -0
- package/dist/bromcom-ui/{p-0efc9196.entry.js → p-430c0a24.entry.js} +1 -1
- package/dist/bromcom-ui/{p-303b4dfa.entry.js → p-483b4ba8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a1b1750c.js → p-518b9b80.js} +1 -1
- package/dist/bromcom-ui/{p-1998815a.entry.js → p-51b6a14a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-38c95c70.entry.js → p-551058cd.entry.js} +1 -1
- package/dist/bromcom-ui/p-55291cc5.entry.js +5 -0
- package/dist/bromcom-ui/{p-468157a0.entry.js → p-5699f67d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b48522a7.entry.js → p-56f7477e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5c4b71fb.entry.js → p-571dca86.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9f83dbdf.entry.js → p-5c671967.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1e547f98.entry.js → p-5ca4aa84.entry.js} +1 -1
- package/dist/bromcom-ui/p-5ff3c68f.entry.js +5 -0
- 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-62d178e3.entry.js +5 -0
- package/dist/bromcom-ui/{p-f711588b.js → p-6369b73b.js} +1 -1
- package/dist/bromcom-ui/{p-8d635460.entry.js → p-646cf63c.entry.js} +1 -1
- 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-51da4af1.entry.js → p-673f7ee8.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-71b9ea64.entry.js +7 -0
- package/dist/bromcom-ui/{p-197aba37.js → p-74e6d2b6.js} +1 -1
- package/dist/bromcom-ui/{p-72058fb8.entry.js → p-77eb2287.entry.js} +1 -1
- package/dist/bromcom-ui/{p-98d39972.entry.js → p-795d2f76.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-5ae0a59b.js → p-7e44e6b5.js} +1 -1
- package/dist/bromcom-ui/{p-42bbaf3f.entry.js → p-7f09901d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e8b61e90.js → p-813ec92d.js} +1 -1
- package/dist/bromcom-ui/{p-e45c1546.js → p-85eedabc.js} +1 -1
- package/dist/bromcom-ui/p-8b202d9e.js +5 -0
- package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
- package/dist/bromcom-ui/{p-d03b8b90.entry.js → p-8d43aa14.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dd94b43f.entry.js → p-93b8a3ff.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8e5e362a.js → p-9850cbce.js} +1 -1
- package/dist/bromcom-ui/p-9889a4ed.entry.js +5 -0
- package/dist/bromcom-ui/{p-f9119bec.entry.js → p-99824717.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2a26515f.js → p-9a41b688.js} +1 -1
- package/dist/bromcom-ui/p-a00170b7.entry.js +5 -0
- package/dist/bromcom-ui/{p-b017e8cd.entry.js → p-a04aab3c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7c18d6ae.entry.js → p-a1f9e7d4.entry.js} +1 -1
- package/dist/bromcom-ui/p-a25c8a55.js +5 -0
- package/dist/bromcom-ui/{p-c5f820ca.entry.js → p-a42cc789.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1a33d7a3.entry.js → p-a664cc20.entry.js} +1 -1
- package/dist/bromcom-ui/p-a839a0e5.entry.js +5 -0
- package/dist/bromcom-ui/p-ae57f046.entry.js +5 -0
- package/dist/bromcom-ui/{p-68074ec3.entry.js → p-b013cff9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e8ea33a0.entry.js → p-b3b59bc3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6e7bb16f.entry.js → p-ba9eff2a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3df7d781.entry.js → p-be434461.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2c05f941.entry.js → p-bec8a936.entry.js} +1 -1
- package/dist/bromcom-ui/{p-107f11df.entry.js → p-c1a992e7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-18a62098.js → p-c1b167a3.js} +1 -1
- package/dist/bromcom-ui/{p-0d9e0e43.entry.js → p-c566b3a0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-451a262e.entry.js → p-cd04678a.entry.js} +1 -1
- package/dist/bromcom-ui/p-cf0c0700.entry.js +5 -0
- package/dist/bromcom-ui/{p-18d5e3f2.js → p-cf171578.js} +1 -1
- package/dist/bromcom-ui/{p-9c027fe2.js → p-d06f5291.js} +1 -1
- package/dist/bromcom-ui/{p-63138ee5.entry.js → p-d551a51d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-658028ef.entry.js → p-d7538ba4.entry.js} +1 -1
- package/dist/bromcom-ui/p-d89b7e22.entry.js +5 -0
- package/dist/bromcom-ui/{p-b9ed8d61.entry.js → p-dac3117a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-da3e7a70.entry.js → p-e11ab4ed.entry.js} +1 -1
- package/dist/bromcom-ui/{p-12e36dc5.js → p-e131b27f.js} +1 -1
- package/dist/bromcom-ui/{p-82c964dc.entry.js → p-e38c4c3a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1a5d4e8f.js → p-ea2ce157.js} +1 -1
- package/dist/bromcom-ui/{p-4d7ea23c.entry.js → p-ece578ef.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5f46721f.entry.js → p-f1dbd96d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8b37bc3c.js → p-f3431dc8.js} +1 -1
- package/dist/bromcom-ui/p-f7549b1f.entry.js +5 -0
- package/dist/bromcom-ui/p-f800e665.js +5 -0
- package/dist/bromcom-ui/p-fb597d84.entry.js +5 -0
- package/dist/bromcom-ui/{p-1e8559ac.entry.js → p-fff1a0f9.entry.js} +1 -1
- package/dist/cjs/{bcm-7f703055.js → bcm-3c58a6d5.js} +28 -27
- 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-colorful_2.cjs.entry.js → bcm-button_10.cjs.entry.js} +15630 -306
- 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-checkbox_2.cjs.entry.js +7 -7
- 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 +8 -8
- 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-list_3.cjs.entry.js +50 -30
- 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-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-switch.cjs.entry.js +5 -5
- 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/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/caption-template-6f535b93.js +32 -0
- package/dist/cjs/{floating-ui-b441ea7c.js → floating-ui-555cd3d4.js} +1 -1
- package/dist/cjs/{generate-210dd9e2.js → generate-e79347af.js} +1 -1
- package/dist/cjs/{global-0eb3a5d0.js → global-9bb1902a.js} +1 -1
- package/dist/cjs/{index-e05a7c6f.js → index-7eed931f.js} +1625 -24
- package/dist/cjs/{input-template-3e65e1b6.js → input-template-3d21aacb.js} +2 -2
- package/dist/cjs/{json-parse-decarator-39e18651.js → json-parse-decarator-4d7afa63.js} +1 -1
- package/dist/cjs/label-template-8dc10d0a.js +24 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{number-helper-325eff4a.js → number-helper-2f971fd8.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-799d2f0f.js → package-47b7b998.js} +1 -1
- package/dist/cjs/{popover-placement-f20020a6.js → popover-placement-9b4b4153.js} +1 -1
- package/dist/cjs/{slot-template-873b0cd5.js → slot-template-80b019d5.js} +1 -1
- package/dist/cjs/{stepper-states-e957aacc.js → stepper-states-a5699b31.js} +1 -1
- package/dist/cjs/{string-helper-fda7cbba.js → string-helper-3212f4ea.js} +1 -1
- package/dist/cjs/{tooltip-helper-298a9ac9.js → tooltip-helper-7d5d1cb5.js} +6 -6
- package/dist/cjs/{validators-dd2b797e.js → validators-507307b9.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -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/input.js +57 -0
- package/dist/collection/components/molecules/input-dropdown/input-dropdown.css +0 -89
- package/dist/collection/components/molecules/search/search.css +0 -89
- package/dist/collection/components/molecules/states/search.states.js +2 -2
- package/dist/collection/components/molecules/switch/switch.css +0 -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 +0 -89
- package/dist/collection/components/organism/list/list.js +46 -7
- 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/models/bcm.js +28 -27
- 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 +5 -3
- 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 +1 -1
- package/dist/components/bcm-switch.js +1 -1
- package/dist/components/bcm.js +28 -27
- 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 +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/input.js +41 -1
- package/dist/components/label.js +43 -20
- package/dist/components/list.js +32 -10
- package/dist/components/old-input.js +1 -1
- package/dist/components/rc-picker.js +4 -17
- package/dist/components/search.js +3 -3
- package/dist/components/textarea.js +1 -1
- package/dist/esm/{_commonjsHelpers-be0d4ec8.js → _commonjsHelpers-7002e5de.js} +1 -1
- package/dist/esm/{bcm-d45dc47d.js → bcm-0f9cc27c.js} +28 -27
- 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-colorful_2.entry.js → bcm-button_10.entry.js} +15621 -305
- 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-checkbox_2.entry.js +14 -14
- 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 +15 -15
- 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-list_3.entry.js +54 -34
- 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-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-switch.entry.js +11 -11
- 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/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-8a0c54d6.js → floating-ui-a4e67246.js} +1 -1
- package/dist/esm/{generate-4a6e91ab.js → generate-b9c6f412.js} +2 -2
- package/dist/esm/{global-f2b64d8e.js → global-114427da.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/{index-a6d9d0af.js → index-e4b6a4ce.js} +1612 -26
- package/dist/esm/{input-template-585653f0.js → input-template-dc94e47f.js} +4 -4
- package/dist/esm/{is-load-decorator-b8ca22f2.js → is-load-decorator-8277e3b8.js} +1 -1
- package/dist/esm/{json-parse-decarator-0fed2908.js → json-parse-decarator-fca2dc09.js} +2 -2
- package/dist/esm/label-template-989d1700.js +22 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{number-helper-9efff5fa.js → number-helper-70be3621.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-714d78c7.js → package-6f4c9f8c.js} +1 -1
- package/dist/esm/{popover-placement-941bf3f3.js → popover-placement-279ce860.js} +1 -1
- package/dist/esm/{slot-template-4b683d1f.js → slot-template-9234df88.js} +2 -2
- package/dist/esm/{stepper-states-2f770e8f.js → stepper-states-291a682f.js} +3 -3
- package/dist/esm/{string-helper-5bd646f2.js → string-helper-8f5da9ec.js} +2 -2
- package/dist/esm/{tooltip-helper-fd4d49bd.js → tooltip-helper-089735b1.js} +9 -9
- package/dist/esm/{utils-b3338faf.js → utils-57652744.js} +1 -1
- package/dist/esm/{validators-6dbc25f2.js → validators-c1fe8b4b.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/input/input.d.ts +2 -0
- package/dist/types/components/organism/list/list.d.ts +2 -0
- package/dist/types/components.d.ts +37 -6
- package/dist/types/models/bcm.d.ts +1 -0
- package/dist/types/templates/caption-template.d.ts +1 -1
- package/dist/types/templates/list-template.d.ts +1 -0
- package/package.json +4 -4
- package/dist/bromcom-ui/p-3182df7e.js +0 -10
- package/dist/bromcom-ui/p-32df2233.js +0 -5
- package/dist/bromcom-ui/p-504eac54.entry.js +0 -5
- package/dist/bromcom-ui/p-59dc8594.entry.js +0 -5
- package/dist/bromcom-ui/p-5ea9881d.entry.js +0 -5
- package/dist/bromcom-ui/p-5ee8a018.js +0 -5
- package/dist/bromcom-ui/p-5f40017d.entry.js +0 -5
- package/dist/bromcom-ui/p-67d1a74e.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-73bac18d.entry.js +0 -5
- package/dist/bromcom-ui/p-742f4bce.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-7c623da0.js +0 -5
- package/dist/bromcom-ui/p-7e3209a0.js +0 -14
- package/dist/bromcom-ui/p-7e35d915.entry.js +0 -5
- package/dist/bromcom-ui/p-89d9dc68.entry.js +0 -5
- package/dist/bromcom-ui/p-9321fa11.entry.js +0 -5
- package/dist/bromcom-ui/p-94003d12.entry.js +0 -5
- package/dist/bromcom-ui/p-944271c6.js +0 -5
- package/dist/bromcom-ui/p-9bd019ee.entry.js +0 -5
- package/dist/bromcom-ui/p-a7a9238e.entry.js +0 -5
- package/dist/bromcom-ui/p-bed627ab.js +0 -11
- package/dist/bromcom-ui/p-c05344c6.entry.js +0 -5
- package/dist/bromcom-ui/p-c10f44bc.entry.js +0 -5
- package/dist/bromcom-ui/p-c25bcdaf.entry.js +0 -5
- package/dist/bromcom-ui/p-ec555eba.entry.js +0 -5
- package/dist/bromcom-ui/p-ff3368a4.entry.js +0 -5
- package/dist/cjs/bcm-button.cjs.entry.js +0 -372
- 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-rc-picker.cjs.entry.js +0 -9404
- package/dist/cjs/caption-template-81dbc490.js +0 -34
- package/dist/cjs/index-3d67f613.js +0 -1610
- package/dist/cjs/label-template-80235581.js +0 -23
- package/dist/cjs/moment-d06b012f.js +0 -4601
- package/dist/collection/components/atoms/label/label.css +0 -158
- package/dist/components/label-template.js +0 -21
- package/dist/esm/bcm-button.entry.js +0 -368
- 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-rc-picker.entry.js +0 -9400
- package/dist/esm/caption-template-a1a968fd.js +0 -32
- package/dist/esm/index-c4568336.js +0 -1594
- package/dist/esm/label-template-54c28821.js +0 -21
- package/dist/esm/moment-15cd9198.js +0 -4598
|
@@ -27,6 +27,7 @@ export class BcmList {
|
|
|
27
27
|
this.debounce = null;
|
|
28
28
|
this.debounceHandler = Generate.debounceInput(() => this.listenResize(), 300, false);
|
|
29
29
|
this._id = Generate.UID();
|
|
30
|
+
this.tempId = Generate.UID();
|
|
30
31
|
this.type = Bcm.ListType.listbox;
|
|
31
32
|
this.treeview = false;
|
|
32
33
|
this.checkboxes = false;
|
|
@@ -145,12 +146,12 @@ export class BcmList {
|
|
|
145
146
|
}
|
|
146
147
|
async componentDidLoad() {
|
|
147
148
|
await this.initState();
|
|
148
|
-
if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
149
|
+
// if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
|
|
150
|
+
// const list = this.el.querySelector(`#bcm-list-${this._id}`);
|
|
151
|
+
// if (list) {
|
|
152
|
+
// document.body.appendChild(list);
|
|
153
|
+
// }
|
|
154
|
+
// }
|
|
154
155
|
}
|
|
155
156
|
disconnectedCallback() {
|
|
156
157
|
this.isOpen = false;
|
|
@@ -200,6 +201,14 @@ export class BcmList {
|
|
|
200
201
|
}
|
|
201
202
|
async handleOpen() {
|
|
202
203
|
if (this.isOpen) {
|
|
204
|
+
this.detectClone();
|
|
205
|
+
if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
|
|
206
|
+
const list = this.el.querySelector(`#bcm-list-${this._id}`);
|
|
207
|
+
if (list) {
|
|
208
|
+
const bcmOverlayContainer = document.querySelector("#bcm-overlay-container");
|
|
209
|
+
bcmOverlayContainer.appendChild(list);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
203
212
|
this.open.emit();
|
|
204
213
|
this.calculateLocation();
|
|
205
214
|
this.onSelectSearch();
|
|
@@ -489,6 +498,18 @@ export class BcmList {
|
|
|
489
498
|
await delay(10);
|
|
490
499
|
return Promise.resolve();
|
|
491
500
|
}
|
|
501
|
+
detectClone() {
|
|
502
|
+
const list = document.querySelectorAll(`#bcm-list-${this._id}`);
|
|
503
|
+
if (list.length > 0) {
|
|
504
|
+
list.forEach((item) => {
|
|
505
|
+
const tempid = item.getAttribute("temp-id");
|
|
506
|
+
if (tempid !== `bcm-list-${this.tempId}`) {
|
|
507
|
+
console.warn(`[bcm-list] - Detected duplicate temp-id="${tempid}"`);
|
|
508
|
+
item.remove();
|
|
509
|
+
}
|
|
510
|
+
});
|
|
511
|
+
}
|
|
512
|
+
}
|
|
492
513
|
async show() {
|
|
493
514
|
this.isOpen = true;
|
|
494
515
|
return Promise.resolve();
|
|
@@ -759,7 +780,7 @@ export class BcmList {
|
|
|
759
780
|
"--min-height": openedType ? "inherit" : this.minHeight,
|
|
760
781
|
} }, h("div", { id: `bcm-list-label-${this._id}`, class: "bcm-list__label" }, label && (h("div", null, h("bcm-label", { tooltip: this.tooltip, 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: cs("bcm-list__input-container", { "type-single": !checkboxes, "value-empty": !this.value }) }, this.checkboxes ? (this.value && this.value.length > 0 ? (h("bcm-rc-overflow", { data: this.tagData, maxCount: this.tagCount })) : (h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))) : this.value ? (this.inputText) : (h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))), h("span", { class: cs("bcm-list__input-buttons", {
|
|
761
782
|
disabled: disabled,
|
|
762
|
-
}) }, 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: cs(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, minSearchLength: this.minSearchLength, 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, handleTransitionEnd: e => this.handleTransitionEnd(e) }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
|
|
783
|
+
}) }, 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: cs(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, minSearchLength: this.minSearchLength, searchIsOnlyChilds: this.searchIsOnlyChilds, _id: this._id, tempId: this.tempId, 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, handleTransitionEnd: e => this.handleTransitionEnd(e) }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
|
|
763
784
|
}
|
|
764
785
|
static get is() { return "bcm-list"; }
|
|
765
786
|
static get originalStyleUrls() {
|
|
@@ -792,6 +813,24 @@ export class BcmList {
|
|
|
792
813
|
"reflect": true,
|
|
793
814
|
"defaultValue": "Generate.UID()"
|
|
794
815
|
},
|
|
816
|
+
"tempId": {
|
|
817
|
+
"type": "string",
|
|
818
|
+
"mutable": false,
|
|
819
|
+
"complexType": {
|
|
820
|
+
"original": "string",
|
|
821
|
+
"resolved": "string",
|
|
822
|
+
"references": {}
|
|
823
|
+
},
|
|
824
|
+
"required": false,
|
|
825
|
+
"optional": false,
|
|
826
|
+
"docs": {
|
|
827
|
+
"tags": [],
|
|
828
|
+
"text": ""
|
|
829
|
+
},
|
|
830
|
+
"attribute": "temp-id",
|
|
831
|
+
"reflect": true,
|
|
832
|
+
"defaultValue": "Generate.UID()"
|
|
833
|
+
},
|
|
795
834
|
"type": {
|
|
796
835
|
"type": "string",
|
|
797
836
|
"mutable": true,
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
|
|
2
2
|
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap");
|
|
3
|
-
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap");
|
|
4
|
-
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap");
|
|
5
3
|
.size-1 {
|
|
6
4
|
font-size: 12px;
|
|
7
5
|
line-height: 20px;
|
|
@@ -125,93 +123,6 @@
|
|
|
125
123
|
margin-right: 8px;
|
|
126
124
|
}
|
|
127
125
|
|
|
128
|
-
* {
|
|
129
|
-
box-sizing: border-box;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.bcm-caption-area {
|
|
133
|
-
font-family: "Inter", sans-serif;
|
|
134
|
-
font-size: 14px;
|
|
135
|
-
line-height: calc(14px + 8px);
|
|
136
|
-
font-weight: 400;
|
|
137
|
-
font-size: 12px;
|
|
138
|
-
line-height: calc(12px + 8px);
|
|
139
|
-
color: var(--bcm-new-ds-color-slate-400);
|
|
140
|
-
display: flex;
|
|
141
|
-
flex-direction: row;
|
|
142
|
-
align-items: flex-start;
|
|
143
|
-
justify-content: space-between;
|
|
144
|
-
flex-wrap: nowrap;
|
|
145
|
-
margin-top: 2px;
|
|
146
|
-
}
|
|
147
|
-
.bcm-caption-area__text {
|
|
148
|
-
color: var(--bcm-new-ds-color-slate-400);
|
|
149
|
-
}
|
|
150
|
-
.bcm-caption-area__text.default {
|
|
151
|
-
color: var(--bcm-new-ds-color-slate-400);
|
|
152
|
-
}
|
|
153
|
-
.bcm-caption-area__text.info {
|
|
154
|
-
color: var(--bcm-new-ds-color-blue-500);
|
|
155
|
-
}
|
|
156
|
-
.bcm-caption-area__text.success {
|
|
157
|
-
color: var(--bcm-new-ds-color-emerald-500);
|
|
158
|
-
}
|
|
159
|
-
.bcm-caption-area__text.warning {
|
|
160
|
-
color: var(--bcm-new-ds-color-amber-500);
|
|
161
|
-
}
|
|
162
|
-
.bcm-caption-area__text.error {
|
|
163
|
-
color: var(--bcm-new-ds-color-red-500);
|
|
164
|
-
}
|
|
165
|
-
.bcm-caption-area__size-small {
|
|
166
|
-
font-size: 10px;
|
|
167
|
-
line-height: calc(10px + 8px);
|
|
168
|
-
min-height: calc(10px + 8px);
|
|
169
|
-
}
|
|
170
|
-
.bcm-caption-area__size-medium {
|
|
171
|
-
font-size: 12px;
|
|
172
|
-
line-height: calc(12px + 8px);
|
|
173
|
-
min-height: calc(12px + 8px);
|
|
174
|
-
}
|
|
175
|
-
.bcm-caption-area__size-large {
|
|
176
|
-
font-size: 14px;
|
|
177
|
-
line-height: calc(14px + 8px);
|
|
178
|
-
min-height: calc(14px + 8px);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
* {
|
|
182
|
-
box-sizing: border-box;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.bcm-label {
|
|
186
|
-
display: inline-flex;
|
|
187
|
-
align-items: flex-start;
|
|
188
|
-
grid-gap: 2px;
|
|
189
|
-
}
|
|
190
|
-
.bcm-label__text {
|
|
191
|
-
margin-bottom: 2px;
|
|
192
|
-
font-family: "Inter", sans-serif;
|
|
193
|
-
font-size: 14px;
|
|
194
|
-
line-height: calc(14px + 8px);
|
|
195
|
-
font-weight: 400;
|
|
196
|
-
display: inline-block;
|
|
197
|
-
color: var(--bcm-new-ds-color-slate-600);
|
|
198
|
-
}
|
|
199
|
-
.bcm-label__size-small {
|
|
200
|
-
font-size: 10px;
|
|
201
|
-
line-height: calc(10px + 8px);
|
|
202
|
-
min-height: calc(10px + 8px);
|
|
203
|
-
}
|
|
204
|
-
.bcm-label__size-medium {
|
|
205
|
-
font-size: 12px;
|
|
206
|
-
line-height: calc(12px + 8px);
|
|
207
|
-
min-height: calc(12px + 8px);
|
|
208
|
-
}
|
|
209
|
-
.bcm-label__size-large {
|
|
210
|
-
font-size: 14px;
|
|
211
|
-
line-height: calc(14px + 8px);
|
|
212
|
-
min-height: calc(14px + 8px);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
126
|
.bcm-input[no-margin] {
|
|
216
127
|
margin: 0;
|
|
217
128
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
|
|
2
2
|
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap");
|
|
3
|
-
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap");
|
|
4
|
-
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap");
|
|
5
3
|
.size-1 {
|
|
6
4
|
font-size: 12px;
|
|
7
5
|
line-height: 20px;
|
|
@@ -125,93 +123,6 @@
|
|
|
125
123
|
margin-right: 8px;
|
|
126
124
|
}
|
|
127
125
|
|
|
128
|
-
* {
|
|
129
|
-
box-sizing: border-box;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.bcm-caption-area {
|
|
133
|
-
font-family: "Inter", sans-serif;
|
|
134
|
-
font-size: 14px;
|
|
135
|
-
line-height: calc(14px + 8px);
|
|
136
|
-
font-weight: 400;
|
|
137
|
-
font-size: 12px;
|
|
138
|
-
line-height: calc(12px + 8px);
|
|
139
|
-
color: var(--bcm-new-ds-color-slate-400);
|
|
140
|
-
display: flex;
|
|
141
|
-
flex-direction: row;
|
|
142
|
-
align-items: flex-start;
|
|
143
|
-
justify-content: space-between;
|
|
144
|
-
flex-wrap: nowrap;
|
|
145
|
-
margin-top: 2px;
|
|
146
|
-
}
|
|
147
|
-
.bcm-caption-area__text {
|
|
148
|
-
color: var(--bcm-new-ds-color-slate-400);
|
|
149
|
-
}
|
|
150
|
-
.bcm-caption-area__text.default {
|
|
151
|
-
color: var(--bcm-new-ds-color-slate-400);
|
|
152
|
-
}
|
|
153
|
-
.bcm-caption-area__text.info {
|
|
154
|
-
color: var(--bcm-new-ds-color-blue-500);
|
|
155
|
-
}
|
|
156
|
-
.bcm-caption-area__text.success {
|
|
157
|
-
color: var(--bcm-new-ds-color-emerald-500);
|
|
158
|
-
}
|
|
159
|
-
.bcm-caption-area__text.warning {
|
|
160
|
-
color: var(--bcm-new-ds-color-amber-500);
|
|
161
|
-
}
|
|
162
|
-
.bcm-caption-area__text.error {
|
|
163
|
-
color: var(--bcm-new-ds-color-red-500);
|
|
164
|
-
}
|
|
165
|
-
.bcm-caption-area__size-small {
|
|
166
|
-
font-size: 10px;
|
|
167
|
-
line-height: calc(10px + 8px);
|
|
168
|
-
min-height: calc(10px + 8px);
|
|
169
|
-
}
|
|
170
|
-
.bcm-caption-area__size-medium {
|
|
171
|
-
font-size: 12px;
|
|
172
|
-
line-height: calc(12px + 8px);
|
|
173
|
-
min-height: calc(12px + 8px);
|
|
174
|
-
}
|
|
175
|
-
.bcm-caption-area__size-large {
|
|
176
|
-
font-size: 14px;
|
|
177
|
-
line-height: calc(14px + 8px);
|
|
178
|
-
min-height: calc(14px + 8px);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
* {
|
|
182
|
-
box-sizing: border-box;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.bcm-label {
|
|
186
|
-
display: inline-flex;
|
|
187
|
-
align-items: flex-start;
|
|
188
|
-
grid-gap: 2px;
|
|
189
|
-
}
|
|
190
|
-
.bcm-label__text {
|
|
191
|
-
margin-bottom: 2px;
|
|
192
|
-
font-family: "Inter", sans-serif;
|
|
193
|
-
font-size: 14px;
|
|
194
|
-
line-height: calc(14px + 8px);
|
|
195
|
-
font-weight: 400;
|
|
196
|
-
display: inline-block;
|
|
197
|
-
color: var(--bcm-new-ds-color-slate-600);
|
|
198
|
-
}
|
|
199
|
-
.bcm-label__size-small {
|
|
200
|
-
font-size: 10px;
|
|
201
|
-
line-height: calc(10px + 8px);
|
|
202
|
-
min-height: calc(10px + 8px);
|
|
203
|
-
}
|
|
204
|
-
.bcm-label__size-medium {
|
|
205
|
-
font-size: 12px;
|
|
206
|
-
line-height: calc(12px + 8px);
|
|
207
|
-
min-height: calc(12px + 8px);
|
|
208
|
-
}
|
|
209
|
-
.bcm-label__size-large {
|
|
210
|
-
font-size: 14px;
|
|
211
|
-
line-height: calc(14px + 8px);
|
|
212
|
-
min-height: calc(14px + 8px);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
126
|
.bcm-input[no-margin] {
|
|
216
127
|
margin: 0;
|
|
217
128
|
}
|
|
@@ -15,7 +15,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
15
15
|
import { IsLoad } from "@bcm/decorator";
|
|
16
16
|
import { Generate } from "@bcm/helpers";
|
|
17
17
|
import { Bcm } from "@bcm/model";
|
|
18
|
-
import { CaptionTemplate
|
|
18
|
+
import { CaptionTemplate } from "@bcm/template";
|
|
19
19
|
import { Host, h } from "@stencil/core";
|
|
20
20
|
import cs from "classnames";
|
|
21
21
|
import moment from "moment";
|
|
@@ -28,13 +28,15 @@ export class BcmDate {
|
|
|
28
28
|
// type a göre format belirleme işlemi
|
|
29
29
|
this.getFormat = () => {
|
|
30
30
|
if (!this.format) {
|
|
31
|
+
const hourFormat = this.use12Hours ? "hh" : "HH";
|
|
32
|
+
const timeFormat = `${this.showSecond ? `${hourFormat}:mm:ss` : this.showMinute ? `${hourFormat}:mm` : `${hourFormat}`}${this.use12Hours ? " a" : ""}`;
|
|
31
33
|
switch (this.type) {
|
|
32
34
|
case "time":
|
|
33
|
-
return
|
|
35
|
+
return `${timeFormat}`;
|
|
34
36
|
case "date":
|
|
35
37
|
return "DD/MM/YYYY";
|
|
36
38
|
case "datetime":
|
|
37
|
-
return
|
|
39
|
+
return `DD/MM/YYYY ${timeFormat}`;
|
|
38
40
|
case "week":
|
|
39
41
|
return "YYYY-wo";
|
|
40
42
|
case "month":
|
|
@@ -149,7 +151,7 @@ export class BcmDate {
|
|
|
149
151
|
return (h(Host, { class: cs("bcm-ui-element bcm-ui-input", "tw-relative tw-m-0 tw-inline-flex tw-w-full tw-flex-col", {
|
|
150
152
|
"tw-max-w-[256px]": !this.fullWidth,
|
|
151
153
|
"tw-mb-2": !this.noMargin,
|
|
152
|
-
}) }, label && h(
|
|
154
|
+
}) }, label && h("bcm-label", { size: size, type: captionType, value: label, required: required, htmlFor: _id }), h("bcm-rc-picker", { id: _id + "-picker", class: cs("w-full tw-flex"), onBcmRCPickerChange: e => this.onChange(e), disabled: this.disabled, clearable: this.clearable, size: size, placeholder: this.placeholder, error: this.captionType === "error", type: this.type, format: this.getFormat(), range: this.range, showToday: this.showToday, disabledDates: this.disabledDates, showTime: this.showTime, showNow: this.showNow, showHour: this.showHour, showMinute: this.showMinute, showSecond: this.showSecond, use12Hours: this.use12Hours, hourStep: this.hourStep, minuteStep: this.minuteStep, secondStep: this.secondStep, hideDisabledOptions: this.hideDisabledOptions, disabledTime: this.disabledTime }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
|
|
153
155
|
}
|
|
154
156
|
static get is() { return "bcm-date"; }
|
|
155
157
|
static get properties() {
|
|
@@ -585,7 +587,7 @@ export class BcmDate {
|
|
|
585
587
|
"tags": [],
|
|
586
588
|
"text": ""
|
|
587
589
|
},
|
|
588
|
-
"attribute": "use-
|
|
590
|
+
"attribute": "use-12-hours",
|
|
589
591
|
"reflect": false,
|
|
590
592
|
"defaultValue": "false"
|
|
591
593
|
},
|