bromcom-ui 2.7.23-0 → 2.7.23-3
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/global/global.js +13 -13
- package/dist/bromcom-ui/p-003f17d3.entry.js +5 -0
- 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-21260645.js +11 -0
- package/dist/bromcom-ui/p-224bc000.entry.js +5 -0
- package/dist/bromcom-ui/p-3841ae27.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-43bd0456.entry.js +5 -0
- package/dist/bromcom-ui/p-4b6e131e.entry.js +5 -0
- package/dist/bromcom-ui/p-4dc6cb10.entry.js +5 -0
- package/dist/bromcom-ui/p-4dc7000d.entry.js +5 -0
- package/dist/bromcom-ui/p-4f72c7c8.entry.js +5 -0
- package/dist/bromcom-ui/p-52ffbce1.entry.js +5 -0
- package/dist/bromcom-ui/p-55e89a26.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-674232a7.entry.js +5 -0
- package/dist/bromcom-ui/p-68757684.entry.js +5 -0
- package/dist/bromcom-ui/{p-3f0ba719.entry.js → p-68a2feb3.entry.js} +1 -1
- 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-75c0e583.entry.js +5 -0
- package/dist/bromcom-ui/p-75f44956.entry.js +5 -0
- package/dist/bromcom-ui/p-76e850fc.entry.js +5 -0
- package/dist/bromcom-ui/p-82433894.entry.js +5 -0
- package/dist/bromcom-ui/p-82728828.entry.js +5 -0
- package/dist/bromcom-ui/p-84c2fbb7.entry.js +5 -0
- package/dist/bromcom-ui/{p-04a35e6e.entry.js → p-8b080cf6.entry.js} +1 -1
- package/dist/bromcom-ui/p-8c45d84d.entry.js +5 -0
- package/dist/bromcom-ui/p-8e8d1f6c.js +5 -0
- package/dist/bromcom-ui/p-8f8b734b.entry.js +5 -0
- package/dist/bromcom-ui/{p-0def73f1.entry.js → p-9307ffd1.entry.js} +1 -1
- package/dist/bromcom-ui/p-95c2e225.entry.js +5 -0
- package/dist/bromcom-ui/p-971da3a3.entry.js +5 -0
- package/dist/bromcom-ui/p-996d6ba1.entry.js +5 -0
- package/dist/bromcom-ui/{p-372b6929.js → p-9d6471c5.js} +1 -1
- package/dist/bromcom-ui/{p-85a413b7.entry.js → p-a46465cc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ec84b668.js → p-b419fb9d.js} +1 -1
- package/dist/bromcom-ui/p-bf575256.js +5 -0
- package/dist/bromcom-ui/p-c014896c.entry.js +5 -0
- package/dist/bromcom-ui/{p-54311536.js → p-c2a80d15.js} +1 -1
- package/dist/bromcom-ui/p-c7e3013e.entry.js +5 -0
- package/dist/bromcom-ui/{p-104a53f4.entry.js → p-c91d9962.entry.js} +1 -1
- 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-da3e262e.entry.js +5 -0
- package/dist/bromcom-ui/p-dacdb214.entry.js +5 -0
- package/dist/bromcom-ui/{p-ac1db3e8.js → p-e7504a54.js} +1 -1
- package/dist/{cjs/bcm-form-group.cjs.entry.js → bromcom-ui/p-e7672c8d.entry.js} +1 -26
- package/dist/bromcom-ui/{p-a8ea0995.entry.js → p-f5007d8d.entry.js} +1 -1
- package/dist/bromcom-ui/p-f6088d87.entry.js +5 -0
- package/dist/bromcom-ui/p-f8ddaa35.entry.js +5 -0
- package/dist/bromcom-ui/p-ff5a16c8.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-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-b7400791.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,1689 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
import { Component, h, Host, Listen, Event, Element, Prop, State, Watch, Method } from '@stencil/core';
|
|
6
|
-
import { getChilds } from '../../../utils/utils';
|
|
7
|
-
import cs from 'classnames';
|
|
8
|
-
/**
|
|
9
|
-
* @desc
|
|
10
|
-
* @param str
|
|
11
|
-
*/
|
|
12
|
-
const lowercase = (str) => str.toLowerCase();
|
|
13
|
-
export class Bcmtreeview {
|
|
14
|
-
constructor() {
|
|
15
|
-
this.objectMapping = {
|
|
16
|
-
'text': 'text',
|
|
17
|
-
'icon': 'icon',
|
|
18
|
-
'id': 'id',
|
|
19
|
-
'items': 'items',
|
|
20
|
-
'open': 'open',
|
|
21
|
-
'selected': 'selected',
|
|
22
|
-
'checked': 'checked',
|
|
23
|
-
'tooltipText': 'tooltipText',
|
|
24
|
-
'disabled': "disabled",
|
|
25
|
-
'favorite': "favorite",
|
|
26
|
-
};
|
|
27
|
-
this.checkedObjectList = [];
|
|
28
|
-
this.allChilds = [];
|
|
29
|
-
this.onFocus = false;
|
|
30
|
-
this.minHeight = 200;
|
|
31
|
-
this.minWidth = 200;
|
|
32
|
-
this.allOpenCache = false;
|
|
33
|
-
this.allOpenOnSearch = false;
|
|
34
|
-
this.parentLength = [{}];
|
|
35
|
-
this.isSetData = false;
|
|
36
|
-
this.runClearAndSelect = false;
|
|
37
|
-
this.checkboxes = false;
|
|
38
|
-
this.showIcon = false;
|
|
39
|
-
this.size = 'medium';
|
|
40
|
-
this.checkedList = [];
|
|
41
|
-
this.updateCheckedList = [];
|
|
42
|
-
this.hidden = false;
|
|
43
|
-
this.search = false;
|
|
44
|
-
this.searchOnlyChild = false;
|
|
45
|
-
this.keydown = false;
|
|
46
|
-
this.allOpen = false;
|
|
47
|
-
this.fullWidth = false;
|
|
48
|
-
this.infoFooter = false;
|
|
49
|
-
this.searchFields = ['text', 'secondaryText', 'tooltipText'];
|
|
50
|
-
this.searchSub = "items";
|
|
51
|
-
this.returnField = "id";
|
|
52
|
-
this._items = [];
|
|
53
|
-
this.searchPlaceholder = "Search";
|
|
54
|
-
this.maxHeight = null;
|
|
55
|
-
this.highlight = false;
|
|
56
|
-
this.loading = true;
|
|
57
|
-
this.favIcon = false;
|
|
58
|
-
this.favIconOnlyChilds = false;
|
|
59
|
-
this._internal_id = (Math.random() * 4).toString(16).replace('.', '');
|
|
60
|
-
/**
|
|
61
|
-
* Component States
|
|
62
|
-
*/
|
|
63
|
-
this.empty = false;
|
|
64
|
-
this.showSearch = true;
|
|
65
|
-
this.items = [];
|
|
66
|
-
this.total = 0;
|
|
67
|
-
this.checkCount = 0;
|
|
68
|
-
this.keyMapForFocus = { 18: false, 87: false };
|
|
69
|
-
this.checklist = [];
|
|
70
|
-
this.favoriteList = [];
|
|
71
|
-
this.checklistSorted = [];
|
|
72
|
-
this.searchResults = [];
|
|
73
|
-
}
|
|
74
|
-
async setData(_data = []) {
|
|
75
|
-
this.clearAndSelectSearch(false);
|
|
76
|
-
this.isLoading(true);
|
|
77
|
-
this.isSetData = true;
|
|
78
|
-
this.checkedObjectList = [];
|
|
79
|
-
this.selectedId = null;
|
|
80
|
-
setTimeout(() => {
|
|
81
|
-
this._items = _data;
|
|
82
|
-
this.searchData = JSON.parse(_data);
|
|
83
|
-
this.calculateMinSizes();
|
|
84
|
-
this.handleChildProcess();
|
|
85
|
-
}, 100);
|
|
86
|
-
return Promise.resolve(true);
|
|
87
|
-
}
|
|
88
|
-
async getChecklist() {
|
|
89
|
-
return this.checkedObjectList;
|
|
90
|
-
}
|
|
91
|
-
async getFavorites() {
|
|
92
|
-
this.getChildItem(this.el).forEach(element => {
|
|
93
|
-
element[this.objectMapping['favorite']] == true && (this.favIconOnlyChilds && element[this.objectMapping['items']].length == 0 && (this.favoriteList.indexOf(element.itemObject) < 0 && (this.favoriteList.push(element.itemObject))),
|
|
94
|
-
!this.favIconOnlyChilds && (this.favoriteList.indexOf(element.itemObject) < 0 && (this.favoriteList.push(element.itemObject))));
|
|
95
|
-
});
|
|
96
|
-
return this.favoriteList;
|
|
97
|
-
}
|
|
98
|
-
async selected(id) {
|
|
99
|
-
this.selectedId = id;
|
|
100
|
-
}
|
|
101
|
-
async clearAndSelectSearch(select = true) {
|
|
102
|
-
this.runClearAndSelect = true;
|
|
103
|
-
if (this.search === true) {
|
|
104
|
-
setTimeout(() => {
|
|
105
|
-
var searchInput = null;
|
|
106
|
-
searchInput = this.el.shadowRoot.querySelector("bcm-search");
|
|
107
|
-
if (searchInput) {
|
|
108
|
-
searchInput.setClear();
|
|
109
|
-
if (select == true) {
|
|
110
|
-
searchInput.select();
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}, 100);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
async addChecked(items = []) {
|
|
117
|
-
this.checkedList = items;
|
|
118
|
-
}
|
|
119
|
-
async updateChecked(items = []) {
|
|
120
|
-
this.updateCheckedList = items;
|
|
121
|
-
}
|
|
122
|
-
async config(_config) {
|
|
123
|
-
if (_config['maxHeight']) {
|
|
124
|
-
typeof _config['maxHeight'] == 'string'
|
|
125
|
-
? this.maxHeight = _config['maxHeight']
|
|
126
|
-
: this.maxHeight = "100%";
|
|
127
|
-
}
|
|
128
|
-
if (_config['searchFields']) {
|
|
129
|
-
if (Array.isArray(_config['searchFields'])) {
|
|
130
|
-
this.searchFields = _config['searchFields'];
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
if (_config['searchable']) {
|
|
134
|
-
typeof _config['searchable'] == 'boolean'
|
|
135
|
-
? this.search = _config['searchable']
|
|
136
|
-
: this.search = false;
|
|
137
|
-
}
|
|
138
|
-
if (_config['searchOnlyChild']) {
|
|
139
|
-
typeof _config['searchOnlyChild'] == 'boolean'
|
|
140
|
-
? this.searchOnlyChild = _config['searchOnlyChild']
|
|
141
|
-
: this.searchOnlyChild = false;
|
|
142
|
-
}
|
|
143
|
-
if (_config['searchPlaceholder']) {
|
|
144
|
-
typeof _config['searchPlaceholder'] == 'string'
|
|
145
|
-
? this.searchPlaceholder = _config['searchPlaceholder']
|
|
146
|
-
: this.searchPlaceholder = null;
|
|
147
|
-
}
|
|
148
|
-
if (_config['fullWidth']) {
|
|
149
|
-
typeof _config['fullWidth'] == 'boolean'
|
|
150
|
-
? this.fullWidth = _config['fullWidth']
|
|
151
|
-
: this.fullWidth = false;
|
|
152
|
-
}
|
|
153
|
-
if (_config['infoFooter']) {
|
|
154
|
-
typeof _config['infoFooter'] == 'boolean'
|
|
155
|
-
? this.infoFooter = _config['infoFooter']
|
|
156
|
-
: this.infoFooter = false;
|
|
157
|
-
}
|
|
158
|
-
if (_config['highlight']) {
|
|
159
|
-
typeof _config['highlight'] == 'boolean'
|
|
160
|
-
? this.highlight = _config['highlight']
|
|
161
|
-
: this.highlight = false;
|
|
162
|
-
}
|
|
163
|
-
if (_config['checkable']) {
|
|
164
|
-
typeof _config['checkable'] == 'boolean'
|
|
165
|
-
? this.checkboxes = _config['checkable']
|
|
166
|
-
: this.checkboxes = false;
|
|
167
|
-
}
|
|
168
|
-
if (_config['showIcon']) {
|
|
169
|
-
typeof _config['showIcon'] == 'boolean'
|
|
170
|
-
? this.showIcon = _config['showIcon']
|
|
171
|
-
: this.showIcon = false;
|
|
172
|
-
}
|
|
173
|
-
if (_config['favIcon']) {
|
|
174
|
-
typeof _config['favIcon'] == 'boolean'
|
|
175
|
-
? this.favIcon = _config['favIcon']
|
|
176
|
-
: this.favIcon = false;
|
|
177
|
-
}
|
|
178
|
-
if (_config['favIconOnlyChilds']) {
|
|
179
|
-
typeof _config['favIconOnlyChilds'] == 'boolean'
|
|
180
|
-
? this.favIconOnlyChilds = _config['favIconOnlyChilds']
|
|
181
|
-
: this.favIconOnlyChilds = false;
|
|
182
|
-
}
|
|
183
|
-
if (_config['allOpen']) {
|
|
184
|
-
typeof _config['allOpen'] == 'boolean'
|
|
185
|
-
? this.allOpen = _config['allOpen']
|
|
186
|
-
: this.allOpen = false;
|
|
187
|
-
}
|
|
188
|
-
this.allOpenCache = this.allOpen;
|
|
189
|
-
if (_config['size']) {
|
|
190
|
-
(["small", "medium", "large"].indexOf(_config['size']) >= 0)
|
|
191
|
-
? this.size = _config['size']
|
|
192
|
-
: this.size = 'medium';
|
|
193
|
-
}
|
|
194
|
-
if (_config['mapping']) {
|
|
195
|
-
if (_config['mapping']['text']) {
|
|
196
|
-
this.objectMapping['text'] = _config['mapping']['text'];
|
|
197
|
-
}
|
|
198
|
-
if (_config['mapping']['icon']) {
|
|
199
|
-
this.objectMapping['icon'] = _config['mapping']['icon'];
|
|
200
|
-
}
|
|
201
|
-
if (_config['mapping']['id']) {
|
|
202
|
-
this.objectMapping['id'] = _config['mapping']['id'];
|
|
203
|
-
this.returnField = this.objectMapping['id'];
|
|
204
|
-
}
|
|
205
|
-
if (_config['mapping']['items']) {
|
|
206
|
-
this.objectMapping['items'] = _config['mapping']['items'];
|
|
207
|
-
this.searchSub = this.objectMapping['items'];
|
|
208
|
-
}
|
|
209
|
-
if (_config['mapping']['open']) {
|
|
210
|
-
this.objectMapping['open'] = _config['mapping']['open'];
|
|
211
|
-
}
|
|
212
|
-
if (_config['mapping']['selected']) {
|
|
213
|
-
this.objectMapping['selected'] = _config['mapping']['selected'];
|
|
214
|
-
}
|
|
215
|
-
if (_config['mapping']['checked']) {
|
|
216
|
-
this.objectMapping['checked'] = _config['mapping']['checked'];
|
|
217
|
-
}
|
|
218
|
-
if (_config['mapping']['tooltipText']) {
|
|
219
|
-
this.objectMapping['tooltipText'] = _config['mapping']['tooltipText'];
|
|
220
|
-
}
|
|
221
|
-
if (_config['mapping']['disabled']) {
|
|
222
|
-
this.objectMapping['disabled'] = _config['mapping']['disabled'];
|
|
223
|
-
}
|
|
224
|
-
if (_config['mapping']['favorite']) {
|
|
225
|
-
this.objectMapping['favorite'] = _config['mapping']['favorite'];
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
// sessionStorage.setItem(this._internal_id + "-config", JSON.stringify(_config));
|
|
229
|
-
return Promise.resolve(true);
|
|
230
|
-
}
|
|
231
|
-
calculateMinSizes() {
|
|
232
|
-
if (this.minHeight < this.el.clientHeight) {
|
|
233
|
-
this.minHeight = this.el.clientHeight;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
connectedCallback() { }
|
|
237
|
-
componentWillLoad() { }
|
|
238
|
-
componentWillRender() {
|
|
239
|
-
if (sessionStorage.getItem(this._internal_id + "-config")) {
|
|
240
|
-
this.config(JSON.parse(sessionStorage.getItem(this._internal_id + "-config")));
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
componentDidRender() {
|
|
244
|
-
// this.isEmpty(true)
|
|
245
|
-
// if(this.total > 0) {
|
|
246
|
-
// this.isEmpty(false)
|
|
247
|
-
// }
|
|
248
|
-
}
|
|
249
|
-
// componentDidLoad(){
|
|
250
|
-
// this.handleChildProcess()
|
|
251
|
-
// setTimeout(() => {
|
|
252
|
-
// if(this.isSetData) {
|
|
253
|
-
// this.isLoading(true)
|
|
254
|
-
// this.isEmpty(false)
|
|
255
|
-
// }else{
|
|
256
|
-
// this.isLoading(false)
|
|
257
|
-
// this.isEmpty(true)
|
|
258
|
-
// }
|
|
259
|
-
// }, 1000);
|
|
260
|
-
// // this.isEmpty(true)
|
|
261
|
-
// }
|
|
262
|
-
componentWillUpdate() { }
|
|
263
|
-
// componentWillRender(){}
|
|
264
|
-
// componentDidRender(){}
|
|
265
|
-
componentDidUpdate() {
|
|
266
|
-
if (this.checkboxes === true) {
|
|
267
|
-
this.checkedObjectList = [];
|
|
268
|
-
if (this.checklistSorted.length > 0) {
|
|
269
|
-
this.getChildItem(this.el).forEach(element => {
|
|
270
|
-
element.checked == true && (this.checkedObjectList.indexOf(element.itemObject) < 0 && (this.checkedObjectList.push(element.itemObject)));
|
|
271
|
-
});
|
|
272
|
-
this.treeviewChecklist.emit(this.checkedObjectList);
|
|
273
|
-
}
|
|
274
|
-
else {
|
|
275
|
-
this.treeviewChecklist.emit([]);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
parseItems(newValue) {
|
|
280
|
-
if (newValue) {
|
|
281
|
-
typeof newValue == 'string'
|
|
282
|
-
? this.items = JSON.parse(newValue)
|
|
283
|
-
: this.items = newValue;
|
|
284
|
-
}
|
|
285
|
-
this.handleChildProcess();
|
|
286
|
-
}
|
|
287
|
-
handleChildProcess() {
|
|
288
|
-
setTimeout(() => {
|
|
289
|
-
this.allChilds = this.getAllChilds();
|
|
290
|
-
this.total = this.allChilds.filter((v, i, a) => a.indexOf(v) === i).length;
|
|
291
|
-
if (this.total > 0) {
|
|
292
|
-
// setTimeout(() => {
|
|
293
|
-
this.isLoading(false);
|
|
294
|
-
// }, 100);
|
|
295
|
-
this.isEmpty(false);
|
|
296
|
-
}
|
|
297
|
-
else {
|
|
298
|
-
// setTimeout(() => {
|
|
299
|
-
this.isLoading(false);
|
|
300
|
-
this.isEmpty(true);
|
|
301
|
-
// }, 100);
|
|
302
|
-
}
|
|
303
|
-
}, 100);
|
|
304
|
-
}
|
|
305
|
-
/**
|
|
306
|
-
* @desc
|
|
307
|
-
* @param group
|
|
308
|
-
*/
|
|
309
|
-
recursiveItemRenderer(group, parentGroup) {
|
|
310
|
-
const sId = String(this.selectedId);
|
|
311
|
-
const gId = String(group[this.objectMapping['id']]);
|
|
312
|
-
const isSelected = String(group[this.objectMapping['selected']]) === 'true' ? true : false;
|
|
313
|
-
if (sId === gId || isSelected) {
|
|
314
|
-
this.treeviewItemSelected.emit(group);
|
|
315
|
-
}
|
|
316
|
-
return (h("bcm-treeview-item", Object.assign({ _internal_id: this._internal_id, text: group[this.objectMapping['text']], icon: group[this.objectMapping['icon']], id: group[this.objectMapping['id']], size: this.size, "has-child": !!group[this.objectMapping['items']] }, (parentGroup && { 'parent-id': parentGroup[this.objectMapping['id']] }), (group[this.objectMapping['tooltipText']] && { tooltipText: group[this.objectMapping['tooltipText']] }), (String(group[this.objectMapping['checked']]) === "true" && { checkTrigger: true }), (String(group[this.objectMapping['open']]) === "true" && { open: true }), (String(group[this.objectMapping['selected']]) === "true" && { selected: true }), (String(group[this.objectMapping['disabled']]) === "true" && { disabled: true }), (group[this.objectMapping['items']] && { items: group[this.objectMapping['items']] }), (this.favIcon && !this.favIconOnlyChilds && { favicon: true }), (this.favIcon && this.favIconOnlyChilds && group[this.objectMapping['items']].length == 0 && { favicon: true }), (this.favIcon && group.rightSlot && { favorite: group.rightSlot[this.objectMapping['favorite']] }), (this.showIcon && { showIcon: true }), (String(this.checkboxes) === "true" && { checkboxes: true }), ((this.allOpen || this.allOpenOnSearch) && { open: true }), { itemObject: group }, ((this.checkedList && this.checkedList.find(e => e == group[this.objectMapping['id']]))) && { checkTrigger: true }, (this.updateCheckedList.length > 0 &&
|
|
317
|
-
((this.updateCheckedList.find(e => e == group[this.objectMapping['id']])) && { checkTrigger: true }))), group[this.objectMapping['items']] && group[this.objectMapping['items']].map((item) => (this.recursiveItemRenderer(item, group)))));
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* @desc
|
|
321
|
-
*/
|
|
322
|
-
handleCheckList(process = 'add', checkId) {
|
|
323
|
-
// console.log(checkId)
|
|
324
|
-
if (this.checkboxes === true) {
|
|
325
|
-
// const { checklist } = this
|
|
326
|
-
// checkId = Number(checkId)
|
|
327
|
-
switch (process) {
|
|
328
|
-
case 'add':
|
|
329
|
-
if (this.checklist.length > 0) {
|
|
330
|
-
this.checklist.indexOf(checkId) < 0 && (this.checklist = [...this.checklist, checkId]);
|
|
331
|
-
}
|
|
332
|
-
else {
|
|
333
|
-
this.checklist = [checkId];
|
|
334
|
-
}
|
|
335
|
-
break;
|
|
336
|
-
case 'remove':
|
|
337
|
-
this.checklist = this.checklist.filter(item => item !== checkId);
|
|
338
|
-
break;
|
|
339
|
-
default:
|
|
340
|
-
break;
|
|
341
|
-
}
|
|
342
|
-
let sorted = this.checklist.sort(function (a, b) { return a - b; });
|
|
343
|
-
this.checklistSorted = sorted;
|
|
344
|
-
// console.log('sorted: ', sorted)
|
|
345
|
-
this.checkCount = this.checklistSorted.length;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
async showSearchMethod(val = true) {
|
|
349
|
-
this.showSearch = val;
|
|
350
|
-
// return val
|
|
351
|
-
}
|
|
352
|
-
async searchResultMethod(items = []) {
|
|
353
|
-
// this.listenSearchResult({ detail: items })
|
|
354
|
-
await customElements.whenDefined("bcm-search");
|
|
355
|
-
const search = this.el.shadowRoot.querySelector("bcm-search");
|
|
356
|
-
const detail = await search.searchArray(items, this.objectMapping['id']);
|
|
357
|
-
await this.listenSearchResult({ detail: detail });
|
|
358
|
-
// return true
|
|
359
|
-
}
|
|
360
|
-
isLoading(val) {
|
|
361
|
-
var treeview = this.el.shadowRoot.getElementById("treeview");
|
|
362
|
-
var loading = this.el.shadowRoot.getElementById("loading");
|
|
363
|
-
var searchInput = this.el.shadowRoot.querySelector("bcm-search");
|
|
364
|
-
// var listcontainer = this.el.shadowRoot.getElementById("list-container")
|
|
365
|
-
if (val === true) {
|
|
366
|
-
treeview && treeview.classList.add('loading');
|
|
367
|
-
loading && loading.classList.add('show');
|
|
368
|
-
if (searchInput) {
|
|
369
|
-
searchInput.disabled = true;
|
|
370
|
-
}
|
|
371
|
-
// listcontainer && listcontainer.classList.add('hidden')
|
|
372
|
-
}
|
|
373
|
-
else {
|
|
374
|
-
treeview && treeview.classList.remove('loading');
|
|
375
|
-
loading && loading.classList.remove('show');
|
|
376
|
-
if (searchInput) {
|
|
377
|
-
searchInput.disabled = false;
|
|
378
|
-
}
|
|
379
|
-
// listcontainer && listcontainer.classList.remove('hidden')
|
|
380
|
-
}
|
|
381
|
-
return false;
|
|
382
|
-
}
|
|
383
|
-
isEmpty(val) {
|
|
384
|
-
var empty = this.el.shadowRoot.getElementById("empty");
|
|
385
|
-
// var listcontainer = this.el.shadowRoot.getElementById("list-container")
|
|
386
|
-
if (val === true) {
|
|
387
|
-
empty && empty.classList.add('show');
|
|
388
|
-
// listcontainer && listcontainer.classList.add('hidden')
|
|
389
|
-
}
|
|
390
|
-
else {
|
|
391
|
-
empty && empty.classList.remove('show');
|
|
392
|
-
// listcontainer && listcontainer.classList.remove('hidden')
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
isSearchCount(val = null) {
|
|
396
|
-
if (this.infoFooter === true) {
|
|
397
|
-
var inSearch = this.el.shadowRoot.getElementById("in-search");
|
|
398
|
-
var inTotal = this.el.shadowRoot.getElementById("in-total");
|
|
399
|
-
if (val >= 0 && val != null && inSearch && inTotal) {
|
|
400
|
-
inSearch.innerHTML = val;
|
|
401
|
-
inTotal.style.display = "none";
|
|
402
|
-
}
|
|
403
|
-
else {
|
|
404
|
-
inTotal.style.display = "inline";
|
|
405
|
-
inSearch.innerHTML = "";
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
// if (val > 0){
|
|
409
|
-
// this.isEmpty(false)
|
|
410
|
-
// }
|
|
411
|
-
}
|
|
412
|
-
listenSearchResult(e) {
|
|
413
|
-
this.parentLength = [];
|
|
414
|
-
var searchValue = '';
|
|
415
|
-
// this.searchResults = e.detail
|
|
416
|
-
var totalSearch = e.detail.length;
|
|
417
|
-
this.empty = false;
|
|
418
|
-
var getAllChilds = this.getAllChilds();
|
|
419
|
-
this.isEmpty(false);
|
|
420
|
-
if (e.detail.length > 0) {
|
|
421
|
-
// this.allOpenOnSearch = true
|
|
422
|
-
if (e.detail[0] == -1) {
|
|
423
|
-
totalSearch = 0;
|
|
424
|
-
this.empty = true;
|
|
425
|
-
this.isEmpty(true);
|
|
426
|
-
}
|
|
427
|
-
if (getAllChilds.length > 0) {
|
|
428
|
-
getAllChilds.map((item) => {
|
|
429
|
-
var isParent = false;
|
|
430
|
-
if (this.searchOnlyChild && item.items && item.items.length > 0) {
|
|
431
|
-
isParent = true;
|
|
432
|
-
}
|
|
433
|
-
e.target.addEventListener('bcm-on-search-value', async (e) => {
|
|
434
|
-
searchValue = await e.detail;
|
|
435
|
-
var inputText = item.shadowRoot.getElementById("text");
|
|
436
|
-
inputText = inputText.textContent || inputText.innerText || "";
|
|
437
|
-
if (searchValue) {
|
|
438
|
-
var cacheInputText = lowercase(inputText);
|
|
439
|
-
var cacheSearchValue = lowercase(searchValue);
|
|
440
|
-
var index = cacheInputText.indexOf(cacheSearchValue);
|
|
441
|
-
if (index >= 0) {
|
|
442
|
-
if (isParent == false) {
|
|
443
|
-
if (this.parentLength.indexOf(item.id) === -1) {
|
|
444
|
-
this.parentLength.push(item.id);
|
|
445
|
-
}
|
|
446
|
-
if (this.highlight) {
|
|
447
|
-
inputText = inputText.substring(0, index)
|
|
448
|
-
+ "<span class='highlight'>"
|
|
449
|
-
+ inputText.substring(index, index + searchValue.length)
|
|
450
|
-
+ "</span>"
|
|
451
|
-
+ inputText.substring(index + searchValue.length);
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
item.shadowRoot.getElementById("text").innerHTML = inputText;
|
|
457
|
-
});
|
|
458
|
-
item.hidden = true;
|
|
459
|
-
var _ids = item.id;
|
|
460
|
-
if (e.detail.indexOf(_ids) >= 0) {
|
|
461
|
-
item.hidden = false;
|
|
462
|
-
item.open = true;
|
|
463
|
-
setTimeout(() => {
|
|
464
|
-
if (this.parentLength.indexOf(item.id) !== -1 && item.items && item.items.length > 0 && this.searchOnlyChild == false) {
|
|
465
|
-
const getChilds = (item) => {
|
|
466
|
-
this.getAllChilds(item).map(element => {
|
|
467
|
-
element.hidden = false;
|
|
468
|
-
element.open = true;
|
|
469
|
-
getChilds(element);
|
|
470
|
-
});
|
|
471
|
-
};
|
|
472
|
-
getChilds(item);
|
|
473
|
-
}
|
|
474
|
-
}, 1);
|
|
475
|
-
}
|
|
476
|
-
else {
|
|
477
|
-
item.hidden = true;
|
|
478
|
-
}
|
|
479
|
-
});
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
else {
|
|
483
|
-
// this.allOpenOnSearch = this.allOpenCache
|
|
484
|
-
if (getAllChilds.length > 0) {
|
|
485
|
-
getAllChilds.map((item) => {
|
|
486
|
-
item.hidden = false;
|
|
487
|
-
});
|
|
488
|
-
}
|
|
489
|
-
// this.isEmpty(true)
|
|
490
|
-
}
|
|
491
|
-
// if ( this.searchOnlyChild ) {
|
|
492
|
-
// this.isSearchCount(highlightLength)
|
|
493
|
-
// }else{
|
|
494
|
-
setTimeout(() => {
|
|
495
|
-
if (totalSearch >= 0) {
|
|
496
|
-
var totals = totalSearch - Number(totalSearch - this.parentLength.length);
|
|
497
|
-
this.isSearchCount(totals > 0 ? totals : 0);
|
|
498
|
-
}
|
|
499
|
-
else {
|
|
500
|
-
this.isSearchCount();
|
|
501
|
-
}
|
|
502
|
-
if (e.detail[0] === -1) {
|
|
503
|
-
this.isSearchCount(0);
|
|
504
|
-
}
|
|
505
|
-
if (e.detail === true) {
|
|
506
|
-
this.isSearchCount();
|
|
507
|
-
}
|
|
508
|
-
}, 100);
|
|
509
|
-
// }
|
|
510
|
-
if (e.detail === true) {
|
|
511
|
-
this.isEmpty(false);
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
getAllChilds(element = this.el) {
|
|
515
|
-
let returnAllItems = [];
|
|
516
|
-
getChilds(element, 'bcm-treeview-item').forEach(items => {
|
|
517
|
-
this.getAllChilds(items) && (returnAllItems.indexOf(items) < 0 && (returnAllItems.push(items))
|
|
518
|
-
// returnAllItems = [...returnAllItems, ...this.getAllChilds(items)]
|
|
519
|
-
);
|
|
520
|
-
returnAllItems.indexOf(items) < 0 && (returnAllItems.push(items));
|
|
521
|
-
// returnAllItems = [...returnAllItems,
|
|
522
|
-
// items
|
|
523
|
-
// ]
|
|
524
|
-
});
|
|
525
|
-
return returnAllItems;
|
|
526
|
-
}
|
|
527
|
-
/**
|
|
528
|
-
* @desc
|
|
529
|
-
*/
|
|
530
|
-
handletreeviewItemSelected(event) {
|
|
531
|
-
this.treeviewClearSelecteds.emit(event.detail);
|
|
532
|
-
}
|
|
533
|
-
/**
|
|
534
|
-
* @desc
|
|
535
|
-
*/
|
|
536
|
-
handletreeviewChecked(event) {
|
|
537
|
-
// this.treeviewSendCheck.emit(event.detail)
|
|
538
|
-
this.handleCheckList('add', event.detail);
|
|
539
|
-
// this.treeviewChange.emit(event.detail)
|
|
540
|
-
}
|
|
541
|
-
/**
|
|
542
|
-
* @desc
|
|
543
|
-
*/
|
|
544
|
-
// @Listen('bcm-treeview-check-group-check')
|
|
545
|
-
// bcmTreeviewCheckGroupChecked(event: any) {
|
|
546
|
-
// console.log(event)
|
|
547
|
-
// this.treeviewSendCheck.emit(event.detail)
|
|
548
|
-
// this.handleCheckList('add',event.detail)
|
|
549
|
-
// this.treeviewChange.emit(event.detail)
|
|
550
|
-
// }
|
|
551
|
-
/**
|
|
552
|
-
* @desc
|
|
553
|
-
*/
|
|
554
|
-
handletreeviewUnchecked(event) {
|
|
555
|
-
// this.treeviewSendUncheck.emit(event.detail)
|
|
556
|
-
this.handleCheckList('remove', event.detail);
|
|
557
|
-
// this.treeviewChange.emit(event.detail)
|
|
558
|
-
}
|
|
559
|
-
/**
|
|
560
|
-
* @desc
|
|
561
|
-
*/
|
|
562
|
-
handletreeviewIndeterminateChecked(event) {
|
|
563
|
-
this.handleCheckList('add', event.detail);
|
|
564
|
-
}
|
|
565
|
-
/**
|
|
566
|
-
* @desc
|
|
567
|
-
*/
|
|
568
|
-
handletreeviewIndeterminateUnchecked(event) {
|
|
569
|
-
this.handleCheckList('remove', event.detail);
|
|
570
|
-
}
|
|
571
|
-
treeviewUncheckedMethod(item) {
|
|
572
|
-
this.handletreeviewUnchecked({ "detail": item });
|
|
573
|
-
this.componentDidUpdate();
|
|
574
|
-
return Promise.resolve(true);
|
|
575
|
-
}
|
|
576
|
-
/**
|
|
577
|
-
* @desc
|
|
578
|
-
* Keyboard Navigation
|
|
579
|
-
*/
|
|
580
|
-
getIndex(item) {
|
|
581
|
-
return Array.from(item.parentNode.children).indexOf(item);
|
|
582
|
-
}
|
|
583
|
-
/**
|
|
584
|
-
* @desc
|
|
585
|
-
* Keyboard Navigation
|
|
586
|
-
*/
|
|
587
|
-
getNext(item) {
|
|
588
|
-
let returnItem = this.getChildItem(item.parentElement)[this.getIndex(item) + 1];
|
|
589
|
-
if (returnItem)
|
|
590
|
-
return returnItem;
|
|
591
|
-
return false;
|
|
592
|
-
}
|
|
593
|
-
/**
|
|
594
|
-
* @desc
|
|
595
|
-
* Keyboard Navigation
|
|
596
|
-
*/
|
|
597
|
-
getPrev(item) {
|
|
598
|
-
let returnItem = this.getChildItem(item.parentElement)[this.getIndex(item) - 1];
|
|
599
|
-
if (returnItem)
|
|
600
|
-
return returnItem;
|
|
601
|
-
return false;
|
|
602
|
-
}
|
|
603
|
-
/**
|
|
604
|
-
* @desc
|
|
605
|
-
* Keyboard Navigation
|
|
606
|
-
*/
|
|
607
|
-
getParent(item) {
|
|
608
|
-
if (lowercase(item.parentElement.tagName) == 'bcm-treeview') {
|
|
609
|
-
return false;
|
|
610
|
-
}
|
|
611
|
-
else {
|
|
612
|
-
return this.getChildItem(item.parentElement.parentElement)[this.getIndex(item.parentElement)];
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
/**
|
|
616
|
-
* @desc
|
|
617
|
-
* Keyboard Navigation
|
|
618
|
-
*/
|
|
619
|
-
getNextParent(item) {
|
|
620
|
-
let getParent = this.getParent(item);
|
|
621
|
-
let getNext;
|
|
622
|
-
if (getParent) {
|
|
623
|
-
getNext = this.getNext(getParent);
|
|
624
|
-
if (getNext) {
|
|
625
|
-
return getNext;
|
|
626
|
-
}
|
|
627
|
-
else {
|
|
628
|
-
return this.getNextParent(getParent);
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
/**
|
|
633
|
-
* @desc
|
|
634
|
-
* Keyboard Navigation
|
|
635
|
-
*/
|
|
636
|
-
getFirstItem(el = this.el) {
|
|
637
|
-
return this.getChildItem(el)[0];
|
|
638
|
-
}
|
|
639
|
-
/**
|
|
640
|
-
* @desc
|
|
641
|
-
* Keyboard Navigation
|
|
642
|
-
*/
|
|
643
|
-
getLastItem(el = this.el) {
|
|
644
|
-
let childLength = this.getChildItem(el).length;
|
|
645
|
-
let lastChild = this.getChildItem(el)[childLength - 1];
|
|
646
|
-
if (this.getChildItem(lastChild).length > 0 && lastChild.open == true) {
|
|
647
|
-
return this.getLastItem(lastChild);
|
|
648
|
-
}
|
|
649
|
-
else {
|
|
650
|
-
return lastChild;
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
/**
|
|
654
|
-
* @desc
|
|
655
|
-
* Keyboard Navigation
|
|
656
|
-
*/
|
|
657
|
-
getChildItem(element = this.el) {
|
|
658
|
-
let returnItems = getChilds(element, 'bcm-treeview-item');
|
|
659
|
-
if (returnItems)
|
|
660
|
-
return returnItems;
|
|
661
|
-
return 0;
|
|
662
|
-
}
|
|
663
|
-
/**
|
|
664
|
-
* @desc
|
|
665
|
-
*/
|
|
666
|
-
handleRightClick(e) {
|
|
667
|
-
this.treeviewShowContext.emit([e.target.id, e.clientY, e.clientX]);
|
|
668
|
-
e.preventDefault();
|
|
669
|
-
}
|
|
670
|
-
/**
|
|
671
|
-
* @desc
|
|
672
|
-
*/
|
|
673
|
-
keyboardNavigationUp(e) {
|
|
674
|
-
let { keyMapForFocus } = this;
|
|
675
|
-
if (e.keyCode in keyMapForFocus) {
|
|
676
|
-
keyMapForFocus[e.keyCode] = false;
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
/**
|
|
680
|
-
* @desc
|
|
681
|
-
*/
|
|
682
|
-
keyboardNavigation(e) {
|
|
683
|
-
if (this.keydown) {
|
|
684
|
-
const { keyMapForFocus, focusedElement, el } = this;
|
|
685
|
-
this.focusedElement = !focusedElement ? el : focusedElement;
|
|
686
|
-
const which = e.which || 0;
|
|
687
|
-
if (this.getChildItem(el).length > 0) {
|
|
688
|
-
if (e.keyCode in keyMapForFocus) {
|
|
689
|
-
keyMapForFocus[e.keyCode] = true;
|
|
690
|
-
if (keyMapForFocus[18] && keyMapForFocus[87]) {
|
|
691
|
-
e.preventDefault();
|
|
692
|
-
this.focusedElement = this.getFirstItem(this.focusedElement);
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
if (which == 9 || //tab
|
|
696
|
-
which == 13 || //enter
|
|
697
|
-
which == 18 || //alt
|
|
698
|
-
which == 32 || //space
|
|
699
|
-
which == 35 || // end
|
|
700
|
-
which == 36 || // home
|
|
701
|
-
(which >= 35 && which <= 40) //end, home, left arrow, up arrow, right arrow, down arrow
|
|
702
|
-
) {
|
|
703
|
-
e.preventDefault();
|
|
704
|
-
if (!focusedElement) {
|
|
705
|
-
this.focusedElement = this.getFirstItem(this.focusedElement);
|
|
706
|
-
}
|
|
707
|
-
else {
|
|
708
|
-
this.focusedElement.focused = false;
|
|
709
|
-
switch (which) {
|
|
710
|
-
case 13: // enter
|
|
711
|
-
this.focusedElement.selected = true;
|
|
712
|
-
break;
|
|
713
|
-
case 32: // space
|
|
714
|
-
this.focusedElement.checked && (this.treeviewUnchecked.emit(this.focusedElement.id)) || (this.treeviewChecked.emit(this.focusedElement.id));
|
|
715
|
-
break;
|
|
716
|
-
case 35: // end
|
|
717
|
-
this.focusedElement = this.getLastItem(this.focusedElement.parentElement);
|
|
718
|
-
break;
|
|
719
|
-
case 36: // home
|
|
720
|
-
this.focusedElement = this.getFirstItem(this.focusedElement.parentElement);
|
|
721
|
-
break;
|
|
722
|
-
case 37: // left arrow
|
|
723
|
-
if (this.getChildItem(this.focusedElement).length > 0 && this.focusedElement.open == true) {
|
|
724
|
-
this.focusedElement.open = false;
|
|
725
|
-
}
|
|
726
|
-
else {
|
|
727
|
-
if (this.getParent(this.focusedElement)) {
|
|
728
|
-
this.focusedElement = this.getParent(this.focusedElement);
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
break;
|
|
732
|
-
case 38: // up arrow
|
|
733
|
-
if (this.getPrev(this.focusedElement)) {
|
|
734
|
-
this.focusedElement = this.getPrev(this.focusedElement);
|
|
735
|
-
if (this.getChildItem(this.focusedElement).length > 0 && this.focusedElement.open == true) {
|
|
736
|
-
this.focusedElement = this.getLastItem(this.focusedElement);
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
else if (this.getParent(this.focusedElement)) {
|
|
740
|
-
this.focusedElement = this.getParent(this.focusedElement);
|
|
741
|
-
}
|
|
742
|
-
break;
|
|
743
|
-
case 39: // right arrow
|
|
744
|
-
if (this.getChildItem(this.focusedElement).length > 0) {
|
|
745
|
-
if (this.focusedElement.open == true) {
|
|
746
|
-
this.focusedElement = this.getFirstItem(this.focusedElement);
|
|
747
|
-
}
|
|
748
|
-
else {
|
|
749
|
-
this.focusedElement.open = true;
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
break;
|
|
753
|
-
case 40: // down arrow
|
|
754
|
-
if (this.getChildItem(this.focusedElement).length > 0 && this.focusedElement.open == true) {
|
|
755
|
-
this.focusedElement = this.getFirstItem(this.focusedElement);
|
|
756
|
-
}
|
|
757
|
-
else if (this.getNext(this.focusedElement)) {
|
|
758
|
-
this.focusedElement = this.getNext(this.focusedElement);
|
|
759
|
-
}
|
|
760
|
-
else if (this.getNextParent(this.focusedElement)) {
|
|
761
|
-
this.focusedElement = this.getNextParent(this.focusedElement);
|
|
762
|
-
}
|
|
763
|
-
break;
|
|
764
|
-
default:
|
|
765
|
-
break;
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
if (this.focusedElement)
|
|
770
|
-
this.focusedElement.focused = true;
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
handleFocus(focusEvent = false) {
|
|
775
|
-
this.onFocus = focusEvent;
|
|
776
|
-
}
|
|
777
|
-
render() {
|
|
778
|
-
const { searchOnlyChild, searchPlaceholder, search, checkCount, searchData, searchFields, searchSub, returnField, total, fullWidth, infoFooter, showSearch } = this;
|
|
779
|
-
const hostClasses = cs(this.hidden ? 'hidden' : null, {
|
|
780
|
-
'empty': this.empty,
|
|
781
|
-
'full-width': fullWidth
|
|
782
|
-
});
|
|
783
|
-
const customStyles = {
|
|
784
|
-
// 'min-height': this.minHeight + 'px',
|
|
785
|
-
'min-width': this.minWidth + 'px',
|
|
786
|
-
'max-height': this.maxHeight
|
|
787
|
-
};
|
|
788
|
-
return (h(Host, { class: hostClasses, style: customStyles },
|
|
789
|
-
search && (h("div", { class: "search", style: { 'display': String(showSearch) == 'false' ? 'none' : 'block' } },
|
|
790
|
-
h("bcm-search", { onlyChild: searchOnlyChild, searchPlaceholder: searchPlaceholder, "on-bcm-focus": () => this.handleFocus(true), "on-bcm-blur": () => this.handleFocus(false), data: searchData, returnField: returnField, searchFields: searchFields, searchSub: searchSub, clearable: true }),
|
|
791
|
-
h("bcm-divider", null))),
|
|
792
|
-
h("div", { id: "treeview", class: "treeview loading" },
|
|
793
|
-
// this.loading && (
|
|
794
|
-
h("div", { id: "loading", class: "loading show" },
|
|
795
|
-
h("bcm-icon", { class: "prefix", icon: "far fa-spinner-third fa-spin" }))
|
|
796
|
-
// )
|
|
797
|
-
,
|
|
798
|
-
// this.empty && (
|
|
799
|
-
h("div", { id: "empty", class: "empty" },
|
|
800
|
-
h("bcm-empty", { size: "small", text: "No Data" }))
|
|
801
|
-
// )
|
|
802
|
-
,
|
|
803
|
-
!this.empty && this.items.length !== 0 && this.items.map((item) => (this.recursiveItemRenderer(item, null)))),
|
|
804
|
-
infoFooter == true && (h("footer", null,
|
|
805
|
-
h("bcm-text", { scale: "size-1", color: "grey-8" },
|
|
806
|
-
checkCount > 0 && ('( ' + checkCount + ' items selected ) '),
|
|
807
|
-
"Total ",
|
|
808
|
-
h("span", { id: "in-search" }),
|
|
809
|
-
" ",
|
|
810
|
-
h("span", { id: "in-total" }, total),
|
|
811
|
-
" items found.")))));
|
|
812
|
-
}
|
|
813
|
-
static get is() { return "bcm-treeview"; }
|
|
814
|
-
static get encapsulation() { return "shadow"; }
|
|
815
|
-
static get originalStyleUrls() { return {
|
|
816
|
-
"$": ["treeview.scss"]
|
|
817
|
-
}; }
|
|
818
|
-
static get styleUrls() { return {
|
|
819
|
-
"$": ["treeview.css"]
|
|
820
|
-
}; }
|
|
821
|
-
static get properties() { return {
|
|
822
|
-
"checkboxes": {
|
|
823
|
-
"type": "boolean",
|
|
824
|
-
"mutable": true,
|
|
825
|
-
"complexType": {
|
|
826
|
-
"original": "boolean",
|
|
827
|
-
"resolved": "boolean",
|
|
828
|
-
"references": {}
|
|
829
|
-
},
|
|
830
|
-
"required": false,
|
|
831
|
-
"optional": false,
|
|
832
|
-
"docs": {
|
|
833
|
-
"tags": [],
|
|
834
|
-
"text": ""
|
|
835
|
-
},
|
|
836
|
-
"attribute": "checkboxes",
|
|
837
|
-
"reflect": false,
|
|
838
|
-
"defaultValue": "false"
|
|
839
|
-
},
|
|
840
|
-
"showIcon": {
|
|
841
|
-
"type": "boolean",
|
|
842
|
-
"mutable": true,
|
|
843
|
-
"complexType": {
|
|
844
|
-
"original": "boolean",
|
|
845
|
-
"resolved": "boolean",
|
|
846
|
-
"references": {}
|
|
847
|
-
},
|
|
848
|
-
"required": false,
|
|
849
|
-
"optional": false,
|
|
850
|
-
"docs": {
|
|
851
|
-
"tags": [],
|
|
852
|
-
"text": ""
|
|
853
|
-
},
|
|
854
|
-
"attribute": "show-icon",
|
|
855
|
-
"reflect": false,
|
|
856
|
-
"defaultValue": "false"
|
|
857
|
-
},
|
|
858
|
-
"size": {
|
|
859
|
-
"type": "string",
|
|
860
|
-
"mutable": true,
|
|
861
|
-
"complexType": {
|
|
862
|
-
"original": "SizeProp",
|
|
863
|
-
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
864
|
-
"references": {
|
|
865
|
-
"SizeProp": {
|
|
866
|
-
"location": "import",
|
|
867
|
-
"path": "./types"
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
},
|
|
871
|
-
"required": false,
|
|
872
|
-
"optional": false,
|
|
873
|
-
"docs": {
|
|
874
|
-
"tags": [],
|
|
875
|
-
"text": ""
|
|
876
|
-
},
|
|
877
|
-
"attribute": "size",
|
|
878
|
-
"reflect": false,
|
|
879
|
-
"defaultValue": "'medium'"
|
|
880
|
-
},
|
|
881
|
-
"selectedId": {
|
|
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": "selected-id",
|
|
896
|
-
"reflect": false
|
|
897
|
-
},
|
|
898
|
-
"checkedList": {
|
|
899
|
-
"type": "unknown",
|
|
900
|
-
"mutable": true,
|
|
901
|
-
"complexType": {
|
|
902
|
-
"original": "Array<any>",
|
|
903
|
-
"resolved": "any[]",
|
|
904
|
-
"references": {
|
|
905
|
-
"Array": {
|
|
906
|
-
"location": "global"
|
|
907
|
-
}
|
|
908
|
-
}
|
|
909
|
-
},
|
|
910
|
-
"required": false,
|
|
911
|
-
"optional": false,
|
|
912
|
-
"docs": {
|
|
913
|
-
"tags": [],
|
|
914
|
-
"text": ""
|
|
915
|
-
},
|
|
916
|
-
"defaultValue": "[]"
|
|
917
|
-
},
|
|
918
|
-
"updateCheckedList": {
|
|
919
|
-
"type": "unknown",
|
|
920
|
-
"mutable": true,
|
|
921
|
-
"complexType": {
|
|
922
|
-
"original": "Array<any>",
|
|
923
|
-
"resolved": "any[]",
|
|
924
|
-
"references": {
|
|
925
|
-
"Array": {
|
|
926
|
-
"location": "global"
|
|
927
|
-
}
|
|
928
|
-
}
|
|
929
|
-
},
|
|
930
|
-
"required": false,
|
|
931
|
-
"optional": false,
|
|
932
|
-
"docs": {
|
|
933
|
-
"tags": [],
|
|
934
|
-
"text": ""
|
|
935
|
-
},
|
|
936
|
-
"defaultValue": "[]"
|
|
937
|
-
},
|
|
938
|
-
"hidden": {
|
|
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": "hidden",
|
|
953
|
-
"reflect": false,
|
|
954
|
-
"defaultValue": "false"
|
|
955
|
-
},
|
|
956
|
-
"search": {
|
|
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": "search",
|
|
971
|
-
"reflect": false,
|
|
972
|
-
"defaultValue": "false"
|
|
973
|
-
},
|
|
974
|
-
"searchOnlyChild": {
|
|
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": "search-only-child",
|
|
989
|
-
"reflect": false,
|
|
990
|
-
"defaultValue": "false"
|
|
991
|
-
},
|
|
992
|
-
"keydown": {
|
|
993
|
-
"type": "boolean",
|
|
994
|
-
"mutable": true,
|
|
995
|
-
"complexType": {
|
|
996
|
-
"original": "boolean",
|
|
997
|
-
"resolved": "boolean",
|
|
998
|
-
"references": {}
|
|
999
|
-
},
|
|
1000
|
-
"required": false,
|
|
1001
|
-
"optional": false,
|
|
1002
|
-
"docs": {
|
|
1003
|
-
"tags": [],
|
|
1004
|
-
"text": ""
|
|
1005
|
-
},
|
|
1006
|
-
"attribute": "keydown",
|
|
1007
|
-
"reflect": false,
|
|
1008
|
-
"defaultValue": "false"
|
|
1009
|
-
},
|
|
1010
|
-
"allOpen": {
|
|
1011
|
-
"type": "boolean",
|
|
1012
|
-
"mutable": true,
|
|
1013
|
-
"complexType": {
|
|
1014
|
-
"original": "boolean",
|
|
1015
|
-
"resolved": "boolean",
|
|
1016
|
-
"references": {}
|
|
1017
|
-
},
|
|
1018
|
-
"required": false,
|
|
1019
|
-
"optional": false,
|
|
1020
|
-
"docs": {
|
|
1021
|
-
"tags": [],
|
|
1022
|
-
"text": ""
|
|
1023
|
-
},
|
|
1024
|
-
"attribute": "all-open",
|
|
1025
|
-
"reflect": false,
|
|
1026
|
-
"defaultValue": "false"
|
|
1027
|
-
},
|
|
1028
|
-
"fullWidth": {
|
|
1029
|
-
"type": "boolean",
|
|
1030
|
-
"mutable": true,
|
|
1031
|
-
"complexType": {
|
|
1032
|
-
"original": "boolean",
|
|
1033
|
-
"resolved": "boolean",
|
|
1034
|
-
"references": {}
|
|
1035
|
-
},
|
|
1036
|
-
"required": false,
|
|
1037
|
-
"optional": false,
|
|
1038
|
-
"docs": {
|
|
1039
|
-
"tags": [],
|
|
1040
|
-
"text": ""
|
|
1041
|
-
},
|
|
1042
|
-
"attribute": "full-width",
|
|
1043
|
-
"reflect": false,
|
|
1044
|
-
"defaultValue": "false"
|
|
1045
|
-
},
|
|
1046
|
-
"infoFooter": {
|
|
1047
|
-
"type": "boolean",
|
|
1048
|
-
"mutable": true,
|
|
1049
|
-
"complexType": {
|
|
1050
|
-
"original": "boolean",
|
|
1051
|
-
"resolved": "boolean",
|
|
1052
|
-
"references": {}
|
|
1053
|
-
},
|
|
1054
|
-
"required": false,
|
|
1055
|
-
"optional": false,
|
|
1056
|
-
"docs": {
|
|
1057
|
-
"tags": [],
|
|
1058
|
-
"text": ""
|
|
1059
|
-
},
|
|
1060
|
-
"attribute": "info-footer",
|
|
1061
|
-
"reflect": false,
|
|
1062
|
-
"defaultValue": "false"
|
|
1063
|
-
},
|
|
1064
|
-
"searchFields": {
|
|
1065
|
-
"type": "unknown",
|
|
1066
|
-
"mutable": true,
|
|
1067
|
-
"complexType": {
|
|
1068
|
-
"original": "Array<string>",
|
|
1069
|
-
"resolved": "string[]",
|
|
1070
|
-
"references": {
|
|
1071
|
-
"Array": {
|
|
1072
|
-
"location": "global"
|
|
1073
|
-
}
|
|
1074
|
-
}
|
|
1075
|
-
},
|
|
1076
|
-
"required": false,
|
|
1077
|
-
"optional": false,
|
|
1078
|
-
"docs": {
|
|
1079
|
-
"tags": [],
|
|
1080
|
-
"text": ""
|
|
1081
|
-
},
|
|
1082
|
-
"defaultValue": "['text', 'secondaryText', 'tooltipText']"
|
|
1083
|
-
},
|
|
1084
|
-
"searchSub": {
|
|
1085
|
-
"type": "string",
|
|
1086
|
-
"mutable": true,
|
|
1087
|
-
"complexType": {
|
|
1088
|
-
"original": "string",
|
|
1089
|
-
"resolved": "string",
|
|
1090
|
-
"references": {}
|
|
1091
|
-
},
|
|
1092
|
-
"required": false,
|
|
1093
|
-
"optional": false,
|
|
1094
|
-
"docs": {
|
|
1095
|
-
"tags": [],
|
|
1096
|
-
"text": ""
|
|
1097
|
-
},
|
|
1098
|
-
"attribute": "search-sub",
|
|
1099
|
-
"reflect": false,
|
|
1100
|
-
"defaultValue": "\"items\""
|
|
1101
|
-
},
|
|
1102
|
-
"returnField": {
|
|
1103
|
-
"type": "string",
|
|
1104
|
-
"mutable": true,
|
|
1105
|
-
"complexType": {
|
|
1106
|
-
"original": "string",
|
|
1107
|
-
"resolved": "string",
|
|
1108
|
-
"references": {}
|
|
1109
|
-
},
|
|
1110
|
-
"required": false,
|
|
1111
|
-
"optional": false,
|
|
1112
|
-
"docs": {
|
|
1113
|
-
"tags": [],
|
|
1114
|
-
"text": ""
|
|
1115
|
-
},
|
|
1116
|
-
"attribute": "return-field",
|
|
1117
|
-
"reflect": false,
|
|
1118
|
-
"defaultValue": "\"id\""
|
|
1119
|
-
},
|
|
1120
|
-
"_items": {
|
|
1121
|
-
"type": "string",
|
|
1122
|
-
"mutable": true,
|
|
1123
|
-
"complexType": {
|
|
1124
|
-
"original": "Array<object> | string",
|
|
1125
|
-
"resolved": "object[] | string",
|
|
1126
|
-
"references": {
|
|
1127
|
-
"Array": {
|
|
1128
|
-
"location": "global"
|
|
1129
|
-
}
|
|
1130
|
-
}
|
|
1131
|
-
},
|
|
1132
|
-
"required": false,
|
|
1133
|
-
"optional": false,
|
|
1134
|
-
"docs": {
|
|
1135
|
-
"tags": [],
|
|
1136
|
-
"text": ""
|
|
1137
|
-
},
|
|
1138
|
-
"attribute": "data",
|
|
1139
|
-
"reflect": false,
|
|
1140
|
-
"defaultValue": "[]"
|
|
1141
|
-
},
|
|
1142
|
-
"searchPlaceholder": {
|
|
1143
|
-
"type": "string",
|
|
1144
|
-
"mutable": true,
|
|
1145
|
-
"complexType": {
|
|
1146
|
-
"original": "string",
|
|
1147
|
-
"resolved": "string",
|
|
1148
|
-
"references": {}
|
|
1149
|
-
},
|
|
1150
|
-
"required": false,
|
|
1151
|
-
"optional": false,
|
|
1152
|
-
"docs": {
|
|
1153
|
-
"tags": [],
|
|
1154
|
-
"text": ""
|
|
1155
|
-
},
|
|
1156
|
-
"attribute": "searchplaceholder",
|
|
1157
|
-
"reflect": false,
|
|
1158
|
-
"defaultValue": "\"Search\""
|
|
1159
|
-
},
|
|
1160
|
-
"maxHeight": {
|
|
1161
|
-
"type": "string",
|
|
1162
|
-
"mutable": true,
|
|
1163
|
-
"complexType": {
|
|
1164
|
-
"original": "string",
|
|
1165
|
-
"resolved": "string",
|
|
1166
|
-
"references": {}
|
|
1167
|
-
},
|
|
1168
|
-
"required": false,
|
|
1169
|
-
"optional": false,
|
|
1170
|
-
"docs": {
|
|
1171
|
-
"tags": [],
|
|
1172
|
-
"text": ""
|
|
1173
|
-
},
|
|
1174
|
-
"attribute": "max-height",
|
|
1175
|
-
"reflect": false,
|
|
1176
|
-
"defaultValue": "null"
|
|
1177
|
-
},
|
|
1178
|
-
"highlight": {
|
|
1179
|
-
"type": "boolean",
|
|
1180
|
-
"mutable": true,
|
|
1181
|
-
"complexType": {
|
|
1182
|
-
"original": "boolean",
|
|
1183
|
-
"resolved": "boolean",
|
|
1184
|
-
"references": {}
|
|
1185
|
-
},
|
|
1186
|
-
"required": false,
|
|
1187
|
-
"optional": false,
|
|
1188
|
-
"docs": {
|
|
1189
|
-
"tags": [],
|
|
1190
|
-
"text": ""
|
|
1191
|
-
},
|
|
1192
|
-
"attribute": "highlight",
|
|
1193
|
-
"reflect": false,
|
|
1194
|
-
"defaultValue": "false"
|
|
1195
|
-
},
|
|
1196
|
-
"loading": {
|
|
1197
|
-
"type": "boolean",
|
|
1198
|
-
"mutable": true,
|
|
1199
|
-
"complexType": {
|
|
1200
|
-
"original": "boolean",
|
|
1201
|
-
"resolved": "boolean",
|
|
1202
|
-
"references": {}
|
|
1203
|
-
},
|
|
1204
|
-
"required": false,
|
|
1205
|
-
"optional": false,
|
|
1206
|
-
"docs": {
|
|
1207
|
-
"tags": [],
|
|
1208
|
-
"text": ""
|
|
1209
|
-
},
|
|
1210
|
-
"attribute": "loading",
|
|
1211
|
-
"reflect": false,
|
|
1212
|
-
"defaultValue": "true"
|
|
1213
|
-
},
|
|
1214
|
-
"favIcon": {
|
|
1215
|
-
"type": "boolean",
|
|
1216
|
-
"mutable": true,
|
|
1217
|
-
"complexType": {
|
|
1218
|
-
"original": "boolean",
|
|
1219
|
-
"resolved": "boolean",
|
|
1220
|
-
"references": {}
|
|
1221
|
-
},
|
|
1222
|
-
"required": false,
|
|
1223
|
-
"optional": false,
|
|
1224
|
-
"docs": {
|
|
1225
|
-
"tags": [],
|
|
1226
|
-
"text": ""
|
|
1227
|
-
},
|
|
1228
|
-
"attribute": "fav-icon",
|
|
1229
|
-
"reflect": false,
|
|
1230
|
-
"defaultValue": "false"
|
|
1231
|
-
},
|
|
1232
|
-
"favIconOnlyChilds": {
|
|
1233
|
-
"type": "boolean",
|
|
1234
|
-
"mutable": true,
|
|
1235
|
-
"complexType": {
|
|
1236
|
-
"original": "boolean",
|
|
1237
|
-
"resolved": "boolean",
|
|
1238
|
-
"references": {}
|
|
1239
|
-
},
|
|
1240
|
-
"required": false,
|
|
1241
|
-
"optional": false,
|
|
1242
|
-
"docs": {
|
|
1243
|
-
"tags": [],
|
|
1244
|
-
"text": ""
|
|
1245
|
-
},
|
|
1246
|
-
"attribute": "fav-icon-only-childs",
|
|
1247
|
-
"reflect": false,
|
|
1248
|
-
"defaultValue": "false"
|
|
1249
|
-
},
|
|
1250
|
-
"_internal_id": {
|
|
1251
|
-
"type": "string",
|
|
1252
|
-
"mutable": true,
|
|
1253
|
-
"complexType": {
|
|
1254
|
-
"original": "string",
|
|
1255
|
-
"resolved": "string",
|
|
1256
|
-
"references": {}
|
|
1257
|
-
},
|
|
1258
|
-
"required": false,
|
|
1259
|
-
"optional": false,
|
|
1260
|
-
"docs": {
|
|
1261
|
-
"tags": [],
|
|
1262
|
-
"text": ""
|
|
1263
|
-
},
|
|
1264
|
-
"attribute": "_internal_id",
|
|
1265
|
-
"reflect": true,
|
|
1266
|
-
"defaultValue": "(Math.random() * 4).toString(16).replace('.', '')"
|
|
1267
|
-
}
|
|
1268
|
-
}; }
|
|
1269
|
-
static get states() { return {
|
|
1270
|
-
"showSearch": {},
|
|
1271
|
-
"items": {},
|
|
1272
|
-
"total": {},
|
|
1273
|
-
"checkCount": {},
|
|
1274
|
-
"focusedElement": {},
|
|
1275
|
-
"keyMapForFocus": {},
|
|
1276
|
-
"checklist": {},
|
|
1277
|
-
"favoriteList": {},
|
|
1278
|
-
"checklistSorted": {},
|
|
1279
|
-
"searchData": {},
|
|
1280
|
-
"searchResults": {}
|
|
1281
|
-
}; }
|
|
1282
|
-
static get events() { return [{
|
|
1283
|
-
"method": "treeviewChange",
|
|
1284
|
-
"name": "bcm-treeview-change",
|
|
1285
|
-
"bubbles": true,
|
|
1286
|
-
"cancelable": true,
|
|
1287
|
-
"composed": true,
|
|
1288
|
-
"docs": {
|
|
1289
|
-
"tags": [],
|
|
1290
|
-
"text": "Component Events"
|
|
1291
|
-
},
|
|
1292
|
-
"complexType": {
|
|
1293
|
-
"original": "any",
|
|
1294
|
-
"resolved": "any",
|
|
1295
|
-
"references": {}
|
|
1296
|
-
}
|
|
1297
|
-
}, {
|
|
1298
|
-
"method": "treeviewSendCheck",
|
|
1299
|
-
"name": "bcm-treeview-send-check",
|
|
1300
|
-
"bubbles": true,
|
|
1301
|
-
"cancelable": true,
|
|
1302
|
-
"composed": true,
|
|
1303
|
-
"docs": {
|
|
1304
|
-
"tags": [],
|
|
1305
|
-
"text": ""
|
|
1306
|
-
},
|
|
1307
|
-
"complexType": {
|
|
1308
|
-
"original": "any",
|
|
1309
|
-
"resolved": "any",
|
|
1310
|
-
"references": {}
|
|
1311
|
-
}
|
|
1312
|
-
}, {
|
|
1313
|
-
"method": "treeviewSendUncheck",
|
|
1314
|
-
"name": "bcm-treeview-send-uncheck",
|
|
1315
|
-
"bubbles": true,
|
|
1316
|
-
"cancelable": true,
|
|
1317
|
-
"composed": true,
|
|
1318
|
-
"docs": {
|
|
1319
|
-
"tags": [],
|
|
1320
|
-
"text": ""
|
|
1321
|
-
},
|
|
1322
|
-
"complexType": {
|
|
1323
|
-
"original": "any",
|
|
1324
|
-
"resolved": "any",
|
|
1325
|
-
"references": {}
|
|
1326
|
-
}
|
|
1327
|
-
}, {
|
|
1328
|
-
"method": "treeviewChecklist",
|
|
1329
|
-
"name": "bcm-treeview-checklist",
|
|
1330
|
-
"bubbles": true,
|
|
1331
|
-
"cancelable": true,
|
|
1332
|
-
"composed": true,
|
|
1333
|
-
"docs": {
|
|
1334
|
-
"tags": [],
|
|
1335
|
-
"text": ""
|
|
1336
|
-
},
|
|
1337
|
-
"complexType": {
|
|
1338
|
-
"original": "any",
|
|
1339
|
-
"resolved": "any",
|
|
1340
|
-
"references": {}
|
|
1341
|
-
}
|
|
1342
|
-
}, {
|
|
1343
|
-
"method": "treeviewItemSelected",
|
|
1344
|
-
"name": "bcm-treeview-item-selected",
|
|
1345
|
-
"bubbles": true,
|
|
1346
|
-
"cancelable": true,
|
|
1347
|
-
"composed": true,
|
|
1348
|
-
"docs": {
|
|
1349
|
-
"tags": [],
|
|
1350
|
-
"text": ""
|
|
1351
|
-
},
|
|
1352
|
-
"complexType": {
|
|
1353
|
-
"original": "any",
|
|
1354
|
-
"resolved": "any",
|
|
1355
|
-
"references": {}
|
|
1356
|
-
}
|
|
1357
|
-
}, {
|
|
1358
|
-
"method": "treeviewClearSelecteds",
|
|
1359
|
-
"name": "bcm-treeview-clear-selecteds",
|
|
1360
|
-
"bubbles": true,
|
|
1361
|
-
"cancelable": true,
|
|
1362
|
-
"composed": true,
|
|
1363
|
-
"docs": {
|
|
1364
|
-
"tags": [],
|
|
1365
|
-
"text": ""
|
|
1366
|
-
},
|
|
1367
|
-
"complexType": {
|
|
1368
|
-
"original": "any",
|
|
1369
|
-
"resolved": "any",
|
|
1370
|
-
"references": {}
|
|
1371
|
-
}
|
|
1372
|
-
}, {
|
|
1373
|
-
"method": "treeviewShowContext",
|
|
1374
|
-
"name": "bcm-treeview-show-context",
|
|
1375
|
-
"bubbles": true,
|
|
1376
|
-
"cancelable": true,
|
|
1377
|
-
"composed": true,
|
|
1378
|
-
"docs": {
|
|
1379
|
-
"tags": [],
|
|
1380
|
-
"text": ""
|
|
1381
|
-
},
|
|
1382
|
-
"complexType": {
|
|
1383
|
-
"original": "any",
|
|
1384
|
-
"resolved": "any",
|
|
1385
|
-
"references": {}
|
|
1386
|
-
}
|
|
1387
|
-
}, {
|
|
1388
|
-
"method": "treeviewUnchecked",
|
|
1389
|
-
"name": "bcm-treeview-unchecked",
|
|
1390
|
-
"bubbles": true,
|
|
1391
|
-
"cancelable": true,
|
|
1392
|
-
"composed": true,
|
|
1393
|
-
"docs": {
|
|
1394
|
-
"tags": [],
|
|
1395
|
-
"text": ""
|
|
1396
|
-
},
|
|
1397
|
-
"complexType": {
|
|
1398
|
-
"original": "any",
|
|
1399
|
-
"resolved": "any",
|
|
1400
|
-
"references": {}
|
|
1401
|
-
}
|
|
1402
|
-
}, {
|
|
1403
|
-
"method": "treeviewChecked",
|
|
1404
|
-
"name": "bcm-treeview-checked",
|
|
1405
|
-
"bubbles": true,
|
|
1406
|
-
"cancelable": true,
|
|
1407
|
-
"composed": true,
|
|
1408
|
-
"docs": {
|
|
1409
|
-
"tags": [],
|
|
1410
|
-
"text": ""
|
|
1411
|
-
},
|
|
1412
|
-
"complexType": {
|
|
1413
|
-
"original": "any",
|
|
1414
|
-
"resolved": "any",
|
|
1415
|
-
"references": {}
|
|
1416
|
-
}
|
|
1417
|
-
}]; }
|
|
1418
|
-
static get methods() { return {
|
|
1419
|
-
"setData": {
|
|
1420
|
-
"complexType": {
|
|
1421
|
-
"signature": "(_data?: Array<object> | string) => Promise<boolean>",
|
|
1422
|
-
"parameters": [{
|
|
1423
|
-
"tags": [],
|
|
1424
|
-
"text": ""
|
|
1425
|
-
}],
|
|
1426
|
-
"references": {
|
|
1427
|
-
"Promise": {
|
|
1428
|
-
"location": "global"
|
|
1429
|
-
},
|
|
1430
|
-
"Array": {
|
|
1431
|
-
"location": "global"
|
|
1432
|
-
}
|
|
1433
|
-
},
|
|
1434
|
-
"return": "Promise<boolean>"
|
|
1435
|
-
},
|
|
1436
|
-
"docs": {
|
|
1437
|
-
"text": "",
|
|
1438
|
-
"tags": []
|
|
1439
|
-
}
|
|
1440
|
-
},
|
|
1441
|
-
"getChecklist": {
|
|
1442
|
-
"complexType": {
|
|
1443
|
-
"signature": "() => Promise<object[]>",
|
|
1444
|
-
"parameters": [],
|
|
1445
|
-
"references": {
|
|
1446
|
-
"Promise": {
|
|
1447
|
-
"location": "global"
|
|
1448
|
-
}
|
|
1449
|
-
},
|
|
1450
|
-
"return": "Promise<object[]>"
|
|
1451
|
-
},
|
|
1452
|
-
"docs": {
|
|
1453
|
-
"text": "",
|
|
1454
|
-
"tags": []
|
|
1455
|
-
}
|
|
1456
|
-
},
|
|
1457
|
-
"getFavorites": {
|
|
1458
|
-
"complexType": {
|
|
1459
|
-
"signature": "() => Promise<number[]>",
|
|
1460
|
-
"parameters": [],
|
|
1461
|
-
"references": {
|
|
1462
|
-
"Promise": {
|
|
1463
|
-
"location": "global"
|
|
1464
|
-
}
|
|
1465
|
-
},
|
|
1466
|
-
"return": "Promise<number[]>"
|
|
1467
|
-
},
|
|
1468
|
-
"docs": {
|
|
1469
|
-
"text": "",
|
|
1470
|
-
"tags": []
|
|
1471
|
-
}
|
|
1472
|
-
},
|
|
1473
|
-
"selected": {
|
|
1474
|
-
"complexType": {
|
|
1475
|
-
"signature": "(id: any) => Promise<void>",
|
|
1476
|
-
"parameters": [{
|
|
1477
|
-
"tags": [],
|
|
1478
|
-
"text": ""
|
|
1479
|
-
}],
|
|
1480
|
-
"references": {
|
|
1481
|
-
"Promise": {
|
|
1482
|
-
"location": "global"
|
|
1483
|
-
}
|
|
1484
|
-
},
|
|
1485
|
-
"return": "Promise<void>"
|
|
1486
|
-
},
|
|
1487
|
-
"docs": {
|
|
1488
|
-
"text": "",
|
|
1489
|
-
"tags": []
|
|
1490
|
-
}
|
|
1491
|
-
},
|
|
1492
|
-
"clearAndSelectSearch": {
|
|
1493
|
-
"complexType": {
|
|
1494
|
-
"signature": "(select?: boolean) => Promise<void>",
|
|
1495
|
-
"parameters": [{
|
|
1496
|
-
"tags": [],
|
|
1497
|
-
"text": ""
|
|
1498
|
-
}],
|
|
1499
|
-
"references": {
|
|
1500
|
-
"Promise": {
|
|
1501
|
-
"location": "global"
|
|
1502
|
-
}
|
|
1503
|
-
},
|
|
1504
|
-
"return": "Promise<void>"
|
|
1505
|
-
},
|
|
1506
|
-
"docs": {
|
|
1507
|
-
"text": "",
|
|
1508
|
-
"tags": []
|
|
1509
|
-
}
|
|
1510
|
-
},
|
|
1511
|
-
"addChecked": {
|
|
1512
|
-
"complexType": {
|
|
1513
|
-
"signature": "(items?: any[]) => Promise<void>",
|
|
1514
|
-
"parameters": [{
|
|
1515
|
-
"tags": [],
|
|
1516
|
-
"text": ""
|
|
1517
|
-
}],
|
|
1518
|
-
"references": {
|
|
1519
|
-
"Promise": {
|
|
1520
|
-
"location": "global"
|
|
1521
|
-
}
|
|
1522
|
-
},
|
|
1523
|
-
"return": "Promise<void>"
|
|
1524
|
-
},
|
|
1525
|
-
"docs": {
|
|
1526
|
-
"text": "",
|
|
1527
|
-
"tags": []
|
|
1528
|
-
}
|
|
1529
|
-
},
|
|
1530
|
-
"updateChecked": {
|
|
1531
|
-
"complexType": {
|
|
1532
|
-
"signature": "(items?: any[]) => Promise<void>",
|
|
1533
|
-
"parameters": [{
|
|
1534
|
-
"tags": [],
|
|
1535
|
-
"text": ""
|
|
1536
|
-
}],
|
|
1537
|
-
"references": {
|
|
1538
|
-
"Promise": {
|
|
1539
|
-
"location": "global"
|
|
1540
|
-
}
|
|
1541
|
-
},
|
|
1542
|
-
"return": "Promise<void>"
|
|
1543
|
-
},
|
|
1544
|
-
"docs": {
|
|
1545
|
-
"text": "",
|
|
1546
|
-
"tags": []
|
|
1547
|
-
}
|
|
1548
|
-
},
|
|
1549
|
-
"config": {
|
|
1550
|
-
"complexType": {
|
|
1551
|
-
"signature": "(_config: Array<object>) => Promise<boolean>",
|
|
1552
|
-
"parameters": [{
|
|
1553
|
-
"tags": [],
|
|
1554
|
-
"text": ""
|
|
1555
|
-
}],
|
|
1556
|
-
"references": {
|
|
1557
|
-
"Promise": {
|
|
1558
|
-
"location": "global"
|
|
1559
|
-
},
|
|
1560
|
-
"Array": {
|
|
1561
|
-
"location": "global"
|
|
1562
|
-
}
|
|
1563
|
-
},
|
|
1564
|
-
"return": "Promise<boolean>"
|
|
1565
|
-
},
|
|
1566
|
-
"docs": {
|
|
1567
|
-
"text": "",
|
|
1568
|
-
"tags": []
|
|
1569
|
-
}
|
|
1570
|
-
},
|
|
1571
|
-
"showSearchMethod": {
|
|
1572
|
-
"complexType": {
|
|
1573
|
-
"signature": "(val?: boolean) => Promise<void>",
|
|
1574
|
-
"parameters": [{
|
|
1575
|
-
"tags": [],
|
|
1576
|
-
"text": ""
|
|
1577
|
-
}],
|
|
1578
|
-
"references": {
|
|
1579
|
-
"Promise": {
|
|
1580
|
-
"location": "global"
|
|
1581
|
-
}
|
|
1582
|
-
},
|
|
1583
|
-
"return": "Promise<void>"
|
|
1584
|
-
},
|
|
1585
|
-
"docs": {
|
|
1586
|
-
"text": "",
|
|
1587
|
-
"tags": []
|
|
1588
|
-
}
|
|
1589
|
-
},
|
|
1590
|
-
"searchResultMethod": {
|
|
1591
|
-
"complexType": {
|
|
1592
|
-
"signature": "(items?: any) => Promise<void>",
|
|
1593
|
-
"parameters": [{
|
|
1594
|
-
"tags": [],
|
|
1595
|
-
"text": ""
|
|
1596
|
-
}],
|
|
1597
|
-
"references": {
|
|
1598
|
-
"Promise": {
|
|
1599
|
-
"location": "global"
|
|
1600
|
-
}
|
|
1601
|
-
},
|
|
1602
|
-
"return": "Promise<void>"
|
|
1603
|
-
},
|
|
1604
|
-
"docs": {
|
|
1605
|
-
"text": "",
|
|
1606
|
-
"tags": []
|
|
1607
|
-
}
|
|
1608
|
-
},
|
|
1609
|
-
"treeviewUncheckedMethod": {
|
|
1610
|
-
"complexType": {
|
|
1611
|
-
"signature": "(item: any) => Promise<boolean>",
|
|
1612
|
-
"parameters": [{
|
|
1613
|
-
"tags": [],
|
|
1614
|
-
"text": ""
|
|
1615
|
-
}],
|
|
1616
|
-
"references": {
|
|
1617
|
-
"Promise": {
|
|
1618
|
-
"location": "global"
|
|
1619
|
-
}
|
|
1620
|
-
},
|
|
1621
|
-
"return": "Promise<boolean>"
|
|
1622
|
-
},
|
|
1623
|
-
"docs": {
|
|
1624
|
-
"text": "",
|
|
1625
|
-
"tags": []
|
|
1626
|
-
}
|
|
1627
|
-
}
|
|
1628
|
-
}; }
|
|
1629
|
-
static get elementRef() { return "el"; }
|
|
1630
|
-
static get watchers() { return [{
|
|
1631
|
-
"propName": "_items",
|
|
1632
|
-
"methodName": "parseItems"
|
|
1633
|
-
}]; }
|
|
1634
|
-
static get listeners() { return [{
|
|
1635
|
-
"name": "bcm-on-search",
|
|
1636
|
-
"method": "listenSearchResult",
|
|
1637
|
-
"target": undefined,
|
|
1638
|
-
"capture": false,
|
|
1639
|
-
"passive": false
|
|
1640
|
-
}, {
|
|
1641
|
-
"name": "bcm-treeview-item-selected",
|
|
1642
|
-
"method": "handletreeviewItemSelected",
|
|
1643
|
-
"target": undefined,
|
|
1644
|
-
"capture": false,
|
|
1645
|
-
"passive": false
|
|
1646
|
-
}, {
|
|
1647
|
-
"name": "bcm-treeview-checked",
|
|
1648
|
-
"method": "handletreeviewChecked",
|
|
1649
|
-
"target": undefined,
|
|
1650
|
-
"capture": false,
|
|
1651
|
-
"passive": false
|
|
1652
|
-
}, {
|
|
1653
|
-
"name": "bcm-treeview-unchecked",
|
|
1654
|
-
"method": "handletreeviewUnchecked",
|
|
1655
|
-
"target": undefined,
|
|
1656
|
-
"capture": false,
|
|
1657
|
-
"passive": false
|
|
1658
|
-
}, {
|
|
1659
|
-
"name": "bcm-treeview-indeterminate-checked",
|
|
1660
|
-
"method": "handletreeviewIndeterminateChecked",
|
|
1661
|
-
"target": undefined,
|
|
1662
|
-
"capture": false,
|
|
1663
|
-
"passive": false
|
|
1664
|
-
}, {
|
|
1665
|
-
"name": "bcm-treeview-indeterminate-unchecked",
|
|
1666
|
-
"method": "handletreeviewIndeterminateUnchecked",
|
|
1667
|
-
"target": undefined,
|
|
1668
|
-
"capture": false,
|
|
1669
|
-
"passive": false
|
|
1670
|
-
}, {
|
|
1671
|
-
"name": "contextmenu",
|
|
1672
|
-
"method": "handleRightClick",
|
|
1673
|
-
"target": undefined,
|
|
1674
|
-
"capture": false,
|
|
1675
|
-
"passive": false
|
|
1676
|
-
}, {
|
|
1677
|
-
"name": "keyup",
|
|
1678
|
-
"method": "keyboardNavigationUp",
|
|
1679
|
-
"target": "document",
|
|
1680
|
-
"capture": false,
|
|
1681
|
-
"passive": false
|
|
1682
|
-
}, {
|
|
1683
|
-
"name": "keydown",
|
|
1684
|
-
"method": "keyboardNavigation",
|
|
1685
|
-
"target": "document",
|
|
1686
|
-
"capture": false,
|
|
1687
|
-
"passive": false
|
|
1688
|
-
}]; }
|
|
1689
|
-
}
|