xv-webcomponents 0.1.37 → 0.1.39
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/app-globals-V2Kpy_OQ.js +8 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
- package/dist/cjs/{utils-22c0eda0.js → index-BE3kw7I4.js} +2 -1
- package/dist/cjs/index-BE3kw7I4.js.map +1 -0
- package/dist/cjs/{index-2705073a.js → index-D41mMXvd.js} +35 -38
- package/dist/cjs/index-D41mMXvd.js.map +1 -0
- package/dist/cjs/index.cjs.js +3 -4
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +4 -5
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/{xv-accordion-v2_26.cjs.entry.js → xv-accordion-v2_27.cjs.entry.js} +167 -103
- package/dist/cjs/xv-accordion-v2_27.cjs.entry.js.map +1 -0
- package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js +3 -5
- package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js.map +1 -1
- package/dist/cjs/xv-breadcrumbs-v2.entry.cjs.js.map +1 -0
- package/dist/cjs/xv-webcomponents.cjs.js +8 -7
- package/dist/cjs/xv-webcomponents.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/xv-accordion/xv-accordion.js +3 -3
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.js +3 -3
- package/dist/collection/components/xv-button/xv-button.js +5 -5
- package/dist/collection/components/xv-card/xv-card.js +5 -5
- package/dist/collection/components/xv-checkbox/xv-checkbox.js +11 -11
- package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +3 -3
- package/dist/collection/components/xv-dropdown/xv-dropdown.js +12 -12
- package/dist/collection/components/xv-header/xv-header.js +10 -2
- package/dist/collection/components/xv-header/xv-header.js.map +1 -1
- package/dist/collection/components/xv-link/xv-link.js +6 -6
- package/dist/collection/components/xv-loader/xv-loader.js +3 -3
- package/dist/collection/components/xv-login-modal/xv-login-modal.css +22575 -0
- package/dist/collection/components/xv-login-modal/xv-login-modal.js +146 -0
- package/dist/collection/components/xv-login-modal/xv-login-modal.js.map +1 -0
- package/dist/collection/components/xv-modal/xv-modal.js +5 -5
- package/dist/collection/components/xv-notification/xv-notification.js +3 -3
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js +4 -4
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +5 -5
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +2 -2
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +4 -4
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +5 -5
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +3 -3
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +11 -11
- package/dist/collection/components/xv-table/xv-table.js +5 -4
- package/dist/collection/components/xv-table/xv-table.js.map +1 -1
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +5 -5
- package/dist/collection/components/xv-tabs/xv-tabs.js +4 -4
- package/dist/collection/components/xv-tag/xv-tag.js +6 -6
- package/dist/collection/components/xv-text-input/xv-text-input.js +11 -11
- package/dist/collection/components/xv-tooltip/xv-tooltip.js +4 -4
- package/dist/esm/app-globals-DQuL1Twl.js +6 -0
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/esm/{index-a650cb06.js → index-Datpns0U.js} +33 -16
- package/dist/esm/index-Datpns0U.js.map +1 -0
- package/dist/esm/{utils-a9c71376.js → index-NvoCloOY.js} +3 -2
- package/dist/esm/index-NvoCloOY.js.map +1 -0
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +5 -4
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/{xv-accordion-v2_26.entry.js → xv-accordion-v2_27.entry.js} +156 -91
- package/dist/esm/xv-accordion-v2_27.entry.js.map +1 -0
- package/dist/esm/xv-breadcrumbs-v2.entry.js +3 -3
- package/dist/esm/xv-breadcrumbs-v2.entry.js.map +1 -1
- package/dist/esm/xv-webcomponents.js +7 -5
- package/dist/esm/xv-webcomponents.js.map +1 -1
- package/dist/types/components/xv-header/xv-header.d.ts +3 -0
- package/dist/types/components/xv-login-modal/xv-login-modal.d.ts +29 -0
- package/dist/types/components.d.ts +31 -24
- package/dist/types/stencil-public-runtime.d.ts +22 -0
- package/dist/xv-webcomponents/index.esm.js +1 -1
- package/dist/xv-webcomponents/index.esm.js.map +1 -1
- package/dist/xv-webcomponents/loader.esm.js.map +1 -0
- package/dist/xv-webcomponents/p-054f5d59.entry.js +2 -0
- package/dist/xv-webcomponents/p-054f5d59.entry.js.map +1 -0
- package/dist/xv-webcomponents/p-6a4cc790.entry.js +2 -0
- package/dist/xv-webcomponents/p-6a4cc790.entry.js.map +1 -0
- package/dist/xv-webcomponents/p-DQuL1Twl.js +2 -0
- package/dist/xv-webcomponents/p-DQuL1Twl.js.map +1 -0
- package/dist/xv-webcomponents/p-Datpns0U.js +3 -0
- package/dist/xv-webcomponents/p-Datpns0U.js.map +1 -0
- package/dist/xv-webcomponents/{p-f98a1845.js → p-NvoCloOY.js} +2 -2
- package/dist/xv-webcomponents/p-NvoCloOY.js.map +1 -0
- package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.esm.js.map +1 -0
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
- package/dist/xv-webcomponents/xv-webcomponents.esm.js.map +1 -1
- package/package.json +2 -2
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/index-2705073a.js.map +0 -1
- package/dist/cjs/utils-22c0eda0.js.map +0 -1
- package/dist/cjs/xv-accordion-v2_26.cjs.entry.js.map +0 -1
- package/dist/esm/app-globals-0f993ce5.js +0 -5
- package/dist/esm/app-globals-0f993ce5.js.map +0 -1
- package/dist/esm/index-a650cb06.js.map +0 -1
- package/dist/esm/utils-a9c71376.js.map +0 -1
- package/dist/esm/xv-accordion-v2_26.entry.js.map +0 -1
- package/dist/xv-webcomponents/p-0658a38e.entry.js +0 -2
- package/dist/xv-webcomponents/p-0658a38e.entry.js.map +0 -1
- package/dist/xv-webcomponents/p-497959a9.js +0 -3
- package/dist/xv-webcomponents/p-497959a9.js.map +0 -1
- package/dist/xv-webcomponents/p-e1255160.js +0 -2
- package/dist/xv-webcomponents/p-e1255160.js.map +0 -1
- package/dist/xv-webcomponents/p-ea853c5c.entry.js +0 -2
- package/dist/xv-webcomponents/p-ea853c5c.entry.js.map +0 -1
- package/dist/xv-webcomponents/p-f98a1845.js.map +0 -1
- package/loader/package.json +0 -11
|
@@ -42,7 +42,7 @@ export class XvTableRow {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '0fa754f2982bb475a1354cf8c7653cdbc9b710bc' }, this.variant !== undefined && (h("xv-table-v2-cell", { key: '344b3acf23c6e96e7c2422bc87ba47ddc468fe32', class: "cell-control" }, this.variant === 'checkbox' && (h("xv-checkbox-v2", { key: '718a01dddcd1d5f3c354a26f8c4d7d0920048be1', name: this.name, partial: this.partial, checked: this.checked || this.partial, disabled: this.disabled, required: this.required, readonly: this.readonly, onEventChange: this.checkHandle })), this.variant === 'radio' && (h("input", { key: '8c49a2babdf5388004b1ab3cb1639206687f7535', type: "radio", name: this.name, checked: this.checked || this.partial, disabled: this.disabled, required: this.required, readonly: this.readonly })))), h("slot", { key: '565e6e933a38fd71ccd49f28772014ca3cb06398' })));
|
|
46
46
|
}
|
|
47
47
|
componentWillLoad() {
|
|
48
48
|
this.setInitialAttrs();
|
|
@@ -63,6 +63,7 @@ export class XvTableRow {
|
|
|
63
63
|
return {
|
|
64
64
|
"checked": {
|
|
65
65
|
"type": "boolean",
|
|
66
|
+
"attribute": "checked",
|
|
66
67
|
"mutable": true,
|
|
67
68
|
"complexType": {
|
|
68
69
|
"original": "SelectRowDto['checked']",
|
|
@@ -83,11 +84,11 @@ export class XvTableRow {
|
|
|
83
84
|
},
|
|
84
85
|
"getter": false,
|
|
85
86
|
"setter": false,
|
|
86
|
-
"attribute": "checked",
|
|
87
87
|
"reflect": true
|
|
88
88
|
},
|
|
89
89
|
"partial": {
|
|
90
90
|
"type": "boolean",
|
|
91
|
+
"attribute": "partial",
|
|
91
92
|
"mutable": true,
|
|
92
93
|
"complexType": {
|
|
93
94
|
"original": "SelectRowDto['partial']",
|
|
@@ -108,11 +109,11 @@ export class XvTableRow {
|
|
|
108
109
|
},
|
|
109
110
|
"getter": false,
|
|
110
111
|
"setter": false,
|
|
111
|
-
"attribute": "partial",
|
|
112
112
|
"reflect": true
|
|
113
113
|
},
|
|
114
114
|
"name": {
|
|
115
115
|
"type": "string",
|
|
116
|
+
"attribute": "name",
|
|
116
117
|
"mutable": true,
|
|
117
118
|
"complexType": {
|
|
118
119
|
"original": "SelectRowDto['name']",
|
|
@@ -133,11 +134,11 @@ export class XvTableRow {
|
|
|
133
134
|
},
|
|
134
135
|
"getter": false,
|
|
135
136
|
"setter": false,
|
|
136
|
-
"attribute": "name",
|
|
137
137
|
"reflect": true
|
|
138
138
|
},
|
|
139
139
|
"value": {
|
|
140
140
|
"type": "any",
|
|
141
|
+
"attribute": "value",
|
|
141
142
|
"mutable": false,
|
|
142
143
|
"complexType": {
|
|
143
144
|
"original": "SelectRowDto['value']",
|
|
@@ -158,11 +159,11 @@ export class XvTableRow {
|
|
|
158
159
|
},
|
|
159
160
|
"getter": false,
|
|
160
161
|
"setter": false,
|
|
161
|
-
"attribute": "value",
|
|
162
162
|
"reflect": true
|
|
163
163
|
},
|
|
164
164
|
"hover": {
|
|
165
165
|
"type": "boolean",
|
|
166
|
+
"attribute": "hover",
|
|
166
167
|
"mutable": true,
|
|
167
168
|
"complexType": {
|
|
168
169
|
"original": "boolean",
|
|
@@ -177,11 +178,11 @@ export class XvTableRow {
|
|
|
177
178
|
},
|
|
178
179
|
"getter": false,
|
|
179
180
|
"setter": false,
|
|
180
|
-
"attribute": "hover",
|
|
181
181
|
"reflect": true
|
|
182
182
|
},
|
|
183
183
|
"readonly": {
|
|
184
184
|
"type": "boolean",
|
|
185
|
+
"attribute": "readonly",
|
|
185
186
|
"mutable": false,
|
|
186
187
|
"complexType": {
|
|
187
188
|
"original": "boolean",
|
|
@@ -196,11 +197,11 @@ export class XvTableRow {
|
|
|
196
197
|
},
|
|
197
198
|
"getter": false,
|
|
198
199
|
"setter": false,
|
|
199
|
-
"attribute": "readonly",
|
|
200
200
|
"reflect": true
|
|
201
201
|
},
|
|
202
202
|
"required": {
|
|
203
203
|
"type": "boolean",
|
|
204
|
+
"attribute": "required",
|
|
204
205
|
"mutable": false,
|
|
205
206
|
"complexType": {
|
|
206
207
|
"original": "boolean",
|
|
@@ -215,11 +216,11 @@ export class XvTableRow {
|
|
|
215
216
|
},
|
|
216
217
|
"getter": false,
|
|
217
218
|
"setter": false,
|
|
218
|
-
"attribute": "required",
|
|
219
219
|
"reflect": true
|
|
220
220
|
},
|
|
221
221
|
"disabled": {
|
|
222
222
|
"type": "boolean",
|
|
223
|
+
"attribute": "disabled",
|
|
223
224
|
"mutable": false,
|
|
224
225
|
"complexType": {
|
|
225
226
|
"original": "boolean",
|
|
@@ -234,11 +235,11 @@ export class XvTableRow {
|
|
|
234
235
|
},
|
|
235
236
|
"getter": false,
|
|
236
237
|
"setter": false,
|
|
237
|
-
"attribute": "disabled",
|
|
238
238
|
"reflect": true
|
|
239
239
|
},
|
|
240
240
|
"header": {
|
|
241
241
|
"type": "boolean",
|
|
242
|
+
"attribute": "header",
|
|
242
243
|
"mutable": false,
|
|
243
244
|
"complexType": {
|
|
244
245
|
"original": "boolean",
|
|
@@ -253,11 +254,11 @@ export class XvTableRow {
|
|
|
253
254
|
},
|
|
254
255
|
"getter": false,
|
|
255
256
|
"setter": false,
|
|
256
|
-
"attribute": "header",
|
|
257
257
|
"reflect": true
|
|
258
258
|
},
|
|
259
259
|
"variant": {
|
|
260
260
|
"type": "string",
|
|
261
|
+
"attribute": "variant",
|
|
261
262
|
"mutable": true,
|
|
262
263
|
"complexType": {
|
|
263
264
|
"original": "'checkbox' | 'radio' | ''",
|
|
@@ -272,7 +273,6 @@ export class XvTableRow {
|
|
|
272
273
|
},
|
|
273
274
|
"getter": false,
|
|
274
275
|
"setter": false,
|
|
275
|
-
"attribute": "variant",
|
|
276
276
|
"reflect": true
|
|
277
277
|
}
|
|
278
278
|
};
|
|
@@ -31,7 +31,7 @@ export class XvTable {
|
|
|
31
31
|
.join(' ') + ' repeat(auto-fit, minmax(0, 1fr))');
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '4894a985912a52eb0173566d6c2daff7dfc39035', class: { batchVisible: !!this.selectedCount } }, h("slot", { key: 'c370d3fd370a78528ff5e540fb59239c6b416bd9', name: "title" }, !!this.el.title && h("h2", { key: 'aefcffd432a2c24c6f84924d03fad5f0498d4b10', class: "xv-table-title" }, this.el.title)), h("slot", { key: '227b2ace04ed35ce3cff88c34d99054d8c552bc3', name: "toolbar" }), h("div", { key: '810934177b689d49dc1402aac97502081982744b', class: "xv-table" }, h("div", { key: 'db7c19f33120457dbd53a491579379741187652f', class: "batch-actions" }, h(Fragment, { key: 'b9c688ccda045afc1fd46ebed503d96f3096f788' }, h("div", { key: '628767d1a33fa98195056441e871a4beccb5b1ec', class: "batch-actions_content" }, h("slot", { key: 'b73f2d55c5c65daaabce1a89eb61ed328445c804', name: "batch" })), h("p", { key: '162fa01f1027c4c0df8a784995b50a085f44e98b', class: "batch-actions_count" }, !!this.selectedCount && `${this.selectedCount} ${this.selectedCount === 1 ? 'Position ausgewählt' : 'Positionen ausgewählt'}`))), h("div", { key: '68b9c4807c9e6dd297bc74867f3230154493d5e6', class: "xv-table_wrapper" }, h("slot", { key: 'fd28df98e8497825d4f4ecfb3e292c724952ae83' }), h("slot", { key: 'f1604b484a87f35fffa11fc55eb05ff52d3d55ac', name: "footer" })), !!this.loading && (h("div", { key: '6e7cae29ba018e5af760cdcb9a9387e5e33369ae', class: "xv-table_loading" }, h("xv-loader-v2", { key: '72f23f7b4de8edeae93565bccceeca9e78a071d4', size: SIZE_VAR.LG }))))));
|
|
35
35
|
}
|
|
36
36
|
componentWillLoad() {
|
|
37
37
|
this.setColsSizeTemplate();
|
|
@@ -52,6 +52,7 @@ export class XvTable {
|
|
|
52
52
|
return {
|
|
53
53
|
"size": {
|
|
54
54
|
"type": "string",
|
|
55
|
+
"attribute": "size",
|
|
55
56
|
"mutable": false,
|
|
56
57
|
"complexType": {
|
|
57
58
|
"original": "SIZE_VAR",
|
|
@@ -72,11 +73,11 @@ export class XvTable {
|
|
|
72
73
|
},
|
|
73
74
|
"getter": false,
|
|
74
75
|
"setter": false,
|
|
75
|
-
"attribute": "size",
|
|
76
76
|
"reflect": true
|
|
77
77
|
},
|
|
78
78
|
"hover": {
|
|
79
79
|
"type": "boolean",
|
|
80
|
+
"attribute": "hover",
|
|
80
81
|
"mutable": false,
|
|
81
82
|
"complexType": {
|
|
82
83
|
"original": "boolean",
|
|
@@ -91,11 +92,11 @@ export class XvTable {
|
|
|
91
92
|
},
|
|
92
93
|
"getter": false,
|
|
93
94
|
"setter": false,
|
|
94
|
-
"attribute": "hover",
|
|
95
95
|
"reflect": true
|
|
96
96
|
},
|
|
97
97
|
"loading": {
|
|
98
98
|
"type": "boolean",
|
|
99
|
+
"attribute": "loading",
|
|
99
100
|
"mutable": false,
|
|
100
101
|
"complexType": {
|
|
101
102
|
"original": "boolean",
|
|
@@ -110,11 +111,11 @@ export class XvTable {
|
|
|
110
111
|
},
|
|
111
112
|
"getter": false,
|
|
112
113
|
"setter": false,
|
|
113
|
-
"attribute": "loading",
|
|
114
114
|
"reflect": true
|
|
115
115
|
},
|
|
116
116
|
"colsSize": {
|
|
117
117
|
"type": "unknown",
|
|
118
|
+
"attribute": "colssize",
|
|
118
119
|
"mutable": false,
|
|
119
120
|
"complexType": {
|
|
120
121
|
"original": "(string | null)[]",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xv-table.js","sourceRoot":"","sources":["../../../src/components/xv-table/xv-table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAClG,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAQ5C,MAAM,OAAO,OAAO;IALpB;QAWW,aAAQ,GAA8B,IAAI,GAAG,EAAE,CAAC;QAChD,kBAAa,GAAW,CAAC,CAAC;KAsEpC;IAnEC,mBAAmB,CAAC,EAAE,MAAM,EAA6B;QACvD,IAAI,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,UAAU;YAAE,OAAO;QAC/C,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;YACnB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACzC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;QAED,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;IAC1C,CAAC;IAGO,mBAAmB;;QACzB,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,MAAM,CAAA;YAAE,OAAO;QAErD,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CACvB,0BAA0B,EAC1B,IAAI,CAAC,QAAQ;aACV,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;YAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Element, Prop, State, Listen, Fragment, Watch } from '@stencil/core';\nimport { SIZE_VAR } from '../../types/enum';\nimport { SelectRowDto } from './_vars';\n\n@Component({\n tag: 'xv-table-v2',\n styleUrl: 'xv-table.scss',\n shadow: true,\n})\nexport class XvTable {\n @Element() el: HTMLElement;\n @Prop({ reflect: true }) size?: SIZE_VAR;\n @Prop({ reflect: true }) hover?: boolean;\n @Prop({ reflect: true }) loading?: boolean;\n @Prop({ reflect: true, attribute: 'colsSize' }) colsSize?: (string | null)[];\n @State() selected: Map<string, SelectRowDto> = new Map();\n @State() selectedCount: number = 0;\n\n @Listen('checkedChange')\n handleCheckedChange({ detail }: CustomEvent<SelectRowDto>) {\n if (detail.header || detail.expandable) return;\n if (detail.checked) {\n this.selected.set(detail.name, detail);\n } else {\n this.selected.delete(detail.name);\n }\n\n this.selectedCount = this.selected.size;\n }\n\n @Watch('colsSize')\n private setColsSizeTemplate() {\n if (!this.colsSize || !this.colsSize?.length) return;\n\n this.el.style.setProperty(\n '--xv-table-cols-template',\n this.colsSize\n .map((v) => {\n if (!v) return 'minmax(0, 1fr)';\n if (v === 'auto') return 'minmax(0, auto)';\n return `calc(${v} - ${50 / this.colsSize.length}px)`;\n })\n .join(' ') + ' repeat(auto-fit, minmax(0, 1fr))',\n );\n }\n\n render() {\n return (\n <Host class={{ batchVisible: !!this.selectedCount }}>\n <slot name=\"title\">\n {!!this.el.title && <h2 class=\"xv-table-title\">{this.el.title}</h2>}\n </slot>\n\n <slot name=\"toolbar\" />\n\n <div class=\"xv-table\">\n <div class=\"batch-actions\">\n <Fragment>\n <div class=\"batch-actions_content\">\n <slot name=\"batch\" />\n </div>\n <p class=\"batch-actions_count\">\n {!!this.selectedCount && `${this.selectedCount} ${this.selectedCount === 1 ? 'Position ausgewählt' : 'Positionen ausgewählt'}`}\n </p>\n </Fragment>\n </div>\n\n <div class=\"xv-table_wrapper\">\n <slot />\n\n <slot name=\"footer\" />\n </div>\n\n {!!this.loading && (\n <div class=\"xv-table_loading\">\n <xv-loader-v2 size={SIZE_VAR.LG} />\n </div>\n )}\n </div>\n </Host>\n );\n }\n\n componentWillLoad() {\n this.setColsSizeTemplate();\n }\n}\n"]}
|
|
@@ -6,7 +6,7 @@ export class XvTab {
|
|
|
6
6
|
this.loading = false;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: 'acf8d6047f8d0b12a4353c439bb8be5e96a6de2d', disabled: this.disabled, name: this.name }, this.loading ? h("xv-loader-v2", { size: SIZE_VAR.LG }) : h("slot", null)));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "xv-tab-v2"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,6 +24,7 @@ export class XvTab {
|
|
|
24
24
|
return {
|
|
25
25
|
"label": {
|
|
26
26
|
"type": "string",
|
|
27
|
+
"attribute": "label",
|
|
27
28
|
"mutable": false,
|
|
28
29
|
"complexType": {
|
|
29
30
|
"original": "string",
|
|
@@ -38,11 +39,11 @@ export class XvTab {
|
|
|
38
39
|
},
|
|
39
40
|
"getter": false,
|
|
40
41
|
"setter": false,
|
|
41
|
-
"attribute": "label",
|
|
42
42
|
"reflect": true
|
|
43
43
|
},
|
|
44
44
|
"disabled": {
|
|
45
45
|
"type": "boolean",
|
|
46
|
+
"attribute": "disabled",
|
|
46
47
|
"mutable": false,
|
|
47
48
|
"complexType": {
|
|
48
49
|
"original": "boolean",
|
|
@@ -57,12 +58,12 @@ export class XvTab {
|
|
|
57
58
|
},
|
|
58
59
|
"getter": false,
|
|
59
60
|
"setter": false,
|
|
60
|
-
"attribute": "disabled",
|
|
61
61
|
"reflect": true,
|
|
62
62
|
"defaultValue": "false"
|
|
63
63
|
},
|
|
64
64
|
"loading": {
|
|
65
65
|
"type": "boolean",
|
|
66
|
+
"attribute": "loading",
|
|
66
67
|
"mutable": false,
|
|
67
68
|
"complexType": {
|
|
68
69
|
"original": "boolean",
|
|
@@ -77,12 +78,12 @@ export class XvTab {
|
|
|
77
78
|
},
|
|
78
79
|
"getter": false,
|
|
79
80
|
"setter": false,
|
|
80
|
-
"attribute": "loading",
|
|
81
81
|
"reflect": true,
|
|
82
82
|
"defaultValue": "false"
|
|
83
83
|
},
|
|
84
84
|
"name": {
|
|
85
85
|
"type": "any",
|
|
86
|
+
"attribute": "name",
|
|
86
87
|
"mutable": false,
|
|
87
88
|
"complexType": {
|
|
88
89
|
"original": "number | string",
|
|
@@ -97,7 +98,6 @@ export class XvTab {
|
|
|
97
98
|
},
|
|
98
99
|
"getter": false,
|
|
99
100
|
"setter": false,
|
|
100
|
-
"attribute": "name",
|
|
101
101
|
"reflect": false
|
|
102
102
|
}
|
|
103
103
|
};
|
|
@@ -100,6 +100,7 @@ export class XvTabs {
|
|
|
100
100
|
return {
|
|
101
101
|
"active": {
|
|
102
102
|
"type": "any",
|
|
103
|
+
"attribute": "active",
|
|
103
104
|
"mutable": true,
|
|
104
105
|
"complexType": {
|
|
105
106
|
"original": "number | string",
|
|
@@ -114,12 +115,12 @@ export class XvTabs {
|
|
|
114
115
|
},
|
|
115
116
|
"getter": false,
|
|
116
117
|
"setter": false,
|
|
117
|
-
"attribute": "active",
|
|
118
118
|
"reflect": true,
|
|
119
119
|
"defaultValue": "0"
|
|
120
120
|
},
|
|
121
121
|
"loading": {
|
|
122
122
|
"type": "boolean",
|
|
123
|
+
"attribute": "loading",
|
|
123
124
|
"mutable": false,
|
|
124
125
|
"complexType": {
|
|
125
126
|
"original": "boolean",
|
|
@@ -134,11 +135,11 @@ export class XvTabs {
|
|
|
134
135
|
},
|
|
135
136
|
"getter": false,
|
|
136
137
|
"setter": false,
|
|
137
|
-
"attribute": "loading",
|
|
138
138
|
"reflect": true
|
|
139
139
|
},
|
|
140
140
|
"variant": {
|
|
141
141
|
"type": "string",
|
|
142
|
+
"attribute": "variant",
|
|
142
143
|
"mutable": false,
|
|
143
144
|
"complexType": {
|
|
144
145
|
"original": "TABS_VATIANT",
|
|
@@ -159,12 +160,12 @@ export class XvTabs {
|
|
|
159
160
|
},
|
|
160
161
|
"getter": false,
|
|
161
162
|
"setter": false,
|
|
162
|
-
"attribute": "variant",
|
|
163
163
|
"reflect": false,
|
|
164
164
|
"defaultValue": "TABS_VATIANT.DEFAULT"
|
|
165
165
|
},
|
|
166
166
|
"emptyMessage": {
|
|
167
167
|
"type": "string",
|
|
168
|
+
"attribute": "empty-message",
|
|
168
169
|
"mutable": false,
|
|
169
170
|
"complexType": {
|
|
170
171
|
"original": "string",
|
|
@@ -179,7 +180,6 @@ export class XvTabs {
|
|
|
179
180
|
},
|
|
180
181
|
"getter": false,
|
|
181
182
|
"setter": false,
|
|
182
|
-
"attribute": "empty-message",
|
|
183
183
|
"reflect": false
|
|
184
184
|
}
|
|
185
185
|
};
|
|
@@ -13,7 +13,7 @@ export class XvTag {
|
|
|
13
13
|
this.closeClick.emit(e);
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '14b055dd7dedf6b5fcba8b8b3eb2f5f508d805a9', style: { color: this.color, background: this.bg }, class: `xv-tag ${this.disabled ? 'disabled' : ''} ${this.size}` }, h("div", { key: 'f68b22e13acb0cde1e9f80260625a72439a412df', class: "xv-tag_content" }, h("slot", { key: 'c4bbfc6909234057747f0cb4b13fd6a24f14a356' })), this.closeable && (h("button", { key: 'e05cd88033f44a852c7de9615fde4a4ebcee0d79', onClick: this.closeHandler.bind(this), class: "xv-tag_close" }))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "xv-tag-v2"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,6 +31,7 @@ export class XvTag {
|
|
|
31
31
|
return {
|
|
32
32
|
"size": {
|
|
33
33
|
"type": "string",
|
|
34
|
+
"attribute": "size",
|
|
34
35
|
"mutable": false,
|
|
35
36
|
"complexType": {
|
|
36
37
|
"original": "'sm' | 'md' | 'lg'",
|
|
@@ -45,12 +46,12 @@ export class XvTag {
|
|
|
45
46
|
},
|
|
46
47
|
"getter": false,
|
|
47
48
|
"setter": false,
|
|
48
|
-
"attribute": "size",
|
|
49
49
|
"reflect": false,
|
|
50
50
|
"defaultValue": "'md'"
|
|
51
51
|
},
|
|
52
52
|
"color": {
|
|
53
53
|
"type": "string",
|
|
54
|
+
"attribute": "color",
|
|
54
55
|
"mutable": false,
|
|
55
56
|
"complexType": {
|
|
56
57
|
"original": "string",
|
|
@@ -65,12 +66,12 @@ export class XvTag {
|
|
|
65
66
|
},
|
|
66
67
|
"getter": false,
|
|
67
68
|
"setter": false,
|
|
68
|
-
"attribute": "color",
|
|
69
69
|
"reflect": false,
|
|
70
70
|
"defaultValue": "''"
|
|
71
71
|
},
|
|
72
72
|
"bg": {
|
|
73
73
|
"type": "string",
|
|
74
|
+
"attribute": "bg",
|
|
74
75
|
"mutable": false,
|
|
75
76
|
"complexType": {
|
|
76
77
|
"original": "string",
|
|
@@ -85,12 +86,12 @@ export class XvTag {
|
|
|
85
86
|
},
|
|
86
87
|
"getter": false,
|
|
87
88
|
"setter": false,
|
|
88
|
-
"attribute": "bg",
|
|
89
89
|
"reflect": false,
|
|
90
90
|
"defaultValue": "''"
|
|
91
91
|
},
|
|
92
92
|
"disabled": {
|
|
93
93
|
"type": "boolean",
|
|
94
|
+
"attribute": "disabled",
|
|
94
95
|
"mutable": false,
|
|
95
96
|
"complexType": {
|
|
96
97
|
"original": "boolean",
|
|
@@ -105,12 +106,12 @@ export class XvTag {
|
|
|
105
106
|
},
|
|
106
107
|
"getter": false,
|
|
107
108
|
"setter": false,
|
|
108
|
-
"attribute": "disabled",
|
|
109
109
|
"reflect": false,
|
|
110
110
|
"defaultValue": "false"
|
|
111
111
|
},
|
|
112
112
|
"closeable": {
|
|
113
113
|
"type": "boolean",
|
|
114
|
+
"attribute": "closeable",
|
|
114
115
|
"mutable": false,
|
|
115
116
|
"complexType": {
|
|
116
117
|
"original": "boolean",
|
|
@@ -125,7 +126,6 @@ export class XvTag {
|
|
|
125
126
|
},
|
|
126
127
|
"getter": false,
|
|
127
128
|
"setter": false,
|
|
128
|
-
"attribute": "closeable",
|
|
129
129
|
"reflect": false,
|
|
130
130
|
"defaultValue": "false"
|
|
131
131
|
}
|
|
@@ -36,7 +36,7 @@ export class XvTextInput {
|
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'ff06aea5ae7498aaf2c855da8ee0f7a0522456e4', name: this.name, class: "xv-text-input", role: "textbox", tabindex: this.disabled ? -1 : false }, this.label && h("label", { key: 'cf8084b9c0aab74c87297e1af0ea6d069cb6b8f1', class: "label" }, this.label), h("div", { key: '9ebc989deb41e835f30c72f4777d94cadd68a023', class: "control" }, h("input", { key: '82b18d350f325ae32daad68552ac083dd2c3b157', type: "text", class: { withIcon: this.status !== TextInputStatus.DEF }, readonly: this.readonly, value: this.value, disabled: this.disabled, onInput: this.handleInput, placeholder: this.placeholder }), this.getControlIcon(this.status)), this.helper && h("p", { key: '070097a66e9a21872b8245305a24070fc5b8f443', class: "helper" }, this.helper)));
|
|
40
40
|
}
|
|
41
41
|
componentWillLoad() {
|
|
42
42
|
this.internals.setFormValue(this.value);
|
|
@@ -58,6 +58,7 @@ export class XvTextInput {
|
|
|
58
58
|
return {
|
|
59
59
|
"label": {
|
|
60
60
|
"type": "string",
|
|
61
|
+
"attribute": "label",
|
|
61
62
|
"mutable": false,
|
|
62
63
|
"complexType": {
|
|
63
64
|
"original": "string",
|
|
@@ -72,11 +73,11 @@ export class XvTextInput {
|
|
|
72
73
|
},
|
|
73
74
|
"getter": false,
|
|
74
75
|
"setter": false,
|
|
75
|
-
"attribute": "label",
|
|
76
76
|
"reflect": true
|
|
77
77
|
},
|
|
78
78
|
"placeholder": {
|
|
79
79
|
"type": "string",
|
|
80
|
+
"attribute": "placeholder",
|
|
80
81
|
"mutable": false,
|
|
81
82
|
"complexType": {
|
|
82
83
|
"original": "string",
|
|
@@ -91,11 +92,11 @@ export class XvTextInput {
|
|
|
91
92
|
},
|
|
92
93
|
"getter": false,
|
|
93
94
|
"setter": false,
|
|
94
|
-
"attribute": "placeholder",
|
|
95
95
|
"reflect": true
|
|
96
96
|
},
|
|
97
97
|
"helper": {
|
|
98
98
|
"type": "string",
|
|
99
|
+
"attribute": "helper",
|
|
99
100
|
"mutable": false,
|
|
100
101
|
"complexType": {
|
|
101
102
|
"original": "string",
|
|
@@ -110,12 +111,12 @@ export class XvTextInput {
|
|
|
110
111
|
},
|
|
111
112
|
"getter": false,
|
|
112
113
|
"setter": false,
|
|
113
|
-
"attribute": "helper",
|
|
114
114
|
"reflect": true,
|
|
115
115
|
"defaultValue": "''"
|
|
116
116
|
},
|
|
117
117
|
"name": {
|
|
118
118
|
"type": "string",
|
|
119
|
+
"attribute": "name",
|
|
119
120
|
"mutable": false,
|
|
120
121
|
"complexType": {
|
|
121
122
|
"original": "string",
|
|
@@ -130,11 +131,11 @@ export class XvTextInput {
|
|
|
130
131
|
},
|
|
131
132
|
"getter": false,
|
|
132
133
|
"setter": false,
|
|
133
|
-
"attribute": "name",
|
|
134
134
|
"reflect": true
|
|
135
135
|
},
|
|
136
136
|
"size": {
|
|
137
137
|
"type": "string",
|
|
138
|
+
"attribute": "size",
|
|
138
139
|
"mutable": false,
|
|
139
140
|
"complexType": {
|
|
140
141
|
"original": "SIZE_VAR",
|
|
@@ -155,12 +156,12 @@ export class XvTextInput {
|
|
|
155
156
|
},
|
|
156
157
|
"getter": false,
|
|
157
158
|
"setter": false,
|
|
158
|
-
"attribute": "size",
|
|
159
159
|
"reflect": true,
|
|
160
160
|
"defaultValue": "SIZE_VAR.MD"
|
|
161
161
|
},
|
|
162
162
|
"status": {
|
|
163
163
|
"type": "string",
|
|
164
|
+
"attribute": "status",
|
|
164
165
|
"mutable": false,
|
|
165
166
|
"complexType": {
|
|
166
167
|
"original": "TextInputStatus",
|
|
@@ -181,12 +182,12 @@ export class XvTextInput {
|
|
|
181
182
|
},
|
|
182
183
|
"getter": false,
|
|
183
184
|
"setter": false,
|
|
184
|
-
"attribute": "status",
|
|
185
185
|
"reflect": true,
|
|
186
186
|
"defaultValue": "TextInputStatus.DEF"
|
|
187
187
|
},
|
|
188
188
|
"value": {
|
|
189
189
|
"type": "string",
|
|
190
|
+
"attribute": "value",
|
|
190
191
|
"mutable": true,
|
|
191
192
|
"complexType": {
|
|
192
193
|
"original": "string",
|
|
@@ -201,12 +202,12 @@ export class XvTextInput {
|
|
|
201
202
|
},
|
|
202
203
|
"getter": false,
|
|
203
204
|
"setter": false,
|
|
204
|
-
"attribute": "value",
|
|
205
205
|
"reflect": true,
|
|
206
206
|
"defaultValue": "''"
|
|
207
207
|
},
|
|
208
208
|
"disabled": {
|
|
209
209
|
"type": "boolean",
|
|
210
|
+
"attribute": "disabled",
|
|
210
211
|
"mutable": false,
|
|
211
212
|
"complexType": {
|
|
212
213
|
"original": "boolean",
|
|
@@ -221,12 +222,12 @@ export class XvTextInput {
|
|
|
221
222
|
},
|
|
222
223
|
"getter": false,
|
|
223
224
|
"setter": false,
|
|
224
|
-
"attribute": "disabled",
|
|
225
225
|
"reflect": true,
|
|
226
226
|
"defaultValue": "false"
|
|
227
227
|
},
|
|
228
228
|
"readonly": {
|
|
229
229
|
"type": "boolean",
|
|
230
|
+
"attribute": "readonly",
|
|
230
231
|
"mutable": false,
|
|
231
232
|
"complexType": {
|
|
232
233
|
"original": "boolean",
|
|
@@ -241,12 +242,12 @@ export class XvTextInput {
|
|
|
241
242
|
},
|
|
242
243
|
"getter": false,
|
|
243
244
|
"setter": false,
|
|
244
|
-
"attribute": "readonly",
|
|
245
245
|
"reflect": true,
|
|
246
246
|
"defaultValue": "false"
|
|
247
247
|
},
|
|
248
248
|
"loading": {
|
|
249
249
|
"type": "boolean",
|
|
250
|
+
"attribute": "loading",
|
|
250
251
|
"mutable": false,
|
|
251
252
|
"complexType": {
|
|
252
253
|
"original": "boolean",
|
|
@@ -261,7 +262,6 @@ export class XvTextInput {
|
|
|
261
262
|
},
|
|
262
263
|
"getter": false,
|
|
263
264
|
"setter": false,
|
|
264
|
-
"attribute": "loading",
|
|
265
265
|
"reflect": true,
|
|
266
266
|
"defaultValue": "false"
|
|
267
267
|
}
|
|
@@ -9,7 +9,7 @@ export class XvTooltip {
|
|
|
9
9
|
this.position = 'top';
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '7de12b2a66877ad7be729a8d78056efeedb56d8f', tooltip: this.message, class: `xv-tooltip_${this.position}` }, h("slot", { key: 'd52506f97478e29652a7671b4cba6333961f5e61' }, h("svg", { key: 'e6f06c96135155d504577e6086f0a58fd8ae9b09', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: 16, height: 16 }, h("path", { key: '6580f275c8400f37cafd96f2c68a4e1e9cbd12bd', fill: "currentColor", d: "M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z" })))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "xv-tooltip-v2"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,6 +27,7 @@ export class XvTooltip {
|
|
|
27
27
|
return {
|
|
28
28
|
"message": {
|
|
29
29
|
"type": "string",
|
|
30
|
+
"attribute": "message",
|
|
30
31
|
"mutable": false,
|
|
31
32
|
"complexType": {
|
|
32
33
|
"original": "string",
|
|
@@ -41,11 +42,11 @@ export class XvTooltip {
|
|
|
41
42
|
},
|
|
42
43
|
"getter": false,
|
|
43
44
|
"setter": false,
|
|
44
|
-
"attribute": "message",
|
|
45
45
|
"reflect": true
|
|
46
46
|
},
|
|
47
47
|
"position": {
|
|
48
48
|
"type": "string",
|
|
49
|
+
"attribute": "position",
|
|
49
50
|
"mutable": false,
|
|
50
51
|
"complexType": {
|
|
51
52
|
"original": "'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'right'",
|
|
@@ -60,12 +61,12 @@ export class XvTooltip {
|
|
|
60
61
|
},
|
|
61
62
|
"getter": false,
|
|
62
63
|
"setter": false,
|
|
63
|
-
"attribute": "position",
|
|
64
64
|
"reflect": true,
|
|
65
65
|
"defaultValue": "'top'"
|
|
66
66
|
},
|
|
67
67
|
"multiline": {
|
|
68
68
|
"type": "boolean",
|
|
69
|
+
"attribute": "multiline",
|
|
69
70
|
"mutable": false,
|
|
70
71
|
"complexType": {
|
|
71
72
|
"original": "boolean",
|
|
@@ -80,7 +81,6 @@ export class XvTooltip {
|
|
|
80
81
|
},
|
|
81
82
|
"getter": false,
|
|
82
83
|
"setter": false,
|
|
83
|
-
"attribute": "multiline",
|
|
84
84
|
"reflect": true
|
|
85
85
|
}
|
|
86
86
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-globals-DQuL1Twl.js","sources":["@stencil/core/internal/app-globals"],"sourcesContent":["export const globalScripts = () => {};\n"],"names":[],"mappings":"AAAY,MAAC,aAAa,GAAG,MAAM;;;;"}
|