bromcom-ui 2.11.2-test.0 → 2.12.0-test.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-c49b6287.entry.js → p-01416407.entry.js} +1 -1
- package/dist/bromcom-ui/p-0389b380.js +5 -0
- package/dist/bromcom-ui/p-055b38fd.entry.js +5 -0
- package/dist/bromcom-ui/{p-0cd4e8a1.entry.js → p-0a3d3b7d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8b3eafe7.entry.js → p-13eeb974.entry.js} +1 -1
- package/dist/bromcom-ui/{p-75e4f799.entry.js → p-158245f6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a42fbe84.entry.js → p-183bc78f.entry.js} +1 -1
- package/dist/bromcom-ui/p-19e378e2.entry.js +5 -0
- package/dist/bromcom-ui/p-1a53401f.entry.js +5 -0
- package/dist/bromcom-ui/{p-f2e06aca.entry.js → p-1b2e1320.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ef4baf81.entry.js → p-1c404cc8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fc27c9ca.entry.js → p-1d48da4b.entry.js} +1 -1
- package/dist/bromcom-ui/p-1d96b6d6.entry.js +5 -0
- package/dist/bromcom-ui/p-22a0e447.entry.js +5 -0
- package/dist/bromcom-ui/p-28d0fb9d.entry.js +5 -0
- package/dist/bromcom-ui/{p-e8eaa3bb.entry.js → p-28f78dd4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a6aa173f.entry.js → p-3078fcd2.entry.js} +1 -1
- package/dist/bromcom-ui/p-310cab1a.js +14 -0
- package/dist/bromcom-ui/p-3182df7e.js +10 -0
- package/dist/bromcom-ui/{p-4757735e.js → p-350e752d.js} +1 -1
- package/dist/bromcom-ui/{p-50926f4c.entry.js → p-3917a612.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1b558b0f.entry.js → p-3960cae8.entry.js} +1 -1
- package/dist/bromcom-ui/p-39ae1e94.entry.js +5 -0
- package/dist/bromcom-ui/{p-59f7fa84.entry.js → p-3a06c6b1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d51f76b2.js → p-3ea2dda1.js} +1 -1
- package/dist/bromcom-ui/p-3f1e16ee.entry.js +5 -0
- package/dist/bromcom-ui/p-3f2cf69e.entry.js +5 -0
- package/dist/bromcom-ui/p-40584ce5.entry.js +5 -0
- package/dist/bromcom-ui/{p-2270e612.entry.js → p-4364285a.entry.js} +1 -1
- package/dist/bromcom-ui/p-4680865d.js +5 -0
- package/dist/bromcom-ui/{p-195c1819.entry.js → p-475d306a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ccbb5a6b.js → p-482054dc.js} +1 -1
- package/dist/bromcom-ui/p-4adb8c83.entry.js +5 -0
- package/dist/bromcom-ui/p-4d189e27.entry.js +5 -0
- package/dist/bromcom-ui/{p-d01426b6.entry.js → p-4e33341b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b12c8235.js → p-4ebb85f9.js} +1 -1
- package/dist/bromcom-ui/p-516eb821.entry.js +5 -0
- package/dist/bromcom-ui/{p-270e1b24.entry.js → p-59294a5a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-69c64256.entry.js → p-5c1af163.entry.js} +1 -1
- package/dist/bromcom-ui/{p-543457d1.entry.js → p-5d45ff27.entry.js} +1 -1
- package/dist/bromcom-ui/p-626a65e9.js +5 -0
- package/dist/bromcom-ui/{p-79153d4a.entry.js → p-65511654.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a0d6d680.js → p-6b5ed4d8.js} +1 -1
- package/dist/bromcom-ui/{p-9098db35.entry.js → p-7237c3e9.entry.js} +1 -1
- package/dist/bromcom-ui/p-72d4ced8.entry.js +5 -0
- package/dist/bromcom-ui/p-74252264.entry.js +5 -0
- package/dist/bromcom-ui/p-76edf59f.js +7 -0
- package/dist/bromcom-ui/p-7942e17a.entry.js +5 -0
- package/dist/bromcom-ui/{p-b3f7b64d.entry.js → p-7bc49347.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f9b59bcc.entry.js → p-7edab876.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d59d9687.entry.js → p-7f1612df.entry.js} +1 -1
- package/dist/bromcom-ui/{p-61753299.js → p-816fbffd.js} +1 -1
- package/dist/bromcom-ui/{p-3b38d001.js → p-83882081.js} +1 -1
- package/dist/bromcom-ui/{p-86384d20.entry.js → p-85371fa1.entry.js} +1 -1
- package/dist/bromcom-ui/p-862e5ce9.js +5 -0
- package/dist/bromcom-ui/{p-32c55505.entry.js → p-8c3535b6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4393b33e.entry.js → p-903d62ff.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9589f69c.entry.js → p-91873347.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f7e70814.entry.js → p-91f15c4d.entry.js} +1 -1
- package/dist/bromcom-ui/p-965ef00a.entry.js +5 -0
- package/dist/bromcom-ui/p-9d95be18.entry.js +5 -0
- package/dist/bromcom-ui/{p-ab2dcd70.entry.js → p-9ea56166.entry.js} +1 -1
- package/dist/bromcom-ui/p-9f688a29.entry.js +5 -0
- package/dist/bromcom-ui/{p-666d9883.entry.js → p-a366357e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5196912d.js → p-a8fd6d69.js} +1 -1
- package/dist/bromcom-ui/{p-b85fd5f4.entry.js → p-af4a83dc.entry.js} +1 -1
- package/dist/bromcom-ui/p-afb1e0ae.entry.js +5 -0
- package/dist/bromcom-ui/{p-ad8d9e10.entry.js → p-b1f75abe.entry.js} +1 -1
- package/dist/bromcom-ui/{p-77b1dbdd.entry.js → p-b284e383.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9b59c689.entry.js → p-b3fe26a3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-77ef609e.entry.js → p-ba3c6657.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6c6beb41.entry.js → p-bc0eb2d3.entry.js} +1 -1
- package/dist/bromcom-ui/{p-80a43d63.js → p-bc668762.js} +1 -1
- package/dist/bromcom-ui/{p-09318a64.js → p-be7e5e83.js} +1 -1
- package/dist/bromcom-ui/p-bed627ab.js +11 -0
- package/dist/bromcom-ui/p-c2ef6353.entry.js +5 -0
- package/dist/bromcom-ui/p-c5a06d3a.entry.js +5 -0
- package/dist/bromcom-ui/{p-34740cfd.entry.js → p-c7be0488.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b6e6027b.entry.js → p-c821b3bf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-894c02ef.entry.js → p-ca5073d9.entry.js} +1 -1
- package/dist/bromcom-ui/p-cce4fa10.entry.js +5 -0
- package/dist/bromcom-ui/{p-f6169b46.js → p-cd2293b7.js} +1 -1
- package/dist/bromcom-ui/{p-8b6d3a37.js → p-d2f863d9.js} +1 -1
- package/dist/bromcom-ui/p-d36d96af.entry.js +5 -0
- package/dist/bromcom-ui/{p-c6b86846.entry.js → p-d40c26fb.entry.js} +1 -1
- package/dist/bromcom-ui/p-d60c61e8.entry.js +5 -0
- package/dist/bromcom-ui/p-db8aceb9.entry.js +5 -0
- package/dist/bromcom-ui/{p-a486613b.entry.js → p-df185078.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6657830f.js → p-e45c1546.js} +1 -1
- package/dist/bromcom-ui/{p-70c2412a.entry.js → p-e4a2f8f8.entry.js} +1 -1
- package/dist/bromcom-ui/p-e60832d7.entry.js +5 -0
- package/dist/bromcom-ui/p-e8962d4b.entry.js +5 -0
- package/dist/bromcom-ui/p-ec9b0de4.entry.js +5 -0
- package/dist/bromcom-ui/{p-00c28e19.entry.js → p-ef440eba.entry.js} +1 -1
- package/dist/bromcom-ui/p-efd00594.entry.js +5 -0
- package/dist/bromcom-ui/{p-207c20c6.entry.js → p-f144de37.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fc787048.entry.js → p-f1550bf5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-695d8d34.entry.js → p-fa5ecfb2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-beaec5b8.js → p-fcc6f71e.js} +1 -1
- package/dist/bromcom-ui/p-fd8a6bb8.entry.js +5 -0
- package/dist/bromcom-ui/p-fdd5d6bb.entry.js +5 -0
- package/dist/bromcom-ui/p-fe39eea8.js +5 -0
- package/dist/bromcom-ui/{p-b66e0388.entry.js → p-fe675eea.entry.js} +1 -1
- package/dist/cjs/Overflow-7a86d378.js +2233 -0
- package/dist/cjs/bcm-accordion.cjs.entry.js +3 -3
- package/dist/cjs/bcm-alert.cjs.entry.js +3 -3
- package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +7 -6
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +7 -6
- package/dist/cjs/bcm-attendance-actions.cjs.entry.js +7 -6
- package/dist/cjs/bcm-attendance.cjs.entry.js +3 -3
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +7 -6
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/bcm-button-group.cjs.entry.js +3 -3
- package/dist/cjs/bcm-button_11.cjs.entry.js +3340 -0
- package/dist/cjs/bcm-caption.cjs.entry.js +7 -6
- package/dist/cjs/bcm-card.cjs.entry.js +4 -4
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +3 -3
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +3 -3
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +4 -4
- package/dist/cjs/bcm-chip-group.cjs.entry.js +7 -6
- package/dist/cjs/bcm-chip.cjs.entry.js +4 -4
- package/dist/cjs/bcm-collapse.cjs.entry.js +3 -3
- package/dist/cjs/bcm-color-input.cjs.entry.js +7 -6
- package/dist/cjs/bcm-date-picker.cjs.entry.js +182 -0
- package/dist/cjs/bcm-date.cjs.entry.js +182 -0
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +1450 -0
- package/dist/cjs/bcm-default.cjs.entry.js +3 -3
- package/dist/cjs/bcm-drawer.cjs.entry.js +7 -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 +213 -0
- package/dist/cjs/bcm-input-custom.cjs.entry.js +3 -3
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +7 -6
- package/dist/cjs/bcm-item.cjs.entry.js +4 -4
- package/dist/cjs/bcm-items.cjs.entry.js +3 -3
- package/dist/cjs/bcm-list_3.cjs.entry.js +21 -19
- package/dist/cjs/bcm-menu.cjs.entry.js +8 -7
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +7 -6
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +7 -6
- package/dist/cjs/bcm-modal-2.cjs.entry.js +7 -6
- package/dist/cjs/bcm-modal.cjs.entry.js +3 -3
- package/dist/cjs/bcm-old-input.cjs.entry.js +397 -0
- package/dist/cjs/bcm-overlay_2.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +4 -4
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +3 -3
- package/dist/cjs/bcm-popover.cjs.entry.js +7 -6
- package/dist/cjs/bcm-progress.cjs.entry.js +4 -4
- package/dist/cjs/bcm-radio-group.cjs.entry.js +7 -6
- package/dist/cjs/bcm-radio.cjs.entry.js +8 -7
- package/dist/cjs/bcm-range.cjs.entry.js +3 -3
- package/dist/cjs/bcm-rc-picker.cjs.entry.js +9986 -0
- package/dist/cjs/bcm-shortcut.cjs.entry.js +7 -6
- package/dist/cjs/bcm-skeleton.cjs.entry.js +7 -6
- package/dist/cjs/bcm-step.cjs.entry.js +4 -4
- package/dist/cjs/bcm-stepper.cjs.entry.js +8 -7
- package/dist/cjs/bcm-switch.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tab-group.cjs.entry.js +7 -6
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +7 -6
- package/dist/cjs/bcm-tab-item.cjs.entry.js +7 -6
- package/dist/cjs/bcm-table.cjs.entry.js +7 -6
- package/dist/cjs/bcm-tag.cjs.entry.js +4 -4
- package/dist/cjs/bcm-text.cjs.entry.js +2 -2
- package/dist/cjs/bcm-textarea.cjs.entry.js +4 -4
- package/dist/cjs/bcm-time-picker.cjs.entry.js +150 -0
- package/dist/cjs/bcm-toast.cjs.entry.js +3 -3
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/{color-helper-c3a819ea.js → color-helper-dc98a2ca.js} +1 -1
- package/dist/cjs/{colors-078851ec.js → colors-250d0982.js} +13 -7
- package/dist/cjs/datetime-helper-eaf4fadb.js +11 -0
- package/dist/cjs/{generate-64f84d95.js → generate-acac74ce.js} +2 -2
- package/dist/cjs/{global-895f2946.js → global-47ad6c93.js} +1 -1
- package/dist/cjs/{Overflow-a821abd0.js → index-e05a7c6f.js} +87 -2311
- package/dist/cjs/{input-template-9c106337.js → input-template-b836720c.js} +1 -1
- package/dist/cjs/{json-parse-decarator-9db107be.js → json-parse-decarator-b8367488.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/moment-d06b012f.js +4601 -0
- package/dist/cjs/{number-helper-f9323233.js → number-helper-fb148ed6.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +4 -4
- package/dist/cjs/old-bcm-popover.cjs.entry.js +3 -3
- package/dist/cjs/{package-992c024f.js → package-c5399090.js} +1 -1
- package/dist/cjs/{stepper-states-b3496b3f.js → stepper-states-17562587.js} +1 -1
- package/dist/cjs/{tooltip-helper-cb99c02e.js → tooltip-helper-41b2fcd0.js} +5 -4
- package/dist/cjs/{validators-abb0434a.js → validators-a7c046d5.js} +1 -6
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/molecules/input/input.style.js +117 -0
- package/dist/collection/components/molecules/input/input2.js +918 -0
- package/dist/collection/components/molecules/number-input/number-input.js +777 -96
- package/dist/collection/components/molecules/number-input/react-input.js +96 -0
- package/dist/collection/components/molecules/radio/radio.js +1 -1
- package/dist/collection/components/organism/form/form.js +2 -2
- package/dist/collection/components/organism/form-2/bcm-form-components.js +2 -1
- package/dist/components/bcm-form-2.js +2 -1
- package/dist/components/bcm-input-2.d.ts +11 -0
- package/dist/components/bcm-input-2.js +225 -0
- package/dist/components/bcm-number-input.js +295 -79
- package/dist/components/bcm-react-number.d.ts +11 -0
- package/dist/components/bcm-react-number.js +10 -0
- package/dist/components/colors2.js +13 -7
- package/dist/components/form.js +2 -2
- package/dist/components/generate.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/input.style.js +120 -0
- package/dist/components/radio.js +1 -1
- package/dist/components/react-input.js +1242 -0
- package/dist/esm/Overflow-32a0ec34.js +2217 -0
- package/dist/esm/{_commonjsHelpers-82aa9212.js → _commonjsHelpers-be0d4ec8.js} +1 -1
- package/dist/esm/bcm-accordion.entry.js +4 -4
- package/dist/esm/bcm-alert.entry.js +6 -6
- package/dist/esm/bcm-attendance-actions-comment.entry.js +9 -8
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +10 -9
- package/dist/esm/bcm-attendance-actions.entry.js +10 -9
- package/dist/esm/bcm-attendance.entry.js +4 -4
- package/dist/esm/bcm-autocomplete.entry.js +2 -2
- package/dist/esm/bcm-avatar_2.entry.js +9 -8
- package/dist/esm/bcm-breadcrumb.entry.js +5 -5
- package/dist/esm/bcm-button-group.entry.js +6 -6
- package/dist/esm/bcm-button_11.entry.js +3326 -0
- package/dist/esm/bcm-caption.entry.js +11 -10
- package/dist/esm/bcm-card.entry.js +8 -8
- package/dist/esm/bcm-checkbox-group.entry.js +6 -6
- package/dist/esm/bcm-checkbox-lite_9.entry.js +5 -5
- package/dist/esm/bcm-checkbox_2.entry.js +9 -9
- package/dist/esm/bcm-chip-group.entry.js +12 -11
- package/dist/esm/bcm-chip.entry.js +6 -6
- package/dist/esm/bcm-collapse.entry.js +6 -6
- package/dist/esm/bcm-color-input.entry.js +9 -8
- package/dist/esm/bcm-colorpicker.entry.js +2 -2
- package/dist/esm/bcm-date-picker.entry.js +178 -0
- package/dist/esm/bcm-date.entry.js +178 -0
- package/dist/esm/bcm-datetime-picker.entry.js +1446 -0
- package/dist/esm/bcm-default.entry.js +4 -4
- package/dist/esm/bcm-drawer.entry.js +10 -9
- package/dist/esm/bcm-dropdown.entry.js +6 -6
- package/dist/esm/bcm-error-layout.entry.js +2 -2
- package/dist/esm/bcm-expansion-panel.entry.js +7 -7
- package/dist/esm/bcm-form-2.entry.js +209 -0
- package/dist/esm/bcm-input-custom.entry.js +5 -5
- package/dist/esm/bcm-input-dropdown.entry.js +11 -10
- package/dist/esm/bcm-item.entry.js +6 -6
- package/dist/esm/bcm-items.entry.js +5 -5
- package/dist/esm/bcm-link.entry.js +2 -2
- package/dist/esm/bcm-list_3.entry.js +16 -14
- package/dist/esm/bcm-menu.entry.js +11 -10
- package/dist/esm/bcm-message.entry.js +2 -2
- package/dist/esm/bcm-modal-2-footer.entry.js +10 -9
- package/dist/esm/bcm-modal-2-header.entry.js +9 -8
- package/dist/esm/bcm-modal-2.entry.js +10 -9
- package/dist/esm/bcm-modal.entry.js +7 -7
- package/dist/esm/bcm-notification.entry.js +2 -2
- package/dist/esm/bcm-old-input.entry.js +393 -0
- package/dist/esm/bcm-old-tag_2.entry.js +2 -2
- package/dist/esm/bcm-overlay_2.entry.js +3 -3
- package/dist/esm/bcm-popconfirm-box.entry.js +8 -8
- package/dist/esm/bcm-popconfirm.entry.js +5 -5
- package/dist/esm/bcm-popover.entry.js +9 -8
- package/dist/esm/bcm-progress.entry.js +6 -6
- package/dist/esm/bcm-radio-group.entry.js +11 -10
- package/dist/esm/bcm-radio.entry.js +11 -10
- package/dist/esm/bcm-range.entry.js +5 -5
- package/dist/esm/{bcm-button_15.entry.js → bcm-rc-picker.entry.js} +9 -8632
- package/dist/esm/bcm-result.entry.js +2 -2
- package/dist/esm/bcm-select-group.entry.js +2 -2
- package/dist/esm/bcm-select-option.entry.js +2 -2
- package/dist/esm/bcm-select.entry.js +3 -3
- package/dist/esm/bcm-shortcut.entry.js +10 -9
- package/dist/esm/bcm-skeleton.entry.js +9 -8
- package/dist/esm/bcm-step.entry.js +6 -6
- package/dist/esm/bcm-stepper.entry.js +11 -10
- package/dist/esm/bcm-switch.entry.js +6 -6
- package/dist/esm/bcm-tab-group.entry.js +9 -8
- package/dist/esm/bcm-tab-item-header.entry.js +10 -9
- package/dist/esm/bcm-tab-item.entry.js +9 -8
- package/dist/esm/bcm-tab-pane.entry.js +2 -2
- package/dist/esm/bcm-tab.entry.js +2 -2
- package/dist/esm/bcm-table.entry.js +10 -9
- package/dist/esm/bcm-tabs-content.entry.js +2 -2
- package/dist/esm/bcm-tabs.entry.js +2 -2
- package/dist/esm/bcm-tag.entry.js +6 -6
- package/dist/esm/bcm-text.entry.js +6 -6
- package/dist/esm/bcm-textarea.entry.js +7 -7
- package/dist/esm/bcm-time-picker.entry.js +146 -0
- package/dist/esm/bcm-timeline-item.entry.js +2 -2
- package/dist/esm/bcm-timeline.entry.js +2 -2
- package/dist/esm/bcm-toast.entry.js +6 -6
- package/dist/esm/bromcom-ui.js +3 -3
- package/dist/esm/{caption-template-fd7738eb.js → caption-template-5c43c733.js} +1 -1
- package/dist/esm/{color-helper-3b528349.js → color-helper-c0bb1d8a.js} +1 -1
- package/dist/esm/{colors-c530a5b8.js → colors-df32bb43.js} +14 -8
- package/dist/esm/datetime-helper-df25808a.js +9 -0
- package/dist/esm/{generate-56856b63.js → generate-a1817b7f.js} +2 -2
- package/dist/esm/{global-c0272f2f.js → global-26b8ded6.js} +1 -1
- package/dist/esm/{Overflow-2cffcda0.js → index-a6d9d0af.js} +89 -2298
- package/dist/esm/{index-f549811f.js → index-b84bc8c9.js} +1 -1
- package/dist/esm/{input-template-19a34625.js → input-template-c8611096.js} +2 -2
- package/dist/esm/{json-parse-decarator-c9a132f1.js → json-parse-decarator-b230fb3b.js} +1 -1
- package/dist/esm/{label-template-374fbdcd.js → label-template-c15569c4.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{lodash-4197be99.js → lodash-0a4396a7.js} +1 -1
- package/dist/esm/moment-15cd9198.js +4598 -0
- package/dist/esm/{number-helper-0501b786.js → number-helper-ccf5aba4.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +8 -8
- package/dist/esm/old-bcm-popover.entry.js +5 -5
- package/dist/esm/{package-a9b6e2c6.js → package-5d20a20d.js} +1 -1
- package/dist/esm/{popover-placement-d12fec40.js → popover-placement-2f5939ea.js} +1 -1
- package/dist/esm/{slot-template-2a19b2db.js → slot-template-7c36d3be.js} +1 -1
- package/dist/esm/{stepper-states-a4b1efb3.js → stepper-states-38388dc9.js} +1 -1
- package/dist/esm/{string-helper-3592bdc2.js → string-helper-85990695.js} +1 -1
- package/dist/esm/{tooltip-helper-de7eb9a3.js → tooltip-helper-e4eb77cc.js} +6 -5
- package/dist/esm/{validators-be951131.js → validators-e63fdc75.js} +2 -6
- package/dist/types/components/molecules/input/input.style.d.ts +576 -0
- package/dist/types/components/molecules/input/input2.d.ts +64 -0
- package/dist/types/components/molecules/number-input/number-input.d.ts +66 -17
- package/dist/types/components/molecules/number-input/react-input.d.ts +16 -0
- package/dist/types/components.d.ts +203 -19
- package/package.json +3 -2
- package/dist/bromcom-ui/p-0533a1b0.entry.js +0 -5
- package/dist/bromcom-ui/p-0a44db90.entry.js +0 -5
- package/dist/bromcom-ui/p-19783732.entry.js +0 -5
- package/dist/bromcom-ui/p-1e5df686.entry.js +0 -5
- package/dist/bromcom-ui/p-350719ca.entry.js +0 -5
- package/dist/bromcom-ui/p-376a20ed.js +0 -5
- package/dist/bromcom-ui/p-385a50b0.entry.js +0 -5
- package/dist/bromcom-ui/p-3a43bf45.js +0 -5
- package/dist/bromcom-ui/p-3c04d0f7.entry.js +0 -5
- package/dist/bromcom-ui/p-3e2fb868.entry.js +0 -5
- package/dist/bromcom-ui/p-44faabe9.entry.js +0 -5
- package/dist/bromcom-ui/p-4d5eb722.entry.js +0 -5
- package/dist/bromcom-ui/p-58ca54dc.js +0 -5
- package/dist/bromcom-ui/p-60dd2172.entry.js +0 -5
- package/dist/bromcom-ui/p-6146d180.entry.js +0 -5
- package/dist/bromcom-ui/p-62804f2c.entry.js +0 -5
- package/dist/bromcom-ui/p-6e961eb9.entry.js +0 -7
- package/dist/bromcom-ui/p-7175c984.entry.js +0 -5
- package/dist/bromcom-ui/p-7222a8db.entry.js +0 -5
- package/dist/bromcom-ui/p-76f6db61.entry.js +0 -5
- package/dist/bromcom-ui/p-7b9e8f58.entry.js +0 -5
- package/dist/bromcom-ui/p-8b00d553.entry.js +0 -5
- package/dist/bromcom-ui/p-a516049b.entry.js +0 -5
- package/dist/bromcom-ui/p-a62adacd.js +0 -5
- package/dist/bromcom-ui/p-aaf36d5c.entry.js +0 -5
- package/dist/bromcom-ui/p-b2c6659a.entry.js +0 -5
- package/dist/bromcom-ui/p-b381e7f1.js +0 -19
- package/dist/bromcom-ui/p-b4755ed0.entry.js +0 -5
- package/dist/bromcom-ui/p-cc449a87.entry.js +0 -5
- package/dist/bromcom-ui/p-d43d75d2.entry.js +0 -5
- package/dist/bromcom-ui/p-e0ab7b38.js +0 -11
- package/dist/bromcom-ui/p-f2b520a4.entry.js +0 -5
- package/dist/cjs/bcm-button_15.cjs.entry.js +0 -18623
- package/dist/cjs/bcm-number-input.cjs.entry.js +0 -108
- package/dist/collection/components/molecules/number-input/number-input.css +0 -137
- package/dist/collection/components/molecules/number-input/number-input.style.js +0 -45
- package/dist/esm/bcm-number-input.entry.js +0 -104
- package/dist/types/components/molecules/number-input/number-input.style.d.ts +0 -200
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
6
|
+
var t = {};
|
|
7
|
+
for (var p in s)
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
9
|
+
t[p] = s[p];
|
|
10
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
11
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
12
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
13
|
+
t[p[i]] = s[p[i]];
|
|
14
|
+
}
|
|
15
|
+
return t;
|
|
16
|
+
};
|
|
17
|
+
import React from "react";
|
|
18
|
+
import ReactDOM from "react-dom";
|
|
19
|
+
import { NumericFormat } from "react-number-format";
|
|
20
|
+
export class BcmReactNumber {
|
|
21
|
+
constructor() {
|
|
22
|
+
this.isRange = (value, min, max) => {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
const minValid = min === undefined || value >= min;
|
|
27
|
+
const maxValid = max === undefined || value <= max;
|
|
28
|
+
return minValid && maxValid;
|
|
29
|
+
};
|
|
30
|
+
this.disabled = false;
|
|
31
|
+
this.options = undefined;
|
|
32
|
+
}
|
|
33
|
+
componentWillRender() {
|
|
34
|
+
this.init();
|
|
35
|
+
}
|
|
36
|
+
componentDidLoad() {
|
|
37
|
+
this.init();
|
|
38
|
+
}
|
|
39
|
+
init() {
|
|
40
|
+
const _a = this.options, { min, max, mode } = _a, rest = __rest(_a, ["min", "max", "mode"]);
|
|
41
|
+
const render = React.createElement(NumericFormat, Object.assign(Object.assign({}, rest), { isAllowed: (values) => {
|
|
42
|
+
if (mode === "strict") {
|
|
43
|
+
return this.isRange(values.floatValue, +min, +max);
|
|
44
|
+
}
|
|
45
|
+
return true;
|
|
46
|
+
}, onValueChange: e => {
|
|
47
|
+
if (this.options.onValueChange) {
|
|
48
|
+
this.options.onValueChange(e);
|
|
49
|
+
}
|
|
50
|
+
} }));
|
|
51
|
+
ReactDOM.render(render, this.el);
|
|
52
|
+
}
|
|
53
|
+
static get is() { return "bcm-react-number"; }
|
|
54
|
+
static get properties() {
|
|
55
|
+
return {
|
|
56
|
+
"disabled": {
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"mutable": false,
|
|
59
|
+
"complexType": {
|
|
60
|
+
"original": "boolean",
|
|
61
|
+
"resolved": "boolean",
|
|
62
|
+
"references": {}
|
|
63
|
+
},
|
|
64
|
+
"required": false,
|
|
65
|
+
"optional": false,
|
|
66
|
+
"docs": {
|
|
67
|
+
"tags": [],
|
|
68
|
+
"text": ""
|
|
69
|
+
},
|
|
70
|
+
"attribute": "disabled",
|
|
71
|
+
"reflect": true,
|
|
72
|
+
"defaultValue": "false"
|
|
73
|
+
},
|
|
74
|
+
"options": {
|
|
75
|
+
"type": "unknown",
|
|
76
|
+
"mutable": true,
|
|
77
|
+
"complexType": {
|
|
78
|
+
"original": "ExtendedNumericPropsType",
|
|
79
|
+
"resolved": "InternalNumberFormatBase & { thousandSeparator?: string | boolean; decimalSeparator?: string; allowedDecimalSeparators?: string[]; thousandsGroupStyle?: \"none\" | \"thousand\" | \"lakh\" | \"wan\"; decimalScale?: number; fixedDecimalScale?: boolean; allowNegative?: boolean; allowLeadingZeros?: boolean; suffix?: string; prefix?: string; } & Omit<InputAttributes, \"prefix\" | \"form\" | \"slot\" | \"style\" | \"title\" | \"pattern\" | \"color\" | \"dir\" | \"width\" | \"height\" | \"name\" | \"id\" | \"hidden\" | \"size\" | \"className\" | \"type\" | \"disabled\" | \"autoFocus\" | \"formAction\" | \"formEncType\" | \"formMethod\" | \"formNoValidate\" | \"formTarget\" | \"maxLength\" | \"onClick\" | \"checked\" | \"required\" | \"multiple\" | \"placeholder\" | \"accept\" | \"alt\" | \"onSelect\" | \"accessKey\" | \"role\" | \"aria-label\" | \"aria-hidden\" | \"aria-live\" | \"readOnly\" | \"onFocus\" | \"onBlur\" | \"minLength\" | \"min\" | \"max\" | \"step\" | \"autoComplete\" | \"capture\" | \"crossOrigin\" | \"enterKeyHint\" | \"list\" | \"src\" | \"onChange\" | \"defaultChecked\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"contentEditable\" | \"contextMenu\" | \"draggable\" | \"lang\" | \"nonce\" | \"spellCheck\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"about\" | \"datatype\" | \"inlist\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"security\" | \"unselectable\" | \"inputMode\" | \"is\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-labelledby\" | \"aria-level\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocusCapture\" | \"onBlurCapture\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDown\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onResize\" | \"onResizeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\"> & Omit<InputAttributes, \"prefix\" | \"suffix\" | \"ref\" | \"value\" | \"type\" | \"defaultValue\" | \"onFocus\" | \"onBlur\" | \"thousandSeparator\" | \"decimalSeparator\" | \"decimalScale\" | \"fixedDecimalScale\" | \"allowNegative\" | \"allowLeadingZeros\" | \"onChange\" | \"inputMode\" | \"onKeyDown\" | \"onMouseUp\" | \"displayType\" | \"renderText\" | \"getInputRef\" | \"valueIsNumericString\" | \"onValueChange\" | \"isAllowed\" | \"isCharacterSame\" | \"allowedDecimalSeparators\" | \"thousandsGroupStyle\"> & { customInput?: ComponentType<InputAttributes>; } & { mode: \"strict\" | \"none\"; onValueChange?: (e: NumberFormatValues) => void; }",
|
|
80
|
+
"references": {
|
|
81
|
+
"ExtendedNumericPropsType": {
|
|
82
|
+
"location": "global"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"required": false,
|
|
87
|
+
"optional": false,
|
|
88
|
+
"docs": {
|
|
89
|
+
"tags": [],
|
|
90
|
+
"text": ""
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
static get elementRef() { return "el"; }
|
|
96
|
+
}
|
|
@@ -23,7 +23,7 @@ export class BcmRadio {
|
|
|
23
23
|
"tw-text-1": size === Bcm.Size.small,
|
|
24
24
|
"tw-text-2.5": size === Bcm.Size.medium,
|
|
25
25
|
"tw-text-4": size === Bcm.Size.large,
|
|
26
|
-
}), style: (Generate.getTwColor(color)) }, h("label", { class: cs("tw-inline-flex tw-flex-row tw-gap-2 tw-mr-2 tw-items-center", disabled ? "tw-cursor-not-allowed" : "tw-cursor-pointer"), htmlFor: _id + '-input' }, h("input", { id: _id + '-input', type: "radio", value: value, checked: checked, disabled: disabled, class: cs("tw-flex tw-items-center tw-justify-center", "tw-relative tw-appearance-none tw-border tw-rounded-full tw-cursor-pointer tw-transition tw-ease-in-out ", "tw-m-0", "before:tw-content-[''] before:tw-absolute before:tw-rounded-full", {
|
|
26
|
+
}), style: (Generate.getTwColor(color)) }, h("label", { class: cs("tw-inline-flex tw-flex-row tw-gap-2 tw-mr-2 tw-items-center", disabled ? "tw-cursor-not-allowed" : "tw-cursor-pointer"), htmlFor: _id + '-input' }, h("input", { id: _id + '-input', type: "radio", value: value, checked: checked, disabled: disabled, class: cs("tw-flex tw-items-center tw-justify-center", "tw-relative tw-appearance-none tw-border tw-border-solid tw-rounded-full tw-cursor-pointer tw-transition tw-ease-in-out ", "tw-m-0", "before:tw-content-[''] before:tw-absolute before:tw-rounded-full", {
|
|
27
27
|
"tw-w-4 tw-h-4 before:tw-w-2.5 before:tw-h-2.5": size === Bcm.Size.medium,
|
|
28
28
|
"tw-w-3.5 tw-h-3.5 before:tw-w-2 before:tw-h-2": size === Bcm.Size.small,
|
|
29
29
|
"tw-w-4.5 tw-h-4.5 before:tw-w-3 before:tw-h-3": size === Bcm.Size.large,
|
|
@@ -54,7 +54,8 @@ export class BcmForm {
|
|
|
54
54
|
DATETIME_PICKER: 'datetime-picker',
|
|
55
55
|
// silinecek komponentler
|
|
56
56
|
SELECT: 'select',
|
|
57
|
-
LISTBOX: 'listbox'
|
|
57
|
+
LISTBOX: 'listbox',
|
|
58
|
+
NUMBER_INPUT: 'number-input',
|
|
58
59
|
},
|
|
59
60
|
helpers: {
|
|
60
61
|
randomId: function () {
|
|
@@ -107,7 +108,6 @@ export class BcmForm {
|
|
|
107
108
|
var _a;
|
|
108
109
|
const validate = this.validation;
|
|
109
110
|
this.validation = false;
|
|
110
|
-
// debugger
|
|
111
111
|
this.selector = this.el;
|
|
112
112
|
await this.getInputs();
|
|
113
113
|
if (data && ((_a = this.inputs) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BcmInput2 extends Components.BcmInput2, HTMLElement {}
|
|
4
|
+
export const BcmInput2: {
|
|
5
|
+
prototype: BcmInput2;
|
|
6
|
+
new (): BcmInput2;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
|
+
import { c as classnames } from './index2.js';
|
|
7
|
+
import { I as IsLoad } from './is-load-decorator.js';
|
|
8
|
+
import { G as Generate } from './generate.js';
|
|
9
|
+
import { a as Bcm } from './bcm.js';
|
|
10
|
+
import { C as CaptionTemplate } from './caption-template.js';
|
|
11
|
+
import { i as inputStyle } from './input.style.js';
|
|
12
|
+
import { d as defineCustomElement$4 } from './icon.js';
|
|
13
|
+
import { d as defineCustomElement$3 } from './label.js';
|
|
14
|
+
import { d as defineCustomElement$2 } from './tooltip.js';
|
|
15
|
+
|
|
16
|
+
const inputCss = "@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}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;text-overflow:ellipsis}.bcm-input__container .bcm-input-element::placeholder{font-family:\"Inter\", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.bcm-input__container .bcm-input-element::-webkit-search-decoration,.bcm-input__container .bcm-input-element::-webkit-search-cancel-button,.bcm-input__container .bcm-input-element::-webkit-search-results-button,.bcm-input__container .bcm-input-element::-webkit-search-results-decoration,.bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator,.bcm-input__container .bcm-input-element::-webkit-inner-spin-button,.bcm-input__container .bcm-input-element::-webkit-outer-spin-button{-webkit-appearance:none}.bcm-input__container .caret-container{width:30px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box}.bcm-input__container .caret-container .bcm-input-caret{display:flex;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer;flex:1}.bcm-input__container .caret-container .bcm-input-caret bcm-icon{line-height:1}.bcm-input__container .caret-container .bcm-input-caret:hover{color:var(--bcm-color-prime-blue-6)}.bcm-input__container .caret-container .bcm-input-caret:active{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container .bcm-input-caret:last-child{border-top:1px solid #D9D9D9}.bcm-input__container .caret-container.disabled{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container.disabled .bcm-input-caret{cursor:not-allowed}.bcm-input__container .input-suffix-content{display:flex;align-items:center;justify-content:center}.bcm-input__container .input-prefix:not(:empty){padding-left:4px}.bcm-input__container .input-suffix:not(:empty){min-width:24px;padding-right:4px}.bcm-input__container .input-prefix:not(:empty),.bcm-input__container .input-suffix:not(:empty){display:flex;align-items:center;justify-content:center;cursor:default;color:#64748a}.bcm-input__container .input-prefix:not(:empty) .unit-prefix,.bcm-input__container .input-suffix:not(:empty) .unit-prefix{color:#64748a}.bcm-input__container .input-prefix-button:not(:empty),.bcm-input__container .input-suffix-button:not(:empty){cursor:pointer}.bcm-input__container .caret-container,.bcm-input__container .input-clear-button{opacity:0}.bcm-input__container--small{font-size:12px}.bcm-input__container--medium{font-size:14px}.bcm-input__container--large{font-size:16px}.bcm-input__textarea.clearable .bcm-input-element{padding-right:24px}.bcm-input__textarea .input-clear-button{position:absolute;top:4px;right:0}";
|
|
17
|
+
|
|
18
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
21
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
22
|
+
else
|
|
23
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
24
|
+
if (d = decorators[i])
|
|
25
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
26
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27
|
+
};
|
|
28
|
+
const BcmInput2$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
29
|
+
constructor() {
|
|
30
|
+
super();
|
|
31
|
+
this.__registerHost();
|
|
32
|
+
this.focus = createEvent(this, "bcm-focus", 7);
|
|
33
|
+
this.blur = createEvent(this, "bcm-blur", 7);
|
|
34
|
+
this.clear = createEvent(this, "bcm-clear", 7);
|
|
35
|
+
this.change = createEvent(this, "bcm-change", 7);
|
|
36
|
+
this.input = createEvent(this, "bcm-input", 7);
|
|
37
|
+
this._id = Generate.UID();
|
|
38
|
+
this._internal_id = Generate.UID();
|
|
39
|
+
this.value = "";
|
|
40
|
+
this.size = Bcm.Size.medium;
|
|
41
|
+
this.label = undefined;
|
|
42
|
+
this.pattern = undefined;
|
|
43
|
+
this.tooltip = undefined;
|
|
44
|
+
this.placeholder = undefined;
|
|
45
|
+
this.disabled = false;
|
|
46
|
+
this.readonly = false;
|
|
47
|
+
this.clearable = false;
|
|
48
|
+
this.autocomplete = false;
|
|
49
|
+
this.name = undefined;
|
|
50
|
+
this.type = Bcm.InputType.text;
|
|
51
|
+
this.hidden = false;
|
|
52
|
+
this.required = false;
|
|
53
|
+
this.fullWidth = false;
|
|
54
|
+
this.noDefaultIcon = undefined;
|
|
55
|
+
this.disableWatchValue = false;
|
|
56
|
+
this.passwordToggle = false;
|
|
57
|
+
this.maxLength = null;
|
|
58
|
+
this.minLength = null;
|
|
59
|
+
this.unitPrefix = null;
|
|
60
|
+
this.unit = undefined;
|
|
61
|
+
this.decimal = true;
|
|
62
|
+
this.min = undefined;
|
|
63
|
+
this.max = undefined;
|
|
64
|
+
this.step = undefined;
|
|
65
|
+
this.caption = undefined;
|
|
66
|
+
this.noCaption = false;
|
|
67
|
+
this.captionType = Bcm.Status.default;
|
|
68
|
+
this.captionError = undefined;
|
|
69
|
+
this.customErrorMessage = undefined;
|
|
70
|
+
this._prefix = undefined;
|
|
71
|
+
this._suffix = undefined;
|
|
72
|
+
this.captionCache = undefined;
|
|
73
|
+
this.captionTypeCache = undefined;
|
|
74
|
+
this.inValid = false;
|
|
75
|
+
this.valueCache = "";
|
|
76
|
+
this.focused = false;
|
|
77
|
+
this.isPasswordVisible = false;
|
|
78
|
+
}
|
|
79
|
+
async onBcmFocus() {
|
|
80
|
+
this.inputElement.focus();
|
|
81
|
+
}
|
|
82
|
+
async onBcmBlur() {
|
|
83
|
+
this.inputElement.blur();
|
|
84
|
+
}
|
|
85
|
+
async onBcmSelect() {
|
|
86
|
+
this.inputElement.select();
|
|
87
|
+
}
|
|
88
|
+
handleClear(e) {
|
|
89
|
+
this.inputElement.value = "";
|
|
90
|
+
this.value = "";
|
|
91
|
+
this.inputElement.focus();
|
|
92
|
+
this.clear.emit(e);
|
|
93
|
+
this.change.emit(this.value);
|
|
94
|
+
e.stopPropagation();
|
|
95
|
+
}
|
|
96
|
+
handleInput(_e) {
|
|
97
|
+
this.value = this.inputElement.value;
|
|
98
|
+
this.input.emit(this.value);
|
|
99
|
+
this.change.emit(this.value);
|
|
100
|
+
}
|
|
101
|
+
handleChange(_e) {
|
|
102
|
+
this.value = this.inputElement.value;
|
|
103
|
+
this.change.emit(this.value);
|
|
104
|
+
}
|
|
105
|
+
handleFocus(e) {
|
|
106
|
+
this.focused = true;
|
|
107
|
+
this.focus.emit(e);
|
|
108
|
+
}
|
|
109
|
+
handleBlur(e) {
|
|
110
|
+
this.focused = false;
|
|
111
|
+
this.blur.emit(e);
|
|
112
|
+
}
|
|
113
|
+
handleKeyUp(e) {
|
|
114
|
+
if (e.key === "Enter") {
|
|
115
|
+
this.blur.emit(e);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
render() {
|
|
119
|
+
const { value, size, label, type, captionType, caption, captionError, placeholder, fullWidth, disabled, readonly, clearable,
|
|
120
|
+
// passwordToggle,
|
|
121
|
+
// isPasswordVisible,
|
|
122
|
+
// noDefaultIcon,
|
|
123
|
+
unit, inValid, focused,
|
|
124
|
+
// unitPrefix,
|
|
125
|
+
noCaption, required, hidden, _id, autocomplete, _prefix, _suffix, } = this;
|
|
126
|
+
const isActiveClearable = (value === null || value === void 0 ? void 0 : value.length) > 0 && clearable;
|
|
127
|
+
const { host, inputContainer, input, slotClass, clearButton, controls, controlsBtn, controlsBtnDown, controlsBtnUp, controlsDivider } = inputStyle({
|
|
128
|
+
size,
|
|
129
|
+
fullWidth,
|
|
130
|
+
// şüpheli kısımlar
|
|
131
|
+
focused: focused,
|
|
132
|
+
clearable: isActiveClearable,
|
|
133
|
+
disabled,
|
|
134
|
+
readonly,
|
|
135
|
+
invalid: inValid,
|
|
136
|
+
unit: (unit === null || unit === void 0 ? void 0 : unit.length) > 0,
|
|
137
|
+
// 'empty': value?.length < 1,
|
|
138
|
+
error: captionType === "error",
|
|
139
|
+
hidden,
|
|
140
|
+
});
|
|
141
|
+
return (h(Host, { class: host(), onClick: () => this.onBcmFocus() }, label && h("bcm-label", { tooltip: this.tooltip, type: captionType, value: label, required: required, htmlFor: _id }), h("div", { class: inputContainer() }, h("div", { class: slotClass() }, h("slot", { name: "prefix" }, _prefix && _prefix.length > 0 && h("span", { innerHTML: _prefix }))), h("input", { class: input(), id: _id, type: type, value: value, pattern: this.pattern, placeholder: placeholder, disabled: disabled, readonly: readonly, ref: el => (this.inputElement = el), onInput: event => this.handleInput(event), onChange: event => this.handleChange(event), onFocus: event => this.handleFocus(event), onBlur: event => this.handleBlur(event), onKeyUp: event => this.handleKeyUp(event), autoComplete: autocomplete ? "on" : "off", required: required }), h("div", { class: slotClass() }, isActiveClearable && (h("button", { type: "button", class: clearButton(), onClick: event => this.handleClear(event) }, h("i", { class: "far fa-times" }))), h("slot", { name: "suffix" }, _suffix && _suffix.length > 0 && h("span", { innerHTML: _suffix })), type === "number" && (h("div", { class: controls() }, h("button", { type: "button", onClick: () => this.onBcmFocus(), class: classnames(controlsBtn(), controlsBtnUp()) }, h("i", { class: "fas fa-caret-up" })), h("div", { class: controlsDivider() }), h("button", { type: "button", onClick: () => this.onBcmFocus(), class: classnames(controlsBtn(), controlsBtnDown()) }, h("i", { class: "fas fa-caret-down" })))))), h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, customErrorMessage: this.customErrorMessage })));
|
|
142
|
+
}
|
|
143
|
+
static get style() { return inputCss; }
|
|
144
|
+
}, [4, "bcm-input-2", {
|
|
145
|
+
"_id": [513, "id"],
|
|
146
|
+
"_internal_id": [1],
|
|
147
|
+
"value": [8],
|
|
148
|
+
"size": [1],
|
|
149
|
+
"label": [1],
|
|
150
|
+
"pattern": [1],
|
|
151
|
+
"tooltip": [1],
|
|
152
|
+
"placeholder": [1],
|
|
153
|
+
"disabled": [4],
|
|
154
|
+
"readonly": [4],
|
|
155
|
+
"clearable": [4],
|
|
156
|
+
"autocomplete": [4],
|
|
157
|
+
"name": [1],
|
|
158
|
+
"type": [1],
|
|
159
|
+
"hidden": [4],
|
|
160
|
+
"required": [4],
|
|
161
|
+
"fullWidth": [4, "full-width"],
|
|
162
|
+
"noDefaultIcon": [4, "no-default-icon"],
|
|
163
|
+
"disableWatchValue": [4, "disable-watch-value"],
|
|
164
|
+
"passwordToggle": [4, "password-toggle"],
|
|
165
|
+
"maxLength": [2, "max-length"],
|
|
166
|
+
"minLength": [2, "min-length"],
|
|
167
|
+
"unitPrefix": [1, "unit-prefix"],
|
|
168
|
+
"unit": [1],
|
|
169
|
+
"decimal": [4],
|
|
170
|
+
"min": [2],
|
|
171
|
+
"max": [2],
|
|
172
|
+
"step": [8],
|
|
173
|
+
"caption": [1],
|
|
174
|
+
"noCaption": [4, "no-caption"],
|
|
175
|
+
"captionType": [1, "caption-type"],
|
|
176
|
+
"captionError": [1, "caption-error"],
|
|
177
|
+
"customErrorMessage": [1, "custom-error-message"],
|
|
178
|
+
"_prefix": [1, "prefix"],
|
|
179
|
+
"_suffix": [1, "suffix"],
|
|
180
|
+
"captionCache": [32],
|
|
181
|
+
"captionTypeCache": [32],
|
|
182
|
+
"inValid": [32],
|
|
183
|
+
"valueCache": [32],
|
|
184
|
+
"focused": [32],
|
|
185
|
+
"isPasswordVisible": [32],
|
|
186
|
+
"onBcmFocus": [64],
|
|
187
|
+
"onBcmBlur": [64],
|
|
188
|
+
"onBcmSelect": [64]
|
|
189
|
+
}]);
|
|
190
|
+
__decorate([
|
|
191
|
+
IsLoad()
|
|
192
|
+
], BcmInput2$1.prototype, "inputElement", void 0);
|
|
193
|
+
function defineCustomElement$1() {
|
|
194
|
+
if (typeof customElements === "undefined") {
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
const components = ["bcm-input-2", "bcm-icon", "bcm-label", "bcm-tooltip"];
|
|
198
|
+
components.forEach(tagName => { switch (tagName) {
|
|
199
|
+
case "bcm-input-2":
|
|
200
|
+
if (!customElements.get(tagName)) {
|
|
201
|
+
customElements.define(tagName, BcmInput2$1);
|
|
202
|
+
}
|
|
203
|
+
break;
|
|
204
|
+
case "bcm-icon":
|
|
205
|
+
if (!customElements.get(tagName)) {
|
|
206
|
+
defineCustomElement$4();
|
|
207
|
+
}
|
|
208
|
+
break;
|
|
209
|
+
case "bcm-label":
|
|
210
|
+
if (!customElements.get(tagName)) {
|
|
211
|
+
defineCustomElement$3();
|
|
212
|
+
}
|
|
213
|
+
break;
|
|
214
|
+
case "bcm-tooltip":
|
|
215
|
+
if (!customElements.get(tagName)) {
|
|
216
|
+
defineCustomElement$2();
|
|
217
|
+
}
|
|
218
|
+
break;
|
|
219
|
+
} });
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
const BcmInput2 = BcmInput2$1;
|
|
223
|
+
const defineCustomElement = defineCustomElement$1;
|
|
224
|
+
|
|
225
|
+
export { BcmInput2, defineCustomElement };
|