bromcom-ui 2.12.1-test.0 → 3.0.0-preview.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/p-0125212b.entry.js +5 -0
- package/dist/bromcom-ui/{p-58c0a1f5.js → p-014f7aa2.js} +1 -1
- package/dist/bromcom-ui/{p-c54aaa8c.entry.js → p-0167c2cc.entry.js} +1 -1
- package/dist/bromcom-ui/p-033f2926.entry.js +5 -0
- package/dist/bromcom-ui/{p-7d18ce0e.entry.js → p-0c494f44.entry.js} +1 -1
- package/dist/bromcom-ui/{p-daeb868a.js → p-0e65fd54.js} +1 -1
- package/dist/bromcom-ui/p-14ed2c86.js +5 -0
- package/dist/bromcom-ui/{p-7c5763cc.entry.js → p-1ca7e1a1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-053dc717.entry.js → p-1d577d30.entry.js} +1 -1
- package/dist/bromcom-ui/p-2032843f.entry.js +5 -0
- package/dist/bromcom-ui/{p-2aaeb247.entry.js → p-23c01e93.entry.js} +1 -1
- package/dist/bromcom-ui/p-2663c49f.entry.js +5 -0
- package/dist/bromcom-ui/{p-bdc78a44.entry.js → p-2903e611.entry.js} +1 -1
- package/dist/bromcom-ui/p-2ecb8899.entry.js +5 -0
- package/dist/bromcom-ui/p-31368d21.entry.js +5 -0
- package/dist/bromcom-ui/{p-c02d4055.entry.js → p-370b6020.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9850cbce.js → p-397c1438.js} +1 -1
- package/dist/bromcom-ui/p-3a944947.entry.js +5 -0
- package/dist/bromcom-ui/{p-cebe6c15.entry.js → p-3aa7e1ce.entry.js} +1 -1
- package/dist/bromcom-ui/p-3db88841.entry.js +5 -0
- package/dist/bromcom-ui/{p-c99dbd93.entry.js → p-3f4d5368.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3a60a194.js → p-403d3912.js} +1 -1
- package/dist/bromcom-ui/p-40871628.js +5 -0
- package/dist/bromcom-ui/p-4254234c.entry.js +5 -0
- package/dist/bromcom-ui/p-42a7244e.entry.js +5 -0
- package/dist/bromcom-ui/p-4c5168fe.js +5 -0
- package/dist/bromcom-ui/{p-69260d36.entry.js → p-51341d24.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0bda558d.js → p-588ba8fc.js} +1 -1
- package/dist/bromcom-ui/{p-d73d6a2f.entry.js → p-58fa6ecf.entry.js} +1 -1
- package/dist/bromcom-ui/p-5a65b538.js +5 -0
- package/dist/bromcom-ui/p-5f74f707.js +5 -0
- package/dist/bromcom-ui/{p-35f2e15a.js → p-5fbbf611.js} +1 -1
- package/dist/bromcom-ui/p-66d74084.js +5 -0
- package/dist/bromcom-ui/p-74912375.js +5 -0
- package/dist/bromcom-ui/p-7fa410eb.entry.js +5 -0
- package/dist/bromcom-ui/{p-626b805d.entry.js → p-87291a4f.entry.js} +1 -1
- package/dist/bromcom-ui/p-8d2e1aea.entry.js +5 -0
- package/dist/bromcom-ui/p-9acc7a1c.entry.js +5 -0
- package/dist/bromcom-ui/p-9f913f3e.entry.js +5 -0
- package/dist/bromcom-ui/{p-e82dab5a.entry.js → p-a02650af.entry.js} +1 -1
- package/dist/bromcom-ui/p-aa370552.js +5 -0
- package/dist/bromcom-ui/{p-7c223356.entry.js → p-ac200139.entry.js} +1 -1
- package/dist/bromcom-ui/p-afe35470.entry.js +16 -0
- package/dist/bromcom-ui/p-affe097a.entry.js +5 -0
- package/dist/bromcom-ui/{p-79d5c3d8.entry.js → p-b702f1e5.entry.js} +1 -1
- package/dist/bromcom-ui/p-bc6ecf66.entry.js +5 -0
- package/dist/bromcom-ui/{p-313b7bb0.entry.js → p-bdda1f76.entry.js} +1 -1
- package/dist/bromcom-ui/p-bde34843.entry.js +5 -0
- package/dist/bromcom-ui/{p-f0e30624.entry.js → p-c187994f.entry.js} +1 -1
- package/dist/bromcom-ui/p-cc583dbc.js +5 -0
- package/dist/bromcom-ui/p-ccc61045.js +5 -0
- package/dist/bromcom-ui/{p-67343ad8.entry.js → p-cd12ef44.entry.js} +1 -1
- package/dist/bromcom-ui/p-cf164584.js +5 -0
- package/dist/bromcom-ui/{p-594a57c3.entry.js → p-cfb0bdbe.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d551a51d.entry.js → p-dc23865f.entry.js} +1 -1
- package/dist/bromcom-ui/p-ddf90943.entry.js +5 -0
- package/dist/bromcom-ui/{p-170cf07d.js → p-e3ce7150.js} +2 -2
- package/dist/bromcom-ui/p-e45072df.entry.js +5 -0
- package/dist/bromcom-ui/p-e747137c.entry.js +5 -0
- package/dist/bromcom-ui/{p-ba9eff2a.entry.js → p-e8f7282a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1c9314bd.entry.js → p-e9672b15.entry.js} +1 -1
- package/dist/bromcom-ui/p-ef34f278.entry.js +5 -0
- package/dist/bromcom-ui/{p-11a5ae6d.entry.js → p-ef84ca66.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1c7ea00b.entry.js → p-ef8636fe.entry.js} +1 -1
- package/dist/bromcom-ui/p-f530cf23.js +5 -0
- package/dist/bromcom-ui/{p-5dea2654.entry.js → p-f65dae79.entry.js} +1 -1
- package/dist/bromcom-ui/p-f68a946f.js +5 -0
- package/dist/bromcom-ui/p-f9e5528f.entry.js +5 -0
- package/dist/bromcom-ui/{p-1bdfc73a.entry.js → p-fa1eae97.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1c801d0c.entry.js → p-fb083e20.entry.js} +1 -1
- package/dist/bromcom-ui/p-fb490a1f.entry.js +5 -0
- package/dist/cjs/{bcm-1d1fcf21.js → bcm-51d38d17.js} +7 -1
- package/dist/cjs/{bcm-accordion_63.cjs.entry.js → bcm-accordion_68.cjs.entry.js} +2641 -1319
- package/dist/cjs/bcm-alert.cjs.entry.js +89 -75
- package/dist/cjs/bcm-arrow.cjs.entry.js +34 -0
- package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +10 -9
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +10 -9
- package/dist/cjs/bcm-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/bcm-box.cjs.entry.js +1 -1
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/bcm-caption.cjs.entry.js +10 -9
- package/dist/cjs/bcm-card.cjs.entry.js +6 -6
- package/dist/cjs/bcm-chip-group.cjs.entry.js +15 -19
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-content.cjs.entry.js +1 -1
- package/dist/cjs/bcm-date-picker.cjs.entry.js +5 -5
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +9 -9
- package/dist/cjs/bcm-default.cjs.entry.js +3 -3
- package/dist/cjs/bcm-error-layout.cjs.entry.js +1 -1
- package/dist/cjs/bcm-form-2.cjs.entry.js +6 -6
- package/dist/cjs/bcm-form-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input-custom.cjs.entry.js +3 -3
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +10 -10
- package/dist/cjs/bcm-message.cjs.entry.js +1 -1
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +8 -7
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +8 -7
- package/dist/cjs/bcm-modal-2.cjs.entry.js +8 -7
- package/dist/cjs/bcm-notification.cjs.entry.js +1 -1
- package/dist/cjs/bcm-number-input.cjs.entry.js +12 -12
- package/dist/cjs/bcm-overlay_2.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popconfirm-box-v2.cjs.entry.js +109 -0
- package/dist/cjs/bcm-popconfirm-host.cjs.entry.js +135 -0
- package/dist/cjs/bcm-range.cjs.entry.js +4 -4
- package/dist/cjs/bcm-react-number.cjs.entry.js +1 -1
- package/dist/cjs/bcm-resizable-pane.cjs.entry.js +42 -0
- package/dist/cjs/bcm-result-footer.cjs.entry.js +39 -0
- package/dist/cjs/bcm-result.cjs.entry.js +16 -47
- package/dist/cjs/bcm-segment-picker-item.cjs.entry.js +33 -0
- package/dist/cjs/bcm-segment-picker.cjs.entry.js +67 -0
- package/dist/cjs/bcm-select-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-select-option.cjs.entry.js +1 -1
- package/dist/cjs/bcm-skeleton.cjs.entry.js +8 -8
- package/dist/cjs/bcm-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/bcm-table.cjs.entry.js +9 -8
- package/dist/cjs/bcm-tabs-content.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tag.cjs.entry.js +5 -5
- package/dist/cjs/bcm-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/bcm-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/bcm-timeline.cjs.entry.js +1 -1
- package/dist/cjs/bcm-toast.cjs.entry.js +198 -42
- package/dist/cjs/bcm-treeview-group.cjs.entry.js +1 -1
- package/dist/cjs/bromcom-ui.cjs.js +4 -4
- package/dist/cjs/{caption-template-85a18b6d.js → caption-template-1ba40085.js} +10 -10
- package/dist/cjs/floating-ui-4c31473e.js +101 -0
- package/dist/{esm/floating-ui-3f4394da.js → cjs/floating-ui.dom.esm-f0638c44.js} +8 -93
- package/dist/cjs/{generate-7510539d.js → generate-eda14f12.js} +13 -36
- package/dist/cjs/{global-711c589c.js → global-971b32f6.js} +2 -2
- package/dist/cjs/{index-c591ecec.js → index-bb6ac306.js} +3 -0
- package/dist/cjs/{index-5279dea2.js → index-d3b89435.js} +386 -347
- package/dist/cjs/{input.style-b5676e6a.js → input.style-3e8b7803.js} +16 -15
- package/dist/cjs/{is-load-decorator-15036f37.js → is-load-decorator-60805e8b.js} +1 -1
- package/dist/cjs/{label-template-e83447b5.js → label-template-540044c9.js} +8 -7
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{number-helper-9d2d1d5a.js → number-helper-d14c9546.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +10 -9
- package/dist/cjs/old-bcm-popover.cjs.entry.js +4 -4
- package/dist/cjs/{package-a60955f7.js → package-f644e6eb.js} +1 -1
- package/dist/cjs/{popover-placement-d1aa81f0.js → popover-placement-3c0ad75e.js} +1 -1
- package/dist/cjs/popover.style-e390b5a1.js +108 -0
- package/dist/cjs/result.style-f58d0ac4.js +56 -0
- package/dist/cjs/segment-picker.style-ce057603.js +55 -0
- package/dist/cjs/{slot-template-29229e8f.js → slot-template-d02ae4e4.js} +2 -2
- package/dist/cjs/{string-helper-1ee6dc21.js → string-helper-cc89c9d6.js} +1 -1
- package/dist/cjs/types-e4c4d1b2.js +175 -0
- package/dist/collection/collection-manifest.json +15 -5
- package/dist/collection/components/atoms/{chip/chip-group.css → avatar/avatar.css} +4 -2
- package/dist/collection/components/atoms/avatar/avatar.js +13 -3
- package/dist/collection/components/atoms/avatar/avatar.style.js +6 -6
- package/dist/collection/components/atoms/{icon/icon.css → badge/badge.css} +3 -2
- package/dist/collection/components/atoms/badge/badge.js +10 -0
- package/dist/collection/components/atoms/badge/badge.style.js +10 -10
- package/dist/collection/components/atoms/button/button.css +11 -332
- package/dist/collection/components/atoms/button/button.js +429 -241
- package/dist/collection/components/atoms/button/button.style.js +89 -0
- package/dist/collection/components/atoms/chip/chip-group.js +2 -14
- package/dist/collection/components/atoms/chip/chip.css +11 -87
- package/dist/collection/components/atoms/chip/chip.js +84 -45
- package/dist/collection/components/atoms/chip/chip.style.js +99 -0
- package/dist/collection/components/atoms/divider/divider.js +7 -38
- package/dist/collection/components/atoms/divider/divider.style.js +19 -0
- package/dist/collection/components/atoms/icon/icon.js +14 -37
- package/dist/collection/components/atoms/label/label.js +21 -2
- package/dist/collection/components/atoms/link/link.js +132 -58
- package/dist/collection/components/atoms/link/link.style.js +39 -0
- package/dist/collection/components/molecules/accordion/accordion.js +3 -13
- package/dist/collection/components/molecules/alert/alert.js +118 -137
- package/dist/collection/components/molecules/alert/alert.style.js +65 -0
- package/dist/collection/components/molecules/checkbox/checkbox.css +10 -317
- package/dist/collection/components/molecules/checkbox/checkbox.js +119 -142
- package/dist/collection/components/molecules/checkbox/checkbox.style.js +156 -0
- package/dist/collection/components/molecules/{checkbox/group.js → checkbox-group/checkbox-group.js} +23 -40
- package/dist/collection/components/molecules/checkbox-group/checkbox-group.style.js +40 -0
- package/dist/collection/components/molecules/color-input/color-input.js +3 -1
- package/dist/collection/components/molecules/color-input/color-input.style.js +17 -0
- package/dist/collection/components/molecules/drawer/drawer.css +0 -81
- package/dist/collection/components/molecules/drawer/drawer.js +7 -13
- package/dist/collection/components/molecules/drawer/drawer.style.js +55 -0
- package/dist/collection/components/molecules/dropdown/dropdown.js +13 -7
- package/dist/collection/components/molecules/empty/empty.js +91 -3
- package/dist/collection/components/molecules/empty/empty.style.js +64 -0
- package/dist/collection/components/molecules/expansion-panel/bcm-expansion-panel-description.js +16 -0
- package/dist/collection/components/molecules/expansion-panel/bcm-expansion-panel-extra.js +16 -0
- package/dist/collection/components/molecules/expansion-panel/bcm-expansion-panel-header.js +16 -0
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +91 -57
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.style.js +91 -0
- package/dist/collection/components/molecules/input/input.js +78 -66
- package/dist/collection/components/molecules/input/input.style.js +15 -14
- package/dist/collection/components/molecules/menu/menu.js +14 -0
- package/dist/collection/components/molecules/modal/modal-footer.js +41 -0
- package/dist/collection/components/molecules/modal/modal-header.js +39 -0
- package/dist/collection/components/molecules/modal/modal.css +1 -139
- package/dist/collection/components/molecules/modal/modal.js +9 -16
- package/dist/collection/components/molecules/modal/modal.style.js +111 -0
- package/dist/collection/components/molecules/number-input/number-input.js +1 -1
- package/dist/collection/components/molecules/number-input/react-input.js +1 -1
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +22 -6
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.js +11 -9
- package/dist/collection/components/molecules/popconfirm-v2/pop-confirm-host.js +309 -0
- package/dist/collection/components/molecules/popconfirm-v2/popconf.style.js +57 -0
- package/dist/collection/components/molecules/popconfirm-v2/popconfirm-v2.js +201 -0
- package/dist/collection/components/molecules/popover/popover.js +3 -1
- package/dist/collection/components/molecules/popover/popover.style.js +42 -0
- package/dist/collection/components/molecules/radio/radio-group.js +6 -2
- package/dist/collection/components/molecules/radio/radio-group.style.js +37 -0
- package/dist/collection/components/{atoms/divider/divider.css → molecules/radio/radio.css} +9 -17
- package/dist/collection/components/molecules/radio/radio.js +21 -22
- package/dist/collection/components/molecules/radio/radio.style.js +67 -0
- package/dist/collection/components/molecules/result/result-footer.js +41 -0
- package/dist/collection/components/molecules/result/result.js +36 -65
- package/dist/collection/components/molecules/result/result.style.js +51 -0
- package/dist/collection/components/molecules/search/search.js +10 -13
- package/dist/collection/components/molecules/stepper/stepper.css +41 -35
- package/dist/collection/components/molecules/switch/switch.js +11 -24
- package/dist/collection/components/molecules/switch/switch.style.js +182 -0
- package/dist/collection/components/molecules/tab-group/tab-group.js +3 -28
- package/dist/collection/components/molecules/tab-group/tab-group.syle.js +63 -0
- package/dist/collection/components/molecules/tab-group/tab-item-header.js +7 -32
- package/dist/collection/components/molecules/tab-group/tab-item.js +7 -6
- package/dist/collection/components/molecules/textarea/textarea.js +55 -44
- package/dist/collection/components/molecules/textarea/textarea.style.js +122 -0
- package/dist/collection/components/molecules/tooltip/tooltip.js +5 -3
- package/dist/collection/components/molecules/tooltip/tooltip.style.js +38 -0
- package/dist/collection/components/organism/datetime-picker/datetime-picker.css +20 -20
- package/dist/collection/components/organism/list/list.css +73 -324
- package/dist/collection/components/organism/list/list.js +2 -2
- package/dist/collection/components/{molecules/checkbox/group.css → other/arrow/arrow.css} +24 -31
- package/dist/collection/components/other/arrow/arrow.js +70 -0
- package/dist/collection/components/other/resizable-pane/resizable-pane.js +79 -0
- package/dist/collection/components/other/segment-picker/segment-picker-item.js +158 -0
- package/dist/collection/components/other/segment-picker/segment-picker.js +252 -0
- package/dist/collection/components/other/segment-picker/segment-picker.style.js +50 -0
- package/dist/collection/components/other/shortcut/shortcut.js +12 -6
- package/dist/collection/components/other/shortcut/shortcut.style.js +38 -0
- package/dist/collection/components/other/toast/toast.js +15 -31
- package/dist/collection/components/other/toast/toast.style.js +176 -0
- package/dist/collection/components/other_deprecated/listbox/listbox-item.js +1 -1
- package/dist/collection/components/other_deprecated/listbox/listbox.js +1 -1
- package/dist/collection/components/other_deprecated/old-input/old-input.css +38 -24
- package/dist/collection/components/other_deprecated/old-input/old-input.js +4 -2
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +3 -2
- package/dist/collection/components/third-parts/colorful/colorful.css +0 -242
- package/dist/collection/components/third-parts/rc-picker/rc-picker.css +31 -27
- package/dist/collection/helper/generate.js +11 -16
- package/dist/collection/helper/index.js +1 -0
- package/dist/collection/helper/pop-confirm-helper.js +76 -0
- package/dist/collection/helper/popover-helper.js +8 -7
- package/dist/collection/helper/tooltip-helper.js +3 -15
- package/dist/collection/models/bcm.js +9 -1
- package/dist/collection/templates/caption-template.js +9 -9
- package/dist/collection/templates/checkbox-template.js +11 -16
- package/dist/collection/templates/icon-template.js +4 -19
- package/dist/collection/templates/info-footer-template.js +1 -1
- package/dist/collection/templates/label-template.js +6 -5
- package/dist/collection/templates/list-item-template.js +3 -2
- package/dist/collection/templates/step-template.js +1 -1
- package/dist/components/avatar.js +17 -20
- package/dist/components/badge.js +16 -13
- package/dist/components/bcm-accordion.js +3 -6
- package/dist/components/bcm-alert.js +99 -88
- package/dist/components/{bcm-input-2.d.ts → bcm-arrow.d.ts} +4 -4
- package/dist/components/bcm-arrow.js +47 -0
- package/dist/components/bcm-attendance-actions-comment.js +3 -3
- package/dist/components/bcm-attendance-actions-dropdown.js +3 -3
- package/dist/components/bcm-attendance-actions.js +3 -3
- package/dist/components/bcm-autocomplete.js +6 -12
- package/dist/components/bcm-button-group.js +1 -1
- package/dist/components/bcm-caption.js +3 -2
- package/dist/components/bcm-checkbox-group.js +62 -40
- package/dist/components/bcm-chip-group.js +6 -9
- package/dist/components/bcm-color-input.js +17 -2
- package/dist/components/bcm-date-picker.js +2 -2
- package/dist/components/bcm-date.js +3 -2
- package/dist/components/bcm-drawer.js +61 -29
- package/dist/components/bcm-dropdown.js +3 -3
- package/dist/components/bcm-expansion-panel-description.d.ts +11 -0
- package/dist/components/bcm-expansion-panel-description.js +36 -0
- package/dist/components/bcm-expansion-panel-extra.d.ts +11 -0
- package/dist/components/bcm-expansion-panel-extra.js +36 -0
- package/dist/components/bcm-expansion-panel-header.d.ts +11 -0
- package/dist/components/bcm-expansion-panel-header.js +36 -0
- package/dist/components/bcm-expansion-panel.js +118 -52
- package/dist/components/bcm-form-2.js +1 -1
- package/dist/components/bcm-input-dropdown.js +4 -3
- package/dist/components/bcm-item.js +1 -1
- package/dist/components/bcm-modal-2-footer.js +1 -1
- package/dist/components/bcm-modal-2-header.js +1 -1
- package/dist/components/bcm-modal-2.js +2 -2
- package/dist/components/bcm-modal-footer.d.ts +11 -0
- package/dist/components/bcm-modal-footer.js +47 -0
- package/dist/components/bcm-modal-header.d.ts +11 -0
- package/dist/components/bcm-modal-header.js +45 -0
- package/dist/components/bcm-modal.js +12 -25
- package/dist/components/bcm-number-input.js +4 -3
- package/dist/components/bcm-popconfirm-box-v2.d.ts +11 -0
- package/dist/components/bcm-popconfirm-box-v2.js +132 -0
- package/dist/components/bcm-popconfirm-host.d.ts +11 -0
- package/dist/components/bcm-popconfirm-host.js +158 -0
- package/dist/components/bcm-popconfirm.js +5 -17
- package/dist/components/bcm-popover.js +11 -10
- package/dist/components/bcm-progress.js +1 -1
- package/dist/components/bcm-radio-group.js +43 -4
- package/dist/components/bcm-range.js +1 -1
- package/dist/components/bcm-resizable-pane.d.ts +11 -0
- package/dist/components/bcm-resizable-pane.js +60 -0
- package/dist/components/{bcm-checkbox-lite.d.ts → bcm-result-footer.d.ts} +4 -4
- package/dist/components/bcm-result-footer.js +47 -0
- package/dist/components/bcm-result.js +20 -61
- package/dist/components/bcm-segment-picker-item.d.ts +11 -0
- package/dist/components/bcm-segment-picker-item.js +51 -0
- package/dist/components/bcm-segment-picker.d.ts +11 -0
- package/dist/components/bcm-segment-picker.js +87 -0
- package/dist/components/bcm-select.js +6 -12
- package/dist/components/bcm-shortcut.js +48 -8
- package/dist/components/bcm-stepper.js +5 -4
- package/dist/components/bcm-switch.js +189 -17
- package/dist/components/bcm-tab-group.js +5 -13
- package/dist/components/bcm-tab-item-header.js +9 -17
- package/dist/components/bcm-tab-item.js +8 -7
- package/dist/components/bcm-table.js +2 -1
- package/dist/components/bcm-tag.js +1 -1
- package/dist/components/bcm-time-picker.js +1 -1
- package/dist/components/bcm-toast.js +188 -32
- package/dist/components/bcm.js +8 -2
- package/dist/components/button.js +232 -184
- package/dist/components/caption-template.js +9 -9
- package/dist/components/checkbox.js +94 -104
- package/dist/components/checkbox.style.js +159 -0
- package/dist/components/chip.js +152 -40
- package/dist/components/colorful.js +1 -1
- package/dist/components/datetime-picker.js +3 -3
- package/dist/components/divider.js +21 -13
- package/dist/components/empty.js +75 -3
- package/dist/{cjs/floating-ui-5b396838.js → components/floating-ui.dom.esm.js} +1 -96
- package/dist/components/floating-ui.js +2 -1407
- package/dist/components/generate.js +14 -37
- package/dist/components/icon.js +14 -13
- package/dist/components/index.d.ts +14 -4
- package/dist/components/index.js +12 -2
- package/dist/components/index4.js +2590 -173
- package/dist/components/index5.js +171 -2549
- package/dist/components/input.js +77 -54
- package/dist/components/input.style.js +16 -15
- package/dist/components/label.js +12 -9
- package/dist/components/link.js +83 -39
- package/dist/components/linked.js +2 -2
- package/dist/components/list.js +28 -33
- package/dist/components/listbox-item.js +21 -9
- package/dist/components/listbox.js +7 -13
- package/dist/components/menu.js +15 -1
- package/dist/components/modal.style.js +114 -0
- package/dist/components/old-bcm-popover.js +1 -1
- package/dist/components/old-input.js +5 -3
- package/dist/components/old-popover-box.js +1 -1
- package/dist/components/popconfirm-box.js +12 -22
- package/dist/components/popover.style.js +108 -0
- package/dist/components/radio.js +79 -24
- package/dist/components/rc-overflow.js +1 -1
- package/dist/components/rc-picker.js +2 -2
- package/dist/components/result.style.js +54 -0
- package/dist/components/search.js +14 -16
- package/dist/components/segment-picker.style.js +53 -0
- package/dist/components/select-box.js +6 -12
- package/dist/components/skeleton.js +2 -2
- package/dist/components/step.js +1 -1
- package/dist/components/string-helper.js +1 -1
- package/dist/components/tab-group.syle.js +66 -0
- package/dist/components/textarea.js +152 -36
- package/dist/components/tooltip-helper.js +3 -16
- package/dist/components/tooltip.js +5 -4
- package/dist/esm/{bcm-a50d55ba.js → bcm-7f07539b.js} +7 -1
- package/dist/esm/{bcm-accordion_63.entry.js → bcm-accordion_68.entry.js} +2198 -881
- package/dist/esm/bcm-alert.entry.js +89 -75
- package/dist/esm/bcm-arrow.entry.js +30 -0
- package/dist/esm/bcm-attendance-actions-comment.entry.js +10 -9
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +10 -9
- package/dist/esm/bcm-autocomplete.entry.js +1 -1
- package/dist/esm/bcm-box.entry.js +1 -1
- package/dist/esm/bcm-breadcrumb.entry.js +3 -3
- package/dist/esm/bcm-caption.entry.js +10 -9
- package/dist/esm/bcm-card.entry.js +6 -6
- package/dist/esm/bcm-chip-group.entry.js +15 -19
- package/dist/esm/bcm-colorpicker.entry.js +1 -1
- package/dist/esm/bcm-content.entry.js +1 -1
- package/dist/esm/bcm-date-picker.entry.js +5 -5
- package/dist/esm/bcm-datetime-picker.entry.js +9 -9
- package/dist/esm/bcm-default.entry.js +3 -3
- package/dist/esm/bcm-error-layout.entry.js +1 -1
- package/dist/esm/bcm-form-2.entry.js +6 -6
- package/dist/esm/bcm-form-group.entry.js +1 -1
- package/dist/esm/bcm-input-custom.entry.js +3 -3
- package/dist/esm/bcm-input-dropdown.entry.js +10 -10
- package/dist/esm/bcm-message.entry.js +1 -1
- package/dist/esm/bcm-modal-2-footer.entry.js +8 -7
- package/dist/esm/bcm-modal-2-header.entry.js +8 -7
- package/dist/esm/bcm-modal-2.entry.js +8 -7
- package/dist/esm/bcm-notification.entry.js +1 -1
- package/dist/esm/bcm-number-input.entry.js +12 -12
- package/dist/esm/bcm-overlay_2.entry.js +1 -1
- package/dist/esm/bcm-popconfirm-box-v2.entry.js +105 -0
- package/dist/esm/bcm-popconfirm-host.entry.js +131 -0
- package/dist/esm/bcm-range.entry.js +4 -4
- package/dist/esm/bcm-react-number.entry.js +1 -1
- package/dist/esm/bcm-resizable-pane.entry.js +38 -0
- package/dist/esm/bcm-result-footer.entry.js +35 -0
- package/dist/esm/bcm-result.entry.js +16 -47
- package/dist/esm/bcm-segment-picker-item.entry.js +29 -0
- package/dist/esm/bcm-segment-picker.entry.js +63 -0
- package/dist/esm/bcm-select-group.entry.js +1 -1
- package/dist/esm/bcm-select-option.entry.js +1 -1
- package/dist/esm/bcm-skeleton.entry.js +8 -8
- package/dist/esm/bcm-tab-pane.entry.js +1 -1
- package/dist/esm/bcm-table.entry.js +9 -8
- package/dist/esm/bcm-tabs-content.entry.js +1 -1
- package/dist/esm/bcm-tag.entry.js +5 -5
- package/dist/esm/bcm-time-picker.entry.js +5 -5
- package/dist/esm/bcm-timeline-item.entry.js +1 -1
- package/dist/esm/bcm-timeline.entry.js +1 -1
- package/dist/esm/bcm-toast.entry.js +192 -36
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +5 -5
- package/dist/esm/{caption-template-3cd42c3b.js → caption-template-56977835.js} +10 -10
- package/dist/esm/floating-ui-4016b544.js +99 -0
- package/dist/esm/floating-ui.dom.esm-40a07b59.js +1411 -0
- package/dist/esm/{generate-74379aca.js → generate-8470dd6c.js} +14 -37
- package/dist/esm/{global-e20393a3.js → global-e694da71.js} +2 -2
- package/dist/esm/{index-0615c2b8.js → index-15387314.js} +3 -1
- package/dist/esm/{index-3bc8c6e3.js → index-9f698d35.js} +386 -347
- package/dist/esm/{input.style-e855c0f3.js → input.style-fe41ebc8.js} +16 -15
- package/dist/esm/{is-load-decorator-8277e3b8.js → is-load-decorator-5b0610df.js} +1 -1
- package/dist/esm/{label-template-ef97aadb.js → label-template-c7e70e5f.js} +8 -7
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{number-helper-6c691943.js → number-helper-56061510.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +10 -9
- package/dist/esm/old-bcm-popover.entry.js +4 -4
- package/dist/esm/{package-0b936309.js → package-387afefd.js} +1 -1
- package/dist/esm/{popover-placement-1b15cc99.js → popover-placement-6391b815.js} +1 -1
- package/dist/esm/popover.style-be349acc.js +104 -0
- package/dist/esm/result.style-de3bc950.js +54 -0
- package/dist/esm/segment-picker.style-1e837fe7.js +53 -0
- package/dist/esm/{slot-template-0d958dcc.js → slot-template-250f6ed4.js} +2 -2
- package/dist/esm/{string-helper-b4602002.js → string-helper-243b3e1d.js} +1 -1
- package/dist/esm/types-ec7dcf4f.js +173 -0
- package/dist/types/components/atoms/avatar/avatar.style.d.ts +21 -21
- package/dist/types/components/atoms/button/button.d.ts +32 -20
- package/dist/types/components/atoms/button/button.style.d.ts +334 -0
- package/dist/types/components/atoms/chip/chip.d.ts +4 -14
- package/dist/types/components/atoms/chip/chip.style.d.ts +387 -0
- package/dist/types/components/atoms/divider/divider.d.ts +1 -2
- package/dist/types/components/atoms/divider/divider.style.d.ts +42 -0
- package/dist/types/components/atoms/icon/icon.d.ts +0 -2
- package/dist/types/components/atoms/label/label.d.ts +1 -0
- package/dist/types/components/atoms/link/link.d.ts +10 -6
- package/dist/types/components/atoms/link/link.style.d.ts +171 -0
- package/dist/types/components/molecules/alert/alert.d.ts +15 -17
- package/dist/types/components/molecules/alert/alert.style.d.ts +331 -0
- package/dist/types/components/molecules/checkbox/checkbox.d.ts +16 -29
- package/dist/types/components/molecules/checkbox/checkbox.style.d.ts +498 -0
- package/dist/types/components/molecules/checkbox-group/checkbox-group.style.d.ts +108 -0
- package/dist/types/components/molecules/color-input/color-input.d.ts +0 -1
- package/dist/types/components/molecules/color-input/color-input.style.d.ts +10 -0
- package/dist/types/components/molecules/drawer/drawer.style.d.ts +252 -0
- package/dist/types/components/molecules/dropdown/dropdown.d.ts +2 -2
- package/dist/types/components/molecules/empty/empty.d.ts +6 -0
- package/dist/types/components/molecules/empty/empty.style.d.ts +296 -0
- package/dist/types/components/molecules/expansion-panel/bcm-expansion-panel-description.d.ts +6 -0
- package/dist/types/components/molecules/expansion-panel/bcm-expansion-panel-extra.d.ts +6 -0
- package/dist/types/components/molecules/expansion-panel/bcm-expansion-panel-header.d.ts +6 -0
- package/dist/types/components/molecules/expansion-panel/expansion-panel.d.ts +6 -5
- package/dist/types/components/molecules/expansion-panel/expansion-panel.style.d.ts +437 -0
- package/dist/types/components/molecules/input/input.d.ts +2 -2
- package/dist/types/components/molecules/modal/modal-footer.d.ts +7 -0
- package/dist/types/components/molecules/modal/modal-header.d.ts +7 -0
- package/dist/types/components/molecules/modal/modal.style.d.ts +364 -0
- package/dist/types/components/molecules/popconfirm/popconfirm-box.d.ts +1 -1
- package/dist/types/components/molecules/popconfirm-v2/pop-confirm-host.d.ts +26 -0
- package/dist/types/components/molecules/popconfirm-v2/popconf.style.d.ts +277 -0
- package/dist/types/components/molecules/popconfirm-v2/popconfirm-v2.d.ts +15 -0
- package/dist/types/components/molecules/popover/popover.style.d.ts +103 -0
- package/dist/types/components/molecules/radio/radio-group.style.d.ts +108 -0
- package/dist/types/components/molecules/radio/radio.style.d.ts +202 -0
- package/dist/types/components/molecules/result/result-footer.d.ts +7 -0
- package/dist/types/components/molecules/result/result.d.ts +3 -7
- package/dist/types/components/molecules/result/result.style.d.ts +180 -0
- package/dist/types/components/molecules/switch/switch.style.d.ts +537 -0
- package/dist/types/components/molecules/tab-group/tab-group.d.ts +0 -1
- package/dist/types/components/molecules/tab-group/tab-group.syle.d.ts +236 -0
- package/dist/types/components/molecules/tab-group/tab-item-header.d.ts +0 -1
- package/dist/types/components/molecules/textarea/textarea.d.ts +2 -2
- package/dist/types/components/molecules/textarea/textarea.style.d.ts +610 -0
- package/dist/types/components/molecules/tooltip/tooltip.style.d.ts +94 -0
- package/dist/types/components/other/arrow/arrow.d.ts +7 -0
- package/dist/types/components/other/resizable-pane/resizable-pane.d.ts +11 -0
- package/dist/types/components/other/segment-picker/segment-picker-item.d.ts +12 -0
- package/dist/types/components/other/segment-picker/segment-picker.d.ts +35 -0
- package/dist/types/components/other/segment-picker/segment-picker.style.d.ts +150 -0
- package/dist/types/components/other/shortcut/shortcut.style.d.ts +91 -0
- package/dist/types/components/other/toast/toast.style.d.ts +539 -0
- package/dist/types/components.d.ts +448 -278
- package/dist/types/helper/generate.d.ts +0 -3
- package/dist/types/helper/index.d.ts +1 -0
- package/dist/types/helper/pop-confirm-helper.d.ts +23 -0
- package/dist/types/helper/tooltip-helper.d.ts +0 -1
- package/dist/types/models/bcm-types.d.ts +3 -2
- package/dist/types/models/bcm.d.ts +7 -1
- package/dist/types/templates/icon-template.d.ts +2 -2
- package/dist/types/templates/label-template.d.ts +1 -0
- package/package.json +2 -2
- package/dist/bromcom-ui/p-0345ed68.entry.js +0 -5
- package/dist/bromcom-ui/p-069ae664.entry.js +0 -5
- package/dist/bromcom-ui/p-08c75801.js +0 -5
- package/dist/bromcom-ui/p-193d926a.entry.js +0 -5
- package/dist/bromcom-ui/p-228c74e9.entry.js +0 -5
- package/dist/bromcom-ui/p-29c4dc0a.entry.js +0 -5
- package/dist/bromcom-ui/p-2d34eb30.entry.js +0 -5
- package/dist/bromcom-ui/p-2df6b47d.js +0 -5
- package/dist/bromcom-ui/p-2ee89105.entry.js +0 -5
- package/dist/bromcom-ui/p-305b0bc8.entry.js +0 -5
- package/dist/bromcom-ui/p-3238bf36.js +0 -5
- package/dist/bromcom-ui/p-3b863650.entry.js +0 -5
- package/dist/bromcom-ui/p-3fac58f7.js +0 -5
- package/dist/bromcom-ui/p-43c578cf.js +0 -5
- package/dist/bromcom-ui/p-4f05c6a4.entry.js +0 -5
- package/dist/bromcom-ui/p-4f6eb6d6.js +0 -5
- package/dist/bromcom-ui/p-6e5f5f36.js +0 -5
- package/dist/bromcom-ui/p-7400e3c3.entry.js +0 -5
- package/dist/bromcom-ui/p-74e6d2b6.js +0 -5
- package/dist/bromcom-ui/p-87d9dff7.entry.js +0 -5
- package/dist/bromcom-ui/p-8e683b32.js +0 -5
- package/dist/bromcom-ui/p-a2ed89f0.entry.js +0 -5
- package/dist/bromcom-ui/p-a313fba6.js +0 -5
- package/dist/bromcom-ui/p-ae57f046.entry.js +0 -5
- package/dist/bromcom-ui/p-bbae06ed.entry.js +0 -5
- package/dist/bromcom-ui/p-d1298c40.js +0 -5
- package/dist/bromcom-ui/p-e99cc26b.entry.js +0 -5
- package/dist/bromcom-ui/p-ea7368b4.entry.js +0 -5
- package/dist/bromcom-ui/p-ec1fe98f.entry.js +0 -16
- package/dist/bromcom-ui/p-ece578ef.entry.js +0 -5
- package/dist/cjs/bcm-input-2.cjs.entry.js +0 -153
- package/dist/cjs/bcm-popover.cjs.entry.js +0 -230
- package/dist/cjs/index-d321de96.js +0 -193
- package/dist/cjs/types-cc4adee7.js +0 -19
- package/dist/cjs/validators-9369c82a.js +0 -33
- package/dist/collection/components/atoms/link/link.css +0 -175
- package/dist/collection/components/atoms/states/button.states.js +0 -31
- package/dist/collection/components/molecules/accordion/accordion.css +0 -127
- package/dist/collection/components/molecules/alert/alert.css +0 -191
- package/dist/collection/components/molecules/alert/types.js +0 -23
- package/dist/collection/components/molecules/checkbox/checkbox-lite.js +0 -236
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +0 -238
- package/dist/collection/components/molecules/input/input.css +0 -365
- package/dist/collection/components/molecules/input/input2.js +0 -918
- package/dist/collection/components/molecules/result/result.css +0 -164
- package/dist/collection/components/molecules/result/types.js +0 -22
- package/dist/collection/components/molecules/search/search.css +0 -365
- package/dist/collection/components/molecules/states/alert.states.js +0 -25
- package/dist/collection/components/molecules/switch/switch.css +0 -434
- package/dist/collection/components/molecules/textarea/textarea.css +0 -365
- package/dist/collection/components/molecules/textarea/types.js +0 -13
- package/dist/collection/global/components/_checkbox.css +0 -378
- package/dist/components/bcm-checkbox-lite.js +0 -10
- package/dist/components/bcm-input-2.js +0 -225
- package/dist/components/checkbox-lite.js +0 -97
- package/dist/components/input-template.js +0 -90
- package/dist/components/validators.js +0 -35
- package/dist/esm/bcm-input-2.entry.js +0 -149
- package/dist/esm/bcm-popover.entry.js +0 -226
- package/dist/esm/index-7e71bbc8.js +0 -191
- package/dist/esm/types-6f06fa1a.js +0 -19
- package/dist/esm/validators-c067048c.js +0 -31
- package/dist/types/components/atoms/states/button.states.d.ts +0 -7
- package/dist/types/components/molecules/alert/types.d.ts +0 -25
- package/dist/types/components/molecules/checkbox/checkbox-lite.d.ts +0 -14
- package/dist/types/components/molecules/input/input2.d.ts +0 -64
- package/dist/types/components/molecules/result/types.d.ts +0 -19
- package/dist/types/components/molecules/states/alert.states.d.ts +0 -7
- package/dist/types/components/molecules/textarea/types.d.ts +0 -9
- /package/dist/collection/components/{third-parts/rc-picker → organism/date}/date.js +0 -0
- /package/dist/types/components/molecules/{checkbox/group.d.ts → checkbox-group/checkbox-group.d.ts} +0 -0
- /package/dist/types/components/{third-parts/rc-picker → organism/date}/date.d.ts +0 -0
|
@@ -1,918 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
8
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
9
|
-
else
|
|
10
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
11
|
-
if (d = decorators[i])
|
|
12
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
13
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14
|
-
};
|
|
15
|
-
import { Host, h } from "@stencil/core";
|
|
16
|
-
import cs from "classnames";
|
|
17
|
-
import { IsLoad } from "../../../decorators/is-load-decorator";
|
|
18
|
-
import { Generate } from "../../../helper/generate";
|
|
19
|
-
import Bcm from "../../../models/bcm";
|
|
20
|
-
import { CaptionTemplate } from "../../../templates/caption-template";
|
|
21
|
-
import { inputStyle } from "./input.style";
|
|
22
|
-
export class BcmInput2 {
|
|
23
|
-
constructor() {
|
|
24
|
-
this._id = Generate.UID();
|
|
25
|
-
this._internal_id = Generate.UID();
|
|
26
|
-
this.value = "";
|
|
27
|
-
this.size = Bcm.Size.medium;
|
|
28
|
-
this.label = undefined;
|
|
29
|
-
this.pattern = undefined;
|
|
30
|
-
this.tooltip = undefined;
|
|
31
|
-
this.placeholder = undefined;
|
|
32
|
-
this.disabled = false;
|
|
33
|
-
this.readonly = false;
|
|
34
|
-
this.clearable = false;
|
|
35
|
-
this.autocomplete = false;
|
|
36
|
-
this.name = undefined;
|
|
37
|
-
this.type = Bcm.InputType.text;
|
|
38
|
-
this.hidden = false;
|
|
39
|
-
this.required = false;
|
|
40
|
-
this.fullWidth = false;
|
|
41
|
-
this.noDefaultIcon = undefined;
|
|
42
|
-
this.disableWatchValue = false;
|
|
43
|
-
this.passwordToggle = false;
|
|
44
|
-
this.maxLength = null;
|
|
45
|
-
this.minLength = null;
|
|
46
|
-
this.unitPrefix = null;
|
|
47
|
-
this.unit = undefined;
|
|
48
|
-
this.decimal = true;
|
|
49
|
-
this.min = undefined;
|
|
50
|
-
this.max = undefined;
|
|
51
|
-
this.step = undefined;
|
|
52
|
-
this.caption = undefined;
|
|
53
|
-
this.noCaption = false;
|
|
54
|
-
this.captionType = Bcm.Status.default;
|
|
55
|
-
this.captionError = undefined;
|
|
56
|
-
this.customErrorMessage = undefined;
|
|
57
|
-
this._prefix = undefined;
|
|
58
|
-
this._suffix = undefined;
|
|
59
|
-
this.captionCache = undefined;
|
|
60
|
-
this.captionTypeCache = undefined;
|
|
61
|
-
this.inValid = false;
|
|
62
|
-
this.valueCache = "";
|
|
63
|
-
this.focused = false;
|
|
64
|
-
this.isPasswordVisible = false;
|
|
65
|
-
}
|
|
66
|
-
async onBcmFocus() {
|
|
67
|
-
this.inputElement.focus();
|
|
68
|
-
}
|
|
69
|
-
async onBcmBlur() {
|
|
70
|
-
this.inputElement.blur();
|
|
71
|
-
}
|
|
72
|
-
async onBcmSelect() {
|
|
73
|
-
this.inputElement.select();
|
|
74
|
-
}
|
|
75
|
-
handleClear(e) {
|
|
76
|
-
this.inputElement.value = "";
|
|
77
|
-
this.value = "";
|
|
78
|
-
this.inputElement.focus();
|
|
79
|
-
this.clear.emit(e);
|
|
80
|
-
this.change.emit(this.value);
|
|
81
|
-
e.stopPropagation();
|
|
82
|
-
}
|
|
83
|
-
handleInput(_e) {
|
|
84
|
-
this.value = this.inputElement.value;
|
|
85
|
-
this.input.emit(this.value);
|
|
86
|
-
this.change.emit(this.value);
|
|
87
|
-
}
|
|
88
|
-
handleChange(_e) {
|
|
89
|
-
this.value = this.inputElement.value;
|
|
90
|
-
this.change.emit(this.value);
|
|
91
|
-
}
|
|
92
|
-
handleFocus(e) {
|
|
93
|
-
this.focused = true;
|
|
94
|
-
this.focus.emit(e);
|
|
95
|
-
}
|
|
96
|
-
handleBlur(e) {
|
|
97
|
-
this.focused = false;
|
|
98
|
-
this.blur.emit(e);
|
|
99
|
-
}
|
|
100
|
-
handleKeyUp(e) {
|
|
101
|
-
if (e.key === "Enter") {
|
|
102
|
-
this.blur.emit(e);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
render() {
|
|
106
|
-
const { value, size, label, type, captionType, caption, captionError, placeholder, fullWidth, disabled, readonly, clearable,
|
|
107
|
-
// passwordToggle,
|
|
108
|
-
// isPasswordVisible,
|
|
109
|
-
// noDefaultIcon,
|
|
110
|
-
unit, inValid, focused,
|
|
111
|
-
// unitPrefix,
|
|
112
|
-
noCaption, required, hidden, _id, autocomplete, _prefix, _suffix, } = this;
|
|
113
|
-
const isActiveClearable = (value === null || value === void 0 ? void 0 : value.length) > 0 && clearable;
|
|
114
|
-
const { host, inputContainer, input, slotClass, clearButton, controls, controlsBtn, controlsBtnDown, controlsBtnUp, controlsDivider } = inputStyle({
|
|
115
|
-
size,
|
|
116
|
-
fullWidth,
|
|
117
|
-
// şüpheli kısımlar
|
|
118
|
-
focused: focused,
|
|
119
|
-
clearable: isActiveClearable,
|
|
120
|
-
disabled,
|
|
121
|
-
readonly,
|
|
122
|
-
invalid: inValid,
|
|
123
|
-
unit: (unit === null || unit === void 0 ? void 0 : unit.length) > 0,
|
|
124
|
-
// 'empty': value?.length < 1,
|
|
125
|
-
error: captionType === "error",
|
|
126
|
-
hidden,
|
|
127
|
-
});
|
|
128
|
-
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: cs(controlsBtn(), controlsBtnUp()) }, h("i", { class: "fas fa-caret-up" })), h("div", { class: controlsDivider() }), h("button", { type: "button", onClick: () => this.onBcmFocus(), class: cs(controlsBtn(), controlsBtnDown()) }, h("i", { class: "fas fa-caret-down" })))))), h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, customErrorMessage: this.customErrorMessage })));
|
|
129
|
-
}
|
|
130
|
-
static get is() { return "bcm-input-2"; }
|
|
131
|
-
static get originalStyleUrls() {
|
|
132
|
-
return {
|
|
133
|
-
"$": ["input.scss"]
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
static get styleUrls() {
|
|
137
|
-
return {
|
|
138
|
-
"$": ["input.css"]
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
static get properties() {
|
|
142
|
-
return {
|
|
143
|
-
"_id": {
|
|
144
|
-
"type": "string",
|
|
145
|
-
"mutable": false,
|
|
146
|
-
"complexType": {
|
|
147
|
-
"original": "string",
|
|
148
|
-
"resolved": "string",
|
|
149
|
-
"references": {}
|
|
150
|
-
},
|
|
151
|
-
"required": false,
|
|
152
|
-
"optional": false,
|
|
153
|
-
"docs": {
|
|
154
|
-
"tags": [],
|
|
155
|
-
"text": "Props *"
|
|
156
|
-
},
|
|
157
|
-
"attribute": "id",
|
|
158
|
-
"reflect": true,
|
|
159
|
-
"defaultValue": "Generate.UID()"
|
|
160
|
-
},
|
|
161
|
-
"_internal_id": {
|
|
162
|
-
"type": "string",
|
|
163
|
-
"mutable": false,
|
|
164
|
-
"complexType": {
|
|
165
|
-
"original": "string",
|
|
166
|
-
"resolved": "string",
|
|
167
|
-
"references": {}
|
|
168
|
-
},
|
|
169
|
-
"required": false,
|
|
170
|
-
"optional": false,
|
|
171
|
-
"docs": {
|
|
172
|
-
"tags": [],
|
|
173
|
-
"text": ""
|
|
174
|
-
},
|
|
175
|
-
"attribute": "_internal_id",
|
|
176
|
-
"reflect": false,
|
|
177
|
-
"defaultValue": "Generate.UID()"
|
|
178
|
-
},
|
|
179
|
-
"value": {
|
|
180
|
-
"type": "any",
|
|
181
|
-
"mutable": false,
|
|
182
|
-
"complexType": {
|
|
183
|
-
"original": "any",
|
|
184
|
-
"resolved": "any",
|
|
185
|
-
"references": {}
|
|
186
|
-
},
|
|
187
|
-
"required": false,
|
|
188
|
-
"optional": false,
|
|
189
|
-
"docs": {
|
|
190
|
-
"tags": [],
|
|
191
|
-
"text": ""
|
|
192
|
-
},
|
|
193
|
-
"attribute": "value",
|
|
194
|
-
"reflect": false,
|
|
195
|
-
"defaultValue": "\"\""
|
|
196
|
-
},
|
|
197
|
-
"size": {
|
|
198
|
-
"type": "string",
|
|
199
|
-
"mutable": false,
|
|
200
|
-
"complexType": {
|
|
201
|
-
"original": "SizeTypes",
|
|
202
|
-
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
203
|
-
"references": {
|
|
204
|
-
"SizeTypes": {
|
|
205
|
-
"location": "import",
|
|
206
|
-
"path": "../../../models/bcm-types"
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
"required": false,
|
|
211
|
-
"optional": false,
|
|
212
|
-
"docs": {
|
|
213
|
-
"tags": [],
|
|
214
|
-
"text": ""
|
|
215
|
-
},
|
|
216
|
-
"attribute": "size",
|
|
217
|
-
"reflect": false,
|
|
218
|
-
"defaultValue": "Bcm.Size.medium"
|
|
219
|
-
},
|
|
220
|
-
"label": {
|
|
221
|
-
"type": "string",
|
|
222
|
-
"mutable": false,
|
|
223
|
-
"complexType": {
|
|
224
|
-
"original": "string",
|
|
225
|
-
"resolved": "string",
|
|
226
|
-
"references": {}
|
|
227
|
-
},
|
|
228
|
-
"required": false,
|
|
229
|
-
"optional": false,
|
|
230
|
-
"docs": {
|
|
231
|
-
"tags": [],
|
|
232
|
-
"text": ""
|
|
233
|
-
},
|
|
234
|
-
"attribute": "label",
|
|
235
|
-
"reflect": false
|
|
236
|
-
},
|
|
237
|
-
"pattern": {
|
|
238
|
-
"type": "string",
|
|
239
|
-
"mutable": false,
|
|
240
|
-
"complexType": {
|
|
241
|
-
"original": "string",
|
|
242
|
-
"resolved": "string",
|
|
243
|
-
"references": {}
|
|
244
|
-
},
|
|
245
|
-
"required": false,
|
|
246
|
-
"optional": false,
|
|
247
|
-
"docs": {
|
|
248
|
-
"tags": [],
|
|
249
|
-
"text": ""
|
|
250
|
-
},
|
|
251
|
-
"attribute": "pattern",
|
|
252
|
-
"reflect": false
|
|
253
|
-
},
|
|
254
|
-
"tooltip": {
|
|
255
|
-
"type": "string",
|
|
256
|
-
"mutable": false,
|
|
257
|
-
"complexType": {
|
|
258
|
-
"original": "string",
|
|
259
|
-
"resolved": "string",
|
|
260
|
-
"references": {}
|
|
261
|
-
},
|
|
262
|
-
"required": false,
|
|
263
|
-
"optional": false,
|
|
264
|
-
"docs": {
|
|
265
|
-
"tags": [],
|
|
266
|
-
"text": ""
|
|
267
|
-
},
|
|
268
|
-
"attribute": "tooltip",
|
|
269
|
-
"reflect": false
|
|
270
|
-
},
|
|
271
|
-
"placeholder": {
|
|
272
|
-
"type": "string",
|
|
273
|
-
"mutable": false,
|
|
274
|
-
"complexType": {
|
|
275
|
-
"original": "string",
|
|
276
|
-
"resolved": "string",
|
|
277
|
-
"references": {}
|
|
278
|
-
},
|
|
279
|
-
"required": false,
|
|
280
|
-
"optional": false,
|
|
281
|
-
"docs": {
|
|
282
|
-
"tags": [],
|
|
283
|
-
"text": ""
|
|
284
|
-
},
|
|
285
|
-
"attribute": "placeholder",
|
|
286
|
-
"reflect": false
|
|
287
|
-
},
|
|
288
|
-
"disabled": {
|
|
289
|
-
"type": "boolean",
|
|
290
|
-
"mutable": false,
|
|
291
|
-
"complexType": {
|
|
292
|
-
"original": "boolean",
|
|
293
|
-
"resolved": "boolean",
|
|
294
|
-
"references": {}
|
|
295
|
-
},
|
|
296
|
-
"required": false,
|
|
297
|
-
"optional": false,
|
|
298
|
-
"docs": {
|
|
299
|
-
"tags": [],
|
|
300
|
-
"text": ""
|
|
301
|
-
},
|
|
302
|
-
"attribute": "disabled",
|
|
303
|
-
"reflect": false,
|
|
304
|
-
"defaultValue": "false"
|
|
305
|
-
},
|
|
306
|
-
"readonly": {
|
|
307
|
-
"type": "boolean",
|
|
308
|
-
"mutable": false,
|
|
309
|
-
"complexType": {
|
|
310
|
-
"original": "boolean",
|
|
311
|
-
"resolved": "boolean",
|
|
312
|
-
"references": {}
|
|
313
|
-
},
|
|
314
|
-
"required": false,
|
|
315
|
-
"optional": false,
|
|
316
|
-
"docs": {
|
|
317
|
-
"tags": [],
|
|
318
|
-
"text": ""
|
|
319
|
-
},
|
|
320
|
-
"attribute": "readonly",
|
|
321
|
-
"reflect": false,
|
|
322
|
-
"defaultValue": "false"
|
|
323
|
-
},
|
|
324
|
-
"clearable": {
|
|
325
|
-
"type": "boolean",
|
|
326
|
-
"mutable": false,
|
|
327
|
-
"complexType": {
|
|
328
|
-
"original": "boolean",
|
|
329
|
-
"resolved": "boolean",
|
|
330
|
-
"references": {}
|
|
331
|
-
},
|
|
332
|
-
"required": false,
|
|
333
|
-
"optional": false,
|
|
334
|
-
"docs": {
|
|
335
|
-
"tags": [],
|
|
336
|
-
"text": ""
|
|
337
|
-
},
|
|
338
|
-
"attribute": "clearable",
|
|
339
|
-
"reflect": false,
|
|
340
|
-
"defaultValue": "false"
|
|
341
|
-
},
|
|
342
|
-
"autocomplete": {
|
|
343
|
-
"type": "boolean",
|
|
344
|
-
"mutable": false,
|
|
345
|
-
"complexType": {
|
|
346
|
-
"original": "boolean",
|
|
347
|
-
"resolved": "boolean",
|
|
348
|
-
"references": {}
|
|
349
|
-
},
|
|
350
|
-
"required": false,
|
|
351
|
-
"optional": false,
|
|
352
|
-
"docs": {
|
|
353
|
-
"tags": [],
|
|
354
|
-
"text": ""
|
|
355
|
-
},
|
|
356
|
-
"attribute": "autocomplete",
|
|
357
|
-
"reflect": false,
|
|
358
|
-
"defaultValue": "false"
|
|
359
|
-
},
|
|
360
|
-
"name": {
|
|
361
|
-
"type": "string",
|
|
362
|
-
"mutable": false,
|
|
363
|
-
"complexType": {
|
|
364
|
-
"original": "string",
|
|
365
|
-
"resolved": "string",
|
|
366
|
-
"references": {}
|
|
367
|
-
},
|
|
368
|
-
"required": false,
|
|
369
|
-
"optional": false,
|
|
370
|
-
"docs": {
|
|
371
|
-
"tags": [],
|
|
372
|
-
"text": ""
|
|
373
|
-
},
|
|
374
|
-
"attribute": "name",
|
|
375
|
-
"reflect": false
|
|
376
|
-
},
|
|
377
|
-
"type": {
|
|
378
|
-
"type": "string",
|
|
379
|
-
"mutable": false,
|
|
380
|
-
"complexType": {
|
|
381
|
-
"original": "InputTypes",
|
|
382
|
-
"resolved": "\"color\" | \"email\" | \"hidden\" | \"number\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"url\"",
|
|
383
|
-
"references": {
|
|
384
|
-
"InputTypes": {
|
|
385
|
-
"location": "import",
|
|
386
|
-
"path": "../../../models/bcm-types"
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
},
|
|
390
|
-
"required": false,
|
|
391
|
-
"optional": false,
|
|
392
|
-
"docs": {
|
|
393
|
-
"tags": [],
|
|
394
|
-
"text": ""
|
|
395
|
-
},
|
|
396
|
-
"attribute": "type",
|
|
397
|
-
"reflect": false,
|
|
398
|
-
"defaultValue": "Bcm.InputType.text"
|
|
399
|
-
},
|
|
400
|
-
"hidden": {
|
|
401
|
-
"type": "boolean",
|
|
402
|
-
"mutable": false,
|
|
403
|
-
"complexType": {
|
|
404
|
-
"original": "boolean",
|
|
405
|
-
"resolved": "boolean",
|
|
406
|
-
"references": {}
|
|
407
|
-
},
|
|
408
|
-
"required": false,
|
|
409
|
-
"optional": false,
|
|
410
|
-
"docs": {
|
|
411
|
-
"tags": [],
|
|
412
|
-
"text": ""
|
|
413
|
-
},
|
|
414
|
-
"attribute": "hidden",
|
|
415
|
-
"reflect": false,
|
|
416
|
-
"defaultValue": "false"
|
|
417
|
-
},
|
|
418
|
-
"required": {
|
|
419
|
-
"type": "boolean",
|
|
420
|
-
"mutable": false,
|
|
421
|
-
"complexType": {
|
|
422
|
-
"original": "boolean",
|
|
423
|
-
"resolved": "boolean",
|
|
424
|
-
"references": {}
|
|
425
|
-
},
|
|
426
|
-
"required": false,
|
|
427
|
-
"optional": false,
|
|
428
|
-
"docs": {
|
|
429
|
-
"tags": [],
|
|
430
|
-
"text": ""
|
|
431
|
-
},
|
|
432
|
-
"attribute": "required",
|
|
433
|
-
"reflect": false,
|
|
434
|
-
"defaultValue": "false"
|
|
435
|
-
},
|
|
436
|
-
"fullWidth": {
|
|
437
|
-
"type": "boolean",
|
|
438
|
-
"mutable": false,
|
|
439
|
-
"complexType": {
|
|
440
|
-
"original": "boolean",
|
|
441
|
-
"resolved": "boolean",
|
|
442
|
-
"references": {}
|
|
443
|
-
},
|
|
444
|
-
"required": false,
|
|
445
|
-
"optional": false,
|
|
446
|
-
"docs": {
|
|
447
|
-
"tags": [],
|
|
448
|
-
"text": ""
|
|
449
|
-
},
|
|
450
|
-
"attribute": "full-width",
|
|
451
|
-
"reflect": false,
|
|
452
|
-
"defaultValue": "false"
|
|
453
|
-
},
|
|
454
|
-
"noDefaultIcon": {
|
|
455
|
-
"type": "boolean",
|
|
456
|
-
"mutable": false,
|
|
457
|
-
"complexType": {
|
|
458
|
-
"original": "boolean",
|
|
459
|
-
"resolved": "boolean",
|
|
460
|
-
"references": {}
|
|
461
|
-
},
|
|
462
|
-
"required": false,
|
|
463
|
-
"optional": false,
|
|
464
|
-
"docs": {
|
|
465
|
-
"tags": [],
|
|
466
|
-
"text": ""
|
|
467
|
-
},
|
|
468
|
-
"attribute": "no-default-icon",
|
|
469
|
-
"reflect": false
|
|
470
|
-
},
|
|
471
|
-
"disableWatchValue": {
|
|
472
|
-
"type": "boolean",
|
|
473
|
-
"mutable": false,
|
|
474
|
-
"complexType": {
|
|
475
|
-
"original": "boolean",
|
|
476
|
-
"resolved": "boolean",
|
|
477
|
-
"references": {}
|
|
478
|
-
},
|
|
479
|
-
"required": false,
|
|
480
|
-
"optional": false,
|
|
481
|
-
"docs": {
|
|
482
|
-
"tags": [],
|
|
483
|
-
"text": ""
|
|
484
|
-
},
|
|
485
|
-
"attribute": "disable-watch-value",
|
|
486
|
-
"reflect": false,
|
|
487
|
-
"defaultValue": "false"
|
|
488
|
-
},
|
|
489
|
-
"passwordToggle": {
|
|
490
|
-
"type": "boolean",
|
|
491
|
-
"mutable": false,
|
|
492
|
-
"complexType": {
|
|
493
|
-
"original": "boolean",
|
|
494
|
-
"resolved": "boolean",
|
|
495
|
-
"references": {}
|
|
496
|
-
},
|
|
497
|
-
"required": false,
|
|
498
|
-
"optional": false,
|
|
499
|
-
"docs": {
|
|
500
|
-
"tags": [],
|
|
501
|
-
"text": ""
|
|
502
|
-
},
|
|
503
|
-
"attribute": "password-toggle",
|
|
504
|
-
"reflect": false,
|
|
505
|
-
"defaultValue": "false"
|
|
506
|
-
},
|
|
507
|
-
"maxLength": {
|
|
508
|
-
"type": "number",
|
|
509
|
-
"mutable": false,
|
|
510
|
-
"complexType": {
|
|
511
|
-
"original": "number",
|
|
512
|
-
"resolved": "number",
|
|
513
|
-
"references": {}
|
|
514
|
-
},
|
|
515
|
-
"required": false,
|
|
516
|
-
"optional": false,
|
|
517
|
-
"docs": {
|
|
518
|
-
"tags": [],
|
|
519
|
-
"text": ""
|
|
520
|
-
},
|
|
521
|
-
"attribute": "max-length",
|
|
522
|
-
"reflect": false,
|
|
523
|
-
"defaultValue": "null"
|
|
524
|
-
},
|
|
525
|
-
"minLength": {
|
|
526
|
-
"type": "number",
|
|
527
|
-
"mutable": false,
|
|
528
|
-
"complexType": {
|
|
529
|
-
"original": "number",
|
|
530
|
-
"resolved": "number",
|
|
531
|
-
"references": {}
|
|
532
|
-
},
|
|
533
|
-
"required": false,
|
|
534
|
-
"optional": false,
|
|
535
|
-
"docs": {
|
|
536
|
-
"tags": [],
|
|
537
|
-
"text": ""
|
|
538
|
-
},
|
|
539
|
-
"attribute": "min-length",
|
|
540
|
-
"reflect": false,
|
|
541
|
-
"defaultValue": "null"
|
|
542
|
-
},
|
|
543
|
-
"unitPrefix": {
|
|
544
|
-
"type": "string",
|
|
545
|
-
"mutable": false,
|
|
546
|
-
"complexType": {
|
|
547
|
-
"original": "string",
|
|
548
|
-
"resolved": "string",
|
|
549
|
-
"references": {}
|
|
550
|
-
},
|
|
551
|
-
"required": false,
|
|
552
|
-
"optional": false,
|
|
553
|
-
"docs": {
|
|
554
|
-
"tags": [],
|
|
555
|
-
"text": ""
|
|
556
|
-
},
|
|
557
|
-
"attribute": "unit-prefix",
|
|
558
|
-
"reflect": false,
|
|
559
|
-
"defaultValue": "null"
|
|
560
|
-
},
|
|
561
|
-
"unit": {
|
|
562
|
-
"type": "string",
|
|
563
|
-
"mutable": false,
|
|
564
|
-
"complexType": {
|
|
565
|
-
"original": "string",
|
|
566
|
-
"resolved": "string",
|
|
567
|
-
"references": {}
|
|
568
|
-
},
|
|
569
|
-
"required": false,
|
|
570
|
-
"optional": false,
|
|
571
|
-
"docs": {
|
|
572
|
-
"tags": [],
|
|
573
|
-
"text": ""
|
|
574
|
-
},
|
|
575
|
-
"attribute": "unit",
|
|
576
|
-
"reflect": false
|
|
577
|
-
},
|
|
578
|
-
"decimal": {
|
|
579
|
-
"type": "boolean",
|
|
580
|
-
"mutable": false,
|
|
581
|
-
"complexType": {
|
|
582
|
-
"original": "boolean",
|
|
583
|
-
"resolved": "boolean",
|
|
584
|
-
"references": {}
|
|
585
|
-
},
|
|
586
|
-
"required": false,
|
|
587
|
-
"optional": false,
|
|
588
|
-
"docs": {
|
|
589
|
-
"tags": [],
|
|
590
|
-
"text": ""
|
|
591
|
-
},
|
|
592
|
-
"attribute": "decimal",
|
|
593
|
-
"reflect": false,
|
|
594
|
-
"defaultValue": "true"
|
|
595
|
-
},
|
|
596
|
-
"min": {
|
|
597
|
-
"type": "number",
|
|
598
|
-
"mutable": false,
|
|
599
|
-
"complexType": {
|
|
600
|
-
"original": "number",
|
|
601
|
-
"resolved": "number",
|
|
602
|
-
"references": {}
|
|
603
|
-
},
|
|
604
|
-
"required": false,
|
|
605
|
-
"optional": false,
|
|
606
|
-
"docs": {
|
|
607
|
-
"tags": [],
|
|
608
|
-
"text": ""
|
|
609
|
-
},
|
|
610
|
-
"attribute": "min",
|
|
611
|
-
"reflect": false
|
|
612
|
-
},
|
|
613
|
-
"max": {
|
|
614
|
-
"type": "number",
|
|
615
|
-
"mutable": false,
|
|
616
|
-
"complexType": {
|
|
617
|
-
"original": "number",
|
|
618
|
-
"resolved": "number",
|
|
619
|
-
"references": {}
|
|
620
|
-
},
|
|
621
|
-
"required": false,
|
|
622
|
-
"optional": false,
|
|
623
|
-
"docs": {
|
|
624
|
-
"tags": [],
|
|
625
|
-
"text": ""
|
|
626
|
-
},
|
|
627
|
-
"attribute": "max",
|
|
628
|
-
"reflect": false
|
|
629
|
-
},
|
|
630
|
-
"step": {
|
|
631
|
-
"type": "any",
|
|
632
|
-
"mutable": false,
|
|
633
|
-
"complexType": {
|
|
634
|
-
"original": "any",
|
|
635
|
-
"resolved": "any",
|
|
636
|
-
"references": {}
|
|
637
|
-
},
|
|
638
|
-
"required": false,
|
|
639
|
-
"optional": false,
|
|
640
|
-
"docs": {
|
|
641
|
-
"tags": [],
|
|
642
|
-
"text": ""
|
|
643
|
-
},
|
|
644
|
-
"attribute": "step",
|
|
645
|
-
"reflect": false
|
|
646
|
-
},
|
|
647
|
-
"caption": {
|
|
648
|
-
"type": "string",
|
|
649
|
-
"mutable": false,
|
|
650
|
-
"complexType": {
|
|
651
|
-
"original": "string",
|
|
652
|
-
"resolved": "string",
|
|
653
|
-
"references": {}
|
|
654
|
-
},
|
|
655
|
-
"required": false,
|
|
656
|
-
"optional": false,
|
|
657
|
-
"docs": {
|
|
658
|
-
"tags": [],
|
|
659
|
-
"text": ""
|
|
660
|
-
},
|
|
661
|
-
"attribute": "caption",
|
|
662
|
-
"reflect": false
|
|
663
|
-
},
|
|
664
|
-
"noCaption": {
|
|
665
|
-
"type": "boolean",
|
|
666
|
-
"mutable": false,
|
|
667
|
-
"complexType": {
|
|
668
|
-
"original": "boolean",
|
|
669
|
-
"resolved": "boolean",
|
|
670
|
-
"references": {}
|
|
671
|
-
},
|
|
672
|
-
"required": false,
|
|
673
|
-
"optional": false,
|
|
674
|
-
"docs": {
|
|
675
|
-
"tags": [],
|
|
676
|
-
"text": ""
|
|
677
|
-
},
|
|
678
|
-
"attribute": "no-caption",
|
|
679
|
-
"reflect": false,
|
|
680
|
-
"defaultValue": "false"
|
|
681
|
-
},
|
|
682
|
-
"captionType": {
|
|
683
|
-
"type": "string",
|
|
684
|
-
"mutable": false,
|
|
685
|
-
"complexType": {
|
|
686
|
-
"original": "StatusTypes",
|
|
687
|
-
"resolved": "\"default\" | \"error\" | \"info\" | \"success\" | \"warning\"",
|
|
688
|
-
"references": {
|
|
689
|
-
"StatusTypes": {
|
|
690
|
-
"location": "import",
|
|
691
|
-
"path": "../../../models/bcm-types"
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
},
|
|
695
|
-
"required": false,
|
|
696
|
-
"optional": false,
|
|
697
|
-
"docs": {
|
|
698
|
-
"tags": [],
|
|
699
|
-
"text": ""
|
|
700
|
-
},
|
|
701
|
-
"attribute": "caption-type",
|
|
702
|
-
"reflect": false,
|
|
703
|
-
"defaultValue": "Bcm.Status.default"
|
|
704
|
-
},
|
|
705
|
-
"captionError": {
|
|
706
|
-
"type": "string",
|
|
707
|
-
"mutable": false,
|
|
708
|
-
"complexType": {
|
|
709
|
-
"original": "string",
|
|
710
|
-
"resolved": "string",
|
|
711
|
-
"references": {}
|
|
712
|
-
},
|
|
713
|
-
"required": false,
|
|
714
|
-
"optional": false,
|
|
715
|
-
"docs": {
|
|
716
|
-
"tags": [],
|
|
717
|
-
"text": ""
|
|
718
|
-
},
|
|
719
|
-
"attribute": "caption-error",
|
|
720
|
-
"reflect": false
|
|
721
|
-
},
|
|
722
|
-
"customErrorMessage": {
|
|
723
|
-
"type": "string",
|
|
724
|
-
"mutable": false,
|
|
725
|
-
"complexType": {
|
|
726
|
-
"original": "string",
|
|
727
|
-
"resolved": "string",
|
|
728
|
-
"references": {}
|
|
729
|
-
},
|
|
730
|
-
"required": false,
|
|
731
|
-
"optional": false,
|
|
732
|
-
"docs": {
|
|
733
|
-
"tags": [],
|
|
734
|
-
"text": ""
|
|
735
|
-
},
|
|
736
|
-
"attribute": "custom-error-message",
|
|
737
|
-
"reflect": false
|
|
738
|
-
},
|
|
739
|
-
"_prefix": {
|
|
740
|
-
"type": "string",
|
|
741
|
-
"mutable": false,
|
|
742
|
-
"complexType": {
|
|
743
|
-
"original": "string",
|
|
744
|
-
"resolved": "string",
|
|
745
|
-
"references": {}
|
|
746
|
-
},
|
|
747
|
-
"required": false,
|
|
748
|
-
"optional": false,
|
|
749
|
-
"docs": {
|
|
750
|
-
"tags": [],
|
|
751
|
-
"text": ""
|
|
752
|
-
},
|
|
753
|
-
"attribute": "prefix",
|
|
754
|
-
"reflect": false
|
|
755
|
-
},
|
|
756
|
-
"_suffix": {
|
|
757
|
-
"type": "string",
|
|
758
|
-
"mutable": false,
|
|
759
|
-
"complexType": {
|
|
760
|
-
"original": "string",
|
|
761
|
-
"resolved": "string",
|
|
762
|
-
"references": {}
|
|
763
|
-
},
|
|
764
|
-
"required": false,
|
|
765
|
-
"optional": false,
|
|
766
|
-
"docs": {
|
|
767
|
-
"tags": [],
|
|
768
|
-
"text": ""
|
|
769
|
-
},
|
|
770
|
-
"attribute": "suffix",
|
|
771
|
-
"reflect": false
|
|
772
|
-
}
|
|
773
|
-
};
|
|
774
|
-
}
|
|
775
|
-
static get states() {
|
|
776
|
-
return {
|
|
777
|
-
"captionCache": {},
|
|
778
|
-
"captionTypeCache": {},
|
|
779
|
-
"inValid": {},
|
|
780
|
-
"valueCache": {},
|
|
781
|
-
"focused": {},
|
|
782
|
-
"isPasswordVisible": {}
|
|
783
|
-
};
|
|
784
|
-
}
|
|
785
|
-
static get events() {
|
|
786
|
-
return [{
|
|
787
|
-
"method": "focus",
|
|
788
|
-
"name": "bcm-focus",
|
|
789
|
-
"bubbles": true,
|
|
790
|
-
"cancelable": true,
|
|
791
|
-
"composed": true,
|
|
792
|
-
"docs": {
|
|
793
|
-
"tags": [],
|
|
794
|
-
"text": "Events *"
|
|
795
|
-
},
|
|
796
|
-
"complexType": {
|
|
797
|
-
"original": "any",
|
|
798
|
-
"resolved": "any",
|
|
799
|
-
"references": {}
|
|
800
|
-
}
|
|
801
|
-
}, {
|
|
802
|
-
"method": "blur",
|
|
803
|
-
"name": "bcm-blur",
|
|
804
|
-
"bubbles": true,
|
|
805
|
-
"cancelable": true,
|
|
806
|
-
"composed": true,
|
|
807
|
-
"docs": {
|
|
808
|
-
"tags": [],
|
|
809
|
-
"text": ""
|
|
810
|
-
},
|
|
811
|
-
"complexType": {
|
|
812
|
-
"original": "any",
|
|
813
|
-
"resolved": "any",
|
|
814
|
-
"references": {}
|
|
815
|
-
}
|
|
816
|
-
}, {
|
|
817
|
-
"method": "clear",
|
|
818
|
-
"name": "bcm-clear",
|
|
819
|
-
"bubbles": true,
|
|
820
|
-
"cancelable": true,
|
|
821
|
-
"composed": true,
|
|
822
|
-
"docs": {
|
|
823
|
-
"tags": [],
|
|
824
|
-
"text": ""
|
|
825
|
-
},
|
|
826
|
-
"complexType": {
|
|
827
|
-
"original": "any",
|
|
828
|
-
"resolved": "any",
|
|
829
|
-
"references": {}
|
|
830
|
-
}
|
|
831
|
-
}, {
|
|
832
|
-
"method": "change",
|
|
833
|
-
"name": "bcm-change",
|
|
834
|
-
"bubbles": true,
|
|
835
|
-
"cancelable": true,
|
|
836
|
-
"composed": true,
|
|
837
|
-
"docs": {
|
|
838
|
-
"tags": [],
|
|
839
|
-
"text": ""
|
|
840
|
-
},
|
|
841
|
-
"complexType": {
|
|
842
|
-
"original": "any",
|
|
843
|
-
"resolved": "any",
|
|
844
|
-
"references": {}
|
|
845
|
-
}
|
|
846
|
-
}, {
|
|
847
|
-
"method": "input",
|
|
848
|
-
"name": "bcm-input",
|
|
849
|
-
"bubbles": true,
|
|
850
|
-
"cancelable": true,
|
|
851
|
-
"composed": true,
|
|
852
|
-
"docs": {
|
|
853
|
-
"tags": [],
|
|
854
|
-
"text": ""
|
|
855
|
-
},
|
|
856
|
-
"complexType": {
|
|
857
|
-
"original": "any",
|
|
858
|
-
"resolved": "any",
|
|
859
|
-
"references": {}
|
|
860
|
-
}
|
|
861
|
-
}];
|
|
862
|
-
}
|
|
863
|
-
static get methods() {
|
|
864
|
-
return {
|
|
865
|
-
"onBcmFocus": {
|
|
866
|
-
"complexType": {
|
|
867
|
-
"signature": "() => Promise<void>",
|
|
868
|
-
"parameters": [],
|
|
869
|
-
"references": {
|
|
870
|
-
"Promise": {
|
|
871
|
-
"location": "global"
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
|
-
"return": "Promise<void>"
|
|
875
|
-
},
|
|
876
|
-
"docs": {
|
|
877
|
-
"text": "",
|
|
878
|
-
"tags": []
|
|
879
|
-
}
|
|
880
|
-
},
|
|
881
|
-
"onBcmBlur": {
|
|
882
|
-
"complexType": {
|
|
883
|
-
"signature": "() => Promise<void>",
|
|
884
|
-
"parameters": [],
|
|
885
|
-
"references": {
|
|
886
|
-
"Promise": {
|
|
887
|
-
"location": "global"
|
|
888
|
-
}
|
|
889
|
-
},
|
|
890
|
-
"return": "Promise<void>"
|
|
891
|
-
},
|
|
892
|
-
"docs": {
|
|
893
|
-
"text": "",
|
|
894
|
-
"tags": []
|
|
895
|
-
}
|
|
896
|
-
},
|
|
897
|
-
"onBcmSelect": {
|
|
898
|
-
"complexType": {
|
|
899
|
-
"signature": "() => Promise<void>",
|
|
900
|
-
"parameters": [],
|
|
901
|
-
"references": {
|
|
902
|
-
"Promise": {
|
|
903
|
-
"location": "global"
|
|
904
|
-
}
|
|
905
|
-
},
|
|
906
|
-
"return": "Promise<void>"
|
|
907
|
-
},
|
|
908
|
-
"docs": {
|
|
909
|
-
"text": "",
|
|
910
|
-
"tags": []
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
};
|
|
914
|
-
}
|
|
915
|
-
}
|
|
916
|
-
__decorate([
|
|
917
|
-
IsLoad()
|
|
918
|
-
], BcmInput2.prototype, "inputElement", void 0);
|