@3t-transform/threeteeui 0.2.121 → 1.0.0
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/loader.cjs.js +1 -1
- package/dist/cjs/{tttx-button.cjs.entry.js → tttx-button_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-caption.cjs.entry.js → tttx-checkbox-group-caption_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading.cjs.entry.js → tttx-checkbox-group-heading_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group.cjs.entry.js → tttx-checkbox-group_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox.cjs.entry.js → tttx-checkbox_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/tttx-data-pattern_localcomponent.cjs.entry.js +23 -0
- package/dist/cjs/{tttx-dialog-box.cjs.entry.js → tttx-dialog-box_localcomponent.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog.cjs.entry.js → tttx-dialog_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander.cjs.entry.js → tttx-expander_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_4.cjs.entry.js → tttx-filter_localcomponent_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form.cjs.entry.js → tttx-form_localcomponent.cjs.entry.js} +2 -8
- package/dist/cjs/{tttx-icon.cjs.entry.js → tttx-icon_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block.cjs.entry.js → tttx-keyvalue-block_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner.cjs.entry.js → tttx-loading-spinner_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-multiselect-box.cjs.entry.js → tttx-multiselect-box_localcomponent.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-percentage-bar.cjs.entry.js → tttx-percentage-bar_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode.cjs.entry.js → tttx-qrcode_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box.cjs.entry.js → tttx-select-box_localcomponent.cjs.entry.js} +3 -3
- package/dist/cjs/tttx-standalone-input_localcomponent.cjs.entry.js +94 -0
- package/dist/cjs/{tttx-tabs.cjs.entry.js → tttx-tabs_localcomponent.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tag.cjs.entry.js → tttx-tag_localcomponent.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-textarea.cjs.entry.js → tttx-textarea_localcomponent.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tree-view.cjs.entry.js → tttx-tree-view_localcomponent.cjs.entry.js} +3 -3
- package/dist/cjs/tttx.cjs.js +1 -1
- 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-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.js +1 -1
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +1 -1
- 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 +1 -1
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
- 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-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 -14
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +5 -5
- package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
- package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +46 -46
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +6 -6
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +33 -33
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +3 -3
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +16 -16
- 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-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 +2 -2
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
- package/dist/components/index.d.ts +26 -26
- package/dist/components/index.js +26 -26
- package/dist/components/tttx-button.js +57 -4
- package/dist/components/{tttx-data-pattern.d.ts → tttx-button_localcomponent.d.ts} +4 -4
- package/dist/components/tttx-button_localcomponent.js +6 -0
- package/dist/components/tttx-checkbox-group-caption_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption.js → tttx-checkbox-group-caption_localcomponent.js} +7 -7
- package/dist/components/tttx-checkbox-group-heading_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading.js → tttx-checkbox-group-heading_localcomponent.js} +7 -7
- package/dist/components/tttx-checkbox-group_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group.js → tttx-checkbox-group_localcomponent.js} +7 -7
- package/dist/components/{tttx-checkbox-group.d.ts → tttx-checkbox_localcomponent.d.ts} +4 -4
- package/dist/components/{tttx-checkbox.js → tttx-checkbox_localcomponent.js} +10 -10
- package/dist/components/tttx-data-pattern_localcomponent.d.ts +11 -0
- package/dist/components/tttx-data-pattern_localcomponent.js +84 -0
- package/dist/components/tttx-dialog-box_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-dialog-box.js → tttx-dialog-box_localcomponent.js} +13 -13
- package/dist/components/tttx-dialog_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-dialog.js → tttx-dialog_localcomponent.js} +12 -12
- package/dist/components/tttx-expander_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-expander.js → tttx-expander_localcomponent.js} +10 -10
- package/dist/components/tttx-filter.js +223 -4
- package/dist/components/tttx-filter_localcomponent.d.ts +11 -0
- package/dist/components/tttx-filter_localcomponent.js +6 -0
- package/dist/components/{tttx-button.d.ts → tttx-form_localcomponent.d.ts} +4 -4
- package/dist/components/{tttx-form.js → tttx-form_localcomponent.js} +14 -20
- package/dist/components/tttx-icon.js +38 -4
- package/dist/components/{tttx-checkbox.d.ts → tttx-icon_localcomponent.d.ts} +4 -4
- package/dist/components/tttx-icon_localcomponent.js +6 -0
- package/dist/components/tttx-keyvalue-block_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block.js → tttx-keyvalue-block_localcomponent.js} +7 -7
- package/dist/components/tttx-list.js +92 -4
- package/dist/components/{tttx-dialog.d.ts → tttx-list_localcomponent.d.ts} +4 -4
- package/dist/components/tttx-list_localcomponent.js +6 -0
- package/dist/components/tttx-loading-spinner_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner.js → tttx-loading-spinner_localcomponent.js} +7 -7
- package/dist/components/tttx-multiselect-box_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box.js → tttx-multiselect-box_localcomponent.js} +18 -18
- package/dist/components/tttx-percentage-bar_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar.js → tttx-percentage-bar_localcomponent.js} +8 -8
- package/dist/components/tttx-qrcode_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-qrcode.js → tttx-qrcode_localcomponent.js} +5 -5
- package/dist/components/tttx-select-box.js +169 -4
- package/dist/components/tttx-select-box_localcomponent.d.ts +11 -0
- package/dist/components/tttx-select-box_localcomponent.js +6 -0
- package/dist/components/tttx-sorter.js +142 -4
- package/dist/components/tttx-sorter_localcomponent.d.ts +11 -0
- package/dist/components/tttx-sorter_localcomponent.js +6 -0
- package/dist/components/tttx-standalone-input.js +141 -4
- package/dist/components/tttx-standalone-input_localcomponent.d.ts +11 -0
- package/dist/components/tttx-standalone-input_localcomponent.js +6 -0
- package/dist/components/{tttx-dialog-box.d.ts → tttx-tabs_localcomponent.d.ts} +4 -4
- package/dist/components/{tttx-tabs.js → tttx-tabs_localcomponent.js} +12 -12
- package/dist/components/{tttx-select-box.d.ts → tttx-tag_localcomponent.d.ts} +4 -4
- package/dist/components/{tttx-tag.js → tttx-tag_localcomponent.js} +7 -7
- package/dist/components/tttx-textarea_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-textarea.js → tttx-textarea_localcomponent.js} +8 -8
- package/dist/components/tttx-toolbar.js +47 -4
- package/dist/components/{tttx-keyvalue-block.d.ts → tttx-toolbar_localcomponent.d.ts} +4 -4
- package/dist/components/tttx-toolbar_localcomponent.js +6 -0
- package/dist/components/tttx-tree-view_localcomponent.d.ts +11 -0
- package/dist/components/{tttx-tree-view.js → tttx-tree-view_localcomponent.js} +13 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-button.entry.js → tttx-button_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-caption.entry.js → tttx-checkbox-group-caption_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading.entry.js → tttx-checkbox-group-heading_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group.entry.js → tttx-checkbox-group_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox.entry.js → tttx-checkbox_localcomponent.entry.js} +2 -2
- package/dist/esm/tttx-data-pattern_localcomponent.entry.js +19 -0
- package/dist/esm/{tttx-dialog-box.entry.js → tttx-dialog-box_localcomponent.entry.js} +3 -3
- package/dist/esm/{tttx-dialog.entry.js → tttx-dialog_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-expander.entry.js → tttx-expander_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-filter_4.entry.js → tttx-filter_localcomponent_4.entry.js} +6 -6
- package/dist/esm/{tttx-form.entry.js → tttx-form_localcomponent.entry.js} +2 -8
- package/dist/esm/{tttx-icon.entry.js → tttx-icon_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block.entry.js → tttx-keyvalue-block_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner.entry.js → tttx-loading-spinner_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-multiselect-box.entry.js → tttx-multiselect-box_localcomponent.entry.js} +6 -6
- package/dist/esm/{tttx-percentage-bar.entry.js → tttx-percentage-bar_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode.entry.js → tttx-qrcode_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-select-box.entry.js → tttx-select-box_localcomponent.entry.js} +3 -3
- package/dist/esm/tttx-standalone-input_localcomponent.entry.js +90 -0
- package/dist/esm/{tttx-tabs.entry.js → tttx-tabs_localcomponent.entry.js} +4 -4
- package/dist/esm/{tttx-tag.entry.js → tttx-tag_localcomponent.entry.js} +1 -1
- package/dist/esm/{tttx-textarea.entry.js → tttx-textarea_localcomponent.entry.js} +2 -2
- package/dist/esm/{tttx-tree-view.entry.js → tttx-tree-view_localcomponent.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/{p-54cedeca.entry.js → p-05c242f0.entry.js} +1 -1
- package/dist/tttx/{p-bf48f423.entry.js → p-0e515960.entry.js} +1 -1
- package/dist/tttx/{p-02017641.entry.js → p-1e5ff5f8.entry.js} +1 -1
- package/dist/tttx/p-1f6cb3c3.entry.js +1 -0
- package/dist/tttx/p-23f45005.entry.js +1 -0
- package/dist/tttx/p-56c8c353.entry.js +1 -0
- package/dist/tttx/{p-065ad72e.entry.js → p-59c7b049.entry.js} +1 -1
- package/dist/tttx/p-5b3e1fae.entry.js +1 -0
- package/dist/tttx/p-63ad6fb7.entry.js +1 -0
- package/dist/tttx/p-6704ac94.entry.js +1 -0
- package/dist/tttx/p-6abfd043.entry.js +1 -0
- package/dist/tttx/p-72ede7d8.entry.js +1 -0
- package/dist/tttx/{p-06a0f85e.entry.js → p-796f699a.entry.js} +1 -1
- package/dist/tttx/p-7a7fb9b3.entry.js +1 -0
- package/dist/tttx/{p-30da2278.entry.js → p-87481935.entry.js} +1 -1
- package/dist/tttx/{p-d59980ee.entry.js → p-9434561e.entry.js} +1 -1
- package/dist/tttx/{p-866047c1.entry.js → p-a01e679a.entry.js} +1 -1
- package/dist/tttx/p-a8e76e78.entry.js +1 -0
- package/dist/tttx/{p-bdee8c29.entry.js → p-c170e3b8.entry.js} +1 -1
- package/dist/tttx/p-c3d6914a.entry.js +1 -0
- package/dist/tttx/p-ee358ce4.entry.js +1 -0
- package/dist/tttx/{p-e0ed9a93.entry.js → p-f374e293.entry.js} +1 -1
- package/dist/tttx/p-fe967031.entry.js +1 -0
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +0 -6
- 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 +318 -318
- package/package.json +3 -2
- package/dist/cjs/tttx-data-pattern.cjs.entry.js +0 -23
- package/dist/cjs/tttx-standalone-input.cjs.entry.js +0 -94
- package/dist/components/tttx-button2.js +0 -59
- package/dist/components/tttx-checkbox-group-caption.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading.d.ts +0 -11
- package/dist/components/tttx-data-pattern.js +0 -84
- package/dist/components/tttx-expander.d.ts +0 -11
- package/dist/components/tttx-filter.d.ts +0 -11
- package/dist/components/tttx-filter2.js +0 -225
- package/dist/components/tttx-form.d.ts +0 -11
- package/dist/components/tttx-icon.d.ts +0 -11
- package/dist/components/tttx-icon2.js +0 -40
- package/dist/components/tttx-list.d.ts +0 -11
- package/dist/components/tttx-list2.js +0 -94
- package/dist/components/tttx-loading-spinner.d.ts +0 -11
- package/dist/components/tttx-multiselect-box.d.ts +0 -11
- package/dist/components/tttx-percentage-bar.d.ts +0 -11
- package/dist/components/tttx-qrcode.d.ts +0 -11
- package/dist/components/tttx-select-box2.js +0 -171
- package/dist/components/tttx-sorter.d.ts +0 -11
- package/dist/components/tttx-sorter2.js +0 -144
- package/dist/components/tttx-standalone-input.d.ts +0 -11
- package/dist/components/tttx-standalone-input2.js +0 -143
- package/dist/components/tttx-tabs.d.ts +0 -11
- package/dist/components/tttx-tag.d.ts +0 -11
- package/dist/components/tttx-textarea.d.ts +0 -11
- package/dist/components/tttx-toolbar.d.ts +0 -11
- package/dist/components/tttx-toolbar2.js +0 -49
- package/dist/components/tttx-tree-view.d.ts +0 -11
- package/dist/esm/tttx-data-pattern.entry.js +0 -19
- package/dist/esm/tttx-standalone-input.entry.js +0 -90
- package/dist/tttx/p-0a1a9da5.entry.js +0 -1
- package/dist/tttx/p-0bd3d6cd.entry.js +0 -1
- package/dist/tttx/p-0d962a44.entry.js +0 -1
- package/dist/tttx/p-1ecf24cc.entry.js +0 -1
- package/dist/tttx/p-2f46fcbc.entry.js +0 -1
- package/dist/tttx/p-36f0dc1d.entry.js +0 -1
- package/dist/tttx/p-4e2bc070.entry.js +0 -1
- package/dist/tttx/p-706901da.entry.js +0 -1
- package/dist/tttx/p-71a8ab3d.entry.js +0 -1
- package/dist/tttx/p-872cd825.entry.js +0 -1
- package/dist/tttx/p-8fd1d664.entry.js +0 -1
- package/dist/tttx/p-c45c095c.entry.js +0 -1
- package/dist/tttx/p-d21cec88.entry.js +0 -1
|
@@ -12,7 +12,7 @@ export default {
|
|
|
12
12
|
decorators: [withActions],
|
|
13
13
|
};
|
|
14
14
|
const TttxTreeViewStory = ({ data }) => `
|
|
15
|
-
<tttx-tree-
|
|
15
|
+
<tttx-tree-view_1_0_0 id="treeViewDefault"></tttx-tree-view_1_0_0>
|
|
16
16
|
<script>
|
|
17
17
|
if(!treeViewDefault) {
|
|
18
18
|
const treeViewDefault = document.getElementById('treeViewDefault');
|
|
@@ -90,7 +90,7 @@ Default.args = {
|
|
|
90
90
|
],
|
|
91
91
|
};
|
|
92
92
|
const TttxTreeViewSimple = ({ data }) => `
|
|
93
|
-
<tttx-tree-
|
|
93
|
+
<tttx-tree-view_1_0_0 id="treeViewSimple"></tttx-tree-view_1_0_0>
|
|
94
94
|
<script>
|
|
95
95
|
if(!treeViewSimple) {
|
|
96
96
|
const treeViewSimple = document.getElementById('treeViewSimple');
|
|
@@ -152,7 +152,7 @@ Simple.args = {
|
|
|
152
152
|
],
|
|
153
153
|
};
|
|
154
154
|
const TttxTreeViewHTML = ({ data }) => `
|
|
155
|
-
<tttx-tree-
|
|
155
|
+
<tttx-tree-view_1_0_0 id="treeViewHTML"></tttx-tree-view_1_0_0>
|
|
156
156
|
<script>
|
|
157
157
|
if(!treeViewHTML) {
|
|
158
158
|
const treeViewHTML = document.getElementById('treeViewHTML');
|
|
@@ -221,7 +221,7 @@ HTML.args = {
|
|
|
221
221
|
],
|
|
222
222
|
};
|
|
223
223
|
const TttxTreeViewCheckbox = ({ data }) => `
|
|
224
|
-
<tttx-tree-
|
|
224
|
+
<tttx-tree-view_1_0_0 id="treeViewCheckbox"></tttx-tree-view_1_0_0>
|
|
225
225
|
<script>
|
|
226
226
|
if(!treeViewCheckbox) {
|
|
227
227
|
const treeViewCheckbox = document.getElementById('treeViewCheckbox');
|
|
@@ -295,7 +295,7 @@ Checkbox.args = {
|
|
|
295
295
|
],
|
|
296
296
|
};
|
|
297
297
|
const TttxTreeViewIcons = ({ data }) => `
|
|
298
|
-
<tttx-tree-
|
|
298
|
+
<tttx-tree-view_1_0_0 id="treeViewIcons"></tttx-tree-view_1_0_0>
|
|
299
299
|
<script>
|
|
300
300
|
if(!treeViewIcons) {
|
|
301
301
|
const treeViewIcons = document.getElementById('treeViewIcons');
|
|
@@ -374,7 +374,7 @@ Icons.args = {
|
|
|
374
374
|
],
|
|
375
375
|
};
|
|
376
376
|
const TttxTreeViewCheckBoxAndIcons = ({ data }) => `
|
|
377
|
-
<tttx-tree-
|
|
377
|
+
<tttx-tree-view_1_0_0 id="treeViewCheckBoxAndIcons"></tttx-tree-view_1_0_0>
|
|
378
378
|
<script>
|
|
379
379
|
if(!treeViewCheckBoxAndIcons) {
|
|
380
380
|
const treeViewCheckBoxAndIcons = document.getElementById('treeViewCheckBoxAndIcons');
|
|
@@ -508,7 +508,7 @@ RequirementsList2.args = {
|
|
|
508
508
|
data: [convertedData2],
|
|
509
509
|
};
|
|
510
510
|
const TttxTreeViewEmptyGroup = ({ data }) => `
|
|
511
|
-
<tttx-tree-
|
|
511
|
+
<tttx-tree-view_1_0_0 id="treeViewEmptyGroup"></tttx-tree-view_1_0_0>
|
|
512
512
|
<script>
|
|
513
513
|
if(!treeViewEmptyGroup) {
|
|
514
514
|
const treeViewEmptyGroup = document.getElementById('treeViewEmptyGroup');
|
|
@@ -534,7 +534,7 @@ EmptyGroup.args = {
|
|
|
534
534
|
],
|
|
535
535
|
};
|
|
536
536
|
const TttxTreeViewselectable = ({ data }) => `
|
|
537
|
-
<tttx-tree-
|
|
537
|
+
<tttx-tree-view_1_0_0 id="treeViewselectable"></tttx-tree-view_1_0_0>
|
|
538
538
|
<script>
|
|
539
539
|
if(!treeViewselectable) {
|
|
540
540
|
const treeViewselectable = document.getElementById('treeViewselectable');
|
|
@@ -7,9 +7,9 @@ export class TttxDataPattern {
|
|
|
7
7
|
this.filterheader = 'Filter';
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, null, h("div", { class: "container" }, h("tttx-
|
|
10
|
+
return (h(Host, null, h("div", { class: "container" }, h("tttx-toolbar_1_0_0", { border: true }, h("span", { slot: "before" }, h("tttx-sorter_1_0_0", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorteroptions, defaultOption: "Sort by" }), h("tttx-filter_1_0_0", { "filter-options": JSON.stringify(this.filteroptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterheader, "filter-key": "data-pattern-list" })), h("span", { slot: "after" }, h("tttx-standalone-input_1_0_0", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: "Search", type: "text", maxlength: 30 }))), h("tttx-toolbar_1_0_0", { border: false }, h("span", { slot: "before" }, h("tttx-button_1_0_0", { design: "primary", icon: "add" }, "Add"))), h("tttx-list_1_0_0", { data: this.data }))));
|
|
11
11
|
}
|
|
12
|
-
static get is() { return "tttx-data-
|
|
12
|
+
static get is() { return "tttx-data-pattern_1_0_0"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
14
14
|
static get originalStyleUrls() {
|
|
15
15
|
return {
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
},
|
|
9
9
|
};
|
|
10
10
|
const Default = ({ data, sorterOptions, filterOptions }) => `
|
|
11
|
-
<tttx-data-
|
|
11
|
+
<tttx-data-pattern_1_0_0 id="datapatternlist"></tttx-data-pattern_1_0_0>
|
|
12
12
|
<script>
|
|
13
13
|
const element = document.getElementById('datapatternlist');
|
|
14
14
|
element.data = ${JSON.stringify(data)};
|
|
@@ -19,10 +19,10 @@ const Default = ({ data, sorterOptions, filterOptions }) => `
|
|
|
19
19
|
export const WIPDefaultDataPattern = Default.bind({});
|
|
20
20
|
WIPDefaultDataPattern.args = {
|
|
21
21
|
data: [
|
|
22
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
23
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
24
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
25
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
22
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_0_0 icon="egg" /></span> Demulon 1,000,000' },
|
|
23
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_0_0 icon="egg" color="red" /></span> Patrick' },
|
|
24
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_0_0 icon="add" /></span> Lee' },
|
|
25
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_0_0 icon="egg" /></span> Ben' },
|
|
26
26
|
],
|
|
27
27
|
sorterOptions: {
|
|
28
28
|
sorterOptions: [{ optionLabel: 'Name' }, { optionLabel: 'Age' }],
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
/* tttx custom elements */
|
|
2
|
-
export { TttxButton as
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export { TttxDataPattern as
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export { TttxExpander as
|
|
11
|
-
export { TttxFilter as
|
|
12
|
-
export { TttxForm as
|
|
13
|
-
export { TttxIcon as
|
|
14
|
-
export { TttxKeyvalueBlock as
|
|
15
|
-
export { TttxList as
|
|
16
|
-
export { TttxLoadingSpinner as
|
|
17
|
-
export { TttxMultiselectBox as
|
|
18
|
-
export { TttxPercentageBar as
|
|
19
|
-
export { TttxQrCode as
|
|
20
|
-
export { TttxSelectBox as
|
|
21
|
-
export { TttxSorter as
|
|
22
|
-
export { TttxInput as
|
|
23
|
-
export { TttxTabs as
|
|
24
|
-
export { TttxTag as
|
|
25
|
-
export { TttxTextarea as
|
|
26
|
-
export { TttxToolbar as
|
|
27
|
-
export { TttxTreeView as
|
|
2
|
+
export { TttxButton as TttxButton_1_0_0 } from '../types/components/atoms/tttx-button/tttx-button';
|
|
3
|
+
export { TttxCheckboxGroupCaption as TttxCheckboxGroupCaption_1_0_0 } from '../types/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption';
|
|
4
|
+
export { TttxCheckboxGroupHeading as TttxCheckboxGroupHeading_1_0_0 } from '../types/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading';
|
|
5
|
+
export { TttxCheckboxGroup as TttxCheckboxGroup_1_0_0 } from '../types/components/molecules/tttx-checkbox-group/tttx-checkbox-group';
|
|
6
|
+
export { TttxCheckbox as TttxCheckbox_1_0_0 } from '../types/components/atoms/tttx-checkbox/tttx-checkbox';
|
|
7
|
+
export { TttxDataPattern as TttxDataPattern_1_0_0 } from '../types/components/organisms/tttx-data-pattern/tttx-data-pattern';
|
|
8
|
+
export { TttxDialogBox as TttxDialogBox_1_0_0 } from '../types/components/molecules/tttx-dialog-box/tttx-dialog-box';
|
|
9
|
+
export { TttxDialog as TttxDialog_1_0_0 } from '../types/components/molecules/tttx-dialog/tttx-dialog';
|
|
10
|
+
export { TttxExpander as TttxExpander_1_0_0 } from '../types/components/molecules/tttx-expander/tttx-expander';
|
|
11
|
+
export { TttxFilter as TttxFilter_1_0_0 } from '../types/components/molecules/tttx-filter/tttx-filter';
|
|
12
|
+
export { TttxForm as TttxForm_1_0_0 } from '../types/components/molecules/tttx-form/tttx-form';
|
|
13
|
+
export { TttxIcon as TttxIcon_1_0_0 } from '../types/components/atoms/tttx-icon/tttx-icon';
|
|
14
|
+
export { TttxKeyvalueBlock as TttxKeyvalueBlock_1_0_0 } from '../types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block';
|
|
15
|
+
export { TttxList as TttxList_1_0_0 } from '../types/components/molecules/tttx-list/tttx-list';
|
|
16
|
+
export { TttxLoadingSpinner as TttxLoadingSpinner_1_0_0 } from '../types/components/atoms/tttx-loading-spinner/tttx-loading-spinner';
|
|
17
|
+
export { TttxMultiselectBox as TttxMultiselectBox_1_0_0 } from '../types/components/molecules/tttx-multiselect-box/tttx-multiselect-box';
|
|
18
|
+
export { TttxPercentageBar as TttxPercentageBar_1_0_0 } from '../types/components/atoms/tttx-percentage-bar/tttx-percentage-bar';
|
|
19
|
+
export { TttxQrCode as TttxQrcode_1_0_0 } from '../types/components/atoms/tttx-qrcode/tttx-qrcode';
|
|
20
|
+
export { TttxSelectBox as TttxSelectBox_1_0_0 } from '../types/components/molecules/tttx-select-box/tttx-select-box';
|
|
21
|
+
export { TttxSorter as TttxSorter_1_0_0 } from '../types/components/molecules/tttx-sorter/tttx-sorter';
|
|
22
|
+
export { TttxInput as TttxStandaloneInput_1_0_0 } from '../types/components/molecules/tttx-standalone-input/tttx-standalone-input';
|
|
23
|
+
export { TttxTabs as TttxTabs_1_0_0 } from '../types/components/molecules/tttx-tabs/tttx-tabs';
|
|
24
|
+
export { TttxTag as TttxTag_1_0_0 } from '../types/components/atoms/tttx-tag/tttx-tag';
|
|
25
|
+
export { TttxTextarea as TttxTextarea_1_0_0 } from '../types/components/molecules/tttx-textarea/tttx-textarea';
|
|
26
|
+
export { TttxToolbar as TttxToolbar_1_0_0 } from '../types/components/molecules/tttx-toolbar/tttx-toolbar';
|
|
27
|
+
export { TttxTreeView as TttxTreeView_1_0_0 } from '../types/components/molecules/tttx-tree-view/tttx-tree-view';
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Used to manually set the base path where assets can be found.
|
package/dist/components/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
export { setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
2
|
+
export { TttxButton_1_0_0, defineCustomElement as defineCustomElementTttxButton_1_0_0 } from './tttx-button_1_0_0.js';
|
|
3
|
+
export { TttxCheckboxGroupCaption_1_0_0, defineCustomElement as defineCustomElementTttxCheckboxGroupCaption_1_0_0 } from './tttx-checkbox-group-caption_1_0_0.js';
|
|
4
|
+
export { TttxCheckboxGroupHeading_1_0_0, defineCustomElement as defineCustomElementTttxCheckboxGroupHeading_1_0_0 } from './tttx-checkbox-group-heading_1_0_0.js';
|
|
5
|
+
export { TttxCheckboxGroup_1_0_0, defineCustomElement as defineCustomElementTttxCheckboxGroup_1_0_0 } from './tttx-checkbox-group_1_0_0.js';
|
|
6
|
+
export { TttxCheckbox_1_0_0, defineCustomElement as defineCustomElementTttxCheckbox_1_0_0 } from './tttx-checkbox_1_0_0.js';
|
|
7
|
+
export { TttxDataPattern_1_0_0, defineCustomElement as defineCustomElementTttxDataPattern_1_0_0 } from './tttx-data-pattern_1_0_0.js';
|
|
8
|
+
export { TttxDialogBox_1_0_0, defineCustomElement as defineCustomElementTttxDialogBox_1_0_0 } from './tttx-dialog-box_1_0_0.js';
|
|
9
|
+
export { TttxDialog_1_0_0, defineCustomElement as defineCustomElementTttxDialog_1_0_0 } from './tttx-dialog_1_0_0.js';
|
|
10
|
+
export { TttxExpander_1_0_0, defineCustomElement as defineCustomElementTttxExpander_1_0_0 } from './tttx-expander_1_0_0.js';
|
|
11
|
+
export { TttxFilter_1_0_0, defineCustomElement as defineCustomElementTttxFilter_1_0_0 } from './tttx-filter_1_0_0.js';
|
|
12
|
+
export { TttxForm_1_0_0, defineCustomElement as defineCustomElementTttxForm_1_0_0 } from './tttx-form_1_0_0.js';
|
|
13
|
+
export { TttxIcon_1_0_0, defineCustomElement as defineCustomElementTttxIcon_1_0_0 } from './tttx-icon_1_0_0.js';
|
|
14
|
+
export { TttxKeyvalueBlock_1_0_0, defineCustomElement as defineCustomElementTttxKeyvalueBlock_1_0_0 } from './tttx-keyvalue-block_1_0_0.js';
|
|
15
|
+
export { TttxList_1_0_0, defineCustomElement as defineCustomElementTttxList_1_0_0 } from './tttx-list_1_0_0.js';
|
|
16
|
+
export { TttxLoadingSpinner_1_0_0, defineCustomElement as defineCustomElementTttxLoadingSpinner_1_0_0 } from './tttx-loading-spinner_1_0_0.js';
|
|
17
|
+
export { TttxMultiselectBox_1_0_0, defineCustomElement as defineCustomElementTttxMultiselectBox_1_0_0 } from './tttx-multiselect-box_1_0_0.js';
|
|
18
|
+
export { TttxPercentageBar_1_0_0, defineCustomElement as defineCustomElementTttxPercentageBar_1_0_0 } from './tttx-percentage-bar_1_0_0.js';
|
|
19
|
+
export { TttxQrcode_1_0_0, defineCustomElement as defineCustomElementTttxQrcode_1_0_0 } from './tttx-qrcode_1_0_0.js';
|
|
20
|
+
export { TttxSelectBox_1_0_0, defineCustomElement as defineCustomElementTttxSelectBox_1_0_0 } from './tttx-select-box_1_0_0.js';
|
|
21
|
+
export { TttxSorter_1_0_0, defineCustomElement as defineCustomElementTttxSorter_1_0_0 } from './tttx-sorter_1_0_0.js';
|
|
22
|
+
export { TttxStandaloneInput_1_0_0, defineCustomElement as defineCustomElementTttxStandaloneInput_1_0_0 } from './tttx-standalone-input_1_0_0.js';
|
|
23
|
+
export { TttxTabs_1_0_0, defineCustomElement as defineCustomElementTttxTabs_1_0_0 } from './tttx-tabs_1_0_0.js';
|
|
24
|
+
export { TttxTag_1_0_0, defineCustomElement as defineCustomElementTttxTag_1_0_0 } from './tttx-tag_1_0_0.js';
|
|
25
|
+
export { TttxTextarea_1_0_0, defineCustomElement as defineCustomElementTttxTextarea_1_0_0 } from './tttx-textarea_1_0_0.js';
|
|
26
|
+
export { TttxToolbar_1_0_0, defineCustomElement as defineCustomElementTttxToolbar_1_0_0 } from './tttx-toolbar_1_0_0.js';
|
|
27
|
+
export { TttxTreeView_1_0_0, defineCustomElement as defineCustomElementTttxTreeView_1_0_0 } from './tttx-tree-view_1_0_0.js';
|
|
@@ -1,6 +1,59 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$1 } from './tttx-icon.js';
|
|
2
3
|
|
|
3
|
-
const
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
4
|
+
const tttxButtonCss = ".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}tttx-icon{cursor:inherit}.spacingleft{margin-left:8px}";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
const TttxButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.__attachShadow();
|
|
11
|
+
this._iconcolor = 'black';
|
|
12
|
+
this.notext = undefined;
|
|
13
|
+
this.icon = undefined;
|
|
14
|
+
this.iconposition = 'left';
|
|
15
|
+
this.iconcolor = 'black';
|
|
16
|
+
this.design = 'default';
|
|
17
|
+
}
|
|
18
|
+
componentWillLoad() {
|
|
19
|
+
this._design = this.design;
|
|
20
|
+
const designs = ['primary', 'default', 'disabled', 'danger', 'borderless', 'borderless-circle'];
|
|
21
|
+
if (!designs.includes(this.design)) {
|
|
22
|
+
this._design = 'default';
|
|
23
|
+
}
|
|
24
|
+
if (this._design === 'primary' || this._design === 'danger') {
|
|
25
|
+
this.iconcolor = 'white';
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
this._iconcolor = this.iconcolor;
|
|
30
|
+
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_0_0", { 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_0_0", { icon: this.icon, color: this._iconcolor }))))));
|
|
31
|
+
}
|
|
32
|
+
static get style() { return tttxButtonCss; }
|
|
33
|
+
}, [1, "tttx-button_1_0_0", {
|
|
34
|
+
"notext": [4],
|
|
35
|
+
"icon": [1],
|
|
36
|
+
"iconposition": [1],
|
|
37
|
+
"iconcolor": [1025],
|
|
38
|
+
"design": [1]
|
|
39
|
+
}]);
|
|
40
|
+
function defineCustomElement() {
|
|
41
|
+
if (typeof customElements === "undefined") {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
const components = ["tttx-button_1_0_0", "tttx-icon_1_0_0"];
|
|
45
|
+
components.forEach(tagName => { switch (tagName) {
|
|
46
|
+
case "tttx-button_1_0_0":
|
|
47
|
+
if (!customElements.get(tagName)) {
|
|
48
|
+
customElements.define(tagName, TttxButton);
|
|
49
|
+
}
|
|
50
|
+
break;
|
|
51
|
+
case "tttx-icon_1_0_0":
|
|
52
|
+
if (!customElements.get(tagName)) {
|
|
53
|
+
defineCustomElement$1();
|
|
54
|
+
}
|
|
55
|
+
break;
|
|
56
|
+
} });
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export { TttxButton as T, defineCustomElement as d };
|
|
@@ -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 TttxButton_1_0_0 extends Components.TttxButton_1_0_0, HTMLElement {}
|
|
4
|
+
export const TttxButton_1_0_0: {
|
|
5
|
+
prototype: TttxButton_1_0_0;
|
|
6
|
+
new (): TttxButton_1_0_0;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxCheckboxGroupCaption_1_0_0 extends Components.TttxCheckboxGroupCaption_1_0_0, HTMLElement {}
|
|
4
|
+
export const TttxCheckboxGroupCaption_1_0_0: {
|
|
5
|
+
prototype: TttxCheckboxGroupCaption_1_0_0;
|
|
6
|
+
new (): TttxCheckboxGroupCaption_1_0_0;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
|
|
|
2
2
|
|
|
3
3
|
const tttxCheckboxGroupCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:\"Roboto\", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}";
|
|
4
4
|
|
|
5
|
-
const TttxCheckboxGroupCaption
|
|
5
|
+
const TttxCheckboxGroupCaption = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
@@ -11,22 +11,22 @@ const TttxCheckboxGroupCaption$1 = /*@__PURE__*/ proxyCustomElement(class extend
|
|
|
11
11
|
return (h(Host, null, h("div", { class: 'tttx-checkbox-group__caption' }, h("slot", null))));
|
|
12
12
|
}
|
|
13
13
|
static get style() { return tttxCheckboxGroupCss; }
|
|
14
|
-
}, [4, "tttx-checkbox-group-
|
|
14
|
+
}, [4, "tttx-checkbox-group-caption_1_0_0"]);
|
|
15
15
|
function defineCustomElement$1() {
|
|
16
16
|
if (typeof customElements === "undefined") {
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
|
-
const components = ["tttx-checkbox-group-
|
|
19
|
+
const components = ["tttx-checkbox-group-caption_1_0_0"];
|
|
20
20
|
components.forEach(tagName => { switch (tagName) {
|
|
21
|
-
case "tttx-checkbox-group-
|
|
21
|
+
case "tttx-checkbox-group-caption_1_0_0":
|
|
22
22
|
if (!customElements.get(tagName)) {
|
|
23
|
-
customElements.define(tagName, TttxCheckboxGroupCaption
|
|
23
|
+
customElements.define(tagName, TttxCheckboxGroupCaption);
|
|
24
24
|
}
|
|
25
25
|
break;
|
|
26
26
|
} });
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
const
|
|
29
|
+
const TttxCheckboxGroupCaption_1_0_0 = TttxCheckboxGroupCaption;
|
|
30
30
|
const defineCustomElement = defineCustomElement$1;
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { TttxCheckboxGroupCaption_1_0_0, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxCheckboxGroupHeading_1_0_0 extends Components.TttxCheckboxGroupHeading_1_0_0, HTMLElement {}
|
|
4
|
+
export const TttxCheckboxGroupHeading_1_0_0: {
|
|
5
|
+
prototype: TttxCheckboxGroupHeading_1_0_0;
|
|
6
|
+
new (): TttxCheckboxGroupHeading_1_0_0;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
|
|
|
2
2
|
|
|
3
3
|
const tttxCheckboxGroupCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:\"Roboto\", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}";
|
|
4
4
|
|
|
5
|
-
const TttxCheckboxGroupHeading
|
|
5
|
+
const TttxCheckboxGroupHeading = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
@@ -11,22 +11,22 @@ const TttxCheckboxGroupHeading$1 = /*@__PURE__*/ proxyCustomElement(class extend
|
|
|
11
11
|
return (h(Host, null, h("div", { class: 'tttx-checkbox-group__heading' }, h("slot", null))));
|
|
12
12
|
}
|
|
13
13
|
static get style() { return tttxCheckboxGroupCss; }
|
|
14
|
-
}, [4, "tttx-checkbox-group-
|
|
14
|
+
}, [4, "tttx-checkbox-group-heading_1_0_0"]);
|
|
15
15
|
function defineCustomElement$1() {
|
|
16
16
|
if (typeof customElements === "undefined") {
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
|
-
const components = ["tttx-checkbox-group-
|
|
19
|
+
const components = ["tttx-checkbox-group-heading_1_0_0"];
|
|
20
20
|
components.forEach(tagName => { switch (tagName) {
|
|
21
|
-
case "tttx-checkbox-group-
|
|
21
|
+
case "tttx-checkbox-group-heading_1_0_0":
|
|
22
22
|
if (!customElements.get(tagName)) {
|
|
23
|
-
customElements.define(tagName, TttxCheckboxGroupHeading
|
|
23
|
+
customElements.define(tagName, TttxCheckboxGroupHeading);
|
|
24
24
|
}
|
|
25
25
|
break;
|
|
26
26
|
} });
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
const
|
|
29
|
+
const TttxCheckboxGroupHeading_1_0_0 = TttxCheckboxGroupHeading;
|
|
30
30
|
const defineCustomElement = defineCustomElement$1;
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { TttxCheckboxGroupHeading_1_0_0, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxCheckboxGroup_1_0_0 extends Components.TttxCheckboxGroup_1_0_0, HTMLElement {}
|
|
4
|
+
export const TttxCheckboxGroup_1_0_0: {
|
|
5
|
+
prototype: TttxCheckboxGroup_1_0_0;
|
|
6
|
+
new (): TttxCheckboxGroup_1_0_0;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
|
|
|
2
2
|
|
|
3
3
|
const tttxCheckboxGroupCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:\"Roboto\", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}";
|
|
4
4
|
|
|
5
|
-
const TttxCheckboxGroup
|
|
5
|
+
const TttxCheckboxGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
@@ -12,22 +12,22 @@ const TttxCheckboxGroup$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
12
12
|
return (h(Host, null, h("div", { class: 'tttx-checkbox-group' }, h("slot", null))));
|
|
13
13
|
}
|
|
14
14
|
static get style() { return tttxCheckboxGroupCss; }
|
|
15
|
-
}, [1, "tttx-checkbox-
|
|
15
|
+
}, [1, "tttx-checkbox-group_1_0_0"]);
|
|
16
16
|
function defineCustomElement$1() {
|
|
17
17
|
if (typeof customElements === "undefined") {
|
|
18
18
|
return;
|
|
19
19
|
}
|
|
20
|
-
const components = ["tttx-checkbox-
|
|
20
|
+
const components = ["tttx-checkbox-group_1_0_0"];
|
|
21
21
|
components.forEach(tagName => { switch (tagName) {
|
|
22
|
-
case "tttx-checkbox-
|
|
22
|
+
case "tttx-checkbox-group_1_0_0":
|
|
23
23
|
if (!customElements.get(tagName)) {
|
|
24
|
-
customElements.define(tagName, TttxCheckboxGroup
|
|
24
|
+
customElements.define(tagName, TttxCheckboxGroup);
|
|
25
25
|
}
|
|
26
26
|
break;
|
|
27
27
|
} });
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
const
|
|
30
|
+
const TttxCheckboxGroup_1_0_0 = TttxCheckboxGroup;
|
|
31
31
|
const defineCustomElement = defineCustomElement$1;
|
|
32
32
|
|
|
33
|
-
export {
|
|
33
|
+
export { TttxCheckboxGroup_1_0_0, 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 TttxCheckbox_1_0_0 extends Components.TttxCheckbox_1_0_0, HTMLElement {}
|
|
4
|
+
export const TttxCheckbox_1_0_0: {
|
|
5
|
+
prototype: TttxCheckbox_1_0_0;
|
|
6
|
+
new (): TttxCheckbox_1_0_0;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$2 } from './tttx-
|
|
2
|
+
import { d as defineCustomElement$2 } from './tttx-icon.js';
|
|
3
3
|
|
|
4
4
|
const tttxCheckboxCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox{padding:8px;display:flex;justify-content:flex-start;font-size:16px;align-items:center;font-weight:normal;line-height:18.752px}.tttx-checkbox tttx-icon{height:24px}.tttx-checkbox.--inline{display:inline-flex}.tttx-checkbox__input{display:none}.tttx-checkbox__label{margin-left:8px;padding-right:0;color:#212121;font-weight:normal}";
|
|
5
5
|
|
|
6
|
-
const TttxCheckbox
|
|
6
|
+
const TttxCheckbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
8
8
|
super();
|
|
9
9
|
this.__registerHost();
|
|
@@ -30,13 +30,13 @@ const TttxCheckbox$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
30
30
|
render() {
|
|
31
31
|
const checkBoxIcon = this.checked ? 'check_box' : 'check_box_outline_blank';
|
|
32
32
|
const renderedIcon = this.indeterminate ? 'indeterminate_check_box' : checkBoxIcon;
|
|
33
|
-
return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-
|
|
33
|
+
return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-icon_1_0_0", { color: this.checked ? 'blue' : 'grey', icon: renderedIcon, onClick: this.onClick.bind(this) }), h("span", { class: "tttx-checkbox__label" }, this.label))));
|
|
34
34
|
}
|
|
35
35
|
static get watchers() { return {
|
|
36
36
|
"indeterminate": ["watchIndeterminateChange"]
|
|
37
37
|
}; }
|
|
38
38
|
static get style() { return tttxCheckboxCss; }
|
|
39
|
-
}, [0, "tttx-
|
|
39
|
+
}, [0, "tttx-checkbox_1_0_0", {
|
|
40
40
|
"checkboxId": [1, "checkbox-id"],
|
|
41
41
|
"label": [1],
|
|
42
42
|
"inline": [4],
|
|
@@ -47,14 +47,14 @@ function defineCustomElement$1() {
|
|
|
47
47
|
if (typeof customElements === "undefined") {
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
|
-
const components = ["tttx-
|
|
50
|
+
const components = ["tttx-checkbox_1_0_0", "tttx-icon_1_0_0"];
|
|
51
51
|
components.forEach(tagName => { switch (tagName) {
|
|
52
|
-
case "tttx-
|
|
52
|
+
case "tttx-checkbox_1_0_0":
|
|
53
53
|
if (!customElements.get(tagName)) {
|
|
54
|
-
customElements.define(tagName, TttxCheckbox
|
|
54
|
+
customElements.define(tagName, TttxCheckbox);
|
|
55
55
|
}
|
|
56
56
|
break;
|
|
57
|
-
case "tttx-
|
|
57
|
+
case "tttx-icon_1_0_0":
|
|
58
58
|
if (!customElements.get(tagName)) {
|
|
59
59
|
defineCustomElement$2();
|
|
60
60
|
}
|
|
@@ -62,7 +62,7 @@ function defineCustomElement$1() {
|
|
|
62
62
|
} });
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
const
|
|
65
|
+
const TttxCheckbox_1_0_0 = TttxCheckbox;
|
|
66
66
|
const defineCustomElement = defineCustomElement$1;
|
|
67
67
|
|
|
68
|
-
export {
|
|
68
|
+
export { TttxCheckbox_1_0_0, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxDataPattern_1_0_0 extends Components.TttxDataPattern_1_0_0, HTMLElement {}
|
|
4
|
+
export const TttxDataPattern_1_0_0: {
|
|
5
|
+
prototype: TttxDataPattern_1_0_0;
|
|
6
|
+
new (): TttxDataPattern_1_0_0;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|