bromcom-ui 2.12.1-test.1 → 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-91b72db1.js → p-014f7aa2.js} +1 -1
- package/dist/bromcom-ui/{p-c66192fb.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-3440e8b9.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-370b6020.entry.js +5 -0
- 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-9e755088.entry.js → p-3aa7e1ce.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4e5491bc.entry.js → p-3db88841.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d6dd26f2.entry.js → p-3f4d5368.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bcf286cb.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-678b25bb.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-0def72fe.entry.js → p-a02650af.entry.js} +1 -1
- package/dist/bromcom-ui/p-aa370552.js +5 -0
- package/dist/bromcom-ui/{p-ef04fd6b.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-0ce727a4.entry.js → p-b702f1e5.entry.js} +1 -1
- package/dist/bromcom-ui/p-bc6ecf66.entry.js +5 -0
- package/dist/bromcom-ui/{p-9f8aed8c.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-9a92e61e.entry.js → p-ef84ca66.entry.js} +1 -1
- package/dist/bromcom-ui/{p-38b02377.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-db2551ef.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-920aff8f.js → generate-eda14f12.js} +13 -36
- package/dist/cjs/{global-1526173b.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-a99f8b57.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-fc8c9633.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/{icon/icon.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/{molecules/accordion/accordion.css → atoms/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/chip/chip-group.css → molecules/radio/radio.css} +9 -2
- 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/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 +4 -3
- 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-d71d0301.js → generate-8470dd6c.js} +14 -37
- package/dist/esm/{global-80fedcf7.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-407e89d0.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-dec9ed1a.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-01d5ea34.entry.js +0 -5
- package/dist/bromcom-ui/p-08c75801.js +0 -5
- package/dist/bromcom-ui/p-0c1ab9c7.entry.js +0 -5
- package/dist/bromcom-ui/p-228c74e9.entry.js +0 -5
- package/dist/bromcom-ui/p-23922dab.entry.js +0 -5
- package/dist/bromcom-ui/p-3238bf36.js +0 -5
- package/dist/bromcom-ui/p-3575cff5.js +0 -5
- package/dist/bromcom-ui/p-3fac58f7.js +0 -5
- package/dist/bromcom-ui/p-42111a9b.entry.js +0 -5
- package/dist/bromcom-ui/p-43c578cf.js +0 -5
- package/dist/bromcom-ui/p-44545e3c.entry.js +0 -16
- package/dist/bromcom-ui/p-641977db.entry.js +0 -5
- package/dist/bromcom-ui/p-6e5f5f36.js +0 -5
- package/dist/bromcom-ui/p-74e6d2b6.js +0 -5
- package/dist/bromcom-ui/p-7e608148.entry.js +0 -5
- package/dist/bromcom-ui/p-8811428c.entry.js +0 -5
- package/dist/bromcom-ui/p-8e683b32.js +0 -5
- package/dist/bromcom-ui/p-8f76ddd6.entry.js +0 -5
- package/dist/bromcom-ui/p-9a906583.entry.js +0 -5
- package/dist/bromcom-ui/p-a2324032.entry.js +0 -5
- package/dist/bromcom-ui/p-a313fba6.js +0 -5
- package/dist/bromcom-ui/p-a959de89.entry.js +0 -5
- package/dist/bromcom-ui/p-ae57f046.entry.js +0 -5
- package/dist/bromcom-ui/p-c1d7db8f.entry.js +0 -5
- package/dist/bromcom-ui/p-d1298c40.js +0 -5
- package/dist/bromcom-ui/p-d5931cf3.entry.js +0 -5
- package/dist/bromcom-ui/p-e896ce94.entry.js +0 -5
- package/dist/bromcom-ui/p-e9c348e7.js +0 -5
- package/dist/bromcom-ui/p-ece578ef.entry.js +0 -5
- package/dist/bromcom-ui/p-f8a795ec.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-aafcc99c.js +0 -33
- package/dist/collection/components/atoms/divider/divider.css +0 -142
- 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/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-2cce19e1.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
|
@@ -12,23 +12,22 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
12
12
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
13
13
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14
14
|
};
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import
|
|
24
|
-
import {
|
|
25
|
-
import { IsLoad } from '../../../decorators/is-load-decorator';
|
|
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
|
+
import { delay } from "@bcm/utils";
|
|
23
|
+
import { NumberHelper, StringHelper, Validators } from "@bcm/helpers";
|
|
24
|
+
import { defaultIcons } from "./types";
|
|
26
25
|
export class BcmInput {
|
|
27
26
|
constructor() {
|
|
28
27
|
this.isBlur = false;
|
|
29
28
|
this._id = Generate.UID();
|
|
30
29
|
this._internal_id = Generate.UID();
|
|
31
|
-
this.value =
|
|
30
|
+
this.value = "";
|
|
32
31
|
this.size = Bcm.Size.medium;
|
|
33
32
|
this.label = undefined;
|
|
34
33
|
this.pattern = undefined;
|
|
@@ -44,10 +43,8 @@ export class BcmInput {
|
|
|
44
43
|
this.required = false;
|
|
45
44
|
this.fullWidth = false;
|
|
46
45
|
this.noDefaultIcon = undefined;
|
|
47
|
-
this.disableWatchValue = false
|
|
48
|
-
;
|
|
49
|
-
this.passwordToggle = false // type password
|
|
50
|
-
;
|
|
46
|
+
this.disableWatchValue = false;
|
|
47
|
+
this.passwordToggle = false;
|
|
51
48
|
this.maxLength = null;
|
|
52
49
|
this.minLength = null;
|
|
53
50
|
this.unitPrefix = null;
|
|
@@ -66,7 +63,7 @@ export class BcmInput {
|
|
|
66
63
|
this.captionCache = undefined;
|
|
67
64
|
this.captionTypeCache = undefined;
|
|
68
65
|
this.inValid = false;
|
|
69
|
-
this.valueCache =
|
|
66
|
+
this.valueCache = "";
|
|
70
67
|
this.focused = false;
|
|
71
68
|
this.isPasswordVisible = false;
|
|
72
69
|
}
|
|
@@ -208,8 +205,8 @@ export class BcmInput {
|
|
|
208
205
|
return false;
|
|
209
206
|
}
|
|
210
207
|
handleClear(e) {
|
|
211
|
-
this.inputElement.value =
|
|
212
|
-
this.value =
|
|
208
|
+
this.inputElement.value = "";
|
|
209
|
+
this.value = "";
|
|
213
210
|
this.inputElement.focus();
|
|
214
211
|
this.clear.emit(e);
|
|
215
212
|
this.change.emit(this.value);
|
|
@@ -369,32 +366,47 @@ export class BcmInput {
|
|
|
369
366
|
}
|
|
370
367
|
}
|
|
371
368
|
render() {
|
|
372
|
-
const { value, size, label, type, captionType, caption, captionError, placeholder, fullWidth, disabled, readonly, clearable, passwordToggle, isPasswordVisible, noDefaultIcon, unit, inValid, focused,
|
|
369
|
+
const { value, size, label, type, captionType, caption, captionError, placeholder, fullWidth, disabled, readonly, clearable, passwordToggle, isPasswordVisible, noDefaultIcon, unit, inValid, focused,
|
|
370
|
+
// unitPrefix,
|
|
371
|
+
noCaption, required, hidden, _id, autocomplete, _prefix, _suffix, } = this;
|
|
373
372
|
const isActiveClearable = (value === null || value === void 0 ? void 0 : value.length) > 0 && clearable;
|
|
374
|
-
const
|
|
373
|
+
const { host, inputContainer, input, slotClass, clearButton, controls, controlsBtn, controlsBtnDown, controlsBtnUp, controlsDivider } = inputStyle({
|
|
374
|
+
size,
|
|
375
|
+
fullWidth,
|
|
376
|
+
// şüpheli kısımlar
|
|
377
|
+
focused: focused,
|
|
378
|
+
clearable: isActiveClearable,
|
|
379
|
+
disabled,
|
|
380
|
+
readonly,
|
|
381
|
+
invalid: inValid,
|
|
382
|
+
unit: (unit === null || unit === void 0 ? void 0 : unit.length) > 0,
|
|
383
|
+
// 'empty': value?.length < 1,
|
|
384
|
+
error: captionType === "error",
|
|
375
385
|
hidden,
|
|
376
|
-
// 'no-margin': noMargin,
|
|
377
|
-
'full-width': fullWidth
|
|
378
386
|
});
|
|
379
|
-
|
|
387
|
+
let _type = type;
|
|
388
|
+
switch (type) {
|
|
389
|
+
case "password":
|
|
390
|
+
_type = isPasswordVisible ? "text" : "password";
|
|
391
|
+
break;
|
|
392
|
+
case "color":
|
|
393
|
+
_type = "text";
|
|
394
|
+
break;
|
|
395
|
+
case "number":
|
|
396
|
+
_type = (unit === null || unit === void 0 ? void 0 : unit.length) > 0 && !focused ? "text" : type;
|
|
397
|
+
break;
|
|
398
|
+
}
|
|
399
|
+
return (h(Host, { class: host(), onClick: () => this.onBcmFocus() }, label && h("bcm-label", { onClick: () => this.toggleLinked(), tooltip: this.tooltip, type: captionType, value: label, required: required, htmlFor: _id }), h("div", { class: inputContainer(), id: _id + "-container" }, type === "color" && (h("i", { class: "tw-flex tw-h-4 tw-w-4 tw-items-center tw-justify-center tw-rounded-full tw-border tw-border-slate-300", style: {
|
|
400
|
+
backgroundColor: value,
|
|
401
|
+
} })), h("div", { class: slotClass() }, h("slot", { name: "prefix" }), _prefix && _prefix.length > 0 && h("span", { innerHTML: _prefix })), h("input", { class: input(), id: _id + "-input", type: _type, value: value, pattern: this.pattern, placeholder: placeholder, disabled: disabled, readonly: readonly, onInput: _event => this.handleInput(), onChange: _event => this.handleChange(), onFocus: _event => this.handleFocus(), onBlur: _event => this.handleBlur(), autoComplete: autocomplete ? "on" : "off", required: required, ref: el => (this.inputElement = el) }), 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 === "password" || type === "text") && passwordToggle && (h("button", { type: "button", class: clearButton(), onClick: () => this.changePasswordVisibility() }, h("i", { class: isPasswordVisible ? "far fa-eye-slash" : "far fa-eye" }))), Object.keys(defaultIcons).includes(type) && !noDefaultIcon && (h("i", { class: defaultIcons[type] })), type === "number" && (h("div", { class: controls() }, h("button", { type: "button", onClick: () => this.stepUpOrDown("up"), class: cs(controlsBtn(), controlsBtnUp()) }, h("i", { class: "fas fa-caret-up" })), h("div", { class: controlsDivider() }), h("button", { type: "button", onClick: () => this.stepUpOrDown("down"), class: cs(controlsBtn(), controlsBtnDown()) }, h("i", { class: "fas fa-caret-down" })))), type === "color" && this.isEyeDropperSupported() && (h("button", { type: "button", class: clearButton(), onClick: () => this.eyeDropper() }, h("i", { class: "far fa-eye-dropper" }))))), h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, customErrorMessage: this.customErrorMessage }), type == Bcm.InputType.color &&
|
|
380
402
|
h("bcm-linked", { targetId: this._id + "-container", id: this._id + "-linked" }, h("bcm-colorful", { id: this._id + "-picker", color: this.value, onBcmChange: e => this.setValue(e.detail) }))));
|
|
381
403
|
}
|
|
382
404
|
static get is() { return "bcm-input"; }
|
|
383
|
-
static get originalStyleUrls() {
|
|
384
|
-
return {
|
|
385
|
-
"$": ["input.scss"]
|
|
386
|
-
};
|
|
387
|
-
}
|
|
388
|
-
static get styleUrls() {
|
|
389
|
-
return {
|
|
390
|
-
"$": ["input.css"]
|
|
391
|
-
};
|
|
392
|
-
}
|
|
393
405
|
static get properties() {
|
|
394
406
|
return {
|
|
395
407
|
"_id": {
|
|
396
408
|
"type": "string",
|
|
397
|
-
"mutable":
|
|
409
|
+
"mutable": false,
|
|
398
410
|
"complexType": {
|
|
399
411
|
"original": "string",
|
|
400
412
|
"resolved": "string",
|
|
@@ -412,7 +424,7 @@ export class BcmInput {
|
|
|
412
424
|
},
|
|
413
425
|
"_internal_id": {
|
|
414
426
|
"type": "string",
|
|
415
|
-
"mutable":
|
|
427
|
+
"mutable": false,
|
|
416
428
|
"complexType": {
|
|
417
429
|
"original": "string",
|
|
418
430
|
"resolved": "string",
|
|
@@ -444,11 +456,11 @@ export class BcmInput {
|
|
|
444
456
|
},
|
|
445
457
|
"attribute": "value",
|
|
446
458
|
"reflect": false,
|
|
447
|
-
"defaultValue": "
|
|
459
|
+
"defaultValue": "\"\""
|
|
448
460
|
},
|
|
449
461
|
"size": {
|
|
450
462
|
"type": "string",
|
|
451
|
-
"mutable":
|
|
463
|
+
"mutable": false,
|
|
452
464
|
"complexType": {
|
|
453
465
|
"original": "SizeTypes",
|
|
454
466
|
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
@@ -471,7 +483,7 @@ export class BcmInput {
|
|
|
471
483
|
},
|
|
472
484
|
"label": {
|
|
473
485
|
"type": "string",
|
|
474
|
-
"mutable":
|
|
486
|
+
"mutable": false,
|
|
475
487
|
"complexType": {
|
|
476
488
|
"original": "string",
|
|
477
489
|
"resolved": "string",
|
|
@@ -488,7 +500,7 @@ export class BcmInput {
|
|
|
488
500
|
},
|
|
489
501
|
"pattern": {
|
|
490
502
|
"type": "string",
|
|
491
|
-
"mutable":
|
|
503
|
+
"mutable": false,
|
|
492
504
|
"complexType": {
|
|
493
505
|
"original": "string",
|
|
494
506
|
"resolved": "string",
|
|
@@ -505,7 +517,7 @@ export class BcmInput {
|
|
|
505
517
|
},
|
|
506
518
|
"tooltip": {
|
|
507
519
|
"type": "string",
|
|
508
|
-
"mutable":
|
|
520
|
+
"mutable": false,
|
|
509
521
|
"complexType": {
|
|
510
522
|
"original": "string",
|
|
511
523
|
"resolved": "string",
|
|
@@ -522,7 +534,7 @@ export class BcmInput {
|
|
|
522
534
|
},
|
|
523
535
|
"placeholder": {
|
|
524
536
|
"type": "string",
|
|
525
|
-
"mutable":
|
|
537
|
+
"mutable": false,
|
|
526
538
|
"complexType": {
|
|
527
539
|
"original": "string",
|
|
528
540
|
"resolved": "string",
|
|
@@ -539,7 +551,7 @@ export class BcmInput {
|
|
|
539
551
|
},
|
|
540
552
|
"disabled": {
|
|
541
553
|
"type": "boolean",
|
|
542
|
-
"mutable":
|
|
554
|
+
"mutable": false,
|
|
543
555
|
"complexType": {
|
|
544
556
|
"original": "boolean",
|
|
545
557
|
"resolved": "boolean",
|
|
@@ -557,7 +569,7 @@ export class BcmInput {
|
|
|
557
569
|
},
|
|
558
570
|
"readonly": {
|
|
559
571
|
"type": "boolean",
|
|
560
|
-
"mutable":
|
|
572
|
+
"mutable": false,
|
|
561
573
|
"complexType": {
|
|
562
574
|
"original": "boolean",
|
|
563
575
|
"resolved": "boolean",
|
|
@@ -575,7 +587,7 @@ export class BcmInput {
|
|
|
575
587
|
},
|
|
576
588
|
"clearable": {
|
|
577
589
|
"type": "boolean",
|
|
578
|
-
"mutable":
|
|
590
|
+
"mutable": false,
|
|
579
591
|
"complexType": {
|
|
580
592
|
"original": "boolean",
|
|
581
593
|
"resolved": "boolean",
|
|
@@ -593,7 +605,7 @@ export class BcmInput {
|
|
|
593
605
|
},
|
|
594
606
|
"autocomplete": {
|
|
595
607
|
"type": "boolean",
|
|
596
|
-
"mutable":
|
|
608
|
+
"mutable": false,
|
|
597
609
|
"complexType": {
|
|
598
610
|
"original": "boolean",
|
|
599
611
|
"resolved": "boolean",
|
|
@@ -611,7 +623,7 @@ export class BcmInput {
|
|
|
611
623
|
},
|
|
612
624
|
"name": {
|
|
613
625
|
"type": "string",
|
|
614
|
-
"mutable":
|
|
626
|
+
"mutable": false,
|
|
615
627
|
"complexType": {
|
|
616
628
|
"original": "string",
|
|
617
629
|
"resolved": "string",
|
|
@@ -628,7 +640,7 @@ export class BcmInput {
|
|
|
628
640
|
},
|
|
629
641
|
"type": {
|
|
630
642
|
"type": "string",
|
|
631
|
-
"mutable":
|
|
643
|
+
"mutable": false,
|
|
632
644
|
"complexType": {
|
|
633
645
|
"original": "InputTypes",
|
|
634
646
|
"resolved": "\"color\" | \"email\" | \"hidden\" | \"number\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"url\"",
|
|
@@ -651,7 +663,7 @@ export class BcmInput {
|
|
|
651
663
|
},
|
|
652
664
|
"hidden": {
|
|
653
665
|
"type": "boolean",
|
|
654
|
-
"mutable":
|
|
666
|
+
"mutable": false,
|
|
655
667
|
"complexType": {
|
|
656
668
|
"original": "boolean",
|
|
657
669
|
"resolved": "boolean",
|
|
@@ -669,7 +681,7 @@ export class BcmInput {
|
|
|
669
681
|
},
|
|
670
682
|
"required": {
|
|
671
683
|
"type": "boolean",
|
|
672
|
-
"mutable":
|
|
684
|
+
"mutable": false,
|
|
673
685
|
"complexType": {
|
|
674
686
|
"original": "boolean",
|
|
675
687
|
"resolved": "boolean",
|
|
@@ -687,7 +699,7 @@ export class BcmInput {
|
|
|
687
699
|
},
|
|
688
700
|
"fullWidth": {
|
|
689
701
|
"type": "boolean",
|
|
690
|
-
"mutable":
|
|
702
|
+
"mutable": false,
|
|
691
703
|
"complexType": {
|
|
692
704
|
"original": "boolean",
|
|
693
705
|
"resolved": "boolean",
|
|
@@ -705,7 +717,7 @@ export class BcmInput {
|
|
|
705
717
|
},
|
|
706
718
|
"noDefaultIcon": {
|
|
707
719
|
"type": "boolean",
|
|
708
|
-
"mutable":
|
|
720
|
+
"mutable": false,
|
|
709
721
|
"complexType": {
|
|
710
722
|
"original": "boolean",
|
|
711
723
|
"resolved": "boolean",
|
|
@@ -722,7 +734,7 @@ export class BcmInput {
|
|
|
722
734
|
},
|
|
723
735
|
"disableWatchValue": {
|
|
724
736
|
"type": "boolean",
|
|
725
|
-
"mutable":
|
|
737
|
+
"mutable": false,
|
|
726
738
|
"complexType": {
|
|
727
739
|
"original": "boolean",
|
|
728
740
|
"resolved": "boolean",
|
|
@@ -740,7 +752,7 @@ export class BcmInput {
|
|
|
740
752
|
},
|
|
741
753
|
"passwordToggle": {
|
|
742
754
|
"type": "boolean",
|
|
743
|
-
"mutable":
|
|
755
|
+
"mutable": false,
|
|
744
756
|
"complexType": {
|
|
745
757
|
"original": "boolean",
|
|
746
758
|
"resolved": "boolean",
|
|
@@ -758,7 +770,7 @@ export class BcmInput {
|
|
|
758
770
|
},
|
|
759
771
|
"maxLength": {
|
|
760
772
|
"type": "number",
|
|
761
|
-
"mutable":
|
|
773
|
+
"mutable": false,
|
|
762
774
|
"complexType": {
|
|
763
775
|
"original": "number",
|
|
764
776
|
"resolved": "number",
|
|
@@ -776,7 +788,7 @@ export class BcmInput {
|
|
|
776
788
|
},
|
|
777
789
|
"minLength": {
|
|
778
790
|
"type": "number",
|
|
779
|
-
"mutable":
|
|
791
|
+
"mutable": false,
|
|
780
792
|
"complexType": {
|
|
781
793
|
"original": "number",
|
|
782
794
|
"resolved": "number",
|
|
@@ -794,7 +806,7 @@ export class BcmInput {
|
|
|
794
806
|
},
|
|
795
807
|
"unitPrefix": {
|
|
796
808
|
"type": "string",
|
|
797
|
-
"mutable":
|
|
809
|
+
"mutable": false,
|
|
798
810
|
"complexType": {
|
|
799
811
|
"original": "string",
|
|
800
812
|
"resolved": "string",
|
|
@@ -812,7 +824,7 @@ export class BcmInput {
|
|
|
812
824
|
},
|
|
813
825
|
"unit": {
|
|
814
826
|
"type": "string",
|
|
815
|
-
"mutable":
|
|
827
|
+
"mutable": false,
|
|
816
828
|
"complexType": {
|
|
817
829
|
"original": "string",
|
|
818
830
|
"resolved": "string",
|
|
@@ -829,7 +841,7 @@ export class BcmInput {
|
|
|
829
841
|
},
|
|
830
842
|
"decimal": {
|
|
831
843
|
"type": "boolean",
|
|
832
|
-
"mutable":
|
|
844
|
+
"mutable": false,
|
|
833
845
|
"complexType": {
|
|
834
846
|
"original": "boolean",
|
|
835
847
|
"resolved": "boolean",
|
|
@@ -847,7 +859,7 @@ export class BcmInput {
|
|
|
847
859
|
},
|
|
848
860
|
"min": {
|
|
849
861
|
"type": "number",
|
|
850
|
-
"mutable":
|
|
862
|
+
"mutable": false,
|
|
851
863
|
"complexType": {
|
|
852
864
|
"original": "number",
|
|
853
865
|
"resolved": "number",
|
|
@@ -864,7 +876,7 @@ export class BcmInput {
|
|
|
864
876
|
},
|
|
865
877
|
"max": {
|
|
866
878
|
"type": "number",
|
|
867
|
-
"mutable":
|
|
879
|
+
"mutable": false,
|
|
868
880
|
"complexType": {
|
|
869
881
|
"original": "number",
|
|
870
882
|
"resolved": "number",
|
|
@@ -881,7 +893,7 @@ export class BcmInput {
|
|
|
881
893
|
},
|
|
882
894
|
"step": {
|
|
883
895
|
"type": "any",
|
|
884
|
-
"mutable":
|
|
896
|
+
"mutable": false,
|
|
885
897
|
"complexType": {
|
|
886
898
|
"original": "any",
|
|
887
899
|
"resolved": "any",
|
|
@@ -915,7 +927,7 @@ export class BcmInput {
|
|
|
915
927
|
},
|
|
916
928
|
"noCaption": {
|
|
917
929
|
"type": "boolean",
|
|
918
|
-
"mutable":
|
|
930
|
+
"mutable": false,
|
|
919
931
|
"complexType": {
|
|
920
932
|
"original": "boolean",
|
|
921
933
|
"resolved": "boolean",
|
|
@@ -973,7 +985,7 @@ export class BcmInput {
|
|
|
973
985
|
},
|
|
974
986
|
"customErrorMessage": {
|
|
975
987
|
"type": "string",
|
|
976
|
-
"mutable":
|
|
988
|
+
"mutable": false,
|
|
977
989
|
"complexType": {
|
|
978
990
|
"original": "string",
|
|
979
991
|
"resolved": "string",
|
|
@@ -990,7 +1002,7 @@ export class BcmInput {
|
|
|
990
1002
|
},
|
|
991
1003
|
"_prefix": {
|
|
992
1004
|
"type": "string",
|
|
993
|
-
"mutable":
|
|
1005
|
+
"mutable": false,
|
|
994
1006
|
"complexType": {
|
|
995
1007
|
"original": "string",
|
|
996
1008
|
"resolved": "string",
|
|
@@ -1007,7 +1019,7 @@ export class BcmInput {
|
|
|
1007
1019
|
},
|
|
1008
1020
|
"_suffix": {
|
|
1009
1021
|
"type": "string",
|
|
1010
|
-
"mutable":
|
|
1022
|
+
"mutable": false,
|
|
1011
1023
|
"complexType": {
|
|
1012
1024
|
"original": "string",
|
|
1013
1025
|
"resolved": "string",
|
|
@@ -5,16 +5,17 @@
|
|
|
5
5
|
import { tv } from "tailwind-variants";
|
|
6
6
|
export const inputStyle = tv({
|
|
7
7
|
slots: {
|
|
8
|
-
host: "bcm-
|
|
8
|
+
host: "bcm-input bcm-ui-element tw-inline-flex tw-flex-col tw-w-full tw-max-w-64 tw-mb-2 ",
|
|
9
9
|
base: "",
|
|
10
|
-
inputContainer: ["bcm-
|
|
10
|
+
inputContainer: ["bcm-input__container", "tw-bg-color-base tw-border tw-border-solid tw-border-color tw-rounded", "tw-flex tw-items-center tw-justify-between tw-gap-2", "tw-px-3"],
|
|
11
11
|
input: [
|
|
12
|
-
"bcm-
|
|
13
|
-
"tw-text-color
|
|
14
|
-
"
|
|
12
|
+
"bcm-input-element tw-w-full tw-h-full tw-flex-1 tw-outline-none tw-bg-transparent tw-border-0 tw-appearance-none tw-text-ellipsis",
|
|
13
|
+
"tw-text-color placeholder:tw-text-color-placeholder placeholder:tw-font-normal",
|
|
14
|
+
"tw-font-sans tw-antialiased tw-font-medium",
|
|
15
|
+
"[appearance:textfield][&::-webkit-search-decoration]:tw-appearance-none [&::-webkit-search-cancel-button]:tw-appearance-none [&::-webkit-search-results-button]:tw-appearance-none [&::-webkit-search-results-decoration]:tw-appearance-none [&::-webkit-calendar-picker-indicator]:tw-appearance-none [&::-webkit-inner-spin-button]:tw-appearance-none [&::-webkit-outer-spin-button]:tw-appearance-none",
|
|
15
16
|
],
|
|
16
17
|
slotClass: "tw-flex tw-items-center tw-justify-between tw-gap-2 empty:tw-hidden tw-text-color-placeholder",
|
|
17
|
-
clearButton: ["clear-button tw-cursor-pointer tw-appearance-none tw-border-0 tw-text-color-placeholder tw-text-size-inherit tw-bg-transparent tw-py-1 tw-px-2 -tw-mx-2", "hover:tw-text-color"],
|
|
18
|
+
clearButton: ["clear-button tw-cursor-pointer tw-appearance-none tw-border-0 tw-text-color-placeholder tw-text-size-inherit tw-bg-transparent tw-py-1 tw-px-2 -tw-mx-2 tw-w-8 tw-flex tw-items-center tw-justify-center", "hover:tw-text-color"],
|
|
18
19
|
controls: "number-controls -tw-mr-3 tw-flex tw-h-full tw-w-fit tw-flex-col tw-items-center tw-justify-between",
|
|
19
20
|
controlsBtn: [
|
|
20
21
|
"number-control-button tw-w-7 tw-flex-1 tw-cursor-pointer tw-appearance-none tw-border-0 tw-border-l tw-border-solid tw-border-color tw-bg-transparent tw-p-0 tw-text-2 tw-leading-none tw-text-color-placeholder",
|
|
@@ -26,19 +27,19 @@ export const inputStyle = tv({
|
|
|
26
27
|
variants: {
|
|
27
28
|
size: {
|
|
28
29
|
small: {
|
|
29
|
-
host: "bcm-
|
|
30
|
+
host: "bcm-input__container--small",
|
|
30
31
|
inputContainer: "input2-size-small tw-h-6",
|
|
31
|
-
input: "tw-text-
|
|
32
|
+
input: "tw-text-size-4",
|
|
32
33
|
},
|
|
33
34
|
medium: {
|
|
34
|
-
host: "bcm-
|
|
35
|
+
host: "bcm-input__container--medium",
|
|
35
36
|
inputContainer: "input2-size-medium tw-h-8",
|
|
36
|
-
input: "tw-text-
|
|
37
|
+
input: "tw-text-size-5",
|
|
37
38
|
},
|
|
38
39
|
large: {
|
|
39
|
-
host: "bcm-
|
|
40
|
+
host: "bcm-input__container--large",
|
|
40
41
|
inputContainer: "input2-size-large tw-h-10",
|
|
41
|
-
input: "tw-text-
|
|
42
|
+
input: "tw-text-size-6",
|
|
42
43
|
},
|
|
43
44
|
},
|
|
44
45
|
fullWidth: {
|
|
@@ -75,7 +76,7 @@ export const inputStyle = tv({
|
|
|
75
76
|
},
|
|
76
77
|
false: {
|
|
77
78
|
controlsBtn: "hover:tw-bg-color-base-hover hover:tw-text-color",
|
|
78
|
-
inputContainer: ["has-[:not([disabled]):focus]:tw-ring", "has-[:not([disabled]):hover]:tw-border-color-primaryInfo"],
|
|
79
|
+
inputContainer: ["has-[:not([disabled]):focus-visible]:tw-ring", "has-[:not([disabled]):hover]:tw-border-color-primaryInfo"],
|
|
79
80
|
},
|
|
80
81
|
},
|
|
81
82
|
readonly: {
|
|
@@ -86,7 +87,7 @@ export const inputStyle = tv({
|
|
|
86
87
|
invalid: {
|
|
87
88
|
true: {
|
|
88
89
|
host: "invalid",
|
|
89
|
-
inputContainer: "tw-border-color-error has-[:not([disabled]):focus]:tw-ring-color-error has-[:not([disabled]):hover]:!tw-border-color-error",
|
|
90
|
+
inputContainer: "tw-border-color-error has-[:not([disabled]):focus-visible]:tw-ring-color-error has-[:not([disabled]):hover]:!tw-border-color-error",
|
|
90
91
|
},
|
|
91
92
|
},
|
|
92
93
|
unit: {
|
|
@@ -2,9 +2,20 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
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
|
+
};
|
|
5
15
|
import { forceUpdate, h, Host } from '@stencil/core';
|
|
6
16
|
import cs from 'classnames';
|
|
7
17
|
import { Generate, Tooltip } from '@bcm/helpers';
|
|
18
|
+
import { IsLoad } from '@bcm/decorator';
|
|
8
19
|
export class BcmMenu {
|
|
9
20
|
constructor() {
|
|
10
21
|
this._id = Generate.UID();
|
|
@@ -515,3 +526,6 @@ export class BcmMenu {
|
|
|
515
526
|
}];
|
|
516
527
|
}
|
|
517
528
|
}
|
|
529
|
+
__decorate([
|
|
530
|
+
IsLoad()
|
|
531
|
+
], BcmMenu.prototype, "el", void 0);
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { Generate } from "@bcm/helpers";
|
|
6
|
+
import { Host, h } from "@stencil/core";
|
|
7
|
+
import { modalStyle } from "./modal.style";
|
|
8
|
+
export class BcmModalFooter {
|
|
9
|
+
constructor() {
|
|
10
|
+
this._id = Generate.UID();
|
|
11
|
+
this.el.slot = "footer";
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
const { footerContent } = modalStyle();
|
|
15
|
+
return (h(Host, { class: footerContent() }, h("slot", null)));
|
|
16
|
+
}
|
|
17
|
+
static get is() { return "bcm-modal-footer"; }
|
|
18
|
+
static get properties() {
|
|
19
|
+
return {
|
|
20
|
+
"_id": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"mutable": false,
|
|
23
|
+
"complexType": {
|
|
24
|
+
"original": "string",
|
|
25
|
+
"resolved": "string",
|
|
26
|
+
"references": {}
|
|
27
|
+
},
|
|
28
|
+
"required": false,
|
|
29
|
+
"optional": false,
|
|
30
|
+
"docs": {
|
|
31
|
+
"tags": [],
|
|
32
|
+
"text": ""
|
|
33
|
+
},
|
|
34
|
+
"attribute": "id",
|
|
35
|
+
"reflect": true,
|
|
36
|
+
"defaultValue": "Generate.UID()"
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
static get elementRef() { return "el"; }
|
|
41
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { Generate } from "@bcm/helpers";
|
|
6
|
+
import { Host, h } from "@stencil/core";
|
|
7
|
+
export class BcmModalHeader {
|
|
8
|
+
constructor() {
|
|
9
|
+
this._id = Generate.UID();
|
|
10
|
+
this.el.slot = "header";
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h(Host, { class: "tw-inline" }, h("slot", null)));
|
|
14
|
+
}
|
|
15
|
+
static get is() { return "bcm-modal-header"; }
|
|
16
|
+
static get properties() {
|
|
17
|
+
return {
|
|
18
|
+
"_id": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"mutable": false,
|
|
21
|
+
"complexType": {
|
|
22
|
+
"original": "string",
|
|
23
|
+
"resolved": "string",
|
|
24
|
+
"references": {}
|
|
25
|
+
},
|
|
26
|
+
"required": false,
|
|
27
|
+
"optional": false,
|
|
28
|
+
"docs": {
|
|
29
|
+
"tags": [],
|
|
30
|
+
"text": ""
|
|
31
|
+
},
|
|
32
|
+
"attribute": "id",
|
|
33
|
+
"reflect": true,
|
|
34
|
+
"defaultValue": "Generate.UID()"
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
static get elementRef() { return "el"; }
|
|
39
|
+
}
|