@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,143 +1,143 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$1 } from './tttx-icon.js';
|
|
3
3
|
|
|
4
|
-
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-
|
|
4
|
+
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_9_103{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_9_103{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_9_103{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_9_103 .optional.sc-tttx-standalone-input_1_9_103{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103{position:relative}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 .left-icons.sc-tttx-standalone-input_1_9_103,label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 .right-icons.sc-tttx-standalone-input_1_9_103{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 .left-icons.sc-tttx-standalone-input_1_9_103 tttx-icon.sc-tttx-standalone-input_1_9_103,label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 .right-icons.sc-tttx-standalone-input_1_9_103 tttx-icon.sc-tttx-standalone-input_1_9_103{height:24px;width:24px}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 .left-icons.sc-tttx-standalone-input_1_9_103{left:8px}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 .right-icons.sc-tttx-standalone-input_1_9_103{right:8px}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 input.sc-tttx-standalone-input_1_9_103,label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 textarea.sc-tttx-standalone-input_1_9_103{color:#212121;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px;padding:0;padding-left:16px;padding-right:16px}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 input.has-input-icon.sc-tttx-standalone-input_1_9_103,label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 textarea.has-input-icon.sc-tttx-standalone-input_1_9_103{padding-left:40px}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_103,label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_103{padding-left:72px}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 input.has-left-icon.sc-tttx-standalone-input_1_9_103,label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 textarea.has-left-icon.sc-tttx-standalone-input_1_9_103{padding-left:40px}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 input.has-right-icon.sc-tttx-standalone-input_1_9_103,label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 textarea.has-right-icon.sc-tttx-standalone-input_1_9_103{padding-right:40px}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 input.invalid.sc-tttx-standalone-input_1_9_103,label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 textarea.invalid.sc-tttx-standalone-input_1_9_103{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 input.sc-tttx-standalone-input_1_9_103:not([type=submit]),label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 textarea.sc-tttx-standalone-input_1_9_103:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 input[type=radio].sc-tttx-standalone-input_1_9_103,label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 textarea[type=radio].sc-tttx-standalone-input_1_9_103{width:20px;height:20px}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 input[type=date].sc-tttx-standalone-input_1_9_103,label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 textarea[type=date].sc-tttx-standalone-input_1_9_103{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 input[readonly].sc-tttx-standalone-input_1_9_103,label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 textarea[readonly].sc-tttx-standalone-input_1_9_103{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 input.sc-tttx-standalone-input_1_9_103:focus,label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 textarea.sc-tttx-standalone-input_1_9_103:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 input.sc-tttx-standalone-input_1_9_103:focus-visible,label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 textarea.sc-tttx-standalone-input_1_9_103:focus-visible{outline:none}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 textarea.sc-tttx-standalone-input_1_9_103{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_9_103 .outer-container.sc-tttx-standalone-input_1_9_103 textarea.resize-none.sc-tttx-standalone-input_1_9_103{resize:none}label.sc-tttx-standalone-input_1_9_103 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_103{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_9_103 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_103 .left-icons.sc-tttx-standalone-input_1_9_103,label.sc-tttx-standalone-input_1_9_103 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_103 .right-icons.sc-tttx-standalone-input_1_9_103{margin-top:4px}label.sc-tttx-standalone-input_1_9_103 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_9_103{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_103 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_9_103{display:block}label.sc-tttx-standalone-input_1_9_103 .outer-container.inputInline.sc-tttx-standalone-input_1_9_103{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_9_103 .outer-container.inputInline.sc-tttx-standalone-input_1_9_103 input.sc-tttx-standalone-input_1_9_103{margin-top:0}label.sc-tttx-standalone-input_1_9_103 .secondarylabel.sc-tttx-standalone-input_1_9_103{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_9_103 .errorBubble.sc-tttx-standalone-input_1_9_103{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-standalone-input_1_9_103 .errorBubble.sc-tttx-standalone-input_1_9_103:not(.visible){display:none}label.sc-tttx-standalone-input_1_9_103 .errorBubble.sc-tttx-standalone-input_1_9_103 span.sc-tttx-standalone-input_1_9_103{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_9_103{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}.sc-tttx-standalone-input_1_9_103-h{display:block}";
|
|
5
5
|
|
|
6
|
-
const TttxInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
-
constructor() {
|
|
8
|
-
super();
|
|
9
|
-
this.__registerHost();
|
|
10
|
-
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
11
|
-
this.focusChanged = createEvent(this, "focusChanged", 7);
|
|
12
|
-
this.blurChanged = createEvent(this, "blurChanged", 7);
|
|
13
|
-
this.invalidChanged = createEvent(this, "invalidChanged", 7);
|
|
14
|
-
this.inputIconClick = createEvent(this, "inputIconClick", 7);
|
|
15
|
-
this.leftIconClick = createEvent(this, "leftIconClick", 7);
|
|
16
|
-
this.rightIconClick = createEvent(this, "rightIconClick", 7);
|
|
17
|
-
this.label = undefined;
|
|
18
|
-
this.secondarylabel = undefined;
|
|
19
|
-
this.showerrormsg = undefined;
|
|
20
|
-
this.showerrorbubble = true;
|
|
21
|
-
this.errormsg = undefined;
|
|
22
|
-
this.iconleft = undefined;
|
|
23
|
-
this.iconleftcolor = 'grey';
|
|
24
|
-
this.iconright = undefined;
|
|
25
|
-
this.iconrightcolor = 'grey';
|
|
26
|
-
this.inputicon = undefined;
|
|
27
|
-
this.inputiconcolor = 'grey';
|
|
28
|
-
this.inline = undefined;
|
|
29
|
-
this.inputautocapitalize = undefined;
|
|
30
|
-
this.inputautofocus = undefined;
|
|
31
|
-
this.inputkeyhint = undefined;
|
|
32
|
-
this.inputindex = undefined;
|
|
33
|
-
this.inputtitle = undefined;
|
|
34
|
-
this.autocomplete = undefined;
|
|
35
|
-
this.checked = undefined;
|
|
36
|
-
this.disabled = undefined;
|
|
37
|
-
this.max = undefined;
|
|
38
|
-
this.maxlength = undefined;
|
|
39
|
-
this.min = undefined;
|
|
40
|
-
this.minlength = undefined;
|
|
41
|
-
this.name = undefined;
|
|
42
|
-
this.pattern = undefined;
|
|
43
|
-
this.placeholder = undefined;
|
|
44
|
-
this.readonly = undefined;
|
|
45
|
-
this.required = undefined;
|
|
46
|
-
this.step = undefined;
|
|
47
|
-
this.type = 'text';
|
|
48
|
-
this.value = undefined;
|
|
49
|
-
}
|
|
50
|
-
handleChange(event) {
|
|
51
|
-
const target = event.target;
|
|
52
|
-
this.value = target.value;
|
|
53
|
-
this.valueChanged.emit(target.value);
|
|
54
|
-
}
|
|
55
|
-
handleFocus(event) {
|
|
56
|
-
const target = event.target;
|
|
57
|
-
this.focusChanged.emit(target.value);
|
|
58
|
-
}
|
|
59
|
-
handleBlur(event) {
|
|
60
|
-
const target = event.target;
|
|
61
|
-
this.blurChanged.emit(target.value);
|
|
62
|
-
}
|
|
63
|
-
handleInvalid(event) {
|
|
64
|
-
event.preventDefault();
|
|
65
|
-
const target = event.target;
|
|
66
|
-
this.invalidChanged.emit(target.value);
|
|
67
|
-
}
|
|
68
|
-
handleInputIconClick(event) {
|
|
69
|
-
event.preventDefault();
|
|
70
|
-
this.inputIconClick.emit();
|
|
71
|
-
}
|
|
72
|
-
handleLeftIconClick(event) {
|
|
73
|
-
event.preventDefault();
|
|
74
|
-
this.leftIconClick.emit();
|
|
75
|
-
}
|
|
76
|
-
handleRightIconClick(event) {
|
|
77
|
-
event.preventDefault();
|
|
78
|
-
this.rightIconClick.emit();
|
|
79
|
-
}
|
|
80
|
-
render() {
|
|
81
|
-
const classNames = [
|
|
82
|
-
this.showerrormsg ? 'invalid' : '',
|
|
83
|
-
this.inputicon ? 'has-input-icon' : '',
|
|
84
|
-
this.iconleft ? 'has-left-icon' : '',
|
|
85
|
-
this.iconright ? 'has-right-icon' : '',
|
|
86
|
-
].join(' ');
|
|
87
|
-
return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (h("span", { class: "left-icons" }, this.inputicon && (h("tttx-
|
|
88
|
-
}
|
|
89
|
-
static get style() { return tttxStandaloneInputCss; }
|
|
90
|
-
}, [2, "tttx-standalone-
|
|
91
|
-
"label": [1],
|
|
92
|
-
"secondarylabel": [1],
|
|
93
|
-
"showerrormsg": [4],
|
|
94
|
-
"showerrorbubble": [4],
|
|
95
|
-
"errormsg": [1],
|
|
96
|
-
"iconleft": [1],
|
|
97
|
-
"iconleftcolor": [1],
|
|
98
|
-
"iconright": [1],
|
|
99
|
-
"iconrightcolor": [1],
|
|
100
|
-
"inputicon": [1],
|
|
101
|
-
"inputiconcolor": [1],
|
|
102
|
-
"inline": [4],
|
|
103
|
-
"inputautocapitalize": [1],
|
|
104
|
-
"inputautofocus": [4],
|
|
105
|
-
"inputkeyhint": [1],
|
|
106
|
-
"inputindex": [8],
|
|
107
|
-
"inputtitle": [1],
|
|
108
|
-
"autocomplete": [1],
|
|
109
|
-
"checked": [4],
|
|
110
|
-
"disabled": [4],
|
|
111
|
-
"max": [8],
|
|
112
|
-
"maxlength": [8],
|
|
113
|
-
"min": [8],
|
|
114
|
-
"minlength": [8],
|
|
115
|
-
"name": [1],
|
|
116
|
-
"pattern": [1],
|
|
117
|
-
"placeholder": [1],
|
|
118
|
-
"readonly": [8],
|
|
119
|
-
"required": [4],
|
|
120
|
-
"step": [8],
|
|
121
|
-
"type": [1],
|
|
122
|
-
"value": [1032]
|
|
123
|
-
}]);
|
|
124
|
-
function defineCustomElement() {
|
|
125
|
-
if (typeof customElements === "undefined") {
|
|
126
|
-
return;
|
|
127
|
-
}
|
|
128
|
-
const components = ["tttx-standalone-
|
|
129
|
-
components.forEach(tagName => { switch (tagName) {
|
|
130
|
-
case "tttx-standalone-
|
|
131
|
-
if (!customElements.get(tagName)) {
|
|
132
|
-
customElements.define(tagName, TttxInput);
|
|
133
|
-
}
|
|
134
|
-
break;
|
|
135
|
-
case "tttx-
|
|
136
|
-
if (!customElements.get(tagName)) {
|
|
137
|
-
defineCustomElement$1();
|
|
138
|
-
}
|
|
139
|
-
break;
|
|
140
|
-
} });
|
|
6
|
+
const TttxInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
11
|
+
this.focusChanged = createEvent(this, "focusChanged", 7);
|
|
12
|
+
this.blurChanged = createEvent(this, "blurChanged", 7);
|
|
13
|
+
this.invalidChanged = createEvent(this, "invalidChanged", 7);
|
|
14
|
+
this.inputIconClick = createEvent(this, "inputIconClick", 7);
|
|
15
|
+
this.leftIconClick = createEvent(this, "leftIconClick", 7);
|
|
16
|
+
this.rightIconClick = createEvent(this, "rightIconClick", 7);
|
|
17
|
+
this.label = undefined;
|
|
18
|
+
this.secondarylabel = undefined;
|
|
19
|
+
this.showerrormsg = undefined;
|
|
20
|
+
this.showerrorbubble = true;
|
|
21
|
+
this.errormsg = undefined;
|
|
22
|
+
this.iconleft = undefined;
|
|
23
|
+
this.iconleftcolor = 'grey';
|
|
24
|
+
this.iconright = undefined;
|
|
25
|
+
this.iconrightcolor = 'grey';
|
|
26
|
+
this.inputicon = undefined;
|
|
27
|
+
this.inputiconcolor = 'grey';
|
|
28
|
+
this.inline = undefined;
|
|
29
|
+
this.inputautocapitalize = undefined;
|
|
30
|
+
this.inputautofocus = undefined;
|
|
31
|
+
this.inputkeyhint = undefined;
|
|
32
|
+
this.inputindex = undefined;
|
|
33
|
+
this.inputtitle = undefined;
|
|
34
|
+
this.autocomplete = undefined;
|
|
35
|
+
this.checked = undefined;
|
|
36
|
+
this.disabled = undefined;
|
|
37
|
+
this.max = undefined;
|
|
38
|
+
this.maxlength = undefined;
|
|
39
|
+
this.min = undefined;
|
|
40
|
+
this.minlength = undefined;
|
|
41
|
+
this.name = undefined;
|
|
42
|
+
this.pattern = undefined;
|
|
43
|
+
this.placeholder = undefined;
|
|
44
|
+
this.readonly = undefined;
|
|
45
|
+
this.required = undefined;
|
|
46
|
+
this.step = undefined;
|
|
47
|
+
this.type = 'text';
|
|
48
|
+
this.value = undefined;
|
|
49
|
+
}
|
|
50
|
+
handleChange(event) {
|
|
51
|
+
const target = event.target;
|
|
52
|
+
this.value = target.value;
|
|
53
|
+
this.valueChanged.emit(target.value);
|
|
54
|
+
}
|
|
55
|
+
handleFocus(event) {
|
|
56
|
+
const target = event.target;
|
|
57
|
+
this.focusChanged.emit(target.value);
|
|
58
|
+
}
|
|
59
|
+
handleBlur(event) {
|
|
60
|
+
const target = event.target;
|
|
61
|
+
this.blurChanged.emit(target.value);
|
|
62
|
+
}
|
|
63
|
+
handleInvalid(event) {
|
|
64
|
+
event.preventDefault();
|
|
65
|
+
const target = event.target;
|
|
66
|
+
this.invalidChanged.emit(target.value);
|
|
67
|
+
}
|
|
68
|
+
handleInputIconClick(event) {
|
|
69
|
+
event.preventDefault();
|
|
70
|
+
this.inputIconClick.emit();
|
|
71
|
+
}
|
|
72
|
+
handleLeftIconClick(event) {
|
|
73
|
+
event.preventDefault();
|
|
74
|
+
this.leftIconClick.emit();
|
|
75
|
+
}
|
|
76
|
+
handleRightIconClick(event) {
|
|
77
|
+
event.preventDefault();
|
|
78
|
+
this.rightIconClick.emit();
|
|
79
|
+
}
|
|
80
|
+
render() {
|
|
81
|
+
const classNames = [
|
|
82
|
+
this.showerrormsg ? 'invalid' : '',
|
|
83
|
+
this.inputicon ? 'has-input-icon' : '',
|
|
84
|
+
this.iconleft ? 'has-left-icon' : '',
|
|
85
|
+
this.iconright ? 'has-right-icon' : '',
|
|
86
|
+
].join(' ');
|
|
87
|
+
return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (h("span", { class: "left-icons" }, this.inputicon && (h("tttx-icon_1_9_103", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_9_103", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (h("span", { class: "right-icons" }, h("tttx-icon_1_9_103", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
|
|
88
|
+
}
|
|
89
|
+
static get style() { return tttxStandaloneInputCss; }
|
|
90
|
+
}, [2, "tttx-standalone-input_1_9_103", {
|
|
91
|
+
"label": [1],
|
|
92
|
+
"secondarylabel": [1],
|
|
93
|
+
"showerrormsg": [4],
|
|
94
|
+
"showerrorbubble": [4],
|
|
95
|
+
"errormsg": [1],
|
|
96
|
+
"iconleft": [1],
|
|
97
|
+
"iconleftcolor": [1],
|
|
98
|
+
"iconright": [1],
|
|
99
|
+
"iconrightcolor": [1],
|
|
100
|
+
"inputicon": [1],
|
|
101
|
+
"inputiconcolor": [1],
|
|
102
|
+
"inline": [4],
|
|
103
|
+
"inputautocapitalize": [1],
|
|
104
|
+
"inputautofocus": [4],
|
|
105
|
+
"inputkeyhint": [1],
|
|
106
|
+
"inputindex": [8],
|
|
107
|
+
"inputtitle": [1],
|
|
108
|
+
"autocomplete": [1],
|
|
109
|
+
"checked": [4],
|
|
110
|
+
"disabled": [4],
|
|
111
|
+
"max": [8],
|
|
112
|
+
"maxlength": [8],
|
|
113
|
+
"min": [8],
|
|
114
|
+
"minlength": [8],
|
|
115
|
+
"name": [1],
|
|
116
|
+
"pattern": [1],
|
|
117
|
+
"placeholder": [1],
|
|
118
|
+
"readonly": [8],
|
|
119
|
+
"required": [4],
|
|
120
|
+
"step": [8],
|
|
121
|
+
"type": [1],
|
|
122
|
+
"value": [1032]
|
|
123
|
+
}]);
|
|
124
|
+
function defineCustomElement() {
|
|
125
|
+
if (typeof customElements === "undefined") {
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
const components = ["tttx-standalone-input_1_9_103", "tttx-icon_1_9_103"];
|
|
129
|
+
components.forEach(tagName => { switch (tagName) {
|
|
130
|
+
case "tttx-standalone-input_1_9_103":
|
|
131
|
+
if (!customElements.get(tagName)) {
|
|
132
|
+
customElements.define(tagName, TttxInput);
|
|
133
|
+
}
|
|
134
|
+
break;
|
|
135
|
+
case "tttx-icon_1_9_103":
|
|
136
|
+
if (!customElements.get(tagName)) {
|
|
137
|
+
defineCustomElement$1();
|
|
138
|
+
}
|
|
139
|
+
break;
|
|
140
|
+
} });
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
export { TttxInput as T, defineCustomElement as d };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxStandaloneInput_1_9_103 extends Components.TttxStandaloneInput_1_9_103, HTMLElement {}
|
|
4
|
+
export const TttxStandaloneInput_1_9_103: {
|
|
5
|
+
prototype: TttxStandaloneInput_1_9_103;
|
|
6
|
+
new (): TttxStandaloneInput_1_9_103;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
package/dist/components/{tttx-standalone-input_1_9_101.js → tttx-standalone-input_1_9_103.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxInput, d as defineCustomElement$1 } from './tttx-standalone-input.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxStandaloneInput_1_9_103 = TttxInput;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxStandaloneInput_1_9_103, defineCustomElement };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxTable_1_9_103 extends Components.TttxTable_1_9_103, HTMLElement {}
|
|
4
|
+
export const TttxTable_1_9_103: {
|
|
5
|
+
prototype: TttxTable_1_9_103;
|
|
6
|
+
new (): TttxTable_1_9_103;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -3,117 +3,117 @@ import { p as purify, d as domSanitiserOptions } from './domsanitiser.options.js
|
|
|
3
3
|
import { d as defineCustomElement$3 } from './tttx-button-v2.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './tttx-icon.js';
|
|
5
5
|
|
|
6
|
-
const tttxTableCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.skeleton{animation:skeleton-loading 1s linear infinite alternate;border-radius:4px;width:100%}@keyframes skeleton-loading{0%{background-color:#c2cfd6}100%{background-color:#f0f3f5}}:host{display:block}table{width:100%;border-collapse:collapse;table-layout:fixed;box-sizing:border-box;min-width:600px}thead tr{height:52px}thead tr td{text-align:left;padding-left:8px 16px;min-width:40px}tbody tr{height:52px}tr{border-bottom:1px solid #D4D4D4}.selected{background-color:#ebfbfc}th{text-align:left;padding:8px 0;min-width:40px}td{text-align:left;padding:16px 0;min-width:40px}.cell-spacing a.table-link{color:#000000;text-decoration:none;cursor:pointer}.cell-spacing a.table-link:hover{text-decoration:underline}.skeleton{height:24px;display:block}.header-typography,.cell-typography{font-family:\"Roboto\", sans-serif;font-size:14px;font-style:normal;line-height:normal}.header-typography{font-weight:600}.cell-typography{font-weight:normal;color:#212121}.clickable{cursor:pointer}.pagination-footer{margin-top:12px;padding:8px 4px;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#4c4c4c}.pagination-text{opacity:0.75}.pagination-buttons{display:flex;align-items:center;gap:10px}.pagination-buttons tttx-button-
|
|
6
|
+
const tttxTableCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.skeleton{animation:skeleton-loading 1s linear infinite alternate;border-radius:4px;width:100%}@keyframes skeleton-loading{0%{background-color:#c2cfd6}100%{background-color:#f0f3f5}}:host{display:block}table{width:100%;border-collapse:collapse;table-layout:fixed;box-sizing:border-box;min-width:600px}thead tr{height:52px}thead tr td{text-align:left;padding-left:8px 16px;min-width:40px}tbody tr{height:52px}tr{border-bottom:1px solid #D4D4D4}.selected{background-color:#ebfbfc}th{text-align:left;padding:8px 0;min-width:40px}td{text-align:left;padding:16px 0;min-width:40px}.cell-spacing a.table-link{color:#000000;text-decoration:none;cursor:pointer}.cell-spacing a.table-link:hover{text-decoration:underline}.skeleton{height:24px;display:block}.header-typography,.cell-typography{font-family:\"Roboto\", sans-serif;font-size:14px;font-style:normal;line-height:normal}.header-typography{font-weight:600}.cell-typography{font-weight:normal;color:#212121}.clickable{cursor:pointer}.pagination-footer{margin-top:12px;padding:8px 4px;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#4c4c4c}.pagination-text{opacity:0.75}.pagination-buttons{display:flex;align-items:center;gap:10px}.pagination-buttons tttx-button-v2_1_9_103{--button-bg:#ffffff;--button-border:#d4d4d4;--button-color:#525252;--button-bg-hover:#f5f5f5;--button-border-hover:#d4d4d4;--button-bg-active:#f5f5f5;--button-border-active:#d4d4d4;--button-focus-outline:none;--button-bg-disabled:#e5e5e5;--button-color-disabled:#737373;--button-border-disabled:#d4d4d4;--button-opacity-disabled:1}.nav-btn{width:32px;height:32px;border-radius:8px;background:#fff;border:1px solid #d5d5d5;cursor:pointer;font-size:14px;line-height:0;display:flex;justify-content:center;align-items:center;transition:background 0.15s ease, border 0.15s ease}.nav-btn:hover:not(:disabled){background:#f0f0f0}.nav-btn:disabled{opacity:0.35;cursor:not-allowed}tbody tr:hover{background-color:#f5f5f5}";
|
|
7
7
|
|
|
8
|
-
const TttxTable = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
|
-
constructor() {
|
|
10
|
-
super();
|
|
11
|
-
this.__registerHost();
|
|
12
|
-
this.__attachShadow();
|
|
13
|
-
this.rowClicked = createEvent(this, "rowClicked", 7);
|
|
14
|
-
this.headerClicked = createEvent(this, "headerClicked", 7);
|
|
15
|
-
this.headerOrderChanged = createEvent(this, "headerOrderChanged", 7);
|
|
16
|
-
this.pageChanged = createEvent(this, "pageChanged", 7);
|
|
17
|
-
this.headers = [];
|
|
18
|
-
this.data = [];
|
|
19
|
-
this.selectable = false;
|
|
20
|
-
this.loading = false;
|
|
21
|
-
this.draggableHeaders = false;
|
|
22
|
-
this.rowsPerPage = 5;
|
|
23
|
-
this.totalRecords = 0;
|
|
24
|
-
this.selected = -1;
|
|
25
|
-
this.page = 0;
|
|
26
|
-
this.currentPage = 0;
|
|
27
|
-
this.draggedHeaderIndex = null;
|
|
28
|
-
}
|
|
29
|
-
onPagePropChange(newPage) {
|
|
30
|
-
this.currentPage = newPage;
|
|
31
|
-
}
|
|
32
|
-
componentWillLoad() {
|
|
33
|
-
this.currentPage = this.page;
|
|
34
|
-
}
|
|
35
|
-
get totalPages() {
|
|
36
|
-
return Math.ceil(this.totalRecords / this.rowsPerPage);
|
|
37
|
-
}
|
|
38
|
-
changePage(nextPage) {
|
|
39
|
-
if (nextPage < 0 || nextPage >= this.totalPages)
|
|
40
|
-
return;
|
|
41
|
-
this.currentPage = nextPage;
|
|
42
|
-
this.pageChanged.emit({
|
|
43
|
-
page: nextPage,
|
|
44
|
-
rowsPerPage: this.rowsPerPage,
|
|
45
|
-
offset: nextPage * this.rowsPerPage,
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
headerClickedHandler(header) {
|
|
49
|
-
this.headerClicked.emit(header);
|
|
50
|
-
}
|
|
51
|
-
handleDragStart(index) {
|
|
52
|
-
this.draggedHeaderIndex = index;
|
|
53
|
-
}
|
|
54
|
-
handleDragOver(event) {
|
|
55
|
-
event.preventDefault();
|
|
56
|
-
}
|
|
57
|
-
handleDrop(index) {
|
|
58
|
-
if (this.draggedHeaderIndex !== null && this.draggedHeaderIndex !== index) {
|
|
59
|
-
const newOrder = [...this.headers];
|
|
60
|
-
const draggedHeader = newOrder[this.draggedHeaderIndex];
|
|
61
|
-
newOrder.splice(this.draggedHeaderIndex, 1);
|
|
62
|
-
newOrder.splice(index, 0, draggedHeader);
|
|
63
|
-
this.headerOrderChanged.emit(newOrder.map((header) => header.key));
|
|
64
|
-
}
|
|
65
|
-
this.draggedHeaderIndex = null;
|
|
66
|
-
}
|
|
67
|
-
render() {
|
|
68
|
-
const start = this.totalRecords === 0
|
|
69
|
-
? 0
|
|
70
|
-
: this.currentPage * this.rowsPerPage + 1;
|
|
71
|
-
const end = Math.min(start + this.data.length - 1, this.totalRecords);
|
|
72
|
-
const showPagination = this.totalPages > 1;
|
|
73
|
-
return (h(Host, null, h("div", { style: { width: '100%', overflowX: 'auto' } }, h("table", null, h("thead", null, h("tr", null, this.headers.map((header, index) => (h("th", { class: "header-typography", onClick: () => this.headerClickedHandler(header), innerHTML: purify.sanitize(header.label, domSanitiserOptions), draggable: this.draggableHeaders, onDragStart: () => (this.draggedHeaderIndex = index), onDragOver: (e) => e.preventDefault(), onDrop: () => this.headerOrderChanged.emit(this.headers.map((h) => h.key)) }))))), h("tbody", null, this.loading ? (h("tr", null, h("td", { class: "cell-spacing", colSpan: this.headers.length }, "Loading\u2026"))) : (this.data.map((row) => (h("tr", { onClick: () => this.rowClicked.emit(row) }, this.headers.map((header) => (h("td", { class: "cell-spacing", innerHTML: purify.sanitize(row[header.key], domSanitiserOptions) })))))))))), showPagination && (h("div", { class: "pagination-footer" }, h("div", { class: "pagination-text" }, "Showing ", start, " \u2013 ", end, " of ", this.totalRecords), h("div", { class: "pagination-buttons" }, h("tttx-button-
|
|
74
|
-
}
|
|
75
|
-
static get watchers() { return {
|
|
76
|
-
"page": ["onPagePropChange"]
|
|
77
|
-
}; }
|
|
78
|
-
static get style() { return tttxTableCss; }
|
|
79
|
-
}, [1, "tttx-
|
|
80
|
-
"headers": [16],
|
|
81
|
-
"data": [16],
|
|
82
|
-
"selectable": [4],
|
|
83
|
-
"loading": [4],
|
|
84
|
-
"draggableHeaders": [4, "draggable-headers"],
|
|
85
|
-
"rowsPerPage": [2, "rows-per-page"],
|
|
86
|
-
"totalRecords": [2, "total-records"],
|
|
87
|
-
"selected": [2],
|
|
88
|
-
"page": [2],
|
|
89
|
-
"currentPage": [32],
|
|
90
|
-
"draggedHeaderIndex": [32]
|
|
91
|
-
}]);
|
|
92
|
-
function defineCustomElement$1() {
|
|
93
|
-
if (typeof customElements === "undefined") {
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
const components = ["tttx-
|
|
97
|
-
components.forEach(tagName => { switch (tagName) {
|
|
98
|
-
case "tttx-
|
|
99
|
-
if (!customElements.get(tagName)) {
|
|
100
|
-
customElements.define(tagName, TttxTable);
|
|
101
|
-
}
|
|
102
|
-
break;
|
|
103
|
-
case "tttx-button-
|
|
104
|
-
if (!customElements.get(tagName)) {
|
|
105
|
-
defineCustomElement$3();
|
|
106
|
-
}
|
|
107
|
-
break;
|
|
108
|
-
case "tttx-
|
|
109
|
-
if (!customElements.get(tagName)) {
|
|
110
|
-
defineCustomElement$2();
|
|
111
|
-
}
|
|
112
|
-
break;
|
|
113
|
-
} });
|
|
8
|
+
const TttxTable = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.__attachShadow();
|
|
13
|
+
this.rowClicked = createEvent(this, "rowClicked", 7);
|
|
14
|
+
this.headerClicked = createEvent(this, "headerClicked", 7);
|
|
15
|
+
this.headerOrderChanged = createEvent(this, "headerOrderChanged", 7);
|
|
16
|
+
this.pageChanged = createEvent(this, "pageChanged", 7);
|
|
17
|
+
this.headers = [];
|
|
18
|
+
this.data = [];
|
|
19
|
+
this.selectable = false;
|
|
20
|
+
this.loading = false;
|
|
21
|
+
this.draggableHeaders = false;
|
|
22
|
+
this.rowsPerPage = 5;
|
|
23
|
+
this.totalRecords = 0;
|
|
24
|
+
this.selected = -1;
|
|
25
|
+
this.page = 0;
|
|
26
|
+
this.currentPage = 0;
|
|
27
|
+
this.draggedHeaderIndex = null;
|
|
28
|
+
}
|
|
29
|
+
onPagePropChange(newPage) {
|
|
30
|
+
this.currentPage = newPage;
|
|
31
|
+
}
|
|
32
|
+
componentWillLoad() {
|
|
33
|
+
this.currentPage = this.page;
|
|
34
|
+
}
|
|
35
|
+
get totalPages() {
|
|
36
|
+
return Math.ceil(this.totalRecords / this.rowsPerPage);
|
|
37
|
+
}
|
|
38
|
+
changePage(nextPage) {
|
|
39
|
+
if (nextPage < 0 || nextPage >= this.totalPages)
|
|
40
|
+
return;
|
|
41
|
+
this.currentPage = nextPage;
|
|
42
|
+
this.pageChanged.emit({
|
|
43
|
+
page: nextPage,
|
|
44
|
+
rowsPerPage: this.rowsPerPage,
|
|
45
|
+
offset: nextPage * this.rowsPerPage,
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
headerClickedHandler(header) {
|
|
49
|
+
this.headerClicked.emit(header);
|
|
50
|
+
}
|
|
51
|
+
handleDragStart(index) {
|
|
52
|
+
this.draggedHeaderIndex = index;
|
|
53
|
+
}
|
|
54
|
+
handleDragOver(event) {
|
|
55
|
+
event.preventDefault();
|
|
56
|
+
}
|
|
57
|
+
handleDrop(index) {
|
|
58
|
+
if (this.draggedHeaderIndex !== null && this.draggedHeaderIndex !== index) {
|
|
59
|
+
const newOrder = [...this.headers];
|
|
60
|
+
const draggedHeader = newOrder[this.draggedHeaderIndex];
|
|
61
|
+
newOrder.splice(this.draggedHeaderIndex, 1);
|
|
62
|
+
newOrder.splice(index, 0, draggedHeader);
|
|
63
|
+
this.headerOrderChanged.emit(newOrder.map((header) => header.key));
|
|
64
|
+
}
|
|
65
|
+
this.draggedHeaderIndex = null;
|
|
66
|
+
}
|
|
67
|
+
render() {
|
|
68
|
+
const start = this.totalRecords === 0
|
|
69
|
+
? 0
|
|
70
|
+
: this.currentPage * this.rowsPerPage + 1;
|
|
71
|
+
const end = Math.min(start + this.data.length - 1, this.totalRecords);
|
|
72
|
+
const showPagination = this.totalPages > 1;
|
|
73
|
+
return (h(Host, null, h("div", { style: { width: '100%', overflowX: 'auto' } }, h("table", null, h("thead", null, h("tr", null, this.headers.map((header, index) => (h("th", { class: "header-typography", onClick: () => this.headerClickedHandler(header), innerHTML: purify.sanitize(header.label, domSanitiserOptions), draggable: this.draggableHeaders, onDragStart: () => (this.draggedHeaderIndex = index), onDragOver: (e) => e.preventDefault(), onDrop: () => this.headerOrderChanged.emit(this.headers.map((h) => h.key)) }))))), h("tbody", null, this.loading ? (h("tr", null, h("td", { class: "cell-spacing", colSpan: this.headers.length }, "Loading\u2026"))) : (this.data.map((row) => (h("tr", { onClick: () => this.rowClicked.emit(row) }, this.headers.map((header) => (h("td", { class: "cell-spacing", innerHTML: purify.sanitize(row[header.key], domSanitiserOptions) })))))))))), showPagination && (h("div", { class: "pagination-footer" }, h("div", { class: "pagination-text" }, "Showing ", start, " \u2013 ", end, " of ", this.totalRecords), h("div", { class: "pagination-buttons" }, h("tttx-button-v2_1_9_103", { design: "default", size: "S", iconStart: "keyboard_arrow_left", iconcolor: this.currentPage === 0 ? '#737373' : '#525252', notext: true, disabled: this.currentPage === 0, onClick: () => this.changePage(this.currentPage - 1) }), h("tttx-button-v2_1_9_103", { design: "default", size: "S", iconStart: "keyboard_arrow_right", iconcolor: this.currentPage === this.totalPages - 1 ? '#737373' : '#525252', notext: true, disabled: this.currentPage === this.totalPages - 1, onClick: () => this.changePage(this.currentPage + 1) }))))));
|
|
74
|
+
}
|
|
75
|
+
static get watchers() { return {
|
|
76
|
+
"page": ["onPagePropChange"]
|
|
77
|
+
}; }
|
|
78
|
+
static get style() { return tttxTableCss; }
|
|
79
|
+
}, [1, "tttx-table_1_9_103", {
|
|
80
|
+
"headers": [16],
|
|
81
|
+
"data": [16],
|
|
82
|
+
"selectable": [4],
|
|
83
|
+
"loading": [4],
|
|
84
|
+
"draggableHeaders": [4, "draggable-headers"],
|
|
85
|
+
"rowsPerPage": [2, "rows-per-page"],
|
|
86
|
+
"totalRecords": [2, "total-records"],
|
|
87
|
+
"selected": [2],
|
|
88
|
+
"page": [2],
|
|
89
|
+
"currentPage": [32],
|
|
90
|
+
"draggedHeaderIndex": [32]
|
|
91
|
+
}]);
|
|
92
|
+
function defineCustomElement$1() {
|
|
93
|
+
if (typeof customElements === "undefined") {
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
const components = ["tttx-table_1_9_103", "tttx-button-v2_1_9_103", "tttx-icon_1_9_103"];
|
|
97
|
+
components.forEach(tagName => { switch (tagName) {
|
|
98
|
+
case "tttx-table_1_9_103":
|
|
99
|
+
if (!customElements.get(tagName)) {
|
|
100
|
+
customElements.define(tagName, TttxTable);
|
|
101
|
+
}
|
|
102
|
+
break;
|
|
103
|
+
case "tttx-button-v2_1_9_103":
|
|
104
|
+
if (!customElements.get(tagName)) {
|
|
105
|
+
defineCustomElement$3();
|
|
106
|
+
}
|
|
107
|
+
break;
|
|
108
|
+
case "tttx-icon_1_9_103":
|
|
109
|
+
if (!customElements.get(tagName)) {
|
|
110
|
+
defineCustomElement$2();
|
|
111
|
+
}
|
|
112
|
+
break;
|
|
113
|
+
} });
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
const
|
|
116
|
+
const TttxTable_1_9_103 = TttxTable;
|
|
117
117
|
const defineCustomElement = defineCustomElement$1;
|
|
118
118
|
|
|
119
|
-
export {
|
|
119
|
+
export { TttxTable_1_9_103, defineCustomElement };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxTabs_1_9_103 extends Components.TttxTabs_1_9_103, HTMLElement {}
|
|
4
|
+
export const TttxTabs_1_9_103: {
|
|
5
|
+
prototype: TttxTabs_1_9_103;
|
|
6
|
+
new (): TttxTabs_1_9_103;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|