@3t-transform/threeteeui 1.9.39 → 1.9.41
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/{index-fdc30724.js → index-992a9fb3.js} +4 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{tttx-button_1_9_39.cjs.entry.js → tttx-button_1_9_41.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_39.cjs.entry.js → tttx-checkbox-group-caption_1_9_41.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_39.cjs.entry.js → tttx-checkbox-group-heading_1_9_41.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group_1_9_39.cjs.entry.js → tttx-checkbox-group_1_9_41.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox_1_9_39.cjs.entry.js → tttx-checkbox_1_9_41.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-comments_1_9_39.cjs.entry.js → tttx-comments_1_9_41.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-data-pattern_1_9_39.cjs.entry.js → tttx-data-pattern_1_9_41.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-datacard_1_9_39.cjs.entry.js → tttx-datacard_1_9_41.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-dialog-box_1_9_39.cjs.entry.js → tttx-dialog-box_1_9_41.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-dialog_1_9_39.cjs.entry.js → tttx-dialog_1_9_41.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-expander_1_9_39.cjs.entry.js → tttx-expander_1_9_41.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-filter_1_9_39_4.cjs.entry.js → tttx-filter_1_9_41_4.cjs.entry.js} +10 -10
- package/dist/cjs/{tttx-form_1_9_39.cjs.entry.js → tttx-form_1_9_41.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-graph_1_9_39.cjs.entry.js → tttx-graph_1_9_41.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-icon_1_9_39.cjs.entry.js → tttx-icon_1_9_41.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-keyvalue-block_1_9_39.cjs.entry.js → tttx-keyvalue-block_1_9_41.cjs.entry.js} +2 -2
- package/dist/cjs/tttx-loading-spinner_1_9_41_3.cjs.entry.js +183 -0
- package/dist/cjs/{tttx-multiselect-box_1_9_39.cjs.entry.js → tttx-multiselect-box_1_9_41.cjs.entry.js} +8 -8
- package/dist/cjs/{tttx-percentage-bar_1_9_39.cjs.entry.js → tttx-percentage-bar_1_9_41.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-qrcode_1_9_39.cjs.entry.js → tttx-qrcode_1_9_41.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-select-box_1_9_39.cjs.entry.js → tttx-select-box_1_9_41.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-table_1_9_39.cjs.entry.js → tttx-table_1_9_41.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tabs_1_9_39.cjs.entry.js → tttx-tabs_1_9_41.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-textarea_1_9_39.cjs.entry.js → tttx-textarea_1_9_41.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-toggle_1_9_39.cjs.entry.js → tttx-toggle_1_9_41.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tree-view_1_9_39.cjs.entry.js → tttx-tree-view_1_9_41.cjs.entry.js} +4 -4
- package/dist/cjs/tttx.cjs.js +2 -2
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +20 -20
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +4 -4
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.css +2 -2
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +113 -9
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +30 -5
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +2 -2
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +8 -8
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
- package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.js +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +8 -8
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
- package/dist/components/index.d.ts +31 -31
- package/dist/components/index.js +31 -31
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-button_1_9_39.d.ts → tttx-button_1_9_41.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_39.js → tttx-button_1_9_41.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_39.js → tttx-checkbox-group-caption_1_9_41.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_39.js → tttx-checkbox-group-heading_1_9_41.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_39.js → tttx-checkbox-group_1_9_41.js} +5 -5
- package/dist/components/{tttx-datacard_1_9_39.d.ts → tttx-checkbox_1_9_41.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_39.js → tttx-checkbox_1_9_41.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_39.d.ts → tttx-comments_1_9_41.d.ts} +4 -4
- package/dist/components/{tttx-comments_1_9_39.js → tttx-comments_1_9_41.js} +7 -7
- package/dist/components/tttx-data-pattern_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_39.js → tttx-data-pattern_1_9_41.js} +16 -16
- package/dist/components/{tttx-comments_1_9_39.d.ts → tttx-datacard_1_9_41.d.ts} +4 -4
- package/dist/components/{tttx-datacard_1_9_39.js → tttx-datacard_1_9_41.js} +10 -10
- package/dist/components/tttx-dialog-box_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_39.js → tttx-dialog-box_1_9_41.js} +9 -9
- package/dist/components/{tttx-dialog_1_9_39.d.ts → tttx-dialog_1_9_41.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_39.js → tttx-dialog_1_9_41.js} +8 -8
- package/dist/components/tttx-expander_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_39.js → tttx-expander_1_9_41.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-filter_1_9_39.d.ts → tttx-filter_1_9_41.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_39.js → tttx-filter_1_9_41.js} +2 -2
- package/dist/components/{tttx-tabs_1_9_39.d.ts → tttx-form_1_9_41.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_39.js → tttx-form_1_9_41.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_39.d.ts → tttx-graph_1_9_41.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_39.js → tttx-graph_1_9_41.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-icon_1_9_39.d.ts → tttx-icon_1_9_41.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_39.js → tttx-icon_1_9_41.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_39.js → tttx-keyvalue-block_1_9_41.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-list_1_9_39.d.ts → tttx-list_1_9_41.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_39.js → tttx-list_1_9_41.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +63 -11
- package/dist/components/tttx-loading-spinner_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_39.js → tttx-loading-spinner_1_9_41.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_39.js → tttx-multiselect-box_1_9_41.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_39.js → tttx-percentage-bar_1_9_41.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_39.d.ts → tttx-qrcode_1_9_41.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_39.js → tttx-qrcode_1_9_41.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_39.js → tttx-select-box_1_9_41.js} +2 -2
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_39.js → tttx-sorter_1_9_41.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_39.js → tttx-standalone-input_1_9_41.js} +2 -2
- package/dist/components/{tttx-table_1_9_39.d.ts → tttx-table_1_9_41.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_39.js → tttx-table_1_9_41.js} +5 -5
- package/dist/components/{tttx-form_1_9_39.d.ts → tttx-tabs_1_9_41.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_39.js → tttx-tabs_1_9_41.js} +9 -9
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_39.d.ts → tttx-tag_1_9_41.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_39.js → tttx-tag_1_9_41.js} +2 -2
- package/dist/components/tttx-textarea_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_39.js → tttx-textarea_1_9_41.js} +6 -6
- package/dist/components/tttx-toggle_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_39.js → tttx-toggle_1_9_41.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_39.js → tttx-toolbar_1_9_41.js} +2 -2
- package/dist/components/tttx-tree-view_1_9_41.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_39.js → tttx-tree-view_1_9_41.js} +9 -9
- package/dist/esm/{index-88bd2f60.js → index-b11965d8.js} +4 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{tttx-button_1_9_39.entry.js → tttx-button_1_9_41.entry.js} +3 -3
- package/dist/esm/{tttx-checkbox-group-caption_1_9_39.entry.js → tttx-checkbox-group-caption_1_9_41.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-heading_1_9_39.entry.js → tttx-checkbox-group-heading_1_9_41.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group_1_9_39.entry.js → tttx-checkbox-group_1_9_41.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox_1_9_39.entry.js → tttx-checkbox_1_9_41.entry.js} +3 -3
- package/dist/esm/{tttx-comments_1_9_39.entry.js → tttx-comments_1_9_41.entry.js} +3 -3
- package/dist/esm/{tttx-data-pattern_1_9_39.entry.js → tttx-data-pattern_1_9_41.entry.js} +6 -6
- package/dist/esm/{tttx-datacard_1_9_39.entry.js → tttx-datacard_1_9_41.entry.js} +5 -5
- package/dist/esm/{tttx-dialog-box_1_9_39.entry.js → tttx-dialog-box_1_9_41.entry.js} +4 -4
- package/dist/esm/{tttx-dialog_1_9_39.entry.js → tttx-dialog_1_9_41.entry.js} +3 -3
- package/dist/esm/{tttx-expander_1_9_39.entry.js → tttx-expander_1_9_41.entry.js} +3 -3
- package/dist/esm/{tttx-filter_1_9_39_4.entry.js → tttx-filter_1_9_41_4.entry.js} +7 -7
- package/dist/esm/{tttx-form_1_9_39.entry.js → tttx-form_1_9_41.entry.js} +3 -3
- package/dist/esm/{tttx-graph_1_9_39.entry.js → tttx-graph_1_9_41.entry.js} +2 -2
- package/dist/esm/{tttx-icon_1_9_39.entry.js → tttx-icon_1_9_41.entry.js} +2 -2
- package/dist/esm/{tttx-keyvalue-block_1_9_39.entry.js → tttx-keyvalue-block_1_9_41.entry.js} +2 -2
- package/dist/esm/tttx-loading-spinner_1_9_41_3.entry.js +177 -0
- package/dist/esm/{tttx-multiselect-box_1_9_39.entry.js → tttx-multiselect-box_1_9_41.entry.js} +8 -8
- package/dist/esm/{tttx-percentage-bar_1_9_39.entry.js → tttx-percentage-bar_1_9_41.entry.js} +3 -3
- package/dist/esm/{tttx-qrcode_1_9_39.entry.js → tttx-qrcode_1_9_41.entry.js} +2 -2
- package/dist/esm/{tttx-select-box_1_9_39.entry.js → tttx-select-box_1_9_41.entry.js} +7 -7
- package/dist/esm/{tttx-table_1_9_39.entry.js → tttx-table_1_9_41.entry.js} +2 -2
- package/dist/esm/{tttx-tabs_1_9_39.entry.js → tttx-tabs_1_9_41.entry.js} +5 -5
- package/dist/esm/{tttx-textarea_1_9_39.entry.js → tttx-textarea_1_9_41.entry.js} +3 -3
- package/dist/esm/{tttx-toggle_1_9_39.entry.js → tttx-toggle_1_9_41.entry.js} +2 -2
- package/dist/esm/{tttx-tree-view_1_9_39.entry.js → tttx-tree-view_1_9_41.entry.js} +4 -4
- package/dist/esm/tttx.js +3 -3
- package/dist/tttx/{p-22bcb60d.entry.js → p-1d8210d3.entry.js} +1 -1
- package/dist/tttx/{p-79e218d0.entry.js → p-21bb99dd.entry.js} +1 -1
- package/dist/tttx/{p-59c7b049.entry.js → p-22150380.entry.js} +1 -1
- package/dist/tttx/{p-a01e679a.entry.js → p-222b7f89.entry.js} +1 -1
- package/dist/tttx/{p-a8e76e78.entry.js → p-295a5c16.entry.js} +1 -1
- package/dist/tttx/{p-49ef7451.entry.js → p-354fc8d4.entry.js} +2 -2
- package/dist/tttx/{p-996a6061.entry.js → p-4560cb86.entry.js} +1 -1
- package/dist/tttx/{p-f374e293.entry.js → p-49bae603.entry.js} +1 -1
- package/dist/tttx/{p-1e5ff5f8.entry.js → p-61df30c5.entry.js} +1 -1
- package/dist/tttx/{p-0e515960.entry.js → p-6343251b.entry.js} +1 -1
- package/dist/tttx/{p-343945df.entry.js → p-652aaf6c.entry.js} +1 -1
- package/dist/tttx/{p-d490353a.js → p-65bb4035.js} +2 -2
- package/dist/tttx/{p-6b1c7a21.entry.js → p-65da8c2a.entry.js} +1 -1
- package/dist/tttx/{p-de6e8250.entry.js → p-71372d3a.entry.js} +1 -1
- package/dist/tttx/{p-0da9f04c.entry.js → p-7ff42357.entry.js} +1 -1
- package/dist/tttx/{p-63ad6fb7.entry.js → p-80c3103a.entry.js} +1 -1
- package/dist/tttx/{p-13eb18e0.entry.js → p-910cc310.entry.js} +1 -1
- package/dist/tttx/{p-c170e3b8.entry.js → p-9262d276.entry.js} +1 -1
- package/dist/tttx/{p-9434561e.entry.js → p-9426547c.entry.js} +1 -1
- package/dist/tttx/{p-0ffbf27e.entry.js → p-9896a083.entry.js} +1 -1
- package/dist/tttx/{p-74148f2a.entry.js → p-98bee16c.entry.js} +1 -1
- package/dist/tttx/{p-cfe412d0.entry.js → p-e23f0843.entry.js} +1 -1
- package/dist/tttx/p-e28e5118.entry.js +1 -0
- package/dist/tttx/{p-23f45005.entry.js → p-e4b36835.entry.js} +1 -1
- package/dist/tttx/{p-56c8c353.entry.js → p-e5f97b02.entry.js} +1 -1
- package/dist/tttx/{p-883e00f7.entry.js → p-e8b9acb8.entry.js} +1 -1
- package/dist/tttx/p-ff44e042.entry.js +1 -0
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.d.ts +17 -1
- package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.d.ts +17 -0
- package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
- package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
- package/dist/types/components.d.ts +375 -369
- package/package.json +1 -1
- package/dist/cjs/tttx-loading-spinner_1_9_39_3.cjs.entry.js +0 -135
- package/dist/components/tttx-checkbox-group-caption_1_9_39.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_39.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_39.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_39.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_39.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_39.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_39.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_39.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_39.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_39.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_39.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_39.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_39.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_39.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_39.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_39.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_39.d.ts +0 -11
- package/dist/esm/tttx-loading-spinner_1_9_39_3.entry.js +0 -129
- package/dist/tttx/p-09682d72.entry.js +0 -1
- package/dist/tttx/p-c34d99d1.entry.js +0 -1
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-992a9fb3.js');
|
|
6
|
+
|
|
7
|
+
const tttxLoadingSpinnerCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.loading-box{display:flex;align-items:center;justify-content:center}.loading-text{font-size:16px;font-weight:400;padding-top:10px;text-align:center}.spinner{border:solid var(--spinner-color, #1479c6);border-bottom-color:transparent;border-radius:50%;position:relative;box-sizing:border-box;animation:rotation 1s linear infinite}.spinner.small{height:20px;width:20px;border-width:4px}.spinner.large{height:60px;width:60px;border-width:8px}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
|
|
8
|
+
|
|
9
|
+
const TttxLoadingSpinner = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.defaultMessageSchema = [
|
|
13
|
+
{ threshold: 2, message: 'Loading, please wait…' },
|
|
14
|
+
{ threshold: 4, message: 'Processing your request…' },
|
|
15
|
+
{ threshold: 10, message: 'Hang tight, almost there…' },
|
|
16
|
+
{ threshold: Infinity, message: 'Taking longer than expected… refresh if needed.' }
|
|
17
|
+
];
|
|
18
|
+
this.loadingMessage = false;
|
|
19
|
+
this.size = 'large';
|
|
20
|
+
this.color = '#2e6dcc';
|
|
21
|
+
this.message = undefined;
|
|
22
|
+
this.customMessageSchema = undefined;
|
|
23
|
+
this.timeElapsed = 0;
|
|
24
|
+
}
|
|
25
|
+
componentDidLoad() {
|
|
26
|
+
if (this.loadingMessage && !this.message && !this.timer) {
|
|
27
|
+
this.startTimer();
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
disconnectedCallback() {
|
|
31
|
+
this.clearTimer();
|
|
32
|
+
}
|
|
33
|
+
startTimer() {
|
|
34
|
+
this.timer = setInterval(() => {
|
|
35
|
+
this.timeElapsed += 1;
|
|
36
|
+
}, 1000);
|
|
37
|
+
}
|
|
38
|
+
clearTimer() {
|
|
39
|
+
if (this.timer) {
|
|
40
|
+
clearInterval(this.timer);
|
|
41
|
+
this.timer = undefined;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
getEffectiveSchema() {
|
|
45
|
+
// Use custom schema if valid, otherwise fallback
|
|
46
|
+
return Array.isArray(this.customMessageSchema) && this.customMessageSchema.length > 0
|
|
47
|
+
? this.customMessageSchema
|
|
48
|
+
: this.defaultMessageSchema;
|
|
49
|
+
}
|
|
50
|
+
getMessageFromSchema() {
|
|
51
|
+
const schema = this.getEffectiveSchema();
|
|
52
|
+
for (const { threshold, message } of schema) {
|
|
53
|
+
if (this.timeElapsed <= threshold) {
|
|
54
|
+
return message;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
return ''; // fallback, should not occur if Infinity is present
|
|
58
|
+
}
|
|
59
|
+
getDynamicMessage() {
|
|
60
|
+
var _a;
|
|
61
|
+
return (_a = this.message) !== null && _a !== void 0 ? _a : this.getMessageFromSchema();
|
|
62
|
+
}
|
|
63
|
+
renderMessage() {
|
|
64
|
+
if (!this.loadingMessage)
|
|
65
|
+
return null;
|
|
66
|
+
return index.h("div", { class: "loading-text" }, this.getDynamicMessage());
|
|
67
|
+
}
|
|
68
|
+
render() {
|
|
69
|
+
return (index.h("div", null, index.h("div", { class: "loading-box" }, index.h("span", { class: `spinner ${this.size}`, style: { '--spinner-color': this.color } })), this.renderMessage()));
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
TttxLoadingSpinner.style = tttxLoadingSpinnerCss;
|
|
73
|
+
|
|
74
|
+
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_9_41{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_9_41{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_9_41{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_9_41 .optional.sc-tttx-standalone-input_1_9_41{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41{position:relative}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 .left-icons.sc-tttx-standalone-input_1_9_41,label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 .right-icons.sc-tttx-standalone-input_1_9_41{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 .left-icons.sc-tttx-standalone-input_1_9_41 tttx-icon.sc-tttx-standalone-input_1_9_41,label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 .right-icons.sc-tttx-standalone-input_1_9_41 tttx-icon.sc-tttx-standalone-input_1_9_41{height:24px;width:24px}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 .left-icons.sc-tttx-standalone-input_1_9_41{left:8px}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 .right-icons.sc-tttx-standalone-input_1_9_41{right:8px}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 input.sc-tttx-standalone-input_1_9_41,label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 textarea.sc-tttx-standalone-input_1_9_41{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_41 .outer-container.sc-tttx-standalone-input_1_9_41 input.has-input-icon.sc-tttx-standalone-input_1_9_41,label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 textarea.has-input-icon.sc-tttx-standalone-input_1_9_41{padding-left:40px}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_41,label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_41{padding-left:72px}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 input.has-left-icon.sc-tttx-standalone-input_1_9_41,label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 textarea.has-left-icon.sc-tttx-standalone-input_1_9_41{padding-left:40px}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 input.has-right-icon.sc-tttx-standalone-input_1_9_41,label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 textarea.has-right-icon.sc-tttx-standalone-input_1_9_41{padding-right:40px}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 input.invalid.sc-tttx-standalone-input_1_9_41,label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 textarea.invalid.sc-tttx-standalone-input_1_9_41{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 input.sc-tttx-standalone-input_1_9_41:not([type=submit]),label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 textarea.sc-tttx-standalone-input_1_9_41: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_41 .outer-container.sc-tttx-standalone-input_1_9_41 input[type=radio].sc-tttx-standalone-input_1_9_41,label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 textarea[type=radio].sc-tttx-standalone-input_1_9_41{width:20px;height:20px}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 input[type=date].sc-tttx-standalone-input_1_9_41,label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 textarea[type=date].sc-tttx-standalone-input_1_9_41{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 input[readonly].sc-tttx-standalone-input_1_9_41,label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 textarea[readonly].sc-tttx-standalone-input_1_9_41{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 input.sc-tttx-standalone-input_1_9_41:focus,label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 textarea.sc-tttx-standalone-input_1_9_41:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 input.sc-tttx-standalone-input_1_9_41:focus-visible,label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 textarea.sc-tttx-standalone-input_1_9_41:focus-visible{outline:none}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 textarea.sc-tttx-standalone-input_1_9_41{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_9_41 .outer-container.sc-tttx-standalone-input_1_9_41 textarea.resize-none.sc-tttx-standalone-input_1_9_41{resize:none}label.sc-tttx-standalone-input_1_9_41 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_41{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_9_41 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_41 .left-icons.sc-tttx-standalone-input_1_9_41,label.sc-tttx-standalone-input_1_9_41 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_41 .right-icons.sc-tttx-standalone-input_1_9_41{margin-top:4px}label.sc-tttx-standalone-input_1_9_41 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_9_41{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_41 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_9_41{display:block}label.sc-tttx-standalone-input_1_9_41 .outer-container.inputInline.sc-tttx-standalone-input_1_9_41{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_9_41 .outer-container.inputInline.sc-tttx-standalone-input_1_9_41 input.sc-tttx-standalone-input_1_9_41{margin-top:0}label.sc-tttx-standalone-input_1_9_41 .secondarylabel.sc-tttx-standalone-input_1_9_41{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_9_41 .errorBubble.sc-tttx-standalone-input_1_9_41{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_41 .errorBubble.sc-tttx-standalone-input_1_9_41:not(.visible){display:none}label.sc-tttx-standalone-input_1_9_41 .errorBubble.sc-tttx-standalone-input_1_9_41 span.sc-tttx-standalone-input_1_9_41{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_9_41{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_41-h{display:block}";
|
|
75
|
+
|
|
76
|
+
const TttxInput = class {
|
|
77
|
+
constructor(hostRef) {
|
|
78
|
+
index.registerInstance(this, hostRef);
|
|
79
|
+
this.valueChanged = index.createEvent(this, "valueChanged", 7);
|
|
80
|
+
this.focusChanged = index.createEvent(this, "focusChanged", 7);
|
|
81
|
+
this.blurChanged = index.createEvent(this, "blurChanged", 7);
|
|
82
|
+
this.invalidChanged = index.createEvent(this, "invalidChanged", 7);
|
|
83
|
+
this.inputIconClick = index.createEvent(this, "inputIconClick", 7);
|
|
84
|
+
this.leftIconClick = index.createEvent(this, "leftIconClick", 7);
|
|
85
|
+
this.rightIconClick = index.createEvent(this, "rightIconClick", 7);
|
|
86
|
+
this.label = undefined;
|
|
87
|
+
this.secondarylabel = undefined;
|
|
88
|
+
this.showerrormsg = undefined;
|
|
89
|
+
this.showerrorbubble = true;
|
|
90
|
+
this.errormsg = undefined;
|
|
91
|
+
this.iconleft = undefined;
|
|
92
|
+
this.iconleftcolor = 'grey';
|
|
93
|
+
this.iconright = undefined;
|
|
94
|
+
this.iconrightcolor = 'grey';
|
|
95
|
+
this.inputicon = undefined;
|
|
96
|
+
this.inputiconcolor = 'grey';
|
|
97
|
+
this.inline = undefined;
|
|
98
|
+
this.inputautocapitalize = undefined;
|
|
99
|
+
this.inputautofocus = undefined;
|
|
100
|
+
this.inputkeyhint = undefined;
|
|
101
|
+
this.inputindex = undefined;
|
|
102
|
+
this.inputtitle = undefined;
|
|
103
|
+
this.autocomplete = undefined;
|
|
104
|
+
this.checked = undefined;
|
|
105
|
+
this.disabled = undefined;
|
|
106
|
+
this.max = undefined;
|
|
107
|
+
this.maxlength = undefined;
|
|
108
|
+
this.min = undefined;
|
|
109
|
+
this.minlength = undefined;
|
|
110
|
+
this.name = undefined;
|
|
111
|
+
this.pattern = undefined;
|
|
112
|
+
this.placeholder = undefined;
|
|
113
|
+
this.readonly = undefined;
|
|
114
|
+
this.required = undefined;
|
|
115
|
+
this.step = undefined;
|
|
116
|
+
this.type = 'text';
|
|
117
|
+
this.value = undefined;
|
|
118
|
+
}
|
|
119
|
+
handleChange(event) {
|
|
120
|
+
const target = event.target;
|
|
121
|
+
this.value = target.value;
|
|
122
|
+
this.valueChanged.emit(target.value);
|
|
123
|
+
}
|
|
124
|
+
handleFocus(event) {
|
|
125
|
+
const target = event.target;
|
|
126
|
+
this.focusChanged.emit(target.value);
|
|
127
|
+
}
|
|
128
|
+
handleBlur(event) {
|
|
129
|
+
const target = event.target;
|
|
130
|
+
this.blurChanged.emit(target.value);
|
|
131
|
+
}
|
|
132
|
+
handleInvalid(event) {
|
|
133
|
+
event.preventDefault();
|
|
134
|
+
const target = event.target;
|
|
135
|
+
this.invalidChanged.emit(target.value);
|
|
136
|
+
}
|
|
137
|
+
handleInputIconClick(event) {
|
|
138
|
+
event.preventDefault();
|
|
139
|
+
this.inputIconClick.emit();
|
|
140
|
+
}
|
|
141
|
+
handleLeftIconClick(event) {
|
|
142
|
+
event.preventDefault();
|
|
143
|
+
this.leftIconClick.emit();
|
|
144
|
+
}
|
|
145
|
+
handleRightIconClick(event) {
|
|
146
|
+
event.preventDefault();
|
|
147
|
+
this.rightIconClick.emit();
|
|
148
|
+
}
|
|
149
|
+
render() {
|
|
150
|
+
const classNames = [
|
|
151
|
+
this.showerrormsg ? 'invalid' : '',
|
|
152
|
+
this.inputicon ? 'has-input-icon' : '',
|
|
153
|
+
this.iconleft ? 'has-left-icon' : '',
|
|
154
|
+
this.iconright ? 'has-right-icon' : '',
|
|
155
|
+
].join(' ');
|
|
156
|
+
return (index.h(index.Host, null, index.h("label", null, this.label, !this.required ? index.h("span", { class: "optional" }, "\u00A0(optional)") : '', index.h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, index.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) && (index.h("span", { class: "left-icons" }, this.inputicon && (index.h("tttx-icon_1_9_41", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (index.h("tttx-icon_1_9_41", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (index.h("span", { class: "right-icons" }, index.h("tttx-icon_1_9_41", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && index.h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (index.h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, index.h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
TttxInput.style = tttxStandaloneInputCss;
|
|
160
|
+
|
|
161
|
+
const tttxTagCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}button{cursor:pointer}.button{font-family:Roboto, serif;box-sizing:border-box;height:36px;min-width:36px;padding:0;margin:0;background:transparent;color:#212121;border:1px solid #c8c8c8;border-radius:4px;text-transform:uppercase;display:flex;justify-content:left;align-items:center;font-size:14px;font-weight:500}.button-content{display:block;padding:0 16px}.icon-left,.icon-right{margin-top:4px}.iconleft{padding-left:8px}.iconleft .button-content{padding-left:4px}.iconright{padding-right:8px}.iconright .button-content{padding-right:4px}.notext{padding:0 6px}.button:active{background:rgba(17, 17, 17, 0.2);border:1px solid #d5d5d5}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:active{background:#1464a2;border:1px solid #1464a2}.borderless{background:transparent;border:none;color:#212121}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.borderless-circle{background:transparent;border:none;color:#212121;border-radius:50%}.borderless-circle:active{border:none}.borderless-circle:focus{border-color:transparent}.danger{background:#dc0000;border:1px solid #dc0000;color:white}.danger:active{background:#b00000;border:1px solid #b00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}@media (hover: hover){.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #d5d5d5}.primary:hover{background:#146eb3;border:1px solid #146eb3}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless-circle:hover{background:rgba(17, 17, 17, 0.1);border:none}.danger:hover{background:#c60000;border:1px solid #c60000}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}}:host{display:inline-block}.tag{display:inline-flex;align-items:center;border-radius:20px;padding:4px;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:400;width:max-content}.tag_icon{padding-top:4px}.tag span{margin-left:4px;margin-right:4px}.icon{height:18px;width:18px;font-weight:400}";
|
|
162
|
+
|
|
163
|
+
const TttxTag = class {
|
|
164
|
+
constructor(hostRef) {
|
|
165
|
+
index.registerInstance(this, hostRef);
|
|
166
|
+
this.text = undefined;
|
|
167
|
+
this.color = '#d5d5d5';
|
|
168
|
+
this.textColor = '#212121';
|
|
169
|
+
this.hasIcon = false;
|
|
170
|
+
this.icon = 'check_circle';
|
|
171
|
+
this.iconColor = '#397A4C';
|
|
172
|
+
this.iconSize = 24;
|
|
173
|
+
}
|
|
174
|
+
render() {
|
|
175
|
+
return (index.h(index.Host, null, index.h("div", { class: "tag", style: { 'background-color': this.color, color: this.textColor } }, this.hasIcon &&
|
|
176
|
+
index.h("tttx-icon_1_9_41", { role: "icon", class: "tag_icon", "aria-label": this.text, icon: this.icon, color: this.iconColor, size: this.iconSize }), index.h("span", null, this.text))));
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
TttxTag.style = tttxTagCss;
|
|
180
|
+
|
|
181
|
+
exports.tttx_loading_spinner_1_9_41 = TttxLoadingSpinner;
|
|
182
|
+
exports.tttx_standalone_input_1_9_41 = TttxInput;
|
|
183
|
+
exports.tttx_tag_1_9_41 = TttxTag;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-992a9fb3.js');
|
|
6
6
|
const domsanitiser_options = require('./domsanitiser.options-55ce2d65.js');
|
|
7
7
|
require('./_commonjsHelpers-537d719a.js');
|
|
8
8
|
|
|
@@ -125,9 +125,9 @@ const TttxMultiselectBox = class {
|
|
|
125
125
|
}
|
|
126
126
|
// render priority options at the top of the dropdown list
|
|
127
127
|
return (index.h(index.Fragment, null, usingPriority && priorityOptions.length > 0 &&
|
|
128
|
-
index.h(index.Fragment, null, index.h("tttx-
|
|
128
|
+
index.h(index.Fragment, null, index.h("tttx-tag_1_9_41", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
|
|
129
129
|
index.h(index.Fragment, null, usingPriority &&
|
|
130
|
-
index.h("tttx-
|
|
130
|
+
index.h("tttx-tag_1_9_41", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
|
|
131
131
|
}
|
|
132
132
|
dropdownOption(option) {
|
|
133
133
|
// This is tested in e2e tests
|
|
@@ -138,11 +138,11 @@ const TttxMultiselectBox = class {
|
|
|
138
138
|
const sanitisedHTML = domsanitiser_options.purify.sanitize(option.html, domsanitiser_options.domSanitiserOptions);
|
|
139
139
|
// This is tested in e2e tests
|
|
140
140
|
/* istanbul ignore next */
|
|
141
|
-
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-
|
|
141
|
+
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-icon_1_9_41", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), index.h("div", { innerHTML: sanitisedHTML })));
|
|
142
142
|
}
|
|
143
143
|
// This is tested in e2e tests
|
|
144
144
|
/* istanbul ignore next */
|
|
145
|
-
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-
|
|
145
|
+
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-icon_1_9_41", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), index.h("div", { class: "plaintext-option" }, option.label)));
|
|
146
146
|
}
|
|
147
147
|
// This is tested in e2e tests
|
|
148
148
|
/* istanbul ignore next */
|
|
@@ -172,9 +172,9 @@ const TttxMultiselectBox = class {
|
|
|
172
172
|
return;
|
|
173
173
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
174
174
|
const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
|
|
175
|
-
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), index.h("div", { class: "dropdown-selector-chevron" }, index.h("tttx-
|
|
175
|
+
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), index.h("div", { class: "dropdown-selector-chevron" }, index.h("tttx-icon_1_9_41", { icon: chevronIcon, color: "black" }))), this.open && (index.h("div", { class: "dropdown-body-container" }, index.h("div", { class: "dropdown-body", style: Object.assign({}, this.bodyOffset) }, this.searchEnabled &&
|
|
176
176
|
/* istanbul ignore next */
|
|
177
|
-
index.h("div", { class: "searchbox" }, index.h("tttx-standalone-
|
|
177
|
+
index.h("div", { class: "searchbox" }, index.h("tttx-standalone-input_1_9_41", { type: "text", placeholder: 'Search', label: "", required: true, showerrorbubble: false, iconleft: 'search', onInput: this.handleSearchInput.bind(this), inline: true })), index.h("div", { class: "dropdown-options-list" }, this.isLoading ? (index.h("tttx-loading-spinner_1_9_41", { class: 'loading-style' })) : (this.renderDropdownOptions(this.unsavedSelectedItems))), index.h("div", { class: 'footer' }, index.h("tttx-button_1_9_41", { design: "primary", onClick: this.applyChanges.bind(this) }, "Apply"), index.h("tttx-button_1_9_41", { onClick: this.onCancel.bind(this) }, "Cancel"))))))));
|
|
178
178
|
}
|
|
179
179
|
get el() { return index.getElement(this); }
|
|
180
180
|
static get watchers() { return {
|
|
@@ -183,4 +183,4 @@ const TttxMultiselectBox = class {
|
|
|
183
183
|
};
|
|
184
184
|
TttxMultiselectBox.style = tttxMultiselectBoxCss;
|
|
185
185
|
|
|
186
|
-
exports.
|
|
186
|
+
exports.tttx_multiselect_box_1_9_41 = TttxMultiselectBox;
|
package/dist/cjs/{tttx-percentage-bar_1_9_39.cjs.entry.js → tttx-percentage-bar_1_9_41.cjs.entry.js}
RENAMED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-992a9fb3.js');
|
|
6
6
|
|
|
7
|
-
const tttxPercentageBarCss = ".sc-tttx-percentage-
|
|
7
|
+
const tttxPercentageBarCss = ".sc-tttx-percentage-bar_1_9_41-h{display:block}.progress.sc-tttx-percentage-bar_1_9_41{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_1_9_41 .bar.sc-tttx-percentage-bar_1_9_41{height:20px}";
|
|
8
8
|
|
|
9
9
|
const TttxPercentageBar = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -62,4 +62,4 @@ const TttxPercentageBar = class {
|
|
|
62
62
|
};
|
|
63
63
|
TttxPercentageBar.style = tttxPercentageBarCss;
|
|
64
64
|
|
|
65
|
-
exports.
|
|
65
|
+
exports.tttx_percentage_bar_1_9_41 = TttxPercentageBar;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-992a9fb3.js');
|
|
6
6
|
const _commonjsHelpers = require('./_commonjsHelpers-537d719a.js');
|
|
7
7
|
|
|
8
8
|
var qrcode_min = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
@@ -40,4 +40,4 @@ const TttxQrCode = class {
|
|
|
40
40
|
};
|
|
41
41
|
TttxQrCode.style = tttxQrcodeCss;
|
|
42
42
|
|
|
43
|
-
exports.
|
|
43
|
+
exports.tttx_qrcode_1_9_41 = TttxQrCode;
|
package/dist/cjs/{tttx-select-box_1_9_39.cjs.entry.js → tttx-select-box_1_9_41.cjs.entry.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-992a9fb3.js');
|
|
6
6
|
const domsanitiser_options = require('./domsanitiser.options-55ce2d65.js');
|
|
7
7
|
require('./_commonjsHelpers-537d719a.js');
|
|
8
8
|
|
|
@@ -108,7 +108,7 @@ const TttxSelectBox = class {
|
|
|
108
108
|
let title;
|
|
109
109
|
let subtitle;
|
|
110
110
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
111
|
-
const icon = index.h("tttx-
|
|
111
|
+
const icon = index.h("tttx-icon_1_9_41", { icon: chevronIcon, color: "black" });
|
|
112
112
|
let chevron = index.h("div", { class: "dropdown-selector-chevron" }, icon);
|
|
113
113
|
if (!this.selectedItem) {
|
|
114
114
|
title = index.h("div", { class: "placeholder" }, this.placeholder);
|
|
@@ -125,7 +125,7 @@ const TttxSelectBox = class {
|
|
|
125
125
|
chevron = index.h("div", { class: "dropdown-selector-chevron-offset" }, icon);
|
|
126
126
|
}
|
|
127
127
|
return (index.h(index.Fragment, null, index.h("div", { class: "left-wrapper" }, title, subtitle), this.clearable && !this.readOnly &&
|
|
128
|
-
index.h("tttx-
|
|
128
|
+
index.h("tttx-icon_1_9_41", { class: "input-icon", style: { paddingTop: '5px', cursor: 'pointer' }, icon: 'close_small', onClick: this.cleanSelectedItem.bind(this) }), chevron));
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
renderDropdownOptions(options) {
|
|
@@ -148,9 +148,9 @@ const TttxSelectBox = class {
|
|
|
148
148
|
}
|
|
149
149
|
// render priority options at the top of the dropdown list
|
|
150
150
|
return (index.h(index.Fragment, null, usingPriority && priorityOptions.length > 0 &&
|
|
151
|
-
index.h(index.Fragment, null, index.h("tttx-
|
|
151
|
+
index.h(index.Fragment, null, index.h("tttx-tag_1_9_41", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
|
|
152
152
|
index.h(index.Fragment, null, usingPriority &&
|
|
153
|
-
index.h("tttx-
|
|
153
|
+
index.h("tttx-tag_1_9_41", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
|
|
154
154
|
}
|
|
155
155
|
dropdownOption(option) {
|
|
156
156
|
const selected = this.selectedItem && option.value === this.selectedItem.value;
|
|
@@ -237,7 +237,7 @@ const TttxSelectBox = class {
|
|
|
237
237
|
return;
|
|
238
238
|
const invalidClass = this.showErrorMsg ? 'invalid' : '';
|
|
239
239
|
const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
|
|
240
|
-
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (index.h("div", { class: "dropdown-body-container" }, index.h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (index.h("div", { class: "searchbox" }, index.h("tttx-standalone-
|
|
240
|
+
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (index.h("div", { class: "dropdown-body-container" }, index.h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (index.h("div", { class: "searchbox" }, index.h("tttx-standalone-input_1_9_41", { type: "text", label: "", required: true, showerrorbubble: false, iconleft: "search", onInput: this.handleSearchInput.bind(this) }))), index.h("div", { class: "dropdown-options-list", onScroll: this.onSelectScroll.bind(this) }, !this.isLoading && (this.renderDropdownOptions(this._optionsData)), (this.isLoading || this.loadingNextExternalPage) && (index.h("tttx-loading-spinner_1_9_41", { class: 'loading-style' })))))), this.showErrorBubble && (index.h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, index.h("tttx-icon_1_9_41", { icon: "warning", color: "#dc0000", size: 16 }), " ", this.errorMsg)))));
|
|
241
241
|
}
|
|
242
242
|
get el() { return index.getElement(this); }
|
|
243
243
|
static get watchers() { return {
|
|
@@ -247,4 +247,4 @@ const TttxSelectBox = class {
|
|
|
247
247
|
};
|
|
248
248
|
TttxSelectBox.style = tttxSelectBoxCss;
|
|
249
249
|
|
|
250
|
-
exports.
|
|
250
|
+
exports.tttx_select_box_1_9_41 = TttxSelectBox;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-992a9fb3.js');
|
|
6
6
|
const domsanitiser_options = require('./domsanitiser.options-55ce2d65.js');
|
|
7
7
|
require('./_commonjsHelpers-537d719a.js');
|
|
8
8
|
|
|
@@ -58,4 +58,4 @@ const TttxTable = class {
|
|
|
58
58
|
};
|
|
59
59
|
TttxTable.style = tttxTableCss;
|
|
60
60
|
|
|
61
|
-
exports.
|
|
61
|
+
exports.tttx_table_1_9_41 = TttxTable;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-992a9fb3.js');
|
|
6
6
|
const domsanitiser_options = require('./domsanitiser.options-55ce2d65.js');
|
|
7
7
|
require('./_commonjsHelpers-537d719a.js');
|
|
8
8
|
|
|
9
|
-
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-
|
|
9
|
+
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-tabs_1_9_41{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs_1_9_41-h{display:block}.tab-bar.sc-tttx-tabs_1_9_41{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_9_41>.left-navigation.sc-tttx-tabs_1_9_41,.tab-bar.sc-tttx-tabs_1_9_41>.right-navigation.sc-tttx-tabs_1_9_41{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_41>.left-navigation.sc-tttx-tabs_1_9_41>*.sc-tttx-tabs_1_9_41,.tab-bar.sc-tttx-tabs_1_9_41>.right-navigation.sc-tttx-tabs_1_9_41>*.sc-tttx-tabs_1_9_41{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_41>.tabs-container.sc-tttx-tabs_1_9_41{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_9_41>.tabs-container.wide.sc-tttx-tabs_1_9_41{flex-grow:1}.tab-bar.sc-tttx-tabs_1_9_41>.tabs-container.sc-tttx-tabs_1_9_41>*[role=tab].sc-tttx-tabs_1_9_41{padding:18px 16px;line-height:16.408px;font-size:14px;font-weight:500;text-transform:uppercase;user-select:none;color:#757575;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_41>.tabs-container.sc-tttx-tabs_1_9_41>*[role=tab].sc-tttx-tabs_1_9_41:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_9_41>.tabs-container.sc-tttx-tabs_1_9_41>*[role=tab][aria-selected].sc-tttx-tabs_1_9_41{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
|
|
10
10
|
|
|
11
11
|
const TttxTabs = class {
|
|
12
12
|
constructor(hostRef) {
|
|
@@ -83,7 +83,7 @@ const TttxTabs = class {
|
|
|
83
83
|
}
|
|
84
84
|
generateTab(tab) {
|
|
85
85
|
var _a, _b;
|
|
86
|
-
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (index.h("tttx-
|
|
86
|
+
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (index.h("tttx-icon_1_9_41", { style: { pointerEvents: 'none', marginTop: '-2px' }, icon: tab.tabIcon, color: 'gray', size: (_b = tab.tabIconSize) !== null && _b !== void 0 ? _b : 24 }));
|
|
87
87
|
return (index.h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
|
|
88
88
|
this.handleTabClick(tab);
|
|
89
89
|
} }, tabTitle));
|
|
@@ -102,7 +102,7 @@ const TttxTabs = class {
|
|
|
102
102
|
return;
|
|
103
103
|
}
|
|
104
104
|
const selectedTab = this._tabs.find(tab => tab.selected);
|
|
105
|
-
return (index.h(index.Host, null, index.h("div", null, index.h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (index.h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, index.h("tttx-
|
|
105
|
+
return (index.h(index.Host, null, index.h("div", null, index.h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (index.h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, index.h("tttx-icon_1_9_41", { icon: "navigate_before", color: "black" }))), index.h("div", { class: 'tabs-container' + (this.wide ? ' wide' : '') }, this._tabs.map(this.generateTab.bind(this))), this.navigation && (index.h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, index.h("tttx-icon_1_9_41", { icon: "navigate_next", color: "black" })))), selectedTab && this.renderSelectedTab(selectedTab))));
|
|
106
106
|
}
|
|
107
107
|
static get watchers() { return {
|
|
108
108
|
"tabs": ["onDataChange"]
|
|
@@ -110,4 +110,4 @@ const TttxTabs = class {
|
|
|
110
110
|
};
|
|
111
111
|
TttxTabs.style = tttxTabsCss;
|
|
112
112
|
|
|
113
|
-
exports.
|
|
113
|
+
exports.tttx_tabs_1_9_41 = TttxTabs;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-992a9fb3.js');
|
|
6
6
|
|
|
7
|
-
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-
|
|
7
|
+
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_9_41{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_9_41-h{display:block}label.sc-tttx-textarea_1_9_41{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_41 .textarea-container.sc-tttx-textarea_1_9_41{position:relative}label.sc-tttx-textarea_1_9_41 .textarea-container.sc-tttx-textarea_1_9_41 textarea.sc-tttx-textarea_1_9_41{font-family:\"Roboto\", serif;box-sizing:border-box;width:100%;padding:9px 16px;font-size:16px;line-height:18.752px;border:1px solid #d5d5d5;border-radius:4px;margin-top:8px;resize:none}label.sc-tttx-textarea_1_9_41 .textarea-container.sc-tttx-textarea_1_9_41 textarea.no-label.sc-tttx-textarea_1_9_41{margin-top:0}label.sc-tttx-textarea_1_9_41 .textarea-container.sc-tttx-textarea_1_9_41 textarea.sc-tttx-textarea_1_9_41~.errorBubble.sc-tttx-textarea_1_9_41{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-textarea_1_9_41 .textarea-container.sc-tttx-textarea_1_9_41 textarea.sc-tttx-textarea_1_9_41~.errorBubble.sc-tttx-textarea_1_9_41:not(.visible){display:none}label.sc-tttx-textarea_1_9_41 .textarea-container.sc-tttx-textarea_1_9_41 textarea.sc-tttx-textarea_1_9_41~.errorBubble.sc-tttx-textarea_1_9_41 span.sc-tttx-textarea_1_9_41{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_41 .textarea-container.sc-tttx-textarea_1_9_41 textarea.sc-tttx-textarea_1_9_41:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_41 .textarea-container.sc-tttx-textarea_1_9_41 textarea.sc-tttx-textarea_1_9_41:focus-visible{outline:none}label.sc-tttx-textarea_1_9_41 .secondarylabel.sc-tttx-textarea_1_9_41{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_41 .optional.sc-tttx-textarea_1_9_41{color:#757575;font-weight:normal}";
|
|
8
8
|
|
|
9
9
|
const TttxTextarea = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -56,4 +56,4 @@ const TttxTextarea = class {
|
|
|
56
56
|
};
|
|
57
57
|
TttxTextarea.style = tttxTextareaCss;
|
|
58
58
|
|
|
59
|
-
exports.
|
|
59
|
+
exports.tttx_textarea_1_9_41 = TttxTextarea;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-992a9fb3.js');
|
|
6
6
|
|
|
7
7
|
const tttxToggleCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:inline-block}#toggle-switch{width:50px;height:30px;border-radius:30px;position:relative;box-sizing:border-box}#toggle-switch input{cursor:pointer;width:50px;height:30px;padding:0;margin:0;top:0;left:0;border:none;outline:none;opacity:0;position:absolute}#toggle-switch #toggle-body{width:50px;height:30px;border-radius:28px;position:relative;top:0;left:0;pointer-events:none;background:#9e9e9e}#toggle-switch #toggle-body::after{font-family:\"Material Symbols Rounded\", sans-serif;content:\"\\e5ca\";position:absolute;width:26px;height:26px;left:2px;top:2px;border-radius:26px;background:white;transition:all 0.1s;font-size:22px;color:#FFFFFF;justify-content:center;display:inline-flex}#toggle-switch input:checked~#toggle-body::after{color:#a2bb31;left:22px}#toggle-switch input:checked~#toggle-body{background:#a2bb31}";
|
|
8
8
|
|
|
@@ -37,4 +37,4 @@ const TttxToggle = class {
|
|
|
37
37
|
};
|
|
38
38
|
TttxToggle.style = tttxToggleCss;
|
|
39
39
|
|
|
40
|
-
exports.
|
|
40
|
+
exports.tttx_toggle_1_9_41 = TttxToggle;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-992a9fb3.js');
|
|
6
6
|
const domsanitiser_options = require('./domsanitiser.options-55ce2d65.js');
|
|
7
7
|
require('./_commonjsHelpers-537d719a.js');
|
|
8
8
|
|
|
@@ -106,7 +106,7 @@ const TttxTreeView = class {
|
|
|
106
106
|
if (node.hasHover) {
|
|
107
107
|
this.onClickHandler(event, node);
|
|
108
108
|
}
|
|
109
|
-
} }, index.h("tttx-
|
|
109
|
+
} }, index.h("tttx-button_1_9_41", { class: "toggleNode", design: "borderless-circle", notext: true, icon: options.expanderIcon, color: "black", onClick: event => this.toggleNode(node, event) }), this.htmlcode('treeNode', node, options.checkboxIcon, options.checkboxColor)), node.isOpen ? (index.h("li", null, index.h("ul", null, node.child.map(childNode => {
|
|
110
110
|
return this.renderNode(childNode);
|
|
111
111
|
})))) : null));
|
|
112
112
|
}
|
|
@@ -119,7 +119,7 @@ const TttxTreeView = class {
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
htmlcode(type, node, check_box, check_boxColor) {
|
|
122
|
-
const htmlcode = (index.h("div", { class: "inline-tree-item element" }, node.hasCheckbox && (index.h("tttx-
|
|
122
|
+
const htmlcode = (index.h("div", { class: "inline-tree-item element" }, node.hasCheckbox && (index.h("tttx-button_1_9_41", { design: "borderless-circle", notext: true, icon: check_box, iconcolor: check_boxColor, class: "padding-icon checkbox", onClick: event => this.handleCheckboxChange(node, event) })), !node.html && node.hasIcon && (index.h("tttx-icon_1_9_41", { icon: node.icon, color: node.iconColor, class: "padding-icon" })), !node.html && index.h("div", { class: type }, node.title), node.html && index.h("div", { class: type, innerHTML: domsanitiser_options.purify.sanitize(node.html, domsanitiser_options.domSanitiserOptions) })));
|
|
123
123
|
return htmlcode;
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
@@ -130,4 +130,4 @@ const TttxTreeView = class {
|
|
|
130
130
|
};
|
|
131
131
|
TttxTreeView.style = tttxTreeViewCss;
|
|
132
132
|
|
|
133
|
-
exports.
|
|
133
|
+
exports.tttx_tree_view_1_9_41 = TttxTreeView;
|
package/dist/cjs/tttx.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-992a9fb3.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
|
|
@@ -17,7 +17,7 @@ const patchBrowser = () => {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
|
-
return index.bootstrapLazy([["tttx-data-
|
|
20
|
+
return index.bootstrapLazy([["tttx-data-pattern_1_9_41.cjs",[[1,"tttx-data-pattern_1_9_41",{"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_41.cjs",[[1,"tttx-form_1_9_41",{"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_41.cjs",[[1,"tttx-multiselect-box_1_9_41",{"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-datacard_1_9_41.cjs",[[1,"tttx-datacard_1_9_41",{"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_41.cjs",[[1,"tttx-dialog-box_1_9_41",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_41.cjs",[[1,"tttx-dialog_1_9_41",{"header":[1],"type":[1],"size":[1],"open":[4],"allowOverflow":[4,"allow-overflow"],"closeEnabled":[4,"close-enabled"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-tree-view_1_9_41.cjs",[[1,"tttx-tree-view_1_9_41",{"data":[1040],"treeData":[32]}]]],["tttx-checkbox_1_9_41.cjs",[[0,"tttx-checkbox_1_9_41",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_41.cjs",[[1,"tttx-comments_1_9_41",{"currentuser":[1],"comments":[1],"disableFile":[4,"disable-file"],"_comments":[32],"showError":[32],"addDummyComment":[64]}]]],["tttx-expander_1_9_41.cjs",[[1,"tttx-expander_1_9_41",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_41.cjs",[[2,"tttx-tabs_1_9_41",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_41.cjs",[[4,"tttx-checkbox-group-caption_1_9_41"]]],["tttx-checkbox-group-heading_1_9_41.cjs",[[4,"tttx-checkbox-group-heading_1_9_41"]]],["tttx-checkbox-group_1_9_41.cjs",[[1,"tttx-checkbox-group_1_9_41"]]],["tttx-keyvalue-block_1_9_41.cjs",[[1,"tttx-keyvalue-block_1_9_41",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_41.cjs",[[2,"tttx-percentage-bar_1_9_41",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_41.cjs",[[1,"tttx-qrcode_1_9_41",{"link":[1025],"size":[1026]}]]],["tttx-table_1_9_41.cjs",[[1,"tttx-table_1_9_41",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_41.cjs",[[2,"tttx-textarea_1_9_41",{"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_41.cjs",[[1,"tttx-toggle_1_9_41",{"initialstate":[8],"_state":[32]}]]],["tttx-loading-spinner_1_9_41_3.cjs",[[1,"tttx-tag_1_9_41",{"text":[1],"color":[1],"textColor":[1,"text-color"],"hasIcon":[4,"has-icon"],"icon":[1],"iconColor":[1,"icon-color"],"iconSize":[2,"icon-size"]}],[1,"tttx-loading-spinner_1_9_41",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}],[2,"tttx-standalone-input_1_9_41",{"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]}]]],["tttx-select-box_1_9_41.cjs",[[1,"tttx-select-box_1_9_41",{"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-graph_1_9_41.cjs",[[1,"tttx-graph_1_9_41",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-icon_1_9_41.cjs",[[1,"tttx-icon_1_9_41",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-filter_1_9_41_4.cjs",[[1,"tttx-filter_1_9_41",{"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_41",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_41",{"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_41",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_9_41.cjs",[[1,"tttx-button_1_9_41",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
exports.setNonce = index.setNonce;
|
|
@@ -20,9 +20,9 @@ export class TttxButton {
|
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
this._iconcolor = this.iconcolor;
|
|
23
|
-
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-
|
|
23
|
+
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_41", { icon: this.icon, color: this._iconcolor }))), !this.notext && (h("div", { class: "button-content" }, h("slot", null))), this.icon && this.iconposition === 'right' && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_41", { icon: this.icon, color: this._iconcolor }))))));
|
|
24
24
|
}
|
|
25
|
-
static get is() { return "tttx-
|
|
25
|
+
static get is() { return "tttx-button_1_9_41"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
27
27
|
static get originalStyleUrls() {
|
|
28
28
|
return {
|