bromcom-ui 2.7.36-rc.11 → 2.7.36-rc.12
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.esm.js +1 -1
- package/dist/bromcom-ui/{p-7386f0eb.entry.js → p-043fadc2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-50d9b950.entry.js → p-07990577.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0505b430.entry.js → p-10b6faa4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-febeb28c.entry.js → p-1e15f9e2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fcd2ded4.entry.js → p-208ecb7e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bddecc0e.js → p-2900dc18.js} +1 -1
- package/dist/bromcom-ui/{p-eefa89b6.entry.js → p-2e9f7f67.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c00cbc3c.js → p-2ed0035c.js} +1 -1
- package/dist/bromcom-ui/{p-7d21bcdb.entry.js → p-33da36fe.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d2d00b45.entry.js → p-427d4cfe.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8a189e31.entry.js → p-45f4c48d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a7f8e8af.entry.js → p-4cffee4c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c8dae4b7.entry.js → p-4f425a06.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d2101bab.entry.js → p-5562a6f8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b339c2f1.entry.js → p-5cfa60d9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ae8f263e.entry.js → p-5dbd14ee.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8a66f4e1.entry.js → p-66ca7f5c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cef328d2.entry.js → p-73a5514c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1e4c4c89.entry.js → p-7a1590ef.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1c211b1a.entry.js → p-7aa7ba95.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4595d534.entry.js → p-7afaa032.entry.js} +1 -1
- package/dist/bromcom-ui/{p-89241a6e.entry.js → p-85b66c30.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3330b325.js → p-8737b92d.js} +1 -1
- package/dist/bromcom-ui/{p-1aa2c6f1.entry.js → p-8e30c3ab.entry.js} +1 -1
- package/dist/bromcom-ui/{p-36168a4c.entry.js → p-8fc020d6.entry.js} +1 -1
- package/dist/bromcom-ui/p-923d0d7b.js +5 -0
- package/dist/bromcom-ui/{p-ed6d2390.entry.js → p-95506f91.entry.js} +1 -1
- package/dist/bromcom-ui/{p-950af117.js → p-971036f3.js} +1 -1
- package/dist/bromcom-ui/{p-00028e84.entry.js → p-99f802df.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b0ecb69b.entry.js → p-9a843ddf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ed8e6005.entry.js → p-9cca42a9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-81dff515.entry.js → p-a855cd39.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ab7bb0f5.entry.js → p-a9838689.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d7189ee1.entry.js → p-abedcdee.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d8ef8c9d.entry.js → p-b5c23d92.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c5c60034.entry.js → p-bf52d000.entry.js} +1 -1
- package/dist/bromcom-ui/{p-49be07bc.entry.js → p-c67b5116.entry.js} +1 -1
- package/dist/bromcom-ui/{p-01951e92.entry.js → p-ce62e9f4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-16f3143c.entry.js → p-cf1e59a8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c5dcbc05.entry.js → p-dc5789ce.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c268491e.entry.js → p-dc94fe09.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ae99e107.entry.js → p-ddce2fc7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d2f22f4b.js → p-df8fe884.js} +1 -1
- package/dist/bromcom-ui/{p-97a630d5.entry.js → p-e43c47dc.entry.js} +1 -1
- package/dist/bromcom-ui/p-ee265d02.js +5 -0
- package/package.json +1 -1
- package/dist/bromcom-ui/p-940d3fc3.js +0 -5
- package/dist/bromcom-ui/p-a6fb1b6f.js +0 -5
- package/dist/cjs/_commonjsHelpers-bd20f4c0.js +0 -29
- package/dist/cjs/bcm-2c51bf0c.js +0 -448
- package/dist/cjs/bcm-accordion.cjs.entry.js +0 -85
- package/dist/cjs/bcm-alert.cjs.entry.js +0 -112
- package/dist/cjs/bcm-attendance.cjs.entry.js +0 -50
- package/dist/cjs/bcm-autocomplete.cjs.entry.js +0 -155
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -156
- package/dist/cjs/bcm-box.cjs.entry.js +0 -35
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +0 -67
- package/dist/cjs/bcm-button-group.cjs.entry.js +0 -102
- package/dist/cjs/bcm-button_13.cjs.entry.js +0 -1981
- package/dist/cjs/bcm-card.cjs.entry.js +0 -76
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +0 -409
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +0 -2570
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -203
- package/dist/cjs/bcm-chip.cjs.entry.js +0 -70
- package/dist/cjs/bcm-collapse-group.cjs.entry.js +0 -57
- package/dist/cjs/bcm-collapse.cjs.entry.js +0 -58
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +0 -433
- package/dist/cjs/bcm-date-picker.cjs.entry.js +0 -171
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +0 -1432
- package/dist/cjs/bcm-default.cjs.entry.js +0 -40
- package/dist/cjs/bcm-drawer.cjs.entry.js +0 -111
- package/dist/cjs/bcm-error-layout.cjs.entry.js +0 -78
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +0 -127
- package/dist/cjs/bcm-form-2.cjs.entry.js +0 -205
- package/dist/cjs/bcm-form-group.cjs.entry.js +0 -45
- package/dist/cjs/bcm-input.cjs.entry.js +0 -324
- package/dist/cjs/bcm-link.cjs.entry.js +0 -62
- package/dist/cjs/bcm-linked.cjs.entry.js +0 -83
- package/dist/cjs/bcm-list.cjs.entry.js +0 -1761
- package/dist/cjs/bcm-message.cjs.entry.js +0 -99
- package/dist/cjs/bcm-modal.cjs.entry.js +0 -137
- package/dist/cjs/bcm-notification.cjs.entry.js +0 -103
- package/dist/cjs/bcm-old-input.cjs.entry.js +0 -398
- package/dist/cjs/bcm-old-tag_2.cjs.entry.js +0 -157
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +0 -122
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +0 -112
- package/dist/cjs/bcm-progress.cjs.entry.js +0 -174
- package/dist/cjs/bcm-radio-group.cjs.entry.js +0 -267
- package/dist/cjs/bcm-radio.cjs.entry.js +0 -104
- package/dist/cjs/bcm-range.cjs.entry.js +0 -189
- package/dist/cjs/bcm-result.cjs.entry.js +0 -79
- package/dist/cjs/bcm-search.cjs.entry.js +0 -256
- package/dist/cjs/bcm-select-group.cjs.entry.js +0 -31
- package/dist/cjs/bcm-select-option.cjs.entry.js +0 -37
- package/dist/cjs/bcm-select.cjs.entry.js +0 -1181
- package/dist/cjs/bcm-skeleton.cjs.entry.js +0 -56
- package/dist/cjs/bcm-step.cjs.entry.js +0 -93
- package/dist/cjs/bcm-stepper.cjs.entry.js +0 -211
- package/dist/cjs/bcm-tab-group.cjs.entry.js +0 -172
- package/dist/cjs/bcm-tab-pane.cjs.entry.js +0 -70
- package/dist/cjs/bcm-tab.cjs.entry.js +0 -89
- package/dist/cjs/bcm-table.cjs.entry.js +0 -78
- package/dist/cjs/bcm-tabs-content.cjs.entry.js +0 -62
- package/dist/cjs/bcm-tabs.cjs.entry.js +0 -390
- package/dist/cjs/bcm-tag.cjs.entry.js +0 -101
- package/dist/cjs/bcm-textarea.cjs.entry.js +0 -150
- package/dist/cjs/bcm-time-picker.cjs.entry.js +0 -139
- package/dist/cjs/bcm-timeline-item.cjs.entry.js +0 -55
- package/dist/cjs/bcm-timeline.cjs.entry.js +0 -73
- package/dist/cjs/bcm-treeview-group.cjs.entry.js +0 -23
- package/dist/cjs/bromcom-ui.cjs.js +0 -24
- package/dist/cjs/caption-template-abc6b8bd.js +0 -34
- package/dist/cjs/color-helper-c9882bd8.js +0 -490
- package/dist/cjs/colors-56282b00.js +0 -224
- package/dist/cjs/datetime-helper-eaf4fadb.js +0 -11
- package/dist/cjs/element-dragger-a8562f82.js +0 -279
- package/dist/cjs/generate-f31baeb2.js +0 -198
- package/dist/cjs/global-b0d21446.js +0 -15
- package/dist/cjs/index-53637125.js +0 -1864
- package/dist/cjs/index-89682d55.js +0 -193
- package/dist/cjs/index-a2b50e51.js +0 -64
- package/dist/cjs/index.cjs.js +0 -6
- package/dist/cjs/input-template-9d262873.js +0 -86
- package/dist/cjs/is-load-decorator-20a4687b.js +0 -56
- package/dist/cjs/json-parse-decarator-c3596560.js +0 -40
- package/dist/cjs/label-template-b35d7e8e.js +0 -23
- package/dist/cjs/loader.cjs.js +0 -26
- package/dist/cjs/number-helper-0975436a.js +0 -20
- package/dist/cjs/old-bcm-popover.cjs.entry.js +0 -104
- package/dist/cjs/popover-placement-87901bb3.js +0 -98
- package/dist/cjs/property-decorators-b0cb1a50.js +0 -33
- package/dist/cjs/slot-template-546b0f5a.js +0 -15
- package/dist/cjs/stepper-states-0a54437d.js +0 -83
- package/dist/cjs/string-helper-df40a475.js +0 -134
- package/dist/cjs/tooltip-helper-6b5d41a4.js +0 -1449
- package/dist/cjs/types-3871235f.js +0 -32
- package/dist/cjs/types-6eb7e028.js +0 -32
- package/dist/cjs/types-cc4adee7.js +0 -19
- package/dist/cjs/utils-fc077139.js +0 -131
- package/dist/cjs/validators-f572960b.js +0 -33
- package/dist/collection/collection-manifest.json +0 -95
- package/dist/collection/components/atoms/avatar/avatar.css +0 -448
- package/dist/collection/components/atoms/avatar/avatar.js +0 -259
- package/dist/collection/components/atoms/badge/badge.css +0 -481
- package/dist/collection/components/atoms/badge/badge.js +0 -224
- package/dist/collection/components/atoms/box/box.js +0 -23
- package/dist/collection/components/atoms/button/button.css +0 -637
- package/dist/collection/components/atoms/button/button.js +0 -525
- package/dist/collection/components/atoms/button/types.js +0 -170
- package/dist/collection/components/atoms/chip/chip.css +0 -453
- package/dist/collection/components/atoms/chip/chip.js +0 -187
- package/dist/collection/components/atoms/divider/divider.css +0 -142
- package/dist/collection/components/atoms/divider/divider.js +0 -83
- package/dist/collection/components/atoms/icon/icon.css +0 -127
- package/dist/collection/components/atoms/icon/icon.js +0 -70
- package/dist/collection/components/atoms/label/label.css +0 -408
- package/dist/collection/components/atoms/label/label.js +0 -216
- package/dist/collection/components/atoms/link/link.css +0 -419
- package/dist/collection/components/atoms/link/link.js +0 -176
- package/dist/collection/components/atoms/states/button.states.js +0 -31
- package/dist/collection/components/atoms/tag/tag.js +0 -334
- package/dist/collection/components/atoms/tag/types.js +0 -30
- package/dist/collection/components/atoms/typography/typography.js +0 -23
- package/dist/collection/components/molecules/accordion/accordion.css +0 -127
- package/dist/collection/components/molecules/accordion/accordion.js +0 -129
- package/dist/collection/components/molecules/alert/alert.css +0 -191
- package/dist/collection/components/molecules/alert/alert.js +0 -298
- package/dist/collection/components/molecules/alert/types.js +0 -23
- package/dist/collection/components/molecules/breadcrumb/breadcrumb.css +0 -201
- package/dist/collection/components/molecules/breadcrumb/breadcrumb.js +0 -155
- package/dist/collection/components/molecules/breadcrumb/types.js +0 -5
- package/dist/collection/components/molecules/button-group/button-group.css +0 -423
- package/dist/collection/components/molecules/button-group/button-group.js +0 -235
- package/dist/collection/components/molecules/card/card.css +0 -408
- package/dist/collection/components/molecules/card/card.js +0 -128
- package/dist/collection/components/molecules/checkbox/checkbox-lite.js +0 -237
- package/dist/collection/components/molecules/checkbox/checkbox.css +0 -1280
- package/dist/collection/components/molecules/checkbox/checkbox.js +0 -688
- package/dist/collection/components/molecules/checkbox/group.css +0 -156
- package/dist/collection/components/molecules/checkbox/group.js +0 -779
- package/dist/collection/components/molecules/drawer/drawer.css +0 -502
- package/dist/collection/components/molecules/drawer/drawer.js +0 -272
- package/dist/collection/components/molecules/dropdown/dropdown.css +0 -419
- package/dist/collection/components/molecules/dropdown/dropdown.js +0 -839
- package/dist/collection/components/molecules/empty/empty.js +0 -44
- package/dist/collection/components/molecules/error-layout/error-layout.css +0 -396
- package/dist/collection/components/molecules/error-layout/error-layout.js +0 -177
- package/dist/collection/components/molecules/error-layout/types.js +0 -5
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +0 -488
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +0 -322
- package/dist/collection/components/molecules/input/input.css +0 -1208
- package/dist/collection/components/molecules/input/input.js +0 -1170
- package/dist/collection/components/molecules/input/types.js +0 -17
- package/dist/collection/components/molecules/item/item.css +0 -446
- package/dist/collection/components/molecules/item/item.js +0 -151
- package/dist/collection/components/molecules/items/items.js +0 -84
- package/dist/collection/components/molecules/linked/linked.js +0 -179
- package/dist/collection/components/molecules/menu/menu.css +0 -718
- package/dist/collection/components/molecules/menu/menu.js +0 -618
- package/dist/collection/components/molecules/message/message.css +0 -165
- package/dist/collection/components/molecules/message/message.js +0 -222
- package/dist/collection/components/molecules/message/types.js +0 -14
- package/dist/collection/components/molecules/modal/modal.css +0 -526
- package/dist/collection/components/molecules/modal/modal.js +0 -379
- package/dist/collection/components/molecules/notification/notification.css +0 -183
- package/dist/collection/components/molecules/notification/notification.js +0 -244
- package/dist/collection/components/molecules/notification/types.js +0 -15
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +0 -563
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.js +0 -396
- package/dist/collection/components/molecules/popconfirm/popconfirm.css +0 -127
- package/dist/collection/components/molecules/popconfirm/popconfirm.js +0 -382
- package/dist/collection/components/molecules/popover/popover.js +0 -254
- package/dist/collection/components/molecules/progress/progress.css +0 -486
- package/dist/collection/components/molecules/progress/progress.js +0 -404
- package/dist/collection/components/molecules/progress/types.js +0 -28
- package/dist/collection/components/molecules/radio/group.css +0 -798
- package/dist/collection/components/molecules/radio/group.js +0 -652
- package/dist/collection/components/molecules/radio/radio.css +0 -1280
- package/dist/collection/components/molecules/radio/radio.js +0 -291
- package/dist/collection/components/molecules/radio/types.js +0 -30
- package/dist/collection/components/molecules/range/range.css +0 -570
- package/dist/collection/components/molecules/range/range.js +0 -472
- package/dist/collection/components/molecules/result/result.css +0 -164
- package/dist/collection/components/molecules/result/result.js +0 -143
- package/dist/collection/components/molecules/result/types.js +0 -22
- package/dist/collection/components/molecules/search/search.css +0 -1208
- package/dist/collection/components/molecules/search/search.js +0 -406
- package/dist/collection/components/molecules/skeleton/skeleton.js +0 -94
- package/dist/collection/components/molecules/states/alert.states.js +0 -25
- package/dist/collection/components/molecules/states/checkbox-group.states.js +0 -199
- package/dist/collection/components/molecules/states/radio-group.states.js +0 -107
- package/dist/collection/components/molecules/states/search.states.js +0 -137
- package/dist/collection/components/molecules/states/stepper-states.js +0 -79
- package/dist/collection/components/molecules/stepper/step.js +0 -346
- package/dist/collection/components/molecules/stepper/stepper.css +0 -617
- package/dist/collection/components/molecules/stepper/stepper.js +0 -484
- package/dist/collection/components/molecules/switch/switch.css +0 -1272
- package/dist/collection/components/molecules/switch/switch.js +0 -716
- package/dist/collection/components/molecules/tab-group/tab-group.js +0 -280
- package/dist/collection/components/molecules/textarea/textarea.css +0 -1208
- package/dist/collection/components/molecules/textarea/textarea.js +0 -731
- package/dist/collection/components/molecules/textarea/types.js +0 -13
- package/dist/collection/components/molecules/timeline/timeline-item.css +0 -254
- package/dist/collection/components/molecules/timeline/timeline-item.js +0 -159
- package/dist/collection/components/molecules/timeline/timeline.css +0 -205
- package/dist/collection/components/molecules/timeline/timeline.js +0 -125
- package/dist/collection/components/molecules/tooltip/tooltip.js +0 -232
- package/dist/collection/components/organism/autocomplete/autocomplete.css +0 -168
- package/dist/collection/components/organism/autocomplete/autocomplete.js +0 -399
- package/dist/collection/components/organism/colorpicker/colorpicker.css +0 -313
- package/dist/collection/components/organism/colorpicker/colorpicker.js +0 -774
- package/dist/collection/components/organism/colorpicker/static/chess.png +0 -0
- package/dist/collection/components/organism/colorpicker/static/color.svg +0 -14
- package/dist/collection/components/organism/colorpicker/static/colors.svg +0 -16
- package/dist/collection/components/organism/date-picker/date-picker.css +0 -141
- package/dist/collection/components/organism/date-picker/date-picker.js +0 -780
- package/dist/collection/components/organism/datetime-picker/datetime-picker.css +0 -1429
- package/dist/collection/components/organism/datetime-picker/datetime-picker.js +0 -2166
- package/dist/collection/components/organism/datetime-picker/types.js +0 -39
- package/dist/collection/components/organism/form/form-group.css +0 -131
- package/dist/collection/components/organism/form/form-group.js +0 -131
- package/dist/collection/components/organism/form/form.css +0 -132
- package/dist/collection/components/organism/form/form.js +0 -680
- package/dist/collection/components/organism/form-2/bcm-form-components.js +0 -26
- package/dist/collection/components/organism/form-2/form-2.css +0 -127
- package/dist/collection/components/organism/form-2/form-2.js +0 -328
- package/dist/collection/components/organism/list/list-key-control.js +0 -125
- package/dist/collection/components/organism/list/list-tag-control.js +0 -172
- package/dist/collection/components/organism/list/list.css +0 -2047
- package/dist/collection/components/organism/list/list.js +0 -1860
- package/dist/collection/components/organism/states/bcm-list2.states.js +0 -532
- package/dist/collection/components/organism/time-picker/time-picker.css +0 -141
- package/dist/collection/components/organism/time-picker/time-picker.js +0 -627
- package/dist/collection/components/other/attendance/attendance.css +0 -433
- package/dist/collection/components/other/attendance/attendance.js +0 -87
- package/dist/collection/components/other/data-table/table.css +0 -130
- package/dist/collection/components/other/data-table/table.js +0 -92
- package/dist/collection/components/other/default/default.css +0 -127
- package/dist/collection/components/other/default/default.js +0 -54
- package/dist/collection/components/other_deprecated/collapse/collapse.css +0 -177
- package/dist/collection/components/other_deprecated/collapse/collapse.js +0 -163
- package/dist/collection/components/other_deprecated/collapse/group.js +0 -128
- package/dist/collection/components/other_deprecated/listbox/listbox-group.css +0 -139
- package/dist/collection/components/other_deprecated/listbox/listbox-group.js +0 -93
- package/dist/collection/components/other_deprecated/listbox/listbox-item.css +0 -269
- package/dist/collection/components/other_deprecated/listbox/listbox-item.js +0 -641
- package/dist/collection/components/other_deprecated/listbox/listbox.css +0 -365
- package/dist/collection/components/other_deprecated/listbox/listbox.js +0 -1999
- package/dist/collection/components/other_deprecated/listbox/types.js +0 -11
- package/dist/collection/components/other_deprecated/old-input/old-input.css +0 -1360
- package/dist/collection/components/other_deprecated/old-input/old-input.js +0 -1154
- package/dist/collection/components/other_deprecated/old-input/types.js +0 -17
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +0 -582
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.js +0 -411
- package/dist/collection/components/other_deprecated/old-popover/old-popover.css +0 -127
- package/dist/collection/components/other_deprecated/old-popover/old-popover.js +0 -296
- package/dist/collection/components/other_deprecated/old-search/old-search.css +0 -131
- package/dist/collection/components/other_deprecated/old-search/old-search.js +0 -496
- package/dist/collection/components/other_deprecated/old-tag/old-tag.css +0 -305
- package/dist/collection/components/other_deprecated/old-tag/old-tag.js +0 -326
- package/dist/collection/components/other_deprecated/old-tag/types.js +0 -30
- package/dist/collection/components/other_deprecated/select/group.css +0 -144
- package/dist/collection/components/other_deprecated/select/group.js +0 -88
- package/dist/collection/components/other_deprecated/select/option.css +0 -164
- package/dist/collection/components/other_deprecated/select/option.js +0 -142
- package/dist/collection/components/other_deprecated/select/select-box.css +0 -143
- package/dist/collection/components/other_deprecated/select/select-box.js +0 -104
- package/dist/collection/components/other_deprecated/select/select.css +0 -364
- package/dist/collection/components/other_deprecated/select/select.js +0 -2229
- package/dist/collection/components/other_deprecated/tabs/tab-pane.css +0 -142
- package/dist/collection/components/other_deprecated/tabs/tab-pane.js +0 -168
- package/dist/collection/components/other_deprecated/tabs/tab.css +0 -587
- package/dist/collection/components/other_deprecated/tabs/tab.js +0 -303
- package/dist/collection/components/other_deprecated/tabs/tabs-content.css +0 -136
- package/dist/collection/components/other_deprecated/tabs/tabs-content.js +0 -147
- package/dist/collection/components/other_deprecated/tabs/tabs.css +0 -212
- package/dist/collection/components/other_deprecated/tabs/tabs.js +0 -806
- package/dist/collection/components/other_deprecated/tabs/types.js +0 -30
- package/dist/collection/components/other_deprecated/text/text.css +0 -429
- package/dist/collection/components/other_deprecated/text/text.js +0 -159
- package/dist/collection/components/other_deprecated/treeview/treeview-group.css +0 -0
- package/dist/collection/components/other_deprecated/treeview/treeview-group.js +0 -18
- package/dist/collection/components/other_deprecated/treeview/treeview-item.css +0 -318
- package/dist/collection/components/other_deprecated/treeview/treeview-item.js +0 -977
- package/dist/collection/components/other_deprecated/treeview/treeview.css +0 -190
- package/dist/collection/components/other_deprecated/treeview/treeview.js +0 -1699
- package/dist/collection/components/other_deprecated/treeview/types.js +0 -11
- package/dist/collection/decorators/id-decorator.js +0 -18
- package/dist/collection/decorators/index.js +0 -8
- package/dist/collection/decorators/is-load-decorator.js +0 -51
- package/dist/collection/decorators/json-parse-decarator.js +0 -35
- package/dist/collection/decorators/property-decorators.js +0 -28
- package/dist/collection/global/components/_checkbox.css +0 -627
- package/dist/collection/global/config.js +0 -45
- package/dist/collection/global/global.js +0 -43
- package/dist/collection/global/variables/colors.js +0 -220
- package/dist/collection/helper/color-helper.js +0 -81
- package/dist/collection/helper/content-helper.js +0 -63
- package/dist/collection/helper/datetime-helper.js +0 -7
- package/dist/collection/helper/generate.js +0 -163
- package/dist/collection/helper/index.js +0 -13
- package/dist/collection/helper/number-helper.js +0 -15
- package/dist/collection/helper/popover-helper.js +0 -104
- package/dist/collection/helper/string-helper.js +0 -65
- package/dist/collection/helper/tooltip-helper.js +0 -93
- package/dist/collection/helper/validators.js +0 -28
- package/dist/collection/index.js +0 -5
- package/dist/collection/models/abstract-classes/abstract-key-control.js +0 -97
- package/dist/collection/models/bcm-types.js +0 -5
- package/dist/collection/models/bcm.js +0 -466
- package/dist/collection/models/index.js +0 -6
- package/dist/collection/models/states/atoms/bcm-atoms-state.js +0 -5
- package/dist/collection/models/states/molecules/bcm-molecules-state.js +0 -5
- package/dist/collection/models/states/organisms/bcm-organisms-state.js +0 -5
- package/dist/collection/templates/button-template.js +0 -22
- package/dist/collection/templates/caption-template.js +0 -29
- package/dist/collection/templates/checkbox-group-template.js +0 -10
- package/dist/collection/templates/checkbox-template.js +0 -31
- package/dist/collection/templates/icon-template.js +0 -24
- package/dist/collection/templates/index.js +0 -17
- package/dist/collection/templates/info-footer-template.js +0 -16
- package/dist/collection/templates/input-template.js +0 -81
- package/dist/collection/templates/label-template.js +0 -18
- package/dist/collection/templates/list-item-template.js +0 -58
- package/dist/collection/templates/list-template.js +0 -24
- package/dist/collection/templates/slot-template.js +0 -10
- package/dist/collection/templates/step-template.js +0 -26
- package/dist/collection/templates/tag-template.js +0 -45
- package/dist/collection/types/index.js +0 -5
- package/dist/collection/utils/element-dragger.js +0 -274
- package/dist/collection/utils/floating-ui.js +0 -62
- package/dist/collection/utils/index.js +0 -9
- package/dist/collection/utils/popover-placement.js +0 -96
- package/dist/collection/utils/utils.js +0 -223
- package/dist/collection/utils/validation.js +0 -47
- package/dist/esm/_commonjsHelpers-3016b722.js +0 -25
- package/dist/esm/bcm-accordion.entry.js +0 -81
- package/dist/esm/bcm-alert.entry.js +0 -108
- package/dist/esm/bcm-attendance.entry.js +0 -46
- package/dist/esm/bcm-autocomplete.entry.js +0 -151
- package/dist/esm/bcm-avatar_2.entry.js +0 -151
- package/dist/esm/bcm-b8d8a236.js +0 -446
- package/dist/esm/bcm-box.entry.js +0 -31
- package/dist/esm/bcm-breadcrumb.entry.js +0 -63
- package/dist/esm/bcm-button-group.entry.js +0 -98
- package/dist/esm/bcm-button_13.entry.js +0 -1965
- package/dist/esm/bcm-card.entry.js +0 -72
- package/dist/esm/bcm-checkbox-group.entry.js +0 -405
- package/dist/esm/bcm-checkbox-lite_9.entry.js +0 -2558
- package/dist/esm/bcm-checkbox_2.entry.js +0 -198
- package/dist/esm/bcm-chip.entry.js +0 -66
- package/dist/esm/bcm-collapse-group.entry.js +0 -53
- package/dist/esm/bcm-collapse.entry.js +0 -54
- package/dist/esm/bcm-colorpicker.entry.js +0 -429
- package/dist/esm/bcm-date-picker.entry.js +0 -167
- package/dist/esm/bcm-datetime-picker.entry.js +0 -1428
- package/dist/esm/bcm-default.entry.js +0 -36
- package/dist/esm/bcm-drawer.entry.js +0 -107
- package/dist/esm/bcm-error-layout.entry.js +0 -74
- package/dist/esm/bcm-expansion-panel.entry.js +0 -123
- package/dist/esm/bcm-form-2.entry.js +0 -201
- package/dist/esm/bcm-form-group.entry.js +0 -41
- package/dist/esm/bcm-input.entry.js +0 -320
- package/dist/esm/bcm-link.entry.js +0 -58
- package/dist/esm/bcm-linked.entry.js +0 -79
- package/dist/esm/bcm-list.entry.js +0 -1757
- package/dist/esm/bcm-message.entry.js +0 -95
- package/dist/esm/bcm-modal.entry.js +0 -133
- package/dist/esm/bcm-notification.entry.js +0 -99
- package/dist/esm/bcm-old-input.entry.js +0 -394
- package/dist/esm/bcm-old-tag_2.entry.js +0 -152
- package/dist/esm/bcm-popconfirm-box.entry.js +0 -118
- package/dist/esm/bcm-popconfirm.entry.js +0 -108
- package/dist/esm/bcm-progress.entry.js +0 -170
- package/dist/esm/bcm-radio-group.entry.js +0 -263
- package/dist/esm/bcm-radio.entry.js +0 -100
- package/dist/esm/bcm-range.entry.js +0 -185
- package/dist/esm/bcm-result.entry.js +0 -75
- package/dist/esm/bcm-search.entry.js +0 -252
- package/dist/esm/bcm-select-group.entry.js +0 -27
- package/dist/esm/bcm-select-option.entry.js +0 -33
- package/dist/esm/bcm-select.entry.js +0 -1177
- package/dist/esm/bcm-skeleton.entry.js +0 -52
- package/dist/esm/bcm-step.entry.js +0 -89
- package/dist/esm/bcm-stepper.entry.js +0 -207
- package/dist/esm/bcm-tab-group.entry.js +0 -168
- package/dist/esm/bcm-tab-pane.entry.js +0 -66
- package/dist/esm/bcm-tab.entry.js +0 -85
- package/dist/esm/bcm-table.entry.js +0 -74
- package/dist/esm/bcm-tabs-content.entry.js +0 -58
- package/dist/esm/bcm-tabs.entry.js +0 -386
- package/dist/esm/bcm-tag.entry.js +0 -97
- package/dist/esm/bcm-textarea.entry.js +0 -146
- package/dist/esm/bcm-time-picker.entry.js +0 -135
- package/dist/esm/bcm-timeline-item.entry.js +0 -51
- package/dist/esm/bcm-timeline.entry.js +0 -69
- package/dist/esm/bcm-treeview-group.entry.js +0 -19
- package/dist/esm/bromcom-ui.js +0 -22
- package/dist/esm/caption-template-3dc68282.js +0 -32
- package/dist/esm/color-helper-7e202fd8.js +0 -488
- package/dist/esm/colors-1d7854ea.js +0 -222
- package/dist/esm/datetime-helper-df25808a.js +0 -9
- package/dist/esm/element-dragger-89bb52fd.js +0 -277
- package/dist/esm/generate-fb5ddb87.js +0 -195
- package/dist/esm/global-4fad925b.js +0 -13
- package/dist/esm/index-36ae55c5.js +0 -191
- package/dist/esm/index-ba2edd32.js +0 -62
- package/dist/esm/index-bd33e7be.js +0 -1833
- package/dist/esm/index.js +0 -4
- package/dist/esm/input-template-0c47abf5.js +0 -84
- package/dist/esm/is-load-decorator-73e33bee.js +0 -54
- package/dist/esm/json-parse-decarator-7b411846.js +0 -38
- package/dist/esm/label-template-c83a04a3.js +0 -21
- package/dist/esm/loader.js +0 -22
- package/dist/esm/number-helper-42be449e.js +0 -18
- package/dist/esm/old-bcm-popover.entry.js +0 -100
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/popover-placement-9864294b.js +0 -95
- package/dist/esm/property-decorators-61be220d.js +0 -31
- package/dist/esm/slot-template-24f1e66e.js +0 -13
- package/dist/esm/stepper-states-b8e9888d.js +0 -81
- package/dist/esm/string-helper-74a1648f.js +0 -132
- package/dist/esm/tooltip-helper-427dd3f5.js +0 -1446
- package/dist/esm/types-6f06fa1a.js +0 -19
- package/dist/esm/types-b211a5eb.js +0 -32
- package/dist/esm/types-bfc3bba1.js +0 -32
- package/dist/esm/utils-57652744.js +0 -123
- package/dist/esm/validators-6f23b54f.js +0 -31
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/types/components/atoms/avatar/avatar.d.ts +0 -23
- package/dist/types/components/atoms/badge/badge.d.ts +0 -17
- package/dist/types/components/atoms/box/box.d.ts +0 -5
- package/dist/types/components/atoms/button/button.d.ts +0 -33
- package/dist/types/components/atoms/button/types.d.ts +0 -166
- package/dist/types/components/atoms/chip/chip.d.ts +0 -24
- package/dist/types/components/atoms/divider/divider.d.ts +0 -7
- package/dist/types/components/atoms/icon/icon.d.ts +0 -6
- package/dist/types/components/atoms/label/label.d.ts +0 -16
- package/dist/types/components/atoms/link/link.d.ts +0 -13
- package/dist/types/components/atoms/states/button.states.d.ts +0 -7
- package/dist/types/components/atoms/tag/tag.d.ts +0 -24
- package/dist/types/components/atoms/tag/types.d.ts +0 -29
- package/dist/types/components/atoms/typography/typography.d.ts +0 -5
- package/dist/types/components/molecules/accordion/accordion.d.ts +0 -11
- package/dist/types/components/molecules/alert/alert.d.ts +0 -21
- package/dist/types/components/molecules/alert/types.d.ts +0 -25
- package/dist/types/components/molecules/breadcrumb/breadcrumb.d.ts +0 -14
- package/dist/types/components/molecules/breadcrumb/types.d.ts +0 -10
- package/dist/types/components/molecules/button-group/button-group.d.ts +0 -21
- package/dist/types/components/molecules/card/card.d.ts +0 -11
- package/dist/types/components/molecules/checkbox/checkbox-lite.d.ts +0 -14
- package/dist/types/components/molecules/checkbox/checkbox.d.ts +0 -56
- package/dist/types/components/molecules/checkbox/group.d.ts +0 -56
- package/dist/types/components/molecules/drawer/drawer.d.ts +0 -21
- package/dist/types/components/molecules/dropdown/dropdown.d.ts +0 -54
- package/dist/types/components/molecules/empty/empty.d.ts +0 -5
- package/dist/types/components/molecules/error-layout/error-layout.d.ts +0 -25
- package/dist/types/components/molecules/error-layout/types.d.ts +0 -4
- package/dist/types/components/molecules/expansion-panel/expansion-panel.d.ts +0 -31
- package/dist/types/components/molecules/input/input.d.ts +0 -82
- package/dist/types/components/molecules/input/types.d.ts +0 -13
- package/dist/types/components/molecules/item/item.d.ts +0 -13
- package/dist/types/components/molecules/items/items.d.ts +0 -10
- package/dist/types/components/molecules/linked/linked.d.ts +0 -14
- package/dist/types/components/molecules/menu/menu.d.ts +0 -41
- package/dist/types/components/molecules/message/message.d.ts +0 -32
- package/dist/types/components/molecules/message/types.d.ts +0 -13
- package/dist/types/components/molecules/modal/modal.d.ts +0 -26
- package/dist/types/components/molecules/notification/notification.d.ts +0 -42
- package/dist/types/components/molecules/notification/types.d.ts +0 -14
- package/dist/types/components/molecules/popconfirm/popconfirm-box.d.ts +0 -29
- package/dist/types/components/molecules/popconfirm/popconfirm.d.ts +0 -28
- package/dist/types/components/molecules/popover/popover.d.ts +0 -20
- package/dist/types/components/molecules/progress/progress.d.ts +0 -25
- package/dist/types/components/molecules/progress/types.d.ts +0 -14
- package/dist/types/components/molecules/radio/group.d.ts +0 -54
- package/dist/types/components/molecules/radio/radio.d.ts +0 -21
- package/dist/types/components/molecules/radio/types.d.ts +0 -29
- package/dist/types/components/molecules/range/range.d.ts +0 -36
- package/dist/types/components/molecules/result/result.d.ts +0 -13
- package/dist/types/components/molecules/result/types.d.ts +0 -19
- package/dist/types/components/molecules/search/search.d.ts +0 -35
- package/dist/types/components/molecules/skeleton/skeleton.d.ts +0 -8
- package/dist/types/components/molecules/states/alert.states.d.ts +0 -7
- package/dist/types/components/molecules/states/checkbox-group.states.d.ts +0 -53
- package/dist/types/components/molecules/states/radio-group.states.d.ts +0 -48
- package/dist/types/components/molecules/states/search.states.d.ts +0 -14
- package/dist/types/components/molecules/states/stepper-states.d.ts +0 -13
- package/dist/types/components/molecules/stepper/step.d.ts +0 -25
- package/dist/types/components/molecules/stepper/stepper.d.ts +0 -34
- package/dist/types/components/molecules/switch/switch.d.ts +0 -46
- package/dist/types/components/molecules/tab-group/tab-group.d.ts +0 -18
- package/dist/types/components/molecules/textarea/textarea.d.ts +0 -53
- package/dist/types/components/molecules/textarea/types.d.ts +0 -9
- package/dist/types/components/molecules/timeline/timeline-item.d.ts +0 -16
- package/dist/types/components/molecules/timeline/timeline.d.ts +0 -25
- package/dist/types/components/molecules/tooltip/tooltip.d.ts +0 -19
- package/dist/types/components/organism/autocomplete/autocomplete.d.ts +0 -31
- package/dist/types/components/organism/colorpicker/colorpicker.d.ts +0 -176
- package/dist/types/components/organism/date-picker/date-picker.d.ts +0 -77
- package/dist/types/components/organism/datetime-picker/datetime-picker.d.ts +0 -438
- package/dist/types/components/organism/datetime-picker/types.d.ts +0 -54
- package/dist/types/components/organism/form/form-group.d.ts +0 -10
- package/dist/types/components/organism/form/form.d.ts +0 -34
- package/dist/types/components/organism/form-2/bcm-form-components.d.ts +0 -2
- package/dist/types/components/organism/form-2/form-2.d.ts +0 -25
- package/dist/types/components/organism/list/list-key-control.d.ts +0 -18
- package/dist/types/components/organism/list/list-tag-control.d.ts +0 -18
- package/dist/types/components/organism/list/list.d.ts +0 -138
- package/dist/types/components/organism/states/bcm-list2.states.d.ts +0 -28
- package/dist/types/components/organism/time-picker/time-picker.d.ts +0 -69
- package/dist/types/components/other/attendance/attendance.d.ts +0 -7
- package/dist/types/components/other/data-table/table.d.ts +0 -8
- package/dist/types/components/other/default/default.d.ts +0 -6
- package/dist/types/components/other_deprecated/collapse/collapse.d.ts +0 -12
- package/dist/types/components/other_deprecated/collapse/group.d.ts +0 -15
- package/dist/types/components/other_deprecated/listbox/listbox-group.d.ts +0 -7
- package/dist/types/components/other_deprecated/listbox/listbox-item.d.ts +0 -58
- package/dist/types/components/other_deprecated/listbox/listbox.d.ts +0 -152
- package/dist/types/components/other_deprecated/listbox/types.d.ts +0 -11
- package/dist/types/components/other_deprecated/old-input/old-input.d.ts +0 -80
- package/dist/types/components/other_deprecated/old-input/types.d.ts +0 -13
- package/dist/types/components/other_deprecated/old-popover/old-popover-box.d.ts +0 -25
- package/dist/types/components/other_deprecated/old-popover/old-popover.d.ts +0 -22
- package/dist/types/components/other_deprecated/old-search/old-search.d.ts +0 -32
- package/dist/types/components/other_deprecated/old-tag/old-tag.d.ts +0 -27
- package/dist/types/components/other_deprecated/old-tag/types.d.ts +0 -29
- package/dist/types/components/other_deprecated/select/group.d.ts +0 -6
- package/dist/types/components/other_deprecated/select/option.d.ts +0 -10
- package/dist/types/components/other_deprecated/select/select-box.d.ts +0 -15
- package/dist/types/components/other_deprecated/select/select.d.ts +0 -131
- package/dist/types/components/other_deprecated/tabs/tab-pane.d.ts +0 -19
- package/dist/types/components/other_deprecated/tabs/tab.d.ts +0 -36
- package/dist/types/components/other_deprecated/tabs/tabs-content.d.ts +0 -18
- package/dist/types/components/other_deprecated/tabs/tabs.d.ts +0 -112
- package/dist/types/components/other_deprecated/tabs/types.d.ts +0 -39
- package/dist/types/components/other_deprecated/text/text.d.ts +0 -11
- package/dist/types/components/other_deprecated/treeview/treeview-group.d.ts +0 -3
- package/dist/types/components/other_deprecated/treeview/treeview-item.d.ts +0 -119
- package/dist/types/components/other_deprecated/treeview/treeview.d.ts +0 -181
- package/dist/types/components/other_deprecated/treeview/types.d.ts +0 -11
- package/dist/types/components.d.ts +0 -3517
- package/dist/types/decorators/id-decorator.d.ts +0 -4
- package/dist/types/decorators/index.d.ts +0 -4
- package/dist/types/decorators/is-load-decorator.d.ts +0 -7
- package/dist/types/decorators/json-parse-decarator.d.ts +0 -4
- package/dist/types/decorators/property-decorators.d.ts +0 -4
- package/dist/types/global/variables/colors.d.ts +0 -217
- package/dist/types/helper/color-helper.d.ts +0 -16
- package/dist/types/helper/content-helper.d.ts +0 -18
- package/dist/types/helper/datetime-helper.d.ts +0 -3
- package/dist/types/helper/generate.d.ts +0 -21
- package/dist/types/helper/index.d.ts +0 -9
- package/dist/types/helper/number-helper.d.ts +0 -10
- package/dist/types/helper/popover-helper.d.ts +0 -31
- package/dist/types/helper/string-helper.d.ts +0 -27
- package/dist/types/helper/tooltip-helper.d.ts +0 -25
- package/dist/types/helper/validators.d.ts +0 -10
- package/dist/types/index.d.ts +0 -1
- package/dist/types/models/abstract-classes/abstract-key-control.d.ts +0 -31
- package/dist/types/models/bcm-types.d.ts +0 -21
- package/dist/types/models/bcm.d.ts +0 -456
- package/dist/types/models/index.d.ts +0 -2
- package/dist/types/models/states/atoms/bcm-atoms-state.d.ts +0 -34
- package/dist/types/models/states/molecules/bcm-molecules-state.d.ts +0 -90
- package/dist/types/models/states/organisms/bcm-organisms-state.d.ts +0 -78
- package/dist/types/stencil-public-runtime.d.ts +0 -1565
- package/dist/types/templates/button-template.d.ts +0 -18
- package/dist/types/templates/caption-template.d.ts +0 -14
- package/dist/types/templates/checkbox-group-template.d.ts +0 -10
- package/dist/types/templates/checkbox-template.d.ts +0 -13
- package/dist/types/templates/icon-template.d.ts +0 -7
- package/dist/types/templates/index.d.ts +0 -13
- package/dist/types/templates/info-footer-template.d.ts +0 -10
- package/dist/types/templates/input-template.d.ts +0 -34
- package/dist/types/templates/label-template.d.ts +0 -12
- package/dist/types/templates/list-item-template.d.ts +0 -13
- package/dist/types/templates/list-template.d.ts +0 -29
- package/dist/types/templates/slot-template.d.ts +0 -8
- package/dist/types/templates/step-template.d.ts +0 -17
- package/dist/types/templates/tag-template.d.ts +0 -21
- package/dist/types/types/index.d.ts +0 -12
- package/dist/types/utils/element-dragger.d.ts +0 -146
- package/dist/types/utils/floating-ui.d.ts +0 -6
- package/dist/types/utils/index.d.ts +0 -5
- package/dist/types/utils/popover-placement.d.ts +0 -3
- package/dist/types/utils/utils.d.ts +0 -55
- package/dist/types/utils/validation.d.ts +0 -19
|
@@ -1,1154 +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") r = Reflect.decorate(decorators, target, key, desc);
|
|
8
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10
|
-
};
|
|
11
|
-
import { Component, Prop, State, Event, Method, h, Watch, Listen, Host, Element } from '@stencil/core';
|
|
12
|
-
import cs from 'classnames';
|
|
13
|
-
import { IsLoad } from '../../../decorators/is-load-decorator';
|
|
14
|
-
import { CaptionTemplate } from '../../../templates/caption-template';
|
|
15
|
-
import { delay } from '../../../utils/utils';
|
|
16
|
-
let id = 0;
|
|
17
|
-
const defaultIcons = {
|
|
18
|
-
email: '<svg style="fill: #595959; width: 14px; height: 14px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"/></svg>',
|
|
19
|
-
tel: '<svg style="fill: #595959; width: 14px; height: 14px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M476.5 22.9L382.3 1.2c-21.6-5-43.6 6.2-52.3 26.6l-43.5 101.5c-8 18.6-2.6 40.6 13.1 53.4l40 32.7C311 267.8 267.8 311 215.4 339.5l-32.7-40c-12.8-15.7-34.8-21.1-53.4-13.1L27.7 329.9c-20.4 8.7-31.5 30.7-26.6 52.3l21.7 94.2c4.8 20.9 23.2 35.5 44.6 35.5C312.3 512 512 313.7 512 67.5c0-21.4-14.6-39.8-35.5-44.6zM69.3 464l-20.9-90.7 98.2-42.1 55.7 68.1c98.8-46.4 150.6-98 197-197l-68.1-55.7 42.1-98.2L464 69.3C463 286.9 286.9 463 69.3 464z"/></svg>',
|
|
20
|
-
search: '<svg style="fill: #595959; width: 14px; height: 14px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M508.5 468.9L387.1 347.5c-2.3-2.3-5.3-3.5-8.5-3.5h-13.2c31.5-36.5 50.6-84 50.6-136C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c52 0 99.5-19.1 136-50.6v13.2c0 3.2 1.3 6.2 3.5 8.5l121.4 121.4c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17zM208 368c-88.4 0-160-71.6-160-160S119.6 48 208 48s160 71.6 160 160-71.6 160-160 160z"/></svg>',
|
|
21
|
-
url: '<svg style="fill: #595959; width: 14px; height: 14px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M314.222 197.78c51.091 51.091 54.377 132.287 9.75 187.16-6.242 7.73-2.784 3.865-84.94 86.02-54.696 54.696-143.266 54.745-197.99 0-54.711-54.69-54.734-143.255 0-197.99 32.773-32.773 51.835-51.899 63.409-63.457 7.463-7.452 20.331-2.354 20.486 8.192a173.31 173.31 0 0 0 4.746 37.828c.966 4.029-.272 8.269-3.202 11.198L80.632 312.57c-32.755 32.775-32.887 85.892 0 118.8 32.775 32.755 85.892 32.887 118.8 0l75.19-75.2c32.718-32.725 32.777-86.013 0-118.79a83.722 83.722 0 0 0-22.814-16.229c-4.623-2.233-7.182-7.25-6.561-12.346 1.356-11.122 6.296-21.885 14.815-30.405l4.375-4.375c3.625-3.626 9.177-4.594 13.76-2.294 12.999 6.524 25.187 15.211 36.025 26.049zM470.958 41.04c-54.724-54.745-143.294-54.696-197.99 0-82.156 82.156-78.698 78.29-84.94 86.02-44.627 54.873-41.341 136.069 9.75 187.16 10.838 10.838 23.026 19.525 36.025 26.049 4.582 2.3 10.134 1.331 13.76-2.294l4.375-4.375c8.52-8.519 13.459-19.283 14.815-30.405.621-5.096-1.938-10.113-6.561-12.346a83.706 83.706 0 0 1-22.814-16.229c-32.777-32.777-32.718-86.065 0-118.79l75.19-75.2c32.908-32.887 86.025-32.755 118.8 0 32.887 32.908 32.755 86.025 0 118.8l-45.848 45.84c-2.93 2.929-4.168 7.169-3.202 11.198a173.31 173.31 0 0 1 4.746 37.828c.155 10.546 13.023 15.644 20.486 8.192 11.574-11.558 30.636-30.684 63.409-63.457 54.733-54.735 54.71-143.3-.001-197.991z"/></svg>'
|
|
22
|
-
};
|
|
23
|
-
export class BcmOldInput {
|
|
24
|
-
constructor() {
|
|
25
|
-
this.inputId = `input-${++id}`;
|
|
26
|
-
this.type = 'text';
|
|
27
|
-
this.value = '';
|
|
28
|
-
this.size = "medium";
|
|
29
|
-
this.noCaption = false;
|
|
30
|
-
this.noMargin = false;
|
|
31
|
-
this.captionType = 'default';
|
|
32
|
-
this.fullWidth = false;
|
|
33
|
-
this.disabled = false;
|
|
34
|
-
this.readonly = false;
|
|
35
|
-
this.clearable = false;
|
|
36
|
-
this._internal_id = (Math.random() * 4).toString(16).replace('.', '');
|
|
37
|
-
this.unit = null;
|
|
38
|
-
this.unitPrefix = null;
|
|
39
|
-
this.min = null;
|
|
40
|
-
this.max = null;
|
|
41
|
-
this.step = null;
|
|
42
|
-
this.hidden = false;
|
|
43
|
-
this.required = false;
|
|
44
|
-
this.disableWatchValue = false;
|
|
45
|
-
this.maxLength = null;
|
|
46
|
-
this.inValid = false;
|
|
47
|
-
this.hasFocus = false;
|
|
48
|
-
this.isBlur = false;
|
|
49
|
-
this.isPasswordVisible = false;
|
|
50
|
-
}
|
|
51
|
-
async setFocus() {
|
|
52
|
-
this.inputElement.focus();
|
|
53
|
-
}
|
|
54
|
-
async removeFocus() {
|
|
55
|
-
this.inputElement.blur();
|
|
56
|
-
}
|
|
57
|
-
async select() {
|
|
58
|
-
return this.inputElement.select();
|
|
59
|
-
}
|
|
60
|
-
async setValue(value) {
|
|
61
|
-
this.inputElement.value = value;
|
|
62
|
-
this.value = value;
|
|
63
|
-
this.handleChange();
|
|
64
|
-
return value;
|
|
65
|
-
}
|
|
66
|
-
async setClear() {
|
|
67
|
-
this.inputElement.value = '';
|
|
68
|
-
this.value = '';
|
|
69
|
-
await delay(10);
|
|
70
|
-
return Promise.resolve();
|
|
71
|
-
}
|
|
72
|
-
async resetCaption() {
|
|
73
|
-
await delay(10);
|
|
74
|
-
this.caption = this.captionCache;
|
|
75
|
-
this.captionType = this.captionTypeCache;
|
|
76
|
-
this.captionError = null;
|
|
77
|
-
await delay(10);
|
|
78
|
-
return Promise.resolve();
|
|
79
|
-
}
|
|
80
|
-
async getValue() {
|
|
81
|
-
return this.value;
|
|
82
|
-
}
|
|
83
|
-
handleFocus() {
|
|
84
|
-
this.hasFocus = true;
|
|
85
|
-
this.focus.emit();
|
|
86
|
-
}
|
|
87
|
-
handleBlur() {
|
|
88
|
-
this.hasFocus = false;
|
|
89
|
-
this.isBlur = true;
|
|
90
|
-
if (this.type == "email") {
|
|
91
|
-
this.isEmailValid();
|
|
92
|
-
}
|
|
93
|
-
if (this.type == "tel") {
|
|
94
|
-
this.isTelValid();
|
|
95
|
-
}
|
|
96
|
-
this.blur.emit();
|
|
97
|
-
}
|
|
98
|
-
handleChange() {
|
|
99
|
-
this.value = this.inputElement.value;
|
|
100
|
-
this.change.emit(this.value);
|
|
101
|
-
}
|
|
102
|
-
handleInput() {
|
|
103
|
-
if (this.type == "number") {
|
|
104
|
-
if (this.decimal == "false") {
|
|
105
|
-
this.inputElement.value = this.inputElement.value.replace(/[^0-9-]/g, '');
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
this.inputElement.value = this.inputElement.value.replace(/[^0-9.,-]/g, '');
|
|
109
|
-
}
|
|
110
|
-
this.inputElement.value = this.inputElement.value.replace(/(\..*)\./g, '$1').replace(/(\-.*)\-/g, '$1');
|
|
111
|
-
}
|
|
112
|
-
this.value = this.inputElement.value;
|
|
113
|
-
this.input.emit(this.value);
|
|
114
|
-
}
|
|
115
|
-
handleClear(e) {
|
|
116
|
-
this.inputElement.value = '';
|
|
117
|
-
this.value = '';
|
|
118
|
-
this.inputElement.focus();
|
|
119
|
-
this.change.emit(this.value);
|
|
120
|
-
this.clear.emit(e);
|
|
121
|
-
e.stopPropagation();
|
|
122
|
-
}
|
|
123
|
-
changePasswordVisibility() {
|
|
124
|
-
this.isPasswordVisible = !this.isPasswordVisible;
|
|
125
|
-
}
|
|
126
|
-
incrementNumber() {
|
|
127
|
-
if (!this.inValid && !this.disabled && !this.readonly) {
|
|
128
|
-
let step = this.getNumberStep();
|
|
129
|
-
let val = Number(this.value) + Number(step);
|
|
130
|
-
this.value = this.numberDecimal(val);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
decrementNumber() {
|
|
134
|
-
if (!this.inValid && !this.disabled && !this.readonly) {
|
|
135
|
-
let step = this.getNumberStep();
|
|
136
|
-
let val = Number(this.value) - Number(step);
|
|
137
|
-
this.value = this.numberDecimal(val);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
getNumberStep(step = Number(this.step)) {
|
|
141
|
-
let returnStep = 1;
|
|
142
|
-
if (step && Number(step) == step)
|
|
143
|
-
returnStep = step;
|
|
144
|
-
return Number(returnStep);
|
|
145
|
-
}
|
|
146
|
-
connectedCallback() {
|
|
147
|
-
this.changePasswordVisibility = this.changePasswordVisibility.bind(this);
|
|
148
|
-
this.handleChange = this.handleChange.bind(this);
|
|
149
|
-
this.handleBlur = this.handleBlur.bind(this);
|
|
150
|
-
this.handleFocus = this.handleFocus.bind(this);
|
|
151
|
-
this.handleInput = this.handleInput.bind(this);
|
|
152
|
-
this.handleClear = this.handleClear.bind(this);
|
|
153
|
-
this.incrementNumber = this.incrementNumber.bind(this);
|
|
154
|
-
this.decrementNumber = this.decrementNumber.bind(this);
|
|
155
|
-
this.valueCache = this.value;
|
|
156
|
-
this.captionCache = this.caption;
|
|
157
|
-
this.captionTypeCache = this.captionType;
|
|
158
|
-
}
|
|
159
|
-
validationRange(val = JSON.stringify({
|
|
160
|
-
"value": this.value,
|
|
161
|
-
"min": this.min,
|
|
162
|
-
"max": this.max
|
|
163
|
-
})) {
|
|
164
|
-
let cap = null;
|
|
165
|
-
let capType = null;
|
|
166
|
-
let returnValidation = true;
|
|
167
|
-
let item = JSON.parse(val);
|
|
168
|
-
let { length, value, min, max } = item;
|
|
169
|
-
length = parseFloat(length);
|
|
170
|
-
value = parseFloat(value);
|
|
171
|
-
min = parseFloat(min);
|
|
172
|
-
max = parseFloat(max);
|
|
173
|
-
length !== 0 && (value && (min && max && ((value < min || value > max) && (cap = "Please enter a value between " + min + " and " + max + ".",
|
|
174
|
-
capType = "error",
|
|
175
|
-
returnValidation = false)) || min && !max && (value < min && (cap = "Please enter a value greater than or equal to " + min + ".",
|
|
176
|
-
capType = "error",
|
|
177
|
-
returnValidation = false)) || !min && max && (value > max && (cap = "Please enter a value less than or equal to " + max + ".",
|
|
178
|
-
capType = "error",
|
|
179
|
-
returnValidation = false))));
|
|
180
|
-
this.setCaption(cap, capType);
|
|
181
|
-
return returnValidation;
|
|
182
|
-
}
|
|
183
|
-
setCaption(caption = null, captionType = null) {
|
|
184
|
-
this.caption = caption ? caption : this.captionCache;
|
|
185
|
-
this.captionType = captionType ? captionType : this.captionTypeCache;
|
|
186
|
-
this.captionError = captionType == "error" ? caption : null;
|
|
187
|
-
}
|
|
188
|
-
isEmailValid() {
|
|
189
|
-
const { value } = this;
|
|
190
|
-
const regexp = new RegExp(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);
|
|
191
|
-
let cap = null;
|
|
192
|
-
let capType = null;
|
|
193
|
-
if (value && !regexp.test(value)) {
|
|
194
|
-
cap = "Please enter a valid email address.",
|
|
195
|
-
capType = "error",
|
|
196
|
-
this.inValid = true;
|
|
197
|
-
}
|
|
198
|
-
else {
|
|
199
|
-
this.inValid = false;
|
|
200
|
-
}
|
|
201
|
-
this.setCaption(cap, capType);
|
|
202
|
-
return this.inValid;
|
|
203
|
-
}
|
|
204
|
-
isTelValid() {
|
|
205
|
-
const { value } = this;
|
|
206
|
-
const regexp = new RegExp(/^(?=.*[0-9])[- +()0-9]+$/);
|
|
207
|
-
let cap = null;
|
|
208
|
-
let capType = null;
|
|
209
|
-
if (value && !regexp.test(value)) {
|
|
210
|
-
cap = "Please enter a valid phone number.",
|
|
211
|
-
capType = "error",
|
|
212
|
-
this.inValid = true;
|
|
213
|
-
}
|
|
214
|
-
else {
|
|
215
|
-
this.inValid = false;
|
|
216
|
-
}
|
|
217
|
-
this.setCaption(cap, capType);
|
|
218
|
-
return this.inValid;
|
|
219
|
-
}
|
|
220
|
-
isNumberValid(caption = "Invalid number", captionType = "error") {
|
|
221
|
-
const { value } = this;
|
|
222
|
-
if (value && Number(value) != value) {
|
|
223
|
-
this.inValid = true;
|
|
224
|
-
this.setCaption(caption, captionType);
|
|
225
|
-
return true;
|
|
226
|
-
}
|
|
227
|
-
this.inValid = false;
|
|
228
|
-
return false;
|
|
229
|
-
}
|
|
230
|
-
setNumberUnit() {
|
|
231
|
-
const { value, unit } = this;
|
|
232
|
-
if (Number(value) == value && (unit === null || unit === void 0 ? void 0 : unit.length) > 0 && !value)
|
|
233
|
-
this.value = 0;
|
|
234
|
-
}
|
|
235
|
-
numberDecimal(val = '') {
|
|
236
|
-
let decLen = this.getDecimalLength();
|
|
237
|
-
if (val && decLen)
|
|
238
|
-
return parseFloat(val).toFixed(decLen);
|
|
239
|
-
return val;
|
|
240
|
-
}
|
|
241
|
-
numberNotDecimal(val = 0) {
|
|
242
|
-
return Math.trunc(val);
|
|
243
|
-
}
|
|
244
|
-
getDecimalLength() {
|
|
245
|
-
const { step } = this;
|
|
246
|
-
var decimalNumber = null;
|
|
247
|
-
let returnDecimalLength = 0, splitted, splitDec;
|
|
248
|
-
if (decimalNumber && Number(decimalNumber) == decimalNumber) {
|
|
249
|
-
returnDecimalLength = decimalNumber;
|
|
250
|
-
}
|
|
251
|
-
else if (!decimalNumber && step && Number(step) == step) {
|
|
252
|
-
if (String(step).includes(".")) {
|
|
253
|
-
splitted = String(step).split('.');
|
|
254
|
-
splitDec = splitted[splitted.length - 1].length;
|
|
255
|
-
}
|
|
256
|
-
else {
|
|
257
|
-
splitDec = 0;
|
|
258
|
-
}
|
|
259
|
-
returnDecimalLength = splitDec;
|
|
260
|
-
}
|
|
261
|
-
return Number(returnDecimalLength);
|
|
262
|
-
}
|
|
263
|
-
componentWillRender() {
|
|
264
|
-
const { type } = this;
|
|
265
|
-
if (type == "number" && this.value) {
|
|
266
|
-
if (!this.isNumberValid()) {
|
|
267
|
-
this.validationRange();
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
if (this.isBlur) {
|
|
271
|
-
if (type == "email" && this.value) {
|
|
272
|
-
this.isEmailValid();
|
|
273
|
-
}
|
|
274
|
-
if (type == "tel" && this.value) {
|
|
275
|
-
this.isTelValid();
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
componentWillLoad() {
|
|
280
|
-
const { type, value } = this;
|
|
281
|
-
if (type == "number" && Number(value) == value) {
|
|
282
|
-
this.value = this.numberDecimal(value);
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
numberControl(e) {
|
|
286
|
-
if (!this.disabled && !this.readonly) {
|
|
287
|
-
if (this.type == "number") {
|
|
288
|
-
var which = e.which || 0;
|
|
289
|
-
var key = e.key;
|
|
290
|
-
which == 38 && ( // up arrow
|
|
291
|
-
e.preventDefault(),
|
|
292
|
-
this.incrementNumber());
|
|
293
|
-
which == 40 && ( // down arrow
|
|
294
|
-
e.preventDefault(),
|
|
295
|
-
this.decrementNumber());
|
|
296
|
-
key == "." && String(this.value).includes(".") && ( // dot: shouldn't be more than one
|
|
297
|
-
e.preventDefault());
|
|
298
|
-
if (which == 8 || //backspace / delete
|
|
299
|
-
which == 9 || //tab
|
|
300
|
-
which == 13 || //enter
|
|
301
|
-
which == 16 || //shift
|
|
302
|
-
which == 17 || //ctrl
|
|
303
|
-
which == 18 || //alt
|
|
304
|
-
which == 46 || //delete
|
|
305
|
-
(which == 110 && (this.type == 'number' && this.decimal != false)) || //decimal point
|
|
306
|
-
// (which == 188 && key == ",") || //comma
|
|
307
|
-
(which == 190 && key == "." && (this.type == 'number' && this.decimal != false)) || //period
|
|
308
|
-
(which == 189 && this.inputElement.value.length == 0) || //-
|
|
309
|
-
(which == 109 && this.inputElement.value.length == 0) || //-
|
|
310
|
-
(which >= 35 && which <= 40) || //end, home, left arrow, up arrow, right arrow, down arrow
|
|
311
|
-
(which >= 48 && which <= 57) || //0-9
|
|
312
|
-
(which >= 96 && which <= 105) //0-9(numpad)
|
|
313
|
-
)
|
|
314
|
-
return true;
|
|
315
|
-
e.preventDefault();
|
|
316
|
-
if (this.decimal == true) {
|
|
317
|
-
this.value = this.numberDecimal(this.value);
|
|
318
|
-
}
|
|
319
|
-
else if (this.decimal == false) {
|
|
320
|
-
this.value = this.numberNotDecimal(this.value);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
whatchHasFocus() {
|
|
326
|
-
const { type, hasFocus, value, valueCache, inValid } = this;
|
|
327
|
-
if (type == "number") {
|
|
328
|
-
this.isNumberValid();
|
|
329
|
-
let inValidState = false;
|
|
330
|
-
if (hasFocus == true) {
|
|
331
|
-
if (inValid == true) {
|
|
332
|
-
this.value = '';
|
|
333
|
-
inValidState = true;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
else {
|
|
337
|
-
if (this.value == '' && inValid == false) {
|
|
338
|
-
this.value = valueCache;
|
|
339
|
-
inValidState = true;
|
|
340
|
-
}
|
|
341
|
-
if (value != valueCache && inValid == false && inValidState == false) {
|
|
342
|
-
this.value = value ? this.numberDecimal(value) : '';
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
watchValue() {
|
|
348
|
-
if (!this.disableWatchValue && this.type != 'number') {
|
|
349
|
-
this.handleChange();
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
render() {
|
|
353
|
-
const { value, size, label, type, captionType, caption, captionError, placeholder, fullWidth, disabled, readonly, clearable, passwordToggle, isPasswordVisible, noDefaultIcon, unit, inValid, hasFocus, unitPrefix, noCaption, required } = this;
|
|
354
|
-
const containerClasses = cs('input-container', {
|
|
355
|
-
'full-width': fullWidth,
|
|
356
|
-
'error': captionType == 'error' ? true : false
|
|
357
|
-
});
|
|
358
|
-
const baseClasses = cs('input-base', 'input-' + size, {
|
|
359
|
-
'invalid': inValid,
|
|
360
|
-
'unit': (unit === null || unit === void 0 ? void 0 : unit.length) > 0,
|
|
361
|
-
'focused': hasFocus,
|
|
362
|
-
'disabled': disabled,
|
|
363
|
-
'readonly': readonly,
|
|
364
|
-
'empty': (value === null || value === void 0 ? void 0 : value.length) < 1
|
|
365
|
-
});
|
|
366
|
-
const inputClass = size === 'large' ? 'size-3' : 'size-2';
|
|
367
|
-
const hostClasses = cs(this.hidden ? 'hidden' : null, this.noMargin ? 'no-margin' : null);
|
|
368
|
-
return (h(Host, { class: hostClasses },
|
|
369
|
-
h("div", { class: containerClasses },
|
|
370
|
-
label && h("div", null,
|
|
371
|
-
h("bcm-label", { tooltip: this.tooltip, type: captionType, value: label, required: required, htmlFor: this.inputId })),
|
|
372
|
-
h("div", { class: baseClasses },
|
|
373
|
-
h("span", { class: "input-prefix" },
|
|
374
|
-
h("slot", { name: "prefix" }),
|
|
375
|
-
unitPrefix && h("span", { class: cs(inputClass, 'unit-prefix') }, unitPrefix)),
|
|
376
|
-
h("input", { "bcm-internal-id": this._id, id: this.inputId, class: inputClass, ref: el => (this.inputElement = el), onFocus: this.handleFocus, onBlur: this.handleBlur, onChange: this.handleChange, onInput: this.handleInput, maxLength: this.maxLength, type: type === 'password' && isPasswordVisible ? 'text' :
|
|
377
|
-
type === 'number' ? 'text' : type, placeholder: placeholder, value: type === 'number' && !this.hasFocus
|
|
378
|
-
? value + (value && (unit === null || unit === void 0 ? void 0 : unit.length) > 0 ? ' ' + unit : '')
|
|
379
|
-
: value, disabled: this.disabled, readonly: this.readonly }),
|
|
380
|
-
clearable && !this.disabled && (h("button", { class: "input-clear-button", onClick: this.handleClear },
|
|
381
|
-
h("svg", { style: { "fill": "#595959", "width": "14px", "height": "14px" }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 320 512" },
|
|
382
|
-
h("path", { d: "M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z" })))),
|
|
383
|
-
type === 'password' && passwordToggle && (h("button", { class: "input-password-toggle", onClick: this.changePasswordVisibility },
|
|
384
|
-
h("bcm-icon", { icon: isPasswordVisible ? "far fa-eye-invisible" : "far fa-eye" }))),
|
|
385
|
-
Object.keys(defaultIcons).includes(type) && !noDefaultIcon && (h("span", { class: "input-suffix default-icon", innerHTML: defaultIcons[type] })),
|
|
386
|
-
type === 'number' && (h("div", { class: cs('caret-container', { 'unit': (unit === null || unit === void 0 ? void 0 : unit.length) > 0 }, { 'disabled': inValid }, { 'disabled': readonly }) },
|
|
387
|
-
h("span", { class: "caret", onClick: inValid == false && this.incrementNumber },
|
|
388
|
-
h("bcm-icon", { icon: "far fa-caret-up" })),
|
|
389
|
-
h("span", { class: "caret", onClick: inValid == false && this.decrementNumber },
|
|
390
|
-
h("bcm-icon", { icon: "far fa-caret-down" })))),
|
|
391
|
-
type !== 'number' && (h("span", { class: "input-suffix" },
|
|
392
|
-
h("slot", { name: "suffix" })))),
|
|
393
|
-
h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption }))));
|
|
394
|
-
}
|
|
395
|
-
static get is() { return "bcm-old-input"; }
|
|
396
|
-
static get encapsulation() { return "shadow"; }
|
|
397
|
-
static get originalStyleUrls() { return {
|
|
398
|
-
"$": ["old-input.scss"]
|
|
399
|
-
}; }
|
|
400
|
-
static get styleUrls() { return {
|
|
401
|
-
"$": ["old-input.css"]
|
|
402
|
-
}; }
|
|
403
|
-
static get properties() { return {
|
|
404
|
-
"type": {
|
|
405
|
-
"type": "string",
|
|
406
|
-
"mutable": true,
|
|
407
|
-
"complexType": {
|
|
408
|
-
"original": "string",
|
|
409
|
-
"resolved": "string",
|
|
410
|
-
"references": {}
|
|
411
|
-
},
|
|
412
|
-
"required": false,
|
|
413
|
-
"optional": false,
|
|
414
|
-
"docs": {
|
|
415
|
-
"tags": [],
|
|
416
|
-
"text": ""
|
|
417
|
-
},
|
|
418
|
-
"attribute": "type",
|
|
419
|
-
"reflect": false,
|
|
420
|
-
"defaultValue": "'text'"
|
|
421
|
-
},
|
|
422
|
-
"value": {
|
|
423
|
-
"type": "any",
|
|
424
|
-
"mutable": true,
|
|
425
|
-
"complexType": {
|
|
426
|
-
"original": "any",
|
|
427
|
-
"resolved": "any",
|
|
428
|
-
"references": {}
|
|
429
|
-
},
|
|
430
|
-
"required": false,
|
|
431
|
-
"optional": false,
|
|
432
|
-
"docs": {
|
|
433
|
-
"tags": [],
|
|
434
|
-
"text": ""
|
|
435
|
-
},
|
|
436
|
-
"attribute": "value",
|
|
437
|
-
"reflect": false,
|
|
438
|
-
"defaultValue": "''"
|
|
439
|
-
},
|
|
440
|
-
"size": {
|
|
441
|
-
"type": "string",
|
|
442
|
-
"mutable": true,
|
|
443
|
-
"complexType": {
|
|
444
|
-
"original": "'small' | 'medium' | 'large'",
|
|
445
|
-
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
446
|
-
"references": {}
|
|
447
|
-
},
|
|
448
|
-
"required": false,
|
|
449
|
-
"optional": false,
|
|
450
|
-
"docs": {
|
|
451
|
-
"tags": [],
|
|
452
|
-
"text": ""
|
|
453
|
-
},
|
|
454
|
-
"attribute": "size",
|
|
455
|
-
"reflect": false,
|
|
456
|
-
"defaultValue": "\"medium\""
|
|
457
|
-
},
|
|
458
|
-
"label": {
|
|
459
|
-
"type": "string",
|
|
460
|
-
"mutable": true,
|
|
461
|
-
"complexType": {
|
|
462
|
-
"original": "string",
|
|
463
|
-
"resolved": "string",
|
|
464
|
-
"references": {}
|
|
465
|
-
},
|
|
466
|
-
"required": false,
|
|
467
|
-
"optional": false,
|
|
468
|
-
"docs": {
|
|
469
|
-
"tags": [],
|
|
470
|
-
"text": ""
|
|
471
|
-
},
|
|
472
|
-
"attribute": "label",
|
|
473
|
-
"reflect": false
|
|
474
|
-
},
|
|
475
|
-
"noCaption": {
|
|
476
|
-
"type": "boolean",
|
|
477
|
-
"mutable": true,
|
|
478
|
-
"complexType": {
|
|
479
|
-
"original": "boolean",
|
|
480
|
-
"resolved": "boolean",
|
|
481
|
-
"references": {}
|
|
482
|
-
},
|
|
483
|
-
"required": false,
|
|
484
|
-
"optional": false,
|
|
485
|
-
"docs": {
|
|
486
|
-
"tags": [],
|
|
487
|
-
"text": ""
|
|
488
|
-
},
|
|
489
|
-
"attribute": "no-caption",
|
|
490
|
-
"reflect": false,
|
|
491
|
-
"defaultValue": "false"
|
|
492
|
-
},
|
|
493
|
-
"noMargin": {
|
|
494
|
-
"type": "boolean",
|
|
495
|
-
"mutable": true,
|
|
496
|
-
"complexType": {
|
|
497
|
-
"original": "boolean",
|
|
498
|
-
"resolved": "boolean",
|
|
499
|
-
"references": {}
|
|
500
|
-
},
|
|
501
|
-
"required": false,
|
|
502
|
-
"optional": false,
|
|
503
|
-
"docs": {
|
|
504
|
-
"tags": [],
|
|
505
|
-
"text": ""
|
|
506
|
-
},
|
|
507
|
-
"attribute": "no-margin",
|
|
508
|
-
"reflect": false,
|
|
509
|
-
"defaultValue": "false"
|
|
510
|
-
},
|
|
511
|
-
"captionError": {
|
|
512
|
-
"type": "string",
|
|
513
|
-
"mutable": true,
|
|
514
|
-
"complexType": {
|
|
515
|
-
"original": "string",
|
|
516
|
-
"resolved": "string",
|
|
517
|
-
"references": {}
|
|
518
|
-
},
|
|
519
|
-
"required": false,
|
|
520
|
-
"optional": false,
|
|
521
|
-
"docs": {
|
|
522
|
-
"tags": [],
|
|
523
|
-
"text": ""
|
|
524
|
-
},
|
|
525
|
-
"attribute": "caption-error",
|
|
526
|
-
"reflect": false
|
|
527
|
-
},
|
|
528
|
-
"caption": {
|
|
529
|
-
"type": "string",
|
|
530
|
-
"mutable": true,
|
|
531
|
-
"complexType": {
|
|
532
|
-
"original": "string",
|
|
533
|
-
"resolved": "string",
|
|
534
|
-
"references": {}
|
|
535
|
-
},
|
|
536
|
-
"required": false,
|
|
537
|
-
"optional": false,
|
|
538
|
-
"docs": {
|
|
539
|
-
"tags": [],
|
|
540
|
-
"text": ""
|
|
541
|
-
},
|
|
542
|
-
"attribute": "caption",
|
|
543
|
-
"reflect": false
|
|
544
|
-
},
|
|
545
|
-
"captionType": {
|
|
546
|
-
"type": "string",
|
|
547
|
-
"mutable": true,
|
|
548
|
-
"complexType": {
|
|
549
|
-
"original": "'primary' | 'success' | 'warning' | 'error' | 'default'",
|
|
550
|
-
"resolved": "\"default\" | \"error\" | \"primary\" | \"success\" | \"warning\"",
|
|
551
|
-
"references": {}
|
|
552
|
-
},
|
|
553
|
-
"required": false,
|
|
554
|
-
"optional": false,
|
|
555
|
-
"docs": {
|
|
556
|
-
"tags": [],
|
|
557
|
-
"text": ""
|
|
558
|
-
},
|
|
559
|
-
"attribute": "caption-type",
|
|
560
|
-
"reflect": false,
|
|
561
|
-
"defaultValue": "'default'"
|
|
562
|
-
},
|
|
563
|
-
"placeholder": {
|
|
564
|
-
"type": "string",
|
|
565
|
-
"mutable": true,
|
|
566
|
-
"complexType": {
|
|
567
|
-
"original": "string",
|
|
568
|
-
"resolved": "string",
|
|
569
|
-
"references": {}
|
|
570
|
-
},
|
|
571
|
-
"required": false,
|
|
572
|
-
"optional": false,
|
|
573
|
-
"docs": {
|
|
574
|
-
"tags": [],
|
|
575
|
-
"text": ""
|
|
576
|
-
},
|
|
577
|
-
"attribute": "placeholder",
|
|
578
|
-
"reflect": false
|
|
579
|
-
},
|
|
580
|
-
"fullWidth": {
|
|
581
|
-
"type": "boolean",
|
|
582
|
-
"mutable": true,
|
|
583
|
-
"complexType": {
|
|
584
|
-
"original": "boolean",
|
|
585
|
-
"resolved": "boolean",
|
|
586
|
-
"references": {}
|
|
587
|
-
},
|
|
588
|
-
"required": false,
|
|
589
|
-
"optional": false,
|
|
590
|
-
"docs": {
|
|
591
|
-
"tags": [],
|
|
592
|
-
"text": ""
|
|
593
|
-
},
|
|
594
|
-
"attribute": "full-width",
|
|
595
|
-
"reflect": false,
|
|
596
|
-
"defaultValue": "false"
|
|
597
|
-
},
|
|
598
|
-
"disabled": {
|
|
599
|
-
"type": "boolean",
|
|
600
|
-
"mutable": true,
|
|
601
|
-
"complexType": {
|
|
602
|
-
"original": "boolean",
|
|
603
|
-
"resolved": "boolean",
|
|
604
|
-
"references": {}
|
|
605
|
-
},
|
|
606
|
-
"required": false,
|
|
607
|
-
"optional": false,
|
|
608
|
-
"docs": {
|
|
609
|
-
"tags": [],
|
|
610
|
-
"text": ""
|
|
611
|
-
},
|
|
612
|
-
"attribute": "disabled",
|
|
613
|
-
"reflect": false,
|
|
614
|
-
"defaultValue": "false"
|
|
615
|
-
},
|
|
616
|
-
"readonly": {
|
|
617
|
-
"type": "boolean",
|
|
618
|
-
"mutable": true,
|
|
619
|
-
"complexType": {
|
|
620
|
-
"original": "boolean",
|
|
621
|
-
"resolved": "boolean",
|
|
622
|
-
"references": {}
|
|
623
|
-
},
|
|
624
|
-
"required": false,
|
|
625
|
-
"optional": false,
|
|
626
|
-
"docs": {
|
|
627
|
-
"tags": [],
|
|
628
|
-
"text": ""
|
|
629
|
-
},
|
|
630
|
-
"attribute": "readonly",
|
|
631
|
-
"reflect": false,
|
|
632
|
-
"defaultValue": "false"
|
|
633
|
-
},
|
|
634
|
-
"clearable": {
|
|
635
|
-
"type": "boolean",
|
|
636
|
-
"mutable": true,
|
|
637
|
-
"complexType": {
|
|
638
|
-
"original": "boolean",
|
|
639
|
-
"resolved": "boolean",
|
|
640
|
-
"references": {}
|
|
641
|
-
},
|
|
642
|
-
"required": false,
|
|
643
|
-
"optional": false,
|
|
644
|
-
"docs": {
|
|
645
|
-
"tags": [],
|
|
646
|
-
"text": ""
|
|
647
|
-
},
|
|
648
|
-
"attribute": "clearable",
|
|
649
|
-
"reflect": false,
|
|
650
|
-
"defaultValue": "false"
|
|
651
|
-
},
|
|
652
|
-
"passwordToggle": {
|
|
653
|
-
"type": "boolean",
|
|
654
|
-
"mutable": true,
|
|
655
|
-
"complexType": {
|
|
656
|
-
"original": "boolean",
|
|
657
|
-
"resolved": "boolean",
|
|
658
|
-
"references": {}
|
|
659
|
-
},
|
|
660
|
-
"required": false,
|
|
661
|
-
"optional": false,
|
|
662
|
-
"docs": {
|
|
663
|
-
"tags": [],
|
|
664
|
-
"text": ""
|
|
665
|
-
},
|
|
666
|
-
"attribute": "password-toggle",
|
|
667
|
-
"reflect": false
|
|
668
|
-
},
|
|
669
|
-
"noDefaultIcon": {
|
|
670
|
-
"type": "boolean",
|
|
671
|
-
"mutable": true,
|
|
672
|
-
"complexType": {
|
|
673
|
-
"original": "boolean",
|
|
674
|
-
"resolved": "boolean",
|
|
675
|
-
"references": {}
|
|
676
|
-
},
|
|
677
|
-
"required": false,
|
|
678
|
-
"optional": false,
|
|
679
|
-
"docs": {
|
|
680
|
-
"tags": [],
|
|
681
|
-
"text": ""
|
|
682
|
-
},
|
|
683
|
-
"attribute": "no-default-icon",
|
|
684
|
-
"reflect": false
|
|
685
|
-
},
|
|
686
|
-
"_id": {
|
|
687
|
-
"type": "string",
|
|
688
|
-
"mutable": true,
|
|
689
|
-
"complexType": {
|
|
690
|
-
"original": "string",
|
|
691
|
-
"resolved": "string",
|
|
692
|
-
"references": {}
|
|
693
|
-
},
|
|
694
|
-
"required": false,
|
|
695
|
-
"optional": false,
|
|
696
|
-
"docs": {
|
|
697
|
-
"tags": [],
|
|
698
|
-
"text": ""
|
|
699
|
-
},
|
|
700
|
-
"attribute": "id",
|
|
701
|
-
"reflect": true
|
|
702
|
-
},
|
|
703
|
-
"_internal_id": {
|
|
704
|
-
"type": "string",
|
|
705
|
-
"mutable": true,
|
|
706
|
-
"complexType": {
|
|
707
|
-
"original": "string",
|
|
708
|
-
"resolved": "string",
|
|
709
|
-
"references": {}
|
|
710
|
-
},
|
|
711
|
-
"required": false,
|
|
712
|
-
"optional": false,
|
|
713
|
-
"docs": {
|
|
714
|
-
"tags": [],
|
|
715
|
-
"text": ""
|
|
716
|
-
},
|
|
717
|
-
"attribute": "_internal_id",
|
|
718
|
-
"reflect": false,
|
|
719
|
-
"defaultValue": "(Math.random() * 4).toString(16).replace('.', '')"
|
|
720
|
-
},
|
|
721
|
-
"name": {
|
|
722
|
-
"type": "string",
|
|
723
|
-
"mutable": true,
|
|
724
|
-
"complexType": {
|
|
725
|
-
"original": "string",
|
|
726
|
-
"resolved": "string",
|
|
727
|
-
"references": {}
|
|
728
|
-
},
|
|
729
|
-
"required": false,
|
|
730
|
-
"optional": false,
|
|
731
|
-
"docs": {
|
|
732
|
-
"tags": [],
|
|
733
|
-
"text": ""
|
|
734
|
-
},
|
|
735
|
-
"attribute": "name",
|
|
736
|
-
"reflect": true
|
|
737
|
-
},
|
|
738
|
-
"unit": {
|
|
739
|
-
"type": "string",
|
|
740
|
-
"mutable": true,
|
|
741
|
-
"complexType": {
|
|
742
|
-
"original": "string",
|
|
743
|
-
"resolved": "string",
|
|
744
|
-
"references": {}
|
|
745
|
-
},
|
|
746
|
-
"required": false,
|
|
747
|
-
"optional": false,
|
|
748
|
-
"docs": {
|
|
749
|
-
"tags": [],
|
|
750
|
-
"text": ""
|
|
751
|
-
},
|
|
752
|
-
"attribute": "unit",
|
|
753
|
-
"reflect": false,
|
|
754
|
-
"defaultValue": "null"
|
|
755
|
-
},
|
|
756
|
-
"unitPrefix": {
|
|
757
|
-
"type": "string",
|
|
758
|
-
"mutable": true,
|
|
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": "unit-prefix",
|
|
771
|
-
"reflect": false,
|
|
772
|
-
"defaultValue": "null"
|
|
773
|
-
},
|
|
774
|
-
"decimal": {
|
|
775
|
-
"type": "any",
|
|
776
|
-
"mutable": true,
|
|
777
|
-
"complexType": {
|
|
778
|
-
"original": "any",
|
|
779
|
-
"resolved": "any",
|
|
780
|
-
"references": {}
|
|
781
|
-
},
|
|
782
|
-
"required": false,
|
|
783
|
-
"optional": false,
|
|
784
|
-
"docs": {
|
|
785
|
-
"tags": [],
|
|
786
|
-
"text": ""
|
|
787
|
-
},
|
|
788
|
-
"attribute": "decimal",
|
|
789
|
-
"reflect": false
|
|
790
|
-
},
|
|
791
|
-
"min": {
|
|
792
|
-
"type": "number",
|
|
793
|
-
"mutable": true,
|
|
794
|
-
"complexType": {
|
|
795
|
-
"original": "number",
|
|
796
|
-
"resolved": "number",
|
|
797
|
-
"references": {}
|
|
798
|
-
},
|
|
799
|
-
"required": false,
|
|
800
|
-
"optional": false,
|
|
801
|
-
"docs": {
|
|
802
|
-
"tags": [],
|
|
803
|
-
"text": ""
|
|
804
|
-
},
|
|
805
|
-
"attribute": "min",
|
|
806
|
-
"reflect": false,
|
|
807
|
-
"defaultValue": "null"
|
|
808
|
-
},
|
|
809
|
-
"max": {
|
|
810
|
-
"type": "number",
|
|
811
|
-
"mutable": true,
|
|
812
|
-
"complexType": {
|
|
813
|
-
"original": "number",
|
|
814
|
-
"resolved": "number",
|
|
815
|
-
"references": {}
|
|
816
|
-
},
|
|
817
|
-
"required": false,
|
|
818
|
-
"optional": false,
|
|
819
|
-
"docs": {
|
|
820
|
-
"tags": [],
|
|
821
|
-
"text": ""
|
|
822
|
-
},
|
|
823
|
-
"attribute": "max",
|
|
824
|
-
"reflect": false,
|
|
825
|
-
"defaultValue": "null"
|
|
826
|
-
},
|
|
827
|
-
"step": {
|
|
828
|
-
"type": "any",
|
|
829
|
-
"mutable": true,
|
|
830
|
-
"complexType": {
|
|
831
|
-
"original": "any",
|
|
832
|
-
"resolved": "any",
|
|
833
|
-
"references": {}
|
|
834
|
-
},
|
|
835
|
-
"required": false,
|
|
836
|
-
"optional": false,
|
|
837
|
-
"docs": {
|
|
838
|
-
"tags": [],
|
|
839
|
-
"text": ""
|
|
840
|
-
},
|
|
841
|
-
"attribute": "step",
|
|
842
|
-
"reflect": false,
|
|
843
|
-
"defaultValue": "null"
|
|
844
|
-
},
|
|
845
|
-
"hidden": {
|
|
846
|
-
"type": "boolean",
|
|
847
|
-
"mutable": true,
|
|
848
|
-
"complexType": {
|
|
849
|
-
"original": "boolean",
|
|
850
|
-
"resolved": "boolean",
|
|
851
|
-
"references": {}
|
|
852
|
-
},
|
|
853
|
-
"required": false,
|
|
854
|
-
"optional": false,
|
|
855
|
-
"docs": {
|
|
856
|
-
"tags": [],
|
|
857
|
-
"text": ""
|
|
858
|
-
},
|
|
859
|
-
"attribute": "hidden",
|
|
860
|
-
"reflect": false,
|
|
861
|
-
"defaultValue": "false"
|
|
862
|
-
},
|
|
863
|
-
"required": {
|
|
864
|
-
"type": "boolean",
|
|
865
|
-
"mutable": true,
|
|
866
|
-
"complexType": {
|
|
867
|
-
"original": "boolean",
|
|
868
|
-
"resolved": "boolean",
|
|
869
|
-
"references": {}
|
|
870
|
-
},
|
|
871
|
-
"required": false,
|
|
872
|
-
"optional": false,
|
|
873
|
-
"docs": {
|
|
874
|
-
"tags": [],
|
|
875
|
-
"text": ""
|
|
876
|
-
},
|
|
877
|
-
"attribute": "required",
|
|
878
|
-
"reflect": false,
|
|
879
|
-
"defaultValue": "false"
|
|
880
|
-
},
|
|
881
|
-
"disableWatchValue": {
|
|
882
|
-
"type": "boolean",
|
|
883
|
-
"mutable": true,
|
|
884
|
-
"complexType": {
|
|
885
|
-
"original": "boolean",
|
|
886
|
-
"resolved": "boolean",
|
|
887
|
-
"references": {}
|
|
888
|
-
},
|
|
889
|
-
"required": false,
|
|
890
|
-
"optional": false,
|
|
891
|
-
"docs": {
|
|
892
|
-
"tags": [],
|
|
893
|
-
"text": ""
|
|
894
|
-
},
|
|
895
|
-
"attribute": "disable-watch-value",
|
|
896
|
-
"reflect": false,
|
|
897
|
-
"defaultValue": "false"
|
|
898
|
-
},
|
|
899
|
-
"maxLength": {
|
|
900
|
-
"type": "number",
|
|
901
|
-
"mutable": true,
|
|
902
|
-
"complexType": {
|
|
903
|
-
"original": "number",
|
|
904
|
-
"resolved": "number",
|
|
905
|
-
"references": {}
|
|
906
|
-
},
|
|
907
|
-
"required": false,
|
|
908
|
-
"optional": false,
|
|
909
|
-
"docs": {
|
|
910
|
-
"tags": [],
|
|
911
|
-
"text": ""
|
|
912
|
-
},
|
|
913
|
-
"attribute": "max-length",
|
|
914
|
-
"reflect": false,
|
|
915
|
-
"defaultValue": "null"
|
|
916
|
-
},
|
|
917
|
-
"tooltip": {
|
|
918
|
-
"type": "string",
|
|
919
|
-
"mutable": true,
|
|
920
|
-
"complexType": {
|
|
921
|
-
"original": "string",
|
|
922
|
-
"resolved": "string",
|
|
923
|
-
"references": {}
|
|
924
|
-
},
|
|
925
|
-
"required": false,
|
|
926
|
-
"optional": false,
|
|
927
|
-
"docs": {
|
|
928
|
-
"tags": [],
|
|
929
|
-
"text": ""
|
|
930
|
-
},
|
|
931
|
-
"attribute": "tooltip",
|
|
932
|
-
"reflect": false
|
|
933
|
-
}
|
|
934
|
-
}; }
|
|
935
|
-
static get states() { return {
|
|
936
|
-
"inValid": {},
|
|
937
|
-
"valueCache": {},
|
|
938
|
-
"captionCache": {},
|
|
939
|
-
"captionTypeCache": {},
|
|
940
|
-
"hasFocus": {},
|
|
941
|
-
"isPasswordVisible": {}
|
|
942
|
-
}; }
|
|
943
|
-
static get events() { return [{
|
|
944
|
-
"method": "focus",
|
|
945
|
-
"name": "bcm-focus",
|
|
946
|
-
"bubbles": true,
|
|
947
|
-
"cancelable": true,
|
|
948
|
-
"composed": true,
|
|
949
|
-
"docs": {
|
|
950
|
-
"tags": [],
|
|
951
|
-
"text": ""
|
|
952
|
-
},
|
|
953
|
-
"complexType": {
|
|
954
|
-
"original": "any",
|
|
955
|
-
"resolved": "any",
|
|
956
|
-
"references": {}
|
|
957
|
-
}
|
|
958
|
-
}, {
|
|
959
|
-
"method": "blur",
|
|
960
|
-
"name": "bcm-blur",
|
|
961
|
-
"bubbles": true,
|
|
962
|
-
"cancelable": true,
|
|
963
|
-
"composed": true,
|
|
964
|
-
"docs": {
|
|
965
|
-
"tags": [],
|
|
966
|
-
"text": ""
|
|
967
|
-
},
|
|
968
|
-
"complexType": {
|
|
969
|
-
"original": "any",
|
|
970
|
-
"resolved": "any",
|
|
971
|
-
"references": {}
|
|
972
|
-
}
|
|
973
|
-
}, {
|
|
974
|
-
"method": "clear",
|
|
975
|
-
"name": "bcm-clear",
|
|
976
|
-
"bubbles": true,
|
|
977
|
-
"cancelable": true,
|
|
978
|
-
"composed": true,
|
|
979
|
-
"docs": {
|
|
980
|
-
"tags": [],
|
|
981
|
-
"text": ""
|
|
982
|
-
},
|
|
983
|
-
"complexType": {
|
|
984
|
-
"original": "any",
|
|
985
|
-
"resolved": "any",
|
|
986
|
-
"references": {}
|
|
987
|
-
}
|
|
988
|
-
}, {
|
|
989
|
-
"method": "change",
|
|
990
|
-
"name": "bcm-change",
|
|
991
|
-
"bubbles": true,
|
|
992
|
-
"cancelable": true,
|
|
993
|
-
"composed": true,
|
|
994
|
-
"docs": {
|
|
995
|
-
"tags": [],
|
|
996
|
-
"text": ""
|
|
997
|
-
},
|
|
998
|
-
"complexType": {
|
|
999
|
-
"original": "any",
|
|
1000
|
-
"resolved": "any",
|
|
1001
|
-
"references": {}
|
|
1002
|
-
}
|
|
1003
|
-
}, {
|
|
1004
|
-
"method": "input",
|
|
1005
|
-
"name": "bcm-input",
|
|
1006
|
-
"bubbles": true,
|
|
1007
|
-
"cancelable": true,
|
|
1008
|
-
"composed": true,
|
|
1009
|
-
"docs": {
|
|
1010
|
-
"tags": [],
|
|
1011
|
-
"text": ""
|
|
1012
|
-
},
|
|
1013
|
-
"complexType": {
|
|
1014
|
-
"original": "any",
|
|
1015
|
-
"resolved": "any",
|
|
1016
|
-
"references": {}
|
|
1017
|
-
}
|
|
1018
|
-
}]; }
|
|
1019
|
-
static get methods() { return {
|
|
1020
|
-
"setFocus": {
|
|
1021
|
-
"complexType": {
|
|
1022
|
-
"signature": "() => Promise<void>",
|
|
1023
|
-
"parameters": [],
|
|
1024
|
-
"references": {
|
|
1025
|
-
"Promise": {
|
|
1026
|
-
"location": "global"
|
|
1027
|
-
}
|
|
1028
|
-
},
|
|
1029
|
-
"return": "Promise<void>"
|
|
1030
|
-
},
|
|
1031
|
-
"docs": {
|
|
1032
|
-
"text": "",
|
|
1033
|
-
"tags": []
|
|
1034
|
-
}
|
|
1035
|
-
},
|
|
1036
|
-
"removeFocus": {
|
|
1037
|
-
"complexType": {
|
|
1038
|
-
"signature": "() => Promise<void>",
|
|
1039
|
-
"parameters": [],
|
|
1040
|
-
"references": {
|
|
1041
|
-
"Promise": {
|
|
1042
|
-
"location": "global"
|
|
1043
|
-
}
|
|
1044
|
-
},
|
|
1045
|
-
"return": "Promise<void>"
|
|
1046
|
-
},
|
|
1047
|
-
"docs": {
|
|
1048
|
-
"text": "",
|
|
1049
|
-
"tags": []
|
|
1050
|
-
}
|
|
1051
|
-
},
|
|
1052
|
-
"select": {
|
|
1053
|
-
"complexType": {
|
|
1054
|
-
"signature": "() => Promise<void>",
|
|
1055
|
-
"parameters": [],
|
|
1056
|
-
"references": {
|
|
1057
|
-
"Promise": {
|
|
1058
|
-
"location": "global"
|
|
1059
|
-
}
|
|
1060
|
-
},
|
|
1061
|
-
"return": "Promise<void>"
|
|
1062
|
-
},
|
|
1063
|
-
"docs": {
|
|
1064
|
-
"text": "",
|
|
1065
|
-
"tags": []
|
|
1066
|
-
}
|
|
1067
|
-
},
|
|
1068
|
-
"setValue": {
|
|
1069
|
-
"complexType": {
|
|
1070
|
-
"signature": "(value: any) => Promise<any>",
|
|
1071
|
-
"parameters": [{
|
|
1072
|
-
"tags": [],
|
|
1073
|
-
"text": ""
|
|
1074
|
-
}],
|
|
1075
|
-
"references": {
|
|
1076
|
-
"Promise": {
|
|
1077
|
-
"location": "global"
|
|
1078
|
-
}
|
|
1079
|
-
},
|
|
1080
|
-
"return": "Promise<any>"
|
|
1081
|
-
},
|
|
1082
|
-
"docs": {
|
|
1083
|
-
"text": "",
|
|
1084
|
-
"tags": []
|
|
1085
|
-
}
|
|
1086
|
-
},
|
|
1087
|
-
"setClear": {
|
|
1088
|
-
"complexType": {
|
|
1089
|
-
"signature": "() => Promise<void>",
|
|
1090
|
-
"parameters": [],
|
|
1091
|
-
"references": {
|
|
1092
|
-
"Promise": {
|
|
1093
|
-
"location": "global"
|
|
1094
|
-
}
|
|
1095
|
-
},
|
|
1096
|
-
"return": "Promise<void>"
|
|
1097
|
-
},
|
|
1098
|
-
"docs": {
|
|
1099
|
-
"text": "",
|
|
1100
|
-
"tags": []
|
|
1101
|
-
}
|
|
1102
|
-
},
|
|
1103
|
-
"resetCaption": {
|
|
1104
|
-
"complexType": {
|
|
1105
|
-
"signature": "() => Promise<void>",
|
|
1106
|
-
"parameters": [],
|
|
1107
|
-
"references": {
|
|
1108
|
-
"Promise": {
|
|
1109
|
-
"location": "global"
|
|
1110
|
-
}
|
|
1111
|
-
},
|
|
1112
|
-
"return": "Promise<void>"
|
|
1113
|
-
},
|
|
1114
|
-
"docs": {
|
|
1115
|
-
"text": "",
|
|
1116
|
-
"tags": []
|
|
1117
|
-
}
|
|
1118
|
-
},
|
|
1119
|
-
"getValue": {
|
|
1120
|
-
"complexType": {
|
|
1121
|
-
"signature": "() => Promise<any>",
|
|
1122
|
-
"parameters": [],
|
|
1123
|
-
"references": {
|
|
1124
|
-
"Promise": {
|
|
1125
|
-
"location": "global"
|
|
1126
|
-
}
|
|
1127
|
-
},
|
|
1128
|
-
"return": "Promise<any>"
|
|
1129
|
-
},
|
|
1130
|
-
"docs": {
|
|
1131
|
-
"text": "",
|
|
1132
|
-
"tags": []
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
}; }
|
|
1136
|
-
static get elementRef() { return "el"; }
|
|
1137
|
-
static get watchers() { return [{
|
|
1138
|
-
"propName": "hasFocus",
|
|
1139
|
-
"methodName": "whatchHasFocus"
|
|
1140
|
-
}, {
|
|
1141
|
-
"propName": "value",
|
|
1142
|
-
"methodName": "watchValue"
|
|
1143
|
-
}]; }
|
|
1144
|
-
static get listeners() { return [{
|
|
1145
|
-
"name": "keydown",
|
|
1146
|
-
"method": "numberControl",
|
|
1147
|
-
"target": undefined,
|
|
1148
|
-
"capture": false,
|
|
1149
|
-
"passive": false
|
|
1150
|
-
}]; }
|
|
1151
|
-
}
|
|
1152
|
-
__decorate([
|
|
1153
|
-
IsLoad()
|
|
1154
|
-
], BcmOldInput.prototype, "el", void 0);
|