bromcom-ui 2.7.23-0 → 2.7.23-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/p-09d5a379.entry.js +5 -0
- package/dist/bromcom-ui/p-0c840479.entry.js +5 -0
- package/dist/bromcom-ui/p-0e65ba4e.entry.js +5 -0
- package/dist/bromcom-ui/{p-104a53f4.entry.js → p-1ed03d82.entry.js} +1 -1
- package/dist/bromcom-ui/p-21260645.js +11 -0
- package/dist/bromcom-ui/p-26482c36.entry.js +5 -0
- package/dist/bromcom-ui/p-30a0df61.entry.js +5 -0
- package/dist/bromcom-ui/p-3a0627d6.js +5 -0
- package/dist/bromcom-ui/{p-fd509fc7.entry.js → p-3a18ac56.entry.js} +1 -1
- package/dist/bromcom-ui/p-3c30d4d9.entry.js +5 -0
- package/dist/bromcom-ui/p-3de14529.entry.js +5 -0
- package/dist/bromcom-ui/{p-ec84b668.js → p-492f79c5.js} +1 -1
- package/dist/bromcom-ui/p-4b282fae.js +5 -0
- package/dist/bromcom-ui/p-4cacbecc.entry.js +5 -0
- package/dist/bromcom-ui/p-4dc6cb10.entry.js +5 -0
- package/dist/bromcom-ui/p-52ffbce1.entry.js +5 -0
- package/dist/bromcom-ui/{p-04a35e6e.entry.js → p-564a4bcf.entry.js} +1 -1
- package/dist/bromcom-ui/p-59c64f1e.entry.js +5 -0
- package/dist/bromcom-ui/p-5aa98c00.entry.js +5 -0
- package/dist/bromcom-ui/p-5b1fe30d.js +5 -0
- package/dist/bromcom-ui/p-640bdbfe.entry.js +5 -0
- package/dist/bromcom-ui/p-68757684.entry.js +5 -0
- package/dist/bromcom-ui/p-6fa38458.entry.js +5 -0
- package/dist/bromcom-ui/{p-9f2678ff.js → p-74d4721e.js} +1 -1
- package/dist/bromcom-ui/p-751e67ae.entry.js +5 -0
- package/dist/bromcom-ui/{p-85a413b7.entry.js → p-75935aa1.entry.js} +1 -1
- package/dist/bromcom-ui/p-78a5b566.entry.js +5 -0
- package/dist/bromcom-ui/p-79cf7a7f.entry.js +5 -0
- package/dist/bromcom-ui/{p-3f0ba719.entry.js → p-7c229289.entry.js} +1 -1
- package/dist/bromcom-ui/p-82433894.entry.js +5 -0
- package/dist/bromcom-ui/p-84c2fbb7.entry.js +5 -0
- package/dist/bromcom-ui/{p-a8ea0995.entry.js → p-8f80435c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-54311536.js → p-8f891f59.js} +1 -1
- package/dist/bromcom-ui/p-8f8b734b.entry.js +5 -0
- package/dist/bromcom-ui/p-96b85605.entry.js +5 -0
- package/dist/bromcom-ui/{p-372b6929.js → p-97af1110.js} +1 -1
- package/dist/bromcom-ui/p-a55fa840.entry.js +5 -0
- package/dist/bromcom-ui/p-a6c5d57e.entry.js +5 -0
- package/dist/bromcom-ui/p-a72c4382.entry.js +5 -0
- package/dist/bromcom-ui/p-b84d36ec.entry.js +5 -0
- package/dist/bromcom-ui/p-bf575256.js +5 -0
- package/dist/bromcom-ui/p-c67b182a.entry.js +5 -0
- package/dist/bromcom-ui/p-ca8302ae.entry.js +5 -0
- package/dist/bromcom-ui/p-d0cb4ea4.entry.js +5 -0
- package/dist/bromcom-ui/{p-a3d86b62.entry.js → p-d5f62fea.entry.js} +1 -1
- package/dist/bromcom-ui/p-da876901.entry.js +5 -0
- package/dist/bromcom-ui/p-dacdb214.entry.js +5 -0
- package/dist/bromcom-ui/p-e19790cc.entry.js +5 -0
- package/dist/bromcom-ui/p-e4fd5844.entry.js +5 -0
- package/dist/bromcom-ui/p-e50904fc.entry.js +5 -0
- package/dist/{cjs/bcm-form-group.cjs.entry.js → bromcom-ui/p-e7672c8d.entry.js} +1 -26
- package/dist/bromcom-ui/p-f0395f5a.entry.js +5 -0
- package/dist/bromcom-ui/{p-0def73f1.entry.js → p-f3f94eec.entry.js} +1 -1
- package/dist/bromcom-ui/p-f77107d8.entry.js +5 -0
- package/dist/bromcom-ui/p-f8ddaa35.entry.js +5 -0
- package/package.json +1 -1
- package/dist/bromcom-ui/p-01dc2270.entry.js +0 -5
- package/dist/bromcom-ui/p-08629997.entry.js +0 -5
- package/dist/bromcom-ui/p-0ea84f4b.entry.js +0 -5
- package/dist/bromcom-ui/p-11f0f76f.entry.js +0 -5
- package/dist/bromcom-ui/p-14d3e86d.entry.js +0 -5
- package/dist/bromcom-ui/p-17391b09.entry.js +0 -5
- package/dist/bromcom-ui/p-2315f389.entry.js +0 -5
- package/dist/bromcom-ui/p-23e9049b.entry.js +0 -5
- package/dist/bromcom-ui/p-289cac1d.entry.js +0 -5
- package/dist/bromcom-ui/p-2fb69387.entry.js +0 -5
- package/dist/bromcom-ui/p-3b0ecb63.entry.js +0 -5
- package/dist/bromcom-ui/p-3c89bea0.entry.js +0 -5
- package/dist/bromcom-ui/p-3e755638.entry.js +0 -5
- package/dist/bromcom-ui/p-4a300d69.js +0 -5
- package/dist/bromcom-ui/p-4e9bbb2c.entry.js +0 -5
- package/dist/bromcom-ui/p-530fe66e.entry.js +0 -5
- package/dist/bromcom-ui/p-534d1564.entry.js +0 -5
- package/dist/bromcom-ui/p-626a65e9.js +0 -5
- package/dist/bromcom-ui/p-6751ac6c.entry.js +0 -5
- package/dist/bromcom-ui/p-68ee093f.entry.js +0 -5
- package/dist/bromcom-ui/p-6b6db5fd.entry.js +0 -5
- package/dist/bromcom-ui/p-6f1f904f.entry.js +0 -5
- package/dist/bromcom-ui/p-72319740.entry.js +0 -5
- package/dist/bromcom-ui/p-74a966cd.entry.js +0 -5
- package/dist/bromcom-ui/p-7d8dd5e1.entry.js +0 -5
- package/dist/bromcom-ui/p-7f159c03.entry.js +0 -5
- package/dist/bromcom-ui/p-88570697.entry.js +0 -5
- package/dist/bromcom-ui/p-8af13df0.entry.js +0 -5
- package/dist/bromcom-ui/p-8f44fd30.entry.js +0 -5
- package/dist/bromcom-ui/p-93c6ae9a.entry.js +0 -5
- package/dist/bromcom-ui/p-94ee9201.entry.js +0 -5
- package/dist/bromcom-ui/p-97b4df53.entry.js +0 -5
- package/dist/bromcom-ui/p-ac1db3e8.js +0 -5
- package/dist/bromcom-ui/p-ace2e92f.js +0 -5
- package/dist/bromcom-ui/p-af4b55d4.js +0 -11
- package/dist/bromcom-ui/p-b6c3153d.entry.js +0 -5
- package/dist/bromcom-ui/p-bc29d9e4.entry.js +0 -5
- package/dist/bromcom-ui/p-bcf914ee.entry.js +0 -5
- package/dist/bromcom-ui/p-bd37254a.js +0 -5
- package/dist/bromcom-ui/p-be0d39a5.entry.js +0 -5
- package/dist/bromcom-ui/p-c3275d09.entry.js +0 -5
- package/dist/bromcom-ui/p-c46bd121.entry.js +0 -5
- package/dist/bromcom-ui/p-cc56b821.entry.js +0 -5
- package/dist/bromcom-ui/p-cdf2a73b.entry.js +0 -5
- package/dist/bromcom-ui/p-d81a006e.entry.js +0 -5
- package/dist/bromcom-ui/p-de7b0fe7.js +0 -5
- package/dist/bromcom-ui/p-e0d9de16.js +0 -5
- package/dist/bromcom-ui/p-e4fe2b3f.js +0 -5
- package/dist/bromcom-ui/p-e5217003.entry.js +0 -5
- package/dist/bromcom-ui/p-e67c2435.entry.js +0 -5
- package/dist/bromcom-ui/p-e81541e2.entry.js +0 -5
- package/dist/bromcom-ui/p-eb91b96a.entry.js +0 -5
- package/dist/bromcom-ui/p-ebc832c7.entry.js +0 -5
- package/dist/bromcom-ui/p-ec105e45.entry.js +0 -5
- package/dist/bromcom-ui/p-ed78a192.entry.js +0 -5
- package/dist/bromcom-ui/p-eef50ebf.js +0 -5
- package/dist/bromcom-ui/p-f129846d.entry.js +0 -5
- package/dist/bromcom-ui/p-f3ddd992.entry.js +0 -5
- package/dist/bromcom-ui/p-f6e7c76e.js +0 -5
- package/dist/bromcom-ui/p-fa0f8e51.entry.js +0 -5
- package/dist/bromcom-ui/p-fab4465c.entry.js +0 -5
- package/dist/cjs/_commonjsHelpers-3d2989e8.js +0 -24
- package/dist/cjs/bcm-662d70d8.js +0 -448
- package/dist/cjs/bcm-accordion.cjs.entry.js +0 -85
- package/dist/cjs/bcm-action-buttons_3.cjs.entry.js +0 -133
- package/dist/cjs/bcm-alert.cjs.entry.js +0 -108
- package/dist/cjs/bcm-attendance.cjs.entry.js +0 -50
- package/dist/cjs/bcm-autocomplete.cjs.entry.js +0 -141
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -141
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +0 -53
- package/dist/cjs/bcm-button-group.cjs.entry.js +0 -102
- package/dist/cjs/bcm-button_7.cjs.entry.js +0 -2827
- package/dist/cjs/bcm-card.cjs.entry.js +0 -76
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +0 -395
- package/dist/cjs/bcm-checkbox-lite_8.cjs.entry.js +0 -2467
- package/dist/cjs/bcm-checkbox.cjs.entry.js +0 -165
- 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 -56
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +0 -419
- package/dist/cjs/bcm-date-picker.cjs.entry.js +0 -155
- 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 -101
- package/dist/cjs/bcm-dropdown.cjs.entry.js +0 -217
- package/dist/cjs/bcm-error-layout.cjs.entry.js +0 -64
- 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-input.cjs.entry.js +0 -323
- package/dist/cjs/bcm-label_3.cjs.entry.js +0 -198
- package/dist/cjs/bcm-link.cjs.entry.js +0 -47
- package/dist/cjs/bcm-menu.cjs.entry.js +0 -201
- package/dist/cjs/bcm-message.cjs.entry.js +0 -85
- package/dist/cjs/bcm-modal.cjs.entry.js +0 -137
- package/dist/cjs/bcm-notification.cjs.entry.js +0 -89
- package/dist/cjs/bcm-old-input.cjs.entry.js +0 -383
- package/dist/cjs/bcm-old-tag_2.cjs.entry.js +0 -143
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +0 -109
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +0 -102
- package/dist/cjs/bcm-popover-box.cjs.entry.js +0 -130
- package/dist/cjs/bcm-popover.cjs.entry.js +0 -100
- package/dist/cjs/bcm-progress.cjs.entry.js +0 -160
- package/dist/cjs/bcm-radio-group.cjs.entry.js +0 -253
- package/dist/cjs/bcm-radio.cjs.entry.js +0 -89
- package/dist/cjs/bcm-range.cjs.entry.js +0 -175
- package/dist/cjs/bcm-result.cjs.entry.js +0 -65
- 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 -1167
- package/dist/cjs/bcm-step.cjs.entry.js +0 -93
- package/dist/cjs/bcm-stepper.cjs.entry.js +0 -211
- package/dist/cjs/bcm-student-card.cjs.entry.js +0 -48
- package/dist/cjs/bcm-switch.cjs.entry.js +0 -125
- package/dist/cjs/bcm-tab-pane.cjs.entry.js +0 -56
- package/dist/cjs/bcm-tab.cjs.entry.js +0 -75
- package/dist/cjs/bcm-table.cjs.entry.js +0 -64
- package/dist/cjs/bcm-tabs-content.cjs.entry.js +0 -48
- package/dist/cjs/bcm-tabs.cjs.entry.js +0 -376
- package/dist/cjs/bcm-tag.cjs.entry.js +0 -113
- package/dist/cjs/bcm-textarea.cjs.entry.js +0 -134
- package/dist/cjs/bcm-time-picker.cjs.entry.js +0 -123
- package/dist/cjs/bcm-timeline-item.cjs.entry.js +0 -41
- package/dist/cjs/bcm-timeline.cjs.entry.js +0 -59
- 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-bd235000.js +0 -34
- package/dist/cjs/color-helper-1ac6ed4d.js +0 -43
- 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-94d96c1b.js +0 -182
- package/dist/cjs/global-0977baef.js +0 -38
- package/dist/cjs/index-53637125.js +0 -1864
- package/dist/cjs/index-78c4b134.js +0 -64
- package/dist/cjs/index-89682d55.js +0 -193
- package/dist/cjs/index.cjs.js +0 -6
- package/dist/cjs/input-template-216ca09e.js +0 -99
- package/dist/cjs/is-load-decorator-20a4687b.js +0 -56
- package/dist/cjs/json-parse-decarator-6300e515.js +0 -40
- package/dist/cjs/label-template-fab08e13.js +0 -23
- package/dist/cjs/loader.cjs.js +0 -26
- package/dist/cjs/number-helper-78263c8e.js +0 -20
- package/dist/cjs/popover-placement-c1b5276c.js +0 -98
- package/dist/cjs/property-decorators-6f740807.js +0 -21
- package/dist/cjs/slot-template-0ee3c054.js +0 -15
- package/dist/cjs/stepper-states-7b826859.js +0 -83
- package/dist/cjs/string-helper-4f680856.js +0 -134
- package/dist/cjs/types-05047466.js +0 -32
- package/dist/cjs/utils-fc077139.js +0 -131
- package/dist/cjs/validators-267d9753.js +0 -33
- package/dist/collection/collection-manifest.json +0 -92
- package/dist/collection/components/atoms/avatar/avatar.css +0 -448
- package/dist/collection/components/atoms/avatar/avatar.js +0 -261
- package/dist/collection/components/atoms/badge/badge.css +0 -481
- package/dist/collection/components/atoms/badge/badge.js +0 -215
- package/dist/collection/components/atoms/button/button.css +0 -598
- package/dist/collection/components/atoms/button/button.js +0 -500
- package/dist/collection/components/atoms/button/types.js +0 -170
- package/dist/collection/components/atoms/divider/divider.css +0 -142
- package/dist/collection/components/atoms/divider/divider.js +0 -72
- package/dist/collection/components/atoms/icon/icon.css +0 -127
- package/dist/collection/components/atoms/icon/icon.js +0 -59
- package/dist/collection/components/atoms/label/label.css +0 -408
- package/dist/collection/components/atoms/label/label.js +0 -206
- package/dist/collection/components/atoms/link/link.css +0 -419
- package/dist/collection/components/atoms/link/link.js +0 -165
- package/dist/collection/components/atoms/old-tag/old-tag.css +0 -305
- package/dist/collection/components/atoms/old-tag/old-tag.js +0 -315
- package/dist/collection/components/atoms/old-tag/types.js +0 -30
- package/dist/collection/components/atoms/states/button.states.js +0 -31
- package/dist/collection/components/atoms/tag/tag.js +0 -324
- package/dist/collection/components/atoms/tag/types.js +0 -30
- package/dist/collection/components/atoms/text/text.css +0 -429
- package/dist/collection/components/atoms/text/text.js +0 -148
- package/dist/collection/components/data-table/table.css +0 -130
- package/dist/collection/components/data-table/table.js +0 -82
- package/dist/collection/components/default/default.css +0 -127
- package/dist/collection/components/default/default.js +0 -53
- 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 -294
- 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 -145
- package/dist/collection/components/molecules/breadcrumb/types.js +0 -5
- 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 -211
- package/dist/collection/components/molecules/checkbox/checkbox.css +0 -1280
- package/dist/collection/components/molecules/checkbox/checkbox.js +0 -678
- package/dist/collection/components/molecules/checkbox/group.css +0 -156
- package/dist/collection/components/molecules/checkbox/group.js +0 -769
- package/dist/collection/components/molecules/collapse/collapse.css +0 -174
- package/dist/collection/components/molecules/collapse/collapse.js +0 -161
- package/dist/collection/components/molecules/collapse/group.js +0 -128
- package/dist/collection/components/molecules/drawer/drawer.css +0 -496
- package/dist/collection/components/molecules/drawer/drawer.js +0 -271
- package/dist/collection/components/molecules/dropdown/dropdown.css +0 -419
- package/dist/collection/components/molecules/dropdown/dropdown.js +0 -760
- package/dist/collection/components/molecules/empty/empty.css +0 -414
- package/dist/collection/components/molecules/empty/empty.js +0 -147
- package/dist/collection/components/molecules/empty/static/default.svg +0 -5
- package/dist/collection/components/molecules/empty/static/simple.svg +0 -9
- package/dist/collection/components/molecules/empty/types.js +0 -21
- package/dist/collection/components/molecules/error-layout/error-layout.css +0 -396
- package/dist/collection/components/molecules/error-layout/error-layout.js +0 -167
- package/dist/collection/components/molecules/error-layout/types.js +0 -5
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +0 -474
- 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 -141
- package/dist/collection/components/molecules/items/items.js +0 -74
- package/dist/collection/components/molecules/message/message.css +0 -165
- package/dist/collection/components/molecules/message/message.js +0 -212
- 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 -234
- package/dist/collection/components/molecules/notification/types.js +0 -15
- package/dist/collection/components/molecules/old-input/old-input.css +0 -1360
- package/dist/collection/components/molecules/old-input/old-input.js +0 -1144
- package/dist/collection/components/molecules/old-input/types.js +0 -17
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +0 -563
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.js +0 -387
- package/dist/collection/components/molecules/popconfirm/popconfirm.css +0 -127
- package/dist/collection/components/molecules/popconfirm/popconfirm.js +0 -376
- package/dist/collection/components/molecules/popover/popover-box.css +0 -582
- package/dist/collection/components/molecules/popover/popover-box.js +0 -385
- package/dist/collection/components/molecules/popover/popover.css +0 -127
- package/dist/collection/components/molecules/popover/popover.js +0 -292
- package/dist/collection/components/molecules/progress/progress.css +0 -486
- package/dist/collection/components/molecules/progress/progress.js +0 -394
- package/dist/collection/components/molecules/progress/types.js +0 -28
- package/dist/collection/components/molecules/radio/group.css +0 -795
- package/dist/collection/components/molecules/radio/group.js +0 -642
- package/dist/collection/components/molecules/radio/radio.css +0 -1280
- package/dist/collection/components/molecules/radio/radio.js +0 -280
- 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 -462
- package/dist/collection/components/molecules/result/result.css +0 -164
- package/dist/collection/components/molecules/result/result.js +0 -133
- package/dist/collection/components/molecules/result/types.js +0 -22
- package/dist/collection/components/molecules/search/search.css +0 -131
- package/dist/collection/components/molecules/search/search.js +0 -486
- package/dist/collection/components/molecules/search-2/search-2.css +0 -1208
- package/dist/collection/components/molecules/search-2/search-2.js +0 -402
- package/dist/collection/components/molecules/select/group.css +0 -144
- package/dist/collection/components/molecules/select/group.js +0 -88
- package/dist/collection/components/molecules/select/option.css +0 -164
- package/dist/collection/components/molecules/select/option.js +0 -142
- package/dist/collection/components/molecules/select/select-box.css +0 -143
- package/dist/collection/components/molecules/select/select-box.js +0 -104
- package/dist/collection/components/molecules/select/select.css +0 -364
- package/dist/collection/components/molecules/select/select.js +0 -2217
- 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 -136
- 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 -706
- package/dist/collection/components/molecules/textarea/textarea.css +0 -1208
- package/dist/collection/components/molecules/textarea/textarea.js +0 -720
- 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 -149
- package/dist/collection/components/molecules/timeline/timeline.css +0 -205
- package/dist/collection/components/molecules/timeline/timeline.js +0 -115
- package/dist/collection/components/molecules/tooltip/tooltip-box.css +0 -544
- package/dist/collection/components/molecules/tooltip/tooltip-box.js +0 -291
- package/dist/collection/components/molecules/tooltip/tooltip.css +0 -127
- package/dist/collection/components/molecules/tooltip/tooltip.js +0 -291
- package/dist/collection/components/organism/autocomplete/autocomplete.css +0 -168
- package/dist/collection/components/organism/autocomplete/autocomplete.js +0 -389
- package/dist/collection/components/organism/colorpicker/colorpicker.css +0 -313
- package/dist/collection/components/organism/colorpicker/colorpicker.js +0 -763
- 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 -768
- 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 -120
- package/dist/collection/components/organism/form/form.css +0 -132
- package/dist/collection/components/organism/form/form.js +0 -670
- 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 -136
- package/dist/collection/components/organism/list/list.css +0 -2033
- package/dist/collection/components/organism/list/list.js +0 -1801
- package/dist/collection/components/organism/listbox/listbox-group.css +0 -139
- package/dist/collection/components/organism/listbox/listbox-group.js +0 -93
- package/dist/collection/components/organism/listbox/listbox-item.css +0 -269
- package/dist/collection/components/organism/listbox/listbox-item.js +0 -641
- package/dist/collection/components/organism/listbox/listbox.css +0 -365
- package/dist/collection/components/organism/listbox/listbox.js +0 -1989
- package/dist/collection/components/organism/listbox/types.js +0 -11
- package/dist/collection/components/organism/states/bcm-list2.states.js +0 -530
- package/dist/collection/components/organism/tabs/tab-pane.css +0 -142
- package/dist/collection/components/organism/tabs/tab-pane.js +0 -158
- package/dist/collection/components/organism/tabs/tab.css +0 -587
- package/dist/collection/components/organism/tabs/tab.js +0 -293
- package/dist/collection/components/organism/tabs/tabs-content.css +0 -136
- package/dist/collection/components/organism/tabs/tabs-content.js +0 -137
- package/dist/collection/components/organism/tabs/tabs.css +0 -212
- package/dist/collection/components/organism/tabs/tabs.js +0 -796
- package/dist/collection/components/organism/tabs/types.js +0 -30
- package/dist/collection/components/organism/time-picker/time-picker.css +0 -141
- package/dist/collection/components/organism/time-picker/time-picker.js +0 -615
- package/dist/collection/components/organism/treeview/treeview-group.css +0 -0
- package/dist/collection/components/organism/treeview/treeview-group.js +0 -18
- package/dist/collection/components/organism/treeview/treeview-item.css +0 -318
- package/dist/collection/components/organism/treeview/treeview-item.js +0 -977
- package/dist/collection/components/organism/treeview/treeview.css +0 -190
- package/dist/collection/components/organism/treeview/treeview.js +0 -1689
- package/dist/collection/components/organism/treeview/types.js +0 -11
- 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 -16
- package/dist/collection/global/components/_checkbox.css +0 -627
- package/dist/collection/global/global.js +0 -66
- package/dist/collection/global/variables/colors.js +0 -220
- package/dist/collection/helper/color-helper.js +0 -38
- package/dist/collection/helper/datetime-helper.js +0 -7
- package/dist/collection/helper/generate.js +0 -147
- package/dist/collection/helper/number-helper.js +0 -15
- package/dist/collection/helper/string-helper.js +0 -65
- 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/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/new-ds/components/action-buttons/action-buttons.css +0 -152
- package/dist/collection/new-ds/components/action-buttons/action-buttons.js +0 -61
- package/dist/collection/new-ds/components/attendance/attendance.css +0 -433
- package/dist/collection/new-ds/components/attendance/attendance.js +0 -85
- package/dist/collection/new-ds/components/button-group/button-group.css +0 -419
- package/dist/collection/new-ds/components/button-group/button-group.js +0 -235
- package/dist/collection/new-ds/components/chip/chip.css +0 -453
- package/dist/collection/new-ds/components/chip/chip.js +0 -187
- package/dist/collection/new-ds/components/menu/menu.css +0 -698
- package/dist/collection/new-ds/components/menu/menu.js +0 -509
- package/dist/collection/new-ds/components/student-card/student-card.css +0 -454
- package/dist/collection/new-ds/components/student-card/student-card.js +0 -152
- 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/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 -22
- 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/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-f805a026.js +0 -21
- package/dist/esm/bcm-accordion.entry.js +0 -81
- package/dist/esm/bcm-action-buttons_3.entry.js +0 -127
- package/dist/esm/bcm-alert.entry.js +0 -104
- package/dist/esm/bcm-attendance.entry.js +0 -46
- package/dist/esm/bcm-autocomplete.entry.js +0 -137
- package/dist/esm/bcm-avatar_2.entry.js +0 -136
- package/dist/esm/bcm-breadcrumb.entry.js +0 -49
- package/dist/esm/bcm-button-group.entry.js +0 -98
- package/dist/esm/bcm-button_7.entry.js +0 -2817
- package/dist/esm/bcm-card.entry.js +0 -72
- package/dist/esm/bcm-checkbox-group.entry.js +0 -391
- package/dist/esm/bcm-checkbox-lite_8.entry.js +0 -2456
- package/dist/esm/bcm-checkbox.entry.js +0 -161
- 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 -52
- package/dist/esm/bcm-colorpicker.entry.js +0 -415
- package/dist/esm/bcm-date-picker.entry.js +0 -151
- 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 -97
- package/dist/esm/bcm-dropdown.entry.js +0 -213
- package/dist/esm/bcm-e046ec7a.js +0 -446
- package/dist/esm/bcm-error-layout.entry.js +0 -60
- 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 -26
- package/dist/esm/bcm-input.entry.js +0 -319
- package/dist/esm/bcm-label_3.entry.js +0 -192
- package/dist/esm/bcm-link.entry.js +0 -43
- package/dist/esm/bcm-menu.entry.js +0 -197
- package/dist/esm/bcm-message.entry.js +0 -81
- package/dist/esm/bcm-modal.entry.js +0 -133
- package/dist/esm/bcm-notification.entry.js +0 -85
- package/dist/esm/bcm-old-input.entry.js +0 -379
- package/dist/esm/bcm-old-tag_2.entry.js +0 -138
- package/dist/esm/bcm-popconfirm-box.entry.js +0 -105
- package/dist/esm/bcm-popconfirm.entry.js +0 -98
- package/dist/esm/bcm-popover-box.entry.js +0 -126
- package/dist/esm/bcm-popover.entry.js +0 -96
- package/dist/esm/bcm-progress.entry.js +0 -156
- package/dist/esm/bcm-radio-group.entry.js +0 -249
- package/dist/esm/bcm-radio.entry.js +0 -85
- package/dist/esm/bcm-range.entry.js +0 -171
- package/dist/esm/bcm-result.entry.js +0 -61
- 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 -1163
- package/dist/esm/bcm-step.entry.js +0 -89
- package/dist/esm/bcm-stepper.entry.js +0 -207
- package/dist/esm/bcm-student-card.entry.js +0 -44
- package/dist/esm/bcm-switch.entry.js +0 -121
- package/dist/esm/bcm-tab-pane.entry.js +0 -52
- package/dist/esm/bcm-tab.entry.js +0 -71
- package/dist/esm/bcm-table.entry.js +0 -60
- package/dist/esm/bcm-tabs-content.entry.js +0 -44
- package/dist/esm/bcm-tabs.entry.js +0 -372
- package/dist/esm/bcm-tag.entry.js +0 -109
- package/dist/esm/bcm-textarea.entry.js +0 -130
- package/dist/esm/bcm-time-picker.entry.js +0 -119
- package/dist/esm/bcm-timeline-item.entry.js +0 -37
- package/dist/esm/bcm-timeline.entry.js +0 -55
- package/dist/esm/bcm-treeview-group.entry.js +0 -19
- package/dist/esm/bromcom-ui.js +0 -22
- package/dist/esm/caption-template-dac0e581.js +0 -32
- package/dist/esm/color-helper-f797b964.js +0 -41
- 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-c173d211.js +0 -179
- package/dist/esm/global-7747dd78.js +0 -36
- package/dist/esm/index-61ad8f90.js +0 -191
- package/dist/esm/index-64896f16.js +0 -1833
- package/dist/esm/index-e193c9fe.js +0 -62
- package/dist/esm/index.js +0 -4
- package/dist/esm/input-template-e2ab2aee.js +0 -97
- package/dist/esm/is-load-decorator-39dac946.js +0 -54
- package/dist/esm/json-parse-decarator-e1620b31.js +0 -38
- package/dist/esm/label-template-2209f515.js +0 -21
- package/dist/esm/loader.js +0 -22
- package/dist/esm/number-helper-ff02b21e.js +0 -18
- 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-5d7a090b.js +0 -95
- package/dist/esm/property-decorators-dec4638c.js +0 -19
- package/dist/esm/slot-template-09f76e3f.js +0 -13
- package/dist/esm/stepper-states-fee3b4f4.js +0 -81
- package/dist/esm/string-helper-c0a44d3a.js +0 -132
- package/dist/esm/types-d1bc713d.js +0 -32
- package/dist/esm/utils-57652744.js +0 -123
- package/dist/esm/validators-33ffa1fa.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/button/button.d.ts +0 -33
- package/dist/types/components/atoms/button/types.d.ts +0 -166
- package/dist/types/components/atoms/divider/divider.d.ts +0 -6
- package/dist/types/components/atoms/icon/icon.d.ts +0 -5
- package/dist/types/components/atoms/label/label.d.ts +0 -16
- package/dist/types/components/atoms/link/link.d.ts +0 -12
- package/dist/types/components/atoms/old-tag/old-tag.d.ts +0 -27
- package/dist/types/components/atoms/old-tag/types.d.ts +0 -29
- 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/text/text.d.ts +0 -10
- package/dist/types/components/data-table/table.d.ts +0 -8
- package/dist/types/components/default/default.d.ts +0 -6
- 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/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/collapse/collapse.d.ts +0 -12
- package/dist/types/components/molecules/collapse/group.d.ts +0 -15
- package/dist/types/components/molecules/drawer/drawer.d.ts +0 -21
- package/dist/types/components/molecules/dropdown/dropdown.d.ts +0 -52
- package/dist/types/components/molecules/empty/empty.d.ts +0 -29
- package/dist/types/components/molecules/empty/types.d.ts +0 -19
- 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/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/old-input/old-input.d.ts +0 -79
- package/dist/types/components/molecules/old-input/types.d.ts +0 -13
- 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-box.d.ts +0 -24
- package/dist/types/components/molecules/popover/popover.d.ts +0 -22
- 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 -20
- 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 -32
- package/dist/types/components/molecules/search-2/search-2.d.ts +0 -35
- package/dist/types/components/molecules/select/group.d.ts +0 -6
- package/dist/types/components/molecules/select/option.d.ts +0 -10
- package/dist/types/components/molecules/select/select-box.d.ts +0 -15
- package/dist/types/components/molecules/select/select.d.ts +0 -131
- 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/textarea/textarea.d.ts +0 -52
- 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-box.d.ts +0 -22
- package/dist/types/components/molecules/tooltip/tooltip.d.ts +0 -23
- 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 -76
- 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 -9
- 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 -17
- package/dist/types/components/organism/list/list.d.ts +0 -136
- package/dist/types/components/organism/listbox/listbox-group.d.ts +0 -7
- package/dist/types/components/organism/listbox/listbox-item.d.ts +0 -58
- package/dist/types/components/organism/listbox/listbox.d.ts +0 -152
- package/dist/types/components/organism/listbox/types.d.ts +0 -11
- package/dist/types/components/organism/states/bcm-list2.states.d.ts +0 -28
- package/dist/types/components/organism/tabs/tab-pane.d.ts +0 -19
- package/dist/types/components/organism/tabs/tab.d.ts +0 -36
- package/dist/types/components/organism/tabs/tabs-content.d.ts +0 -18
- package/dist/types/components/organism/tabs/tabs.d.ts +0 -112
- package/dist/types/components/organism/tabs/types.d.ts +0 -39
- package/dist/types/components/organism/time-picker/time-picker.d.ts +0 -68
- package/dist/types/components/organism/treeview/treeview-group.d.ts +0 -3
- package/dist/types/components/organism/treeview/treeview-item.d.ts +0 -119
- package/dist/types/components/organism/treeview/treeview.d.ts +0 -181
- package/dist/types/components/organism/treeview/types.d.ts +0 -11
- package/dist/types/components.d.ts +0 -3463
- 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 -10
- package/dist/types/helper/datetime-helper.d.ts +0 -3
- package/dist/types/helper/generate.d.ts +0 -19
- package/dist/types/helper/number-helper.d.ts +0 -10
- package/dist/types/helper/string-helper.d.ts +0 -27
- 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/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/new-ds/components/action-buttons/action-buttons.d.ts +0 -6
- package/dist/types/new-ds/components/attendance/attendance.d.ts +0 -7
- package/dist/types/new-ds/components/button-group/button-group.d.ts +0 -21
- package/dist/types/new-ds/components/chip/chip.d.ts +0 -24
- package/dist/types/new-ds/components/menu/menu.d.ts +0 -38
- package/dist/types/new-ds/components/student-card/student-card.d.ts +0 -10
- 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/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 -27
- 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/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,1801 +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, Element, h, Host, Listen, Method, Prop, State, Watch, Event } from '@stencil/core';
|
|
12
|
-
import cs from 'classnames';
|
|
13
|
-
import snq from 'snq';
|
|
14
|
-
import { IsLoad } from '../../../decorators/is-load-decorator';
|
|
15
|
-
import { JsonParse } from '../../../decorators/json-parse-decarator';
|
|
16
|
-
import { Generate } from '../../../helper/generate';
|
|
17
|
-
import { NumberHelper } from '../../../helper/number-helper';
|
|
18
|
-
import { Validators } from '../../../helper/validators';
|
|
19
|
-
import Bcm from '../../../models/bcm';
|
|
20
|
-
import { CaptionTemplate } from '../../../templates/caption-template';
|
|
21
|
-
import { LabelTemplate } from '../../../templates/label-template';
|
|
22
|
-
import { ListTemplate } from '../../../templates/list-template';
|
|
23
|
-
import { getPlacement, setPosition } from '../../../utils/popover-placement';
|
|
24
|
-
import { delay } from '../../../utils/utils';
|
|
25
|
-
import listState from '../states/bcm-list2.states';
|
|
26
|
-
import { ListKeyControl } from './list-key-control';
|
|
27
|
-
import { ListTagControl } from './list-tag-control';
|
|
28
|
-
export class BcmList {
|
|
29
|
-
constructor() {
|
|
30
|
-
this.debounce = null;
|
|
31
|
-
this._id = Generate.UID();
|
|
32
|
-
// All types
|
|
33
|
-
this.type = Bcm.ListType.listbox;
|
|
34
|
-
this.treeview = false;
|
|
35
|
-
this.checkboxes = false;
|
|
36
|
-
this.searchable = false;
|
|
37
|
-
this.value = null;
|
|
38
|
-
this.size = Bcm.Size.medium;
|
|
39
|
-
this.disabled = false;
|
|
40
|
-
this.readonly = false;
|
|
41
|
-
this.highlight = false;
|
|
42
|
-
this.required = false;
|
|
43
|
-
this.hidden = false;
|
|
44
|
-
this.fullWidth = false;
|
|
45
|
-
this.height = '256px';
|
|
46
|
-
this.maxHeight = '500px';
|
|
47
|
-
this.minHeight = '150px';
|
|
48
|
-
this.width = '256px';
|
|
49
|
-
this.infoFooter = false;
|
|
50
|
-
this.variableText = 'item';
|
|
51
|
-
// @Prop({ mutable: true }) showIcon = false;
|
|
52
|
-
// @Prop({ mutable: true }) favIcon = false;
|
|
53
|
-
// @Prop({ mutable: true }) favIconOnlyChilds = false;
|
|
54
|
-
// @Prop({ mutable: true }) contextMenu
|
|
55
|
-
this.allOpen = false;
|
|
56
|
-
this.keyControl = false;
|
|
57
|
-
this.checkAll = true;
|
|
58
|
-
this.isOpen = false;
|
|
59
|
-
this.calculatedViewport = false;
|
|
60
|
-
this.isSelectedOther = false;
|
|
61
|
-
this.isHaveOtherTag = false;
|
|
62
|
-
//Only Select and similar
|
|
63
|
-
this.placeholder = 'Choose an option';
|
|
64
|
-
this.searchPlaceholder = 'Search';
|
|
65
|
-
this.searchIsOnlyChilds = false;
|
|
66
|
-
this.clearable = false;
|
|
67
|
-
this.noCaption = false;
|
|
68
|
-
this.captionType = Bcm.Status.default;
|
|
69
|
-
this.tick = {};
|
|
70
|
-
this.totalData = 0;
|
|
71
|
-
this.totalRootData = 0;
|
|
72
|
-
this.limit = 10;
|
|
73
|
-
this.searchResultLimit = 10; //Gerekliliği düşünülecek
|
|
74
|
-
this.searchFound = null;
|
|
75
|
-
this.returnFilterData = {};
|
|
76
|
-
this.returnOtherData = {};
|
|
77
|
-
this.options = {
|
|
78
|
-
rootMargin: '30px',
|
|
79
|
-
};
|
|
80
|
-
this.tagContainerWidth = 0;
|
|
81
|
-
this.selectAllItem = {
|
|
82
|
-
id: 'select-all',
|
|
83
|
-
text: 'Select All',
|
|
84
|
-
value: 'select-all',
|
|
85
|
-
checked: false,
|
|
86
|
-
disabled: false,
|
|
87
|
-
icon: '',
|
|
88
|
-
status: Bcm.Status.default,
|
|
89
|
-
indeterminate: 'uncheck',
|
|
90
|
-
};
|
|
91
|
-
this.placement = Bcm.Placement['bottom-start'];
|
|
92
|
-
this.data = [];
|
|
93
|
-
this.debounceHandler = Generate.debounceInput(() => this.listenResize(), 300, false);
|
|
94
|
-
}
|
|
95
|
-
connectedCallback() {
|
|
96
|
-
if (this.height != '256px') {
|
|
97
|
-
if (this.height.indexOf('px') > -1) {
|
|
98
|
-
this.limit = Math.floor(+this.height.replace('px', '') / 32);
|
|
99
|
-
}
|
|
100
|
-
else {
|
|
101
|
-
this.limit = Math.floor(+(window.innerHeight / 32));
|
|
102
|
-
}
|
|
103
|
-
this.searchResultLimit = this.limit;
|
|
104
|
-
this.markForCheck();
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
componentWillRender() {
|
|
108
|
-
this.calculateLocation();
|
|
109
|
-
}
|
|
110
|
-
componentShouldUpdate(newVal, oldVal, propName) {
|
|
111
|
-
if (Object.keys(this.getOptions()).indexOf(propName) > -1 && newVal !== oldVal) {
|
|
112
|
-
this.updateOptions();
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
async componentDidLoad() {
|
|
116
|
-
await this.initState();
|
|
117
|
-
if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
|
|
118
|
-
const list = this.el.querySelector(`#bcm-list-${this._id}`);
|
|
119
|
-
if (list) {
|
|
120
|
-
document.body.appendChild(list);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
tagCalculator() {
|
|
125
|
-
if (this.checkboxes && (this.type == 'select' || this.type == 'autocomplete')) {
|
|
126
|
-
const tagCalculator = new ListTagControl(`bcm-list-input-tag-container-${this._id}`, this.value, this._id, this.isSelectedOther, this.clearable);
|
|
127
|
-
tagCalculator.calculateTags();
|
|
128
|
-
const arrayIds = id => typeof id == 'string' ? id.split(',') : [id];
|
|
129
|
-
const clearAutocomplete = () => {
|
|
130
|
-
if (this.type == 'autocomplete') {
|
|
131
|
-
const autocompleteInput = this.getAutoCompleteInput();
|
|
132
|
-
if (autocompleteInput) {
|
|
133
|
-
autocompleteInput.handleClear(false);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
|
-
tagCalculator.onClickOtherTag = async (id) => {
|
|
138
|
-
clearAutocomplete();
|
|
139
|
-
if (this.isSelectedOther) {
|
|
140
|
-
await this.unSelectOther();
|
|
141
|
-
}
|
|
142
|
-
else {
|
|
143
|
-
await this.onClearSearch();
|
|
144
|
-
this.isSelectedOther = true;
|
|
145
|
-
this.filterOtherList(arrayIds(id));
|
|
146
|
-
this.isOpen = true;
|
|
147
|
-
}
|
|
148
|
-
this.onSelectSearch();
|
|
149
|
-
};
|
|
150
|
-
tagCalculator.onClickTag = (_) => {
|
|
151
|
-
// console.log(id);
|
|
152
|
-
clearAutocomplete();
|
|
153
|
-
this.onSelectSearch();
|
|
154
|
-
this.unSelectOther();
|
|
155
|
-
};
|
|
156
|
-
tagCalculator.onClickDismiss = async (id) => {
|
|
157
|
-
var _a;
|
|
158
|
-
if (this.isSelectedOther) {
|
|
159
|
-
await this.unSelectOther();
|
|
160
|
-
}
|
|
161
|
-
arrayIds(id).length > 1 ? listState.removeOtherTags(this._id, arrayIds(id)) : listState.checkedItem(this._id, arrayIds(id)[0]);
|
|
162
|
-
this.value = (await this.getCheckedList()).checkedList;
|
|
163
|
-
this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
disconnectedCallback() {
|
|
168
|
-
listState.removeState(this._id);
|
|
169
|
-
this.el.innerHTML = '';
|
|
170
|
-
if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
|
|
171
|
-
const list = document.querySelector(`#bcm-list-${this._id}`);
|
|
172
|
-
if (list) {
|
|
173
|
-
document.body.removeChild(list);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
watchId(_, oldVal) {
|
|
178
|
-
// console.info('Changed component id:', oldVal + ' -> ' + newVal);
|
|
179
|
-
listState.removeState(oldVal);
|
|
180
|
-
this.initState();
|
|
181
|
-
}
|
|
182
|
-
handleValueChange(newVal, oldVal) {
|
|
183
|
-
var _a;
|
|
184
|
-
if (Generate.objectIsEmpty(this.returnFilterData)) {
|
|
185
|
-
this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
|
|
186
|
-
}
|
|
187
|
-
if (this.checkboxes) {
|
|
188
|
-
if (!Validators.compareTwoArrayIsSame(newVal, oldVal)) {
|
|
189
|
-
this.bcmChecklist.emit(this.value);
|
|
190
|
-
this.change.emit(this.value);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
else {
|
|
194
|
-
if ((newVal === null || newVal === void 0 ? void 0 : newVal.text) != (oldVal === null || oldVal === void 0 ? void 0 : oldVal.text)) {
|
|
195
|
-
this.change.emit(this.value);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
this.tagCalculator();
|
|
199
|
-
}
|
|
200
|
-
watchReturnFilterData(newVal) {
|
|
201
|
-
var _a;
|
|
202
|
-
const { checkedItems, visibledItems } = newVal;
|
|
203
|
-
if (checkedItems && visibledItems) {
|
|
204
|
-
this.handleIndeterminate(checkedItems.length, visibledItems.length);
|
|
205
|
-
}
|
|
206
|
-
else {
|
|
207
|
-
this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
handleOtherSelected(newValue) {
|
|
211
|
-
var _a;
|
|
212
|
-
const tagContent = (_a = document.getElementById(`bcm-list-input-tag-${this._id}-other-tag`)) === null || _a === void 0 ? void 0 : _a.querySelector('.bcm-tag__content');
|
|
213
|
-
if (tagContent) {
|
|
214
|
-
if (newValue === true) {
|
|
215
|
-
tagContent.classList.add('checkable', 'checked');
|
|
216
|
-
}
|
|
217
|
-
else {
|
|
218
|
-
tagContent.classList.remove('checkable', 'checked');
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
async handleOpen() {
|
|
223
|
-
if (this.isOpen) {
|
|
224
|
-
this.calculateLocation();
|
|
225
|
-
this.onSelectSearch();
|
|
226
|
-
}
|
|
227
|
-
else {
|
|
228
|
-
await delay(100);
|
|
229
|
-
this.unSelectOther();
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
async dataChanged(newValue, oldValue) {
|
|
233
|
-
if (!Validators.compareTwoArrayIsSame(newValue, oldValue)) {
|
|
234
|
-
await this.initState();
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
isIntersecting(e) {
|
|
238
|
-
const target = e === null || e === void 0 ? void 0 : e.target;
|
|
239
|
-
if (target && target.id === this._id) {
|
|
240
|
-
this.listenResize();
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
handleSlotItems(e) {
|
|
244
|
-
var _a;
|
|
245
|
-
if (((_a = e === null || e === void 0 ? void 0 : e.detail) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
246
|
-
this.data = e.detail;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
handleChange(e) {
|
|
250
|
-
if (e.target.id == `bcm-list-input-tag-container-${this._id}-autocomplete-input`) {
|
|
251
|
-
e.stopImmediatePropagation();
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
handleResize() {
|
|
255
|
-
this.calculateLocation();
|
|
256
|
-
this.debounceHandler();
|
|
257
|
-
}
|
|
258
|
-
handleWheel(event) {
|
|
259
|
-
if (this.isOpen) {
|
|
260
|
-
const list = document.querySelector(`#bcm-list-${this._id}`);
|
|
261
|
-
const isClickInside = list && Generate.findEventPath(event, list);
|
|
262
|
-
if (isClickInside) {
|
|
263
|
-
if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
|
|
264
|
-
this.calculateLocation();
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
else {
|
|
268
|
-
this.hide();
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
handleClick(event) {
|
|
273
|
-
var _a;
|
|
274
|
-
if (this.disabled)
|
|
275
|
-
return;
|
|
276
|
-
const list = document.querySelector(`#bcm-list-${this._id}`);
|
|
277
|
-
const isClickInside = Generate.findEventPath(event, this.el) || (list && Generate.findEventPath(event, list));
|
|
278
|
-
if (isClickInside) {
|
|
279
|
-
if (this.debounce !== null) {
|
|
280
|
-
event.preventDefault();
|
|
281
|
-
event.stopPropagation();
|
|
282
|
-
clearTimeout(this.debounce);
|
|
283
|
-
this.debounce = null;
|
|
284
|
-
}
|
|
285
|
-
this.debounce = setTimeout(() => {
|
|
286
|
-
this.debounce = null;
|
|
287
|
-
}, 300);
|
|
288
|
-
}
|
|
289
|
-
if (!isClickInside) {
|
|
290
|
-
if (this.type == 'autocomplete') {
|
|
291
|
-
const autocompleteInput = this.getAutoCompleteInput();
|
|
292
|
-
if (autocompleteInput) {
|
|
293
|
-
if (this.checkboxes) {
|
|
294
|
-
autocompleteInput.setValue('');
|
|
295
|
-
}
|
|
296
|
-
else {
|
|
297
|
-
autocompleteInput.setValue(((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || '');
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
const clickToTag = Generate.findEventPathWithKey(event, 'className', ['bcm-tag']);
|
|
303
|
-
const clickToOtherTag = Generate.findEventPathWithKey(event, 'className', ['bcm-tag bcm-tag--other']);
|
|
304
|
-
const clickToSelect = Generate.findEventPathWithKey(event, 'id', [`bcm-list-input-${this._id}`, `bcm-list-label-${this._id}`]);
|
|
305
|
-
const clickToTagDismiss = Generate.findEventPathWithKey(event, 'className', ['right close-button']);
|
|
306
|
-
if (clickToSelect && !clickToTagDismiss && this.type != 'autocomplete') {
|
|
307
|
-
this.isOpen = clickToTag || clickToOtherTag ? true : !this.isOpen;
|
|
308
|
-
}
|
|
309
|
-
if (list) {
|
|
310
|
-
if (this.isOpen) {
|
|
311
|
-
if (!list.contains(event.target) && !this.el.contains(event.target)) {
|
|
312
|
-
this.isOpen = false;
|
|
313
|
-
// this.unSelectOther()
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
bcmOnSearchClear(event) {
|
|
319
|
-
var _a, _b;
|
|
320
|
-
if (this.type == 'autocomplete') {
|
|
321
|
-
if (((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.id) === `bcm-list-${this._id}-search` || ((_b = event === null || event === void 0 ? void 0 : event.target) === null || _b === void 0 ? void 0 : _b.id) === `bcm-list-input-tag-container-${this._id}-autocomplete-input`) {
|
|
322
|
-
if (event.detail) {
|
|
323
|
-
this.setClear();
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
bcmOnSearch(event) {
|
|
329
|
-
var _a, _b, _c, _d, _e, _f;
|
|
330
|
-
if (((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.id) === `bcm-list-${this._id}-search` || ((_b = event === null || event === void 0 ? void 0 : event.target) === null || _b === void 0 ? void 0 : _b.id) === `bcm-list-input-tag-container-${this._id}-autocomplete-input`) {
|
|
331
|
-
this.searchGetParents = snq(() => { var _a; return (_a = event.detail) === null || _a === void 0 ? void 0 : _a.parentIndex; }, null);
|
|
332
|
-
this.searchResultLimit = 10;
|
|
333
|
-
this.searchFound = ((_c = event.detail) === null || _c === void 0 ? void 0 : _c.matching) != null ? (_d = event.detail) === null || _d === void 0 ? void 0 : _d.matching.length : null;
|
|
334
|
-
this.returnFilterData = listState.filterData(this._id, (_e = event.detail) === null || _e === void 0 ? void 0 : _e.nestedResult);
|
|
335
|
-
if (this.searchFound > 0 && this.highlight) {
|
|
336
|
-
this.highlightText = (_f = event.detail) === null || _f === void 0 ? void 0 : _f.value;
|
|
337
|
-
}
|
|
338
|
-
if (this.type == 'autocomplete') {
|
|
339
|
-
this.isOpen = true;
|
|
340
|
-
}
|
|
341
|
-
if (!event.detail.result) {
|
|
342
|
-
if (this.type == 'autocomplete') {
|
|
343
|
-
this.isOpen = false;
|
|
344
|
-
}
|
|
345
|
-
if (this.isSelectedOther) {
|
|
346
|
-
this.filterOtherList(this.otherTagIds());
|
|
347
|
-
}
|
|
348
|
-
else {
|
|
349
|
-
this.returnFilterData = {};
|
|
350
|
-
listState.filterData(this._id, null);
|
|
351
|
-
}
|
|
352
|
-
// this.isSelectedOther = false
|
|
353
|
-
this.searchResultLimit = null;
|
|
354
|
-
this.highlightText = null;
|
|
355
|
-
}
|
|
356
|
-
this.markForCheck();
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
//keyboard navigation
|
|
360
|
-
handleKeyDown(ev) {
|
|
361
|
-
const keycode = ev.keyCode || ev.which;
|
|
362
|
-
if (keycode === Bcm.KeyCode.escape) {
|
|
363
|
-
if (this.isOpen) {
|
|
364
|
-
this.isOpen = false;
|
|
365
|
-
ev.preventDefault();
|
|
366
|
-
ev.stopPropagation();
|
|
367
|
-
ev.stopImmediatePropagation();
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
if (this.keyControl) {
|
|
371
|
-
const keyboard = new ListKeyControl(keycode, this.el, this.treeview, this.checkboxes);
|
|
372
|
-
keyboard.openGroup = openGroupId => {
|
|
373
|
-
this.openGroup(openGroupId);
|
|
374
|
-
};
|
|
375
|
-
keyboard.checkedItem = checkedItemId => {
|
|
376
|
-
this.checkedItem(checkedItemId);
|
|
377
|
-
};
|
|
378
|
-
keyboard.keyDown();
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
handleKeyUp(ev) {
|
|
382
|
-
if (this.keyControl) {
|
|
383
|
-
const focusedList = Generate.findEventPath(ev, this.el);
|
|
384
|
-
if (focusedList) {
|
|
385
|
-
const list = document.getElementById(`bcm-list-${this._id}`);
|
|
386
|
-
if (list) {
|
|
387
|
-
const items = list.querySelectorAll('.bcm-list__item.focused');
|
|
388
|
-
if (items.length > 0) {
|
|
389
|
-
const main = list.querySelector('main');
|
|
390
|
-
const itemHeight = items[0].offsetHeight;
|
|
391
|
-
const listHeight = main.offsetHeight;
|
|
392
|
-
const itemTop = items[0].offsetTop;
|
|
393
|
-
if (itemTop > listHeight) {
|
|
394
|
-
main.scrollTop = itemTop - listHeight / 2 + itemHeight / 2;
|
|
395
|
-
}
|
|
396
|
-
if (itemTop < listHeight) {
|
|
397
|
-
main.scrollTop = itemTop - listHeight / 2 - itemHeight / 2;
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
async set(data) {
|
|
405
|
-
if (data) {
|
|
406
|
-
if (Array.isArray(data)) {
|
|
407
|
-
this.addChecked(data);
|
|
408
|
-
}
|
|
409
|
-
if (typeof data === 'string' || typeof data === 'number') {
|
|
410
|
-
this.selectedItem(data);
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
else {
|
|
414
|
-
this.setClear();
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
async get() {
|
|
418
|
-
var _a, _b;
|
|
419
|
-
return this.value ? (this.checkboxes ? (_b = (_a = (await this.getCheckedList())) === null || _a === void 0 ? void 0 : _a.checkedList) === null || _b === void 0 ? void 0 : _b.map(item => item.id) : this.value.id) : null;
|
|
420
|
-
}
|
|
421
|
-
async getCheckedList() {
|
|
422
|
-
return Promise.resolve(listState.getCheckedList(this._id));
|
|
423
|
-
}
|
|
424
|
-
async getSelected() {
|
|
425
|
-
return Promise.resolve(listState.getSelected(this._id));
|
|
426
|
-
}
|
|
427
|
-
async getValue() {
|
|
428
|
-
return Promise.resolve(this.value);
|
|
429
|
-
}
|
|
430
|
-
async addChecked(ids = [], save = false, emit = true) {
|
|
431
|
-
if (ids && ids.length > 0) {
|
|
432
|
-
if (!save) {
|
|
433
|
-
listState.setClear(this._id);
|
|
434
|
-
await delay(10);
|
|
435
|
-
}
|
|
436
|
-
await listState.addChecked(this._id, ids);
|
|
437
|
-
await delay(10);
|
|
438
|
-
emit && (this.value = (await this.getCheckedList()).checkedList);
|
|
439
|
-
this.markForCheck();
|
|
440
|
-
}
|
|
441
|
-
return Promise.resolve(this.value);
|
|
442
|
-
}
|
|
443
|
-
async selected(id) {
|
|
444
|
-
if (id) {
|
|
445
|
-
return Promise.resolve(await this.selectedItem(id));
|
|
446
|
-
}
|
|
447
|
-
return false;
|
|
448
|
-
}
|
|
449
|
-
async setClear(e) {
|
|
450
|
-
listState.setClear(this._id);
|
|
451
|
-
this.value = null;
|
|
452
|
-
this.inputText = '';
|
|
453
|
-
this.isOpen = false;
|
|
454
|
-
this.selectAllItem.indeterminate = 'uncheck';
|
|
455
|
-
this.tagCalculator();
|
|
456
|
-
this.markForCheck();
|
|
457
|
-
if (e) {
|
|
458
|
-
e.stopPropagation();
|
|
459
|
-
e.preventDefault();
|
|
460
|
-
}
|
|
461
|
-
await delay(10);
|
|
462
|
-
return Promise.resolve();
|
|
463
|
-
}
|
|
464
|
-
async resetCaption() {
|
|
465
|
-
await delay(10);
|
|
466
|
-
this.caption = this.captionCache;
|
|
467
|
-
this.captionType = this.captionTypeCache;
|
|
468
|
-
this.captionError = null;
|
|
469
|
-
await delay(10);
|
|
470
|
-
return Promise.resolve();
|
|
471
|
-
}
|
|
472
|
-
async show() {
|
|
473
|
-
this.isOpen = true;
|
|
474
|
-
return Promise.resolve();
|
|
475
|
-
}
|
|
476
|
-
async hide() {
|
|
477
|
-
this.isOpen = false;
|
|
478
|
-
return Promise.resolve();
|
|
479
|
-
}
|
|
480
|
-
updateOptions() {
|
|
481
|
-
listState.updateOptions(this._id, this);
|
|
482
|
-
}
|
|
483
|
-
handleIndeterminate(checkeds, total) {
|
|
484
|
-
this.selectAllItem = Object.assign(Object.assign({}, this.selectAllItem), { indeterminate: this.checkboxes && checkeds > 0 ? (checkeds === total ? 'check' : 'indeterminate') : 'uncheck', checked: this.checkboxes && checkeds > 0 ? (checkeds === total ? true : false) : false });
|
|
485
|
-
}
|
|
486
|
-
listenResize() {
|
|
487
|
-
this.tagCalculator();
|
|
488
|
-
this.calculateLocation();
|
|
489
|
-
this.markForCheck();
|
|
490
|
-
}
|
|
491
|
-
async unSelectOther() {
|
|
492
|
-
await this.onClearSearch();
|
|
493
|
-
this.isSelectedOther = false;
|
|
494
|
-
this.searchFound = null;
|
|
495
|
-
this.returnFilterData = {};
|
|
496
|
-
listState.filterData(this._id, null);
|
|
497
|
-
await delay(10);
|
|
498
|
-
return Promise.resolve();
|
|
499
|
-
}
|
|
500
|
-
async onClearSearch() {
|
|
501
|
-
const searchInput = document.getElementById(`bcm-list-${this._id}-search`);
|
|
502
|
-
if (searchInput) {
|
|
503
|
-
await searchInput.handleClear();
|
|
504
|
-
}
|
|
505
|
-
return Promise.resolve();
|
|
506
|
-
}
|
|
507
|
-
async onSelectSearch() {
|
|
508
|
-
const searchInput = document.getElementById(`bcm-list-${this._id}-search`);
|
|
509
|
-
if (searchInput) {
|
|
510
|
-
await delay(100);
|
|
511
|
-
searchInput.onBcmFocus();
|
|
512
|
-
searchInput.onBcmSelect();
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
otherTagIds() {
|
|
516
|
-
const otherTag = document.querySelector(`#bcm-list-input-tag-${this._id}-other-tag`);
|
|
517
|
-
if (otherTag) {
|
|
518
|
-
return otherTag.getAttribute('data-ids').split(',');
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
async filterOtherList(ids) {
|
|
522
|
-
const checklist = (await this.getCheckedList()).nestedResult;
|
|
523
|
-
const filter = Generate.convertIdsToNestedData(ids, checklist);
|
|
524
|
-
this.returnFilterData = await listState.filterData(this._id, filter, null, true);
|
|
525
|
-
this.searchFound = ids.length || 0;
|
|
526
|
-
this.limit = 500;
|
|
527
|
-
this.searchGetParents = null;
|
|
528
|
-
await delay(1000);
|
|
529
|
-
this.markForCheck();
|
|
530
|
-
}
|
|
531
|
-
async initState() {
|
|
532
|
-
var _a, _b, _c;
|
|
533
|
-
this.onClearSearch();
|
|
534
|
-
await listState.setValue({
|
|
535
|
-
id: this._id,
|
|
536
|
-
dataSource: this.data && snq(() => (typeof this.data == 'string' ? JSON.parse(this.data) : this.data), []),
|
|
537
|
-
options: this,
|
|
538
|
-
});
|
|
539
|
-
const { totalRoots, totalItems } = listState.getValue(this._id);
|
|
540
|
-
this.totalData = totalItems;
|
|
541
|
-
this.totalRootData = totalRoots;
|
|
542
|
-
this.value = this.checkboxes ? (await this.getCheckedList()).checkedList : listState.selectedItem(this._id) ? listState.selectedItem(this._id)[0] : null;
|
|
543
|
-
if (!this.checkboxes) {
|
|
544
|
-
this.inputText = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || null;
|
|
545
|
-
}
|
|
546
|
-
// checkli olan subparentların indeterminate kontrolü için
|
|
547
|
-
if (this.checkboxes && ((_b = this.value) === null || _b === void 0 ? void 0 : _b.length) > 0) {
|
|
548
|
-
const checkedIDs = [];
|
|
549
|
-
this.value.forEach(item => {
|
|
550
|
-
if (!item.items || item.items.length === 0) {
|
|
551
|
-
checkedIDs.push(item.id);
|
|
552
|
-
}
|
|
553
|
-
});
|
|
554
|
-
await this.addChecked(checkedIDs, false, false);
|
|
555
|
-
}
|
|
556
|
-
await this.handleIndeterminate((_c = this.value) === null || _c === void 0 ? void 0 : _c.length, this.totalData);
|
|
557
|
-
await this.markForCheck();
|
|
558
|
-
}
|
|
559
|
-
async markForCheck() {
|
|
560
|
-
await delay(10);
|
|
561
|
-
this.tick = Generate.UID();
|
|
562
|
-
}
|
|
563
|
-
getOptions() {
|
|
564
|
-
return snq(() => listState.getValue(this._id).options, {});
|
|
565
|
-
}
|
|
566
|
-
getItems() {
|
|
567
|
-
if (this.isSelectedOther) {
|
|
568
|
-
return this.returnFilterData['checkedItems'];
|
|
569
|
-
}
|
|
570
|
-
return snq(() => listState.getData(this._id), []);
|
|
571
|
-
}
|
|
572
|
-
getLimitedItems(ids) {
|
|
573
|
-
return snq(() => listState.getDataPagination(this._id, this.searchResultLimit || this.limit, ids), []);
|
|
574
|
-
}
|
|
575
|
-
openGroup(parentId) {
|
|
576
|
-
listState.openGroup(this._id, parentId);
|
|
577
|
-
this.markForCheck();
|
|
578
|
-
}
|
|
579
|
-
focusItem(e) {
|
|
580
|
-
if (e.target.classList.contains('bcm-list__item')) {
|
|
581
|
-
const item = e.target;
|
|
582
|
-
const list = document.getElementById(`bcm-list-${this._id}`);
|
|
583
|
-
if (list) {
|
|
584
|
-
const items = list.querySelectorAll('.bcm-list__item');
|
|
585
|
-
if (items.length > 0) {
|
|
586
|
-
const selectedItem = list.querySelector('.bcm-list__item.focused');
|
|
587
|
-
if (selectedItem) {
|
|
588
|
-
selectedItem.classList.remove('focused');
|
|
589
|
-
}
|
|
590
|
-
item.classList.add('focused');
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
async selectedItem(itemId) {
|
|
596
|
-
var _a;
|
|
597
|
-
if (!this.checkboxes) {
|
|
598
|
-
this.value = listState.selectedItem(this._id, itemId) ? listState.selectedItem(this._id, itemId)[0] : null;
|
|
599
|
-
this.inputText = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || null;
|
|
600
|
-
this.isOpen = false;
|
|
601
|
-
this.markForCheck();
|
|
602
|
-
if (this.type == 'autocomplete' && this.value) {
|
|
603
|
-
// await delay(100)
|
|
604
|
-
// this.resetCaption()
|
|
605
|
-
const autocompleteInput = this.getAutoCompleteInput();
|
|
606
|
-
if (autocompleteInput) {
|
|
607
|
-
setTimeout(() => {
|
|
608
|
-
var _a;
|
|
609
|
-
autocompleteInput.setValue(((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || '');
|
|
610
|
-
this.isOpen = false;
|
|
611
|
-
}, 100);
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
return Promise.resolve(this.value);
|
|
616
|
-
}
|
|
617
|
-
async checkedItem(itemId) {
|
|
618
|
-
const isCheckSelectAll = itemId === 'select-all';
|
|
619
|
-
if (!isCheckSelectAll) {
|
|
620
|
-
listState.checkedItem(this._id, itemId);
|
|
621
|
-
}
|
|
622
|
-
else {
|
|
623
|
-
listState.selectAll(this._id, !this.selectAllItem.checked);
|
|
624
|
-
}
|
|
625
|
-
this.value = (await this.getCheckedList()).checkedList;
|
|
626
|
-
this.changeVisibleCheckeds();
|
|
627
|
-
this.markForCheck();
|
|
628
|
-
}
|
|
629
|
-
changeVisibleCheckeds() {
|
|
630
|
-
const { visibledItems } = this.returnFilterData;
|
|
631
|
-
this.returnFilterData = {
|
|
632
|
-
visibledItems,
|
|
633
|
-
checkedItems: (visibledItems && visibledItems.filter(item => item.checked)) || [],
|
|
634
|
-
};
|
|
635
|
-
}
|
|
636
|
-
getAutoCompleteInput() {
|
|
637
|
-
return document.getElementById(`bcm-list-input-tag-container-${this._id}-autocomplete-input`);
|
|
638
|
-
}
|
|
639
|
-
dataScrollEvent(event) {
|
|
640
|
-
let count = 0;
|
|
641
|
-
let io = new IntersectionObserver((data) => {
|
|
642
|
-
if (count === 0) {
|
|
643
|
-
count++;
|
|
644
|
-
if (data[0].isIntersecting) {
|
|
645
|
-
this.limit += 5;
|
|
646
|
-
this.searchResultLimit += 5;
|
|
647
|
-
io.disconnect();
|
|
648
|
-
io = null;
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
}, this.options);
|
|
652
|
-
io.observe(event.target.lastElementChild);
|
|
653
|
-
}
|
|
654
|
-
async calculateLocation() {
|
|
655
|
-
var _a, _b;
|
|
656
|
-
if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
|
|
657
|
-
const list = document.getElementById(`bcm-list-${this._id}`);
|
|
658
|
-
// list && (list.style.height = '256px') //sebebi neydi ki!
|
|
659
|
-
var placement = this.placement;
|
|
660
|
-
const targetElementId = this.linkedComponent ? this.linkedComponent : `bcm-list-input-${this._id}`;
|
|
661
|
-
const targetElement = document.getElementById(targetElementId);
|
|
662
|
-
if (list && targetElement) {
|
|
663
|
-
getPlacement(list, targetElement, placement, (place) => (placement = place));
|
|
664
|
-
await delay(10);
|
|
665
|
-
let pos = setPosition(placement, targetElement);
|
|
666
|
-
let captionAreaHeight = 0;
|
|
667
|
-
let labelAreaHeight = 0;
|
|
668
|
-
if (this.linkedComponent) {
|
|
669
|
-
const linked = document.getElementById(this.linkedComponent);
|
|
670
|
-
if (linked) {
|
|
671
|
-
if (!linked['noCaption']) {
|
|
672
|
-
const captionArea = ((_a = linked.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.bcm-caption-area')) || linked.querySelector('.bcm-caption-area');
|
|
673
|
-
if (captionArea) {
|
|
674
|
-
captionAreaHeight = captionArea.offsetHeight || captionArea.clientHeight;
|
|
675
|
-
}
|
|
676
|
-
}
|
|
677
|
-
const labelArea = ((_b = linked.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.bcm-label')) || linked.querySelector('.bcm-label');
|
|
678
|
-
if (labelArea) {
|
|
679
|
-
labelAreaHeight = labelArea.offsetHeight || labelArea.clientHeight;
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
if (this.fullWidth) {
|
|
684
|
-
list.style.width = targetElement.offsetWidth + 'px';
|
|
685
|
-
}
|
|
686
|
-
else {
|
|
687
|
-
list.style.width = this.width || 'auto';
|
|
688
|
-
}
|
|
689
|
-
if (this.height.indexOf('%') > -1) {
|
|
690
|
-
list.style.height = NumberHelper.toNumber(this.height) * 0.01 * window.innerHeight - pos[0] - 50 + 'px';
|
|
691
|
-
}
|
|
692
|
-
else {
|
|
693
|
-
list.style.height = this.height;
|
|
694
|
-
}
|
|
695
|
-
list.style.minHeight = this.minHeight;
|
|
696
|
-
// const calculatedMaxHeight = window.innerHeight - pos[0] - 50;
|
|
697
|
-
const calculatedMaxHeight = placement.split('-')[0] == 'top' ? window.innerHeight - (window.innerHeight - pos[0]) - 50 : window.innerHeight - pos[0] - 50;
|
|
698
|
-
if (this.maxHeight.indexOf('%') > -1) {
|
|
699
|
-
list.style.maxHeight = NumberHelper.toNumber(this.maxHeight) * 0.01 * calculatedMaxHeight + 'px';
|
|
700
|
-
}
|
|
701
|
-
else {
|
|
702
|
-
list.style.maxHeight = NumberHelper.toNumber(this.maxHeight) < calculatedMaxHeight ? this.maxHeight : calculatedMaxHeight + 'px';
|
|
703
|
-
}
|
|
704
|
-
getPlacement(list, targetElement, placement, (place) => (placement = place));
|
|
705
|
-
await delay(10);
|
|
706
|
-
pos = setPosition(placement, targetElement);
|
|
707
|
-
list.style.top = (placement.split('-')[0] == 'top' ? pos[0] - list.offsetHeight + labelAreaHeight : pos[0] - captionAreaHeight) + 'px';
|
|
708
|
-
// list.style.left = pos[1] + 'px';
|
|
709
|
-
list.style.left = placement.split('-')[1] == 'end' ? pos[1] - list.offsetWidth + 'px' : pos[1] + 'px';
|
|
710
|
-
list.classList.toggle('bcm-list--top', placement.split('-')[0] == 'top');
|
|
711
|
-
this.calculatedViewport = true;
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
render() {
|
|
716
|
-
const { checkboxes, treeview, label, size, disabled, readonly, required, hidden, fullWidth, searchable } = this.getOptions();
|
|
717
|
-
const hostClasses = cs('bcm-list', `bcm-list__size-${size}`, `bcm-list__${this.type}`, size === 'large' ? 'size-3' : 'size-2', {
|
|
718
|
-
'error': this.captionType == Bcm.Status.error,
|
|
719
|
-
'full-width': fullWidth,
|
|
720
|
-
'bcm-list__linked': this.linkedComponent,
|
|
721
|
-
hidden,
|
|
722
|
-
readonly,
|
|
723
|
-
disabled,
|
|
724
|
-
});
|
|
725
|
-
const bcmListContainer = cs('bcm-list__container', this.linkedComponent ? 'bcm-list__type-linked-component' : `bcm-list__type-${this.type}`, {
|
|
726
|
-
'is-open': this.isOpen && this.calculatedViewport,
|
|
727
|
-
'error': this.captionType == Bcm.Status.error,
|
|
728
|
-
'full-width': fullWidth,
|
|
729
|
-
hidden,
|
|
730
|
-
readonly,
|
|
731
|
-
disabled,
|
|
732
|
-
});
|
|
733
|
-
const bcmListInput = cs('bcm-list__input');
|
|
734
|
-
const openedType = this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent;
|
|
735
|
-
return (h(Host, { class: hostClasses, tabindex: "0", style: {
|
|
736
|
-
'--width': fullWidth ? '100%' : this.width,
|
|
737
|
-
'--height': openedType ? '100%' : this.height,
|
|
738
|
-
'--max-height': openedType ? 'inherit' : this.maxHeight,
|
|
739
|
-
'--min-height': openedType ? 'inherit' : this.minHeight,
|
|
740
|
-
} },
|
|
741
|
-
h("div", { id: `bcm-list-label-${this._id}`, class: "bcm-list__label" }, label && (h("div", null,
|
|
742
|
-
h(LabelTemplate, { size: this.size, type: this.captionType, value: label, required: required, htmlFor: this._id })))),
|
|
743
|
-
this.type == 'select' && (h("div", { id: `bcm-list-input-${this._id}`, class: bcmListInput },
|
|
744
|
-
h("span", { class: cs("bcm-list__input-container", { 'type-single': !checkboxes, 'value-empty': !this.value }) },
|
|
745
|
-
this.checkboxes && h("span", { id: `bcm-list-input-tag-container-${this._id}`, class: "bcm-list__input-tag-container" }),
|
|
746
|
-
this.checkboxes && !this.value && h("span", { class: "bcm-list__input-placeholder" }, this.placeholder),
|
|
747
|
-
!this.checkboxes && (this.value ? this.inputText : h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))),
|
|
748
|
-
h("span", { class: "bcm-list__input-buttons" },
|
|
749
|
-
this.clearable && this.value && h("div", { class: "bcm-list__input-buttons-button" },
|
|
750
|
-
h("bcm-icon", { icon: "fal fa-times", onClick: e => this.setClear(e) })),
|
|
751
|
-
h("div", { class: `bcm-list__input-buttons-button caret-is ${(this.isOpen && this.calculatedViewport) && 'caret-is-open'}` },
|
|
752
|
-
h("bcm-icon", { icon: `far fa-angle-down` }))))),
|
|
753
|
-
this.type === 'autocomplete' && (h("div", { id: `bcm-list-input-${this._id}`, class: cs(bcmListInput, { 'bcm-list__input-autocomplete': this.type == 'autocomplete' }) },
|
|
754
|
-
h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` },
|
|
755
|
-
this.checkboxes && h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }),
|
|
756
|
-
h("bcm-search-2", { id: `bcm-list-input-tag-container-${this._id}-autocomplete-input`, class: "bcm-list__autocomplete", data: this.data, clearable: true, "full-width": true, "no-caption": true, placeholder: this.placeholder })))),
|
|
757
|
-
h(ListTemplate, { highlight: this.highlightText, searchable: this.type == 'autocomplete' ? false : searchable, bcmListContainer: bcmListContainer, checkboxes: checkboxes, treeview: treeview, infoFooter: this.infoFooter, value: this.value, totalData: this.totalData, searchFound: this.searchFound, variableText: this.variableText, searchPlaceholder: this.searchPlaceholder, searchIsOnlyChilds: this.searchIsOnlyChilds, _id: this._id, checkAll: this.checkAll, data: this.getItems(), width: this.width, height: this.height, size: this.size, selectAllItem: this.selectAllItem, onScrollEvent: e => this.dataScrollEvent(e), items: this.getLimitedItems(this.searchGetParents), selectedItem: itemId => this.selectedItem(itemId), checkedItem: itemId => this.checkedItem(itemId), openGroup: parentId => this.openGroup(parentId), focusItem: itemId => this.focusItem(itemId) }),
|
|
758
|
-
h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
|
|
759
|
-
}
|
|
760
|
-
static get is() { return "bcm-list"; }
|
|
761
|
-
static get originalStyleUrls() { return {
|
|
762
|
-
"$": ["list.scss"]
|
|
763
|
-
}; }
|
|
764
|
-
static get styleUrls() { return {
|
|
765
|
-
"$": ["list.css"]
|
|
766
|
-
}; }
|
|
767
|
-
static get properties() { return {
|
|
768
|
-
"_id": {
|
|
769
|
-
"type": "string",
|
|
770
|
-
"mutable": true,
|
|
771
|
-
"complexType": {
|
|
772
|
-
"original": "string",
|
|
773
|
-
"resolved": "string",
|
|
774
|
-
"references": {}
|
|
775
|
-
},
|
|
776
|
-
"required": false,
|
|
777
|
-
"optional": false,
|
|
778
|
-
"docs": {
|
|
779
|
-
"tags": [],
|
|
780
|
-
"text": ""
|
|
781
|
-
},
|
|
782
|
-
"attribute": "id",
|
|
783
|
-
"reflect": true,
|
|
784
|
-
"defaultValue": "Generate.UID()"
|
|
785
|
-
},
|
|
786
|
-
"type": {
|
|
787
|
-
"type": "string",
|
|
788
|
-
"mutable": true,
|
|
789
|
-
"complexType": {
|
|
790
|
-
"original": "ListTypes",
|
|
791
|
-
"resolved": "\"autocomplete\" | \"listbox\" | \"select\"",
|
|
792
|
-
"references": {
|
|
793
|
-
"ListTypes": {
|
|
794
|
-
"location": "import",
|
|
795
|
-
"path": "../../../models/bcm-types"
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
},
|
|
799
|
-
"required": false,
|
|
800
|
-
"optional": false,
|
|
801
|
-
"docs": {
|
|
802
|
-
"tags": [],
|
|
803
|
-
"text": ""
|
|
804
|
-
},
|
|
805
|
-
"attribute": "type",
|
|
806
|
-
"reflect": false,
|
|
807
|
-
"defaultValue": "Bcm.ListType.listbox"
|
|
808
|
-
},
|
|
809
|
-
"treeview": {
|
|
810
|
-
"type": "boolean",
|
|
811
|
-
"mutable": true,
|
|
812
|
-
"complexType": {
|
|
813
|
-
"original": "boolean",
|
|
814
|
-
"resolved": "boolean",
|
|
815
|
-
"references": {}
|
|
816
|
-
},
|
|
817
|
-
"required": false,
|
|
818
|
-
"optional": false,
|
|
819
|
-
"docs": {
|
|
820
|
-
"tags": [],
|
|
821
|
-
"text": ""
|
|
822
|
-
},
|
|
823
|
-
"attribute": "treeview",
|
|
824
|
-
"reflect": false,
|
|
825
|
-
"defaultValue": "false"
|
|
826
|
-
},
|
|
827
|
-
"checkboxes": {
|
|
828
|
-
"type": "boolean",
|
|
829
|
-
"mutable": true,
|
|
830
|
-
"complexType": {
|
|
831
|
-
"original": "boolean",
|
|
832
|
-
"resolved": "boolean",
|
|
833
|
-
"references": {}
|
|
834
|
-
},
|
|
835
|
-
"required": false,
|
|
836
|
-
"optional": false,
|
|
837
|
-
"docs": {
|
|
838
|
-
"tags": [],
|
|
839
|
-
"text": ""
|
|
840
|
-
},
|
|
841
|
-
"attribute": "checkboxes",
|
|
842
|
-
"reflect": false,
|
|
843
|
-
"defaultValue": "false"
|
|
844
|
-
},
|
|
845
|
-
"searchable": {
|
|
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": "searchable",
|
|
860
|
-
"reflect": false,
|
|
861
|
-
"defaultValue": "false"
|
|
862
|
-
},
|
|
863
|
-
"value": {
|
|
864
|
-
"type": "any",
|
|
865
|
-
"mutable": true,
|
|
866
|
-
"complexType": {
|
|
867
|
-
"original": "any",
|
|
868
|
-
"resolved": "any",
|
|
869
|
-
"references": {}
|
|
870
|
-
},
|
|
871
|
-
"required": false,
|
|
872
|
-
"optional": false,
|
|
873
|
-
"docs": {
|
|
874
|
-
"tags": [],
|
|
875
|
-
"text": ""
|
|
876
|
-
},
|
|
877
|
-
"attribute": "value",
|
|
878
|
-
"reflect": false,
|
|
879
|
-
"defaultValue": "null"
|
|
880
|
-
},
|
|
881
|
-
"name": {
|
|
882
|
-
"type": "string",
|
|
883
|
-
"mutable": true,
|
|
884
|
-
"complexType": {
|
|
885
|
-
"original": "string",
|
|
886
|
-
"resolved": "string",
|
|
887
|
-
"references": {}
|
|
888
|
-
},
|
|
889
|
-
"required": false,
|
|
890
|
-
"optional": false,
|
|
891
|
-
"docs": {
|
|
892
|
-
"tags": [],
|
|
893
|
-
"text": ""
|
|
894
|
-
},
|
|
895
|
-
"attribute": "name",
|
|
896
|
-
"reflect": false
|
|
897
|
-
},
|
|
898
|
-
"label": {
|
|
899
|
-
"type": "string",
|
|
900
|
-
"mutable": true,
|
|
901
|
-
"complexType": {
|
|
902
|
-
"original": "string",
|
|
903
|
-
"resolved": "string",
|
|
904
|
-
"references": {}
|
|
905
|
-
},
|
|
906
|
-
"required": false,
|
|
907
|
-
"optional": false,
|
|
908
|
-
"docs": {
|
|
909
|
-
"tags": [],
|
|
910
|
-
"text": ""
|
|
911
|
-
},
|
|
912
|
-
"attribute": "label",
|
|
913
|
-
"reflect": false
|
|
914
|
-
},
|
|
915
|
-
"size": {
|
|
916
|
-
"type": "string",
|
|
917
|
-
"mutable": true,
|
|
918
|
-
"complexType": {
|
|
919
|
-
"original": "SizeTypes",
|
|
920
|
-
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
921
|
-
"references": {
|
|
922
|
-
"SizeTypes": {
|
|
923
|
-
"location": "import",
|
|
924
|
-
"path": "../../../models/bcm-types"
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
},
|
|
928
|
-
"required": false,
|
|
929
|
-
"optional": false,
|
|
930
|
-
"docs": {
|
|
931
|
-
"tags": [],
|
|
932
|
-
"text": ""
|
|
933
|
-
},
|
|
934
|
-
"attribute": "size",
|
|
935
|
-
"reflect": false,
|
|
936
|
-
"defaultValue": "Bcm.Size.medium"
|
|
937
|
-
},
|
|
938
|
-
"disabled": {
|
|
939
|
-
"type": "boolean",
|
|
940
|
-
"mutable": true,
|
|
941
|
-
"complexType": {
|
|
942
|
-
"original": "boolean",
|
|
943
|
-
"resolved": "boolean",
|
|
944
|
-
"references": {}
|
|
945
|
-
},
|
|
946
|
-
"required": false,
|
|
947
|
-
"optional": false,
|
|
948
|
-
"docs": {
|
|
949
|
-
"tags": [],
|
|
950
|
-
"text": ""
|
|
951
|
-
},
|
|
952
|
-
"attribute": "disabled",
|
|
953
|
-
"reflect": false,
|
|
954
|
-
"defaultValue": "false"
|
|
955
|
-
},
|
|
956
|
-
"readonly": {
|
|
957
|
-
"type": "boolean",
|
|
958
|
-
"mutable": true,
|
|
959
|
-
"complexType": {
|
|
960
|
-
"original": "boolean",
|
|
961
|
-
"resolved": "boolean",
|
|
962
|
-
"references": {}
|
|
963
|
-
},
|
|
964
|
-
"required": false,
|
|
965
|
-
"optional": false,
|
|
966
|
-
"docs": {
|
|
967
|
-
"tags": [],
|
|
968
|
-
"text": ""
|
|
969
|
-
},
|
|
970
|
-
"attribute": "readonly",
|
|
971
|
-
"reflect": false,
|
|
972
|
-
"defaultValue": "false"
|
|
973
|
-
},
|
|
974
|
-
"highlight": {
|
|
975
|
-
"type": "boolean",
|
|
976
|
-
"mutable": true,
|
|
977
|
-
"complexType": {
|
|
978
|
-
"original": "boolean",
|
|
979
|
-
"resolved": "boolean",
|
|
980
|
-
"references": {}
|
|
981
|
-
},
|
|
982
|
-
"required": false,
|
|
983
|
-
"optional": false,
|
|
984
|
-
"docs": {
|
|
985
|
-
"tags": [],
|
|
986
|
-
"text": ""
|
|
987
|
-
},
|
|
988
|
-
"attribute": "highlight",
|
|
989
|
-
"reflect": false,
|
|
990
|
-
"defaultValue": "false"
|
|
991
|
-
},
|
|
992
|
-
"highlightText": {
|
|
993
|
-
"type": "any",
|
|
994
|
-
"mutable": true,
|
|
995
|
-
"complexType": {
|
|
996
|
-
"original": "any",
|
|
997
|
-
"resolved": "any",
|
|
998
|
-
"references": {}
|
|
999
|
-
},
|
|
1000
|
-
"required": false,
|
|
1001
|
-
"optional": false,
|
|
1002
|
-
"docs": {
|
|
1003
|
-
"tags": [],
|
|
1004
|
-
"text": ""
|
|
1005
|
-
},
|
|
1006
|
-
"attribute": "highlight-text",
|
|
1007
|
-
"reflect": false
|
|
1008
|
-
},
|
|
1009
|
-
"required": {
|
|
1010
|
-
"type": "boolean",
|
|
1011
|
-
"mutable": true,
|
|
1012
|
-
"complexType": {
|
|
1013
|
-
"original": "boolean",
|
|
1014
|
-
"resolved": "boolean",
|
|
1015
|
-
"references": {}
|
|
1016
|
-
},
|
|
1017
|
-
"required": false,
|
|
1018
|
-
"optional": false,
|
|
1019
|
-
"docs": {
|
|
1020
|
-
"tags": [],
|
|
1021
|
-
"text": ""
|
|
1022
|
-
},
|
|
1023
|
-
"attribute": "required",
|
|
1024
|
-
"reflect": false,
|
|
1025
|
-
"defaultValue": "false"
|
|
1026
|
-
},
|
|
1027
|
-
"hidden": {
|
|
1028
|
-
"type": "boolean",
|
|
1029
|
-
"mutable": true,
|
|
1030
|
-
"complexType": {
|
|
1031
|
-
"original": "boolean",
|
|
1032
|
-
"resolved": "boolean",
|
|
1033
|
-
"references": {}
|
|
1034
|
-
},
|
|
1035
|
-
"required": false,
|
|
1036
|
-
"optional": false,
|
|
1037
|
-
"docs": {
|
|
1038
|
-
"tags": [],
|
|
1039
|
-
"text": ""
|
|
1040
|
-
},
|
|
1041
|
-
"attribute": "hidden",
|
|
1042
|
-
"reflect": false,
|
|
1043
|
-
"defaultValue": "false"
|
|
1044
|
-
},
|
|
1045
|
-
"fullWidth": {
|
|
1046
|
-
"type": "boolean",
|
|
1047
|
-
"mutable": true,
|
|
1048
|
-
"complexType": {
|
|
1049
|
-
"original": "boolean",
|
|
1050
|
-
"resolved": "boolean",
|
|
1051
|
-
"references": {}
|
|
1052
|
-
},
|
|
1053
|
-
"required": false,
|
|
1054
|
-
"optional": false,
|
|
1055
|
-
"docs": {
|
|
1056
|
-
"tags": [],
|
|
1057
|
-
"text": ""
|
|
1058
|
-
},
|
|
1059
|
-
"attribute": "full-width",
|
|
1060
|
-
"reflect": false,
|
|
1061
|
-
"defaultValue": "false"
|
|
1062
|
-
},
|
|
1063
|
-
"height": {
|
|
1064
|
-
"type": "string",
|
|
1065
|
-
"mutable": true,
|
|
1066
|
-
"complexType": {
|
|
1067
|
-
"original": "string",
|
|
1068
|
-
"resolved": "string",
|
|
1069
|
-
"references": {}
|
|
1070
|
-
},
|
|
1071
|
-
"required": false,
|
|
1072
|
-
"optional": false,
|
|
1073
|
-
"docs": {
|
|
1074
|
-
"tags": [],
|
|
1075
|
-
"text": ""
|
|
1076
|
-
},
|
|
1077
|
-
"attribute": "height",
|
|
1078
|
-
"reflect": false,
|
|
1079
|
-
"defaultValue": "'256px'"
|
|
1080
|
-
},
|
|
1081
|
-
"maxHeight": {
|
|
1082
|
-
"type": "string",
|
|
1083
|
-
"mutable": true,
|
|
1084
|
-
"complexType": {
|
|
1085
|
-
"original": "string",
|
|
1086
|
-
"resolved": "string",
|
|
1087
|
-
"references": {}
|
|
1088
|
-
},
|
|
1089
|
-
"required": false,
|
|
1090
|
-
"optional": false,
|
|
1091
|
-
"docs": {
|
|
1092
|
-
"tags": [],
|
|
1093
|
-
"text": ""
|
|
1094
|
-
},
|
|
1095
|
-
"attribute": "max-height",
|
|
1096
|
-
"reflect": false,
|
|
1097
|
-
"defaultValue": "'500px'"
|
|
1098
|
-
},
|
|
1099
|
-
"minHeight": {
|
|
1100
|
-
"type": "string",
|
|
1101
|
-
"mutable": true,
|
|
1102
|
-
"complexType": {
|
|
1103
|
-
"original": "string",
|
|
1104
|
-
"resolved": "string",
|
|
1105
|
-
"references": {}
|
|
1106
|
-
},
|
|
1107
|
-
"required": false,
|
|
1108
|
-
"optional": false,
|
|
1109
|
-
"docs": {
|
|
1110
|
-
"tags": [],
|
|
1111
|
-
"text": ""
|
|
1112
|
-
},
|
|
1113
|
-
"attribute": "min-height",
|
|
1114
|
-
"reflect": false,
|
|
1115
|
-
"defaultValue": "'150px'"
|
|
1116
|
-
},
|
|
1117
|
-
"width": {
|
|
1118
|
-
"type": "string",
|
|
1119
|
-
"mutable": true,
|
|
1120
|
-
"complexType": {
|
|
1121
|
-
"original": "string",
|
|
1122
|
-
"resolved": "string",
|
|
1123
|
-
"references": {}
|
|
1124
|
-
},
|
|
1125
|
-
"required": false,
|
|
1126
|
-
"optional": false,
|
|
1127
|
-
"docs": {
|
|
1128
|
-
"tags": [],
|
|
1129
|
-
"text": ""
|
|
1130
|
-
},
|
|
1131
|
-
"attribute": "width",
|
|
1132
|
-
"reflect": false,
|
|
1133
|
-
"defaultValue": "'256px'"
|
|
1134
|
-
},
|
|
1135
|
-
"infoFooter": {
|
|
1136
|
-
"type": "boolean",
|
|
1137
|
-
"mutable": true,
|
|
1138
|
-
"complexType": {
|
|
1139
|
-
"original": "boolean",
|
|
1140
|
-
"resolved": "boolean",
|
|
1141
|
-
"references": {}
|
|
1142
|
-
},
|
|
1143
|
-
"required": false,
|
|
1144
|
-
"optional": false,
|
|
1145
|
-
"docs": {
|
|
1146
|
-
"tags": [],
|
|
1147
|
-
"text": ""
|
|
1148
|
-
},
|
|
1149
|
-
"attribute": "info-footer",
|
|
1150
|
-
"reflect": false,
|
|
1151
|
-
"defaultValue": "false"
|
|
1152
|
-
},
|
|
1153
|
-
"variableText": {
|
|
1154
|
-
"type": "string",
|
|
1155
|
-
"mutable": true,
|
|
1156
|
-
"complexType": {
|
|
1157
|
-
"original": "string",
|
|
1158
|
-
"resolved": "string",
|
|
1159
|
-
"references": {}
|
|
1160
|
-
},
|
|
1161
|
-
"required": false,
|
|
1162
|
-
"optional": false,
|
|
1163
|
-
"docs": {
|
|
1164
|
-
"tags": [],
|
|
1165
|
-
"text": ""
|
|
1166
|
-
},
|
|
1167
|
-
"attribute": "variable-text",
|
|
1168
|
-
"reflect": false,
|
|
1169
|
-
"defaultValue": "'item'"
|
|
1170
|
-
},
|
|
1171
|
-
"template": {
|
|
1172
|
-
"type": "string",
|
|
1173
|
-
"mutable": true,
|
|
1174
|
-
"complexType": {
|
|
1175
|
-
"original": "string",
|
|
1176
|
-
"resolved": "string",
|
|
1177
|
-
"references": {}
|
|
1178
|
-
},
|
|
1179
|
-
"required": false,
|
|
1180
|
-
"optional": false,
|
|
1181
|
-
"docs": {
|
|
1182
|
-
"tags": [],
|
|
1183
|
-
"text": ""
|
|
1184
|
-
},
|
|
1185
|
-
"attribute": "template",
|
|
1186
|
-
"reflect": false
|
|
1187
|
-
},
|
|
1188
|
-
"allOpen": {
|
|
1189
|
-
"type": "boolean",
|
|
1190
|
-
"mutable": true,
|
|
1191
|
-
"complexType": {
|
|
1192
|
-
"original": "boolean",
|
|
1193
|
-
"resolved": "boolean",
|
|
1194
|
-
"references": {}
|
|
1195
|
-
},
|
|
1196
|
-
"required": false,
|
|
1197
|
-
"optional": false,
|
|
1198
|
-
"docs": {
|
|
1199
|
-
"tags": [],
|
|
1200
|
-
"text": ""
|
|
1201
|
-
},
|
|
1202
|
-
"attribute": "all-open",
|
|
1203
|
-
"reflect": false,
|
|
1204
|
-
"defaultValue": "false"
|
|
1205
|
-
},
|
|
1206
|
-
"keyControl": {
|
|
1207
|
-
"type": "boolean",
|
|
1208
|
-
"mutable": true,
|
|
1209
|
-
"complexType": {
|
|
1210
|
-
"original": "boolean",
|
|
1211
|
-
"resolved": "boolean",
|
|
1212
|
-
"references": {}
|
|
1213
|
-
},
|
|
1214
|
-
"required": false,
|
|
1215
|
-
"optional": false,
|
|
1216
|
-
"docs": {
|
|
1217
|
-
"tags": [],
|
|
1218
|
-
"text": ""
|
|
1219
|
-
},
|
|
1220
|
-
"attribute": "key-control",
|
|
1221
|
-
"reflect": false,
|
|
1222
|
-
"defaultValue": "false"
|
|
1223
|
-
},
|
|
1224
|
-
"checkAll": {
|
|
1225
|
-
"type": "boolean",
|
|
1226
|
-
"mutable": true,
|
|
1227
|
-
"complexType": {
|
|
1228
|
-
"original": "boolean",
|
|
1229
|
-
"resolved": "boolean",
|
|
1230
|
-
"references": {}
|
|
1231
|
-
},
|
|
1232
|
-
"required": false,
|
|
1233
|
-
"optional": false,
|
|
1234
|
-
"docs": {
|
|
1235
|
-
"tags": [],
|
|
1236
|
-
"text": ""
|
|
1237
|
-
},
|
|
1238
|
-
"attribute": "check-all",
|
|
1239
|
-
"reflect": false,
|
|
1240
|
-
"defaultValue": "true"
|
|
1241
|
-
},
|
|
1242
|
-
"linkedComponent": {
|
|
1243
|
-
"type": "string",
|
|
1244
|
-
"mutable": true,
|
|
1245
|
-
"complexType": {
|
|
1246
|
-
"original": "string",
|
|
1247
|
-
"resolved": "string",
|
|
1248
|
-
"references": {}
|
|
1249
|
-
},
|
|
1250
|
-
"required": false,
|
|
1251
|
-
"optional": false,
|
|
1252
|
-
"docs": {
|
|
1253
|
-
"tags": [],
|
|
1254
|
-
"text": ""
|
|
1255
|
-
},
|
|
1256
|
-
"attribute": "linked-component",
|
|
1257
|
-
"reflect": false
|
|
1258
|
-
},
|
|
1259
|
-
"placeholder": {
|
|
1260
|
-
"type": "string",
|
|
1261
|
-
"mutable": true,
|
|
1262
|
-
"complexType": {
|
|
1263
|
-
"original": "string",
|
|
1264
|
-
"resolved": "string",
|
|
1265
|
-
"references": {}
|
|
1266
|
-
},
|
|
1267
|
-
"required": false,
|
|
1268
|
-
"optional": false,
|
|
1269
|
-
"docs": {
|
|
1270
|
-
"tags": [],
|
|
1271
|
-
"text": ""
|
|
1272
|
-
},
|
|
1273
|
-
"attribute": "placeholder",
|
|
1274
|
-
"reflect": false,
|
|
1275
|
-
"defaultValue": "'Choose an option'"
|
|
1276
|
-
},
|
|
1277
|
-
"searchPlaceholder": {
|
|
1278
|
-
"type": "string",
|
|
1279
|
-
"mutable": true,
|
|
1280
|
-
"complexType": {
|
|
1281
|
-
"original": "string",
|
|
1282
|
-
"resolved": "string",
|
|
1283
|
-
"references": {}
|
|
1284
|
-
},
|
|
1285
|
-
"required": false,
|
|
1286
|
-
"optional": false,
|
|
1287
|
-
"docs": {
|
|
1288
|
-
"tags": [],
|
|
1289
|
-
"text": ""
|
|
1290
|
-
},
|
|
1291
|
-
"attribute": "search-placeholder",
|
|
1292
|
-
"reflect": false,
|
|
1293
|
-
"defaultValue": "'Search'"
|
|
1294
|
-
},
|
|
1295
|
-
"searchIsOnlyChilds": {
|
|
1296
|
-
"type": "boolean",
|
|
1297
|
-
"mutable": true,
|
|
1298
|
-
"complexType": {
|
|
1299
|
-
"original": "boolean",
|
|
1300
|
-
"resolved": "boolean",
|
|
1301
|
-
"references": {}
|
|
1302
|
-
},
|
|
1303
|
-
"required": false,
|
|
1304
|
-
"optional": false,
|
|
1305
|
-
"docs": {
|
|
1306
|
-
"tags": [],
|
|
1307
|
-
"text": ""
|
|
1308
|
-
},
|
|
1309
|
-
"attribute": "search-is-only-childs",
|
|
1310
|
-
"reflect": false,
|
|
1311
|
-
"defaultValue": "false"
|
|
1312
|
-
},
|
|
1313
|
-
"clearable": {
|
|
1314
|
-
"type": "boolean",
|
|
1315
|
-
"mutable": true,
|
|
1316
|
-
"complexType": {
|
|
1317
|
-
"original": "boolean",
|
|
1318
|
-
"resolved": "boolean",
|
|
1319
|
-
"references": {}
|
|
1320
|
-
},
|
|
1321
|
-
"required": false,
|
|
1322
|
-
"optional": false,
|
|
1323
|
-
"docs": {
|
|
1324
|
-
"tags": [],
|
|
1325
|
-
"text": ""
|
|
1326
|
-
},
|
|
1327
|
-
"attribute": "clearable",
|
|
1328
|
-
"reflect": false,
|
|
1329
|
-
"defaultValue": "false"
|
|
1330
|
-
},
|
|
1331
|
-
"caption": {
|
|
1332
|
-
"type": "string",
|
|
1333
|
-
"mutable": true,
|
|
1334
|
-
"complexType": {
|
|
1335
|
-
"original": "string",
|
|
1336
|
-
"resolved": "string",
|
|
1337
|
-
"references": {}
|
|
1338
|
-
},
|
|
1339
|
-
"required": false,
|
|
1340
|
-
"optional": false,
|
|
1341
|
-
"docs": {
|
|
1342
|
-
"tags": [],
|
|
1343
|
-
"text": ""
|
|
1344
|
-
},
|
|
1345
|
-
"attribute": "caption",
|
|
1346
|
-
"reflect": false
|
|
1347
|
-
},
|
|
1348
|
-
"noCaption": {
|
|
1349
|
-
"type": "boolean",
|
|
1350
|
-
"mutable": true,
|
|
1351
|
-
"complexType": {
|
|
1352
|
-
"original": "boolean",
|
|
1353
|
-
"resolved": "boolean",
|
|
1354
|
-
"references": {}
|
|
1355
|
-
},
|
|
1356
|
-
"required": false,
|
|
1357
|
-
"optional": false,
|
|
1358
|
-
"docs": {
|
|
1359
|
-
"tags": [],
|
|
1360
|
-
"text": ""
|
|
1361
|
-
},
|
|
1362
|
-
"attribute": "no-caption",
|
|
1363
|
-
"reflect": false,
|
|
1364
|
-
"defaultValue": "false"
|
|
1365
|
-
},
|
|
1366
|
-
"captionType": {
|
|
1367
|
-
"type": "string",
|
|
1368
|
-
"mutable": true,
|
|
1369
|
-
"complexType": {
|
|
1370
|
-
"original": "StatusTypes",
|
|
1371
|
-
"resolved": "\"default\" | \"error\" | \"info\" | \"success\" | \"warning\"",
|
|
1372
|
-
"references": {
|
|
1373
|
-
"StatusTypes": {
|
|
1374
|
-
"location": "import",
|
|
1375
|
-
"path": "../../../models/bcm-types"
|
|
1376
|
-
}
|
|
1377
|
-
}
|
|
1378
|
-
},
|
|
1379
|
-
"required": false,
|
|
1380
|
-
"optional": false,
|
|
1381
|
-
"docs": {
|
|
1382
|
-
"tags": [],
|
|
1383
|
-
"text": ""
|
|
1384
|
-
},
|
|
1385
|
-
"attribute": "caption-type",
|
|
1386
|
-
"reflect": false,
|
|
1387
|
-
"defaultValue": "Bcm.Status.default"
|
|
1388
|
-
},
|
|
1389
|
-
"captionError": {
|
|
1390
|
-
"type": "string",
|
|
1391
|
-
"mutable": true,
|
|
1392
|
-
"complexType": {
|
|
1393
|
-
"original": "string",
|
|
1394
|
-
"resolved": "string",
|
|
1395
|
-
"references": {}
|
|
1396
|
-
},
|
|
1397
|
-
"required": false,
|
|
1398
|
-
"optional": false,
|
|
1399
|
-
"docs": {
|
|
1400
|
-
"tags": [],
|
|
1401
|
-
"text": ""
|
|
1402
|
-
},
|
|
1403
|
-
"attribute": "caption-error",
|
|
1404
|
-
"reflect": false
|
|
1405
|
-
},
|
|
1406
|
-
"placement": {
|
|
1407
|
-
"type": "string",
|
|
1408
|
-
"mutable": true,
|
|
1409
|
-
"complexType": {
|
|
1410
|
-
"original": "PlacementTypes",
|
|
1411
|
-
"resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
|
|
1412
|
-
"references": {
|
|
1413
|
-
"PlacementTypes": {
|
|
1414
|
-
"location": "import",
|
|
1415
|
-
"path": "../../../models/bcm-types"
|
|
1416
|
-
}
|
|
1417
|
-
}
|
|
1418
|
-
},
|
|
1419
|
-
"required": false,
|
|
1420
|
-
"optional": false,
|
|
1421
|
-
"docs": {
|
|
1422
|
-
"tags": [],
|
|
1423
|
-
"text": ""
|
|
1424
|
-
},
|
|
1425
|
-
"attribute": "placement",
|
|
1426
|
-
"reflect": false,
|
|
1427
|
-
"defaultValue": "Bcm.Placement['bottom-start']"
|
|
1428
|
-
},
|
|
1429
|
-
"data": {
|
|
1430
|
-
"type": "any",
|
|
1431
|
-
"mutable": true,
|
|
1432
|
-
"complexType": {
|
|
1433
|
-
"original": "any",
|
|
1434
|
-
"resolved": "any",
|
|
1435
|
-
"references": {}
|
|
1436
|
-
},
|
|
1437
|
-
"required": false,
|
|
1438
|
-
"optional": false,
|
|
1439
|
-
"docs": {
|
|
1440
|
-
"tags": [],
|
|
1441
|
-
"text": ""
|
|
1442
|
-
},
|
|
1443
|
-
"attribute": "data",
|
|
1444
|
-
"reflect": false,
|
|
1445
|
-
"defaultValue": "[]"
|
|
1446
|
-
}
|
|
1447
|
-
}; }
|
|
1448
|
-
static get states() { return {
|
|
1449
|
-
"inputText": {},
|
|
1450
|
-
"isOpen": {},
|
|
1451
|
-
"calculatedViewport": {},
|
|
1452
|
-
"isSelectedOther": {},
|
|
1453
|
-
"isHaveOtherTag": {},
|
|
1454
|
-
"captionCache": {},
|
|
1455
|
-
"captionTypeCache": {},
|
|
1456
|
-
"tick": {},
|
|
1457
|
-
"totalData": {},
|
|
1458
|
-
"totalRootData": {},
|
|
1459
|
-
"limit": {},
|
|
1460
|
-
"searchGetParents": {},
|
|
1461
|
-
"searchResultLimit": {},
|
|
1462
|
-
"searchFound": {},
|
|
1463
|
-
"returnFilterData": {},
|
|
1464
|
-
"returnOtherData": {},
|
|
1465
|
-
"options": {},
|
|
1466
|
-
"tagContainerWidth": {},
|
|
1467
|
-
"selectAllItem": {}
|
|
1468
|
-
}; }
|
|
1469
|
-
static get events() { return [{
|
|
1470
|
-
"method": "bcmChecklist",
|
|
1471
|
-
"name": "bcm-checklist",
|
|
1472
|
-
"bubbles": true,
|
|
1473
|
-
"cancelable": true,
|
|
1474
|
-
"composed": true,
|
|
1475
|
-
"docs": {
|
|
1476
|
-
"tags": [],
|
|
1477
|
-
"text": ""
|
|
1478
|
-
},
|
|
1479
|
-
"complexType": {
|
|
1480
|
-
"original": "any",
|
|
1481
|
-
"resolved": "any",
|
|
1482
|
-
"references": {}
|
|
1483
|
-
}
|
|
1484
|
-
}, {
|
|
1485
|
-
"method": "bcmSelected",
|
|
1486
|
-
"name": "bcm-selected",
|
|
1487
|
-
"bubbles": true,
|
|
1488
|
-
"cancelable": true,
|
|
1489
|
-
"composed": true,
|
|
1490
|
-
"docs": {
|
|
1491
|
-
"tags": [],
|
|
1492
|
-
"text": ""
|
|
1493
|
-
},
|
|
1494
|
-
"complexType": {
|
|
1495
|
-
"original": "any",
|
|
1496
|
-
"resolved": "any",
|
|
1497
|
-
"references": {}
|
|
1498
|
-
}
|
|
1499
|
-
}, {
|
|
1500
|
-
"method": "change",
|
|
1501
|
-
"name": "bcm-change",
|
|
1502
|
-
"bubbles": true,
|
|
1503
|
-
"cancelable": true,
|
|
1504
|
-
"composed": true,
|
|
1505
|
-
"docs": {
|
|
1506
|
-
"tags": [],
|
|
1507
|
-
"text": ""
|
|
1508
|
-
},
|
|
1509
|
-
"complexType": {
|
|
1510
|
-
"original": "any",
|
|
1511
|
-
"resolved": "any",
|
|
1512
|
-
"references": {}
|
|
1513
|
-
}
|
|
1514
|
-
}]; }
|
|
1515
|
-
static get methods() { return {
|
|
1516
|
-
"set": {
|
|
1517
|
-
"complexType": {
|
|
1518
|
-
"signature": "(data: any) => Promise<void>",
|
|
1519
|
-
"parameters": [{
|
|
1520
|
-
"tags": [],
|
|
1521
|
-
"text": ""
|
|
1522
|
-
}],
|
|
1523
|
-
"references": {
|
|
1524
|
-
"Promise": {
|
|
1525
|
-
"location": "global"
|
|
1526
|
-
}
|
|
1527
|
-
},
|
|
1528
|
-
"return": "Promise<void>"
|
|
1529
|
-
},
|
|
1530
|
-
"docs": {
|
|
1531
|
-
"text": "",
|
|
1532
|
-
"tags": []
|
|
1533
|
-
}
|
|
1534
|
-
},
|
|
1535
|
-
"get": {
|
|
1536
|
-
"complexType": {
|
|
1537
|
-
"signature": "() => Promise<any>",
|
|
1538
|
-
"parameters": [],
|
|
1539
|
-
"references": {
|
|
1540
|
-
"Promise": {
|
|
1541
|
-
"location": "global"
|
|
1542
|
-
}
|
|
1543
|
-
},
|
|
1544
|
-
"return": "Promise<any>"
|
|
1545
|
-
},
|
|
1546
|
-
"docs": {
|
|
1547
|
-
"text": "",
|
|
1548
|
-
"tags": []
|
|
1549
|
-
}
|
|
1550
|
-
},
|
|
1551
|
-
"getCheckedList": {
|
|
1552
|
-
"complexType": {
|
|
1553
|
-
"signature": "() => Promise<{ checkedList: any[]; nestedResult: any[]; }>",
|
|
1554
|
-
"parameters": [],
|
|
1555
|
-
"references": {
|
|
1556
|
-
"Promise": {
|
|
1557
|
-
"location": "global"
|
|
1558
|
-
}
|
|
1559
|
-
},
|
|
1560
|
-
"return": "Promise<{ checkedList: any[]; nestedResult: any[]; }>"
|
|
1561
|
-
},
|
|
1562
|
-
"docs": {
|
|
1563
|
-
"text": "",
|
|
1564
|
-
"tags": []
|
|
1565
|
-
}
|
|
1566
|
-
},
|
|
1567
|
-
"getSelected": {
|
|
1568
|
-
"complexType": {
|
|
1569
|
-
"signature": "() => Promise<any>",
|
|
1570
|
-
"parameters": [],
|
|
1571
|
-
"references": {
|
|
1572
|
-
"Promise": {
|
|
1573
|
-
"location": "global"
|
|
1574
|
-
}
|
|
1575
|
-
},
|
|
1576
|
-
"return": "Promise<any>"
|
|
1577
|
-
},
|
|
1578
|
-
"docs": {
|
|
1579
|
-
"text": "",
|
|
1580
|
-
"tags": []
|
|
1581
|
-
}
|
|
1582
|
-
},
|
|
1583
|
-
"getValue": {
|
|
1584
|
-
"complexType": {
|
|
1585
|
-
"signature": "() => Promise<any>",
|
|
1586
|
-
"parameters": [],
|
|
1587
|
-
"references": {
|
|
1588
|
-
"Promise": {
|
|
1589
|
-
"location": "global"
|
|
1590
|
-
}
|
|
1591
|
-
},
|
|
1592
|
-
"return": "Promise<any>"
|
|
1593
|
-
},
|
|
1594
|
-
"docs": {
|
|
1595
|
-
"text": "",
|
|
1596
|
-
"tags": []
|
|
1597
|
-
}
|
|
1598
|
-
},
|
|
1599
|
-
"addChecked": {
|
|
1600
|
-
"complexType": {
|
|
1601
|
-
"signature": "(ids?: any[], save?: boolean, emit?: boolean) => Promise<any>",
|
|
1602
|
-
"parameters": [{
|
|
1603
|
-
"tags": [],
|
|
1604
|
-
"text": ""
|
|
1605
|
-
}, {
|
|
1606
|
-
"tags": [],
|
|
1607
|
-
"text": ""
|
|
1608
|
-
}, {
|
|
1609
|
-
"tags": [],
|
|
1610
|
-
"text": ""
|
|
1611
|
-
}],
|
|
1612
|
-
"references": {
|
|
1613
|
-
"Promise": {
|
|
1614
|
-
"location": "global"
|
|
1615
|
-
}
|
|
1616
|
-
},
|
|
1617
|
-
"return": "Promise<any>"
|
|
1618
|
-
},
|
|
1619
|
-
"docs": {
|
|
1620
|
-
"text": "",
|
|
1621
|
-
"tags": []
|
|
1622
|
-
}
|
|
1623
|
-
},
|
|
1624
|
-
"selected": {
|
|
1625
|
-
"complexType": {
|
|
1626
|
-
"signature": "(id: any) => Promise<any>",
|
|
1627
|
-
"parameters": [{
|
|
1628
|
-
"tags": [],
|
|
1629
|
-
"text": ""
|
|
1630
|
-
}],
|
|
1631
|
-
"references": {
|
|
1632
|
-
"Promise": {
|
|
1633
|
-
"location": "global"
|
|
1634
|
-
}
|
|
1635
|
-
},
|
|
1636
|
-
"return": "Promise<any>"
|
|
1637
|
-
},
|
|
1638
|
-
"docs": {
|
|
1639
|
-
"text": "",
|
|
1640
|
-
"tags": []
|
|
1641
|
-
}
|
|
1642
|
-
},
|
|
1643
|
-
"setClear": {
|
|
1644
|
-
"complexType": {
|
|
1645
|
-
"signature": "(e?: any) => Promise<void>",
|
|
1646
|
-
"parameters": [{
|
|
1647
|
-
"tags": [],
|
|
1648
|
-
"text": ""
|
|
1649
|
-
}],
|
|
1650
|
-
"references": {
|
|
1651
|
-
"Promise": {
|
|
1652
|
-
"location": "global"
|
|
1653
|
-
}
|
|
1654
|
-
},
|
|
1655
|
-
"return": "Promise<void>"
|
|
1656
|
-
},
|
|
1657
|
-
"docs": {
|
|
1658
|
-
"text": "",
|
|
1659
|
-
"tags": []
|
|
1660
|
-
}
|
|
1661
|
-
},
|
|
1662
|
-
"resetCaption": {
|
|
1663
|
-
"complexType": {
|
|
1664
|
-
"signature": "() => Promise<void>",
|
|
1665
|
-
"parameters": [],
|
|
1666
|
-
"references": {
|
|
1667
|
-
"Promise": {
|
|
1668
|
-
"location": "global"
|
|
1669
|
-
}
|
|
1670
|
-
},
|
|
1671
|
-
"return": "Promise<void>"
|
|
1672
|
-
},
|
|
1673
|
-
"docs": {
|
|
1674
|
-
"text": "",
|
|
1675
|
-
"tags": []
|
|
1676
|
-
}
|
|
1677
|
-
},
|
|
1678
|
-
"show": {
|
|
1679
|
-
"complexType": {
|
|
1680
|
-
"signature": "() => Promise<void>",
|
|
1681
|
-
"parameters": [],
|
|
1682
|
-
"references": {
|
|
1683
|
-
"Promise": {
|
|
1684
|
-
"location": "global"
|
|
1685
|
-
}
|
|
1686
|
-
},
|
|
1687
|
-
"return": "Promise<void>"
|
|
1688
|
-
},
|
|
1689
|
-
"docs": {
|
|
1690
|
-
"text": "",
|
|
1691
|
-
"tags": []
|
|
1692
|
-
}
|
|
1693
|
-
},
|
|
1694
|
-
"hide": {
|
|
1695
|
-
"complexType": {
|
|
1696
|
-
"signature": "() => Promise<void>",
|
|
1697
|
-
"parameters": [],
|
|
1698
|
-
"references": {
|
|
1699
|
-
"Promise": {
|
|
1700
|
-
"location": "global"
|
|
1701
|
-
}
|
|
1702
|
-
},
|
|
1703
|
-
"return": "Promise<void>"
|
|
1704
|
-
},
|
|
1705
|
-
"docs": {
|
|
1706
|
-
"text": "",
|
|
1707
|
-
"tags": []
|
|
1708
|
-
}
|
|
1709
|
-
}
|
|
1710
|
-
}; }
|
|
1711
|
-
static get elementRef() { return "el"; }
|
|
1712
|
-
static get watchers() { return [{
|
|
1713
|
-
"propName": "_id",
|
|
1714
|
-
"methodName": "watchId"
|
|
1715
|
-
}, {
|
|
1716
|
-
"propName": "value",
|
|
1717
|
-
"methodName": "handleValueChange"
|
|
1718
|
-
}, {
|
|
1719
|
-
"propName": "returnFilterData",
|
|
1720
|
-
"methodName": "watchReturnFilterData"
|
|
1721
|
-
}, {
|
|
1722
|
-
"propName": "isSelectedOther",
|
|
1723
|
-
"methodName": "handleOtherSelected"
|
|
1724
|
-
}, {
|
|
1725
|
-
"propName": "isOpen",
|
|
1726
|
-
"methodName": "handleOpen"
|
|
1727
|
-
}, {
|
|
1728
|
-
"propName": "data",
|
|
1729
|
-
"methodName": "dataChanged"
|
|
1730
|
-
}]; }
|
|
1731
|
-
static get listeners() { return [{
|
|
1732
|
-
"name": "bcm-is-intersecting",
|
|
1733
|
-
"method": "isIntersecting",
|
|
1734
|
-
"target": undefined,
|
|
1735
|
-
"capture": true,
|
|
1736
|
-
"passive": false
|
|
1737
|
-
}, {
|
|
1738
|
-
"name": "bcm-items",
|
|
1739
|
-
"method": "handleSlotItems",
|
|
1740
|
-
"target": undefined,
|
|
1741
|
-
"capture": true,
|
|
1742
|
-
"passive": false
|
|
1743
|
-
}, {
|
|
1744
|
-
"name": "bcm-change",
|
|
1745
|
-
"method": "handleChange",
|
|
1746
|
-
"target": undefined,
|
|
1747
|
-
"capture": false,
|
|
1748
|
-
"passive": false
|
|
1749
|
-
}, {
|
|
1750
|
-
"name": "resize",
|
|
1751
|
-
"method": "handleResize",
|
|
1752
|
-
"target": "window",
|
|
1753
|
-
"capture": false,
|
|
1754
|
-
"passive": true
|
|
1755
|
-
}, {
|
|
1756
|
-
"name": "wheel",
|
|
1757
|
-
"method": "handleWheel",
|
|
1758
|
-
"target": "document",
|
|
1759
|
-
"capture": false,
|
|
1760
|
-
"passive": false
|
|
1761
|
-
}, {
|
|
1762
|
-
"name": "click",
|
|
1763
|
-
"method": "handleClick",
|
|
1764
|
-
"target": "window",
|
|
1765
|
-
"capture": true,
|
|
1766
|
-
"passive": false
|
|
1767
|
-
}, {
|
|
1768
|
-
"name": "bcm-on-search-clear",
|
|
1769
|
-
"method": "bcmOnSearchClear",
|
|
1770
|
-
"target": "window",
|
|
1771
|
-
"capture": true,
|
|
1772
|
-
"passive": false
|
|
1773
|
-
}, {
|
|
1774
|
-
"name": "bcm-on-search",
|
|
1775
|
-
"method": "bcmOnSearch",
|
|
1776
|
-
"target": "window",
|
|
1777
|
-
"capture": true,
|
|
1778
|
-
"passive": false
|
|
1779
|
-
}, {
|
|
1780
|
-
"name": "keydown",
|
|
1781
|
-
"method": "handleKeyDown",
|
|
1782
|
-
"target": "window",
|
|
1783
|
-
"capture": true,
|
|
1784
|
-
"passive": false
|
|
1785
|
-
}, {
|
|
1786
|
-
"name": "keyup",
|
|
1787
|
-
"method": "handleKeyUp",
|
|
1788
|
-
"target": "window",
|
|
1789
|
-
"capture": true,
|
|
1790
|
-
"passive": false
|
|
1791
|
-
}]; }
|
|
1792
|
-
}
|
|
1793
|
-
__decorate([
|
|
1794
|
-
IsLoad()
|
|
1795
|
-
], BcmList.prototype, "el", void 0);
|
|
1796
|
-
__decorate([
|
|
1797
|
-
JsonParse('data')
|
|
1798
|
-
], BcmList.prototype, "data", void 0);
|
|
1799
|
-
__decorate([
|
|
1800
|
-
JsonParse('data', true)
|
|
1801
|
-
], BcmList.prototype, "dataChanged", null);
|