@3t-transform/threeteeui 1.9.101 → 1.9.103
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/cjs/{auto-be8ad100.js → auto-356ad09b.js} +177 -177
- package/dist/cjs/{domsanitiser.options-55ce2d65.js → domsanitiser.options-065dbed8.js} +12 -12
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{tttx-action-dropdown_1_9_101.cjs.entry.js → tttx-action-dropdown_1_9_103.cjs.entry.js} +51 -51
- package/dist/cjs/{tttx-button-v2_1_9_101.cjs.entry.js → tttx-button-v2_1_9_103.cjs.entry.js} +147 -147
- package/dist/cjs/{tttx-button_1_9_101.cjs.entry.js → tttx-button_1_9_103.cjs.entry.js} +26 -26
- package/dist/cjs/{tttx-chart_1_9_101.cjs.entry.js → tttx-chart_1_9_103.cjs.entry.js} +524 -524
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_101.cjs.entry.js → tttx-checkbox-group-caption_1_9_103.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_101.cjs.entry.js → tttx-checkbox-group-heading_1_9_103.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-checkbox-group_1_9_101.cjs.entry.js → tttx-checkbox-group_1_9_103.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-checkbox_1_9_101.cjs.entry.js → tttx-checkbox_1_9_103.cjs.entry.js} +33 -33
- package/dist/cjs/{tttx-comments_1_9_101.cjs.entry.js → tttx-comments_1_9_103.cjs.entry.js} +204 -204
- package/dist/cjs/{tttx-data-pattern_1_9_101.cjs.entry.js → tttx-data-pattern_1_9_103.cjs.entry.js} +20 -20
- package/dist/cjs/{tttx-datacard_1_9_101.cjs.entry.js → tttx-datacard_1_9_103.cjs.entry.js} +43 -43
- package/dist/cjs/tttx-date-range-picker.cjs.entry.js +212 -212
- package/dist/cjs/{tttx-dialog-box_1_9_101.cjs.entry.js → tttx-dialog-box_1_9_103.cjs.entry.js} +94 -94
- package/dist/cjs/{tttx-dialog_1_9_101.cjs.entry.js → tttx-dialog_1_9_103.cjs.entry.js} +69 -69
- package/dist/cjs/{tttx-expander_1_9_101.cjs.entry.js → tttx-expander_1_9_103.cjs.entry.js} +28 -28
- package/dist/cjs/{tttx-filter_1_9_101_4.cjs.entry.js → tttx-filter_1_9_103_4.cjs.entry.js} +386 -386
- package/dist/cjs/{tttx-form_1_9_101.cjs.entry.js → tttx-form_1_9_103.cjs.entry.js} +985 -985
- package/dist/cjs/{tttx-graph_1_9_101.cjs.entry.js → tttx-graph_1_9_103.cjs.entry.js} +124 -124
- package/dist/cjs/{tttx-icon_1_9_101.cjs.entry.js → tttx-icon_1_9_103.cjs.entry.js} +24 -24
- package/dist/cjs/{tttx-keyvalue-block_1_9_101.cjs.entry.js → tttx-keyvalue-block_1_9_103.cjs.entry.js} +62 -62
- package/dist/cjs/{tttx-loading-spinner_1_9_101_3.cjs.entry.js → tttx-loading-spinner_1_9_103_3.cjs.entry.js} +172 -172
- package/dist/cjs/{tttx-multiselect-box_1_9_101.cjs.entry.js → tttx-multiselect-box_1_9_103.cjs.entry.js} +175 -175
- package/dist/cjs/{tttx-percentage-bar_1_9_101.cjs.entry.js → tttx-percentage-bar_1_9_103.cjs.entry.js} +56 -56
- package/dist/cjs/{tttx-qrcode_1_9_101.cjs.entry.js → tttx-qrcode_1_9_103.cjs.entry.js} +28 -28
- package/dist/cjs/{tttx-range-slider_1_9_101.cjs.entry.js → tttx-range-slider_1_9_103.cjs.entry.js} +185 -185
- package/dist/cjs/{tttx-select-box_1_9_101.cjs.entry.js → tttx-select-box_1_9_103.cjs.entry.js} +239 -239
- package/dist/cjs/{tttx-skeleton_loader_1_9_101.cjs.entry.js → tttx-skeleton_loader_1_9_103.cjs.entry.js} +30 -30
- package/dist/cjs/{tttx-table_1_9_101.cjs.entry.js → tttx-table_1_9_103.cjs.entry.js} +72 -72
- package/dist/cjs/{tttx-tabs_1_9_101.cjs.entry.js → tttx-tabs_1_9_103.cjs.entry.js} +103 -103
- package/dist/cjs/{tttx-tag-v2_1_9_101.cjs.entry.js → tttx-tag-v2_1_9_103.cjs.entry.js} +72 -72
- package/dist/cjs/{tttx-textarea_1_9_101.cjs.entry.js → tttx-textarea_1_9_103.cjs.entry.js} +50 -50
- package/dist/cjs/{tttx-toggle_1_9_101.cjs.entry.js → tttx-toggle_1_9_103.cjs.entry.js} +30 -30
- package/dist/cjs/{tttx-tooltip_1_9_101.cjs.entry.js → tttx-tooltip_1_9_103.cjs.entry.js} +87 -87
- package/dist/cjs/{tttx-tree-view_1_9_101.cjs.entry.js → tttx-tree-view_1_9_103.cjs.entry.js} +342 -342
- package/dist/cjs/tttx.cjs.js +1 -1
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +129 -129
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +40 -40
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.css +1 -1
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.js +436 -436
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.stories.js +143 -143
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +154 -154
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +58 -58
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +186 -186
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +92 -92
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +92 -92
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +26 -26
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +137 -137
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +94 -94
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +194 -194
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +53 -53
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +168 -168
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +52 -52
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +81 -81
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +22 -22
- package/dist/collection/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.js +225 -225
- package/dist/collection/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.stories.js +44 -44
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +157 -157
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +53 -53
- package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.js +281 -281
- package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.stories.js +84 -84
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +84 -84
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +8 -8
- package/dist/collection/components/domsanitiser.options.js +14 -14
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +213 -213
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +55 -55
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +793 -793
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +209 -209
- package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +17 -17
- package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +17 -17
- package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +18 -18
- package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +62 -62
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +536 -536
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +151 -151
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +292 -292
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.stories.js +48 -48
- package/dist/collection/components/molecules/tttx-dialog/icon-types.js +6 -6
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +218 -218
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +50 -50
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +246 -246
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +314 -314
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +134 -134
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +46 -46
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +416 -416
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +81 -81
- package/dist/collection/components/molecules/tttx-form/lib/setErrorState.js +49 -49
- package/dist/collection/components/molecules/tttx-form/lib/timecomparatorChecks.js +64 -64
- package/dist/collection/components/molecules/tttx-form/lib/validityCheck.js +76 -76
- package/dist/collection/components/molecules/tttx-form/tttx-form.js +1267 -1267
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +595 -595
- package/dist/collection/components/molecules/tttx-graph/gauge-label-plugin.js +14 -14
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +184 -184
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +32 -32
- package/dist/collection/components/molecules/tttx-list/tttx-list.js +165 -165
- package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +134 -134
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +499 -499
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +151 -151
- package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.js +304 -304
- package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.stories.js +22 -22
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +671 -671
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +140 -140
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +253 -253
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +43 -43
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +764 -764
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +191 -191
- package/dist/collection/components/molecules/tttx-table/tttx-table.css +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.js +318 -318
- package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +191 -191
- package/dist/collection/components/molecules/tttx-table/tttx-table.types.js +1 -1
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +253 -253
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +82 -82
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +420 -420
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +81 -81
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +73 -73
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +97 -97
- package/dist/collection/components/molecules/tttx-tooltip/tttx-tooltip.js +253 -253
- package/dist/collection/components/molecules/tttx-tooltip/tttx-tootip.stories.js +117 -117
- package/dist/collection/components/molecules/tttx-tree-view/helper/helper.js +1 -1
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.css +1 -1
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +463 -463
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +402 -402
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +176 -176
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +28 -28
- package/dist/collection/components/palette.stories.js +7 -7
- package/dist/collection/icons.js +2838 -2838
- package/dist/collection/index.js +1 -1
- package/dist/collection/shared/domsanitiser.options.js +14 -14
- package/dist/components/auto.js +177 -177
- package/dist/components/domsanitiser.options.js +12 -12
- package/dist/components/index.d.ts +38 -38
- package/dist/components/index.js +38 -38
- package/dist/components/tttx-action-dropdown_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_101.js → tttx-action-dropdown_1_9_103.js} +81 -81
- package/dist/components/tttx-button-v2.js +182 -182
- package/dist/components/tttx-button-v2_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-button-v2_1_9_101.js → tttx-button-v2_1_9_103.js} +2 -2
- package/dist/components/tttx-button.js +51 -51
- package/dist/components/{tttx-dialog_1_9_101.d.ts → tttx-button_1_9_103.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_101.js → tttx-button_1_9_103.js} +2 -2
- package/dist/components/{tttx-table_1_9_101.d.ts → tttx-chart_1_9_103.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_101.js → tttx-chart_1_9_103.js} +574 -574
- package/dist/components/tttx-checkbox-group-caption_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_101.js → tttx-checkbox-group-caption_1_9_103.js} +24 -24
- package/dist/components/tttx-checkbox-group-heading_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_101.js → tttx-checkbox-group-heading_1_9_103.js} +24 -24
- package/dist/components/tttx-checkbox-group_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_101.js → tttx-checkbox-group_1_9_103.js} +25 -25
- package/dist/components/tttx-checkbox_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-checkbox_1_9_101.js → tttx-checkbox_1_9_103.js} +59 -59
- package/dist/components/tttx-comments_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-comments_1_9_101.js → tttx-comments_1_9_103.js} +241 -241
- package/dist/components/tttx-data-pattern_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_101.js → tttx-data-pattern_1_9_103.js} +80 -80
- package/dist/components/tttx-datacard_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-datacard_1_9_101.js → tttx-datacard_1_9_103.js} +79 -79
- package/dist/components/tttx-date-range-picker.js +242 -242
- package/dist/components/tttx-dialog-box_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_101.js → tttx-dialog-box_1_9_103.js} +125 -125
- package/dist/components/{tttx-filter_1_9_101.d.ts → tttx-dialog_1_9_103.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_101.js → tttx-dialog_1_9_103.js} +103 -103
- package/dist/components/tttx-expander_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_101.js → tttx-expander_1_9_103.js} +55 -55
- package/dist/components/tttx-filter.js +217 -217
- package/dist/components/{tttx-button_1_9_101.d.ts → tttx-filter_1_9_103.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_101.js → tttx-filter_1_9_103.js} +2 -2
- package/dist/components/{tttx-form_1_9_101.d.ts → tttx-form_1_9_103.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_101.js → tttx-form_1_9_103.js} +1039 -1039
- package/dist/components/tttx-graph.js +143 -143
- package/dist/components/{tttx-graph_1_9_101.d.ts → tttx-graph_1_9_103.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_101.js → tttx-graph_1_9_103.js} +2 -2
- package/dist/components/tttx-icon.js +42 -42
- package/dist/components/{tttx-list_1_9_101.d.ts → tttx-icon_1_9_103.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_101.js → tttx-icon_1_9_103.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_101.js → tttx-keyvalue-block_1_9_103.js} +83 -83
- package/dist/components/tttx-list.js +92 -92
- package/dist/components/{tttx-tabs_1_9_101.d.ts → tttx-list_1_9_103.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_101.js → tttx-list_1_9_103.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +92 -92
- package/dist/components/tttx-loading-spinner_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_101.js → tttx-loading-spinner_1_9_103.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_101.js → tttx-multiselect-box_1_9_103.js} +231 -231
- package/dist/components/tttx-percentage-bar_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_101.js → tttx-percentage-bar_1_9_103.js} +80 -80
- package/dist/components/tttx-qrcode_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-qrcode_1_9_101.js → tttx-qrcode_1_9_103.js} +47 -47
- package/dist/components/tttx-range-slider_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-range-slider_1_9_101.js → tttx-range-slider_1_9_103.js} +208 -208
- package/dist/components/tttx-select-box.js +295 -295
- package/dist/components/tttx-select-box_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_101.js → tttx-select-box_1_9_103.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_101.js → tttx-skeleton_loader_1_9_103.js} +57 -57
- package/dist/components/tttx-sorter.js +136 -136
- package/dist/components/tttx-sorter_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_101.js → tttx-sorter_1_9_103.js} +2 -2
- package/dist/components/tttx-standalone-input.js +136 -136
- package/dist/components/tttx-standalone-input_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_101.js → tttx-standalone-input_1_9_103.js} +2 -2
- package/dist/components/{tttx-chart_1_9_101.d.ts → tttx-table_1_9_103.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_101.js → tttx-table_1_9_103.js} +109 -109
- package/dist/components/{tttx-icon_1_9_101.d.ts → tttx-tabs_1_9_103.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_101.js → tttx-tabs_1_9_103.js} +128 -128
- package/dist/components/{tttx-tag-v2_1_9_101.d.ts → tttx-tag-v2_1_9_103.d.ts} +4 -4
- package/dist/components/{tttx-tag-v2_1_9_101.js → tttx-tag-v2_1_9_103.js} +105 -105
- package/dist/components/tttx-tag.js +44 -44
- package/dist/components/{tttx-tag_1_9_101.d.ts → tttx-tag_1_9_103.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_101.js → tttx-tag_1_9_103.js} +2 -2
- package/dist/components/tttx-textarea_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_101.js → tttx-textarea_1_9_103.js} +83 -83
- package/dist/components/tttx-toggle_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_101.js → tttx-toggle_1_9_103.js} +49 -49
- package/dist/components/tttx-toolbar.js +42 -42
- package/dist/components/tttx-toolbar_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_101.js → tttx-toolbar_1_9_103.js} +2 -2
- package/dist/components/tttx-tooltip_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-tooltip_1_9_101.js → tttx-tooltip_1_9_103.js} +114 -114
- package/dist/components/tttx-tree-view_1_9_103.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_101.js → tttx-tree-view_1_9_103.js} +371 -371
- package/dist/esm/{auto-421f2656.js → auto-a07ee1b1.js} +177 -177
- package/dist/esm/{domsanitiser.options-38a67458.js → domsanitiser.options-2c1ef894.js} +12 -12
- package/dist/esm/loader.js +1 -1
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/{tttx-action-dropdown_1_9_101.entry.js → tttx-action-dropdown_1_9_103.entry.js} +51 -51
- package/dist/esm/{tttx-button-v2_1_9_101.entry.js → tttx-button-v2_1_9_103.entry.js} +147 -147
- package/dist/esm/{tttx-button_1_9_101.entry.js → tttx-button_1_9_103.entry.js} +26 -26
- package/dist/esm/{tttx-chart_1_9_101.entry.js → tttx-chart_1_9_103.entry.js} +524 -524
- package/dist/esm/{tttx-checkbox-group-caption_1_9_101.entry.js → tttx-checkbox-group-caption_1_9_103.entry.js} +9 -9
- package/dist/esm/{tttx-checkbox-group-heading_1_9_101.entry.js → tttx-checkbox-group-heading_1_9_103.entry.js} +9 -9
- package/dist/esm/{tttx-checkbox-group_1_9_101.entry.js → tttx-checkbox-group_1_9_103.entry.js} +9 -9
- package/dist/esm/{tttx-checkbox_1_9_101.entry.js → tttx-checkbox_1_9_103.entry.js} +33 -33
- package/dist/esm/{tttx-comments_1_9_101.entry.js → tttx-comments_1_9_103.entry.js} +204 -204
- package/dist/esm/{tttx-data-pattern_1_9_101.entry.js → tttx-data-pattern_1_9_103.entry.js} +20 -20
- package/dist/esm/{tttx-datacard_1_9_101.entry.js → tttx-datacard_1_9_103.entry.js} +43 -43
- package/dist/esm/tttx-date-range-picker.entry.js +212 -212
- package/dist/esm/{tttx-dialog-box_1_9_101.entry.js → tttx-dialog-box_1_9_103.entry.js} +94 -94
- package/dist/esm/{tttx-dialog_1_9_101.entry.js → tttx-dialog_1_9_103.entry.js} +69 -69
- package/dist/esm/{tttx-expander_1_9_101.entry.js → tttx-expander_1_9_103.entry.js} +28 -28
- package/dist/esm/{tttx-filter_1_9_101_4.entry.js → tttx-filter_1_9_103_4.entry.js} +383 -383
- package/dist/esm/{tttx-form_1_9_101.entry.js → tttx-form_1_9_103.entry.js} +985 -985
- package/dist/esm/{tttx-graph_1_9_101.entry.js → tttx-graph_1_9_103.entry.js} +124 -124
- package/dist/esm/{tttx-icon_1_9_101.entry.js → tttx-icon_1_9_103.entry.js} +24 -24
- package/dist/esm/{tttx-keyvalue-block_1_9_101.entry.js → tttx-keyvalue-block_1_9_103.entry.js} +62 -62
- package/dist/esm/{tttx-loading-spinner_1_9_101_3.entry.js → tttx-loading-spinner_1_9_103_3.entry.js} +170 -170
- package/dist/esm/{tttx-multiselect-box_1_9_101.entry.js → tttx-multiselect-box_1_9_103.entry.js} +175 -175
- package/dist/esm/{tttx-percentage-bar_1_9_101.entry.js → tttx-percentage-bar_1_9_103.entry.js} +56 -56
- package/dist/esm/{tttx-qrcode_1_9_101.entry.js → tttx-qrcode_1_9_103.entry.js} +28 -28
- package/dist/esm/{tttx-range-slider_1_9_101.entry.js → tttx-range-slider_1_9_103.entry.js} +185 -185
- package/dist/esm/{tttx-select-box_1_9_101.entry.js → tttx-select-box_1_9_103.entry.js} +239 -239
- package/dist/esm/{tttx-skeleton_loader_1_9_101.entry.js → tttx-skeleton_loader_1_9_103.entry.js} +30 -30
- package/dist/esm/{tttx-table_1_9_101.entry.js → tttx-table_1_9_103.entry.js} +72 -72
- package/dist/esm/{tttx-tabs_1_9_101.entry.js → tttx-tabs_1_9_103.entry.js} +103 -103
- package/dist/esm/{tttx-tag-v2_1_9_101.entry.js → tttx-tag-v2_1_9_103.entry.js} +72 -72
- package/dist/esm/{tttx-textarea_1_9_101.entry.js → tttx-textarea_1_9_103.entry.js} +50 -50
- package/dist/esm/{tttx-toggle_1_9_101.entry.js → tttx-toggle_1_9_103.entry.js} +30 -30
- package/dist/esm/{tttx-tooltip_1_9_101.entry.js → tttx-tooltip_1_9_103.entry.js} +87 -87
- package/dist/esm/{tttx-tree-view_1_9_101.entry.js → tttx-tree-view_1_9_103.entry.js} +342 -342
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/{p-b3f49d83.entry.js → p-0c5bc253.entry.js} +1 -1
- package/dist/tttx/{p-82b4e575.entry.js → p-10d2d044.entry.js} +1 -1
- package/dist/tttx/p-1623f3cf.entry.js +1 -1
- package/dist/tttx/{p-b161205b.entry.js → p-16aa3f67.entry.js} +1 -1
- package/dist/tttx/p-21707b8d.entry.js +1 -1
- package/dist/tttx/p-2251ab85.entry.js +1 -1
- package/dist/tttx/p-2d19c46c.entry.js +1 -1
- package/dist/tttx/p-358eaa44.entry.js +1 -1
- package/dist/tttx/p-362999b3.entry.js +1 -1
- package/dist/tttx/p-3ec67d75.entry.js +1 -1
- package/dist/tttx/p-44f0af69.entry.js +1 -1
- package/dist/tttx/p-4664d065.entry.js +1 -1
- package/dist/tttx/{p-00a849cf.entry.js → p-486ca932.entry.js} +1 -1
- package/dist/tttx/{p-e21e3a9c.entry.js → p-59115c8f.entry.js} +1 -1
- package/dist/tttx/p-5d289334.entry.js +1 -1
- package/dist/tttx/p-6ec18b4a.entry.js +1 -1
- package/dist/tttx/{p-a59ad197.entry.js → p-700c2816.entry.js} +1 -1
- package/dist/tttx/p-7b5b0670.entry.js +1 -1
- package/dist/tttx/p-7d1712fe.entry.js +1 -1
- package/dist/tttx/{p-41b69e01.entry.js → p-8f85ab3e.entry.js} +1 -1
- package/dist/tttx/p-a1b8ecda.entry.js +1 -1
- package/dist/tttx/p-a43e2c5e.entry.js +1 -1
- package/dist/tttx/p-b8cc0cb2.entry.js +1 -1
- package/dist/tttx/p-b9003a76.entry.js +1 -1
- package/dist/tttx/p-bb59054f.entry.js +1 -1
- package/dist/tttx/p-c66bc14c.entry.js +1 -1
- package/dist/tttx/p-c8051143.entry.js +1 -1
- package/dist/tttx/p-ca93f786.entry.js +1 -1
- package/dist/tttx/p-d21b0507.entry.js +1 -1
- package/dist/tttx/p-d945d492.entry.js +1 -1
- package/dist/tttx/{p-34e0e487.entry.js → p-df708b75.entry.js} +2 -2
- package/dist/tttx/p-f0c1380f.entry.js +1 -1
- package/dist/tttx/{p-0bb158ce.js → p-f411d1e5.js} +2 -2
- package/dist/tttx/{p-d4c4edbd.entry.js → p-fa25ee03.entry.js} +1 -1
- package/dist/tttx/{p-41f0bf7f.entry.js → p-fbdd1046.entry.js} +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/atoms/tttx-button/tttx-button.d.ts +11 -11
- package/dist/types/components/atoms/tttx-button/tttx-button.stories.d.ts +11 -11
- package/dist/types/components/atoms/tttx-button-v2/tttx-button-v2.d.ts +36 -36
- package/dist/types/components/atoms/tttx-button-v2/tttx-button-v2.stories.d.ts +68 -68
- package/dist/types/components/atoms/tttx-checkbox/tttx-checkbox.d.ts +17 -17
- package/dist/types/components/atoms/tttx-datacard/tttx-datacard.d.ts +21 -21
- package/dist/types/components/atoms/tttx-datacard/tttx-datacard.stories.d.ts +44 -44
- package/dist/types/components/atoms/tttx-icon/tttx-icon.d.ts +9 -9
- package/dist/types/components/atoms/tttx-icon/tttx-icon.stories.d.ts +25 -25
- package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.d.ts +13 -13
- package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.d.ts +11 -11
- package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.d.ts +23 -23
- package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.d.ts +47 -47
- package/dist/types/components/atoms/tttx-percentage-bar/tttx-percentage-bar.d.ts +22 -22
- package/dist/types/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.d.ts +10 -10
- package/dist/types/components/atoms/tttx-qrcode/tttx-qrcode.d.ts +8 -8
- package/dist/types/components/atoms/tttx-qrcode/tttx-qrcode.stories.d.ts +23 -23
- package/dist/types/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.d.ts +14 -14
- package/dist/types/components/atoms/tttx-tag/tttx-tag.d.ts +10 -10
- package/dist/types/components/atoms/tttx-tag/tttx-tag.stories.d.ts +51 -51
- package/dist/types/components/atoms/tttx-tag-v2/tttx-tag-v2.d.ts +15 -15
- package/dist/types/components/atoms/tttx-tag-v2/tttx-tag-v2.stories.d.ts +48 -48
- package/dist/types/components/atoms/tttx-toggle/tttx-toggle.d.ts +11 -11
- package/dist/types/components/atoms/tttx-toggle/tttx-toggle.stories.d.ts +6 -6
- package/dist/types/components/domsanitiser.options.d.ts +10 -10
- package/dist/types/components/molecules/tttx-action-dropdown/tttx-action-dropdown.d.ts +21 -21
- package/dist/types/components/molecules/tttx-chart/tttx-chart.d.ts +60 -60
- package/dist/types/components/molecules/tttx-chart/tttx-chart.stories.d.ts +38 -38
- package/dist/types/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.d.ts +3 -3
- package/dist/types/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.d.ts +3 -3
- package/dist/types/components/molecules/tttx-checkbox-group/tttx-checkbox-group.d.ts +3 -3
- package/dist/types/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.d.ts +15 -15
- package/dist/types/components/molecules/tttx-comments/tttx-comments.d.ts +68 -68
- package/dist/types/components/molecules/tttx-date-range-picker/tttx-date-range-picker.d.ts +42 -42
- package/dist/types/components/molecules/tttx-dialog/icon-types.d.ts +18 -18
- package/dist/types/components/molecules/tttx-dialog/tttx-dialog.d.ts +27 -27
- package/dist/types/components/molecules/tttx-dialog-box/tttx-dialog-box.d.ts +26 -26
- package/dist/types/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.d.ts +24 -24
- package/dist/types/components/molecules/tttx-expander/tttx-expander.d.ts +16 -16
- package/dist/types/components/molecules/tttx-filter/tttx-filter.d.ts +44 -44
- package/dist/types/components/molecules/tttx-form/lib/setErrorState.d.ts +14 -14
- package/dist/types/components/molecules/tttx-form/lib/timecomparatorChecks.d.ts +4 -4
- package/dist/types/components/molecules/tttx-form/lib/validityCheck.d.ts +15 -15
- package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +297 -297
- package/dist/types/components/molecules/tttx-graph/gauge-label-plugin.d.ts +4 -4
- package/dist/types/components/molecules/tttx-graph/tttx-graph.d.ts +13 -13
- package/dist/types/components/molecules/tttx-graph/tttx-graph.stories.d.ts +26 -26
- package/dist/types/components/molecules/tttx-list/tttx-list.d.ts +23 -23
- package/dist/types/components/molecules/tttx-multiselect-box/tttx-multiselect-box.d.ts +50 -50
- package/dist/types/components/molecules/tttx-range-slider/tttx-range-slider.d.ts +45 -45
- package/dist/types/components/molecules/tttx-range-slider/tttx-range-slider.stories.d.ts +7 -7
- package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +55 -55
- package/dist/types/components/molecules/tttx-select-box/tttx-select-box.stories.d.ts +28 -28
- package/dist/types/components/molecules/tttx-sorter/tttx-sorter.d.ts +21 -21
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +69 -69
- package/dist/types/components/molecules/tttx-table/tttx-table.d.ts +32 -32
- package/dist/types/components/molecules/tttx-table/tttx-table.types.d.ts +6 -6
- package/dist/types/components/molecules/tttx-tabs/tttx-tabs.d.ts +25 -25
- package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +42 -42
- package/dist/types/components/molecules/tttx-textarea/tttx-textarea.stories.d.ts +89 -89
- package/dist/types/components/molecules/tttx-toolbar/tttx-toolbar.d.ts +8 -8
- package/dist/types/components/molecules/tttx-toolbar/tttx-toolbar.stories.d.ts +19 -19
- package/dist/types/components/molecules/tttx-tooltip/tttx-tooltip.d.ts +37 -37
- package/dist/types/components/molecules/tttx-tooltip/tttx-tootip.stories.d.ts +12 -12
- package/dist/types/components/molecules/tttx-tree-view/helper/helper.d.ts +24 -24
- package/dist/types/components/molecules/tttx-tree-view/tttx-tree-view.d.ts +57 -57
- package/dist/types/components/organisms/tttx-data-pattern/tttx-data-pattern.d.ts +11 -11
- package/dist/types/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.d.ts +13 -13
- package/dist/types/components/palette.stories.d.ts +6 -6
- package/dist/types/components.d.ts +451 -451
- package/dist/types/icons.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/shared/domsanitiser.options.d.ts +10 -10
- package/package.json +1 -1
- package/dist/components/tttx-action-dropdown_1_9_101.d.ts +0 -11
- package/dist/components/tttx-button-v2_1_9_101.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_101.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_101.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_101.d.ts +0 -11
- package/dist/components/tttx-checkbox_1_9_101.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_101.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_101.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_101.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_101.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_101.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_101.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_101.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_101.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_101.d.ts +0 -11
- package/dist/components/tttx-qrcode_1_9_101.d.ts +0 -11
- package/dist/components/tttx-range-slider_1_9_101.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_101.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_101.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_101.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_101.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_101.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_101.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_101.d.ts +0 -11
- package/dist/components/tttx-tooltip_1_9_101.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_101.d.ts +0 -11
- package/dist/types/components/atoms/tttx-checkbox/tttx-checkbox.stories.d.ts +0 -47
- package/dist/types/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.stories.d.ts +0 -58
- package/dist/types/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.d.ts +0 -36
- package/dist/types/components/molecules/tttx-comments/tttx-comments.stories.d.ts +0 -8
- package/dist/types/components/molecules/tttx-date-range-picker/tttx-date-range-picker.stories.d.ts +0 -28
- package/dist/types/components/molecules/tttx-dialog/tttx-dialog.stories.d.ts +0 -42
- package/dist/types/components/molecules/tttx-expander/tttx-expander.stories.d.ts +0 -27
- package/dist/types/components/molecules/tttx-filter/tttx-filter.stories.d.ts +0 -76
- package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +0 -718
- package/dist/types/components/molecules/tttx-list/tttx-list.stories.d.ts +0 -15
- package/dist/types/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.d.ts +0 -17
- package/dist/types/components/molecules/tttx-sorter/tttx-sorter.stories.d.ts +0 -30
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts +0 -150
- package/dist/types/components/molecules/tttx-table/tttx-table.stories.d.ts +0 -79
- package/dist/types/components/molecules/tttx-tabs/tttx-tabs.stories.d.ts +0 -13
- package/dist/types/components/molecules/tttx-tree-view/tttx-tree-view.stories.d.ts +0 -15
- /package/dist/tttx/{p-55799798.js → p-62d92a44.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
/*!
|
|
4
|
-
* @kurkle/color v0.3.
|
|
4
|
+
* @kurkle/color v0.3.2
|
|
5
5
|
* https://github.com/kurkle/color#readme
|
|
6
|
-
* (c)
|
|
6
|
+
* (c) 2023 Jukka Kurkela
|
|
7
7
|
* Released under the MIT License
|
|
8
8
|
*/
|
|
9
9
|
function round(v) {
|
|
@@ -177,183 +177,183 @@ function hslString(v) {
|
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
const map$2 = {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
180
|
+
x: 'dark',
|
|
181
|
+
Z: 'light',
|
|
182
|
+
Y: 're',
|
|
183
|
+
X: 'blu',
|
|
184
|
+
W: 'gr',
|
|
185
|
+
V: 'medium',
|
|
186
|
+
U: 'slate',
|
|
187
|
+
A: 'ee',
|
|
188
|
+
T: 'ol',
|
|
189
|
+
S: 'or',
|
|
190
|
+
B: 'ra',
|
|
191
|
+
C: 'lateg',
|
|
192
|
+
D: 'ights',
|
|
193
|
+
R: 'in',
|
|
194
|
+
Q: 'turquois',
|
|
195
|
+
E: 'hi',
|
|
196
|
+
P: 'ro',
|
|
197
|
+
O: 'al',
|
|
198
|
+
N: 'le',
|
|
199
|
+
M: 'de',
|
|
200
|
+
L: 'yello',
|
|
201
|
+
F: 'en',
|
|
202
|
+
K: 'ch',
|
|
203
|
+
G: 'arks',
|
|
204
|
+
H: 'ea',
|
|
205
|
+
I: 'ightg',
|
|
206
|
+
J: 'wh'
|
|
207
207
|
};
|
|
208
208
|
const names$1 = {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
209
|
+
OiceXe: 'f0f8ff',
|
|
210
|
+
antiquewEte: 'faebd7',
|
|
211
|
+
aqua: 'ffff',
|
|
212
|
+
aquamarRe: '7fffd4',
|
|
213
|
+
azuY: 'f0ffff',
|
|
214
|
+
beige: 'f5f5dc',
|
|
215
|
+
bisque: 'ffe4c4',
|
|
216
|
+
black: '0',
|
|
217
|
+
blanKedOmond: 'ffebcd',
|
|
218
|
+
Xe: 'ff',
|
|
219
|
+
XeviTet: '8a2be2',
|
|
220
|
+
bPwn: 'a52a2a',
|
|
221
|
+
burlywood: 'deb887',
|
|
222
|
+
caMtXe: '5f9ea0',
|
|
223
|
+
KartYuse: '7fff00',
|
|
224
|
+
KocTate: 'd2691e',
|
|
225
|
+
cSO: 'ff7f50',
|
|
226
|
+
cSnflowerXe: '6495ed',
|
|
227
|
+
cSnsilk: 'fff8dc',
|
|
228
|
+
crimson: 'dc143c',
|
|
229
|
+
cyan: 'ffff',
|
|
230
|
+
xXe: '8b',
|
|
231
|
+
xcyan: '8b8b',
|
|
232
|
+
xgTMnPd: 'b8860b',
|
|
233
|
+
xWay: 'a9a9a9',
|
|
234
|
+
xgYF: '6400',
|
|
235
|
+
xgYy: 'a9a9a9',
|
|
236
|
+
xkhaki: 'bdb76b',
|
|
237
|
+
xmagFta: '8b008b',
|
|
238
|
+
xTivegYF: '556b2f',
|
|
239
|
+
xSange: 'ff8c00',
|
|
240
|
+
xScEd: '9932cc',
|
|
241
|
+
xYd: '8b0000',
|
|
242
|
+
xsOmon: 'e9967a',
|
|
243
|
+
xsHgYF: '8fbc8f',
|
|
244
|
+
xUXe: '483d8b',
|
|
245
|
+
xUWay: '2f4f4f',
|
|
246
|
+
xUgYy: '2f4f4f',
|
|
247
|
+
xQe: 'ced1',
|
|
248
|
+
xviTet: '9400d3',
|
|
249
|
+
dAppRk: 'ff1493',
|
|
250
|
+
dApskyXe: 'bfff',
|
|
251
|
+
dimWay: '696969',
|
|
252
|
+
dimgYy: '696969',
|
|
253
|
+
dodgerXe: '1e90ff',
|
|
254
|
+
fiYbrick: 'b22222',
|
|
255
|
+
flSOwEte: 'fffaf0',
|
|
256
|
+
foYstWAn: '228b22',
|
|
257
|
+
fuKsia: 'ff00ff',
|
|
258
|
+
gaRsbSo: 'dcdcdc',
|
|
259
|
+
ghostwEte: 'f8f8ff',
|
|
260
|
+
gTd: 'ffd700',
|
|
261
|
+
gTMnPd: 'daa520',
|
|
262
|
+
Way: '808080',
|
|
263
|
+
gYF: '8000',
|
|
264
|
+
gYFLw: 'adff2f',
|
|
265
|
+
gYy: '808080',
|
|
266
|
+
honeyMw: 'f0fff0',
|
|
267
|
+
hotpRk: 'ff69b4',
|
|
268
|
+
RdianYd: 'cd5c5c',
|
|
269
|
+
Rdigo: '4b0082',
|
|
270
|
+
ivSy: 'fffff0',
|
|
271
|
+
khaki: 'f0e68c',
|
|
272
|
+
lavFMr: 'e6e6fa',
|
|
273
|
+
lavFMrXsh: 'fff0f5',
|
|
274
|
+
lawngYF: '7cfc00',
|
|
275
|
+
NmoncEffon: 'fffacd',
|
|
276
|
+
ZXe: 'add8e6',
|
|
277
|
+
ZcSO: 'f08080',
|
|
278
|
+
Zcyan: 'e0ffff',
|
|
279
|
+
ZgTMnPdLw: 'fafad2',
|
|
280
|
+
ZWay: 'd3d3d3',
|
|
281
|
+
ZgYF: '90ee90',
|
|
282
|
+
ZgYy: 'd3d3d3',
|
|
283
|
+
ZpRk: 'ffb6c1',
|
|
284
|
+
ZsOmon: 'ffa07a',
|
|
285
|
+
ZsHgYF: '20b2aa',
|
|
286
|
+
ZskyXe: '87cefa',
|
|
287
|
+
ZUWay: '778899',
|
|
288
|
+
ZUgYy: '778899',
|
|
289
|
+
ZstAlXe: 'b0c4de',
|
|
290
|
+
ZLw: 'ffffe0',
|
|
291
|
+
lime: 'ff00',
|
|
292
|
+
limegYF: '32cd32',
|
|
293
|
+
lRF: 'faf0e6',
|
|
294
|
+
magFta: 'ff00ff',
|
|
295
|
+
maPon: '800000',
|
|
296
|
+
VaquamarRe: '66cdaa',
|
|
297
|
+
VXe: 'cd',
|
|
298
|
+
VScEd: 'ba55d3',
|
|
299
|
+
VpurpN: '9370db',
|
|
300
|
+
VsHgYF: '3cb371',
|
|
301
|
+
VUXe: '7b68ee',
|
|
302
|
+
VsprRggYF: 'fa9a',
|
|
303
|
+
VQe: '48d1cc',
|
|
304
|
+
VviTetYd: 'c71585',
|
|
305
|
+
midnightXe: '191970',
|
|
306
|
+
mRtcYam: 'f5fffa',
|
|
307
|
+
mistyPse: 'ffe4e1',
|
|
308
|
+
moccasR: 'ffe4b5',
|
|
309
|
+
navajowEte: 'ffdead',
|
|
310
|
+
navy: '80',
|
|
311
|
+
Tdlace: 'fdf5e6',
|
|
312
|
+
Tive: '808000',
|
|
313
|
+
TivedBb: '6b8e23',
|
|
314
|
+
Sange: 'ffa500',
|
|
315
|
+
SangeYd: 'ff4500',
|
|
316
|
+
ScEd: 'da70d6',
|
|
317
|
+
pOegTMnPd: 'eee8aa',
|
|
318
|
+
pOegYF: '98fb98',
|
|
319
|
+
pOeQe: 'afeeee',
|
|
320
|
+
pOeviTetYd: 'db7093',
|
|
321
|
+
papayawEp: 'ffefd5',
|
|
322
|
+
pHKpuff: 'ffdab9',
|
|
323
|
+
peru: 'cd853f',
|
|
324
|
+
pRk: 'ffc0cb',
|
|
325
|
+
plum: 'dda0dd',
|
|
326
|
+
powMrXe: 'b0e0e6',
|
|
327
|
+
purpN: '800080',
|
|
328
|
+
YbeccapurpN: '663399',
|
|
329
|
+
Yd: 'ff0000',
|
|
330
|
+
Psybrown: 'bc8f8f',
|
|
331
|
+
PyOXe: '4169e1',
|
|
332
|
+
saddNbPwn: '8b4513',
|
|
333
|
+
sOmon: 'fa8072',
|
|
334
|
+
sandybPwn: 'f4a460',
|
|
335
|
+
sHgYF: '2e8b57',
|
|
336
|
+
sHshell: 'fff5ee',
|
|
337
|
+
siFna: 'a0522d',
|
|
338
|
+
silver: 'c0c0c0',
|
|
339
|
+
skyXe: '87ceeb',
|
|
340
|
+
UXe: '6a5acd',
|
|
341
|
+
UWay: '708090',
|
|
342
|
+
UgYy: '708090',
|
|
343
|
+
snow: 'fffafa',
|
|
344
|
+
sprRggYF: 'ff7f',
|
|
345
|
+
stAlXe: '4682b4',
|
|
346
|
+
tan: 'd2b48c',
|
|
347
|
+
teO: '8080',
|
|
348
|
+
tEstN: 'd8bfd8',
|
|
349
|
+
tomato: 'ff6347',
|
|
350
|
+
Qe: '40e0d0',
|
|
351
|
+
viTet: 'ee82ee',
|
|
352
|
+
JHt: 'f5deb3',
|
|
353
|
+
wEte: 'ffffff',
|
|
354
|
+
wEtesmoke: 'f5f5f5',
|
|
355
|
+
Lw: 'ffff00',
|
|
356
|
+
LwgYF: '9acd32'
|
|
357
357
|
};
|
|
358
358
|
function unpack() {
|
|
359
359
|
const unpacked = {};
|
|
@@ -1512,18 +1512,18 @@ var purify = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
1512
1512
|
//# sourceMappingURL=purify.js.map
|
|
1513
1513
|
});
|
|
1514
1514
|
|
|
1515
|
-
function tagRegXp(tagName) {
|
|
1516
|
-
return RegExp(/^tttx-/).exec(tagName);
|
|
1517
|
-
}
|
|
1518
|
-
function attributeNameCheck() {
|
|
1519
|
-
return true;
|
|
1520
|
-
}
|
|
1521
|
-
const domSanitiserOptions = {
|
|
1522
|
-
CUSTOM_ELEMENT_HANDLING: {
|
|
1523
|
-
tagNameCheck: tagRegXp,
|
|
1524
|
-
attributeNameCheck: attributeNameCheck,
|
|
1525
|
-
allowCustomizedBuiltInElements: false, // customized built-ins are not allowed
|
|
1526
|
-
}
|
|
1515
|
+
function tagRegXp(tagName) {
|
|
1516
|
+
return RegExp(/^tttx-/).exec(tagName);
|
|
1517
|
+
}
|
|
1518
|
+
function attributeNameCheck() {
|
|
1519
|
+
return true;
|
|
1520
|
+
}
|
|
1521
|
+
const domSanitiserOptions = {
|
|
1522
|
+
CUSTOM_ELEMENT_HANDLING: {
|
|
1523
|
+
tagNameCheck: tagRegXp,
|
|
1524
|
+
attributeNameCheck: attributeNameCheck,
|
|
1525
|
+
allowCustomizedBuiltInElements: false, // customized built-ins are not allowed
|
|
1526
|
+
}
|
|
1527
1527
|
};
|
|
1528
1528
|
|
|
1529
1529
|
exports.domSanitiserOptions = domSanitiserOptions;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy(JSON.parse("[[\"tttx-data-pattern_1_9_101.cjs\",[[1,\"tttx-data-pattern_1_9_101\",{\"data\":[1],\"sorterOptions\":[1,\"sorter-options\"],\"filterOptions\":[1,\"filter-options\"],\"filterHeader\":[1,\"filter-header\"],\"defaultSortOption\":[1,\"default-sort-option\"],\"searchplaceholder\":[1],\"addbuttonlabel\":[1],\"addbutton\":[4]}]]],[\"tttx-form_1_9_101.cjs\",[[1,\"tttx-form_1_9_101\",{\"formschema\":[1025],\"data\":[1032],\"submit\":[64],\"showLoadingSpinner\":[64],\"setSelectedItem\":[64],\"setSelectOptions\":[64],\"isValid\":[64],\"setValidationFor\":[64],\"clearValidationFor\":[64],\"disableFormField\":[64],\"enableFormField\":[64],\"setInputFieldValue\":[64],\"setFieldReadOnlyMode\":[64]}]]],[\"tttx-multiselect-box_1_9_101.cjs\",[[1,\"tttx-multiselect-box_1_9_101\",{\"optionsData\":[1,\"options-data\"],\"label\":[1],\"inline\":[4],\"placeholder\":[1],\"searchEnabled\":[4,\"search-enabled\"],\"htmlVisibleValue\":[4,\"html-visible-value\"],\"visibleValue\":[1,\"visible-value\"],\"isLoading\":[4,\"is-loading\"],\"stopLocalSearch\":[4,\"stop-local-search\"],\"readOnly\":[4,\"read-only\"],\"priorityLabel\":[1,\"priority-label\"],\"nonPriorityLabel\":[1,\"non-priority-label\"],\"open\":[32],\"unsavedSelectedItems\":[32],\"searchTerm\":[32]},[[0,\"closeSelectBox\",\"handleCloseSelectBox\"],[0,\"blur\",\"handleBlur\"]]]]],[\"tttx-chart_1_9_101.cjs\",[[1,\"tttx-chart_1_9_101\",{\"chartType\":[1,\"chart-type\"],\"chartData\":[16],\"chartOptions\":[16],\"loading\":[4],\"error\":[4],\"fallbackText\":[1,\"fallback-text\"],\"width\":[1],\"height\":[1],\"isYAxisPercentageValues\":[4,\"is-y-axis-percentage-values\"],\"showActiveSegmentLabel\":[4,\"show-active-segment-label\"],\"initialActiveIndex\":[2,\"initial-active-index\"],\"activeSegmentChangeCallback\":[16],\"exportable\":[32],\"chartInstance\":[32],\"showPngSvgExport\":[32],\"selectedSegmentIndex\":[32],\"hoverSegmentIndex\":[32]}]]],[\"tttx-datacard_1_9_101.cjs\",[[1,\"tttx-datacard_1_9_101\",{\"cardTitle\":[1,\"card-title\"],\"leftData\":[1,\"left-data\"],\"rightData\":[1,\"right-data\"],\"rightSubtext\":[1,\"right-subtext\"],\"iconStyle\":[1,\"icon-style\"],\"cardType\":[1,\"card-type\"],\"chartConfig\":[1,\"chart-config\"],\"_chartConfig\":[32],\"chartRender\":[32]}]]],[\"tttx-dialog-box_1_9_101.cjs\",[[1,\"tttx-dialog-box_1_9_101\",{\"data\":[1025],\"size\":[1],\"open\":[1028],\"allowOverflow\":[4,\"allow-overflow\"],\"elementSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-dialog_1_9_101.cjs\",[[1,\"tttx-dialog_1_9_101\",{\"header\":[1],\"type\":[1],\"size\":[1],\"open\":[4],\"allowOverflow\":[4,\"allow-overflow\"],\"closeEnabled\":[4,\"close-enabled\"],\"elementSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-table_1_9_101.cjs\",[[1,\"tttx-table_1_9_101\",{\"headers\":[16],\"data\":[16],\"selectable\":[4],\"loading\":[4],\"draggableHeaders\":[4,\"draggable-headers\"],\"rowsPerPage\":[2,\"rows-per-page\"],\"totalRecords\":[2,\"total-records\"],\"selected\":[2],\"page\":[2],\"currentPage\":[32],\"draggedHeaderIndex\":[32]}]]],[\"tttx-tree-view_1_9_101.cjs\",[[1,\"tttx-tree-view_1_9_101\",{\"data\":[1040],\"treeData\":[32],\"nodesRecentlyMoved\":[32]}]]],[\"tttx-action-dropdown_1_9_101.cjs\",[[1,\"tttx-action-dropdown_1_9_101\",{\"actionKey\":[1,\"action-key\"],\"icon\":[1],\"fieldOptionsData\":[1,\"field-options-data\"],\"defaultOption\":[1,\"default-option\"],\"isIconVisible\":[4,\"is-icon-visible\"],\"selectedField\":[32],\"dropdownExpand\":[32],\"dropdownOptions\":[32]},[[0,\"closeActionDropdown\",\"handleCloseActionDropdown\"]]]]],[\"tttx-checkbox_1_9_101.cjs\",[[0,\"tttx-checkbox_1_9_101\",{\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"inline\":[4],\"indeterminate\":[4],\"checked\":[4]}]]],[\"tttx-comments_1_9_101.cjs\",[[1,\"tttx-comments_1_9_101\",{\"currentuser\":[1],\"comments\":[1],\"disableFile\":[4,\"disable-file\"],\"messageLimit\":[2,\"message-limit\"],\"inputBoxHeight\":[2,\"input-box-height\"],\"placeholder\":[1],\"saveButtonText\":[1,\"save-button-text\"],\"value\":[1],\"allowEditing\":[4,\"allow-editing\"],\"readonly\":[4],\"_comments\":[32],\"showError\":[32],\"_saveButtonText\":[32],\"editingComment\":[32],\"addDummyComment\":[64]}]]],[\"tttx-date-range-picker.cjs\",[[1,\"tttx-date-range-picker\",{\"initialValue\":[16],\"placeholderText\":[1,\"placeholder-text\"],\"showCalendar\":[32],\"startDate\":[32],\"endDate\":[32],\"currentMonth\":[32],\"currentYear\":[32],\"isSelecting\":[32],\"hoverDate\":[32]}]]],[\"tttx-expander_1_9_101.cjs\",[[1,\"tttx-expander_1_9_101\",{\"name\":[1],\"open\":[4],\"lefticon\":[1],\"lefticoncolor\":[1],\"isExpanded\":[32]}]]],[\"tttx-tabs_1_9_101.cjs\",[[2,\"tttx-tabs_1_9_101\",{\"tabsName\":[1,\"tabs-name\"],\"navigation\":[4],\"wide\":[4],\"tabs\":[1],\"_tabs\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"tttx-tag-v2_1_9_101.cjs\",[[1,\"tttx-tag-v2_1_9_101\",{\"text\":[1],\"color\":[1],\"textColor\":[1,\"text-color\"],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"iconSize\":[2,\"icon-size\"],\"state\":[1],\"size\":[1],\"variant\":[1],\"hasStartIcon\":[4,\"has-start-icon\"],\"hasEndIcon\":[4,\"has-end-icon\"]}]]],[\"tttx-checkbox-group-caption_1_9_101.cjs\",[[4,\"tttx-checkbox-group-caption_1_9_101\"]]],[\"tttx-checkbox-group-heading_1_9_101.cjs\",[[4,\"tttx-checkbox-group-heading_1_9_101\"]]],[\"tttx-checkbox-group_1_9_101.cjs\",[[1,\"tttx-checkbox-group_1_9_101\"]]],[\"tttx-keyvalue-block_1_9_101.cjs\",[[1,\"tttx-keyvalue-block_1_9_101\",{\"keyvalues\":[1],\"horizontal\":[4],\"spacedout\":[4],\"_elements\":[32]}]]],[\"tttx-percentage-bar_1_9_101.cjs\",[[2,\"tttx-percentage-bar_1_9_101\",{\"percentage\":[8],\"thresholds\":[1],\"color\":[1],\"min\":[1],\"labelid\":[1],\"_percentage\":[32],\"_ranges\":[32],\"_min\":[32]}]]],[\"tttx-qrcode_1_9_101.cjs\",[[1,\"tttx-qrcode_1_9_101\",{\"link\":[1025],\"size\":[1026]}]]],[\"tttx-range-slider_1_9_101.cjs\",[[1,\"tttx-range-slider_1_9_101\",{\"minimum\":[2],\"maximum\":[2],\"sliderMode\":[1,\"slider-mode\"],\"showFields\":[4,\"show-fields\"],\"lowerValue\":[32],\"upperValue\":[32]},[[0,\"setSliderValues\",\"onSetSliderValues\"]]]]],[\"tttx-skeleton_loader_1_9_101.cjs\",[[1,\"tttx-skeleton_loader_1_9_101\",{\"width\":[1],\"height\":[1],\"borderRadius\":[1,\"border-radius\"],\"color\":[1],\"variant\":[1],\"animation\":[1],\"count\":[2],\"direction\":[1],\"gap\":[1],\"customClass\":[1,\"custom-class\"]}]]],[\"tttx-textarea_1_9_101.cjs\",[[2,\"tttx-textarea_1_9_101\",{\"label\":[1],\"secondarylabel\":[1],\"showerrormsg\":[4],\"showerrorbubble\":[4],\"errormsg\":[1],\"rows\":[2],\"textareaautofocus\":[4],\"inputkeyhint\":[1],\"inputindex\":[8],\"inputtitle\":[1],\"disabled\":[4],\"maxlength\":[8],\"name\":[1],\"placeholder\":[1],\"readonly\":[8],\"required\":[4],\"value\":[1032]}]]],[\"tttx-toggle_1_9_101.cjs\",[[1,\"tttx-toggle_1_9_101\",{\"initialstate\":[8],\"_state\":[32]}]]],[\"tttx-tooltip_1_9_101.cjs\",[[1,\"tttx-tooltip_1_9_101\",{\"text\":[1],\"placement\":[1],\"trigger\":[16],\"delay\":[2],\"disabled\":[4],\"ariaLabel\":[1,\"aria-label\"],\"showShadow\":[4,\"show-shadow\"],\"showOnlyOnOverflow\":[4,\"show-only-on-overflow\"],\"visible\":[32],\"tooltipStyles\":[32]}]]],[\"tttx-icon_1_9_101.cjs\",[[1,\"tttx-icon_1_9_101\",{\"icon\":[1],\"color\":[1],\"size\":[1026]}]]],[\"tttx-loading-spinner_1_9_101_3.cjs\",[[1,\"tttx-tag_1_9_101\",{\"text\":[1],\"color\":[1],\"textColor\":[1,\"text-color\"],\"hasIcon\":[4,\"has-icon\"],\"icon\":[1],\"iconColor\":[1,\"icon-color\"],\"iconSize\":[2,\"icon-size\"]}],[2,\"tttx-standalone-input_1_9_101\",{\"label\":[1],\"secondarylabel\":[1],\"showerrormsg\":[4],\"showerrorbubble\":[4],\"errormsg\":[1],\"iconleft\":[1],\"iconleftcolor\":[1],\"iconright\":[1],\"iconrightcolor\":[1],\"inputicon\":[1],\"inputiconcolor\":[1],\"inline\":[4],\"inputautocapitalize\":[1],\"inputautofocus\":[4],\"inputkeyhint\":[1],\"inputindex\":[8],\"inputtitle\":[1],\"autocomplete\":[1],\"checked\":[4],\"disabled\":[4],\"max\":[8],\"maxlength\":[8],\"min\":[8],\"minlength\":[8],\"name\":[1],\"pattern\":[1],\"placeholder\":[1],\"readonly\":[8],\"required\":[4],\"step\":[8],\"type\":[1],\"value\":[1032]}],[1,\"tttx-loading-spinner_1_9_101\",{\"loadingMessage\":[4,\"loading-message\"],\"size\":[1],\"color\":[1],\"cardBackgroundColor\":[1,\"card-background-color\"],\"message\":[1],\"customMessageSchema\":[16],\"timeElapsed\":[32]}]]],[\"tttx-select-box_1_9_101.cjs\",[[1,\"tttx-select-box_1_9_101\",{\"optionsData\":[1,\"options-data\"],\"label\":[1],\"inline\":[4],\"placeholder\":[1],\"searchEnabled\":[4,\"search-enabled\"],\"selectedValue\":[1,\"selected-value\"],\"useExternalFiltering\":[4,\"use-external-filtering\"],\"useExternalPaginatedFiltering\":[4,\"use-external-paginated-filtering\"],\"isAllExternalDataLoaded\":[4,\"is-all-external-data-loaded\"],\"isLoading\":[4,\"is-loading\"],\"readOnly\":[4,\"read-only\"],\"priorityLabel\":[1,\"priority-label\"],\"nonPriorityLabel\":[1,\"non-priority-label\"],\"clearable\":[4],\"showErrorMsg\":[4,\"show-error-msg\"],\"showErrorBubble\":[4,\"show-error-bubble\"],\"errorMsg\":[1,\"error-msg\"],\"open\":[32],\"selectedItem\":[32],\"searchTerm\":[32],\"loadingNextExternalPage\":[32],\"setSelectedItem\":[64]},[[0,\"closeSelectBox\",\"handleCloseSelectBox\"],[0,\"blur\",\"handleBlur\"]]]]],[\"tttx-button-v2_1_9_101.cjs\",[[1,\"tttx-button-v2_1_9_101\",{\"notext\":[4],\"icon\":[1],\"label\":[1],\"iconcolor\":[1025],\"iconposition\":[1],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"design\":[1],\"disabled\":[516],\"type\":[1],\"href\":[1],\"options\":[1],\"size\":[1],\"dropdownOpen\":[32],\"dropdownDirection\":[32]},[[4,\"click\",\"handleClickOutside\"]]]]],[\"tttx-graph_1_9_101.cjs\",[[1,\"tttx-graph_1_9_101\",{\"chartType\":[1,\"chart-type\"],\"chartData\":[1,\"chart-data\"],\"chartText\":[1,\"chart-text\"],\"chartConfig\":[32],\"formattedData\":[32]}]]],[\"tttx-filter_1_9_101_4.cjs\",[[1,\"tttx-filter_1_9_101\",{\"filterKey\":[1,\"filter-key\"],\"filterOptions\":[1,\"filter-options\"],\"showSelectAll\":[4,\"show-select-all\"],\"showSearchField\":[4,\"show-search-field\"],\"showOptionIcons\":[4,\"show-option-icons\"],\"filterButtonStyle\":[1,\"filter-button-style\"],\"filterHeader\":[1,\"filter-header\"],\"defaultFilterOptions\":[1,\"default-filter-options\"],\"popoverWidth\":[1,\"popover-width\"],\"showPopover\":[32],\"displayedFilterSettings\":[32],\"selectedFilters\":[32],\"filterSearchTerm\":[32],\"allSelected\":[32]},[[0,\"closeFilter\",\"handleCloseFilter\"]]],[1,\"tttx-list_1_9_101\",{\"data\":[1025],\"name\":[1],\"_data\":[32]}],[1,\"tttx-sorter_1_9_101\",{\"sorterKey\":[1,\"sorter-key\"],\"defaultSortDirection\":[1,\"default-sort-direction\"],\"fieldOptionsData\":[1,\"field-options-data\"],\"defaultOption\":[1,\"default-option\"],\"selectedField\":[32],\"sortDirection\":[32],\"dropdownExpand\":[32],\"dropdownOptions\":[32]},[[0,\"closeSorter\",\"handleCloseSorter\"]]],[1,\"tttx-toolbar_1_9_101\",{\"border\":[4],\"viewSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-button_1_9_101.cjs\",[[1,\"tttx-button_1_9_101\",{\"notext\":[4],\"icon\":[1],\"iconposition\":[1],\"iconcolor\":[1025],\"design\":[1]}]]]]"), options);
|
|
17
|
+
return index.bootstrapLazy(JSON.parse("[[\"tttx-data-pattern_1_9_103.cjs\",[[1,\"tttx-data-pattern_1_9_103\",{\"data\":[1],\"sorterOptions\":[1,\"sorter-options\"],\"filterOptions\":[1,\"filter-options\"],\"filterHeader\":[1,\"filter-header\"],\"defaultSortOption\":[1,\"default-sort-option\"],\"searchplaceholder\":[1],\"addbuttonlabel\":[1],\"addbutton\":[4]}]]],[\"tttx-form_1_9_103.cjs\",[[1,\"tttx-form_1_9_103\",{\"formschema\":[1025],\"data\":[1032],\"submit\":[64],\"showLoadingSpinner\":[64],\"setSelectedItem\":[64],\"setSelectOptions\":[64],\"isValid\":[64],\"setValidationFor\":[64],\"clearValidationFor\":[64],\"disableFormField\":[64],\"enableFormField\":[64],\"setInputFieldValue\":[64],\"setFieldReadOnlyMode\":[64]}]]],[\"tttx-multiselect-box_1_9_103.cjs\",[[1,\"tttx-multiselect-box_1_9_103\",{\"optionsData\":[1,\"options-data\"],\"label\":[1],\"inline\":[4],\"placeholder\":[1],\"searchEnabled\":[4,\"search-enabled\"],\"htmlVisibleValue\":[4,\"html-visible-value\"],\"visibleValue\":[1,\"visible-value\"],\"isLoading\":[4,\"is-loading\"],\"stopLocalSearch\":[4,\"stop-local-search\"],\"readOnly\":[4,\"read-only\"],\"priorityLabel\":[1,\"priority-label\"],\"nonPriorityLabel\":[1,\"non-priority-label\"],\"open\":[32],\"unsavedSelectedItems\":[32],\"searchTerm\":[32]},[[0,\"closeSelectBox\",\"handleCloseSelectBox\"],[0,\"blur\",\"handleBlur\"]]]]],[\"tttx-chart_1_9_103.cjs\",[[1,\"tttx-chart_1_9_103\",{\"chartType\":[1,\"chart-type\"],\"chartData\":[16],\"chartOptions\":[16],\"loading\":[4],\"error\":[4],\"fallbackText\":[1,\"fallback-text\"],\"width\":[1],\"height\":[1],\"isYAxisPercentageValues\":[4,\"is-y-axis-percentage-values\"],\"showActiveSegmentLabel\":[4,\"show-active-segment-label\"],\"initialActiveIndex\":[2,\"initial-active-index\"],\"activeSegmentChangeCallback\":[16],\"exportable\":[32],\"chartInstance\":[32],\"showPngSvgExport\":[32],\"selectedSegmentIndex\":[32],\"hoverSegmentIndex\":[32]}]]],[\"tttx-datacard_1_9_103.cjs\",[[1,\"tttx-datacard_1_9_103\",{\"cardTitle\":[1,\"card-title\"],\"leftData\":[1,\"left-data\"],\"rightData\":[1,\"right-data\"],\"rightSubtext\":[1,\"right-subtext\"],\"iconStyle\":[1,\"icon-style\"],\"cardType\":[1,\"card-type\"],\"chartConfig\":[1,\"chart-config\"],\"_chartConfig\":[32],\"chartRender\":[32]}]]],[\"tttx-dialog-box_1_9_103.cjs\",[[1,\"tttx-dialog-box_1_9_103\",{\"data\":[1025],\"size\":[1],\"open\":[1028],\"allowOverflow\":[4,\"allow-overflow\"],\"elementSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-dialog_1_9_103.cjs\",[[1,\"tttx-dialog_1_9_103\",{\"header\":[1],\"type\":[1],\"size\":[1],\"open\":[4],\"allowOverflow\":[4,\"allow-overflow\"],\"closeEnabled\":[4,\"close-enabled\"],\"elementSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-table_1_9_103.cjs\",[[1,\"tttx-table_1_9_103\",{\"headers\":[16],\"data\":[16],\"selectable\":[4],\"loading\":[4],\"draggableHeaders\":[4,\"draggable-headers\"],\"rowsPerPage\":[2,\"rows-per-page\"],\"totalRecords\":[2,\"total-records\"],\"selected\":[2],\"page\":[2],\"currentPage\":[32],\"draggedHeaderIndex\":[32]}]]],[\"tttx-tree-view_1_9_103.cjs\",[[1,\"tttx-tree-view_1_9_103\",{\"data\":[1040],\"treeData\":[32],\"nodesRecentlyMoved\":[32]}]]],[\"tttx-action-dropdown_1_9_103.cjs\",[[1,\"tttx-action-dropdown_1_9_103\",{\"actionKey\":[1,\"action-key\"],\"icon\":[1],\"fieldOptionsData\":[1,\"field-options-data\"],\"defaultOption\":[1,\"default-option\"],\"isIconVisible\":[4,\"is-icon-visible\"],\"selectedField\":[32],\"dropdownExpand\":[32],\"dropdownOptions\":[32]},[[0,\"closeActionDropdown\",\"handleCloseActionDropdown\"]]]]],[\"tttx-checkbox_1_9_103.cjs\",[[0,\"tttx-checkbox_1_9_103\",{\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"inline\":[4],\"indeterminate\":[4],\"checked\":[4]}]]],[\"tttx-comments_1_9_103.cjs\",[[1,\"tttx-comments_1_9_103\",{\"currentuser\":[1],\"comments\":[1],\"disableFile\":[4,\"disable-file\"],\"messageLimit\":[2,\"message-limit\"],\"inputBoxHeight\":[2,\"input-box-height\"],\"placeholder\":[1],\"saveButtonText\":[1,\"save-button-text\"],\"value\":[1],\"allowEditing\":[4,\"allow-editing\"],\"readonly\":[4],\"_comments\":[32],\"showError\":[32],\"_saveButtonText\":[32],\"editingComment\":[32],\"addDummyComment\":[64]}]]],[\"tttx-date-range-picker.cjs\",[[1,\"tttx-date-range-picker\",{\"initialValue\":[16],\"placeholderText\":[1,\"placeholder-text\"],\"showCalendar\":[32],\"startDate\":[32],\"endDate\":[32],\"currentMonth\":[32],\"currentYear\":[32],\"isSelecting\":[32],\"hoverDate\":[32]}]]],[\"tttx-expander_1_9_103.cjs\",[[1,\"tttx-expander_1_9_103\",{\"name\":[1],\"open\":[4],\"lefticon\":[1],\"lefticoncolor\":[1],\"isExpanded\":[32]}]]],[\"tttx-tabs_1_9_103.cjs\",[[2,\"tttx-tabs_1_9_103\",{\"tabsName\":[1,\"tabs-name\"],\"navigation\":[4],\"wide\":[4],\"tabs\":[1],\"_tabs\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"tttx-tag-v2_1_9_103.cjs\",[[1,\"tttx-tag-v2_1_9_103\",{\"text\":[1],\"color\":[1],\"textColor\":[1,\"text-color\"],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"iconSize\":[2,\"icon-size\"],\"state\":[1],\"size\":[1],\"variant\":[1],\"hasStartIcon\":[4,\"has-start-icon\"],\"hasEndIcon\":[4,\"has-end-icon\"]}]]],[\"tttx-checkbox-group-caption_1_9_103.cjs\",[[4,\"tttx-checkbox-group-caption_1_9_103\"]]],[\"tttx-checkbox-group-heading_1_9_103.cjs\",[[4,\"tttx-checkbox-group-heading_1_9_103\"]]],[\"tttx-checkbox-group_1_9_103.cjs\",[[1,\"tttx-checkbox-group_1_9_103\"]]],[\"tttx-keyvalue-block_1_9_103.cjs\",[[1,\"tttx-keyvalue-block_1_9_103\",{\"keyvalues\":[1],\"horizontal\":[4],\"spacedout\":[4],\"_elements\":[32]}]]],[\"tttx-percentage-bar_1_9_103.cjs\",[[2,\"tttx-percentage-bar_1_9_103\",{\"percentage\":[8],\"thresholds\":[1],\"color\":[1],\"min\":[1],\"labelid\":[1],\"_percentage\":[32],\"_ranges\":[32],\"_min\":[32]}]]],[\"tttx-qrcode_1_9_103.cjs\",[[1,\"tttx-qrcode_1_9_103\",{\"link\":[1025],\"size\":[1026]}]]],[\"tttx-range-slider_1_9_103.cjs\",[[1,\"tttx-range-slider_1_9_103\",{\"minimum\":[2],\"maximum\":[2],\"sliderMode\":[1,\"slider-mode\"],\"showFields\":[4,\"show-fields\"],\"lowerValue\":[32],\"upperValue\":[32]},[[0,\"setSliderValues\",\"onSetSliderValues\"]]]]],[\"tttx-skeleton_loader_1_9_103.cjs\",[[1,\"tttx-skeleton_loader_1_9_103\",{\"width\":[1],\"height\":[1],\"borderRadius\":[1,\"border-radius\"],\"color\":[1],\"variant\":[1],\"animation\":[1],\"count\":[2],\"direction\":[1],\"gap\":[1],\"customClass\":[1,\"custom-class\"]}]]],[\"tttx-textarea_1_9_103.cjs\",[[2,\"tttx-textarea_1_9_103\",{\"label\":[1],\"secondarylabel\":[1],\"showerrormsg\":[4],\"showerrorbubble\":[4],\"errormsg\":[1],\"rows\":[2],\"textareaautofocus\":[4],\"inputkeyhint\":[1],\"inputindex\":[8],\"inputtitle\":[1],\"disabled\":[4],\"maxlength\":[8],\"name\":[1],\"placeholder\":[1],\"readonly\":[8],\"required\":[4],\"value\":[1032]}]]],[\"tttx-toggle_1_9_103.cjs\",[[1,\"tttx-toggle_1_9_103\",{\"initialstate\":[8],\"_state\":[32]}]]],[\"tttx-tooltip_1_9_103.cjs\",[[1,\"tttx-tooltip_1_9_103\",{\"text\":[1],\"placement\":[1],\"trigger\":[16],\"delay\":[2],\"disabled\":[4],\"ariaLabel\":[1,\"aria-label\"],\"showShadow\":[4,\"show-shadow\"],\"showOnlyOnOverflow\":[4,\"show-only-on-overflow\"],\"visible\":[32],\"tooltipStyles\":[32]}]]],[\"tttx-icon_1_9_103.cjs\",[[1,\"tttx-icon_1_9_103\",{\"icon\":[1],\"color\":[1],\"size\":[1026]}]]],[\"tttx-loading-spinner_1_9_103_3.cjs\",[[1,\"tttx-tag_1_9_103\",{\"text\":[1],\"color\":[1],\"textColor\":[1,\"text-color\"],\"hasIcon\":[4,\"has-icon\"],\"icon\":[1],\"iconColor\":[1,\"icon-color\"],\"iconSize\":[2,\"icon-size\"]}],[2,\"tttx-standalone-input_1_9_103\",{\"label\":[1],\"secondarylabel\":[1],\"showerrormsg\":[4],\"showerrorbubble\":[4],\"errormsg\":[1],\"iconleft\":[1],\"iconleftcolor\":[1],\"iconright\":[1],\"iconrightcolor\":[1],\"inputicon\":[1],\"inputiconcolor\":[1],\"inline\":[4],\"inputautocapitalize\":[1],\"inputautofocus\":[4],\"inputkeyhint\":[1],\"inputindex\":[8],\"inputtitle\":[1],\"autocomplete\":[1],\"checked\":[4],\"disabled\":[4],\"max\":[8],\"maxlength\":[8],\"min\":[8],\"minlength\":[8],\"name\":[1],\"pattern\":[1],\"placeholder\":[1],\"readonly\":[8],\"required\":[4],\"step\":[8],\"type\":[1],\"value\":[1032]}],[1,\"tttx-loading-spinner_1_9_103\",{\"loadingMessage\":[4,\"loading-message\"],\"size\":[1],\"color\":[1],\"cardBackgroundColor\":[1,\"card-background-color\"],\"message\":[1],\"customMessageSchema\":[16],\"timeElapsed\":[32]}]]],[\"tttx-select-box_1_9_103.cjs\",[[1,\"tttx-select-box_1_9_103\",{\"optionsData\":[1,\"options-data\"],\"label\":[1],\"inline\":[4],\"placeholder\":[1],\"searchEnabled\":[4,\"search-enabled\"],\"selectedValue\":[1,\"selected-value\"],\"useExternalFiltering\":[4,\"use-external-filtering\"],\"useExternalPaginatedFiltering\":[4,\"use-external-paginated-filtering\"],\"isAllExternalDataLoaded\":[4,\"is-all-external-data-loaded\"],\"isLoading\":[4,\"is-loading\"],\"readOnly\":[4,\"read-only\"],\"priorityLabel\":[1,\"priority-label\"],\"nonPriorityLabel\":[1,\"non-priority-label\"],\"clearable\":[4],\"showErrorMsg\":[4,\"show-error-msg\"],\"showErrorBubble\":[4,\"show-error-bubble\"],\"errorMsg\":[1,\"error-msg\"],\"open\":[32],\"selectedItem\":[32],\"searchTerm\":[32],\"loadingNextExternalPage\":[32],\"setSelectedItem\":[64]},[[0,\"closeSelectBox\",\"handleCloseSelectBox\"],[0,\"blur\",\"handleBlur\"]]]]],[\"tttx-button-v2_1_9_103.cjs\",[[1,\"tttx-button-v2_1_9_103\",{\"notext\":[4],\"icon\":[1],\"label\":[1],\"iconcolor\":[1025],\"iconposition\":[1],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"design\":[1],\"disabled\":[516],\"type\":[1],\"href\":[1],\"options\":[1],\"size\":[1],\"dropdownOpen\":[32],\"dropdownDirection\":[32]},[[4,\"click\",\"handleClickOutside\"]]]]],[\"tttx-graph_1_9_103.cjs\",[[1,\"tttx-graph_1_9_103\",{\"chartType\":[1,\"chart-type\"],\"chartData\":[1,\"chart-data\"],\"chartText\":[1,\"chart-text\"],\"chartConfig\":[32],\"formattedData\":[32]}]]],[\"tttx-filter_1_9_103_4.cjs\",[[1,\"tttx-filter_1_9_103\",{\"filterKey\":[1,\"filter-key\"],\"filterOptions\":[1,\"filter-options\"],\"showSelectAll\":[4,\"show-select-all\"],\"showSearchField\":[4,\"show-search-field\"],\"showOptionIcons\":[4,\"show-option-icons\"],\"filterButtonStyle\":[1,\"filter-button-style\"],\"filterHeader\":[1,\"filter-header\"],\"defaultFilterOptions\":[1,\"default-filter-options\"],\"popoverWidth\":[1,\"popover-width\"],\"showPopover\":[32],\"displayedFilterSettings\":[32],\"selectedFilters\":[32],\"filterSearchTerm\":[32],\"allSelected\":[32]},[[0,\"closeFilter\",\"handleCloseFilter\"]]],[1,\"tttx-list_1_9_103\",{\"data\":[1025],\"name\":[1],\"_data\":[32]}],[1,\"tttx-sorter_1_9_103\",{\"sorterKey\":[1,\"sorter-key\"],\"defaultSortDirection\":[1,\"default-sort-direction\"],\"fieldOptionsData\":[1,\"field-options-data\"],\"defaultOption\":[1,\"default-option\"],\"selectedField\":[32],\"sortDirection\":[32],\"dropdownExpand\":[32],\"dropdownOptions\":[32]},[[0,\"closeSorter\",\"handleCloseSorter\"]]],[1,\"tttx-toolbar_1_9_103\",{\"border\":[4],\"viewSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-button_1_9_103.cjs\",[[1,\"tttx-button_1_9_103\",{\"notext\":[4],\"icon\":[1],\"iconposition\":[1],\"iconcolor\":[1025],\"design\":[1]}]]]]"), options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -6,56 +6,56 @@ const index = require('./index-2c07dc57.js');
|
|
|
6
6
|
|
|
7
7
|
const tttxActionDropdownCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.action-dropdown-container{display:flex;flex-direction:column;position:relative;border:1px solid #d5d5d5;border-radius:4px;font-weight:400;box-sizing:border-box;cursor:pointer;width:220px}@media (max-width: 475px){.action-dropdown-container{width:120px}}.action-dropdown-container .action-button{display:flex;justify-content:space-between;align-items:center;background-color:white;border:none;border-radius:4px;height:36px;padding:0 8px 0 12px;width:100%}@media (max-width: 475px){.action-dropdown-container .action-button{padding:0 6px 0 8px}}.action-dropdown-container .action-button .button-content{display:flex;align-items:center;gap:8px}.action-dropdown-container .action-button .button-content .action-text{font-size:16px;color:#212121;font-weight:500}.action-dropdown-container .action-button .dropdown-arrow{display:flex;align-items:center;margin-left:auto}.action-dropdown-container .action-button .dropdown-arrow .hydrated{display:flex;align-items:center}.action-dropdown-container .action-button .hydrated{display:flex;justify-content:center;align-items:center;cursor:pointer}.action-dropdown-container .action-button .material-symbols-rounded{color:#212121}.action-dropdown-container .action-button:hover{background-color:#f0f0f0}.action-dropdown-container .action-button:active{background-color:#e3e3e3}.action-dropdown-container .dropdown-options-list{position:absolute;top:36px;left:0;z-index:1;width:220px;line-height:21px;font-size:16px;border-radius:4px;padding-top:8px;padding-bottom:7px;box-shadow:0px 1px 5px #1111114D;box-sizing:border-box;background-color:white;border:1px solid #d5d5d5}@media (max-width: 475px){.action-dropdown-container .dropdown-options-list{width:220px;padding-top:8px}}.action-dropdown-container .dropdown-options-list .dropdown-option{padding:8px 16px;font-size:16px;line-height:21px;cursor:pointer}.action-dropdown-container .dropdown-options-list .dropdown-option:hover,.action-dropdown-container .dropdown-options-list .dropdown-option:focus{background-color:#ebfbfc}.action-dropdown-container.--expanded{border-color:#1579c6}@media (max-width: 475px){.action-dropdown-container.--expanded{border-color:#1579c6}}";
|
|
8
8
|
|
|
9
|
-
const TttxActionDropdown = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.actionDropdownChangeEvent = index.createEvent(this, "actionDropdownChangeEvent", 7);
|
|
13
|
-
this.toggleActionDropdown = index.createEvent(this, "toggleActionDropdown", 7);
|
|
14
|
-
this.actionKey = undefined;
|
|
15
|
-
this.icon = 'download';
|
|
16
|
-
this.fieldOptionsData = null;
|
|
17
|
-
this.defaultOption = 'ACTION';
|
|
18
|
-
this.isIconVisible = true;
|
|
19
|
-
this.selectedField = 'ACTION';
|
|
20
|
-
this.dropdownExpand = false;
|
|
21
|
-
this.dropdownOptions = undefined;
|
|
22
|
-
}
|
|
23
|
-
componentWillLoad() {
|
|
24
|
-
this.selectedField = this.defaultOption || 'ACTION';
|
|
25
|
-
}
|
|
26
|
-
handleCloseActionDropdown() {
|
|
27
|
-
this.dropdownExpand = false;
|
|
28
|
-
}
|
|
29
|
-
emitActionEvent(actionField) {
|
|
30
|
-
this.actionDropdownChangeEvent.emit({
|
|
31
|
-
actionKey: this.actionKey,
|
|
32
|
-
actionField: actionField,
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
onActionClick(event) {
|
|
36
|
-
event.preventDefault();
|
|
37
|
-
this.dropdownExpand = !this.dropdownExpand;
|
|
38
|
-
this.toggleActionDropdown.emit(this.dropdownExpand);
|
|
39
|
-
}
|
|
40
|
-
onDropdownSelected(event) {
|
|
41
|
-
this.dropdownExpand = false;
|
|
42
|
-
const target = event.target;
|
|
43
|
-
const selectedActionType = target.innerHTML;
|
|
44
|
-
this.emitActionEvent(selectedActionType);
|
|
45
|
-
this.toggleActionDropdown.emit(this.dropdownExpand);
|
|
46
|
-
}
|
|
47
|
-
render() {
|
|
48
|
-
const parsedFieldOptionsData = typeof this.fieldOptionsData === 'string' ? JSON.parse(this.fieldOptionsData) : this.fieldOptionsData;
|
|
49
|
-
if (!this.fieldOptionsData)
|
|
50
|
-
return;
|
|
51
|
-
const actionKey = `action-dropdown__${this.actionKey}`;
|
|
52
|
-
const chevronIcon = this.dropdownExpand ? 'keyboard_arrow_up' : 'keyboard_arrow_down';
|
|
53
|
-
return (index.h(index.Host, { id: actionKey }, index.h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, index.h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, index.h("div", { class: "button-content" }, this.isIconVisible && (index.h("tttx-
|
|
54
|
-
return (index.h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
55
|
-
}))))));
|
|
56
|
-
}
|
|
57
|
-
get el() { return index.getElement(this); }
|
|
58
|
-
};
|
|
9
|
+
const TttxActionDropdown = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.actionDropdownChangeEvent = index.createEvent(this, "actionDropdownChangeEvent", 7);
|
|
13
|
+
this.toggleActionDropdown = index.createEvent(this, "toggleActionDropdown", 7);
|
|
14
|
+
this.actionKey = undefined;
|
|
15
|
+
this.icon = 'download';
|
|
16
|
+
this.fieldOptionsData = null;
|
|
17
|
+
this.defaultOption = 'ACTION';
|
|
18
|
+
this.isIconVisible = true;
|
|
19
|
+
this.selectedField = 'ACTION';
|
|
20
|
+
this.dropdownExpand = false;
|
|
21
|
+
this.dropdownOptions = undefined;
|
|
22
|
+
}
|
|
23
|
+
componentWillLoad() {
|
|
24
|
+
this.selectedField = this.defaultOption || 'ACTION';
|
|
25
|
+
}
|
|
26
|
+
handleCloseActionDropdown() {
|
|
27
|
+
this.dropdownExpand = false;
|
|
28
|
+
}
|
|
29
|
+
emitActionEvent(actionField) {
|
|
30
|
+
this.actionDropdownChangeEvent.emit({
|
|
31
|
+
actionKey: this.actionKey,
|
|
32
|
+
actionField: actionField,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
onActionClick(event) {
|
|
36
|
+
event.preventDefault();
|
|
37
|
+
this.dropdownExpand = !this.dropdownExpand;
|
|
38
|
+
this.toggleActionDropdown.emit(this.dropdownExpand);
|
|
39
|
+
}
|
|
40
|
+
onDropdownSelected(event) {
|
|
41
|
+
this.dropdownExpand = false;
|
|
42
|
+
const target = event.target;
|
|
43
|
+
const selectedActionType = target.innerHTML;
|
|
44
|
+
this.emitActionEvent(selectedActionType);
|
|
45
|
+
this.toggleActionDropdown.emit(this.dropdownExpand);
|
|
46
|
+
}
|
|
47
|
+
render() {
|
|
48
|
+
const parsedFieldOptionsData = typeof this.fieldOptionsData === 'string' ? JSON.parse(this.fieldOptionsData) : this.fieldOptionsData;
|
|
49
|
+
if (!this.fieldOptionsData)
|
|
50
|
+
return;
|
|
51
|
+
const actionKey = `action-dropdown__${this.actionKey}`;
|
|
52
|
+
const chevronIcon = this.dropdownExpand ? 'keyboard_arrow_up' : 'keyboard_arrow_down';
|
|
53
|
+
return (index.h(index.Host, { id: actionKey }, index.h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, index.h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, index.h("div", { class: "button-content" }, this.isIconVisible && (index.h("tttx-icon_1_9_103", { icon: this.icon, color: "black" })), index.h("span", { class: "action-text" }, this.selectedField)), index.h("div", { class: "dropdown-arrow" }, index.h("tttx-icon_1_9_103", { icon: chevronIcon, color: "black" }))), this.dropdownExpand && (index.h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.actionOptions.map(option => {
|
|
54
|
+
return (index.h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
55
|
+
}))))));
|
|
56
|
+
}
|
|
57
|
+
get el() { return index.getElement(this); }
|
|
58
|
+
};
|
|
59
59
|
TttxActionDropdown.style = tttxActionDropdownCss;
|
|
60
60
|
|
|
61
|
-
exports.
|
|
61
|
+
exports.tttx_action_dropdown_1_9_103 = TttxActionDropdown;
|