@kodaris/krubble-components 1.0.62 → 1.0.64
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/custom-elements.json +417 -10
- package/dist/form/checkbox/checkbox.d.ts +71 -0
- package/dist/form/checkbox/checkbox.d.ts.map +1 -0
- package/dist/form/checkbox/checkbox.js +304 -0
- package/dist/form/checkbox/checkbox.js.map +1 -0
- package/dist/form/index.d.ts +1 -0
- package/dist/form/index.d.ts.map +1 -1
- package/dist/form/index.js +1 -0
- package/dist/form/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/krubble-components.bundled.js +610 -227
- package/dist/krubble-components.bundled.js.map +1 -1
- package/dist/krubble-components.bundled.min.js +195 -34
- package/dist/krubble-components.bundled.min.js.map +1 -1
- package/dist/krubble-components.umd.js +609 -226
- package/dist/krubble-components.umd.js.map +1 -1
- package/dist/krubble-components.umd.min.js +213 -52
- package/dist/krubble-components.umd.min.js.map +1 -1
- package/dist/table/table.d.ts +13 -2
- package/dist/table/table.d.ts.map +1 -1
- package/dist/table/table.js +90 -6
- package/dist/table/table.js.map +1 -1
- package/package.json +9 -1
|
@@ -89,7 +89,7 @@ const e$4=(e,t,c)=>(c.configurable=true,c.enumerable=true,Reflect.decorate&&"obj
|
|
|
89
89
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
90
|
*/function e$3(e,r){return (n,s,i)=>{const o=t=>t.renderRoot?.querySelector(e)??null;return e$4(n,s,{get(){return o(this)}})}}
|
|
91
91
|
|
|
92
|
-
var __decorate$
|
|
92
|
+
var __decorate$n = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
93
93
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
94
94
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
95
95
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -196,13 +196,13 @@ KRAccordion.styles = i$5 `
|
|
|
196
196
|
padding: 16px 16px 8px 16px;
|
|
197
197
|
}
|
|
198
198
|
`;
|
|
199
|
-
__decorate$
|
|
199
|
+
__decorate$n([
|
|
200
200
|
n$1({ type: String })
|
|
201
201
|
], KRAccordion.prototype, "header", void 0);
|
|
202
|
-
__decorate$
|
|
202
|
+
__decorate$n([
|
|
203
203
|
n$1({ type: Boolean, reflect: true })
|
|
204
204
|
], KRAccordion.prototype, "expanded", void 0);
|
|
205
|
-
KRAccordion = __decorate$
|
|
205
|
+
KRAccordion = __decorate$n([
|
|
206
206
|
t$1('kr-accordion')
|
|
207
207
|
], KRAccordion);
|
|
208
208
|
|
|
@@ -219,7 +219,7 @@ const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4},e$2=t=>(...e)=>({_$
|
|
|
219
219
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
220
220
|
*/const e$1=e$2(class extends i$1{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter(s=>t[s]).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return E}});
|
|
221
221
|
|
|
222
|
-
var __decorate$
|
|
222
|
+
var __decorate$m = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
223
223
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
224
224
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
225
225
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -417,23 +417,23 @@ KRAlert.styles = i$5 `
|
|
|
417
417
|
outline-offset: 2px;
|
|
418
418
|
}
|
|
419
419
|
`;
|
|
420
|
-
__decorate$
|
|
420
|
+
__decorate$m([
|
|
421
421
|
n$1({ type: String })
|
|
422
422
|
], KRAlert.prototype, "type", void 0);
|
|
423
|
-
__decorate$
|
|
423
|
+
__decorate$m([
|
|
424
424
|
n$1({ type: String })
|
|
425
425
|
], KRAlert.prototype, "title", void 0);
|
|
426
|
-
__decorate$
|
|
426
|
+
__decorate$m([
|
|
427
427
|
n$1({ type: Boolean })
|
|
428
428
|
], KRAlert.prototype, "dismissible", void 0);
|
|
429
|
-
__decorate$
|
|
429
|
+
__decorate$m([
|
|
430
430
|
n$1({ type: Boolean })
|
|
431
431
|
], KRAlert.prototype, "visible", void 0);
|
|
432
|
-
KRAlert = __decorate$
|
|
432
|
+
KRAlert = __decorate$m([
|
|
433
433
|
t$1('kr-alert')
|
|
434
434
|
], KRAlert);
|
|
435
435
|
|
|
436
|
-
var __decorate$
|
|
436
|
+
var __decorate$l = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
437
437
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
438
438
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
439
439
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -932,40 +932,40 @@ KRButton.styles = i$5 `
|
|
|
932
932
|
height: 22px;
|
|
933
933
|
}
|
|
934
934
|
`;
|
|
935
|
-
__decorate$
|
|
935
|
+
__decorate$l([
|
|
936
936
|
n$1({ type: String, reflect: true })
|
|
937
937
|
], KRButton.prototype, "variant", void 0);
|
|
938
|
-
__decorate$
|
|
938
|
+
__decorate$l([
|
|
939
939
|
n$1({ type: String, reflect: true })
|
|
940
940
|
], KRButton.prototype, "color", void 0);
|
|
941
|
-
__decorate$
|
|
941
|
+
__decorate$l([
|
|
942
942
|
n$1({ type: String, reflect: true })
|
|
943
943
|
], KRButton.prototype, "size", void 0);
|
|
944
|
-
__decorate$
|
|
944
|
+
__decorate$l([
|
|
945
945
|
n$1({ type: Boolean, reflect: true })
|
|
946
946
|
], KRButton.prototype, "disabled", void 0);
|
|
947
|
-
__decorate$
|
|
947
|
+
__decorate$l([
|
|
948
948
|
n$1({ type: String })
|
|
949
949
|
], KRButton.prototype, "href", void 0);
|
|
950
|
-
__decorate$
|
|
950
|
+
__decorate$l([
|
|
951
951
|
n$1({ type: String })
|
|
952
952
|
], KRButton.prototype, "target", void 0);
|
|
953
|
-
__decorate$
|
|
953
|
+
__decorate$l([
|
|
954
954
|
n$1({ type: Array })
|
|
955
955
|
], KRButton.prototype, "options", void 0);
|
|
956
|
-
__decorate$
|
|
956
|
+
__decorate$l([
|
|
957
957
|
n$1({ type: String, reflect: true, attribute: 'icon-position' })
|
|
958
958
|
], KRButton.prototype, "iconPosition", void 0);
|
|
959
|
-
__decorate$
|
|
959
|
+
__decorate$l([
|
|
960
960
|
r$1()
|
|
961
961
|
], KRButton.prototype, "_state", void 0);
|
|
962
|
-
__decorate$
|
|
962
|
+
__decorate$l([
|
|
963
963
|
r$1()
|
|
964
964
|
], KRButton.prototype, "_stateText", void 0);
|
|
965
|
-
__decorate$
|
|
965
|
+
__decorate$l([
|
|
966
966
|
r$1()
|
|
967
967
|
], KRButton.prototype, "_dropdownOpened", void 0);
|
|
968
|
-
KRButton = __decorate$
|
|
968
|
+
KRButton = __decorate$l([
|
|
969
969
|
t$1('kr-button')
|
|
970
970
|
], KRButton);
|
|
971
971
|
|
|
@@ -975,7 +975,7 @@ KRButton = __decorate$k([
|
|
|
975
975
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
976
976
|
*/class e extends i$1{constructor(i){if(super(i),this.it=A,i.type!==t.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===A||null==r)return this._t=void 0,this.it=r;if(r===E)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;const s=[r];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}}e.directiveName="unsafeHTML",e.resultType=1;const o$2=e$2(e);
|
|
977
977
|
|
|
978
|
-
var __decorate$
|
|
978
|
+
var __decorate$k = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
979
979
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
980
980
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
981
981
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -1209,26 +1209,26 @@ KRCodeDemo.styles = [krBaseCSS, i$5 `
|
|
|
1209
1209
|
.hljs-property { color: #005cc5; }
|
|
1210
1210
|
|
|
1211
1211
|
`];
|
|
1212
|
-
__decorate$
|
|
1212
|
+
__decorate$k([
|
|
1213
1213
|
n$1({ type: String })
|
|
1214
1214
|
], KRCodeDemo.prototype, "language", void 0);
|
|
1215
|
-
__decorate$
|
|
1215
|
+
__decorate$k([
|
|
1216
1216
|
r$1()
|
|
1217
1217
|
], KRCodeDemo.prototype, "code", void 0);
|
|
1218
|
-
__decorate$
|
|
1218
|
+
__decorate$k([
|
|
1219
1219
|
r$1()
|
|
1220
1220
|
], KRCodeDemo.prototype, "activeTab", void 0);
|
|
1221
|
-
__decorate$
|
|
1221
|
+
__decorate$k([
|
|
1222
1222
|
r$1()
|
|
1223
1223
|
], KRCodeDemo.prototype, "copied", void 0);
|
|
1224
|
-
__decorate$
|
|
1224
|
+
__decorate$k([
|
|
1225
1225
|
r$1()
|
|
1226
1226
|
], KRCodeDemo.prototype, "highlightedCode", void 0);
|
|
1227
|
-
KRCodeDemo = __decorate$
|
|
1227
|
+
KRCodeDemo = __decorate$k([
|
|
1228
1228
|
t$1('kr-code-demo')
|
|
1229
1229
|
], KRCodeDemo);
|
|
1230
1230
|
|
|
1231
|
-
var __decorate$
|
|
1231
|
+
var __decorate$j = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1232
1232
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1233
1233
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1234
1234
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -1397,10 +1397,10 @@ KRContextMenu.styles = i$5 `
|
|
|
1397
1397
|
margin: 4px 0;
|
|
1398
1398
|
}
|
|
1399
1399
|
`;
|
|
1400
|
-
__decorate$
|
|
1400
|
+
__decorate$j([
|
|
1401
1401
|
r$1()
|
|
1402
1402
|
], KRContextMenu.prototype, "items", void 0);
|
|
1403
|
-
KRContextMenu = __decorate$
|
|
1403
|
+
KRContextMenu = __decorate$j([
|
|
1404
1404
|
t$1('kr-context-menu')
|
|
1405
1405
|
], KRContextMenu);
|
|
1406
1406
|
|
|
@@ -1410,7 +1410,7 @@ KRContextMenu = __decorate$i([
|
|
|
1410
1410
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1411
1411
|
*/const n="important",i=" !"+n,o$1=e$2(class extends i$1{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"style"!==t$1.name||t$1.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{const s=t[r];return null==s?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(e,[r]){const{style:s}=e.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(r)),this.render(r);for(const t of this.ft)null==r[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(const t in r){const e=r[t];if(null!=e){this.ft.add(t);const r="string"==typeof e&&e.endsWith(i);t.includes("-")||r?s.setProperty(t,r?e.slice(0,-11):e,r?n:""):s[t]=e;}}return E}});
|
|
1412
1412
|
|
|
1413
|
-
var __decorate$
|
|
1413
|
+
var __decorate$i = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1414
1414
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1415
1415
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1416
1416
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -1437,7 +1437,7 @@ KRDialogHeader.styles = i$5 `
|
|
|
1437
1437
|
font-weight: 600;
|
|
1438
1438
|
}
|
|
1439
1439
|
`;
|
|
1440
|
-
KRDialogHeader = __decorate$
|
|
1440
|
+
KRDialogHeader = __decorate$i([
|
|
1441
1441
|
t$1('kr-dialog-header')
|
|
1442
1442
|
], KRDialogHeader);
|
|
1443
1443
|
let KRDialogContent = class KRDialogContent extends i$2 {
|
|
@@ -1453,7 +1453,7 @@ KRDialogContent.styles = i$5 `
|
|
|
1453
1453
|
flex: 1 1 auto;
|
|
1454
1454
|
}
|
|
1455
1455
|
`;
|
|
1456
|
-
KRDialogContent = __decorate$
|
|
1456
|
+
KRDialogContent = __decorate$i([
|
|
1457
1457
|
t$1('kr-dialog-content')
|
|
1458
1458
|
], KRDialogContent);
|
|
1459
1459
|
let KRDialogFooter = class KRDialogFooter extends i$2 {
|
|
@@ -1473,7 +1473,7 @@ KRDialogFooter.styles = i$5 `
|
|
|
1473
1473
|
justify-content: flex-end;
|
|
1474
1474
|
}
|
|
1475
1475
|
`;
|
|
1476
|
-
KRDialogFooter = __decorate$
|
|
1476
|
+
KRDialogFooter = __decorate$i([
|
|
1477
1477
|
t$1('kr-dialog-footer')
|
|
1478
1478
|
], KRDialogFooter);
|
|
1479
1479
|
/**
|
|
@@ -1681,23 +1681,23 @@ KRDialog.styles = i$5 `
|
|
|
1681
1681
|
font-weight: 600;
|
|
1682
1682
|
}
|
|
1683
1683
|
`;
|
|
1684
|
-
__decorate$
|
|
1684
|
+
__decorate$i([
|
|
1685
1685
|
r$1()
|
|
1686
1686
|
], KRDialog.prototype, "_contentElement", void 0);
|
|
1687
|
-
__decorate$
|
|
1687
|
+
__decorate$i([
|
|
1688
1688
|
n$1({ type: Boolean, reflect: true })
|
|
1689
1689
|
], KRDialog.prototype, "opened", void 0);
|
|
1690
|
-
__decorate$
|
|
1690
|
+
__decorate$i([
|
|
1691
1691
|
n$1({ type: String })
|
|
1692
1692
|
], KRDialog.prototype, "label", void 0);
|
|
1693
|
-
__decorate$
|
|
1693
|
+
__decorate$i([
|
|
1694
1694
|
n$1({ type: String })
|
|
1695
1695
|
], KRDialog.prototype, "width", void 0);
|
|
1696
|
-
KRDialog = __decorate$
|
|
1696
|
+
KRDialog = __decorate$i([
|
|
1697
1697
|
t$1('kr-dialog')
|
|
1698
1698
|
], KRDialog);
|
|
1699
1699
|
|
|
1700
|
-
var __decorate$
|
|
1700
|
+
var __decorate$h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1701
1701
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1702
1702
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1703
1703
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2217,47 +2217,47 @@ KRDateRangePicker.styles = i$5 `
|
|
|
2217
2217
|
border-top: 1px solid #e5e7eb;
|
|
2218
2218
|
}
|
|
2219
2219
|
`;
|
|
2220
|
-
__decorate$
|
|
2220
|
+
__decorate$h([
|
|
2221
2221
|
n$1({ type: Object })
|
|
2222
2222
|
], KRDateRangePicker.prototype, "value", void 0);
|
|
2223
|
-
__decorate$
|
|
2223
|
+
__decorate$h([
|
|
2224
2224
|
n$1({ type: Array })
|
|
2225
2225
|
], KRDateRangePicker.prototype, "relativeOptions", void 0);
|
|
2226
|
-
__decorate$
|
|
2226
|
+
__decorate$h([
|
|
2227
2227
|
n$1({ type: Boolean })
|
|
2228
2228
|
], KRDateRangePicker.prototype, "disabled", void 0);
|
|
2229
|
-
__decorate$
|
|
2229
|
+
__decorate$h([
|
|
2230
2230
|
n$1({ type: Boolean })
|
|
2231
2231
|
], KRDateRangePicker.prototype, "invalid", void 0);
|
|
2232
|
-
__decorate$
|
|
2232
|
+
__decorate$h([
|
|
2233
2233
|
n$1({ type: String })
|
|
2234
2234
|
], KRDateRangePicker.prototype, "placeholder", void 0);
|
|
2235
|
-
__decorate$
|
|
2235
|
+
__decorate$h([
|
|
2236
2236
|
n$1({ type: String })
|
|
2237
2237
|
], KRDateRangePicker.prototype, "startDate", void 0);
|
|
2238
|
-
__decorate$
|
|
2238
|
+
__decorate$h([
|
|
2239
2239
|
n$1({ type: String })
|
|
2240
2240
|
], KRDateRangePicker.prototype, "endDate", void 0);
|
|
2241
|
-
__decorate$
|
|
2241
|
+
__decorate$h([
|
|
2242
2242
|
n$1({ type: String })
|
|
2243
2243
|
], KRDateRangePicker.prototype, "mode", void 0);
|
|
2244
|
-
__decorate$
|
|
2244
|
+
__decorate$h([
|
|
2245
2245
|
r$1()
|
|
2246
2246
|
], KRDateRangePicker.prototype, "_isOpen", void 0);
|
|
2247
|
-
__decorate$
|
|
2247
|
+
__decorate$h([
|
|
2248
2248
|
r$1()
|
|
2249
2249
|
], KRDateRangePicker.prototype, "_activeTab", void 0);
|
|
2250
|
-
__decorate$
|
|
2250
|
+
__decorate$h([
|
|
2251
2251
|
r$1()
|
|
2252
2252
|
], KRDateRangePicker.prototype, "_tempStartDate", void 0);
|
|
2253
|
-
__decorate$
|
|
2253
|
+
__decorate$h([
|
|
2254
2254
|
r$1()
|
|
2255
2255
|
], KRDateRangePicker.prototype, "_tempEndDate", void 0);
|
|
2256
|
-
KRDateRangePicker = __decorate$
|
|
2256
|
+
KRDateRangePicker = __decorate$h([
|
|
2257
2257
|
t$1('kr-date-range-picker')
|
|
2258
2258
|
], KRDateRangePicker);
|
|
2259
2259
|
|
|
2260
|
-
var __decorate$
|
|
2260
|
+
var __decorate$g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2261
2261
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2262
2262
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2263
2263
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2559,23 +2559,23 @@ KRSnackbar.styles = i$5 `
|
|
|
2559
2559
|
`;
|
|
2560
2560
|
/** Track active snackbars for stacking */
|
|
2561
2561
|
KRSnackbar.activeSnackbars = [];
|
|
2562
|
-
__decorate$
|
|
2562
|
+
__decorate$g([
|
|
2563
2563
|
n$1({ type: String })
|
|
2564
2564
|
], KRSnackbar.prototype, "type", void 0);
|
|
2565
|
-
__decorate$
|
|
2565
|
+
__decorate$g([
|
|
2566
2566
|
n$1({ type: String })
|
|
2567
2567
|
], KRSnackbar.prototype, "title", void 0);
|
|
2568
|
-
__decorate$
|
|
2568
|
+
__decorate$g([
|
|
2569
2569
|
n$1({ type: String })
|
|
2570
2570
|
], KRSnackbar.prototype, "message", void 0);
|
|
2571
|
-
__decorate$
|
|
2571
|
+
__decorate$g([
|
|
2572
2572
|
n$1({ type: Number })
|
|
2573
2573
|
], KRSnackbar.prototype, "duration", void 0);
|
|
2574
|
-
KRSnackbar = KRSnackbar_1 = __decorate$
|
|
2574
|
+
KRSnackbar = KRSnackbar_1 = __decorate$g([
|
|
2575
2575
|
t$1('kr-snackbar')
|
|
2576
2576
|
], KRSnackbar);
|
|
2577
2577
|
|
|
2578
|
-
var __decorate$
|
|
2578
|
+
var __decorate$f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2579
2579
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2580
2580
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2581
2581
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2878,20 +2878,20 @@ KRTabGroup.styles = [
|
|
|
2878
2878
|
}
|
|
2879
2879
|
`,
|
|
2880
2880
|
];
|
|
2881
|
-
__decorate$
|
|
2881
|
+
__decorate$f([
|
|
2882
2882
|
n$1({ type: String, attribute: 'active-tab-id' })
|
|
2883
2883
|
], KRTabGroup.prototype, "activeTabId", void 0);
|
|
2884
|
-
__decorate$
|
|
2884
|
+
__decorate$f([
|
|
2885
2885
|
n$1({ type: Boolean })
|
|
2886
2886
|
], KRTabGroup.prototype, "justified", void 0);
|
|
2887
|
-
__decorate$
|
|
2887
|
+
__decorate$f([
|
|
2888
2888
|
n$1({ type: String, reflect: true })
|
|
2889
2889
|
], KRTabGroup.prototype, "size", void 0);
|
|
2890
|
-
KRTabGroup = __decorate$
|
|
2890
|
+
KRTabGroup = __decorate$f([
|
|
2891
2891
|
t$1('kr-tab-group')
|
|
2892
2892
|
], KRTabGroup);
|
|
2893
2893
|
|
|
2894
|
-
var __decorate$
|
|
2894
|
+
var __decorate$e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2895
2895
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2896
2896
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2897
2897
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2972,35 +2972,35 @@ KRTab.styles = [
|
|
|
2972
2972
|
}
|
|
2973
2973
|
`,
|
|
2974
2974
|
];
|
|
2975
|
-
__decorate$
|
|
2975
|
+
__decorate$e([
|
|
2976
2976
|
n$1({ type: String, reflect: true })
|
|
2977
2977
|
], KRTab.prototype, "id", void 0);
|
|
2978
|
-
__decorate$
|
|
2978
|
+
__decorate$e([
|
|
2979
2979
|
n$1({ type: String })
|
|
2980
2980
|
], KRTab.prototype, "label", void 0);
|
|
2981
|
-
__decorate$
|
|
2981
|
+
__decorate$e([
|
|
2982
2982
|
n$1({ type: String })
|
|
2983
2983
|
], KRTab.prototype, "badge", void 0);
|
|
2984
|
-
__decorate$
|
|
2984
|
+
__decorate$e([
|
|
2985
2985
|
n$1({ type: String, attribute: 'badge-background' })
|
|
2986
2986
|
], KRTab.prototype, "badgeBackground", void 0);
|
|
2987
|
-
__decorate$
|
|
2987
|
+
__decorate$e([
|
|
2988
2988
|
n$1({ type: String, attribute: 'badge-color' })
|
|
2989
2989
|
], KRTab.prototype, "badgeColor", void 0);
|
|
2990
|
-
__decorate$
|
|
2990
|
+
__decorate$e([
|
|
2991
2991
|
n$1({ type: Boolean })
|
|
2992
2992
|
], KRTab.prototype, "disabled", void 0);
|
|
2993
|
-
__decorate$
|
|
2993
|
+
__decorate$e([
|
|
2994
2994
|
n$1({ type: Boolean })
|
|
2995
2995
|
], KRTab.prototype, "dismissible", void 0);
|
|
2996
|
-
__decorate$
|
|
2996
|
+
__decorate$e([
|
|
2997
2997
|
n$1({ type: Boolean, reflect: true })
|
|
2998
2998
|
], KRTab.prototype, "active", void 0);
|
|
2999
|
-
KRTab = __decorate$
|
|
2999
|
+
KRTab = __decorate$e([
|
|
3000
3000
|
t$1('kr-tab')
|
|
3001
3001
|
], KRTab);
|
|
3002
3002
|
|
|
3003
|
-
var __decorate$
|
|
3003
|
+
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3004
3004
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3005
3005
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3006
3006
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -3472,47 +3472,47 @@ KRSelectField.styles = [krBaseCSS, i$5 `
|
|
|
3472
3472
|
`];
|
|
3473
3473
|
// Enable form association
|
|
3474
3474
|
KRSelectField.formAssociated = true;
|
|
3475
|
-
__decorate$
|
|
3475
|
+
__decorate$d([
|
|
3476
3476
|
n$1({ type: String })
|
|
3477
3477
|
], KRSelectField.prototype, "label", void 0);
|
|
3478
|
-
__decorate$
|
|
3478
|
+
__decorate$d([
|
|
3479
3479
|
n$1({ type: String })
|
|
3480
3480
|
], KRSelectField.prototype, "name", void 0);
|
|
3481
|
-
__decorate$
|
|
3481
|
+
__decorate$d([
|
|
3482
3482
|
n$1({ type: String })
|
|
3483
3483
|
], KRSelectField.prototype, "value", void 0);
|
|
3484
|
-
__decorate$
|
|
3484
|
+
__decorate$d([
|
|
3485
3485
|
n$1({ type: String })
|
|
3486
3486
|
], KRSelectField.prototype, "placeholder", void 0);
|
|
3487
|
-
__decorate$
|
|
3487
|
+
__decorate$d([
|
|
3488
3488
|
n$1({ type: Boolean })
|
|
3489
3489
|
], KRSelectField.prototype, "disabled", void 0);
|
|
3490
|
-
__decorate$
|
|
3490
|
+
__decorate$d([
|
|
3491
3491
|
n$1({ type: Boolean })
|
|
3492
3492
|
], KRSelectField.prototype, "required", void 0);
|
|
3493
|
-
__decorate$
|
|
3493
|
+
__decorate$d([
|
|
3494
3494
|
n$1({ type: Boolean })
|
|
3495
3495
|
], KRSelectField.prototype, "readonly", void 0);
|
|
3496
|
-
__decorate$
|
|
3496
|
+
__decorate$d([
|
|
3497
3497
|
n$1({ type: String })
|
|
3498
3498
|
], KRSelectField.prototype, "hint", void 0);
|
|
3499
|
-
__decorate$
|
|
3499
|
+
__decorate$d([
|
|
3500
3500
|
r$1()
|
|
3501
3501
|
], KRSelectField.prototype, "_isOpen", void 0);
|
|
3502
|
-
__decorate$
|
|
3502
|
+
__decorate$d([
|
|
3503
3503
|
r$1()
|
|
3504
3504
|
], KRSelectField.prototype, "_highlightedIndex", void 0);
|
|
3505
|
-
__decorate$
|
|
3505
|
+
__decorate$d([
|
|
3506
3506
|
r$1()
|
|
3507
3507
|
], KRSelectField.prototype, "_touched", void 0);
|
|
3508
|
-
__decorate$
|
|
3508
|
+
__decorate$d([
|
|
3509
3509
|
e$3('.select-trigger')
|
|
3510
3510
|
], KRSelectField.prototype, "_triggerElement", void 0);
|
|
3511
|
-
KRSelectField = __decorate$
|
|
3511
|
+
KRSelectField = __decorate$d([
|
|
3512
3512
|
t$1('kr-select-field')
|
|
3513
3513
|
], KRSelectField);
|
|
3514
3514
|
|
|
3515
|
-
var __decorate$
|
|
3515
|
+
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3516
3516
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3517
3517
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3518
3518
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -3549,13 +3549,13 @@ KRSelectOption.styles = i$5 `
|
|
|
3549
3549
|
display: none;
|
|
3550
3550
|
}
|
|
3551
3551
|
`;
|
|
3552
|
-
__decorate$
|
|
3552
|
+
__decorate$c([
|
|
3553
3553
|
n$1({ type: String })
|
|
3554
3554
|
], KRSelectOption.prototype, "value", void 0);
|
|
3555
|
-
__decorate$
|
|
3555
|
+
__decorate$c([
|
|
3556
3556
|
n$1({ type: Boolean })
|
|
3557
3557
|
], KRSelectOption.prototype, "disabled", void 0);
|
|
3558
|
-
KRSelectOption = __decorate$
|
|
3558
|
+
KRSelectOption = __decorate$c([
|
|
3559
3559
|
t$1('kr-select-option')
|
|
3560
3560
|
], KRSelectOption);
|
|
3561
3561
|
|
|
@@ -4603,7 +4603,7 @@ class KRQuery {
|
|
|
4603
4603
|
}
|
|
4604
4604
|
}
|
|
4605
4605
|
|
|
4606
|
-
var __decorate$
|
|
4606
|
+
var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4607
4607
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4608
4608
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4609
4609
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -4613,6 +4613,7 @@ var __decorate$a = (undefined && undefined.__decorate) || function (decorators,
|
|
|
4613
4613
|
class KRTableModel {
|
|
4614
4614
|
constructor() {
|
|
4615
4615
|
this.title = '';
|
|
4616
|
+
this.description = '';
|
|
4616
4617
|
this.actions = [];
|
|
4617
4618
|
this.columns = [];
|
|
4618
4619
|
this.displayedColumns = [];
|
|
@@ -4655,6 +4656,13 @@ let KRTable = class KRTable extends i$2 {
|
|
|
4655
4656
|
this._columnWidthsLocked = false;
|
|
4656
4657
|
this._model = new KRTableModel();
|
|
4657
4658
|
this.def = { columns: [] };
|
|
4659
|
+
/**
|
|
4660
|
+
* Table layout variant.
|
|
4661
|
+
* - 'default': Full-page table that fills parent height with centered search.
|
|
4662
|
+
* - 'card': Embedded table that sizes itself to content, left-aligns search, and
|
|
4663
|
+
* reserves space for pageSize rows to prevent layout shift.
|
|
4664
|
+
*/
|
|
4665
|
+
this.variant = 'default';
|
|
4658
4666
|
this._handleClickOutside = (e) => {
|
|
4659
4667
|
const path = e.composedPath();
|
|
4660
4668
|
if (this._columnPickerOpen) {
|
|
@@ -4713,6 +4721,9 @@ let KRTable = class KRTable extends i$2 {
|
|
|
4713
4721
|
if (this.def.title) {
|
|
4714
4722
|
this._model.title = this.def.title;
|
|
4715
4723
|
}
|
|
4724
|
+
if (this.def.description) {
|
|
4725
|
+
this._model.description = this.def.description;
|
|
4726
|
+
}
|
|
4716
4727
|
if (this.def.actions) {
|
|
4717
4728
|
this._model.actions = this.def.actions;
|
|
4718
4729
|
}
|
|
@@ -4727,6 +4738,7 @@ let KRTable = class KRTable extends i$2 {
|
|
|
4727
4738
|
}
|
|
4728
4739
|
if (typeof this.def.pageSize === 'number') {
|
|
4729
4740
|
this._model.pageSize = this.def.pageSize;
|
|
4741
|
+
this._pageSize = this.def.pageSize;
|
|
4730
4742
|
}
|
|
4731
4743
|
if (this.def.rowClickable) {
|
|
4732
4744
|
this._model.rowClickable = this.def.rowClickable;
|
|
@@ -4784,6 +4796,7 @@ let KRTable = class KRTable extends i$2 {
|
|
|
4784
4796
|
}
|
|
4785
4797
|
}
|
|
4786
4798
|
updated(changedProperties) {
|
|
4799
|
+
this.classList.toggle('kr-table--card', this.variant === 'card');
|
|
4787
4800
|
this._updateScrollFlags();
|
|
4788
4801
|
this._syncSlottedContent();
|
|
4789
4802
|
}
|
|
@@ -5081,6 +5094,9 @@ let KRTable = class KRTable extends i$2 {
|
|
|
5081
5094
|
// Skip if already locked (prevents shifts on pagination changes)
|
|
5082
5095
|
if (this._searchPositionLocked)
|
|
5083
5096
|
return;
|
|
5097
|
+
// In card mode, search is left-aligned via CSS — no position locking needed
|
|
5098
|
+
if (this.variant === 'card')
|
|
5099
|
+
return;
|
|
5084
5100
|
const search = this.shadowRoot?.querySelector('.search');
|
|
5085
5101
|
const searchField = search?.querySelector('.search-field');
|
|
5086
5102
|
if (!search || !searchField)
|
|
@@ -5555,10 +5571,23 @@ let KRTable = class KRTable extends i$2 {
|
|
|
5555
5571
|
</div>
|
|
5556
5572
|
`;
|
|
5557
5573
|
}
|
|
5574
|
+
/** Renders the card title block (title + description) above the toolbar in card mode. */
|
|
5575
|
+
_renderCardHeader() {
|
|
5576
|
+
if (this.variant !== 'card')
|
|
5577
|
+
return A;
|
|
5578
|
+
if (!this._model.title && !this._model.description)
|
|
5579
|
+
return A;
|
|
5580
|
+
return b `
|
|
5581
|
+
<div class="card-header">
|
|
5582
|
+
${this._model.title ? b `<h2 class="card-header__title">${this._model.title}</h2>` : A}
|
|
5583
|
+
${this._model.description ? b `<p class="card-header__description">${this._model.description}</p>` : A}
|
|
5584
|
+
</div>
|
|
5585
|
+
`;
|
|
5586
|
+
}
|
|
5558
5587
|
/**
|
|
5559
5588
|
* Renders the header toolbar containing:
|
|
5560
|
-
* - Title (left)
|
|
5561
|
-
* - Search bar with view selector dropdown (center)
|
|
5589
|
+
* - Title (left, default variant only)
|
|
5590
|
+
* - Search bar with view selector dropdown (center, or left-aligned in card variant)
|
|
5562
5591
|
* - Tools (right): page navigation, refresh button, column visibility picker, actions dropdown
|
|
5563
5592
|
*
|
|
5564
5593
|
* Hidden when there's no title, no actions, and data fits on one page.
|
|
@@ -5569,7 +5598,7 @@ let KRTable = class KRTable extends i$2 {
|
|
|
5569
5598
|
}
|
|
5570
5599
|
return b `
|
|
5571
5600
|
<div class="header">
|
|
5572
|
-
|
|
5601
|
+
${this._model.title && this.variant !== 'card' ? b `<div class="title">${this._model.title}</div>` : A}
|
|
5573
5602
|
${this._model.dataSource?.mode === 'db' && !this._model.columns.some(col => col.searchable) ? b `<div class="search"></div>` : b `
|
|
5574
5603
|
<div class="search">
|
|
5575
5604
|
<!-- TODO: Saved views dropdown
|
|
@@ -5947,8 +5976,13 @@ let KRTable = class KRTable extends i$2 {
|
|
|
5947
5976
|
}
|
|
5948
5977
|
/** Renders the scrollable data grid with column headers and rows. */
|
|
5949
5978
|
_renderTable() {
|
|
5979
|
+
const wrapperStyle = {};
|
|
5980
|
+
if (this.variant === 'card') {
|
|
5981
|
+
// Reserve space for header row + pageSize data rows to prevent layout shift
|
|
5982
|
+
wrapperStyle['min-height'] = `${48 + (this._pageSize * 48)}px`;
|
|
5983
|
+
}
|
|
5950
5984
|
return b `
|
|
5951
|
-
<div class="wrapper">
|
|
5985
|
+
<div class="wrapper" style=${o$1(wrapperStyle)}>
|
|
5952
5986
|
<div class="overlay-left"></div>
|
|
5953
5987
|
<div class="overlay-right"></div>
|
|
5954
5988
|
${this._renderStatus()}
|
|
@@ -6016,6 +6050,7 @@ let KRTable = class KRTable extends i$2 {
|
|
|
6016
6050
|
return b `<slot></slot>`;
|
|
6017
6051
|
}
|
|
6018
6052
|
return b `
|
|
6053
|
+
${this._renderCardHeader()}
|
|
6019
6054
|
${this._renderHeader()}
|
|
6020
6055
|
${this._renderTable()}
|
|
6021
6056
|
${this._renderFilterPanel()}
|
|
@@ -6054,7 +6089,7 @@ KRTable.styles = [krBaseCSS, i$5 `
|
|
|
6054
6089
|
}
|
|
6055
6090
|
|
|
6056
6091
|
.title {
|
|
6057
|
-
font-size:
|
|
6092
|
+
font-size: 18px;
|
|
6058
6093
|
font-weight: 600;
|
|
6059
6094
|
color: #000;
|
|
6060
6095
|
}
|
|
@@ -6071,7 +6106,6 @@ KRTable.styles = [krBaseCSS, i$5 `
|
|
|
6071
6106
|
.content {
|
|
6072
6107
|
height: 100%;
|
|
6073
6108
|
overflow: auto;
|
|
6074
|
-
padding-bottom: 24px;
|
|
6075
6109
|
}
|
|
6076
6110
|
|
|
6077
6111
|
/* -------------------------------------------------------------------------
|
|
@@ -6085,6 +6119,11 @@ KRTable.styles = [krBaseCSS, i$5 `
|
|
|
6085
6119
|
min-width: 0;
|
|
6086
6120
|
}
|
|
6087
6121
|
|
|
6122
|
+
/* In card mode, align search left instead of center */
|
|
6123
|
+
:host(.kr-table--card) .search {
|
|
6124
|
+
justify-content: flex-start;
|
|
6125
|
+
}
|
|
6126
|
+
|
|
6088
6127
|
.search-field {
|
|
6089
6128
|
width: 100%;
|
|
6090
6129
|
max-width: 400px;
|
|
@@ -6879,60 +6918,105 @@ KRTable.styles = [krBaseCSS, i$5 `
|
|
|
6879
6918
|
padding: 16px;
|
|
6880
6919
|
}
|
|
6881
6920
|
|
|
6921
|
+
/* Card variant — self-contained card with border, auto height, left-aligned search */
|
|
6922
|
+
:host(.kr-table--card) {
|
|
6923
|
+
height: auto;
|
|
6924
|
+
/* overflow: visible; */
|
|
6925
|
+
overflow: hidden;
|
|
6926
|
+
/* border: 1px solid #e5e7eb; */
|
|
6927
|
+
/* border-radius: 8px; */
|
|
6928
|
+
border: 1px solid #c6c6cd;
|
|
6929
|
+
border-radius: 12px;
|
|
6930
|
+
background: #fff;
|
|
6931
|
+
}
|
|
6932
|
+
|
|
6933
|
+
.card-header {
|
|
6934
|
+
padding: 24px 24px 16px;
|
|
6935
|
+
}
|
|
6936
|
+
|
|
6937
|
+
.card-header__title {
|
|
6938
|
+
font-size: 18px;
|
|
6939
|
+
font-weight: 600;
|
|
6940
|
+
color: #1f2937;
|
|
6941
|
+
margin: 0;
|
|
6942
|
+
}
|
|
6943
|
+
|
|
6944
|
+
.card-header__description {
|
|
6945
|
+
font-size: 14px;
|
|
6946
|
+
color: #1f2937;
|
|
6947
|
+
margin: 12px 0 0;
|
|
6948
|
+
}
|
|
6949
|
+
|
|
6950
|
+
:host(.kr-table--card) .header {
|
|
6951
|
+
margin: 0 24px;
|
|
6952
|
+
}
|
|
6953
|
+
|
|
6954
|
+
:host(.kr-table--card) .wrapper {
|
|
6955
|
+
flex: none;
|
|
6956
|
+
overflow: visible;
|
|
6957
|
+
}
|
|
6958
|
+
|
|
6959
|
+
:host(.kr-table--card) .content {
|
|
6960
|
+
height: auto;
|
|
6961
|
+
}
|
|
6962
|
+
|
|
6882
6963
|
`];
|
|
6883
|
-
__decorate$
|
|
6964
|
+
__decorate$b([
|
|
6884
6965
|
r$1()
|
|
6885
6966
|
], KRTable.prototype, "_data", void 0);
|
|
6886
|
-
__decorate$
|
|
6967
|
+
__decorate$b([
|
|
6887
6968
|
r$1()
|
|
6888
6969
|
], KRTable.prototype, "_dataState", void 0);
|
|
6889
|
-
__decorate$
|
|
6970
|
+
__decorate$b([
|
|
6890
6971
|
r$1()
|
|
6891
6972
|
], KRTable.prototype, "_page", void 0);
|
|
6892
|
-
__decorate$
|
|
6973
|
+
__decorate$b([
|
|
6893
6974
|
r$1()
|
|
6894
6975
|
], KRTable.prototype, "_pageSize", void 0);
|
|
6895
|
-
__decorate$
|
|
6976
|
+
__decorate$b([
|
|
6896
6977
|
r$1()
|
|
6897
6978
|
], KRTable.prototype, "_totalItems", void 0);
|
|
6898
|
-
__decorate$
|
|
6979
|
+
__decorate$b([
|
|
6899
6980
|
r$1()
|
|
6900
6981
|
], KRTable.prototype, "_totalPages", void 0);
|
|
6901
|
-
__decorate$
|
|
6982
|
+
__decorate$b([
|
|
6902
6983
|
r$1()
|
|
6903
6984
|
], KRTable.prototype, "_searchQuery", void 0);
|
|
6904
|
-
__decorate$
|
|
6985
|
+
__decorate$b([
|
|
6905
6986
|
r$1()
|
|
6906
6987
|
], KRTable.prototype, "_canScrollLeft", void 0);
|
|
6907
|
-
__decorate$
|
|
6988
|
+
__decorate$b([
|
|
6908
6989
|
r$1()
|
|
6909
6990
|
], KRTable.prototype, "_canScrollRight", void 0);
|
|
6910
|
-
__decorate$
|
|
6991
|
+
__decorate$b([
|
|
6911
6992
|
r$1()
|
|
6912
6993
|
], KRTable.prototype, "_canScrollHorizontal", void 0);
|
|
6913
|
-
__decorate$
|
|
6994
|
+
__decorate$b([
|
|
6914
6995
|
r$1()
|
|
6915
6996
|
], KRTable.prototype, "_columnPickerOpen", void 0);
|
|
6916
|
-
__decorate$
|
|
6997
|
+
__decorate$b([
|
|
6917
6998
|
r$1()
|
|
6918
6999
|
], KRTable.prototype, "_filterPanelOpened", void 0);
|
|
6919
|
-
__decorate$
|
|
7000
|
+
__decorate$b([
|
|
6920
7001
|
r$1()
|
|
6921
7002
|
], KRTable.prototype, "_filterPanelTab", void 0);
|
|
6922
|
-
__decorate$
|
|
7003
|
+
__decorate$b([
|
|
6923
7004
|
r$1()
|
|
6924
7005
|
], KRTable.prototype, "_buckets", void 0);
|
|
6925
|
-
__decorate$
|
|
7006
|
+
__decorate$b([
|
|
6926
7007
|
r$1()
|
|
6927
7008
|
], KRTable.prototype, "_sorts", void 0);
|
|
6928
|
-
__decorate$
|
|
7009
|
+
__decorate$b([
|
|
6929
7010
|
n$1({ type: Object })
|
|
6930
7011
|
], KRTable.prototype, "def", void 0);
|
|
6931
|
-
|
|
7012
|
+
__decorate$b([
|
|
7013
|
+
n$1({ type: String, reflect: true })
|
|
7014
|
+
], KRTable.prototype, "variant", void 0);
|
|
7015
|
+
KRTable = __decorate$b([
|
|
6932
7016
|
t$1('kr-table')
|
|
6933
7017
|
], KRTable);
|
|
6934
7018
|
|
|
6935
|
-
var __decorate$
|
|
7019
|
+
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6936
7020
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6937
7021
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6938
7022
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -7052,17 +7136,17 @@ KRSpinner.styles = i$5 `
|
|
|
7052
7136
|
stroke-linecap: round;
|
|
7053
7137
|
}
|
|
7054
7138
|
`;
|
|
7055
|
-
__decorate$
|
|
7139
|
+
__decorate$a([
|
|
7056
7140
|
n$1({ type: String, reflect: true })
|
|
7057
7141
|
], KRSpinner.prototype, "size", void 0);
|
|
7058
|
-
__decorate$
|
|
7142
|
+
__decorate$a([
|
|
7059
7143
|
n$1({ type: String, reflect: true })
|
|
7060
7144
|
], KRSpinner.prototype, "color", void 0);
|
|
7061
|
-
KRSpinner = __decorate$
|
|
7145
|
+
KRSpinner = __decorate$a([
|
|
7062
7146
|
t$1('kr-spinner')
|
|
7063
7147
|
], KRSpinner);
|
|
7064
7148
|
|
|
7065
|
-
var __decorate$
|
|
7149
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7066
7150
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7067
7151
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7068
7152
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -7153,17 +7237,17 @@ KRProgressBar.styles = i$5 `
|
|
|
7153
7237
|
}
|
|
7154
7238
|
}
|
|
7155
7239
|
`;
|
|
7156
|
-
__decorate$
|
|
7240
|
+
__decorate$9([
|
|
7157
7241
|
n$1({ type: String, reflect: true })
|
|
7158
7242
|
], KRProgressBar.prototype, "color", void 0);
|
|
7159
|
-
__decorate$
|
|
7243
|
+
__decorate$9([
|
|
7160
7244
|
n$1({ type: String, reflect: true })
|
|
7161
7245
|
], KRProgressBar.prototype, "trackColor", void 0);
|
|
7162
|
-
KRProgressBar = __decorate$
|
|
7246
|
+
KRProgressBar = __decorate$9([
|
|
7163
7247
|
t$1('kr-progress-bar')
|
|
7164
7248
|
], KRProgressBar);
|
|
7165
7249
|
|
|
7166
|
-
var __decorate$
|
|
7250
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7167
7251
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7168
7252
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7169
7253
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -7631,23 +7715,23 @@ KRFilePreview.styles = i$5 `
|
|
|
7631
7715
|
}
|
|
7632
7716
|
`;
|
|
7633
7717
|
KRFilePreview._activePreview = null;
|
|
7634
|
-
__decorate$
|
|
7718
|
+
__decorate$8([
|
|
7635
7719
|
n$1({ type: String })
|
|
7636
7720
|
], KRFilePreview.prototype, "src", void 0);
|
|
7637
|
-
__decorate$
|
|
7721
|
+
__decorate$8([
|
|
7638
7722
|
n$1({ type: String })
|
|
7639
7723
|
], KRFilePreview.prototype, "name", void 0);
|
|
7640
|
-
__decorate$
|
|
7724
|
+
__decorate$8([
|
|
7641
7725
|
r$1()
|
|
7642
7726
|
], KRFilePreview.prototype, "_zoomLevel", void 0);
|
|
7643
|
-
__decorate$
|
|
7727
|
+
__decorate$8([
|
|
7644
7728
|
r$1()
|
|
7645
7729
|
], KRFilePreview.prototype, "_textContent", void 0);
|
|
7646
|
-
KRFilePreview = KRFilePreview_1 = __decorate$
|
|
7730
|
+
KRFilePreview = KRFilePreview_1 = __decorate$8([
|
|
7647
7731
|
t$1('kr-file-preview')
|
|
7648
7732
|
], KRFilePreview);
|
|
7649
7733
|
|
|
7650
|
-
var __decorate$
|
|
7734
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7651
7735
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7652
7736
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7653
7737
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -7890,13 +7974,13 @@ KRFileList.styles = i$5 `
|
|
|
7890
7974
|
padding: 20px;
|
|
7891
7975
|
}
|
|
7892
7976
|
`;
|
|
7893
|
-
__decorate$
|
|
7977
|
+
__decorate$7([
|
|
7894
7978
|
n$1({ type: Array })
|
|
7895
7979
|
], KRFileList.prototype, "files", void 0);
|
|
7896
|
-
__decorate$
|
|
7980
|
+
__decorate$7([
|
|
7897
7981
|
n$1({ type: String, attribute: 'empty-message' })
|
|
7898
7982
|
], KRFileList.prototype, "emptyMessage", void 0);
|
|
7899
|
-
KRFileList = __decorate$
|
|
7983
|
+
KRFileList = __decorate$7([
|
|
7900
7984
|
t$1('kr-file-list')
|
|
7901
7985
|
], KRFileList);
|
|
7902
7986
|
|
|
@@ -7918,7 +8002,7 @@ KRFileList = __decorate$6([
|
|
|
7918
8002
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7919
8003
|
*/const l=e$2(class extends i$1{constructor(r$1){if(super(r$1),r$1.type!==t.PROPERTY&&r$1.type!==t.ATTRIBUTE&&r$1.type!==t.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!r(r$1))throw Error("`live` bindings can only contain a single expression")}render(r){return r}update(i,[t$1]){if(t$1===E||t$1===A)return t$1;const o=i.element,l=i.name;if(i.type===t.PROPERTY){if(t$1===o[l])return E}else if(i.type===t.BOOLEAN_ATTRIBUTE){if(!!t$1===o.hasAttribute(l))return E}else if(i.type===t.ATTRIBUTE&&o.getAttribute(l)===t$1+"")return E;return p(i),t$1}});
|
|
7920
8004
|
|
|
7921
|
-
var __decorate$
|
|
8005
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7922
8006
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7923
8007
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7924
8008
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -8171,59 +8255,59 @@ KRTextField.styles = i$5 `
|
|
|
8171
8255
|
`;
|
|
8172
8256
|
// Enable form association
|
|
8173
8257
|
KRTextField.formAssociated = true;
|
|
8174
|
-
__decorate$
|
|
8258
|
+
__decorate$6([
|
|
8175
8259
|
n$1({ type: String })
|
|
8176
8260
|
], KRTextField.prototype, "label", void 0);
|
|
8177
|
-
__decorate$
|
|
8261
|
+
__decorate$6([
|
|
8178
8262
|
n$1({ type: String })
|
|
8179
8263
|
], KRTextField.prototype, "name", void 0);
|
|
8180
|
-
__decorate$
|
|
8264
|
+
__decorate$6([
|
|
8181
8265
|
n$1({ type: String })
|
|
8182
8266
|
], KRTextField.prototype, "value", void 0);
|
|
8183
|
-
__decorate$
|
|
8267
|
+
__decorate$6([
|
|
8184
8268
|
n$1({ type: String })
|
|
8185
8269
|
], KRTextField.prototype, "placeholder", void 0);
|
|
8186
|
-
__decorate$
|
|
8270
|
+
__decorate$6([
|
|
8187
8271
|
n$1({ type: String })
|
|
8188
8272
|
], KRTextField.prototype, "type", void 0);
|
|
8189
|
-
__decorate$
|
|
8273
|
+
__decorate$6([
|
|
8190
8274
|
n$1({ type: Boolean })
|
|
8191
8275
|
], KRTextField.prototype, "required", void 0);
|
|
8192
|
-
__decorate$
|
|
8276
|
+
__decorate$6([
|
|
8193
8277
|
n$1({ type: Boolean })
|
|
8194
8278
|
], KRTextField.prototype, "disabled", void 0);
|
|
8195
|
-
__decorate$
|
|
8279
|
+
__decorate$6([
|
|
8196
8280
|
n$1({ type: Boolean })
|
|
8197
8281
|
], KRTextField.prototype, "readonly", void 0);
|
|
8198
|
-
__decorate$
|
|
8282
|
+
__decorate$6([
|
|
8199
8283
|
n$1({ type: Number })
|
|
8200
8284
|
], KRTextField.prototype, "minlength", void 0);
|
|
8201
|
-
__decorate$
|
|
8285
|
+
__decorate$6([
|
|
8202
8286
|
n$1({ type: Number })
|
|
8203
8287
|
], KRTextField.prototype, "maxlength", void 0);
|
|
8204
|
-
__decorate$
|
|
8288
|
+
__decorate$6([
|
|
8205
8289
|
n$1({ type: String })
|
|
8206
8290
|
], KRTextField.prototype, "pattern", void 0);
|
|
8207
|
-
__decorate$
|
|
8291
|
+
__decorate$6([
|
|
8208
8292
|
n$1({ type: String })
|
|
8209
8293
|
], KRTextField.prototype, "autocomplete", void 0);
|
|
8210
|
-
__decorate$
|
|
8294
|
+
__decorate$6([
|
|
8211
8295
|
n$1({ type: String })
|
|
8212
8296
|
], KRTextField.prototype, "hint", void 0);
|
|
8213
|
-
__decorate$
|
|
8297
|
+
__decorate$6([
|
|
8214
8298
|
e$3('input')
|
|
8215
8299
|
], KRTextField.prototype, "_input", void 0);
|
|
8216
|
-
__decorate$
|
|
8300
|
+
__decorate$6([
|
|
8217
8301
|
r$1()
|
|
8218
8302
|
], KRTextField.prototype, "_touched", void 0);
|
|
8219
|
-
__decorate$
|
|
8303
|
+
__decorate$6([
|
|
8220
8304
|
r$1()
|
|
8221
8305
|
], KRTextField.prototype, "_dirty", void 0);
|
|
8222
|
-
KRTextField = __decorate$
|
|
8306
|
+
KRTextField = __decorate$6([
|
|
8223
8307
|
t$1('kr-text-field')
|
|
8224
8308
|
], KRTextField);
|
|
8225
8309
|
|
|
8226
|
-
var __decorate$
|
|
8310
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8227
8311
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8228
8312
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8229
8313
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -8481,59 +8565,59 @@ KRTextareaField.styles = i$5 `
|
|
|
8481
8565
|
`;
|
|
8482
8566
|
// Enable form association
|
|
8483
8567
|
KRTextareaField.formAssociated = true;
|
|
8484
|
-
__decorate$
|
|
8568
|
+
__decorate$5([
|
|
8485
8569
|
n$1({ type: String })
|
|
8486
8570
|
], KRTextareaField.prototype, "label", void 0);
|
|
8487
|
-
__decorate$
|
|
8571
|
+
__decorate$5([
|
|
8488
8572
|
n$1({ type: String })
|
|
8489
8573
|
], KRTextareaField.prototype, "name", void 0);
|
|
8490
|
-
__decorate$
|
|
8574
|
+
__decorate$5([
|
|
8491
8575
|
n$1({ type: String })
|
|
8492
8576
|
], KRTextareaField.prototype, "value", void 0);
|
|
8493
|
-
__decorate$
|
|
8577
|
+
__decorate$5([
|
|
8494
8578
|
n$1({ type: String })
|
|
8495
8579
|
], KRTextareaField.prototype, "placeholder", void 0);
|
|
8496
|
-
__decorate$
|
|
8580
|
+
__decorate$5([
|
|
8497
8581
|
n$1({ type: Boolean })
|
|
8498
8582
|
], KRTextareaField.prototype, "required", void 0);
|
|
8499
|
-
__decorate$
|
|
8583
|
+
__decorate$5([
|
|
8500
8584
|
n$1({ type: Boolean })
|
|
8501
8585
|
], KRTextareaField.prototype, "disabled", void 0);
|
|
8502
|
-
__decorate$
|
|
8586
|
+
__decorate$5([
|
|
8503
8587
|
n$1({ type: Boolean })
|
|
8504
8588
|
], KRTextareaField.prototype, "readonly", void 0);
|
|
8505
|
-
__decorate$
|
|
8589
|
+
__decorate$5([
|
|
8506
8590
|
n$1({ type: Number })
|
|
8507
8591
|
], KRTextareaField.prototype, "rows", void 0);
|
|
8508
|
-
__decorate$
|
|
8592
|
+
__decorate$5([
|
|
8509
8593
|
n$1({ type: Number })
|
|
8510
8594
|
], KRTextareaField.prototype, "cols", void 0);
|
|
8511
|
-
__decorate$
|
|
8595
|
+
__decorate$5([
|
|
8512
8596
|
n$1({ type: Number })
|
|
8513
8597
|
], KRTextareaField.prototype, "minlength", void 0);
|
|
8514
|
-
__decorate$
|
|
8598
|
+
__decorate$5([
|
|
8515
8599
|
n$1({ type: Number })
|
|
8516
8600
|
], KRTextareaField.prototype, "maxlength", void 0);
|
|
8517
|
-
__decorate$
|
|
8601
|
+
__decorate$5([
|
|
8518
8602
|
n$1({ type: String })
|
|
8519
8603
|
], KRTextareaField.prototype, "autocomplete", void 0);
|
|
8520
|
-
__decorate$
|
|
8604
|
+
__decorate$5([
|
|
8521
8605
|
n$1({ type: String })
|
|
8522
8606
|
], KRTextareaField.prototype, "hint", void 0);
|
|
8523
|
-
__decorate$
|
|
8607
|
+
__decorate$5([
|
|
8524
8608
|
e$3('textarea')
|
|
8525
8609
|
], KRTextareaField.prototype, "_textarea", void 0);
|
|
8526
|
-
__decorate$
|
|
8610
|
+
__decorate$5([
|
|
8527
8611
|
r$1()
|
|
8528
8612
|
], KRTextareaField.prototype, "_touched", void 0);
|
|
8529
|
-
__decorate$
|
|
8613
|
+
__decorate$5([
|
|
8530
8614
|
r$1()
|
|
8531
8615
|
], KRTextareaField.prototype, "_dirty", void 0);
|
|
8532
|
-
KRTextareaField = __decorate$
|
|
8616
|
+
KRTextareaField = __decorate$5([
|
|
8533
8617
|
t$1('kr-textarea-field')
|
|
8534
8618
|
], KRTextareaField);
|
|
8535
8619
|
|
|
8536
|
-
var __decorate$
|
|
8620
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8537
8621
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8538
8622
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8539
8623
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -8590,17 +8674,17 @@ KRDetailField.styles = i$5 `
|
|
|
8590
8674
|
color: black;
|
|
8591
8675
|
}
|
|
8592
8676
|
`;
|
|
8593
|
-
__decorate$
|
|
8677
|
+
__decorate$4([
|
|
8594
8678
|
n$1({ type: String })
|
|
8595
8679
|
], KRDetailField.prototype, "label", void 0);
|
|
8596
|
-
__decorate$
|
|
8680
|
+
__decorate$4([
|
|
8597
8681
|
n$1({ type: String })
|
|
8598
8682
|
], KRDetailField.prototype, "value", void 0);
|
|
8599
|
-
KRDetailField = __decorate$
|
|
8683
|
+
KRDetailField = __decorate$4([
|
|
8600
8684
|
t$1('kr-detail-field')
|
|
8601
8685
|
], KRDetailField);
|
|
8602
8686
|
|
|
8603
|
-
var __decorate$
|
|
8687
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8604
8688
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8605
8689
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8606
8690
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9096,53 +9180,53 @@ KRAutoSuggest.styles = i$5 `
|
|
|
9096
9180
|
}
|
|
9097
9181
|
`;
|
|
9098
9182
|
KRAutoSuggest.formAssociated = true;
|
|
9099
|
-
__decorate$
|
|
9183
|
+
__decorate$3([
|
|
9100
9184
|
n$1({ type: String })
|
|
9101
9185
|
], KRAutoSuggest.prototype, "label", void 0);
|
|
9102
|
-
__decorate$
|
|
9186
|
+
__decorate$3([
|
|
9103
9187
|
n$1({ type: String })
|
|
9104
9188
|
], KRAutoSuggest.prototype, "name", void 0);
|
|
9105
|
-
__decorate$
|
|
9189
|
+
__decorate$3([
|
|
9106
9190
|
n$1({ type: String })
|
|
9107
9191
|
], KRAutoSuggest.prototype, "value", void 0);
|
|
9108
|
-
__decorate$
|
|
9192
|
+
__decorate$3([
|
|
9109
9193
|
n$1({ type: String })
|
|
9110
9194
|
], KRAutoSuggest.prototype, "placeholder", void 0);
|
|
9111
|
-
__decorate$
|
|
9195
|
+
__decorate$3([
|
|
9112
9196
|
n$1({ type: Boolean })
|
|
9113
9197
|
], KRAutoSuggest.prototype, "disabled", void 0);
|
|
9114
|
-
__decorate$
|
|
9198
|
+
__decorate$3([
|
|
9115
9199
|
n$1({ type: Boolean })
|
|
9116
9200
|
], KRAutoSuggest.prototype, "readonly", void 0);
|
|
9117
|
-
__decorate$
|
|
9201
|
+
__decorate$3([
|
|
9118
9202
|
n$1({ type: Boolean })
|
|
9119
9203
|
], KRAutoSuggest.prototype, "required", void 0);
|
|
9120
|
-
__decorate$
|
|
9204
|
+
__decorate$3([
|
|
9121
9205
|
n$1({ type: String })
|
|
9122
9206
|
], KRAutoSuggest.prototype, "hint", void 0);
|
|
9123
|
-
__decorate$
|
|
9207
|
+
__decorate$3([
|
|
9124
9208
|
n$1({ type: Array })
|
|
9125
9209
|
], KRAutoSuggest.prototype, "options", void 0);
|
|
9126
|
-
__decorate$
|
|
9210
|
+
__decorate$3([
|
|
9127
9211
|
n$1({ attribute: false })
|
|
9128
9212
|
], KRAutoSuggest.prototype, "fetch", void 0);
|
|
9129
|
-
__decorate$
|
|
9213
|
+
__decorate$3([
|
|
9130
9214
|
r$1()
|
|
9131
9215
|
], KRAutoSuggest.prototype, "_isOpen", void 0);
|
|
9132
|
-
__decorate$
|
|
9216
|
+
__decorate$3([
|
|
9133
9217
|
r$1()
|
|
9134
9218
|
], KRAutoSuggest.prototype, "_highlightedIndex", void 0);
|
|
9135
|
-
__decorate$
|
|
9219
|
+
__decorate$3([
|
|
9136
9220
|
r$1()
|
|
9137
9221
|
], KRAutoSuggest.prototype, "_touched", void 0);
|
|
9138
|
-
__decorate$
|
|
9222
|
+
__decorate$3([
|
|
9139
9223
|
e$3('input')
|
|
9140
9224
|
], KRAutoSuggest.prototype, "_input", void 0);
|
|
9141
|
-
KRAutoSuggest = __decorate$
|
|
9225
|
+
KRAutoSuggest = __decorate$3([
|
|
9142
9226
|
t$1('kr-auto-suggest')
|
|
9143
9227
|
], KRAutoSuggest);
|
|
9144
9228
|
|
|
9145
|
-
var __decorate$
|
|
9229
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
9146
9230
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9147
9231
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9148
9232
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9800,71 +9884,71 @@ KRComboBox.styles = i$5 `
|
|
|
9800
9884
|
}
|
|
9801
9885
|
`;
|
|
9802
9886
|
KRComboBox.formAssociated = true;
|
|
9803
|
-
__decorate$
|
|
9887
|
+
__decorate$2([
|
|
9804
9888
|
n$1({ type: String })
|
|
9805
9889
|
], KRComboBox.prototype, "label", void 0);
|
|
9806
|
-
__decorate$
|
|
9890
|
+
__decorate$2([
|
|
9807
9891
|
n$1({ type: String })
|
|
9808
9892
|
], KRComboBox.prototype, "name", void 0);
|
|
9809
|
-
__decorate$
|
|
9893
|
+
__decorate$2([
|
|
9810
9894
|
n$1({ type: String })
|
|
9811
9895
|
], KRComboBox.prototype, "value", void 0);
|
|
9812
|
-
__decorate$
|
|
9896
|
+
__decorate$2([
|
|
9813
9897
|
n$1({ type: String })
|
|
9814
9898
|
], KRComboBox.prototype, "placeholder", void 0);
|
|
9815
|
-
__decorate$
|
|
9899
|
+
__decorate$2([
|
|
9816
9900
|
n$1({ type: Boolean })
|
|
9817
9901
|
], KRComboBox.prototype, "disabled", void 0);
|
|
9818
|
-
__decorate$
|
|
9902
|
+
__decorate$2([
|
|
9819
9903
|
n$1({ type: Boolean })
|
|
9820
9904
|
], KRComboBox.prototype, "readonly", void 0);
|
|
9821
|
-
__decorate$
|
|
9905
|
+
__decorate$2([
|
|
9822
9906
|
n$1({ type: Boolean })
|
|
9823
9907
|
], KRComboBox.prototype, "required", void 0);
|
|
9824
|
-
__decorate$
|
|
9908
|
+
__decorate$2([
|
|
9825
9909
|
n$1({ type: String })
|
|
9826
9910
|
], KRComboBox.prototype, "hint", void 0);
|
|
9827
|
-
__decorate$
|
|
9911
|
+
__decorate$2([
|
|
9828
9912
|
n$1({ attribute: 'option-value' })
|
|
9829
9913
|
], KRComboBox.prototype, "optionValue", void 0);
|
|
9830
|
-
__decorate$
|
|
9914
|
+
__decorate$2([
|
|
9831
9915
|
n$1({ attribute: 'option-label' })
|
|
9832
9916
|
], KRComboBox.prototype, "optionLabel", void 0);
|
|
9833
|
-
__decorate$
|
|
9917
|
+
__decorate$2([
|
|
9834
9918
|
n$1({ type: Array })
|
|
9835
9919
|
], KRComboBox.prototype, "options", void 0);
|
|
9836
|
-
__decorate$
|
|
9920
|
+
__decorate$2([
|
|
9837
9921
|
n$1({ attribute: false })
|
|
9838
9922
|
], KRComboBox.prototype, "fetch", void 0);
|
|
9839
|
-
__decorate$
|
|
9923
|
+
__decorate$2([
|
|
9840
9924
|
n$1({ attribute: false })
|
|
9841
9925
|
], KRComboBox.prototype, "fetchSelection", void 0);
|
|
9842
|
-
__decorate$
|
|
9926
|
+
__decorate$2([
|
|
9843
9927
|
r$1()
|
|
9844
9928
|
], KRComboBox.prototype, "_isOpen", void 0);
|
|
9845
|
-
__decorate$
|
|
9929
|
+
__decorate$2([
|
|
9846
9930
|
r$1()
|
|
9847
9931
|
], KRComboBox.prototype, "_highlightedIndex", void 0);
|
|
9848
|
-
__decorate$
|
|
9932
|
+
__decorate$2([
|
|
9849
9933
|
r$1()
|
|
9850
9934
|
], KRComboBox.prototype, "_touched", void 0);
|
|
9851
|
-
__decorate$
|
|
9935
|
+
__decorate$2([
|
|
9852
9936
|
r$1()
|
|
9853
9937
|
], KRComboBox.prototype, "_searchQuery", void 0);
|
|
9854
|
-
__decorate$
|
|
9938
|
+
__decorate$2([
|
|
9855
9939
|
r$1()
|
|
9856
9940
|
], KRComboBox.prototype, "_loading", void 0);
|
|
9857
|
-
__decorate$
|
|
9941
|
+
__decorate$2([
|
|
9858
9942
|
e$3('.trigger')
|
|
9859
9943
|
], KRComboBox.prototype, "_triggerElement", void 0);
|
|
9860
|
-
__decorate$
|
|
9944
|
+
__decorate$2([
|
|
9861
9945
|
e$3('.search__input')
|
|
9862
9946
|
], KRComboBox.prototype, "_searchInput", void 0);
|
|
9863
|
-
KRComboBox = __decorate$
|
|
9947
|
+
KRComboBox = __decorate$2([
|
|
9864
9948
|
t$1('kr-combo-box')
|
|
9865
9949
|
], KRComboBox);
|
|
9866
9950
|
|
|
9867
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
9951
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
9868
9952
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9869
9953
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9870
9954
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -10216,36 +10300,335 @@ KRRadioCards.styles = [krBaseCSS, i$5 `
|
|
|
10216
10300
|
}
|
|
10217
10301
|
`];
|
|
10218
10302
|
KRRadioCards.formAssociated = true;
|
|
10219
|
-
__decorate([
|
|
10303
|
+
__decorate$1([
|
|
10220
10304
|
n$1({ type: String })
|
|
10221
10305
|
], KRRadioCards.prototype, "label", void 0);
|
|
10222
|
-
__decorate([
|
|
10306
|
+
__decorate$1([
|
|
10223
10307
|
n$1({ type: String })
|
|
10224
10308
|
], KRRadioCards.prototype, "name", void 0);
|
|
10225
|
-
__decorate([
|
|
10309
|
+
__decorate$1([
|
|
10226
10310
|
n$1({ type: String })
|
|
10227
10311
|
], KRRadioCards.prototype, "value", void 0);
|
|
10228
|
-
__decorate([
|
|
10312
|
+
__decorate$1([
|
|
10229
10313
|
n$1({ attribute: false })
|
|
10230
10314
|
], KRRadioCards.prototype, "options", void 0);
|
|
10231
|
-
__decorate([
|
|
10315
|
+
__decorate$1([
|
|
10232
10316
|
n$1({ type: Boolean })
|
|
10233
10317
|
], KRRadioCards.prototype, "disabled", void 0);
|
|
10234
|
-
__decorate([
|
|
10318
|
+
__decorate$1([
|
|
10235
10319
|
n$1({ type: Boolean })
|
|
10236
10320
|
], KRRadioCards.prototype, "required", void 0);
|
|
10237
|
-
__decorate([
|
|
10321
|
+
__decorate$1([
|
|
10238
10322
|
n$1({ type: String })
|
|
10239
10323
|
], KRRadioCards.prototype, "hint", void 0);
|
|
10240
|
-
__decorate([
|
|
10324
|
+
__decorate$1([
|
|
10241
10325
|
n$1({ type: String })
|
|
10242
10326
|
], KRRadioCards.prototype, "direction", void 0);
|
|
10243
|
-
__decorate([
|
|
10327
|
+
__decorate$1([
|
|
10244
10328
|
r$1()
|
|
10245
10329
|
], KRRadioCards.prototype, "_touched", void 0);
|
|
10246
|
-
KRRadioCards = __decorate([
|
|
10330
|
+
KRRadioCards = __decorate$1([
|
|
10247
10331
|
t$1('kr-radio-cards')
|
|
10248
10332
|
], KRRadioCards);
|
|
10249
10333
|
|
|
10250
|
-
|
|
10334
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10335
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10336
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10337
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10338
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10339
|
+
};
|
|
10340
|
+
/**
|
|
10341
|
+
* A checkbox component that works with native browser forms.
|
|
10342
|
+
*
|
|
10343
|
+
* Uses ElementInternals for form association, allowing the component
|
|
10344
|
+
* to participate in form submission, validation, and reset.
|
|
10345
|
+
*
|
|
10346
|
+
* @element kr-checkbox
|
|
10347
|
+
* @fires change - Fired when the checked state changes
|
|
10348
|
+
*/
|
|
10349
|
+
let KRCheckbox = class KRCheckbox extends i$2 {
|
|
10350
|
+
constructor() {
|
|
10351
|
+
super();
|
|
10352
|
+
/**
|
|
10353
|
+
* The checkbox label text
|
|
10354
|
+
*/
|
|
10355
|
+
this.label = '';
|
|
10356
|
+
/**
|
|
10357
|
+
* The input name for form submission
|
|
10358
|
+
*/
|
|
10359
|
+
this.name = '';
|
|
10360
|
+
/**
|
|
10361
|
+
* The value submitted when checked
|
|
10362
|
+
*/
|
|
10363
|
+
this.value = 'on';
|
|
10364
|
+
/**
|
|
10365
|
+
* Whether the checkbox is checked
|
|
10366
|
+
*/
|
|
10367
|
+
this.checked = false;
|
|
10368
|
+
/**
|
|
10369
|
+
* Whether the checkbox is disabled
|
|
10370
|
+
*/
|
|
10371
|
+
this.disabled = false;
|
|
10372
|
+
/**
|
|
10373
|
+
* Whether the checkbox is required
|
|
10374
|
+
*/
|
|
10375
|
+
this.required = false;
|
|
10376
|
+
/**
|
|
10377
|
+
* Helper text shown below the checkbox
|
|
10378
|
+
*/
|
|
10379
|
+
this.hint = '';
|
|
10380
|
+
this._touched = false;
|
|
10381
|
+
this._handleInvalid = (e) => {
|
|
10382
|
+
e.preventDefault();
|
|
10383
|
+
this._touched = true;
|
|
10384
|
+
};
|
|
10385
|
+
this._internals = this.attachInternals();
|
|
10386
|
+
}
|
|
10387
|
+
// Form-associated custom element callbacks
|
|
10388
|
+
get form() {
|
|
10389
|
+
return this._internals.form;
|
|
10390
|
+
}
|
|
10391
|
+
get validity() {
|
|
10392
|
+
return this._internals.validity;
|
|
10393
|
+
}
|
|
10394
|
+
get validationMessage() {
|
|
10395
|
+
return this._internals.validationMessage;
|
|
10396
|
+
}
|
|
10397
|
+
get willValidate() {
|
|
10398
|
+
return this._internals.willValidate;
|
|
10399
|
+
}
|
|
10400
|
+
checkValidity() {
|
|
10401
|
+
return this._internals.checkValidity();
|
|
10402
|
+
}
|
|
10403
|
+
reportValidity() {
|
|
10404
|
+
return this._internals.reportValidity();
|
|
10405
|
+
}
|
|
10406
|
+
formResetCallback() {
|
|
10407
|
+
this.checked = false;
|
|
10408
|
+
this._touched = false;
|
|
10409
|
+
this._internals.setFormValue('');
|
|
10410
|
+
this._internals.setValidity({});
|
|
10411
|
+
}
|
|
10412
|
+
formStateRestoreCallback(state) {
|
|
10413
|
+
this.checked = state === this.value;
|
|
10414
|
+
}
|
|
10415
|
+
connectedCallback() {
|
|
10416
|
+
super.connectedCallback();
|
|
10417
|
+
this.addEventListener('invalid', this._handleInvalid);
|
|
10418
|
+
}
|
|
10419
|
+
disconnectedCallback() {
|
|
10420
|
+
super.disconnectedCallback();
|
|
10421
|
+
this.removeEventListener('invalid', this._handleInvalid);
|
|
10422
|
+
}
|
|
10423
|
+
firstUpdated() {
|
|
10424
|
+
this._syncFormValue();
|
|
10425
|
+
this._updateValidity();
|
|
10426
|
+
}
|
|
10427
|
+
updated(changedProperties) {
|
|
10428
|
+
if (changedProperties.has('checked') || changedProperties.has('value')) {
|
|
10429
|
+
this._syncFormValue();
|
|
10430
|
+
}
|
|
10431
|
+
if (changedProperties.has('required') || changedProperties.has('checked')) {
|
|
10432
|
+
this._updateValidity();
|
|
10433
|
+
}
|
|
10434
|
+
}
|
|
10435
|
+
_syncFormValue() {
|
|
10436
|
+
if (this.checked) {
|
|
10437
|
+
this._internals.setFormValue(this.value);
|
|
10438
|
+
}
|
|
10439
|
+
else {
|
|
10440
|
+
this._internals.setFormValue('');
|
|
10441
|
+
}
|
|
10442
|
+
}
|
|
10443
|
+
_updateValidity() {
|
|
10444
|
+
if (this.required && !this.checked) {
|
|
10445
|
+
this._internals.setValidity({ valueMissing: true }, 'This field is required');
|
|
10446
|
+
}
|
|
10447
|
+
else {
|
|
10448
|
+
this._internals.setValidity({});
|
|
10449
|
+
}
|
|
10450
|
+
}
|
|
10451
|
+
_handleClick(e) {
|
|
10452
|
+
if (this.disabled) {
|
|
10453
|
+
return;
|
|
10454
|
+
}
|
|
10455
|
+
this.checked = !this.checked;
|
|
10456
|
+
this._touched = true;
|
|
10457
|
+
this.dispatchEvent(new Event('change', { bubbles: true, composed: true }));
|
|
10458
|
+
}
|
|
10459
|
+
_handleKeyDown(e) {
|
|
10460
|
+
if (this.disabled) {
|
|
10461
|
+
return;
|
|
10462
|
+
}
|
|
10463
|
+
if (e.key === ' ' || e.key === 'Enter') {
|
|
10464
|
+
e.preventDefault();
|
|
10465
|
+
this._handleClick(e);
|
|
10466
|
+
}
|
|
10467
|
+
}
|
|
10468
|
+
render() {
|
|
10469
|
+
return b `
|
|
10470
|
+
<div class="wrapper">
|
|
10471
|
+
<div
|
|
10472
|
+
class=${e$1({
|
|
10473
|
+
'checkbox': true,
|
|
10474
|
+
'checkbox--disabled': this.disabled,
|
|
10475
|
+
})}
|
|
10476
|
+
role="checkbox"
|
|
10477
|
+
aria-checked=${this.checked}
|
|
10478
|
+
aria-disabled=${this.disabled}
|
|
10479
|
+
aria-label=${this.label}
|
|
10480
|
+
tabindex=${this.disabled ? -1 : 0}
|
|
10481
|
+
@click=${this._handleClick}
|
|
10482
|
+
@keydown=${this._handleKeyDown}
|
|
10483
|
+
>
|
|
10484
|
+
<div class=${e$1({
|
|
10485
|
+
'checkbox__box': true,
|
|
10486
|
+
'checkbox__box--checked': this.checked,
|
|
10487
|
+
'checkbox__box--invalid': this._touched && this.required && !this.checked,
|
|
10488
|
+
})}>
|
|
10489
|
+
<svg class=${e$1({
|
|
10490
|
+
'checkbox__check': true,
|
|
10491
|
+
'checkbox__check--hidden': !this.checked,
|
|
10492
|
+
})} viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
|
|
10493
|
+
<polyline points="20 6 9 17 4 12"></polyline>
|
|
10494
|
+
</svg>
|
|
10495
|
+
</div>
|
|
10496
|
+
${this.label
|
|
10497
|
+
? b `
|
|
10498
|
+
<span class="checkbox__label">
|
|
10499
|
+
${this.label}
|
|
10500
|
+
${this.required ? b `<span class="required" aria-hidden="true">*</span>` : A}
|
|
10501
|
+
</span>
|
|
10502
|
+
`
|
|
10503
|
+
: A}
|
|
10504
|
+
</div>
|
|
10505
|
+
${this._touched && this.required && !this.checked
|
|
10506
|
+
? b `<div class="validation-message">This field is required</div>`
|
|
10507
|
+
: this.hint
|
|
10508
|
+
? b `<div class="hint">${this.hint}</div>`
|
|
10509
|
+
: A}
|
|
10510
|
+
</div>
|
|
10511
|
+
`;
|
|
10512
|
+
}
|
|
10513
|
+
focus() {
|
|
10514
|
+
this.shadowRoot?.querySelector('.checkbox')?.focus();
|
|
10515
|
+
}
|
|
10516
|
+
blur() {
|
|
10517
|
+
this.shadowRoot?.querySelector('.checkbox')?.blur();
|
|
10518
|
+
}
|
|
10519
|
+
};
|
|
10520
|
+
KRCheckbox.styles = [krBaseCSS, i$5 `
|
|
10521
|
+
:host {
|
|
10522
|
+
display: inline-block;
|
|
10523
|
+
font-family: inherit;
|
|
10524
|
+
}
|
|
10525
|
+
|
|
10526
|
+
.wrapper {
|
|
10527
|
+
display: flex;
|
|
10528
|
+
flex-direction: column;
|
|
10529
|
+
gap: 6px;
|
|
10530
|
+
}
|
|
10531
|
+
|
|
10532
|
+
.checkbox {
|
|
10533
|
+
display: inline-flex;
|
|
10534
|
+
align-items: center;
|
|
10535
|
+
gap: 8px;
|
|
10536
|
+
cursor: pointer;
|
|
10537
|
+
}
|
|
10538
|
+
|
|
10539
|
+
.checkbox--disabled {
|
|
10540
|
+
opacity: 0.5;
|
|
10541
|
+
cursor: not-allowed;
|
|
10542
|
+
}
|
|
10543
|
+
|
|
10544
|
+
.checkbox__box {
|
|
10545
|
+
flex-shrink: 0;
|
|
10546
|
+
width: 18px;
|
|
10547
|
+
height: 18px;
|
|
10548
|
+
border: 2px solid var(--kr-checkbox-border-color, #0000003d);
|
|
10549
|
+
border-radius: 4px;
|
|
10550
|
+
background-color: var(--kr-checkbox-bg, #fff);
|
|
10551
|
+
display: flex;
|
|
10552
|
+
align-items: center;
|
|
10553
|
+
justify-content: center;
|
|
10554
|
+
transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
|
|
10555
|
+
}
|
|
10556
|
+
|
|
10557
|
+
.checkbox:focus-visible .checkbox__box {
|
|
10558
|
+
outline: none;
|
|
10559
|
+
box-shadow: 0 0 0 3px rgba(22, 48, 82, 0.1);
|
|
10560
|
+
}
|
|
10561
|
+
|
|
10562
|
+
.checkbox__box--checked {
|
|
10563
|
+
border-color: var(--kr-checkbox-checked-border-color, var(--kr-primary));
|
|
10564
|
+
background-color: var(--kr-checkbox-checked-bg, var(--kr-primary));
|
|
10565
|
+
}
|
|
10566
|
+
|
|
10567
|
+
.checkbox__box--invalid {
|
|
10568
|
+
border-color: var(--kr-checkbox-error-border-color, #ef4444);
|
|
10569
|
+
}
|
|
10570
|
+
|
|
10571
|
+
.checkbox__check {
|
|
10572
|
+
width: 12px;
|
|
10573
|
+
height: 12px;
|
|
10574
|
+
color: var(--kr-checkbox-check-color, #fff);
|
|
10575
|
+
}
|
|
10576
|
+
|
|
10577
|
+
.checkbox__check--hidden {
|
|
10578
|
+
visibility: hidden;
|
|
10579
|
+
}
|
|
10580
|
+
|
|
10581
|
+
.checkbox__label {
|
|
10582
|
+
font-size: 14px;
|
|
10583
|
+
color: var(--kr-checkbox-label-color, #000);
|
|
10584
|
+
user-select: none;
|
|
10585
|
+
}
|
|
10586
|
+
|
|
10587
|
+
.required {
|
|
10588
|
+
color: var(--kr-checkbox-required-color, #ef4444);
|
|
10589
|
+
margin-left: 0.125rem;
|
|
10590
|
+
}
|
|
10591
|
+
|
|
10592
|
+
.hint {
|
|
10593
|
+
font-size: 0.75rem;
|
|
10594
|
+
color: var(--kr-checkbox-helper-color, #6b7280);
|
|
10595
|
+
margin-left: 26px;
|
|
10596
|
+
}
|
|
10597
|
+
|
|
10598
|
+
.validation-message {
|
|
10599
|
+
font-size: 0.75rem;
|
|
10600
|
+
color: var(--kr-checkbox-error-color, #ef4444);
|
|
10601
|
+
margin-left: 26px;
|
|
10602
|
+
}
|
|
10603
|
+
`];
|
|
10604
|
+
KRCheckbox.formAssociated = true;
|
|
10605
|
+
__decorate([
|
|
10606
|
+
n$1({ type: String })
|
|
10607
|
+
], KRCheckbox.prototype, "label", void 0);
|
|
10608
|
+
__decorate([
|
|
10609
|
+
n$1({ type: String })
|
|
10610
|
+
], KRCheckbox.prototype, "name", void 0);
|
|
10611
|
+
__decorate([
|
|
10612
|
+
n$1({ type: String })
|
|
10613
|
+
], KRCheckbox.prototype, "value", void 0);
|
|
10614
|
+
__decorate([
|
|
10615
|
+
n$1({ type: Boolean })
|
|
10616
|
+
], KRCheckbox.prototype, "checked", void 0);
|
|
10617
|
+
__decorate([
|
|
10618
|
+
n$1({ type: Boolean })
|
|
10619
|
+
], KRCheckbox.prototype, "disabled", void 0);
|
|
10620
|
+
__decorate([
|
|
10621
|
+
n$1({ type: Boolean })
|
|
10622
|
+
], KRCheckbox.prototype, "required", void 0);
|
|
10623
|
+
__decorate([
|
|
10624
|
+
n$1({ type: String })
|
|
10625
|
+
], KRCheckbox.prototype, "hint", void 0);
|
|
10626
|
+
__decorate([
|
|
10627
|
+
r$1()
|
|
10628
|
+
], KRCheckbox.prototype, "_touched", void 0);
|
|
10629
|
+
KRCheckbox = __decorate([
|
|
10630
|
+
t$1('kr-checkbox')
|
|
10631
|
+
], KRCheckbox);
|
|
10632
|
+
|
|
10633
|
+
export { KRAccordion, KRAlert, KRAutoSuggest, KRButton, KRCheckbox, KRCodeDemo, KRComboBox, KRContextMenu, KRDateRangePicker, KRDialog, KRDialogRef, KRFileList, KRFilePreview, KRProgressBar, KRQuery, KRRadioCards, KRSelectField, KRSelectOption, KRSnackbar, KRSpinner, KRTab, KRTabGroup, KRTable, KRTextField, KRTextareaField, KR_OPERATORS, getOperatorsForType, krBaseCSS };
|
|
10251
10634
|
//# sourceMappingURL=krubble-components.bundled.js.map
|