bromcom-ui 2.7.36-rc.11 → 2.7.36-rc.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-7386f0eb.entry.js → p-043fadc2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-50d9b950.entry.js → p-07990577.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0505b430.entry.js → p-10b6faa4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-febeb28c.entry.js → p-1e15f9e2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fcd2ded4.entry.js → p-208ecb7e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bddecc0e.js → p-2900dc18.js} +1 -1
- package/dist/bromcom-ui/{p-eefa89b6.entry.js → p-2e9f7f67.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c00cbc3c.js → p-2ed0035c.js} +1 -1
- package/dist/bromcom-ui/{p-7d21bcdb.entry.js → p-33da36fe.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d2d00b45.entry.js → p-427d4cfe.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8a189e31.entry.js → p-45f4c48d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a7f8e8af.entry.js → p-4cffee4c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c8dae4b7.entry.js → p-4f425a06.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d2101bab.entry.js → p-5562a6f8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b339c2f1.entry.js → p-5cfa60d9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ae8f263e.entry.js → p-5dbd14ee.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8a66f4e1.entry.js → p-66ca7f5c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cef328d2.entry.js → p-73a5514c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1e4c4c89.entry.js → p-7a1590ef.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1c211b1a.entry.js → p-7aa7ba95.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4595d534.entry.js → p-7afaa032.entry.js} +1 -1
- package/dist/bromcom-ui/{p-89241a6e.entry.js → p-85b66c30.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3330b325.js → p-8737b92d.js} +1 -1
- package/dist/bromcom-ui/{p-1aa2c6f1.entry.js → p-8e30c3ab.entry.js} +1 -1
- package/dist/bromcom-ui/{p-36168a4c.entry.js → p-8fc020d6.entry.js} +1 -1
- package/dist/bromcom-ui/p-923d0d7b.js +5 -0
- package/dist/bromcom-ui/{p-ed6d2390.entry.js → p-95506f91.entry.js} +1 -1
- package/dist/bromcom-ui/{p-950af117.js → p-971036f3.js} +1 -1
- package/dist/bromcom-ui/{p-00028e84.entry.js → p-99f802df.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b0ecb69b.entry.js → p-9a843ddf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ed8e6005.entry.js → p-9cca42a9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-81dff515.entry.js → p-a855cd39.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ab7bb0f5.entry.js → p-a9838689.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d7189ee1.entry.js → p-abedcdee.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d8ef8c9d.entry.js → p-b5c23d92.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c5c60034.entry.js → p-bf52d000.entry.js} +1 -1
- package/dist/bromcom-ui/{p-49be07bc.entry.js → p-c67b5116.entry.js} +1 -1
- package/dist/bromcom-ui/{p-01951e92.entry.js → p-ce62e9f4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-16f3143c.entry.js → p-cf1e59a8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c5dcbc05.entry.js → p-dc5789ce.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c268491e.entry.js → p-dc94fe09.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ae99e107.entry.js → p-ddce2fc7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d2f22f4b.js → p-df8fe884.js} +1 -1
- package/dist/bromcom-ui/{p-97a630d5.entry.js → p-e43c47dc.entry.js} +1 -1
- package/dist/bromcom-ui/p-ee265d02.js +5 -0
- package/package.json +1 -1
- package/dist/bromcom-ui/p-940d3fc3.js +0 -5
- package/dist/bromcom-ui/p-a6fb1b6f.js +0 -5
- package/dist/cjs/_commonjsHelpers-bd20f4c0.js +0 -29
- package/dist/cjs/bcm-2c51bf0c.js +0 -448
- package/dist/cjs/bcm-accordion.cjs.entry.js +0 -85
- package/dist/cjs/bcm-alert.cjs.entry.js +0 -112
- package/dist/cjs/bcm-attendance.cjs.entry.js +0 -50
- package/dist/cjs/bcm-autocomplete.cjs.entry.js +0 -155
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -156
- package/dist/cjs/bcm-box.cjs.entry.js +0 -35
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +0 -67
- package/dist/cjs/bcm-button-group.cjs.entry.js +0 -102
- package/dist/cjs/bcm-button_13.cjs.entry.js +0 -1981
- package/dist/cjs/bcm-card.cjs.entry.js +0 -76
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +0 -409
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +0 -2570
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -203
- package/dist/cjs/bcm-chip.cjs.entry.js +0 -70
- package/dist/cjs/bcm-collapse-group.cjs.entry.js +0 -57
- package/dist/cjs/bcm-collapse.cjs.entry.js +0 -58
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +0 -433
- package/dist/cjs/bcm-date-picker.cjs.entry.js +0 -171
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +0 -1432
- package/dist/cjs/bcm-default.cjs.entry.js +0 -40
- package/dist/cjs/bcm-drawer.cjs.entry.js +0 -111
- package/dist/cjs/bcm-error-layout.cjs.entry.js +0 -78
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +0 -127
- package/dist/cjs/bcm-form-2.cjs.entry.js +0 -205
- package/dist/cjs/bcm-form-group.cjs.entry.js +0 -45
- package/dist/cjs/bcm-input.cjs.entry.js +0 -324
- package/dist/cjs/bcm-link.cjs.entry.js +0 -62
- package/dist/cjs/bcm-linked.cjs.entry.js +0 -83
- package/dist/cjs/bcm-list.cjs.entry.js +0 -1761
- package/dist/cjs/bcm-message.cjs.entry.js +0 -99
- package/dist/cjs/bcm-modal.cjs.entry.js +0 -137
- package/dist/cjs/bcm-notification.cjs.entry.js +0 -103
- package/dist/cjs/bcm-old-input.cjs.entry.js +0 -398
- package/dist/cjs/bcm-old-tag_2.cjs.entry.js +0 -157
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +0 -122
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +0 -112
- package/dist/cjs/bcm-progress.cjs.entry.js +0 -174
- package/dist/cjs/bcm-radio-group.cjs.entry.js +0 -267
- package/dist/cjs/bcm-radio.cjs.entry.js +0 -104
- package/dist/cjs/bcm-range.cjs.entry.js +0 -189
- package/dist/cjs/bcm-result.cjs.entry.js +0 -79
- package/dist/cjs/bcm-search.cjs.entry.js +0 -256
- package/dist/cjs/bcm-select-group.cjs.entry.js +0 -31
- package/dist/cjs/bcm-select-option.cjs.entry.js +0 -37
- package/dist/cjs/bcm-select.cjs.entry.js +0 -1181
- package/dist/cjs/bcm-skeleton.cjs.entry.js +0 -56
- package/dist/cjs/bcm-step.cjs.entry.js +0 -93
- package/dist/cjs/bcm-stepper.cjs.entry.js +0 -211
- package/dist/cjs/bcm-tab-group.cjs.entry.js +0 -172
- package/dist/cjs/bcm-tab-pane.cjs.entry.js +0 -70
- package/dist/cjs/bcm-tab.cjs.entry.js +0 -89
- package/dist/cjs/bcm-table.cjs.entry.js +0 -78
- package/dist/cjs/bcm-tabs-content.cjs.entry.js +0 -62
- package/dist/cjs/bcm-tabs.cjs.entry.js +0 -390
- package/dist/cjs/bcm-tag.cjs.entry.js +0 -101
- package/dist/cjs/bcm-textarea.cjs.entry.js +0 -150
- package/dist/cjs/bcm-time-picker.cjs.entry.js +0 -139
- package/dist/cjs/bcm-timeline-item.cjs.entry.js +0 -55
- package/dist/cjs/bcm-timeline.cjs.entry.js +0 -73
- package/dist/cjs/bcm-treeview-group.cjs.entry.js +0 -23
- package/dist/cjs/bromcom-ui.cjs.js +0 -24
- package/dist/cjs/caption-template-abc6b8bd.js +0 -34
- package/dist/cjs/color-helper-c9882bd8.js +0 -490
- package/dist/cjs/colors-56282b00.js +0 -224
- package/dist/cjs/datetime-helper-eaf4fadb.js +0 -11
- package/dist/cjs/element-dragger-a8562f82.js +0 -279
- package/dist/cjs/generate-f31baeb2.js +0 -198
- package/dist/cjs/global-b0d21446.js +0 -15
- package/dist/cjs/index-53637125.js +0 -1864
- package/dist/cjs/index-89682d55.js +0 -193
- package/dist/cjs/index-a2b50e51.js +0 -64
- package/dist/cjs/index.cjs.js +0 -6
- package/dist/cjs/input-template-9d262873.js +0 -86
- package/dist/cjs/is-load-decorator-20a4687b.js +0 -56
- package/dist/cjs/json-parse-decarator-c3596560.js +0 -40
- package/dist/cjs/label-template-b35d7e8e.js +0 -23
- package/dist/cjs/loader.cjs.js +0 -26
- package/dist/cjs/number-helper-0975436a.js +0 -20
- package/dist/cjs/old-bcm-popover.cjs.entry.js +0 -104
- package/dist/cjs/popover-placement-87901bb3.js +0 -98
- package/dist/cjs/property-decorators-b0cb1a50.js +0 -33
- package/dist/cjs/slot-template-546b0f5a.js +0 -15
- package/dist/cjs/stepper-states-0a54437d.js +0 -83
- package/dist/cjs/string-helper-df40a475.js +0 -134
- package/dist/cjs/tooltip-helper-6b5d41a4.js +0 -1449
- package/dist/cjs/types-3871235f.js +0 -32
- package/dist/cjs/types-6eb7e028.js +0 -32
- package/dist/cjs/types-cc4adee7.js +0 -19
- package/dist/cjs/utils-fc077139.js +0 -131
- package/dist/cjs/validators-f572960b.js +0 -33
- package/dist/collection/collection-manifest.json +0 -95
- package/dist/collection/components/atoms/avatar/avatar.css +0 -448
- package/dist/collection/components/atoms/avatar/avatar.js +0 -259
- package/dist/collection/components/atoms/badge/badge.css +0 -481
- package/dist/collection/components/atoms/badge/badge.js +0 -224
- package/dist/collection/components/atoms/box/box.js +0 -23
- package/dist/collection/components/atoms/button/button.css +0 -637
- package/dist/collection/components/atoms/button/button.js +0 -525
- package/dist/collection/components/atoms/button/types.js +0 -170
- package/dist/collection/components/atoms/chip/chip.css +0 -453
- package/dist/collection/components/atoms/chip/chip.js +0 -187
- package/dist/collection/components/atoms/divider/divider.css +0 -142
- package/dist/collection/components/atoms/divider/divider.js +0 -83
- package/dist/collection/components/atoms/icon/icon.css +0 -127
- package/dist/collection/components/atoms/icon/icon.js +0 -70
- package/dist/collection/components/atoms/label/label.css +0 -408
- package/dist/collection/components/atoms/label/label.js +0 -216
- package/dist/collection/components/atoms/link/link.css +0 -419
- package/dist/collection/components/atoms/link/link.js +0 -176
- package/dist/collection/components/atoms/states/button.states.js +0 -31
- package/dist/collection/components/atoms/tag/tag.js +0 -334
- package/dist/collection/components/atoms/tag/types.js +0 -30
- package/dist/collection/components/atoms/typography/typography.js +0 -23
- package/dist/collection/components/molecules/accordion/accordion.css +0 -127
- package/dist/collection/components/molecules/accordion/accordion.js +0 -129
- package/dist/collection/components/molecules/alert/alert.css +0 -191
- package/dist/collection/components/molecules/alert/alert.js +0 -298
- package/dist/collection/components/molecules/alert/types.js +0 -23
- package/dist/collection/components/molecules/breadcrumb/breadcrumb.css +0 -201
- package/dist/collection/components/molecules/breadcrumb/breadcrumb.js +0 -155
- package/dist/collection/components/molecules/breadcrumb/types.js +0 -5
- package/dist/collection/components/molecules/button-group/button-group.css +0 -423
- package/dist/collection/components/molecules/button-group/button-group.js +0 -235
- package/dist/collection/components/molecules/card/card.css +0 -408
- package/dist/collection/components/molecules/card/card.js +0 -128
- package/dist/collection/components/molecules/checkbox/checkbox-lite.js +0 -237
- package/dist/collection/components/molecules/checkbox/checkbox.css +0 -1280
- package/dist/collection/components/molecules/checkbox/checkbox.js +0 -688
- package/dist/collection/components/molecules/checkbox/group.css +0 -156
- package/dist/collection/components/molecules/checkbox/group.js +0 -779
- package/dist/collection/components/molecules/drawer/drawer.css +0 -502
- package/dist/collection/components/molecules/drawer/drawer.js +0 -272
- package/dist/collection/components/molecules/dropdown/dropdown.css +0 -419
- package/dist/collection/components/molecules/dropdown/dropdown.js +0 -839
- package/dist/collection/components/molecules/empty/empty.js +0 -44
- package/dist/collection/components/molecules/error-layout/error-layout.css +0 -396
- package/dist/collection/components/molecules/error-layout/error-layout.js +0 -177
- package/dist/collection/components/molecules/error-layout/types.js +0 -5
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +0 -488
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +0 -322
- package/dist/collection/components/molecules/input/input.css +0 -1208
- package/dist/collection/components/molecules/input/input.js +0 -1170
- package/dist/collection/components/molecules/input/types.js +0 -17
- package/dist/collection/components/molecules/item/item.css +0 -446
- package/dist/collection/components/molecules/item/item.js +0 -151
- package/dist/collection/components/molecules/items/items.js +0 -84
- package/dist/collection/components/molecules/linked/linked.js +0 -179
- package/dist/collection/components/molecules/menu/menu.css +0 -718
- package/dist/collection/components/molecules/menu/menu.js +0 -618
- package/dist/collection/components/molecules/message/message.css +0 -165
- package/dist/collection/components/molecules/message/message.js +0 -222
- package/dist/collection/components/molecules/message/types.js +0 -14
- package/dist/collection/components/molecules/modal/modal.css +0 -526
- package/dist/collection/components/molecules/modal/modal.js +0 -379
- package/dist/collection/components/molecules/notification/notification.css +0 -183
- package/dist/collection/components/molecules/notification/notification.js +0 -244
- package/dist/collection/components/molecules/notification/types.js +0 -15
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +0 -563
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.js +0 -396
- package/dist/collection/components/molecules/popconfirm/popconfirm.css +0 -127
- package/dist/collection/components/molecules/popconfirm/popconfirm.js +0 -382
- package/dist/collection/components/molecules/popover/popover.js +0 -254
- package/dist/collection/components/molecules/progress/progress.css +0 -486
- package/dist/collection/components/molecules/progress/progress.js +0 -404
- package/dist/collection/components/molecules/progress/types.js +0 -28
- package/dist/collection/components/molecules/radio/group.css +0 -798
- package/dist/collection/components/molecules/radio/group.js +0 -652
- package/dist/collection/components/molecules/radio/radio.css +0 -1280
- package/dist/collection/components/molecules/radio/radio.js +0 -291
- package/dist/collection/components/molecules/radio/types.js +0 -30
- package/dist/collection/components/molecules/range/range.css +0 -570
- package/dist/collection/components/molecules/range/range.js +0 -472
- package/dist/collection/components/molecules/result/result.css +0 -164
- package/dist/collection/components/molecules/result/result.js +0 -143
- package/dist/collection/components/molecules/result/types.js +0 -22
- package/dist/collection/components/molecules/search/search.css +0 -1208
- package/dist/collection/components/molecules/search/search.js +0 -406
- package/dist/collection/components/molecules/skeleton/skeleton.js +0 -94
- package/dist/collection/components/molecules/states/alert.states.js +0 -25
- package/dist/collection/components/molecules/states/checkbox-group.states.js +0 -199
- package/dist/collection/components/molecules/states/radio-group.states.js +0 -107
- package/dist/collection/components/molecules/states/search.states.js +0 -137
- package/dist/collection/components/molecules/states/stepper-states.js +0 -79
- package/dist/collection/components/molecules/stepper/step.js +0 -346
- package/dist/collection/components/molecules/stepper/stepper.css +0 -617
- package/dist/collection/components/molecules/stepper/stepper.js +0 -484
- package/dist/collection/components/molecules/switch/switch.css +0 -1272
- package/dist/collection/components/molecules/switch/switch.js +0 -716
- package/dist/collection/components/molecules/tab-group/tab-group.js +0 -280
- package/dist/collection/components/molecules/textarea/textarea.css +0 -1208
- package/dist/collection/components/molecules/textarea/textarea.js +0 -731
- package/dist/collection/components/molecules/textarea/types.js +0 -13
- package/dist/collection/components/molecules/timeline/timeline-item.css +0 -254
- package/dist/collection/components/molecules/timeline/timeline-item.js +0 -159
- package/dist/collection/components/molecules/timeline/timeline.css +0 -205
- package/dist/collection/components/molecules/timeline/timeline.js +0 -125
- package/dist/collection/components/molecules/tooltip/tooltip.js +0 -232
- package/dist/collection/components/organism/autocomplete/autocomplete.css +0 -168
- package/dist/collection/components/organism/autocomplete/autocomplete.js +0 -399
- package/dist/collection/components/organism/colorpicker/colorpicker.css +0 -313
- package/dist/collection/components/organism/colorpicker/colorpicker.js +0 -774
- package/dist/collection/components/organism/colorpicker/static/chess.png +0 -0
- package/dist/collection/components/organism/colorpicker/static/color.svg +0 -14
- package/dist/collection/components/organism/colorpicker/static/colors.svg +0 -16
- package/dist/collection/components/organism/date-picker/date-picker.css +0 -141
- package/dist/collection/components/organism/date-picker/date-picker.js +0 -780
- package/dist/collection/components/organism/datetime-picker/datetime-picker.css +0 -1429
- package/dist/collection/components/organism/datetime-picker/datetime-picker.js +0 -2166
- package/dist/collection/components/organism/datetime-picker/types.js +0 -39
- package/dist/collection/components/organism/form/form-group.css +0 -131
- package/dist/collection/components/organism/form/form-group.js +0 -131
- package/dist/collection/components/organism/form/form.css +0 -132
- package/dist/collection/components/organism/form/form.js +0 -680
- package/dist/collection/components/organism/form-2/bcm-form-components.js +0 -26
- package/dist/collection/components/organism/form-2/form-2.css +0 -127
- package/dist/collection/components/organism/form-2/form-2.js +0 -328
- package/dist/collection/components/organism/list/list-key-control.js +0 -125
- package/dist/collection/components/organism/list/list-tag-control.js +0 -172
- package/dist/collection/components/organism/list/list.css +0 -2047
- package/dist/collection/components/organism/list/list.js +0 -1860
- package/dist/collection/components/organism/states/bcm-list2.states.js +0 -532
- package/dist/collection/components/organism/time-picker/time-picker.css +0 -141
- package/dist/collection/components/organism/time-picker/time-picker.js +0 -627
- package/dist/collection/components/other/attendance/attendance.css +0 -433
- package/dist/collection/components/other/attendance/attendance.js +0 -87
- package/dist/collection/components/other/data-table/table.css +0 -130
- package/dist/collection/components/other/data-table/table.js +0 -92
- package/dist/collection/components/other/default/default.css +0 -127
- package/dist/collection/components/other/default/default.js +0 -54
- package/dist/collection/components/other_deprecated/collapse/collapse.css +0 -177
- package/dist/collection/components/other_deprecated/collapse/collapse.js +0 -163
- package/dist/collection/components/other_deprecated/collapse/group.js +0 -128
- package/dist/collection/components/other_deprecated/listbox/listbox-group.css +0 -139
- package/dist/collection/components/other_deprecated/listbox/listbox-group.js +0 -93
- package/dist/collection/components/other_deprecated/listbox/listbox-item.css +0 -269
- package/dist/collection/components/other_deprecated/listbox/listbox-item.js +0 -641
- package/dist/collection/components/other_deprecated/listbox/listbox.css +0 -365
- package/dist/collection/components/other_deprecated/listbox/listbox.js +0 -1999
- package/dist/collection/components/other_deprecated/listbox/types.js +0 -11
- package/dist/collection/components/other_deprecated/old-input/old-input.css +0 -1360
- package/dist/collection/components/other_deprecated/old-input/old-input.js +0 -1154
- package/dist/collection/components/other_deprecated/old-input/types.js +0 -17
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +0 -582
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.js +0 -411
- package/dist/collection/components/other_deprecated/old-popover/old-popover.css +0 -127
- package/dist/collection/components/other_deprecated/old-popover/old-popover.js +0 -296
- package/dist/collection/components/other_deprecated/old-search/old-search.css +0 -131
- package/dist/collection/components/other_deprecated/old-search/old-search.js +0 -496
- package/dist/collection/components/other_deprecated/old-tag/old-tag.css +0 -305
- package/dist/collection/components/other_deprecated/old-tag/old-tag.js +0 -326
- package/dist/collection/components/other_deprecated/old-tag/types.js +0 -30
- package/dist/collection/components/other_deprecated/select/group.css +0 -144
- package/dist/collection/components/other_deprecated/select/group.js +0 -88
- package/dist/collection/components/other_deprecated/select/option.css +0 -164
- package/dist/collection/components/other_deprecated/select/option.js +0 -142
- package/dist/collection/components/other_deprecated/select/select-box.css +0 -143
- package/dist/collection/components/other_deprecated/select/select-box.js +0 -104
- package/dist/collection/components/other_deprecated/select/select.css +0 -364
- package/dist/collection/components/other_deprecated/select/select.js +0 -2229
- package/dist/collection/components/other_deprecated/tabs/tab-pane.css +0 -142
- package/dist/collection/components/other_deprecated/tabs/tab-pane.js +0 -168
- package/dist/collection/components/other_deprecated/tabs/tab.css +0 -587
- package/dist/collection/components/other_deprecated/tabs/tab.js +0 -303
- package/dist/collection/components/other_deprecated/tabs/tabs-content.css +0 -136
- package/dist/collection/components/other_deprecated/tabs/tabs-content.js +0 -147
- package/dist/collection/components/other_deprecated/tabs/tabs.css +0 -212
- package/dist/collection/components/other_deprecated/tabs/tabs.js +0 -806
- package/dist/collection/components/other_deprecated/tabs/types.js +0 -30
- package/dist/collection/components/other_deprecated/text/text.css +0 -429
- package/dist/collection/components/other_deprecated/text/text.js +0 -159
- package/dist/collection/components/other_deprecated/treeview/treeview-group.css +0 -0
- package/dist/collection/components/other_deprecated/treeview/treeview-group.js +0 -18
- package/dist/collection/components/other_deprecated/treeview/treeview-item.css +0 -318
- package/dist/collection/components/other_deprecated/treeview/treeview-item.js +0 -977
- package/dist/collection/components/other_deprecated/treeview/treeview.css +0 -190
- package/dist/collection/components/other_deprecated/treeview/treeview.js +0 -1699
- package/dist/collection/components/other_deprecated/treeview/types.js +0 -11
- package/dist/collection/decorators/id-decorator.js +0 -18
- package/dist/collection/decorators/index.js +0 -8
- package/dist/collection/decorators/is-load-decorator.js +0 -51
- package/dist/collection/decorators/json-parse-decarator.js +0 -35
- package/dist/collection/decorators/property-decorators.js +0 -28
- package/dist/collection/global/components/_checkbox.css +0 -627
- package/dist/collection/global/config.js +0 -45
- package/dist/collection/global/global.js +0 -43
- package/dist/collection/global/variables/colors.js +0 -220
- package/dist/collection/helper/color-helper.js +0 -81
- package/dist/collection/helper/content-helper.js +0 -63
- package/dist/collection/helper/datetime-helper.js +0 -7
- package/dist/collection/helper/generate.js +0 -163
- package/dist/collection/helper/index.js +0 -13
- package/dist/collection/helper/number-helper.js +0 -15
- package/dist/collection/helper/popover-helper.js +0 -104
- package/dist/collection/helper/string-helper.js +0 -65
- package/dist/collection/helper/tooltip-helper.js +0 -93
- package/dist/collection/helper/validators.js +0 -28
- package/dist/collection/index.js +0 -5
- package/dist/collection/models/abstract-classes/abstract-key-control.js +0 -97
- package/dist/collection/models/bcm-types.js +0 -5
- package/dist/collection/models/bcm.js +0 -466
- package/dist/collection/models/index.js +0 -6
- package/dist/collection/models/states/atoms/bcm-atoms-state.js +0 -5
- package/dist/collection/models/states/molecules/bcm-molecules-state.js +0 -5
- package/dist/collection/models/states/organisms/bcm-organisms-state.js +0 -5
- package/dist/collection/templates/button-template.js +0 -22
- package/dist/collection/templates/caption-template.js +0 -29
- package/dist/collection/templates/checkbox-group-template.js +0 -10
- package/dist/collection/templates/checkbox-template.js +0 -31
- package/dist/collection/templates/icon-template.js +0 -24
- package/dist/collection/templates/index.js +0 -17
- package/dist/collection/templates/info-footer-template.js +0 -16
- package/dist/collection/templates/input-template.js +0 -81
- package/dist/collection/templates/label-template.js +0 -18
- package/dist/collection/templates/list-item-template.js +0 -58
- package/dist/collection/templates/list-template.js +0 -24
- package/dist/collection/templates/slot-template.js +0 -10
- package/dist/collection/templates/step-template.js +0 -26
- package/dist/collection/templates/tag-template.js +0 -45
- package/dist/collection/types/index.js +0 -5
- package/dist/collection/utils/element-dragger.js +0 -274
- package/dist/collection/utils/floating-ui.js +0 -62
- package/dist/collection/utils/index.js +0 -9
- package/dist/collection/utils/popover-placement.js +0 -96
- package/dist/collection/utils/utils.js +0 -223
- package/dist/collection/utils/validation.js +0 -47
- package/dist/esm/_commonjsHelpers-3016b722.js +0 -25
- package/dist/esm/bcm-accordion.entry.js +0 -81
- package/dist/esm/bcm-alert.entry.js +0 -108
- package/dist/esm/bcm-attendance.entry.js +0 -46
- package/dist/esm/bcm-autocomplete.entry.js +0 -151
- package/dist/esm/bcm-avatar_2.entry.js +0 -151
- package/dist/esm/bcm-b8d8a236.js +0 -446
- package/dist/esm/bcm-box.entry.js +0 -31
- package/dist/esm/bcm-breadcrumb.entry.js +0 -63
- package/dist/esm/bcm-button-group.entry.js +0 -98
- package/dist/esm/bcm-button_13.entry.js +0 -1965
- package/dist/esm/bcm-card.entry.js +0 -72
- package/dist/esm/bcm-checkbox-group.entry.js +0 -405
- package/dist/esm/bcm-checkbox-lite_9.entry.js +0 -2558
- package/dist/esm/bcm-checkbox_2.entry.js +0 -198
- package/dist/esm/bcm-chip.entry.js +0 -66
- package/dist/esm/bcm-collapse-group.entry.js +0 -53
- package/dist/esm/bcm-collapse.entry.js +0 -54
- package/dist/esm/bcm-colorpicker.entry.js +0 -429
- package/dist/esm/bcm-date-picker.entry.js +0 -167
- package/dist/esm/bcm-datetime-picker.entry.js +0 -1428
- package/dist/esm/bcm-default.entry.js +0 -36
- package/dist/esm/bcm-drawer.entry.js +0 -107
- package/dist/esm/bcm-error-layout.entry.js +0 -74
- package/dist/esm/bcm-expansion-panel.entry.js +0 -123
- package/dist/esm/bcm-form-2.entry.js +0 -201
- package/dist/esm/bcm-form-group.entry.js +0 -41
- package/dist/esm/bcm-input.entry.js +0 -320
- package/dist/esm/bcm-link.entry.js +0 -58
- package/dist/esm/bcm-linked.entry.js +0 -79
- package/dist/esm/bcm-list.entry.js +0 -1757
- package/dist/esm/bcm-message.entry.js +0 -95
- package/dist/esm/bcm-modal.entry.js +0 -133
- package/dist/esm/bcm-notification.entry.js +0 -99
- package/dist/esm/bcm-old-input.entry.js +0 -394
- package/dist/esm/bcm-old-tag_2.entry.js +0 -152
- package/dist/esm/bcm-popconfirm-box.entry.js +0 -118
- package/dist/esm/bcm-popconfirm.entry.js +0 -108
- package/dist/esm/bcm-progress.entry.js +0 -170
- package/dist/esm/bcm-radio-group.entry.js +0 -263
- package/dist/esm/bcm-radio.entry.js +0 -100
- package/dist/esm/bcm-range.entry.js +0 -185
- package/dist/esm/bcm-result.entry.js +0 -75
- package/dist/esm/bcm-search.entry.js +0 -252
- package/dist/esm/bcm-select-group.entry.js +0 -27
- package/dist/esm/bcm-select-option.entry.js +0 -33
- package/dist/esm/bcm-select.entry.js +0 -1177
- package/dist/esm/bcm-skeleton.entry.js +0 -52
- package/dist/esm/bcm-step.entry.js +0 -89
- package/dist/esm/bcm-stepper.entry.js +0 -207
- package/dist/esm/bcm-tab-group.entry.js +0 -168
- package/dist/esm/bcm-tab-pane.entry.js +0 -66
- package/dist/esm/bcm-tab.entry.js +0 -85
- package/dist/esm/bcm-table.entry.js +0 -74
- package/dist/esm/bcm-tabs-content.entry.js +0 -58
- package/dist/esm/bcm-tabs.entry.js +0 -386
- package/dist/esm/bcm-tag.entry.js +0 -97
- package/dist/esm/bcm-textarea.entry.js +0 -146
- package/dist/esm/bcm-time-picker.entry.js +0 -135
- package/dist/esm/bcm-timeline-item.entry.js +0 -51
- package/dist/esm/bcm-timeline.entry.js +0 -69
- package/dist/esm/bcm-treeview-group.entry.js +0 -19
- package/dist/esm/bromcom-ui.js +0 -22
- package/dist/esm/caption-template-3dc68282.js +0 -32
- package/dist/esm/color-helper-7e202fd8.js +0 -488
- package/dist/esm/colors-1d7854ea.js +0 -222
- package/dist/esm/datetime-helper-df25808a.js +0 -9
- package/dist/esm/element-dragger-89bb52fd.js +0 -277
- package/dist/esm/generate-fb5ddb87.js +0 -195
- package/dist/esm/global-4fad925b.js +0 -13
- package/dist/esm/index-36ae55c5.js +0 -191
- package/dist/esm/index-ba2edd32.js +0 -62
- package/dist/esm/index-bd33e7be.js +0 -1833
- package/dist/esm/index.js +0 -4
- package/dist/esm/input-template-0c47abf5.js +0 -84
- package/dist/esm/is-load-decorator-73e33bee.js +0 -54
- package/dist/esm/json-parse-decarator-7b411846.js +0 -38
- package/dist/esm/label-template-c83a04a3.js +0 -21
- package/dist/esm/loader.js +0 -22
- package/dist/esm/number-helper-42be449e.js +0 -18
- package/dist/esm/old-bcm-popover.entry.js +0 -100
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/popover-placement-9864294b.js +0 -95
- package/dist/esm/property-decorators-61be220d.js +0 -31
- package/dist/esm/slot-template-24f1e66e.js +0 -13
- package/dist/esm/stepper-states-b8e9888d.js +0 -81
- package/dist/esm/string-helper-74a1648f.js +0 -132
- package/dist/esm/tooltip-helper-427dd3f5.js +0 -1446
- package/dist/esm/types-6f06fa1a.js +0 -19
- package/dist/esm/types-b211a5eb.js +0 -32
- package/dist/esm/types-bfc3bba1.js +0 -32
- package/dist/esm/utils-57652744.js +0 -123
- package/dist/esm/validators-6f23b54f.js +0 -31
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/types/components/atoms/avatar/avatar.d.ts +0 -23
- package/dist/types/components/atoms/badge/badge.d.ts +0 -17
- package/dist/types/components/atoms/box/box.d.ts +0 -5
- package/dist/types/components/atoms/button/button.d.ts +0 -33
- package/dist/types/components/atoms/button/types.d.ts +0 -166
- package/dist/types/components/atoms/chip/chip.d.ts +0 -24
- package/dist/types/components/atoms/divider/divider.d.ts +0 -7
- package/dist/types/components/atoms/icon/icon.d.ts +0 -6
- package/dist/types/components/atoms/label/label.d.ts +0 -16
- package/dist/types/components/atoms/link/link.d.ts +0 -13
- package/dist/types/components/atoms/states/button.states.d.ts +0 -7
- package/dist/types/components/atoms/tag/tag.d.ts +0 -24
- package/dist/types/components/atoms/tag/types.d.ts +0 -29
- package/dist/types/components/atoms/typography/typography.d.ts +0 -5
- package/dist/types/components/molecules/accordion/accordion.d.ts +0 -11
- package/dist/types/components/molecules/alert/alert.d.ts +0 -21
- package/dist/types/components/molecules/alert/types.d.ts +0 -25
- package/dist/types/components/molecules/breadcrumb/breadcrumb.d.ts +0 -14
- package/dist/types/components/molecules/breadcrumb/types.d.ts +0 -10
- package/dist/types/components/molecules/button-group/button-group.d.ts +0 -21
- package/dist/types/components/molecules/card/card.d.ts +0 -11
- package/dist/types/components/molecules/checkbox/checkbox-lite.d.ts +0 -14
- package/dist/types/components/molecules/checkbox/checkbox.d.ts +0 -56
- package/dist/types/components/molecules/checkbox/group.d.ts +0 -56
- package/dist/types/components/molecules/drawer/drawer.d.ts +0 -21
- package/dist/types/components/molecules/dropdown/dropdown.d.ts +0 -54
- package/dist/types/components/molecules/empty/empty.d.ts +0 -5
- package/dist/types/components/molecules/error-layout/error-layout.d.ts +0 -25
- package/dist/types/components/molecules/error-layout/types.d.ts +0 -4
- package/dist/types/components/molecules/expansion-panel/expansion-panel.d.ts +0 -31
- package/dist/types/components/molecules/input/input.d.ts +0 -82
- package/dist/types/components/molecules/input/types.d.ts +0 -13
- package/dist/types/components/molecules/item/item.d.ts +0 -13
- package/dist/types/components/molecules/items/items.d.ts +0 -10
- package/dist/types/components/molecules/linked/linked.d.ts +0 -14
- package/dist/types/components/molecules/menu/menu.d.ts +0 -41
- package/dist/types/components/molecules/message/message.d.ts +0 -32
- package/dist/types/components/molecules/message/types.d.ts +0 -13
- package/dist/types/components/molecules/modal/modal.d.ts +0 -26
- package/dist/types/components/molecules/notification/notification.d.ts +0 -42
- package/dist/types/components/molecules/notification/types.d.ts +0 -14
- package/dist/types/components/molecules/popconfirm/popconfirm-box.d.ts +0 -29
- package/dist/types/components/molecules/popconfirm/popconfirm.d.ts +0 -28
- package/dist/types/components/molecules/popover/popover.d.ts +0 -20
- package/dist/types/components/molecules/progress/progress.d.ts +0 -25
- package/dist/types/components/molecules/progress/types.d.ts +0 -14
- package/dist/types/components/molecules/radio/group.d.ts +0 -54
- package/dist/types/components/molecules/radio/radio.d.ts +0 -21
- package/dist/types/components/molecules/radio/types.d.ts +0 -29
- package/dist/types/components/molecules/range/range.d.ts +0 -36
- package/dist/types/components/molecules/result/result.d.ts +0 -13
- package/dist/types/components/molecules/result/types.d.ts +0 -19
- package/dist/types/components/molecules/search/search.d.ts +0 -35
- package/dist/types/components/molecules/skeleton/skeleton.d.ts +0 -8
- package/dist/types/components/molecules/states/alert.states.d.ts +0 -7
- package/dist/types/components/molecules/states/checkbox-group.states.d.ts +0 -53
- package/dist/types/components/molecules/states/radio-group.states.d.ts +0 -48
- package/dist/types/components/molecules/states/search.states.d.ts +0 -14
- package/dist/types/components/molecules/states/stepper-states.d.ts +0 -13
- package/dist/types/components/molecules/stepper/step.d.ts +0 -25
- package/dist/types/components/molecules/stepper/stepper.d.ts +0 -34
- package/dist/types/components/molecules/switch/switch.d.ts +0 -46
- package/dist/types/components/molecules/tab-group/tab-group.d.ts +0 -18
- package/dist/types/components/molecules/textarea/textarea.d.ts +0 -53
- package/dist/types/components/molecules/textarea/types.d.ts +0 -9
- package/dist/types/components/molecules/timeline/timeline-item.d.ts +0 -16
- package/dist/types/components/molecules/timeline/timeline.d.ts +0 -25
- package/dist/types/components/molecules/tooltip/tooltip.d.ts +0 -19
- package/dist/types/components/organism/autocomplete/autocomplete.d.ts +0 -31
- package/dist/types/components/organism/colorpicker/colorpicker.d.ts +0 -176
- package/dist/types/components/organism/date-picker/date-picker.d.ts +0 -77
- package/dist/types/components/organism/datetime-picker/datetime-picker.d.ts +0 -438
- package/dist/types/components/organism/datetime-picker/types.d.ts +0 -54
- package/dist/types/components/organism/form/form-group.d.ts +0 -10
- package/dist/types/components/organism/form/form.d.ts +0 -34
- package/dist/types/components/organism/form-2/bcm-form-components.d.ts +0 -2
- package/dist/types/components/organism/form-2/form-2.d.ts +0 -25
- package/dist/types/components/organism/list/list-key-control.d.ts +0 -18
- package/dist/types/components/organism/list/list-tag-control.d.ts +0 -18
- package/dist/types/components/organism/list/list.d.ts +0 -138
- package/dist/types/components/organism/states/bcm-list2.states.d.ts +0 -28
- package/dist/types/components/organism/time-picker/time-picker.d.ts +0 -69
- package/dist/types/components/other/attendance/attendance.d.ts +0 -7
- package/dist/types/components/other/data-table/table.d.ts +0 -8
- package/dist/types/components/other/default/default.d.ts +0 -6
- package/dist/types/components/other_deprecated/collapse/collapse.d.ts +0 -12
- package/dist/types/components/other_deprecated/collapse/group.d.ts +0 -15
- package/dist/types/components/other_deprecated/listbox/listbox-group.d.ts +0 -7
- package/dist/types/components/other_deprecated/listbox/listbox-item.d.ts +0 -58
- package/dist/types/components/other_deprecated/listbox/listbox.d.ts +0 -152
- package/dist/types/components/other_deprecated/listbox/types.d.ts +0 -11
- package/dist/types/components/other_deprecated/old-input/old-input.d.ts +0 -80
- package/dist/types/components/other_deprecated/old-input/types.d.ts +0 -13
- package/dist/types/components/other_deprecated/old-popover/old-popover-box.d.ts +0 -25
- package/dist/types/components/other_deprecated/old-popover/old-popover.d.ts +0 -22
- package/dist/types/components/other_deprecated/old-search/old-search.d.ts +0 -32
- package/dist/types/components/other_deprecated/old-tag/old-tag.d.ts +0 -27
- package/dist/types/components/other_deprecated/old-tag/types.d.ts +0 -29
- package/dist/types/components/other_deprecated/select/group.d.ts +0 -6
- package/dist/types/components/other_deprecated/select/option.d.ts +0 -10
- package/dist/types/components/other_deprecated/select/select-box.d.ts +0 -15
- package/dist/types/components/other_deprecated/select/select.d.ts +0 -131
- package/dist/types/components/other_deprecated/tabs/tab-pane.d.ts +0 -19
- package/dist/types/components/other_deprecated/tabs/tab.d.ts +0 -36
- package/dist/types/components/other_deprecated/tabs/tabs-content.d.ts +0 -18
- package/dist/types/components/other_deprecated/tabs/tabs.d.ts +0 -112
- package/dist/types/components/other_deprecated/tabs/types.d.ts +0 -39
- package/dist/types/components/other_deprecated/text/text.d.ts +0 -11
- package/dist/types/components/other_deprecated/treeview/treeview-group.d.ts +0 -3
- package/dist/types/components/other_deprecated/treeview/treeview-item.d.ts +0 -119
- package/dist/types/components/other_deprecated/treeview/treeview.d.ts +0 -181
- package/dist/types/components/other_deprecated/treeview/types.d.ts +0 -11
- package/dist/types/components.d.ts +0 -3517
- package/dist/types/decorators/id-decorator.d.ts +0 -4
- package/dist/types/decorators/index.d.ts +0 -4
- package/dist/types/decorators/is-load-decorator.d.ts +0 -7
- package/dist/types/decorators/json-parse-decarator.d.ts +0 -4
- package/dist/types/decorators/property-decorators.d.ts +0 -4
- package/dist/types/global/variables/colors.d.ts +0 -217
- package/dist/types/helper/color-helper.d.ts +0 -16
- package/dist/types/helper/content-helper.d.ts +0 -18
- package/dist/types/helper/datetime-helper.d.ts +0 -3
- package/dist/types/helper/generate.d.ts +0 -21
- package/dist/types/helper/index.d.ts +0 -9
- package/dist/types/helper/number-helper.d.ts +0 -10
- package/dist/types/helper/popover-helper.d.ts +0 -31
- package/dist/types/helper/string-helper.d.ts +0 -27
- package/dist/types/helper/tooltip-helper.d.ts +0 -25
- package/dist/types/helper/validators.d.ts +0 -10
- package/dist/types/index.d.ts +0 -1
- package/dist/types/models/abstract-classes/abstract-key-control.d.ts +0 -31
- package/dist/types/models/bcm-types.d.ts +0 -21
- package/dist/types/models/bcm.d.ts +0 -456
- package/dist/types/models/index.d.ts +0 -2
- package/dist/types/models/states/atoms/bcm-atoms-state.d.ts +0 -34
- package/dist/types/models/states/molecules/bcm-molecules-state.d.ts +0 -90
- package/dist/types/models/states/organisms/bcm-organisms-state.d.ts +0 -78
- package/dist/types/stencil-public-runtime.d.ts +0 -1565
- package/dist/types/templates/button-template.d.ts +0 -18
- package/dist/types/templates/caption-template.d.ts +0 -14
- package/dist/types/templates/checkbox-group-template.d.ts +0 -10
- package/dist/types/templates/checkbox-template.d.ts +0 -13
- package/dist/types/templates/icon-template.d.ts +0 -7
- package/dist/types/templates/index.d.ts +0 -13
- package/dist/types/templates/info-footer-template.d.ts +0 -10
- package/dist/types/templates/input-template.d.ts +0 -34
- package/dist/types/templates/label-template.d.ts +0 -12
- package/dist/types/templates/list-item-template.d.ts +0 -13
- package/dist/types/templates/list-template.d.ts +0 -29
- package/dist/types/templates/slot-template.d.ts +0 -8
- package/dist/types/templates/step-template.d.ts +0 -17
- package/dist/types/templates/tag-template.d.ts +0 -21
- package/dist/types/types/index.d.ts +0 -12
- package/dist/types/utils/element-dragger.d.ts +0 -146
- package/dist/types/utils/floating-ui.d.ts +0 -6
- package/dist/types/utils/index.d.ts +0 -5
- package/dist/types/utils/popover-placement.d.ts +0 -3
- package/dist/types/utils/utils.d.ts +0 -55
- package/dist/types/utils/validation.d.ts +0 -19
|
@@ -1,977 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
import { Component, h, Host, Prop, Element, State, Event, Listen, Watch } from '@stencil/core';
|
|
6
|
-
import { getChilds } from '../../../utils/utils';
|
|
7
|
-
import cs from 'classnames';
|
|
8
|
-
export class BcmtreeviewItem {
|
|
9
|
-
constructor() {
|
|
10
|
-
this.firstRun = true;
|
|
11
|
-
this._id = (Math.random() * 4).toString(16).replace('.', '');
|
|
12
|
-
this.hasChild = false;
|
|
13
|
-
this.size = 'medium';
|
|
14
|
-
this.icon = 'bug';
|
|
15
|
-
this.open = false;
|
|
16
|
-
this.selected = false;
|
|
17
|
-
this.checkboxes = false;
|
|
18
|
-
this.showIcon = false;
|
|
19
|
-
this.favicon = false;
|
|
20
|
-
this.favorite = false;
|
|
21
|
-
this.checked = false;
|
|
22
|
-
this.checkTrigger = false;
|
|
23
|
-
this.focused = false;
|
|
24
|
-
this.disabled = false;
|
|
25
|
-
this.contextMenuShow = false;
|
|
26
|
-
this._contextMenu = [];
|
|
27
|
-
this.indeterminateState = 'uncheck';
|
|
28
|
-
this._internal_id = "";
|
|
29
|
-
this.menuPadding = 0;
|
|
30
|
-
this.childLength = 0;
|
|
31
|
-
this.indeterminate = false;
|
|
32
|
-
// @State() checkTrigger: boolean = false
|
|
33
|
-
this.hidden = false;
|
|
34
|
-
this.contextMenu = [];
|
|
35
|
-
this.contextOffsetLeft = 0;
|
|
36
|
-
this.contextOffsetTop = 0;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* @ComponentMethod
|
|
40
|
-
*/
|
|
41
|
-
componentWillLoad() {
|
|
42
|
-
this.menuPadding = 24;
|
|
43
|
-
this.childLength = this.el.children.length;
|
|
44
|
-
this.parseItems(this._contextMenu);
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* @ComponentMethod
|
|
48
|
-
*/
|
|
49
|
-
componentDidLoad() {
|
|
50
|
-
// if (!this.disabled){
|
|
51
|
-
// // if (this.selected) this.treeviewItemSelected.emit(this.itemObject)
|
|
52
|
-
// if (this.checked){
|
|
53
|
-
// // this.treeviewChecked.emit(this._id)
|
|
54
|
-
// this.handleCheckMouseUp()
|
|
55
|
-
// }
|
|
56
|
-
// }
|
|
57
|
-
if (!this.disabled && this.firstRun && this.checkTrigger) {
|
|
58
|
-
this.firstRun = false;
|
|
59
|
-
this.handleCheckMouseUp();
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* @desc
|
|
64
|
-
* @returns {void}
|
|
65
|
-
*/
|
|
66
|
-
/* setIndeterminateState() {
|
|
67
|
-
if(this.getAllChilds().length > 0) {
|
|
68
|
-
|
|
69
|
-
let state: string = 'uncheck'
|
|
70
|
-
let allChecked: boolean = true
|
|
71
|
-
let allUnchecked: boolean = true
|
|
72
|
-
|
|
73
|
-
this.getAllChilds().map((item) => {
|
|
74
|
-
item.checked && (allUnchecked = false)
|
|
75
|
-
!item.checked && (allChecked = false)
|
|
76
|
-
});
|
|
77
|
-
|
|
78
|
-
!allChecked && !allUnchecked
|
|
79
|
-
? state = 'indeterminate'
|
|
80
|
-
: allChecked
|
|
81
|
-
? state = 'determinate'
|
|
82
|
-
: state = 'uncheck'
|
|
83
|
-
|
|
84
|
-
this.indeterminateState = state as any;
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
} */
|
|
88
|
-
/* @Watch('indeterminateState')
|
|
89
|
-
onCheckedChange() {
|
|
90
|
-
if (this.indeterminateState == 'determinate') {
|
|
91
|
-
this.treeviewChecked.emit(this._id)
|
|
92
|
-
}else if (this.indeterminateState == 'uncheck') {
|
|
93
|
-
this.treeviewIndeterminateUnchecked.emit(this._id)
|
|
94
|
-
this.checked = false
|
|
95
|
-
}else{
|
|
96
|
-
this.treeviewIndeterminateUnchecked.emit(this._id)
|
|
97
|
-
this.checked = false
|
|
98
|
-
}
|
|
99
|
-
} */
|
|
100
|
-
/**
|
|
101
|
-
* @descc
|
|
102
|
-
* @param event
|
|
103
|
-
*/
|
|
104
|
-
handletreeviewClearSelecteds(event) {
|
|
105
|
-
if (!this.disabled) {
|
|
106
|
-
if (event.detail && event.detail !== this.itemObject)
|
|
107
|
-
this.selected = false;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* @descc
|
|
112
|
-
* @param event
|
|
113
|
-
*/
|
|
114
|
-
ListentreeviewChange() {
|
|
115
|
-
//this.setIndeterminateState();
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* @descc
|
|
119
|
-
* @param event
|
|
120
|
-
*/
|
|
121
|
-
ListentreeviewShowContext(event) {
|
|
122
|
-
this.contextOffsetTop = event.detail[1];
|
|
123
|
-
this.contextOffsetLeft = event.detail[2];
|
|
124
|
-
if (event.detail[0] && event.detail[0] === this._id) {
|
|
125
|
-
this.contextMenuShow = true;
|
|
126
|
-
}
|
|
127
|
-
else {
|
|
128
|
-
this.contextMenuShow = false;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* @desc
|
|
133
|
-
* @param event
|
|
134
|
-
*/
|
|
135
|
-
handleWindowClick(event) {
|
|
136
|
-
const target = event.target;
|
|
137
|
-
if (target === this.el)
|
|
138
|
-
return;
|
|
139
|
-
this.contextMenuShow = false;
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* @desc
|
|
143
|
-
*/
|
|
144
|
-
handleClick() {
|
|
145
|
-
if (!this.disabled) {
|
|
146
|
-
this.selected = true;
|
|
147
|
-
this.treeviewItemSelected.emit(this.itemObject);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* @desc
|
|
152
|
-
*/
|
|
153
|
-
handleFavClick(e) {
|
|
154
|
-
if (!this.disabled) {
|
|
155
|
-
this.favorite = !this.favorite;
|
|
156
|
-
if (!this.itemObject["rightSlot"]) {
|
|
157
|
-
this.itemObject["rightSlot"] = {};
|
|
158
|
-
}
|
|
159
|
-
this.itemObject["rightSlot"]["favorite"] = this.favorite;
|
|
160
|
-
this.favoriteStatus.emit(this.itemObject);
|
|
161
|
-
e.stopPropagation();
|
|
162
|
-
e.preventDefault();
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
* @desc
|
|
167
|
-
*/
|
|
168
|
-
handleOpen() {
|
|
169
|
-
this.open = !this.open;
|
|
170
|
-
}
|
|
171
|
-
getRootChilds(element = this.el) {
|
|
172
|
-
return getChilds(element, 'bcm-treeview-item');
|
|
173
|
-
}
|
|
174
|
-
getAllChilds(element = this.el) {
|
|
175
|
-
let returnAllItems = [];
|
|
176
|
-
getChilds(element, 'bcm-treeview-item').forEach(items => {
|
|
177
|
-
this.getAllChilds(items) && (returnAllItems = [...returnAllItems, ...this.getAllChilds(items)]);
|
|
178
|
-
returnAllItems = [...returnAllItems,
|
|
179
|
-
items
|
|
180
|
-
];
|
|
181
|
-
});
|
|
182
|
-
return returnAllItems;
|
|
183
|
-
}
|
|
184
|
-
/**
|
|
185
|
-
* @desc
|
|
186
|
-
* -
|
|
187
|
-
*/
|
|
188
|
-
checkGroupState() {
|
|
189
|
-
// debugger;
|
|
190
|
-
const childsRoot = this.getRootChilds();
|
|
191
|
-
let [state, allChecked, allUnchecked] = ['uncheck', true, true];
|
|
192
|
-
if (childsRoot.length > 0) {
|
|
193
|
-
childsRoot.forEach(checkbox => {
|
|
194
|
-
(checkbox.checked || checkbox.indeterminateState === 'indeterminate') && (allUnchecked = false);
|
|
195
|
-
!checkbox.checked && (allChecked = false);
|
|
196
|
-
});
|
|
197
|
-
!allChecked && !allUnchecked
|
|
198
|
-
? state = 'indeterminate'
|
|
199
|
-
: allChecked
|
|
200
|
-
? state = 'determinate'
|
|
201
|
-
: state = 'uncheck';
|
|
202
|
-
this.indeterminateState = state;
|
|
203
|
-
if (state === 'determinate') {
|
|
204
|
-
this.checked = true;
|
|
205
|
-
// if(this.checked) {
|
|
206
|
-
this.treeviewChecked.emit(this._id);
|
|
207
|
-
// }
|
|
208
|
-
}
|
|
209
|
-
else {
|
|
210
|
-
this.checked = false;
|
|
211
|
-
this.treeviewUnchecked.emit(this._id);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
else {
|
|
215
|
-
if (this.checked) {
|
|
216
|
-
this.checked = false;
|
|
217
|
-
this.treeviewUnchecked.emit(this._id);
|
|
218
|
-
}
|
|
219
|
-
else {
|
|
220
|
-
this.checked = true;
|
|
221
|
-
this.treeviewChecked.emit(this._id);
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
/**
|
|
226
|
-
* @Event
|
|
227
|
-
* @desc
|
|
228
|
-
* -
|
|
229
|
-
*/
|
|
230
|
-
handleCheckMouseUp() {
|
|
231
|
-
const checked = this.checked;
|
|
232
|
-
const state = this.indeterminateState;
|
|
233
|
-
if (!this.hasChild) {
|
|
234
|
-
!checked
|
|
235
|
-
? this.checked = true
|
|
236
|
-
: this.checked = false;
|
|
237
|
-
if (this.checked) {
|
|
238
|
-
this.treeviewChecked.emit(this._id);
|
|
239
|
-
}
|
|
240
|
-
else {
|
|
241
|
-
this.treeviewUnchecked.emit(this._id);
|
|
242
|
-
}
|
|
243
|
-
this.groupCheck.emit(this.parentId);
|
|
244
|
-
return;
|
|
245
|
-
}
|
|
246
|
-
const childs = this.getAllChilds();
|
|
247
|
-
if (state === 'indeterminate' || state === 'uncheck') {
|
|
248
|
-
childs.forEach(child => {
|
|
249
|
-
child.checked = true;
|
|
250
|
-
// if(this.checked) {
|
|
251
|
-
this.treeviewChecked.emit(child._id);
|
|
252
|
-
// }
|
|
253
|
-
child.indeterminateState = 'determined';
|
|
254
|
-
});
|
|
255
|
-
}
|
|
256
|
-
else {
|
|
257
|
-
childs.forEach(child => {
|
|
258
|
-
child.checked = false;
|
|
259
|
-
this.treeviewUnchecked.emit(child._id);
|
|
260
|
-
child.indeterminateState = 'uncheck';
|
|
261
|
-
});
|
|
262
|
-
}
|
|
263
|
-
this.checkGroupState();
|
|
264
|
-
this.groupCheck.emit(this.parentId);
|
|
265
|
-
}
|
|
266
|
-
checkGroup(e) {
|
|
267
|
-
const { detail: groupId } = e;
|
|
268
|
-
if (!groupId || this._id !== groupId)
|
|
269
|
-
return;
|
|
270
|
-
this.checkGroupState();
|
|
271
|
-
this.groupCheck.emit(this.parentId);
|
|
272
|
-
}
|
|
273
|
-
/**
|
|
274
|
-
* @desc
|
|
275
|
-
* @param item
|
|
276
|
-
*/
|
|
277
|
-
contextItemRenderer(item) {
|
|
278
|
-
return (h("span", null, item.title));
|
|
279
|
-
}
|
|
280
|
-
/**
|
|
281
|
-
* @desc
|
|
282
|
-
* @param newValue
|
|
283
|
-
* @returns {void}
|
|
284
|
-
*/
|
|
285
|
-
parseItems(newValue) {
|
|
286
|
-
if (newValue) {
|
|
287
|
-
typeof newValue == 'string'
|
|
288
|
-
? this.contextMenu = JSON.parse(newValue)
|
|
289
|
-
: this.contextMenu = newValue;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
render() {
|
|
293
|
-
const { _id, text, tooltipText, size, icon, open, childLength, checkboxes, showIcon, checked, indeterminateState, focused, contextMenuShow } = this;
|
|
294
|
-
const menuPadding = this.menuPadding + 'px';
|
|
295
|
-
const textContent = cs('text-content', size, 'size-2'
|
|
296
|
-
// {
|
|
297
|
-
// 'size-2': size === 'small' || size === 'medium',
|
|
298
|
-
// 'size-3': size === 'large',
|
|
299
|
-
// }
|
|
300
|
-
);
|
|
301
|
-
const classes = cs('treeview-item', {
|
|
302
|
-
'focus': focused,
|
|
303
|
-
'open': open,
|
|
304
|
-
'selected': this.selected
|
|
305
|
-
});
|
|
306
|
-
const treeviewContextMenu = cs('treeview-item-context-menu', {
|
|
307
|
-
'show': contextMenuShow
|
|
308
|
-
});
|
|
309
|
-
const treeviewInner = cs('treeview-inner', {
|
|
310
|
-
'open': open,
|
|
311
|
-
});
|
|
312
|
-
const indeterminate = cs('indeterminate', {
|
|
313
|
-
'disabled': this.disabled,
|
|
314
|
-
});
|
|
315
|
-
const treeviewItemContainer = cs('treeview-item-container', {
|
|
316
|
-
'selected': this.selected,
|
|
317
|
-
'disabled': this.disabled
|
|
318
|
-
});
|
|
319
|
-
const collapseContent = cs('collapse-content', {
|
|
320
|
-
'child': childLength > 0,
|
|
321
|
-
});
|
|
322
|
-
const hostClasses = cs(this.hidden ? 'hidden' : null);
|
|
323
|
-
const faviconClass = cs("favicon", {
|
|
324
|
-
"favorite": this.favorite
|
|
325
|
-
});
|
|
326
|
-
return (h(Host, { class: hostClasses },
|
|
327
|
-
h("div", { class: classes },
|
|
328
|
-
h("div", { class: collapseContent, id: "collapse-button", onClick: () => childLength > 0 && this.handleOpen() }, childLength > 0 && (h("bcm-icon", { class: "collapse-icon", icon: `far fa-${open ? 'caret-down' : 'caret-right'}` }))),
|
|
329
|
-
h("div", { class: treeviewItemContainer },
|
|
330
|
-
h("section", { onMouseUp: () => this.handleCheckMouseUp() },
|
|
331
|
-
checkboxes && (h("div", { class: "check-content" }, indeterminateState == 'indeterminate' && (h("span", { class: indeterminate })) || (h("bcm-checkbox", { id: 'check-' + _id, name: 'check-' + _id, checked: checked, disabled: this.disabled, noCaption: true })))),
|
|
332
|
-
h("div", { class: textContent, onClick: () => this.handleClick(), title: tooltipText },
|
|
333
|
-
showIcon && icon && (h("bcm-icon", { class: "icon", icon: icon })),
|
|
334
|
-
h("span", { id: "text" }, text))),
|
|
335
|
-
this.favicon && (h("section", { class: faviconClass, onClick: (e) => this.handleFavClick(e) },
|
|
336
|
-
h("bcm-icon", { title: this.favorite ? "Click to remove from favorite list" : "Click to add to your favourites list", icon: "far fa-star" })))),
|
|
337
|
-
!checkboxes && (h("div", { class: treeviewContextMenu, style: { top: this.contextOffsetTop + 'px', left: this.contextOffsetLeft + 'px' } }, this.contextMenu.length !== 0 && this.contextMenu.map((item) => (this.contextItemRenderer(item)))))),
|
|
338
|
-
h("div", { class: treeviewInner, style: { paddingLeft: menuPadding } },
|
|
339
|
-
h("slot", null))));
|
|
340
|
-
}
|
|
341
|
-
static get is() { return "bcm-treeview-item"; }
|
|
342
|
-
static get encapsulation() { return "shadow"; }
|
|
343
|
-
static get originalStyleUrls() { return {
|
|
344
|
-
"$": ["treeview-item.scss"]
|
|
345
|
-
}; }
|
|
346
|
-
static get styleUrls() { return {
|
|
347
|
-
"$": ["treeview-item.css"]
|
|
348
|
-
}; }
|
|
349
|
-
static get properties() { return {
|
|
350
|
-
"items": {
|
|
351
|
-
"type": "any",
|
|
352
|
-
"mutable": true,
|
|
353
|
-
"complexType": {
|
|
354
|
-
"original": "any",
|
|
355
|
-
"resolved": "any",
|
|
356
|
-
"references": {}
|
|
357
|
-
},
|
|
358
|
-
"required": false,
|
|
359
|
-
"optional": false,
|
|
360
|
-
"docs": {
|
|
361
|
-
"tags": [],
|
|
362
|
-
"text": ""
|
|
363
|
-
},
|
|
364
|
-
"attribute": "items",
|
|
365
|
-
"reflect": false
|
|
366
|
-
},
|
|
367
|
-
"itemObject": {
|
|
368
|
-
"type": "string",
|
|
369
|
-
"mutable": true,
|
|
370
|
-
"complexType": {
|
|
371
|
-
"original": "string",
|
|
372
|
-
"resolved": "string",
|
|
373
|
-
"references": {}
|
|
374
|
-
},
|
|
375
|
-
"required": false,
|
|
376
|
-
"optional": false,
|
|
377
|
-
"docs": {
|
|
378
|
-
"tags": [],
|
|
379
|
-
"text": ""
|
|
380
|
-
},
|
|
381
|
-
"attribute": "item-object",
|
|
382
|
-
"reflect": false
|
|
383
|
-
},
|
|
384
|
-
"text": {
|
|
385
|
-
"type": "string",
|
|
386
|
-
"mutable": true,
|
|
387
|
-
"complexType": {
|
|
388
|
-
"original": "string",
|
|
389
|
-
"resolved": "string",
|
|
390
|
-
"references": {}
|
|
391
|
-
},
|
|
392
|
-
"required": false,
|
|
393
|
-
"optional": false,
|
|
394
|
-
"docs": {
|
|
395
|
-
"tags": [],
|
|
396
|
-
"text": ""
|
|
397
|
-
},
|
|
398
|
-
"attribute": "text",
|
|
399
|
-
"reflect": false
|
|
400
|
-
},
|
|
401
|
-
"tooltipText": {
|
|
402
|
-
"type": "string",
|
|
403
|
-
"mutable": true,
|
|
404
|
-
"complexType": {
|
|
405
|
-
"original": "string",
|
|
406
|
-
"resolved": "string",
|
|
407
|
-
"references": {}
|
|
408
|
-
},
|
|
409
|
-
"required": false,
|
|
410
|
-
"optional": false,
|
|
411
|
-
"docs": {
|
|
412
|
-
"tags": [],
|
|
413
|
-
"text": ""
|
|
414
|
-
},
|
|
415
|
-
"attribute": "tooltip-text",
|
|
416
|
-
"reflect": false
|
|
417
|
-
},
|
|
418
|
-
"_id": {
|
|
419
|
-
"type": "string",
|
|
420
|
-
"mutable": true,
|
|
421
|
-
"complexType": {
|
|
422
|
-
"original": "string",
|
|
423
|
-
"resolved": "string",
|
|
424
|
-
"references": {}
|
|
425
|
-
},
|
|
426
|
-
"required": false,
|
|
427
|
-
"optional": false,
|
|
428
|
-
"docs": {
|
|
429
|
-
"tags": [],
|
|
430
|
-
"text": ""
|
|
431
|
-
},
|
|
432
|
-
"attribute": "id",
|
|
433
|
-
"reflect": true,
|
|
434
|
-
"defaultValue": "(Math.random() * 4).toString(16).replace('.', '')"
|
|
435
|
-
},
|
|
436
|
-
"parentId": {
|
|
437
|
-
"type": "string",
|
|
438
|
-
"mutable": true,
|
|
439
|
-
"complexType": {
|
|
440
|
-
"original": "string",
|
|
441
|
-
"resolved": "string",
|
|
442
|
-
"references": {}
|
|
443
|
-
},
|
|
444
|
-
"required": false,
|
|
445
|
-
"optional": false,
|
|
446
|
-
"docs": {
|
|
447
|
-
"tags": [],
|
|
448
|
-
"text": ""
|
|
449
|
-
},
|
|
450
|
-
"attribute": "parent-id",
|
|
451
|
-
"reflect": false
|
|
452
|
-
},
|
|
453
|
-
"hasChild": {
|
|
454
|
-
"type": "boolean",
|
|
455
|
-
"mutable": true,
|
|
456
|
-
"complexType": {
|
|
457
|
-
"original": "boolean",
|
|
458
|
-
"resolved": "boolean",
|
|
459
|
-
"references": {}
|
|
460
|
-
},
|
|
461
|
-
"required": false,
|
|
462
|
-
"optional": false,
|
|
463
|
-
"docs": {
|
|
464
|
-
"tags": [],
|
|
465
|
-
"text": ""
|
|
466
|
-
},
|
|
467
|
-
"attribute": "has-child",
|
|
468
|
-
"reflect": false,
|
|
469
|
-
"defaultValue": "false"
|
|
470
|
-
},
|
|
471
|
-
"size": {
|
|
472
|
-
"type": "string",
|
|
473
|
-
"mutable": true,
|
|
474
|
-
"complexType": {
|
|
475
|
-
"original": "SizeProp",
|
|
476
|
-
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
477
|
-
"references": {
|
|
478
|
-
"SizeProp": {
|
|
479
|
-
"location": "import",
|
|
480
|
-
"path": "./types"
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
},
|
|
484
|
-
"required": false,
|
|
485
|
-
"optional": false,
|
|
486
|
-
"docs": {
|
|
487
|
-
"tags": [],
|
|
488
|
-
"text": ""
|
|
489
|
-
},
|
|
490
|
-
"attribute": "size",
|
|
491
|
-
"reflect": false,
|
|
492
|
-
"defaultValue": "'medium'"
|
|
493
|
-
},
|
|
494
|
-
"icon": {
|
|
495
|
-
"type": "string",
|
|
496
|
-
"mutable": true,
|
|
497
|
-
"complexType": {
|
|
498
|
-
"original": "string",
|
|
499
|
-
"resolved": "string",
|
|
500
|
-
"references": {}
|
|
501
|
-
},
|
|
502
|
-
"required": false,
|
|
503
|
-
"optional": false,
|
|
504
|
-
"docs": {
|
|
505
|
-
"tags": [],
|
|
506
|
-
"text": ""
|
|
507
|
-
},
|
|
508
|
-
"attribute": "icon",
|
|
509
|
-
"reflect": false,
|
|
510
|
-
"defaultValue": "'bug'"
|
|
511
|
-
},
|
|
512
|
-
"open": {
|
|
513
|
-
"type": "boolean",
|
|
514
|
-
"mutable": true,
|
|
515
|
-
"complexType": {
|
|
516
|
-
"original": "boolean",
|
|
517
|
-
"resolved": "boolean",
|
|
518
|
-
"references": {}
|
|
519
|
-
},
|
|
520
|
-
"required": false,
|
|
521
|
-
"optional": false,
|
|
522
|
-
"docs": {
|
|
523
|
-
"tags": [],
|
|
524
|
-
"text": ""
|
|
525
|
-
},
|
|
526
|
-
"attribute": "open",
|
|
527
|
-
"reflect": true,
|
|
528
|
-
"defaultValue": "false"
|
|
529
|
-
},
|
|
530
|
-
"selected": {
|
|
531
|
-
"type": "boolean",
|
|
532
|
-
"mutable": true,
|
|
533
|
-
"complexType": {
|
|
534
|
-
"original": "boolean",
|
|
535
|
-
"resolved": "boolean",
|
|
536
|
-
"references": {}
|
|
537
|
-
},
|
|
538
|
-
"required": false,
|
|
539
|
-
"optional": false,
|
|
540
|
-
"docs": {
|
|
541
|
-
"tags": [],
|
|
542
|
-
"text": ""
|
|
543
|
-
},
|
|
544
|
-
"attribute": "selected",
|
|
545
|
-
"reflect": false,
|
|
546
|
-
"defaultValue": "false"
|
|
547
|
-
},
|
|
548
|
-
"checkboxes": {
|
|
549
|
-
"type": "boolean",
|
|
550
|
-
"mutable": true,
|
|
551
|
-
"complexType": {
|
|
552
|
-
"original": "boolean",
|
|
553
|
-
"resolved": "boolean",
|
|
554
|
-
"references": {}
|
|
555
|
-
},
|
|
556
|
-
"required": false,
|
|
557
|
-
"optional": false,
|
|
558
|
-
"docs": {
|
|
559
|
-
"tags": [],
|
|
560
|
-
"text": ""
|
|
561
|
-
},
|
|
562
|
-
"attribute": "checkboxes",
|
|
563
|
-
"reflect": false,
|
|
564
|
-
"defaultValue": "false"
|
|
565
|
-
},
|
|
566
|
-
"showIcon": {
|
|
567
|
-
"type": "boolean",
|
|
568
|
-
"mutable": true,
|
|
569
|
-
"complexType": {
|
|
570
|
-
"original": "boolean",
|
|
571
|
-
"resolved": "boolean",
|
|
572
|
-
"references": {}
|
|
573
|
-
},
|
|
574
|
-
"required": false,
|
|
575
|
-
"optional": false,
|
|
576
|
-
"docs": {
|
|
577
|
-
"tags": [],
|
|
578
|
-
"text": ""
|
|
579
|
-
},
|
|
580
|
-
"attribute": "show-icon",
|
|
581
|
-
"reflect": false,
|
|
582
|
-
"defaultValue": "false"
|
|
583
|
-
},
|
|
584
|
-
"favicon": {
|
|
585
|
-
"type": "boolean",
|
|
586
|
-
"mutable": true,
|
|
587
|
-
"complexType": {
|
|
588
|
-
"original": "boolean",
|
|
589
|
-
"resolved": "boolean",
|
|
590
|
-
"references": {}
|
|
591
|
-
},
|
|
592
|
-
"required": false,
|
|
593
|
-
"optional": false,
|
|
594
|
-
"docs": {
|
|
595
|
-
"tags": [],
|
|
596
|
-
"text": ""
|
|
597
|
-
},
|
|
598
|
-
"attribute": "favicon",
|
|
599
|
-
"reflect": false,
|
|
600
|
-
"defaultValue": "false"
|
|
601
|
-
},
|
|
602
|
-
"favorite": {
|
|
603
|
-
"type": "boolean",
|
|
604
|
-
"mutable": true,
|
|
605
|
-
"complexType": {
|
|
606
|
-
"original": "boolean",
|
|
607
|
-
"resolved": "boolean",
|
|
608
|
-
"references": {}
|
|
609
|
-
},
|
|
610
|
-
"required": false,
|
|
611
|
-
"optional": false,
|
|
612
|
-
"docs": {
|
|
613
|
-
"tags": [],
|
|
614
|
-
"text": ""
|
|
615
|
-
},
|
|
616
|
-
"attribute": "favorite",
|
|
617
|
-
"reflect": false,
|
|
618
|
-
"defaultValue": "false"
|
|
619
|
-
},
|
|
620
|
-
"checked": {
|
|
621
|
-
"type": "boolean",
|
|
622
|
-
"mutable": true,
|
|
623
|
-
"complexType": {
|
|
624
|
-
"original": "boolean",
|
|
625
|
-
"resolved": "boolean",
|
|
626
|
-
"references": {}
|
|
627
|
-
},
|
|
628
|
-
"required": false,
|
|
629
|
-
"optional": false,
|
|
630
|
-
"docs": {
|
|
631
|
-
"tags": [],
|
|
632
|
-
"text": ""
|
|
633
|
-
},
|
|
634
|
-
"attribute": "checked",
|
|
635
|
-
"reflect": true,
|
|
636
|
-
"defaultValue": "false"
|
|
637
|
-
},
|
|
638
|
-
"checkTrigger": {
|
|
639
|
-
"type": "boolean",
|
|
640
|
-
"mutable": true,
|
|
641
|
-
"complexType": {
|
|
642
|
-
"original": "boolean",
|
|
643
|
-
"resolved": "boolean",
|
|
644
|
-
"references": {}
|
|
645
|
-
},
|
|
646
|
-
"required": false,
|
|
647
|
-
"optional": false,
|
|
648
|
-
"docs": {
|
|
649
|
-
"tags": [],
|
|
650
|
-
"text": ""
|
|
651
|
-
},
|
|
652
|
-
"attribute": "checktrigger",
|
|
653
|
-
"reflect": true,
|
|
654
|
-
"defaultValue": "false"
|
|
655
|
-
},
|
|
656
|
-
"focused": {
|
|
657
|
-
"type": "boolean",
|
|
658
|
-
"mutable": true,
|
|
659
|
-
"complexType": {
|
|
660
|
-
"original": "boolean",
|
|
661
|
-
"resolved": "boolean",
|
|
662
|
-
"references": {}
|
|
663
|
-
},
|
|
664
|
-
"required": false,
|
|
665
|
-
"optional": false,
|
|
666
|
-
"docs": {
|
|
667
|
-
"tags": [],
|
|
668
|
-
"text": ""
|
|
669
|
-
},
|
|
670
|
-
"attribute": "focused",
|
|
671
|
-
"reflect": true,
|
|
672
|
-
"defaultValue": "false"
|
|
673
|
-
},
|
|
674
|
-
"disabled": {
|
|
675
|
-
"type": "boolean",
|
|
676
|
-
"mutable": true,
|
|
677
|
-
"complexType": {
|
|
678
|
-
"original": "boolean",
|
|
679
|
-
"resolved": "boolean",
|
|
680
|
-
"references": {}
|
|
681
|
-
},
|
|
682
|
-
"required": false,
|
|
683
|
-
"optional": false,
|
|
684
|
-
"docs": {
|
|
685
|
-
"tags": [],
|
|
686
|
-
"text": ""
|
|
687
|
-
},
|
|
688
|
-
"attribute": "disabled",
|
|
689
|
-
"reflect": true,
|
|
690
|
-
"defaultValue": "false"
|
|
691
|
-
},
|
|
692
|
-
"contextMenuShow": {
|
|
693
|
-
"type": "boolean",
|
|
694
|
-
"mutable": true,
|
|
695
|
-
"complexType": {
|
|
696
|
-
"original": "boolean",
|
|
697
|
-
"resolved": "boolean",
|
|
698
|
-
"references": {}
|
|
699
|
-
},
|
|
700
|
-
"required": false,
|
|
701
|
-
"optional": false,
|
|
702
|
-
"docs": {
|
|
703
|
-
"tags": [],
|
|
704
|
-
"text": ""
|
|
705
|
-
},
|
|
706
|
-
"attribute": "context-menu-show",
|
|
707
|
-
"reflect": false,
|
|
708
|
-
"defaultValue": "false"
|
|
709
|
-
},
|
|
710
|
-
"_contextMenu": {
|
|
711
|
-
"type": "string",
|
|
712
|
-
"mutable": true,
|
|
713
|
-
"complexType": {
|
|
714
|
-
"original": "Array<object> | string",
|
|
715
|
-
"resolved": "object[] | string",
|
|
716
|
-
"references": {
|
|
717
|
-
"Array": {
|
|
718
|
-
"location": "global"
|
|
719
|
-
}
|
|
720
|
-
}
|
|
721
|
-
},
|
|
722
|
-
"required": false,
|
|
723
|
-
"optional": false,
|
|
724
|
-
"docs": {
|
|
725
|
-
"tags": [],
|
|
726
|
-
"text": ""
|
|
727
|
-
},
|
|
728
|
-
"attribute": "context-menu",
|
|
729
|
-
"reflect": false,
|
|
730
|
-
"defaultValue": "[]"
|
|
731
|
-
},
|
|
732
|
-
"indeterminateState": {
|
|
733
|
-
"type": "string",
|
|
734
|
-
"mutable": true,
|
|
735
|
-
"complexType": {
|
|
736
|
-
"original": "'uncheck' | 'indeterminate' | 'determinate'",
|
|
737
|
-
"resolved": "\"determinate\" | \"indeterminate\" | \"uncheck\"",
|
|
738
|
-
"references": {}
|
|
739
|
-
},
|
|
740
|
-
"required": false,
|
|
741
|
-
"optional": false,
|
|
742
|
-
"docs": {
|
|
743
|
-
"tags": [],
|
|
744
|
-
"text": ""
|
|
745
|
-
},
|
|
746
|
-
"attribute": "indeterminate-state",
|
|
747
|
-
"reflect": false,
|
|
748
|
-
"defaultValue": "'uncheck'"
|
|
749
|
-
},
|
|
750
|
-
"_internal_id": {
|
|
751
|
-
"type": "string",
|
|
752
|
-
"mutable": true,
|
|
753
|
-
"complexType": {
|
|
754
|
-
"original": "string",
|
|
755
|
-
"resolved": "string",
|
|
756
|
-
"references": {}
|
|
757
|
-
},
|
|
758
|
-
"required": false,
|
|
759
|
-
"optional": false,
|
|
760
|
-
"docs": {
|
|
761
|
-
"tags": [],
|
|
762
|
-
"text": ""
|
|
763
|
-
},
|
|
764
|
-
"attribute": "_internal_id",
|
|
765
|
-
"reflect": true,
|
|
766
|
-
"defaultValue": "\"\""
|
|
767
|
-
}
|
|
768
|
-
}; }
|
|
769
|
-
static get states() { return {
|
|
770
|
-
"menuPadding": {},
|
|
771
|
-
"childLength": {},
|
|
772
|
-
"indeterminate": {},
|
|
773
|
-
"hidden": {},
|
|
774
|
-
"contextMenu": {},
|
|
775
|
-
"contextOffsetLeft": {},
|
|
776
|
-
"contextOffsetTop": {}
|
|
777
|
-
}; }
|
|
778
|
-
static get events() { return [{
|
|
779
|
-
"method": "treeviewItemSelected",
|
|
780
|
-
"name": "bcm-treeview-item-selected",
|
|
781
|
-
"bubbles": true,
|
|
782
|
-
"cancelable": true,
|
|
783
|
-
"composed": true,
|
|
784
|
-
"docs": {
|
|
785
|
-
"tags": [],
|
|
786
|
-
"text": "Component Events"
|
|
787
|
-
},
|
|
788
|
-
"complexType": {
|
|
789
|
-
"original": "any",
|
|
790
|
-
"resolved": "any",
|
|
791
|
-
"references": {}
|
|
792
|
-
}
|
|
793
|
-
}, {
|
|
794
|
-
"method": "treeviewUnchecked",
|
|
795
|
-
"name": "bcm-treeview-unchecked",
|
|
796
|
-
"bubbles": true,
|
|
797
|
-
"cancelable": true,
|
|
798
|
-
"composed": true,
|
|
799
|
-
"docs": {
|
|
800
|
-
"tags": [],
|
|
801
|
-
"text": ""
|
|
802
|
-
},
|
|
803
|
-
"complexType": {
|
|
804
|
-
"original": "any",
|
|
805
|
-
"resolved": "any",
|
|
806
|
-
"references": {}
|
|
807
|
-
}
|
|
808
|
-
}, {
|
|
809
|
-
"method": "treeviewChecked",
|
|
810
|
-
"name": "bcm-treeview-checked",
|
|
811
|
-
"bubbles": true,
|
|
812
|
-
"cancelable": true,
|
|
813
|
-
"composed": true,
|
|
814
|
-
"docs": {
|
|
815
|
-
"tags": [],
|
|
816
|
-
"text": ""
|
|
817
|
-
},
|
|
818
|
-
"complexType": {
|
|
819
|
-
"original": "any",
|
|
820
|
-
"resolved": "any",
|
|
821
|
-
"references": {}
|
|
822
|
-
}
|
|
823
|
-
}, {
|
|
824
|
-
"method": "treeviewChange",
|
|
825
|
-
"name": "bcm-treeview-change",
|
|
826
|
-
"bubbles": true,
|
|
827
|
-
"cancelable": true,
|
|
828
|
-
"composed": true,
|
|
829
|
-
"docs": {
|
|
830
|
-
"tags": [],
|
|
831
|
-
"text": ""
|
|
832
|
-
},
|
|
833
|
-
"complexType": {
|
|
834
|
-
"original": "any",
|
|
835
|
-
"resolved": "any",
|
|
836
|
-
"references": {}
|
|
837
|
-
}
|
|
838
|
-
}, {
|
|
839
|
-
"method": "treeviewIndeterminateUnchecked",
|
|
840
|
-
"name": "bcm-treeview-indeterminate-unchecked",
|
|
841
|
-
"bubbles": true,
|
|
842
|
-
"cancelable": true,
|
|
843
|
-
"composed": true,
|
|
844
|
-
"docs": {
|
|
845
|
-
"tags": [],
|
|
846
|
-
"text": ""
|
|
847
|
-
},
|
|
848
|
-
"complexType": {
|
|
849
|
-
"original": "any",
|
|
850
|
-
"resolved": "any",
|
|
851
|
-
"references": {}
|
|
852
|
-
}
|
|
853
|
-
}, {
|
|
854
|
-
"method": "treeviewIndeterminateChecked",
|
|
855
|
-
"name": "bcm-treeview-indeterminate-checked",
|
|
856
|
-
"bubbles": true,
|
|
857
|
-
"cancelable": true,
|
|
858
|
-
"composed": true,
|
|
859
|
-
"docs": {
|
|
860
|
-
"tags": [],
|
|
861
|
-
"text": ""
|
|
862
|
-
},
|
|
863
|
-
"complexType": {
|
|
864
|
-
"original": "any",
|
|
865
|
-
"resolved": "any",
|
|
866
|
-
"references": {}
|
|
867
|
-
}
|
|
868
|
-
}, {
|
|
869
|
-
"method": "itemChecked",
|
|
870
|
-
"name": "bcm-treeview-check-item-checked",
|
|
871
|
-
"bubbles": true,
|
|
872
|
-
"cancelable": true,
|
|
873
|
-
"composed": true,
|
|
874
|
-
"docs": {
|
|
875
|
-
"tags": [],
|
|
876
|
-
"text": ""
|
|
877
|
-
},
|
|
878
|
-
"complexType": {
|
|
879
|
-
"original": "any",
|
|
880
|
-
"resolved": "any",
|
|
881
|
-
"references": {}
|
|
882
|
-
}
|
|
883
|
-
}, {
|
|
884
|
-
"method": "itemUnchecked",
|
|
885
|
-
"name": "bcm-treeview-check-item-unchecked",
|
|
886
|
-
"bubbles": true,
|
|
887
|
-
"cancelable": true,
|
|
888
|
-
"composed": true,
|
|
889
|
-
"docs": {
|
|
890
|
-
"tags": [],
|
|
891
|
-
"text": ""
|
|
892
|
-
},
|
|
893
|
-
"complexType": {
|
|
894
|
-
"original": "any",
|
|
895
|
-
"resolved": "any",
|
|
896
|
-
"references": {}
|
|
897
|
-
}
|
|
898
|
-
}, {
|
|
899
|
-
"method": "groupCheck",
|
|
900
|
-
"name": "bcm-treeview-check-group-check",
|
|
901
|
-
"bubbles": true,
|
|
902
|
-
"cancelable": true,
|
|
903
|
-
"composed": true,
|
|
904
|
-
"docs": {
|
|
905
|
-
"tags": [],
|
|
906
|
-
"text": ""
|
|
907
|
-
},
|
|
908
|
-
"complexType": {
|
|
909
|
-
"original": "any",
|
|
910
|
-
"resolved": "any",
|
|
911
|
-
"references": {}
|
|
912
|
-
}
|
|
913
|
-
}, {
|
|
914
|
-
"method": "favoriteStatus",
|
|
915
|
-
"name": "bcm-favorite-status",
|
|
916
|
-
"bubbles": true,
|
|
917
|
-
"cancelable": true,
|
|
918
|
-
"composed": true,
|
|
919
|
-
"docs": {
|
|
920
|
-
"tags": [],
|
|
921
|
-
"text": ""
|
|
922
|
-
},
|
|
923
|
-
"complexType": {
|
|
924
|
-
"original": "any",
|
|
925
|
-
"resolved": "any",
|
|
926
|
-
"references": {}
|
|
927
|
-
}
|
|
928
|
-
}]; }
|
|
929
|
-
static get elementRef() { return "el"; }
|
|
930
|
-
static get watchers() { return [{
|
|
931
|
-
"propName": "_contextMenu",
|
|
932
|
-
"methodName": "parseItems"
|
|
933
|
-
}]; }
|
|
934
|
-
static get listeners() { return [{
|
|
935
|
-
"name": "bcm-treeview-clear-selecteds",
|
|
936
|
-
"method": "handletreeviewClearSelecteds",
|
|
937
|
-
"target": "document",
|
|
938
|
-
"capture": false,
|
|
939
|
-
"passive": false
|
|
940
|
-
}, {
|
|
941
|
-
"name": "bcm-treeview-change",
|
|
942
|
-
"method": "ListentreeviewChange",
|
|
943
|
-
"target": "document",
|
|
944
|
-
"capture": false,
|
|
945
|
-
"passive": false
|
|
946
|
-
}, {
|
|
947
|
-
"name": "bcm-treeview-send-check",
|
|
948
|
-
"method": "ListentreeviewShowContext",
|
|
949
|
-
"target": "document",
|
|
950
|
-
"capture": false,
|
|
951
|
-
"passive": false
|
|
952
|
-
}, {
|
|
953
|
-
"name": "bcm-treeview-send-uncheck",
|
|
954
|
-
"method": "ListentreeviewShowContext",
|
|
955
|
-
"target": "document",
|
|
956
|
-
"capture": false,
|
|
957
|
-
"passive": false
|
|
958
|
-
}, {
|
|
959
|
-
"name": "bcm-treeview-show-context",
|
|
960
|
-
"method": "ListentreeviewShowContext",
|
|
961
|
-
"target": "document",
|
|
962
|
-
"capture": false,
|
|
963
|
-
"passive": false
|
|
964
|
-
}, {
|
|
965
|
-
"name": "click",
|
|
966
|
-
"method": "handleWindowClick",
|
|
967
|
-
"target": "window",
|
|
968
|
-
"capture": false,
|
|
969
|
-
"passive": false
|
|
970
|
-
}, {
|
|
971
|
-
"name": "bcm-treeview-check-group-check",
|
|
972
|
-
"method": "checkGroup",
|
|
973
|
-
"target": undefined,
|
|
974
|
-
"capture": false,
|
|
975
|
-
"passive": false
|
|
976
|
-
}]; }
|
|
977
|
-
}
|