@cscfi/csc-ui 3.0.18 → 3.0.19
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/c-text-field-open.cjs.entry.js +152 -0
- package/dist/cjs/c-text-field-open.cjs.entry.js.map +1 -0
- package/dist/cjs/c-text-field-open.entry.cjs.js.map +1 -0
- package/dist/cjs/csc-ui.cjs.js +1 -1
- package/dist/cjs/index-BTBT6v3v.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/c-text-field-open/c-text-field-open.css +81 -0
- package/dist/collection/components/c-text-field-open/c-text-field-open.js +718 -0
- package/dist/collection/components/c-text-field-open/c-text-field-open.js.map +1 -0
- package/dist/components/c-text-field-open.d.ts +11 -0
- package/dist/components/c-text-field-open.js +204 -0
- package/dist/components/c-text-field-open.js.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/csc-ui/c-text-field-open.entry.esm.js.map +1 -0
- package/dist/csc-ui/csc-ui.esm.js +1 -1
- package/dist/csc-ui/{p-781cde9c.entry.js → p-04f010cd.entry.js} +2 -2
- package/dist/csc-ui/{p-ad4cba6c.entry.js → p-13976903.entry.js} +2 -2
- package/dist/csc-ui/{p-74dfa0e1.entry.js → p-2acf252a.entry.js} +2 -2
- package/dist/csc-ui/p-9806cee5.entry.js +2 -0
- package/dist/csc-ui/p-9806cee5.entry.js.map +1 -0
- package/dist/csc-ui/{p-Cb-CImk5.js → p-RscoPQxP.js} +2 -2
- package/dist/csc-ui/{p-Cb-CImk5.js.map → p-RscoPQxP.js.map} +1 -1
- package/dist/csc-ui/{p-82038174.entry.js → p-a0129d80.entry.js} +2 -2
- package/dist/csc-ui/{p-516daf81.entry.js → p-b0e03fea.entry.js} +2 -2
- package/dist/csc-ui/p-cbafc9a2.entry.js +2 -0
- package/dist/csc-ui/{p-73c56177.entry.js.map → p-cbafc9a2.entry.js.map} +1 -1
- package/dist/csc-ui/p-e1cec030.entry.js +2 -0
- package/dist/csc-ui/{p-2b012d43.entry.js.map → p-e1cec030.entry.js.map} +1 -1
- package/dist/csc-ui/{p-3ab98b9a.entry.js → p-e48d90fa.entry.js} +2 -2
- package/dist/csc-ui/{p-0b56450b.entry.js → p-ea26b8b0.entry.js} +2 -2
- package/dist/csc-ui/{p-0e4d4890.entry.js → p-f62b6b95.entry.js} +2 -2
- package/dist/esm/c-accordion-item.entry.js +1 -1
- package/dist/esm/c-alert.entry.js +1 -1
- package/dist/esm/c-autocomplete_35.entry.js +1 -1
- package/dist/esm/c-data-table.entry.js +1 -1
- package/dist/esm/c-menu_2.entry.js +1 -1
- package/dist/esm/c-pagination.entry.js +1 -1
- package/dist/esm/c-swiper.entry.js +1 -1
- package/dist/esm/c-tabs.entry.js +1 -1
- package/dist/esm/c-tag.entry.js +1 -1
- package/dist/esm/c-text-field-open.entry.js +150 -0
- package/dist/esm/c-text-field-open.entry.js.map +1 -0
- package/dist/esm/c-toast.entry.js +1 -1
- package/dist/esm/csc-ui.js +1 -1
- package/dist/esm/index-gSzSMY-c.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{mdi-Cb-CImk5.js → mdi-RscoPQxP.js} +3 -3
- package/dist/esm/{mdi-Cb-CImk5.js.map → mdi-RscoPQxP.js.map} +1 -1
- package/dist/types/components/c-text-field-open/c-text-field-open.d.ts +52 -0
- package/dist/types/components.d.ts +270 -0
- package/package.json +1 -1
- package/vscode-data.json +117 -0
- package/dist/csc-ui/p-2b012d43.entry.js +0 -2
- package/dist/csc-ui/p-73c56177.entry.js +0 -2
- /package/dist/csc-ui/{p-781cde9c.entry.js.map → p-04f010cd.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-ad4cba6c.entry.js.map → p-13976903.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-74dfa0e1.entry.js.map → p-2acf252a.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-82038174.entry.js.map → p-a0129d80.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-516daf81.entry.js.map → p-b0e03fea.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-3ab98b9a.entry.js.map → p-e48d90fa.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-0b56450b.entry.js.map → p-ea26b8b0.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-0e4d4890.entry.js.map → p-f62b6b95.entry.js.map} +0 -0
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BTBT6v3v.js');
|
|
4
|
+
var mdi = require('./mdi-D4fs5l1W.js');
|
|
5
|
+
|
|
6
|
+
const cTextFieldOpenCss = "html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:root,:host{--_c-text-field-active-color:var(--c-text-field-active-color, var(--c-primary-600));--_c-text-field-inactive-color:var(--c-text-field-inactive-color, var(--c-tertiary-600));--_c-text-field-background-color:var(--c-text-field-background-color, var(--c-transparent));--_c-text-field-text-color:var(--c-text-field-text-color, var(--c-text-body));--_c-text-field-placeholder-color:var(--c-text-field-placeholder-color, var(--c-tertiary-500));--_c-text-field-shadow-active-color:var(--c-text-field-shadow-active-color, var(--_c-text-field-active-color));--_c-text-field-shadow-background-color:var(--c-text-field-shadow-background-color, var(--c-white));--_c-text-field-shadow-text-color:var(--c-text-field-shadow-text-color, var(--_c-text-field-text-color));--_c-text-field-shadow-placeholder-color:var(--c-text-field-shadow-placeholder-color, var(--_c-text-field-placeholder-color));--_c-text-field-label-color:var(--c-text-field-label-color, var(--_c-text-field-text-color))}.c-input{--_c-input-active-color:var(--_c-text-field-active-color);--_c-input-inactive-color:var(--_c-text-field-inactive-color);--_c-input-background-color:var(--_c-text-field-background-color);--_c-input-text-color:var(--_c-text-field-text-color);--_c-input-label-color:var(--_c-text-field-label-color);--_c-input-placeholder-color:var(--_c-text-field-placeholder-color);--_c-input-shadow-active-color:var(--_c-text-field-shadow-active-color);--_c-input-shadow-background-color:var(--_c-text-field-shadow-background-color);--_c-input-shadow-text-color:var(--_c-text-field-shadow-text-color);--_c-input-shadow-placeholder-color:var(--_c-text-field-shadow-placeholder-color)}.c-input__password-toggle,.c-input__date-toggle{cursor:pointer;fill:currentColor;height:22px;width:22px}.c-input__password-toggle--disabled,.c-input__date-toggle--disabled{cursor:not-allowed;fill:var(--c-tertiary-500)}.c-input input[type=date]{opacity:0}.c-input input[type=date]::-webkit-calendar-picker-indicator,.c-input input[type=date]::-webkit-inner-spin-button{display:none;appearance:none}.c-input input[type=date]:focus,.c-input input[type=date].c-input__input--filled{opacity:1}";
|
|
7
|
+
|
|
8
|
+
const CTextFieldOpen = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
index.registerInstance(this, hostRef);
|
|
11
|
+
this.changeValue = index.createEvent(this, "changeValue", 3);
|
|
12
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
13
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
17
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
18
|
+
}
|
|
19
|
+
this.automaticFocus = false;
|
|
20
|
+
this.automaticCapitalize = '';
|
|
21
|
+
this.autocorrect = '';
|
|
22
|
+
this.autocomplete = '';
|
|
23
|
+
this.disabled = false;
|
|
24
|
+
this.hideDetails = false;
|
|
25
|
+
this.hint = '';
|
|
26
|
+
this.trimWhitespace = false;
|
|
27
|
+
this.labelOnTop = false;
|
|
28
|
+
this.max = null;
|
|
29
|
+
this.min = null;
|
|
30
|
+
this.readonly = false;
|
|
31
|
+
this.required = false;
|
|
32
|
+
this.rows = 1;
|
|
33
|
+
this.shadow = false;
|
|
34
|
+
this.step = null;
|
|
35
|
+
this.type = 'text';
|
|
36
|
+
this.valid = true;
|
|
37
|
+
this.validate = false;
|
|
38
|
+
this.validateOnBlur = false;
|
|
39
|
+
this.validation = 'Required field';
|
|
40
|
+
this.renderOutsideShadow = false;
|
|
41
|
+
this.isFocused = false;
|
|
42
|
+
this.labelWidth = 0;
|
|
43
|
+
this.preSlotWidth = 0;
|
|
44
|
+
this._originalType = '';
|
|
45
|
+
this._handleChange = (event) => {
|
|
46
|
+
if (this.type === 'number' && !event.target.value && event.key === '-') {
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
this.value = this.trimWhitespace
|
|
50
|
+
? event.target.value.trim()
|
|
51
|
+
: event.target.value;
|
|
52
|
+
this.changeValue.emit(this.value);
|
|
53
|
+
this.internals.setFormValue(this.value);
|
|
54
|
+
};
|
|
55
|
+
this._handleBlur = (event) => {
|
|
56
|
+
if (this.trimWhitespace) {
|
|
57
|
+
const trimmedValue = event.target.value.trim();
|
|
58
|
+
event.target.value = trimmedValue;
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
this._togglePasswordVisibility = () => {
|
|
62
|
+
if (this.disabled)
|
|
63
|
+
return;
|
|
64
|
+
this.type = this.type === 'password' ? 'text' : 'password';
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
componentWillLoad() {
|
|
68
|
+
CTextFieldOpen._uniqueId += 1;
|
|
69
|
+
this._originalType = this.type;
|
|
70
|
+
this._inputId = `${(this.hostId ||
|
|
71
|
+
this.label ||
|
|
72
|
+
this.placeholder ||
|
|
73
|
+
'').replace(/[^a-zA-Z0-9-_]/g, '')}_${CTextFieldOpen._uniqueId}`;
|
|
74
|
+
this.internals.setFormValue(this.value);
|
|
75
|
+
}
|
|
76
|
+
get isActive() {
|
|
77
|
+
return !!this.value || this.isFocused;
|
|
78
|
+
}
|
|
79
|
+
get passwordIcon() {
|
|
80
|
+
return this.type === 'password' ? mdi.mdiEye : mdi.mdiEyeOff;
|
|
81
|
+
}
|
|
82
|
+
_renderInputElement() {
|
|
83
|
+
const props = {
|
|
84
|
+
classes: {
|
|
85
|
+
'c-input__input': true,
|
|
86
|
+
'c-input__input--filled': !!this.value,
|
|
87
|
+
},
|
|
88
|
+
shared: {
|
|
89
|
+
id: this._inputId,
|
|
90
|
+
name: this.name,
|
|
91
|
+
disabled: this.disabled,
|
|
92
|
+
readonly: this.readonly,
|
|
93
|
+
value: this.value,
|
|
94
|
+
onInput: this._handleChange,
|
|
95
|
+
onChange: this._handleChange,
|
|
96
|
+
onBlur: this._handleBlur,
|
|
97
|
+
},
|
|
98
|
+
input: Object.assign(Object.assign(Object.assign({ type: this.type, min: this.min, max: this.max, step: this.step }, (!!this.autocomplete && { autocomplete: this.autocomplete })), (!!this.automaticCapitalize && {
|
|
99
|
+
autocapitalize: this.automaticCapitalize,
|
|
100
|
+
})), (!!this.autocorrect && { autocorrect: this.autocorrect })),
|
|
101
|
+
textArea: {
|
|
102
|
+
rows: this.rows,
|
|
103
|
+
},
|
|
104
|
+
};
|
|
105
|
+
const textInput = (index.h("input", Object.assign({ class: props.classes }, props.input, props.shared, { ref: (el) => (this._inputElement = el) })));
|
|
106
|
+
const textArea = (index.h("textarea", Object.assign({ class: props.classes }, props.shared, props.textArea)));
|
|
107
|
+
return this.rows > 1 ? textArea : textInput;
|
|
108
|
+
}
|
|
109
|
+
_isFirefox() {
|
|
110
|
+
return !!navigator.userAgent.match(/firefox|fxios/i);
|
|
111
|
+
}
|
|
112
|
+
_renderDateToggle() {
|
|
113
|
+
if (this._originalType !== 'date' || this._isFirefox())
|
|
114
|
+
return;
|
|
115
|
+
const classes = {
|
|
116
|
+
'c-input__date-toggle': true,
|
|
117
|
+
'c-input__date-toggle--disabled': this.disabled,
|
|
118
|
+
};
|
|
119
|
+
return (index.h("svg", { class: classes, viewBox: "0 0 24 24", onClick: this._toggleDatepicker.bind(this) }, index.h("path", { d: mdi.mdiCalendar })));
|
|
120
|
+
}
|
|
121
|
+
_toggleDatepicker() {
|
|
122
|
+
var _a;
|
|
123
|
+
(_a = this._inputElement) === null || _a === void 0 ? void 0 : _a.showPicker();
|
|
124
|
+
}
|
|
125
|
+
_renderPasswordToggle() {
|
|
126
|
+
if (this._originalType !== 'password')
|
|
127
|
+
return;
|
|
128
|
+
const classes = {
|
|
129
|
+
'c-input__password-toggle': true,
|
|
130
|
+
'c-input__password-toggle--disabled': this.disabled,
|
|
131
|
+
};
|
|
132
|
+
return (index.h("svg", { class: classes, viewBox: "0 0 24 24", onClick: this._togglePasswordVisibility }, index.h("path", { d: this.passwordIcon })));
|
|
133
|
+
}
|
|
134
|
+
render() {
|
|
135
|
+
const inputElement = this._renderInputElement();
|
|
136
|
+
const passwordToggle = this._renderPasswordToggle();
|
|
137
|
+
const dateToggle = this._renderDateToggle();
|
|
138
|
+
if (this.renderOutsideShadow) {
|
|
139
|
+
return (index.h(index.Host, null, index.h("c-input", { autofocus: this.automaticFocus, disabled: this.disabled, "hide-details": this.hideDetails, hint: this.hint, id: this.hostId, "input-id": this._inputId, label: this.label, "label-on-top": this.labelOnTop, name: this.name, placeholder: this.placeholder, readonly: this.readonly, required: this.required, rows: this.rows, shadow: this.shadow, type: this.type, valid: this.valid, validate: this.validate, "validate-on-blur": this.validateOnBlur, validation: this.validation, value: this.value }, index.h("slot", { name: "pre", slot: "pre" }), index.h("slot", { name: "input-slot" }), passwordToggle, dateToggle, index.h("slot", { name: "post" })), index.h("div", { slot: "input-slot" }, inputElement)));
|
|
140
|
+
}
|
|
141
|
+
return (index.h(index.Host, null, index.h("c-input", { autofocus: this.automaticFocus, disabled: this.disabled, "hide-details": this.hideDetails, hint: this.hint, id: this.hostId, "input-id": this._inputId, label: this.label, "label-on-top": this.labelOnTop, name: this.name, placeholder: this.placeholder, readonly: this.readonly, required: this.required, rows: this.rows, shadow: this.shadow, type: this.type, valid: this.valid, validate: this.validate, "validate-on-blur": this.validateOnBlur, validation: this.validation, value: this.value }, index.h("slot", { name: "pre", slot: "pre" }), inputElement, passwordToggle, dateToggle, index.h("slot", { name: "post" }))));
|
|
142
|
+
}
|
|
143
|
+
static get formAssociated() { return true; }
|
|
144
|
+
get hiddenEl() { return index.getElement(this); }
|
|
145
|
+
};
|
|
146
|
+
CTextFieldOpen._uniqueId = 0;
|
|
147
|
+
CTextFieldOpen.style = cTextFieldOpenCss;
|
|
148
|
+
|
|
149
|
+
exports.c_text_field_open = CTextFieldOpen;
|
|
150
|
+
//# sourceMappingURL=c-text-field-open.entry.cjs.js.map
|
|
151
|
+
|
|
152
|
+
//# sourceMappingURL=c-text-field-open.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"c-text-field-open.entry.cjs.js","mappings":";;;;;AAAA,MAAM,iBAAiB,GAAG,8xEAA8xE;;MC0B3yE,cAAc,GAAA,MAAA;AAN3B,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;;;;;AAcoC,QAAA,IAAc,CAAA,cAAA,GAAG,KAAK;AAMjB,QAAA,IAAmB,CAAA,mBAAA,GAAG,EAAE;AAKvD,QAAA,IAAW,CAAA,WAAA,GAAG,EAAE;AAKhB,QAAA,IAAY,CAAA,YAAA,GAAG,EAAE;AAKjB,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAKhB,QAAA,IAAW,CAAA,WAAA,GAAG,KAAK;AAKnB,QAAA,IAAI,CAAA,IAAA,GAAG,EAAE;AAWT,QAAA,IAAc,CAAA,cAAA,GAAG,KAAK;AAUtB,QAAA,IAAU,CAAA,UAAA,GAAG,KAAK;AAKlB,QAAA,IAAG,CAAA,GAAA,GAAW,IAAI;AAKlB,QAAA,IAAG,CAAA,GAAA,GAAW,IAAI;AAelB,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAKhB,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAKhB,QAAA,IAAI,CAAA,IAAA,GAAG,CAAC;AAKR,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK;AAKd,QAAA,IAAI,CAAA,IAAA,GAAW,IAAI;AAKnB,QAAA,IAA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AAA,cAAA,EACT,IAAI,CAAC,WAAW,EAC9B,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,EAAE,EAAE,IAAI,CAAC,MAAM,EACL,UAAA,EAAA,IAAI,CAAC,QAAQ,EACvB,KAAK,EAAE,IAAI,CAAC,KAAK,EAAA,cAAA,EACH,IAAI,CAAC,UAAU,EAC7B,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACL,kBAAA,EAAA,IAAI,CAAC,cAAc,EACrC,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,KAAK,EAAE,IAAI,CAAC,KAAK,EAAA,EAEjBA,OAAA,CAAA,MAAA,EAAA,EAAM,IAAI,EAAC,KAAK,EAAC,IAAI,EAAC,KAAK,EAAQ,CAAA,EAElC,YAAY,EAEZ,cAAc,EAEd,UAAU,EAEXA,OAAA,CAAA,MAAA,EAAA,EAAM,IAAI,EAAC,MAAM,GAAQ,CACjB,CACL;;;;;AAtOI,cAAS,CAAA,SAAA,GAAG,CAAH;;;;;","names":["mdiEye","mdiEyeOff","h","mdiCalendar","Host"],"sources":["src/components/c-text-field-open/c-text-field-open.scss?tag=c-text-field-open","src/components/c-text-field-open/c-text-field-open.tsx"],"sourcesContent":[":root,\n:host {\n /**\n * @prop --c-text-field-active-color: Active text field color\n * @prop --c-text-field-inactive-color: Inactive text field color\n * @prop --c-text-field-background-color: Inactive text field background color\n * @prop --c-text-field-text-color: Text field text color\n * @prop --c-text-field-placeholder-color:Text field placeholder color\n * @prop --c-text-field-shadow-active-color: Shadow text field active color\n * @prop --c-text-field-shadow-background-color: Shadow text field background color\n * @prop --c-text-field-shadow-text-color: Shadow text field text color\n * @prop --c-text-field-shadow-placeholder-color: Shadow text field placeholder color\n * @prop --c-text-field-label-color: Text field label color (works only with `label-on-top`)\n */\n --_c-text-field-active-color: var(--c-text-field-active-color, var(--c-primary-600));\n --_c-text-field-inactive-color: var(--c-text-field-inactive-color, var(--c-tertiary-600));\n --_c-text-field-background-color: var(--c-text-field-background-color, var(--c-transparent));\n --_c-text-field-text-color: var(--c-text-field-text-color, var(--c-text-body));\n --_c-text-field-placeholder-color: var(--c-text-field-placeholder-color, var(--c-tertiary-500));\n --_c-text-field-shadow-active-color: var(--c-text-field-shadow-active-color, var(--_c-text-field-active-color));\n --_c-text-field-shadow-background-color: var(--c-text-field-shadow-background-color, var(--c-white));\n --_c-text-field-shadow-text-color: var(--c-text-field-shadow-text-color, var(--_c-text-field-text-color));\n --_c-text-field-shadow-placeholder-color: var(--c-text-field-shadow-placeholder-color, var(--_c-text-field-placeholder-color));\n --_c-text-field-label-color: var(--c-text-field-label-color, var(--_c-text-field-text-color));\n}\n\n.c-input {\n --_c-input-active-color: var(--_c-text-field-active-color);\n --_c-input-inactive-color: var(--_c-text-field-inactive-color);\n --_c-input-background-color: var(--_c-text-field-background-color);\n --_c-input-text-color: var(--_c-text-field-text-color);\n --_c-input-label-color: var(--_c-text-field-label-color);\n --_c-input-placeholder-color: var(--_c-text-field-placeholder-color);\n --_c-input-shadow-active-color: var(--_c-text-field-shadow-active-color);\n --_c-input-shadow-background-color: var(--_c-text-field-shadow-background-color);\n --_c-input-shadow-text-color: var(--_c-text-field-shadow-text-color);\n --_c-input-shadow-placeholder-color: var(--_c-text-field-shadow-placeholder-color);\n\n &__password-toggle,\n &__date-toggle {\n cursor: pointer;\n fill: currentColor;\n height: 22px;\n width: 22px;\n\n &--disabled {\n cursor: not-allowed;\n fill: var(--c-tertiary-500);\n }\n }\n\n input {\n &[type=\"date\"] {\n opacity: 0;\n\n &::-webkit-calendar-picker-indicator,\n &::-webkit-inner-spin-button {\n display: none;\n appearance: none;\n }\n\n &:focus,\n &.c-input__input--filled {\n opacity: 1;\n }\n }\n }\n}\n","import {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport { mdiCalendar, mdiEye, mdiEyeOff } from '@mdi/js';\n\n/**\n * Text field component without shadow dom\n *\n * @group Form\n * @slot pre - Content added before the input\n * @slot post - Content added after the input\n */\n@Component({\n tag: 'c-text-field-open',\n styleUrl: 'c-text-field-open.scss',\n shadow: false,\n formAssociated: true,\n})\nexport class CTextFieldOpen {\n // eslint-disable-next-line\n @AttachInternals() internals: ElementInternals;\n\n /**\n * Auto focus the input\n * @name autofocus\n */\n @Prop({ attribute: 'autofocus' }) automaticFocus = false;\n\n /**\n * HTML input autocapitalize\n * @name autocapitalize\n */\n @Prop({ attribute: 'autocapitalize' }) automaticCapitalize = '';\n\n /**\n * HTML input autocorrect\n */\n @Prop() autocorrect = '';\n\n /**\n * HTML input autocomplete\n */\n @Prop() autocomplete = '';\n\n /**\n * Disable the input\n */\n @Prop() disabled = false;\n\n /**\n * Hide the hint and error messages\n */\n @Prop() hideDetails = false;\n\n /**\n * Hint text for the input\n */\n @Prop() hint = '';\n\n /**\n * Id of the input\n * @name id\n */\n @Prop({ attribute: 'id' }) hostId: string;\n\n /**\n * Trim whitespace from the return value\n */\n @Prop() trimWhitespace = false;\n\n /**\n * Label of the input\n */\n @Prop() label: string;\n\n /**\n * Label on top of the input\n */\n @Prop() labelOnTop = false;\n\n /**\n * Maximum value on a numeric input\n */\n @Prop() max: number = null;\n\n /**\n * Minimum value on a numeric input\n */\n @Prop() min: number = null;\n\n /**\n * Name of the input\n */\n @Prop() name: string;\n\n /**\n * Placeholder of the input\n */\n @Prop() placeholder: string;\n\n /**\n * Mark as readonly\n */\n @Prop() readonly = false;\n\n /**\n * Set the input as required\n */\n @Prop() required = false;\n\n /**\n * Rows on the input\n */\n @Prop() rows = 1;\n\n /**\n * Shadow variant of the input\n */\n @Prop() shadow = false;\n\n /**\n * Step size on a numeric input\n */\n @Prop() step: number = null;\n\n /**\n * Type of the input\n */\n @Prop() type = 'text';\n\n /**\n * Set the validity of the input\n */\n @Prop() valid = true;\n\n /**\n * Manual validation\n */\n @Prop() validate = false;\n\n /**\n * Validate the input on blur\n */\n @Prop() validateOnBlur = false;\n\n /**\n * Custom validation message\n */\n @Prop() validation = 'Required field';\n\n /**\n * Value of the input\n */\n @Prop({ mutable: true }) value: string;\n\n /**\n * Render input element outside shadow DOM for maximum compatibility\n */\n @Prop() renderOutsideShadow = false;\n\n /**\n * Emit changes to the parent\n */\n @Event({ bubbles: false })\n changeValue: EventEmitter;\n\n @State() isFocused = false;\n\n @State() labelWidth = 0;\n\n @State() preSlotWidth = 0;\n\n @Element() hiddenEl!: HTMLCTextFieldOpenElement;\n\n private _inputElement: HTMLInputElement;\n\n private _originalType = '';\n\n private _inputId: string;\n\n private static _uniqueId = 0;\n\n componentWillLoad() {\n CTextFieldOpen._uniqueId += 1;\n\n this._originalType = this.type;\n\n this._inputId = `${(\n this.hostId ||\n this.label ||\n this.placeholder ||\n ''\n ).replace(/[^a-zA-Z0-9-_]/g, '')}_${CTextFieldOpen._uniqueId}`;\n\n this.internals.setFormValue(this.value);\n }\n\n get isActive() {\n return !!this.value || this.isFocused;\n }\n\n get passwordIcon() {\n return this.type === 'password' ? mdiEye : mdiEyeOff;\n }\n\n private _handleChange = (event) => {\n if (this.type === 'number' && !event.target.value && event.key === '-') {\n return;\n }\n\n this.value = this.trimWhitespace\n ? event.target.value.trim()\n : event.target.value;\n\n this.changeValue.emit(this.value);\n this.internals.setFormValue(this.value);\n };\n\n private _handleBlur = (event) => {\n if (this.trimWhitespace) {\n const trimmedValue = event.target.value.trim();\n\n event.target.value = trimmedValue;\n }\n };\n\n private _renderInputElement() {\n const props = {\n classes: {\n 'c-input__input': true,\n 'c-input__input--filled': !!this.value,\n },\n shared: {\n id: this._inputId,\n name: this.name,\n disabled: this.disabled,\n readonly: this.readonly,\n value: this.value,\n onInput: this._handleChange,\n onChange: this._handleChange,\n onBlur: this._handleBlur,\n },\n input: {\n type: this.type,\n min: this.min,\n max: this.max,\n step: this.step,\n ...(!!this.autocomplete && { autocomplete: this.autocomplete }),\n ...(!!this.automaticCapitalize && {\n autocapitalize: this.automaticCapitalize,\n }),\n ...(!!this.autocorrect && { autocorrect: this.autocorrect }),\n },\n textArea: {\n rows: this.rows,\n },\n };\n\n const textInput = (\n <input\n class={props.classes}\n {...props.input}\n {...props.shared}\n ref={(el) => (this._inputElement = el)}\n />\n );\n\n const textArea = (\n <textarea\n class={props.classes}\n {...props.shared}\n {...props.textArea}\n ></textarea>\n );\n\n return this.rows > 1 ? textArea : textInput;\n }\n\n private _isFirefox() {\n return !!navigator.userAgent.match(/firefox|fxios/i);\n }\n\n private _renderDateToggle() {\n if (this._originalType !== 'date' || this._isFirefox()) return;\n\n const classes = {\n 'c-input__date-toggle': true,\n 'c-input__date-toggle--disabled': this.disabled,\n };\n\n return (\n <svg\n class={classes}\n viewBox=\"0 0 24 24\"\n onClick={this._toggleDatepicker.bind(this)}\n >\n <path d={mdiCalendar} />\n </svg>\n );\n }\n\n private _toggleDatepicker() {\n this._inputElement?.showPicker();\n }\n\n private _renderPasswordToggle() {\n if (this._originalType !== 'password') return;\n\n const classes = {\n 'c-input__password-toggle': true,\n 'c-input__password-toggle--disabled': this.disabled,\n };\n\n return (\n <svg\n class={classes}\n viewBox=\"0 0 24 24\"\n onClick={this._togglePasswordVisibility}\n >\n <path d={this.passwordIcon} />\n </svg>\n );\n }\n\n private _togglePasswordVisibility = () => {\n if (this.disabled) return;\n\n this.type = this.type === 'password' ? 'text' : 'password';\n };\n\n render() {\n const inputElement = this._renderInputElement();\n const passwordToggle = this._renderPasswordToggle();\n const dateToggle = this._renderDateToggle();\n\n if (this.renderOutsideShadow) {\n return (\n <Host>\n <c-input\n autofocus={this.automaticFocus}\n disabled={this.disabled}\n hide-details={this.hideDetails}\n hint={this.hint}\n id={this.hostId}\n input-id={this._inputId}\n label={this.label}\n label-on-top={this.labelOnTop}\n name={this.name}\n placeholder={this.placeholder}\n readonly={this.readonly}\n required={this.required}\n rows={this.rows}\n shadow={this.shadow}\n type={this.type}\n valid={this.valid}\n validate={this.validate}\n validate-on-blur={this.validateOnBlur}\n validation={this.validation}\n value={this.value}\n >\n <slot name=\"pre\" slot=\"pre\"></slot>\n\n <slot name=\"input-slot\"></slot>\n\n {passwordToggle}\n\n {dateToggle}\n\n <slot name=\"post\"></slot>\n </c-input>\n\n <div slot=\"input-slot\">{inputElement}</div>\n </Host>\n );\n }\n\n return (\n <Host>\n <c-input\n autofocus={this.automaticFocus}\n disabled={this.disabled}\n hide-details={this.hideDetails}\n hint={this.hint}\n id={this.hostId}\n input-id={this._inputId}\n label={this.label}\n label-on-top={this.labelOnTop}\n name={this.name}\n placeholder={this.placeholder}\n readonly={this.readonly}\n required={this.required}\n rows={this.rows}\n shadow={this.shadow}\n type={this.type}\n valid={this.valid}\n validate={this.validate}\n validate-on-blur={this.validateOnBlur}\n validation={this.validation}\n value={this.value}\n >\n <slot name=\"pre\" slot=\"pre\"></slot>\n\n {inputElement}\n\n {passwordToggle}\n\n {dateToggle}\n\n <slot name=\"post\"></slot>\n </c-input>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c-text-field-open.entry.cjs.js","sources":["src/components/c-text-field-open/c-text-field-open.scss?tag=c-text-field-open","src/components/c-text-field-open/c-text-field-open.tsx"],"sourcesContent":[":root,\n:host {\n /**\n * @prop --c-text-field-active-color: Active text field color\n * @prop --c-text-field-inactive-color: Inactive text field color\n * @prop --c-text-field-background-color: Inactive text field background color\n * @prop --c-text-field-text-color: Text field text color\n * @prop --c-text-field-placeholder-color:Text field placeholder color\n * @prop --c-text-field-shadow-active-color: Shadow text field active color\n * @prop --c-text-field-shadow-background-color: Shadow text field background color\n * @prop --c-text-field-shadow-text-color: Shadow text field text color\n * @prop --c-text-field-shadow-placeholder-color: Shadow text field placeholder color\n * @prop --c-text-field-label-color: Text field label color (works only with `label-on-top`)\n */\n --_c-text-field-active-color: var(--c-text-field-active-color, var(--c-primary-600));\n --_c-text-field-inactive-color: var(--c-text-field-inactive-color, var(--c-tertiary-600));\n --_c-text-field-background-color: var(--c-text-field-background-color, var(--c-transparent));\n --_c-text-field-text-color: var(--c-text-field-text-color, var(--c-text-body));\n --_c-text-field-placeholder-color: var(--c-text-field-placeholder-color, var(--c-tertiary-500));\n --_c-text-field-shadow-active-color: var(--c-text-field-shadow-active-color, var(--_c-text-field-active-color));\n --_c-text-field-shadow-background-color: var(--c-text-field-shadow-background-color, var(--c-white));\n --_c-text-field-shadow-text-color: var(--c-text-field-shadow-text-color, var(--_c-text-field-text-color));\n --_c-text-field-shadow-placeholder-color: var(--c-text-field-shadow-placeholder-color, var(--_c-text-field-placeholder-color));\n --_c-text-field-label-color: var(--c-text-field-label-color, var(--_c-text-field-text-color));\n}\n\n.c-input {\n --_c-input-active-color: var(--_c-text-field-active-color);\n --_c-input-inactive-color: var(--_c-text-field-inactive-color);\n --_c-input-background-color: var(--_c-text-field-background-color);\n --_c-input-text-color: var(--_c-text-field-text-color);\n --_c-input-label-color: var(--_c-text-field-label-color);\n --_c-input-placeholder-color: var(--_c-text-field-placeholder-color);\n --_c-input-shadow-active-color: var(--_c-text-field-shadow-active-color);\n --_c-input-shadow-background-color: var(--_c-text-field-shadow-background-color);\n --_c-input-shadow-text-color: var(--_c-text-field-shadow-text-color);\n --_c-input-shadow-placeholder-color: var(--_c-text-field-shadow-placeholder-color);\n\n &__password-toggle,\n &__date-toggle {\n cursor: pointer;\n fill: currentColor;\n height: 22px;\n width: 22px;\n\n &--disabled {\n cursor: not-allowed;\n fill: var(--c-tertiary-500);\n }\n }\n\n input {\n &[type=\"date\"] {\n opacity: 0;\n\n &::-webkit-calendar-picker-indicator,\n &::-webkit-inner-spin-button {\n display: none;\n appearance: none;\n }\n\n &:focus,\n &.c-input__input--filled {\n opacity: 1;\n }\n }\n }\n}\n","import {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport { mdiCalendar, mdiEye, mdiEyeOff } from '@mdi/js';\n\n/**\n * Text field component without shadow dom\n *\n * @group Form\n * @slot pre - Content added before the input\n * @slot post - Content added after the input\n */\n@Component({\n tag: 'c-text-field-open',\n styleUrl: 'c-text-field-open.scss',\n shadow: false,\n formAssociated: true,\n})\nexport class CTextFieldOpen {\n // eslint-disable-next-line\n @AttachInternals() internals: ElementInternals;\n\n /**\n * Auto focus the input\n * @name autofocus\n */\n @Prop({ attribute: 'autofocus' }) automaticFocus = false;\n\n /**\n * HTML input autocapitalize\n * @name autocapitalize\n */\n @Prop({ attribute: 'autocapitalize' }) automaticCapitalize = '';\n\n /**\n * HTML input autocorrect\n */\n @Prop() autocorrect = '';\n\n /**\n * HTML input autocomplete\n */\n @Prop() autocomplete = '';\n\n /**\n * Disable the input\n */\n @Prop() disabled = false;\n\n /**\n * Hide the hint and error messages\n */\n @Prop() hideDetails = false;\n\n /**\n * Hint text for the input\n */\n @Prop() hint = '';\n\n /**\n * Id of the input\n * @name id\n */\n @Prop({ attribute: 'id' }) hostId: string;\n\n /**\n * Trim whitespace from the return value\n */\n @Prop() trimWhitespace = false;\n\n /**\n * Label of the input\n */\n @Prop() label: string;\n\n /**\n * Label on top of the input\n */\n @Prop() labelOnTop = false;\n\n /**\n * Maximum value on a numeric input\n */\n @Prop() max: number = null;\n\n /**\n * Minimum value on a numeric input\n */\n @Prop() min: number = null;\n\n /**\n * Name of the input\n */\n @Prop() name: string;\n\n /**\n * Placeholder of the input\n */\n @Prop() placeholder: string;\n\n /**\n * Mark as readonly\n */\n @Prop() readonly = false;\n\n /**\n * Set the input as required\n */\n @Prop() required = false;\n\n /**\n * Rows on the input\n */\n @Prop() rows = 1;\n\n /**\n * Shadow variant of the input\n */\n @Prop() shadow = false;\n\n /**\n * Step size on a numeric input\n */\n @Prop() step: number = null;\n\n /**\n * Type of the input\n */\n @Prop() type = 'text';\n\n /**\n * Set the validity of the input\n */\n @Prop() valid = true;\n\n /**\n * Manual validation\n */\n @Prop() validate = false;\n\n /**\n * Validate the input on blur\n */\n @Prop() validateOnBlur = false;\n\n /**\n * Custom validation message\n */\n @Prop() validation = 'Required field';\n\n /**\n * Value of the input\n */\n @Prop({ mutable: true }) value: string;\n\n /**\n * Render input element outside shadow DOM for maximum compatibility\n */\n @Prop() renderOutsideShadow = false;\n\n /**\n * Emit changes to the parent\n */\n @Event({ bubbles: false })\n changeValue: EventEmitter;\n\n @State() isFocused = false;\n\n @State() labelWidth = 0;\n\n @State() preSlotWidth = 0;\n\n @Element() hiddenEl!: HTMLCTextFieldOpenElement;\n\n private _inputElement: HTMLInputElement;\n\n private _originalType = '';\n\n private _inputId: string;\n\n private static _uniqueId = 0;\n\n componentWillLoad() {\n CTextFieldOpen._uniqueId += 1;\n\n this._originalType = this.type;\n\n this._inputId = `${(\n this.hostId ||\n this.label ||\n this.placeholder ||\n ''\n ).replace(/[^a-zA-Z0-9-_]/g, '')}_${CTextFieldOpen._uniqueId}`;\n\n this.internals.setFormValue(this.value);\n }\n\n get isActive() {\n return !!this.value || this.isFocused;\n }\n\n get passwordIcon() {\n return this.type === 'password' ? mdiEye : mdiEyeOff;\n }\n\n private _handleChange = (event) => {\n if (this.type === 'number' && !event.target.value && event.key === '-') {\n return;\n }\n\n this.value = this.trimWhitespace\n ? event.target.value.trim()\n : event.target.value;\n\n this.changeValue.emit(this.value);\n this.internals.setFormValue(this.value);\n };\n\n private _handleBlur = (event) => {\n if (this.trimWhitespace) {\n const trimmedValue = event.target.value.trim();\n\n event.target.value = trimmedValue;\n }\n };\n\n private _renderInputElement() {\n const props = {\n classes: {\n 'c-input__input': true,\n 'c-input__input--filled': !!this.value,\n },\n shared: {\n id: this._inputId,\n name: this.name,\n disabled: this.disabled,\n readonly: this.readonly,\n value: this.value,\n onInput: this._handleChange,\n onChange: this._handleChange,\n onBlur: this._handleBlur,\n },\n input: {\n type: this.type,\n min: this.min,\n max: this.max,\n step: this.step,\n ...(!!this.autocomplete && { autocomplete: this.autocomplete }),\n ...(!!this.automaticCapitalize && {\n autocapitalize: this.automaticCapitalize,\n }),\n ...(!!this.autocorrect && { autocorrect: this.autocorrect }),\n },\n textArea: {\n rows: this.rows,\n },\n };\n\n const textInput = (\n <input\n class={props.classes}\n {...props.input}\n {...props.shared}\n ref={(el) => (this._inputElement = el)}\n />\n );\n\n const textArea = (\n <textarea\n class={props.classes}\n {...props.shared}\n {...props.textArea}\n ></textarea>\n );\n\n return this.rows > 1 ? textArea : textInput;\n }\n\n private _isFirefox() {\n return !!navigator.userAgent.match(/firefox|fxios/i);\n }\n\n private _renderDateToggle() {\n if (this._originalType !== 'date' || this._isFirefox()) return;\n\n const classes = {\n 'c-input__date-toggle': true,\n 'c-input__date-toggle--disabled': this.disabled,\n };\n\n return (\n <svg\n class={classes}\n viewBox=\"0 0 24 24\"\n onClick={this._toggleDatepicker.bind(this)}\n >\n <path d={mdiCalendar} />\n </svg>\n );\n }\n\n private _toggleDatepicker() {\n this._inputElement?.showPicker();\n }\n\n private _renderPasswordToggle() {\n if (this._originalType !== 'password') return;\n\n const classes = {\n 'c-input__password-toggle': true,\n 'c-input__password-toggle--disabled': this.disabled,\n };\n\n return (\n <svg\n class={classes}\n viewBox=\"0 0 24 24\"\n onClick={this._togglePasswordVisibility}\n >\n <path d={this.passwordIcon} />\n </svg>\n );\n }\n\n private _togglePasswordVisibility = () => {\n if (this.disabled) return;\n\n this.type = this.type === 'password' ? 'text' : 'password';\n };\n\n render() {\n const inputElement = this._renderInputElement();\n const passwordToggle = this._renderPasswordToggle();\n const dateToggle = this._renderDateToggle();\n\n if (this.renderOutsideShadow) {\n return (\n <Host>\n <c-input\n autofocus={this.automaticFocus}\n disabled={this.disabled}\n hide-details={this.hideDetails}\n hint={this.hint}\n id={this.hostId}\n input-id={this._inputId}\n label={this.label}\n label-on-top={this.labelOnTop}\n name={this.name}\n placeholder={this.placeholder}\n readonly={this.readonly}\n required={this.required}\n rows={this.rows}\n shadow={this.shadow}\n type={this.type}\n valid={this.valid}\n validate={this.validate}\n validate-on-blur={this.validateOnBlur}\n validation={this.validation}\n value={this.value}\n >\n <slot name=\"pre\" slot=\"pre\"></slot>\n\n <slot name=\"input-slot\"></slot>\n\n {passwordToggle}\n\n {dateToggle}\n\n <slot name=\"post\"></slot>\n </c-input>\n\n <div slot=\"input-slot\">{inputElement}</div>\n </Host>\n );\n }\n\n return (\n <Host>\n <c-input\n autofocus={this.automaticFocus}\n disabled={this.disabled}\n hide-details={this.hideDetails}\n hint={this.hint}\n id={this.hostId}\n input-id={this._inputId}\n label={this.label}\n label-on-top={this.labelOnTop}\n name={this.name}\n placeholder={this.placeholder}\n readonly={this.readonly}\n required={this.required}\n rows={this.rows}\n shadow={this.shadow}\n type={this.type}\n valid={this.valid}\n validate={this.validate}\n validate-on-blur={this.validateOnBlur}\n validation={this.validation}\n value={this.value}\n >\n <slot name=\"pre\" slot=\"pre\"></slot>\n\n {inputElement}\n\n {passwordToggle}\n\n {dateToggle}\n\n <slot name=\"post\"></slot>\n </c-input>\n </Host>\n );\n }\n}\n"],"names":["mdiEye","mdiEyeOff","h","mdiCalendar","Host"],"mappings":";;;;;AAAA,MAAM,iBAAiB,GAAG,8xEAA8xE;;MC0B3yE,cAAc,GAAA,MAAA;AAN3B,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;;;;;AAcoC,QAAA,IAAc,CAAA,cAAA,GAAG,KAAK;AAMjB,QAAA,IAAmB,CAAA,mBAAA,GAAG,EAAE;AAKvD,QAAA,IAAW,CAAA,WAAA,GAAG,EAAE;AAKhB,QAAA,IAAY,CAAA,YAAA,GAAG,EAAE;AAKjB,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAKhB,QAAA,IAAW,CAAA,WA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Z,cAAc,EAEd,UAAU,EAEXA,OAAA,CAAA,MAAA,EAAA,EAAM,IAAI,EAAC,MAAM,GAAQ,CACjB,CACL;;;;;AAtOI,cAAS,CAAA,SAAA,GAAG,CAAH;;;;;"}
|
package/dist/cjs/csc-ui.cjs.js
CHANGED
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy(JSON.parse("[[\"c-data-table.cjs\",[[1,\"c-data-table\",{\"data\":[16],\"externalData\":[4,\"external-data\"],\"headers\":[16],\"hideFooter\":[4,\"hide-footer\"],\"footerOptions\":[16],\"loading\":[4],\"loadingText\":[1,\"loading-text\"],\"noDataText\":[1,\"no-data-text\"],\"pagination\":[1040],\"selectable\":[4],\"singleSelection\":[4,\"single-selection\"],\"selectionProperty\":[1,\"selection-property\"],\"singleExpansion\":[4,\"single-expansion\"],\"sortBy\":[1032,\"sort-by\"],\"sortDirection\":[1025,\"sort-direction\"],\"stickyHeader\":[4,\"sticky-header\"],\"horizontalScrolling\":[4,\"horizontal-scrolling\"],\"_activeRows\":[32],\"_data\":[32],\"_isIndeterminate\":[32],\"_isPaginationSimple\":[32],\"_selections\":[32],\"hasOverflow\":[32],\"hiddenHeaders\":[32],\"initiallyHiddenHeaders\":[32],\"forceRender\":[32],\"breakpoints\":[32],\"markedFooterWidth\":[32],\"parentWidth\":[32],\"firstCellHidden\":[32],\"lastCellHidden\":[32],\"clearSelections\":[64],\"getData\":[64]},null,{\"hiddenHeaders\":[\"onHiddenHeaderChange\"],\"data\":[\"onDataChange\"],\"headers\":[\"onHeaderChange\"],\"singleSelection\":[\"onSingleSelectionChange\"],\"loading\":[\"onLoadingChange\"]}]]],[\"c-tabs.cjs\",[[1,\"c-tabs\",{\"value\":[1032],\"borderless\":[4],\"disableAnimation\":[4,\"disable-animation\"],\"justify\":[1],\"mobileBreakpoint\":[2,\"mobile-breakpoint\"],\"vertical\":[4],\"isOverflowing\":[32],\"isMobile\":[32],\"scrollOffset\":[32]},[[1,\"tabFocus\",\"tabFocusHandler\"],[1,\"tabChange\",\"tabChangeHandler\"],[2,\"keydown\",\"handleKeyDown\"],[2,\"keyup\",\"handleKeyUp\"]],{\"justify\":[\"onJustificationChange\"],\"value\":[\"onExternalValueChange\"],\"scrollOffset\":[\"onScrollOffsetChange\"]}]]],[\"c-tag.cjs\",[[1,\"c-tag\",{\"active\":[4],\"block\":[4],\"fit\":[4],\"flat\":[4],\"closeable\":[4],\"badge\":[8],\"size\":[1]}]]],[\"c-swiper.cjs\",[[4,\"c-swiper\",{\"value\":[1544],\"elementId\":[1,\"id\"],\"isBeginning\":[32],\"isEnd\":[32],\"statusText\":[32]},[[0,\"changeValue\",\"onTabClick\"],[2,\"keyup\",\"handleKeyUp\"]]]]],[\"c-toasts.cjs\",[[1,\"c-toasts\",{\"absolute\":[4],\"horizontal\":[1],\"vertical\":[1],\"messages\":[32],\"addToast\":[64],\"removeToast\":[64]}]]],[\"c-accordion-item.cjs\",[[1,\"c-accordion-item\",{\"collapsable\":[4],\"heading\":[1],\"value\":[8],\"expanded\":[4],\"outlined\":[4],\"hasCustomHeader\":[32],\"hasIcon\":[32]},[[2,\"keydown\",\"handleKeyDown\"],[0,\"changeValue\",\"stop\"]]]]],[\"c-list-item.cjs\",[[1,\"c-list-item\",{\"active\":[4],\"disabled\":[4],\"disabledByParent\":[4,\"disabled-by-parent\"],\"hoverable\":[4],\"ripple\":[4],\"href\":[1],\"target\":[1]},null,{\"active\":[\"onActiveChange\"]}]]],[\"c-login-card-actions.cjs\",[[1,\"c-login-card-actions\",{\"align\":[1],\"justify\":[1]}]]],[\"c-swiper-tab.cjs\",[[1,\"c-swiper-tab\",{\"disabled\":[4],\"active\":[4],\"label\":[1],\"hostId\":[1,\"id\"],\"setsize\":[2],\"position\":[2],\"value\":[8]},[[1,\"click\",\"onTabClick\"]]]]],[\"c-tab.cjs\",[[1,\"c-tab\",{\"active\":[4],\"disabled\":[4],\"hostId\":[1,\"id\"],\"position\":[2],\"setsize\":[2],\"value\":[8]},[[1,\"focus\",\"onTabFocus\"],[1,\"keydown\",\"handleKeydown\"]]]]],[\"c-accordion.cjs\",[[1,\"c-accordion\",{\"value\":[1032],\"mandatory\":[4],\"multiple\":[4],\"outlined\":[4]},[[1,\"itemChange\",\"onAccordionItemChange\"]],{\"value\":[\"watchPropHandler\"]}]]],[\"c-alert.cjs\",[[1,\"c-alert\",{\"type\":[1]}]]],[\"c-link.cjs\",[[1,\"c-link\",{\"href\":[1],\"underline\":[4],\"target\":[1],\"weight\":[1]}]]],[\"c-list.cjs\",[[0,\"c-list\",{\"disabled\":[4],\"bordered\":[4]},null,{\"disabled\":[\"onDisabledChange\"]}]]],[\"c-list-item-title.cjs\",[[1,\"c-list-item-title\",{\"active\":[4]}]]],[\"c-login-button.cjs\",[[1,\"c-login-button\",{\"href\":[1],\"src\":[1],\"alt\":[1]}]]],[\"c-login-buttons.cjs\",[[1,\"c-login-buttons\"]]],[\"c-login-card.cjs\",[[4,\"c-login-card\",{\"backgroundPosition\":[1,\"background-position\"],\"mobileBreakpoint\":[2,\"mobile-breakpoint\"],\"overlay\":[4],\"overlayBlendMode\":[1,\"overlay-blend-mode\"],\"src\":[1],\"path\":[32],\"imageHeight\":[32]}]]],[\"c-login-card-content.cjs\",[[1,\"c-login-card-content\"]]],[\"c-login-card-title.cjs\",[[1,\"c-login-card-title\"]]],[\"c-modal.cjs\",[[1,\"c-modal\",{\"value\":[4],\"dismissable\":[4],\"width\":[8],\"zIndex\":[2,\"z-index\"],\"disableBackdropBlur\":[4,\"disable-backdrop-blur\"],\"innerValue\":[32],\"animateModal\":[32],\"standaloneMode\":[32]},null,{\"value\":[\"onValueChange\"]}]]],[\"c-option-value.cjs\",[[1,\"c-option-value\"]]],[\"c-progress-bar.cjs\",[[1,\"c-progress-bar\",{\"value\":[2],\"hideDetails\":[4,\"hide-details\"],\"singleLine\":[4,\"single-line\"],\"label\":[1],\"indeterminate\":[4]}]]],[\"c-row.cjs\",[[1,\"c-row\",{\"gap\":[2],\"nowrap\":[4],\"align\":[1],\"justify\":[1]}]]],[\"c-slider.cjs\",[[1,\"c-slider\",{\"hostId\":[1,\"id\"],\"hostName\":[1,\"name\"],\"ariaLabelInternal\":[1,\"aria-label\"],\"max\":[1],\"min\":[1],\"step\":[1],\"value\":[8],\"unit\":[1],\"ticks\":[4],\"labels\":[4],\"disableTooltip\":[4,\"disable-tooltip\"],\"label\":[1],\"disabled\":[4],\"segments\":[1],\"trackPosition\":[32],\"tickPositions\":[32]},null,{\"segments\":[\"onSegmentChange\"],\"value\":[\"onValueChange\"]}]]],[\"c-status.cjs\",[[1,\"c-status\",{\"type\":[1]}]]],[\"c-step.cjs\",[[1,\"c-step\",{\"complete\":[4],\"current\":[4]}]]],[\"c-steps.cjs\",[[1,\"c-steps\",{\"value\":[8],\"isMobile\":[32],\"label\":[32]},null,{\"value\":[\"watchPropHandler\"]}]]],[\"c-tab-buttons.cjs\",[[1,\"c-tab-buttons\",{\"value\":[1032],\"mandatory\":[4],\"tabs\":[4],\"size\":[1],\"hostDisabled\":[4,\"disabled\"]},[[1,\"tabFocus\",\"tabFocusHandler\"],[2,\"keyup\",\"handleKeyUp\"],[1,\"tabChange\",\"onTabChange\"]],{\"value\":[\"onValueChange\"]}]]],[\"c-tab-item.cjs\",[[1,\"c-tab-item\",{\"value\":[8],\"active\":[4]}]]],[\"c-tab-items.cjs\",[[1,\"c-tab-items\",{\"value\":[8],\"disableAnimation\":[4,\"disable-animation\"],\"activeTab\":[32]},[[1,\"contentChange\",\"tabContentChangeHandler\"]],{\"value\":[\"onValueChange\"]}]]],[\"c-tags.cjs\",[[1,\"c-tags\",{\"size\":[1]}]]],[\"c-autocomplete_35.cjs\",[[65,\"c-autocomplete\",{\"items\":[16],\"value\":[8],\"query\":[1],\"hostId\":[1,\"id\"],\"disabled\":[4],\"label\":[1],\"name\":[1],\"placeholder\":[1],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"loading\":[4],\"required\":[4],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"shadow\":[4],\"returnObject\":[4,\"return-object\"],\"itemsPerPage\":[2,\"items-per-page\"],\"minimumQueryLength\":[2,\"minimum-query-length\"],\"minimumQueryLengthMessage\":[1,\"minimum-query-length-message\"],\"noMatchingItemsMessage\":[1,\"no-matching-items-message\"],\"optionElements\":[32],\"currentIndex\":[32],\"dropdownVisible\":[32],\"statusText\":[32],\"optionElementsExist\":[32],\"reset\":[64]},[[0,\"dropdownStateChange\",\"onDropdownStateChange\"],[0,\"selectOption\",\"onSelectOption\"]],{\"query\":[\"handleQueryChange\"]}],[65,\"c-select\",{\"items\":[16],\"value\":[8],\"hostId\":[1,\"id\"],\"clearable\":[4],\"disabled\":[4],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"name\":[1],\"placeholder\":[1],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"loading\":[4],\"required\":[4],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"shadow\":[4],\"returnObject\":[4,\"return-object\"],\"itemsPerPage\":[2,\"items-per-page\"],\"optionAsSelection\":[4,\"option-as-selection\"],\"optionElements\":[32],\"currentIndex\":[32],\"dropdownVisible\":[32],\"statusText\":[32],\"optionElementsExist\":[32],\"reset\":[64]},[[1,\"keydown\",\"handleKeyDown\"],[0,\"dropdownStateChange\",\"onDropdownStateChange\"],[0,\"selectOption\",\"onSelectOption\"]],{\"value\":[\"onValueChanged\"]}],[1,\"c-card\",{\"fullscreen\":[4],\"isFullscreen\":[32],\"exitFullscreen\":[64],\"enterFullscreen\":[64]}],[1,\"c-navigation-button\"],[1,\"c-side-navigation\",{\"styles\":[16],\"mobile\":[4],\"menuVisible\":[1028,\"menu-visible\"]},[[0,\"itemChange\",\"handleChange\"]]],[1,\"c-side-navigation-item\",{\"active\":[4],\"href\":[1],\"target\":[1],\"loading\":[4]},[[0,\"itemChange\",\"handleChange\"]],{\"active\":[\"onActiveChange\"]}],[1,\"c-button\",{\"inverted\":[4],\"outlined\":[4],\"ghost\":[4],\"danger\":[4],\"grouped\":[4],\"text\":[4],\"loading\":[4],\"fit\":[4],\"noRadius\":[4,\"no-radius\"],\"type\":[1],\"disabled\":[516],\"value\":[8],\"hostId\":[1,\"id\"],\"size\":[1],\"href\":[1],\"target\":[1],\"tabs\":[4]},[[1,\"focus\",\"onTabFocus\"]]],[65,\"c-radio-group\",{\"value\":[1032],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"inline\":[4],\"label\":[1],\"color\":[1],\"hostId\":[1,\"id\"],\"items\":[16],\"disabled\":[4],\"returnObject\":[4,\"return-object\"],\"required\":[4],\"valid\":[4],\"validation\":[1]}],[1,\"c-sub-navigation-item\",{\"active\":[4],\"focusable\":[4],\"href\":[1],\"target\":[1],\"loading\":[4]}],[65,\"c-text-field\",{\"automaticFocus\":[4,\"autofocus\"],\"automaticCapitalize\":[1,\"autocapitalize\"],\"autocorrect\":[1],\"autocomplete\":[1],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"trimWhitespace\":[4,\"trim-whitespace\"],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"max\":[2],\"min\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"rows\":[2],\"shadow\":[4],\"step\":[2],\"type\":[1],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"value\":[1025],\"isFocused\":[32],\"labelWidth\":[32],\"preSlotWidth\":[32]}],[1,\"c-main\",{\"disableLayout\":[4,\"disable-layout\"]}],[65,\"c-otp-input\",{\"hasAutofocus\":[4,\"autofocus\"],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"elementId\":[1,\"id\"],\"length\":[2],\"valid\":[4],\"validation\":[1],\"value\":[1025],\"statusText\":[32],\"reset\":[64]},null,{\"validation\":[\"onValidationMessageChange\"],\"value\":[\"onValueChange\"]}],[65,\"c-switch\",{\"checked\":[1028],\"value\":[8],\"trueValue\":[8,\"true-value\"],\"falseValue\":[8,\"false-value\"],\"hostDisabled\":[4,\"disabled\"],\"loading\":[4],\"hostId\":[1,\"id\"],\"required\":[4],\"hasLabel\":[32]},null,{\"value\":[\"onValueChange\"]}],[1,\"c-card-content\"],[1,\"c-card-title\"],[1,\"c-csc-logo\",{\"width\":[2]}],[1,\"c-option\",{\"selected\":[4],\"disabled\":[4],\"name\":[1],\"value\":[8]}],[1,\"c-page\",{\"scrollIndicator\":[4,\"scroll-indicator\"]}],[1,\"c-radio\",{\"checked\":[4],\"disabled\":[4],\"value\":[1]}],[1,\"c-side-navigation-title\"],[4,\"c-table\",{\"mobileBreakpoint\":[2,\"mobile-breakpoint\"],\"responsive\":[4],\"updateMobileLabels\":[64]}],[1,\"c-toolbar\"],[65,\"c-checkbox\",{\"checked\":[1028],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"indeterminate\":[4],\"label\":[1],\"required\":[4],\"valid\":[4],\"validation\":[1],\"value\":[8],\"trueValue\":[8,\"true-value\"],\"falseValue\":[8,\"false-value\"],\"hostName\":[1,\"name\"]},null,{\"value\":[\"onValueChange\"]}],[1,\"c-backdrop\",{\"disableBackdropBlur\":[4,\"disable-backdrop-blur\"],\"blur\":[32]},null,{\"disableBackdropBlur\":[\"onValueChange\"]}],[1,\"c-card-actions\",{\"align\":[1],\"justify\":[1]}],[1,\"c-spacer\"],[1,\"c-dropdown\",{\"itemsPerPage\":[2,\"items-per-page\"],\"parent\":[16],\"items\":[16],\"index\":[2],\"hostId\":[1,\"id\"],\"type\":[1],\"dropdownItemType\":[1,\"dropdown-item-type\"],\"renderedList\":[32],\"isOpen\":[32],\"statusText\":[32],\"setStatusText\":[64],\"focusItem\":[64],\"open\":[64],\"close\":[64],\"selectItem\":[64],\"updateList\":[64]},null,{\"items\":[\"optionsWatcher\"],\"isOpen\":[\"stateWatcher\"],\"index\":[\"handleIndexChange\"]}],[1,\"c-loader\",{\"contentdelay\":[2],\"hide\":[4],\"size\":[2],\"width\":[2]},null,{\"hide\":[\"onElementHide\"]}],[4,\"c-input\",{\"active\":[4],\"automaticFocus\":[4,\"autofocus\"],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"inputId\":[1,\"input-id\"],\"items\":[16],\"itemsPerPage\":[2,\"items-per-page\"],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"max\":[2],\"min\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"rows\":[2],\"shadow\":[4],\"step\":[2],\"type\":[1],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"value\":[8],\"variant\":[1],\"isFocused\":[32],\"labelWidth\":[32],\"preSlotWidth\":[32],\"statusText\":[32],\"currentIndex\":[32],\"reset\":[64]},null,{\"valid\":[\"onValidChange\"],\"validation\":[\"onValidationMessageChange\"],\"value\":[\"onValueChange\"],\"placeholder\":[\"onPlaceholderChange\"]}],[1,\"c-message\",{\"hint\":[1],\"inputId\":[1,\"input-id\"],\"valid\":[4],\"validation\":[1],\"messageOptions\":[32]},null,{\"valid\":[\"onValidChange\"],\"validation\":[\"onValidationMessageChange\"],\"hint\":[\"onHintMessageChange\"]}],[1,\"c-icon-button\",{\"badge\":[1],\"danger\":[4],\"loading\":[4],\"text\":[4],\"inverted\":[4],\"outlined\":[4],\"path\":[1],\"ghost\":[4],\"disabled\":[4],\"size\":[1]}],[1,\"c-badge\"],[1,\"c-icon\",{\"path\":[1],\"size\":[2],\"color\":[1]}],[1,\"c-spinner\",{\"color\":[1],\"size\":[2],\"width\":[2]}],[1,\"c-ripple\",{\"createRipple\":[64]}]]],[\"c-menu_2.cjs\",[[1,\"c-menu\",{\"items\":[16],\"contentClass\":[1,\"content-class\"],\"custom\":[4],\"small\":[4],\"flat\":[4],\"itemsPerPage\":[2,\"items-per-page\"],\"menuItemsComponent\":[32],\"menuWrapperComponent\":[32],\"currentIndex\":[32],\"active\":[32]},[[2,\"keydown\",\"handleKeyDown\"]]],[1,\"c-menu-items\",{\"items\":[16],\"small\":[4],\"active\":[4],\"parentType\":[1,\"parent-type\"],\"parent\":[16],\"top\":[2],\"index\":[2],\"itemsPerPage\":[2,\"items-per-page\"],\"scrollingParent\":[32],\"isInView\":[32],\"currentIndex\":[32]},[[2,\"keydown\",\"handleKeyDown\"]],{\"currentIndex\":[\"onIndexChange\"]}]]],[\"c-pagination.cjs\",[[1,\"c-pagination\",{\"value\":[16],\"hideDetails\":[4,\"hide-details\"],\"simple\":[4],\"size\":[1],\"hideRange\":[4,\"hide-range\"],\"_currentPage\":[32],\"_itemsPerPage\":[32],\"_pageSizes\":[32],\"_totalVisible\":[32],\"tick\":[32]},null,{\"value\":[\"valueHandler\"]}]]],[\"c-toast.cjs\",[[1,\"c-toast\",{\"message\":[16],\"closeToast\":[64]}]]]]"), options);
|
|
22
|
+
return index.bootstrapLazy(JSON.parse("[[\"c-data-table.cjs\",[[1,\"c-data-table\",{\"data\":[16],\"externalData\":[4,\"external-data\"],\"headers\":[16],\"hideFooter\":[4,\"hide-footer\"],\"footerOptions\":[16],\"loading\":[4],\"loadingText\":[1,\"loading-text\"],\"noDataText\":[1,\"no-data-text\"],\"pagination\":[1040],\"selectable\":[4],\"singleSelection\":[4,\"single-selection\"],\"selectionProperty\":[1,\"selection-property\"],\"singleExpansion\":[4,\"single-expansion\"],\"sortBy\":[1032,\"sort-by\"],\"sortDirection\":[1025,\"sort-direction\"],\"stickyHeader\":[4,\"sticky-header\"],\"horizontalScrolling\":[4,\"horizontal-scrolling\"],\"_activeRows\":[32],\"_data\":[32],\"_isIndeterminate\":[32],\"_isPaginationSimple\":[32],\"_selections\":[32],\"hasOverflow\":[32],\"hiddenHeaders\":[32],\"initiallyHiddenHeaders\":[32],\"forceRender\":[32],\"breakpoints\":[32],\"markedFooterWidth\":[32],\"parentWidth\":[32],\"firstCellHidden\":[32],\"lastCellHidden\":[32],\"clearSelections\":[64],\"getData\":[64]},null,{\"hiddenHeaders\":[\"onHiddenHeaderChange\"],\"data\":[\"onDataChange\"],\"headers\":[\"onHeaderChange\"],\"singleSelection\":[\"onSingleSelectionChange\"],\"loading\":[\"onLoadingChange\"]}]]],[\"c-tabs.cjs\",[[1,\"c-tabs\",{\"value\":[1032],\"borderless\":[4],\"disableAnimation\":[4,\"disable-animation\"],\"justify\":[1],\"mobileBreakpoint\":[2,\"mobile-breakpoint\"],\"vertical\":[4],\"isOverflowing\":[32],\"isMobile\":[32],\"scrollOffset\":[32]},[[1,\"tabFocus\",\"tabFocusHandler\"],[1,\"tabChange\",\"tabChangeHandler\"],[2,\"keydown\",\"handleKeyDown\"],[2,\"keyup\",\"handleKeyUp\"]],{\"justify\":[\"onJustificationChange\"],\"value\":[\"onExternalValueChange\"],\"scrollOffset\":[\"onScrollOffsetChange\"]}]]],[\"c-tag.cjs\",[[1,\"c-tag\",{\"active\":[4],\"block\":[4],\"fit\":[4],\"flat\":[4],\"closeable\":[4],\"badge\":[8],\"size\":[1]}]]],[\"c-swiper.cjs\",[[4,\"c-swiper\",{\"value\":[1544],\"elementId\":[1,\"id\"],\"isBeginning\":[32],\"isEnd\":[32],\"statusText\":[32]},[[0,\"changeValue\",\"onTabClick\"],[2,\"keyup\",\"handleKeyUp\"]]]]],[\"c-text-field-open.cjs\",[[68,\"c-text-field-open\",{\"automaticFocus\":[4,\"autofocus\"],\"automaticCapitalize\":[1,\"autocapitalize\"],\"autocorrect\":[1],\"autocomplete\":[1],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"trimWhitespace\":[4,\"trim-whitespace\"],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"max\":[2],\"min\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"rows\":[2],\"shadow\":[4],\"step\":[2],\"type\":[1],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"value\":[1025],\"renderOutsideShadow\":[4,\"render-outside-shadow\"],\"isFocused\":[32],\"labelWidth\":[32],\"preSlotWidth\":[32]}]]],[\"c-toasts.cjs\",[[1,\"c-toasts\",{\"absolute\":[4],\"horizontal\":[1],\"vertical\":[1],\"messages\":[32],\"addToast\":[64],\"removeToast\":[64]}]]],[\"c-accordion-item.cjs\",[[1,\"c-accordion-item\",{\"collapsable\":[4],\"heading\":[1],\"value\":[8],\"expanded\":[4],\"outlined\":[4],\"hasCustomHeader\":[32],\"hasIcon\":[32]},[[2,\"keydown\",\"handleKeyDown\"],[0,\"changeValue\",\"stop\"]]]]],[\"c-list-item.cjs\",[[1,\"c-list-item\",{\"active\":[4],\"disabled\":[4],\"disabledByParent\":[4,\"disabled-by-parent\"],\"hoverable\":[4],\"ripple\":[4],\"href\":[1],\"target\":[1]},null,{\"active\":[\"onActiveChange\"]}]]],[\"c-login-card-actions.cjs\",[[1,\"c-login-card-actions\",{\"align\":[1],\"justify\":[1]}]]],[\"c-swiper-tab.cjs\",[[1,\"c-swiper-tab\",{\"disabled\":[4],\"active\":[4],\"label\":[1],\"hostId\":[1,\"id\"],\"setsize\":[2],\"position\":[2],\"value\":[8]},[[1,\"click\",\"onTabClick\"]]]]],[\"c-tab.cjs\",[[1,\"c-tab\",{\"active\":[4],\"disabled\":[4],\"hostId\":[1,\"id\"],\"position\":[2],\"setsize\":[2],\"value\":[8]},[[1,\"focus\",\"onTabFocus\"],[1,\"keydown\",\"handleKeydown\"]]]]],[\"c-accordion.cjs\",[[1,\"c-accordion\",{\"value\":[1032],\"mandatory\":[4],\"multiple\":[4],\"outlined\":[4]},[[1,\"itemChange\",\"onAccordionItemChange\"]],{\"value\":[\"watchPropHandler\"]}]]],[\"c-alert.cjs\",[[1,\"c-alert\",{\"type\":[1]}]]],[\"c-link.cjs\",[[1,\"c-link\",{\"href\":[1],\"underline\":[4],\"target\":[1],\"weight\":[1]}]]],[\"c-list.cjs\",[[0,\"c-list\",{\"disabled\":[4],\"bordered\":[4]},null,{\"disabled\":[\"onDisabledChange\"]}]]],[\"c-list-item-title.cjs\",[[1,\"c-list-item-title\",{\"active\":[4]}]]],[\"c-login-button.cjs\",[[1,\"c-login-button\",{\"href\":[1],\"src\":[1],\"alt\":[1]}]]],[\"c-login-buttons.cjs\",[[1,\"c-login-buttons\"]]],[\"c-login-card.cjs\",[[4,\"c-login-card\",{\"backgroundPosition\":[1,\"background-position\"],\"mobileBreakpoint\":[2,\"mobile-breakpoint\"],\"overlay\":[4],\"overlayBlendMode\":[1,\"overlay-blend-mode\"],\"src\":[1],\"path\":[32],\"imageHeight\":[32]}]]],[\"c-login-card-content.cjs\",[[1,\"c-login-card-content\"]]],[\"c-login-card-title.cjs\",[[1,\"c-login-card-title\"]]],[\"c-modal.cjs\",[[1,\"c-modal\",{\"value\":[4],\"dismissable\":[4],\"width\":[8],\"zIndex\":[2,\"z-index\"],\"disableBackdropBlur\":[4,\"disable-backdrop-blur\"],\"innerValue\":[32],\"animateModal\":[32],\"standaloneMode\":[32]},null,{\"value\":[\"onValueChange\"]}]]],[\"c-option-value.cjs\",[[1,\"c-option-value\"]]],[\"c-progress-bar.cjs\",[[1,\"c-progress-bar\",{\"value\":[2],\"hideDetails\":[4,\"hide-details\"],\"singleLine\":[4,\"single-line\"],\"label\":[1],\"indeterminate\":[4]}]]],[\"c-row.cjs\",[[1,\"c-row\",{\"gap\":[2],\"nowrap\":[4],\"align\":[1],\"justify\":[1]}]]],[\"c-slider.cjs\",[[1,\"c-slider\",{\"hostId\":[1,\"id\"],\"hostName\":[1,\"name\"],\"ariaLabelInternal\":[1,\"aria-label\"],\"max\":[1],\"min\":[1],\"step\":[1],\"value\":[8],\"unit\":[1],\"ticks\":[4],\"labels\":[4],\"disableTooltip\":[4,\"disable-tooltip\"],\"label\":[1],\"disabled\":[4],\"segments\":[1],\"trackPosition\":[32],\"tickPositions\":[32]},null,{\"segments\":[\"onSegmentChange\"],\"value\":[\"onValueChange\"]}]]],[\"c-status.cjs\",[[1,\"c-status\",{\"type\":[1]}]]],[\"c-step.cjs\",[[1,\"c-step\",{\"complete\":[4],\"current\":[4]}]]],[\"c-steps.cjs\",[[1,\"c-steps\",{\"value\":[8],\"isMobile\":[32],\"label\":[32]},null,{\"value\":[\"watchPropHandler\"]}]]],[\"c-tab-buttons.cjs\",[[1,\"c-tab-buttons\",{\"value\":[1032],\"mandatory\":[4],\"tabs\":[4],\"size\":[1],\"hostDisabled\":[4,\"disabled\"]},[[1,\"tabFocus\",\"tabFocusHandler\"],[2,\"keyup\",\"handleKeyUp\"],[1,\"tabChange\",\"onTabChange\"]],{\"value\":[\"onValueChange\"]}]]],[\"c-tab-item.cjs\",[[1,\"c-tab-item\",{\"value\":[8],\"active\":[4]}]]],[\"c-tab-items.cjs\",[[1,\"c-tab-items\",{\"value\":[8],\"disableAnimation\":[4,\"disable-animation\"],\"activeTab\":[32]},[[1,\"contentChange\",\"tabContentChangeHandler\"]],{\"value\":[\"onValueChange\"]}]]],[\"c-tags.cjs\",[[1,\"c-tags\",{\"size\":[1]}]]],[\"c-autocomplete_35.cjs\",[[65,\"c-autocomplete\",{\"items\":[16],\"value\":[8],\"query\":[1],\"hostId\":[1,\"id\"],\"disabled\":[4],\"label\":[1],\"name\":[1],\"placeholder\":[1],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"loading\":[4],\"required\":[4],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"shadow\":[4],\"returnObject\":[4,\"return-object\"],\"itemsPerPage\":[2,\"items-per-page\"],\"minimumQueryLength\":[2,\"minimum-query-length\"],\"minimumQueryLengthMessage\":[1,\"minimum-query-length-message\"],\"noMatchingItemsMessage\":[1,\"no-matching-items-message\"],\"optionElements\":[32],\"currentIndex\":[32],\"dropdownVisible\":[32],\"statusText\":[32],\"optionElementsExist\":[32],\"reset\":[64]},[[0,\"dropdownStateChange\",\"onDropdownStateChange\"],[0,\"selectOption\",\"onSelectOption\"]],{\"query\":[\"handleQueryChange\"]}],[65,\"c-select\",{\"items\":[16],\"value\":[8],\"hostId\":[1,\"id\"],\"clearable\":[4],\"disabled\":[4],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"name\":[1],\"placeholder\":[1],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"loading\":[4],\"required\":[4],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"shadow\":[4],\"returnObject\":[4,\"return-object\"],\"itemsPerPage\":[2,\"items-per-page\"],\"optionAsSelection\":[4,\"option-as-selection\"],\"optionElements\":[32],\"currentIndex\":[32],\"dropdownVisible\":[32],\"statusText\":[32],\"optionElementsExist\":[32],\"reset\":[64]},[[1,\"keydown\",\"handleKeyDown\"],[0,\"dropdownStateChange\",\"onDropdownStateChange\"],[0,\"selectOption\",\"onSelectOption\"]],{\"value\":[\"onValueChanged\"]}],[1,\"c-card\",{\"fullscreen\":[4],\"isFullscreen\":[32],\"exitFullscreen\":[64],\"enterFullscreen\":[64]}],[1,\"c-navigation-button\"],[1,\"c-side-navigation\",{\"styles\":[16],\"mobile\":[4],\"menuVisible\":[1028,\"menu-visible\"]},[[0,\"itemChange\",\"handleChange\"]]],[1,\"c-side-navigation-item\",{\"active\":[4],\"href\":[1],\"target\":[1],\"loading\":[4]},[[0,\"itemChange\",\"handleChange\"]],{\"active\":[\"onActiveChange\"]}],[1,\"c-button\",{\"inverted\":[4],\"outlined\":[4],\"ghost\":[4],\"danger\":[4],\"grouped\":[4],\"text\":[4],\"loading\":[4],\"fit\":[4],\"noRadius\":[4,\"no-radius\"],\"type\":[1],\"disabled\":[516],\"value\":[8],\"hostId\":[1,\"id\"],\"size\":[1],\"href\":[1],\"target\":[1],\"tabs\":[4]},[[1,\"focus\",\"onTabFocus\"]]],[65,\"c-radio-group\",{\"value\":[1032],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"inline\":[4],\"label\":[1],\"color\":[1],\"hostId\":[1,\"id\"],\"items\":[16],\"disabled\":[4],\"returnObject\":[4,\"return-object\"],\"required\":[4],\"valid\":[4],\"validation\":[1]}],[1,\"c-sub-navigation-item\",{\"active\":[4],\"focusable\":[4],\"href\":[1],\"target\":[1],\"loading\":[4]}],[65,\"c-text-field\",{\"automaticFocus\":[4,\"autofocus\"],\"automaticCapitalize\":[1,\"autocapitalize\"],\"autocorrect\":[1],\"autocomplete\":[1],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"trimWhitespace\":[4,\"trim-whitespace\"],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"max\":[2],\"min\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"rows\":[2],\"shadow\":[4],\"step\":[2],\"type\":[1],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"value\":[1025],\"isFocused\":[32],\"labelWidth\":[32],\"preSlotWidth\":[32]}],[1,\"c-main\",{\"disableLayout\":[4,\"disable-layout\"]}],[65,\"c-otp-input\",{\"hasAutofocus\":[4,\"autofocus\"],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"elementId\":[1,\"id\"],\"length\":[2],\"valid\":[4],\"validation\":[1],\"value\":[1025],\"statusText\":[32],\"reset\":[64]},null,{\"validation\":[\"onValidationMessageChange\"],\"value\":[\"onValueChange\"]}],[65,\"c-switch\",{\"checked\":[1028],\"value\":[8],\"trueValue\":[8,\"true-value\"],\"falseValue\":[8,\"false-value\"],\"hostDisabled\":[4,\"disabled\"],\"loading\":[4],\"hostId\":[1,\"id\"],\"required\":[4],\"hasLabel\":[32]},null,{\"value\":[\"onValueChange\"]}],[1,\"c-card-content\"],[1,\"c-card-title\"],[1,\"c-csc-logo\",{\"width\":[2]}],[1,\"c-option\",{\"selected\":[4],\"disabled\":[4],\"name\":[1],\"value\":[8]}],[1,\"c-page\",{\"scrollIndicator\":[4,\"scroll-indicator\"]}],[1,\"c-radio\",{\"checked\":[4],\"disabled\":[4],\"value\":[1]}],[1,\"c-side-navigation-title\"],[4,\"c-table\",{\"mobileBreakpoint\":[2,\"mobile-breakpoint\"],\"responsive\":[4],\"updateMobileLabels\":[64]}],[1,\"c-toolbar\"],[65,\"c-checkbox\",{\"checked\":[1028],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"indeterminate\":[4],\"label\":[1],\"required\":[4],\"valid\":[4],\"validation\":[1],\"value\":[8],\"trueValue\":[8,\"true-value\"],\"falseValue\":[8,\"false-value\"],\"hostName\":[1,\"name\"]},null,{\"value\":[\"onValueChange\"]}],[1,\"c-backdrop\",{\"disableBackdropBlur\":[4,\"disable-backdrop-blur\"],\"blur\":[32]},null,{\"disableBackdropBlur\":[\"onValueChange\"]}],[1,\"c-card-actions\",{\"align\":[1],\"justify\":[1]}],[1,\"c-spacer\"],[1,\"c-dropdown\",{\"itemsPerPage\":[2,\"items-per-page\"],\"parent\":[16],\"items\":[16],\"index\":[2],\"hostId\":[1,\"id\"],\"type\":[1],\"dropdownItemType\":[1,\"dropdown-item-type\"],\"renderedList\":[32],\"isOpen\":[32],\"statusText\":[32],\"setStatusText\":[64],\"focusItem\":[64],\"open\":[64],\"close\":[64],\"selectItem\":[64],\"updateList\":[64]},null,{\"items\":[\"optionsWatcher\"],\"isOpen\":[\"stateWatcher\"],\"index\":[\"handleIndexChange\"]}],[1,\"c-loader\",{\"contentdelay\":[2],\"hide\":[4],\"size\":[2],\"width\":[2]},null,{\"hide\":[\"onElementHide\"]}],[4,\"c-input\",{\"active\":[4],\"automaticFocus\":[4,\"autofocus\"],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"inputId\":[1,\"input-id\"],\"items\":[16],\"itemsPerPage\":[2,\"items-per-page\"],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"max\":[2],\"min\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"rows\":[2],\"shadow\":[4],\"step\":[2],\"type\":[1],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"value\":[8],\"variant\":[1],\"isFocused\":[32],\"labelWidth\":[32],\"preSlotWidth\":[32],\"statusText\":[32],\"currentIndex\":[32],\"reset\":[64]},null,{\"valid\":[\"onValidChange\"],\"validation\":[\"onValidationMessageChange\"],\"value\":[\"onValueChange\"],\"placeholder\":[\"onPlaceholderChange\"]}],[1,\"c-message\",{\"hint\":[1],\"inputId\":[1,\"input-id\"],\"valid\":[4],\"validation\":[1],\"messageOptions\":[32]},null,{\"valid\":[\"onValidChange\"],\"validation\":[\"onValidationMessageChange\"],\"hint\":[\"onHintMessageChange\"]}],[1,\"c-icon-button\",{\"badge\":[1],\"danger\":[4],\"loading\":[4],\"text\":[4],\"inverted\":[4],\"outlined\":[4],\"path\":[1],\"ghost\":[4],\"disabled\":[4],\"size\":[1]}],[1,\"c-badge\"],[1,\"c-icon\",{\"path\":[1],\"size\":[2],\"color\":[1]}],[1,\"c-spinner\",{\"color\":[1],\"size\":[2],\"width\":[2]}],[1,\"c-ripple\",{\"createRipple\":[64]}]]],[\"c-menu_2.cjs\",[[1,\"c-menu\",{\"items\":[16],\"contentClass\":[1,\"content-class\"],\"custom\":[4],\"small\":[4],\"flat\":[4],\"itemsPerPage\":[2,\"items-per-page\"],\"menuItemsComponent\":[32],\"menuWrapperComponent\":[32],\"currentIndex\":[32],\"active\":[32]},[[2,\"keydown\",\"handleKeyDown\"]]],[1,\"c-menu-items\",{\"items\":[16],\"small\":[4],\"active\":[4],\"parentType\":[1,\"parent-type\"],\"parent\":[16],\"top\":[2],\"index\":[2],\"itemsPerPage\":[2,\"items-per-page\"],\"scrollingParent\":[32],\"isInView\":[32],\"currentIndex\":[32]},[[2,\"keydown\",\"handleKeyDown\"]],{\"currentIndex\":[\"onIndexChange\"]}]]],[\"c-pagination.cjs\",[[1,\"c-pagination\",{\"value\":[16],\"hideDetails\":[4,\"hide-details\"],\"simple\":[4],\"size\":[1],\"hideRange\":[4,\"hide-range\"],\"_currentPage\":[32],\"_itemsPerPage\":[32],\"_pageSizes\":[32],\"_totalVisible\":[32],\"tick\":[32]},null,{\"value\":[\"valueHandler\"]}]]],[\"c-toast.cjs\",[[1,\"c-toast\",{\"message\":[16],\"closeToast\":[64]}]]]]"), options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -189,6 +189,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
189
189
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
190
190
|
/* webpackMode: "lazy" */
|
|
191
191
|
'./c-tags.cjs.entry.js')); }).then(processMod, consoleError);
|
|
192
|
+
case 'c-text-field-open.cjs':
|
|
193
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
194
|
+
/* webpackMode: "lazy" */
|
|
195
|
+
'./c-text-field-open.cjs.entry.js')); }).then(processMod, consoleError);
|
|
192
196
|
case 'c-toasts.cjs':
|
|
193
197
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
194
198
|
/* webpackMode: "lazy" */
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -6,7 +6,7 @@ var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
|
6
6
|
const defineCustomElements = async (win, options) => {
|
|
7
7
|
if (typeof window === 'undefined') return undefined;
|
|
8
8
|
await appGlobals.globalScripts();
|
|
9
|
-
return index.bootstrapLazy(JSON.parse("[[\"c-data-table.cjs\",[[1,\"c-data-table\",{\"data\":[16],\"externalData\":[4,\"external-data\"],\"headers\":[16],\"hideFooter\":[4,\"hide-footer\"],\"footerOptions\":[16],\"loading\":[4],\"loadingText\":[1,\"loading-text\"],\"noDataText\":[1,\"no-data-text\"],\"pagination\":[1040],\"selectable\":[4],\"singleSelection\":[4,\"single-selection\"],\"selectionProperty\":[1,\"selection-property\"],\"singleExpansion\":[4,\"single-expansion\"],\"sortBy\":[1032,\"sort-by\"],\"sortDirection\":[1025,\"sort-direction\"],\"stickyHeader\":[4,\"sticky-header\"],\"horizontalScrolling\":[4,\"horizontal-scrolling\"],\"_activeRows\":[32],\"_data\":[32],\"_isIndeterminate\":[32],\"_isPaginationSimple\":[32],\"_selections\":[32],\"hasOverflow\":[32],\"hiddenHeaders\":[32],\"initiallyHiddenHeaders\":[32],\"forceRender\":[32],\"breakpoints\":[32],\"markedFooterWidth\":[32],\"parentWidth\":[32],\"firstCellHidden\":[32],\"lastCellHidden\":[32],\"clearSelections\":[64],\"getData\":[64]},null,{\"hiddenHeaders\":[\"onHiddenHeaderChange\"],\"data\":[\"onDataChange\"],\"headers\":[\"onHeaderChange\"],\"singleSelection\":[\"onSingleSelectionChange\"],\"loading\":[\"onLoadingChange\"]}]]],[\"c-tabs.cjs\",[[1,\"c-tabs\",{\"value\":[1032],\"borderless\":[4],\"disableAnimation\":[4,\"disable-animation\"],\"justify\":[1],\"mobileBreakpoint\":[2,\"mobile-breakpoint\"],\"vertical\":[4],\"isOverflowing\":[32],\"isMobile\":[32],\"scrollOffset\":[32]},[[1,\"tabFocus\",\"tabFocusHandler\"],[1,\"tabChange\",\"tabChangeHandler\"],[2,\"keydown\",\"handleKeyDown\"],[2,\"keyup\",\"handleKeyUp\"]],{\"justify\":[\"onJustificationChange\"],\"value\":[\"onExternalValueChange\"],\"scrollOffset\":[\"onScrollOffsetChange\"]}]]],[\"c-tag.cjs\",[[1,\"c-tag\",{\"active\":[4],\"block\":[4],\"fit\":[4],\"flat\":[4],\"closeable\":[4],\"badge\":[8],\"size\":[1]}]]],[\"c-swiper.cjs\",[[4,\"c-swiper\",{\"value\":[1544],\"elementId\":[1,\"id\"],\"isBeginning\":[32],\"isEnd\":[32],\"statusText\":[32]},[[0,\"changeValue\",\"onTabClick\"],[2,\"keyup\",\"handleKeyUp\"]]]]],[\"c-toasts.cjs\",[[1,\"c-toasts\",{\"absolute\":[4],\"horizontal\":[1],\"vertical\":[1],\"messages\":[32],\"addToast\":[64],\"removeToast\":[64]}]]],[\"c-accordion-item.cjs\",[[1,\"c-accordion-item\",{\"collapsable\":[4],\"heading\":[1],\"value\":[8],\"expanded\":[4],\"outlined\":[4],\"hasCustomHeader\":[32],\"hasIcon\":[32]},[[2,\"keydown\",\"handleKeyDown\"],[0,\"changeValue\",\"stop\"]]]]],[\"c-list-item.cjs\",[[1,\"c-list-item\",{\"active\":[4],\"disabled\":[4],\"disabledByParent\":[4,\"disabled-by-parent\"],\"hoverable\":[4],\"ripple\":[4],\"href\":[1],\"target\":[1]},null,{\"active\":[\"onActiveChange\"]}]]],[\"c-login-card-actions.cjs\",[[1,\"c-login-card-actions\",{\"align\":[1],\"justify\":[1]}]]],[\"c-swiper-tab.cjs\",[[1,\"c-swiper-tab\",{\"disabled\":[4],\"active\":[4],\"label\":[1],\"hostId\":[1,\"id\"],\"setsize\":[2],\"position\":[2],\"value\":[8]},[[1,\"click\",\"onTabClick\"]]]]],[\"c-tab.cjs\",[[1,\"c-tab\",{\"active\":[4],\"disabled\":[4],\"hostId\":[1,\"id\"],\"position\":[2],\"setsize\":[2],\"value\":[8]},[[1,\"focus\",\"onTabFocus\"],[1,\"keydown\",\"handleKeydown\"]]]]],[\"c-accordion.cjs\",[[1,\"c-accordion\",{\"value\":[1032],\"mandatory\":[4],\"multiple\":[4],\"outlined\":[4]},[[1,\"itemChange\",\"onAccordionItemChange\"]],{\"value\":[\"watchPropHandler\"]}]]],[\"c-alert.cjs\",[[1,\"c-alert\",{\"type\":[1]}]]],[\"c-link.cjs\",[[1,\"c-link\",{\"href\":[1],\"underline\":[4],\"target\":[1],\"weight\":[1]}]]],[\"c-list.cjs\",[[0,\"c-list\",{\"disabled\":[4],\"bordered\":[4]},null,{\"disabled\":[\"onDisabledChange\"]}]]],[\"c-list-item-title.cjs\",[[1,\"c-list-item-title\",{\"active\":[4]}]]],[\"c-login-button.cjs\",[[1,\"c-login-button\",{\"href\":[1],\"src\":[1],\"alt\":[1]}]]],[\"c-login-buttons.cjs\",[[1,\"c-login-buttons\"]]],[\"c-login-card.cjs\",[[4,\"c-login-card\",{\"backgroundPosition\":[1,\"background-position\"],\"mobileBreakpoint\":[2,\"mobile-breakpoint\"],\"overlay\":[4],\"overlayBlendMode\":[1,\"overlay-blend-mode\"],\"src\":[1],\"path\":[32],\"imageHeight\":[32]}]]],[\"c-login-card-content.cjs\",[[1,\"c-login-card-content\"]]],[\"c-login-card-title.cjs\",[[1,\"c-login-card-title\"]]],[\"c-modal.cjs\",[[1,\"c-modal\",{\"value\":[4],\"dismissable\":[4],\"width\":[8],\"zIndex\":[2,\"z-index\"],\"disableBackdropBlur\":[4,\"disable-backdrop-blur\"],\"innerValue\":[32],\"animateModal\":[32],\"standaloneMode\":[32]},null,{\"value\":[\"onValueChange\"]}]]],[\"c-option-value.cjs\",[[1,\"c-option-value\"]]],[\"c-progress-bar.cjs\",[[1,\"c-progress-bar\",{\"value\":[2],\"hideDetails\":[4,\"hide-details\"],\"singleLine\":[4,\"single-line\"],\"label\":[1],\"indeterminate\":[4]}]]],[\"c-row.cjs\",[[1,\"c-row\",{\"gap\":[2],\"nowrap\":[4],\"align\":[1],\"justify\":[1]}]]],[\"c-slider.cjs\",[[1,\"c-slider\",{\"hostId\":[1,\"id\"],\"hostName\":[1,\"name\"],\"ariaLabelInternal\":[1,\"aria-label\"],\"max\":[1],\"min\":[1],\"step\":[1],\"value\":[8],\"unit\":[1],\"ticks\":[4],\"labels\":[4],\"disableTooltip\":[4,\"disable-tooltip\"],\"label\":[1],\"disabled\":[4],\"segments\":[1],\"trackPosition\":[32],\"tickPositions\":[32]},null,{\"segments\":[\"onSegmentChange\"],\"value\":[\"onValueChange\"]}]]],[\"c-status.cjs\",[[1,\"c-status\",{\"type\":[1]}]]],[\"c-step.cjs\",[[1,\"c-step\",{\"complete\":[4],\"current\":[4]}]]],[\"c-steps.cjs\",[[1,\"c-steps\",{\"value\":[8],\"isMobile\":[32],\"label\":[32]},null,{\"value\":[\"watchPropHandler\"]}]]],[\"c-tab-buttons.cjs\",[[1,\"c-tab-buttons\",{\"value\":[1032],\"mandatory\":[4],\"tabs\":[4],\"size\":[1],\"hostDisabled\":[4,\"disabled\"]},[[1,\"tabFocus\",\"tabFocusHandler\"],[2,\"keyup\",\"handleKeyUp\"],[1,\"tabChange\",\"onTabChange\"]],{\"value\":[\"onValueChange\"]}]]],[\"c-tab-item.cjs\",[[1,\"c-tab-item\",{\"value\":[8],\"active\":[4]}]]],[\"c-tab-items.cjs\",[[1,\"c-tab-items\",{\"value\":[8],\"disableAnimation\":[4,\"disable-animation\"],\"activeTab\":[32]},[[1,\"contentChange\",\"tabContentChangeHandler\"]],{\"value\":[\"onValueChange\"]}]]],[\"c-tags.cjs\",[[1,\"c-tags\",{\"size\":[1]}]]],[\"c-autocomplete_35.cjs\",[[65,\"c-autocomplete\",{\"items\":[16],\"value\":[8],\"query\":[1],\"hostId\":[1,\"id\"],\"disabled\":[4],\"label\":[1],\"name\":[1],\"placeholder\":[1],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"loading\":[4],\"required\":[4],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"shadow\":[4],\"returnObject\":[4,\"return-object\"],\"itemsPerPage\":[2,\"items-per-page\"],\"minimumQueryLength\":[2,\"minimum-query-length\"],\"minimumQueryLengthMessage\":[1,\"minimum-query-length-message\"],\"noMatchingItemsMessage\":[1,\"no-matching-items-message\"],\"optionElements\":[32],\"currentIndex\":[32],\"dropdownVisible\":[32],\"statusText\":[32],\"optionElementsExist\":[32],\"reset\":[64]},[[0,\"dropdownStateChange\",\"onDropdownStateChange\"],[0,\"selectOption\",\"onSelectOption\"]],{\"query\":[\"handleQueryChange\"]}],[65,\"c-select\",{\"items\":[16],\"value\":[8],\"hostId\":[1,\"id\"],\"clearable\":[4],\"disabled\":[4],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"name\":[1],\"placeholder\":[1],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"loading\":[4],\"required\":[4],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"shadow\":[4],\"returnObject\":[4,\"return-object\"],\"itemsPerPage\":[2,\"items-per-page\"],\"optionAsSelection\":[4,\"option-as-selection\"],\"optionElements\":[32],\"currentIndex\":[32],\"dropdownVisible\":[32],\"statusText\":[32],\"optionElementsExist\":[32],\"reset\":[64]},[[1,\"keydown\",\"handleKeyDown\"],[0,\"dropdownStateChange\",\"onDropdownStateChange\"],[0,\"selectOption\",\"onSelectOption\"]],{\"value\":[\"onValueChanged\"]}],[1,\"c-card\",{\"fullscreen\":[4],\"isFullscreen\":[32],\"exitFullscreen\":[64],\"enterFullscreen\":[64]}],[1,\"c-navigation-button\"],[1,\"c-side-navigation\",{\"styles\":[16],\"mobile\":[4],\"menuVisible\":[1028,\"menu-visible\"]},[[0,\"itemChange\",\"handleChange\"]]],[1,\"c-side-navigation-item\",{\"active\":[4],\"href\":[1],\"target\":[1],\"loading\":[4]},[[0,\"itemChange\",\"handleChange\"]],{\"active\":[\"onActiveChange\"]}],[1,\"c-button\",{\"inverted\":[4],\"outlined\":[4],\"ghost\":[4],\"danger\":[4],\"grouped\":[4],\"text\":[4],\"loading\":[4],\"fit\":[4],\"noRadius\":[4,\"no-radius\"],\"type\":[1],\"disabled\":[516],\"value\":[8],\"hostId\":[1,\"id\"],\"size\":[1],\"href\":[1],\"target\":[1],\"tabs\":[4]},[[1,\"focus\",\"onTabFocus\"]]],[65,\"c-radio-group\",{\"value\":[1032],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"inline\":[4],\"label\":[1],\"color\":[1],\"hostId\":[1,\"id\"],\"items\":[16],\"disabled\":[4],\"returnObject\":[4,\"return-object\"],\"required\":[4],\"valid\":[4],\"validation\":[1]}],[1,\"c-sub-navigation-item\",{\"active\":[4],\"focusable\":[4],\"href\":[1],\"target\":[1],\"loading\":[4]}],[65,\"c-text-field\",{\"automaticFocus\":[4,\"autofocus\"],\"automaticCapitalize\":[1,\"autocapitalize\"],\"autocorrect\":[1],\"autocomplete\":[1],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"trimWhitespace\":[4,\"trim-whitespace\"],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"max\":[2],\"min\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"rows\":[2],\"shadow\":[4],\"step\":[2],\"type\":[1],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"value\":[1025],\"isFocused\":[32],\"labelWidth\":[32],\"preSlotWidth\":[32]}],[1,\"c-main\",{\"disableLayout\":[4,\"disable-layout\"]}],[65,\"c-otp-input\",{\"hasAutofocus\":[4,\"autofocus\"],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"elementId\":[1,\"id\"],\"length\":[2],\"valid\":[4],\"validation\":[1],\"value\":[1025],\"statusText\":[32],\"reset\":[64]},null,{\"validation\":[\"onValidationMessageChange\"],\"value\":[\"onValueChange\"]}],[65,\"c-switch\",{\"checked\":[1028],\"value\":[8],\"trueValue\":[8,\"true-value\"],\"falseValue\":[8,\"false-value\"],\"hostDisabled\":[4,\"disabled\"],\"loading\":[4],\"hostId\":[1,\"id\"],\"required\":[4],\"hasLabel\":[32]},null,{\"value\":[\"onValueChange\"]}],[1,\"c-card-content\"],[1,\"c-card-title\"],[1,\"c-csc-logo\",{\"width\":[2]}],[1,\"c-option\",{\"selected\":[4],\"disabled\":[4],\"name\":[1],\"value\":[8]}],[1,\"c-page\",{\"scrollIndicator\":[4,\"scroll-indicator\"]}],[1,\"c-radio\",{\"checked\":[4],\"disabled\":[4],\"value\":[1]}],[1,\"c-side-navigation-title\"],[4,\"c-table\",{\"mobileBreakpoint\":[2,\"mobile-breakpoint\"],\"responsive\":[4],\"updateMobileLabels\":[64]}],[1,\"c-toolbar\"],[65,\"c-checkbox\",{\"checked\":[1028],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"indeterminate\":[4],\"label\":[1],\"required\":[4],\"valid\":[4],\"validation\":[1],\"value\":[8],\"trueValue\":[8,\"true-value\"],\"falseValue\":[8,\"false-value\"],\"hostName\":[1,\"name\"]},null,{\"value\":[\"onValueChange\"]}],[1,\"c-backdrop\",{\"disableBackdropBlur\":[4,\"disable-backdrop-blur\"],\"blur\":[32]},null,{\"disableBackdropBlur\":[\"onValueChange\"]}],[1,\"c-card-actions\",{\"align\":[1],\"justify\":[1]}],[1,\"c-spacer\"],[1,\"c-dropdown\",{\"itemsPerPage\":[2,\"items-per-page\"],\"parent\":[16],\"items\":[16],\"index\":[2],\"hostId\":[1,\"id\"],\"type\":[1],\"dropdownItemType\":[1,\"dropdown-item-type\"],\"renderedList\":[32],\"isOpen\":[32],\"statusText\":[32],\"setStatusText\":[64],\"focusItem\":[64],\"open\":[64],\"close\":[64],\"selectItem\":[64],\"updateList\":[64]},null,{\"items\":[\"optionsWatcher\"],\"isOpen\":[\"stateWatcher\"],\"index\":[\"handleIndexChange\"]}],[1,\"c-loader\",{\"contentdelay\":[2],\"hide\":[4],\"size\":[2],\"width\":[2]},null,{\"hide\":[\"onElementHide\"]}],[4,\"c-input\",{\"active\":[4],\"automaticFocus\":[4,\"autofocus\"],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"inputId\":[1,\"input-id\"],\"items\":[16],\"itemsPerPage\":[2,\"items-per-page\"],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"max\":[2],\"min\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"rows\":[2],\"shadow\":[4],\"step\":[2],\"type\":[1],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"value\":[8],\"variant\":[1],\"isFocused\":[32],\"labelWidth\":[32],\"preSlotWidth\":[32],\"statusText\":[32],\"currentIndex\":[32],\"reset\":[64]},null,{\"valid\":[\"onValidChange\"],\"validation\":[\"onValidationMessageChange\"],\"value\":[\"onValueChange\"],\"placeholder\":[\"onPlaceholderChange\"]}],[1,\"c-message\",{\"hint\":[1],\"inputId\":[1,\"input-id\"],\"valid\":[4],\"validation\":[1],\"messageOptions\":[32]},null,{\"valid\":[\"onValidChange\"],\"validation\":[\"onValidationMessageChange\"],\"hint\":[\"onHintMessageChange\"]}],[1,\"c-icon-button\",{\"badge\":[1],\"danger\":[4],\"loading\":[4],\"text\":[4],\"inverted\":[4],\"outlined\":[4],\"path\":[1],\"ghost\":[4],\"disabled\":[4],\"size\":[1]}],[1,\"c-badge\"],[1,\"c-icon\",{\"path\":[1],\"size\":[2],\"color\":[1]}],[1,\"c-spinner\",{\"color\":[1],\"size\":[2],\"width\":[2]}],[1,\"c-ripple\",{\"createRipple\":[64]}]]],[\"c-menu_2.cjs\",[[1,\"c-menu\",{\"items\":[16],\"contentClass\":[1,\"content-class\"],\"custom\":[4],\"small\":[4],\"flat\":[4],\"itemsPerPage\":[2,\"items-per-page\"],\"menuItemsComponent\":[32],\"menuWrapperComponent\":[32],\"currentIndex\":[32],\"active\":[32]},[[2,\"keydown\",\"handleKeyDown\"]]],[1,\"c-menu-items\",{\"items\":[16],\"small\":[4],\"active\":[4],\"parentType\":[1,\"parent-type\"],\"parent\":[16],\"top\":[2],\"index\":[2],\"itemsPerPage\":[2,\"items-per-page\"],\"scrollingParent\":[32],\"isInView\":[32],\"currentIndex\":[32]},[[2,\"keydown\",\"handleKeyDown\"]],{\"currentIndex\":[\"onIndexChange\"]}]]],[\"c-pagination.cjs\",[[1,\"c-pagination\",{\"value\":[16],\"hideDetails\":[4,\"hide-details\"],\"simple\":[4],\"size\":[1],\"hideRange\":[4,\"hide-range\"],\"_currentPage\":[32],\"_itemsPerPage\":[32],\"_pageSizes\":[32],\"_totalVisible\":[32],\"tick\":[32]},null,{\"value\":[\"valueHandler\"]}]]],[\"c-toast.cjs\",[[1,\"c-toast\",{\"message\":[16],\"closeToast\":[64]}]]]]"), options);
|
|
9
|
+
return index.bootstrapLazy(JSON.parse("[[\"c-data-table.cjs\",[[1,\"c-data-table\",{\"data\":[16],\"externalData\":[4,\"external-data\"],\"headers\":[16],\"hideFooter\":[4,\"hide-footer\"],\"footerOptions\":[16],\"loading\":[4],\"loadingText\":[1,\"loading-text\"],\"noDataText\":[1,\"no-data-text\"],\"pagination\":[1040],\"selectable\":[4],\"singleSelection\":[4,\"single-selection\"],\"selectionProperty\":[1,\"selection-property\"],\"singleExpansion\":[4,\"single-expansion\"],\"sortBy\":[1032,\"sort-by\"],\"sortDirection\":[1025,\"sort-direction\"],\"stickyHeader\":[4,\"sticky-header\"],\"horizontalScrolling\":[4,\"horizontal-scrolling\"],\"_activeRows\":[32],\"_data\":[32],\"_isIndeterminate\":[32],\"_isPaginationSimple\":[32],\"_selections\":[32],\"hasOverflow\":[32],\"hiddenHeaders\":[32],\"initiallyHiddenHeaders\":[32],\"forceRender\":[32],\"breakpoints\":[32],\"markedFooterWidth\":[32],\"parentWidth\":[32],\"firstCellHidden\":[32],\"lastCellHidden\":[32],\"clearSelections\":[64],\"getData\":[64]},null,{\"hiddenHeaders\":[\"onHiddenHeaderChange\"],\"data\":[\"onDataChange\"],\"headers\":[\"onHeaderChange\"],\"singleSelection\":[\"onSingleSelectionChange\"],\"loading\":[\"onLoadingChange\"]}]]],[\"c-tabs.cjs\",[[1,\"c-tabs\",{\"value\":[1032],\"borderless\":[4],\"disableAnimation\":[4,\"disable-animation\"],\"justify\":[1],\"mobileBreakpoint\":[2,\"mobile-breakpoint\"],\"vertical\":[4],\"isOverflowing\":[32],\"isMobile\":[32],\"scrollOffset\":[32]},[[1,\"tabFocus\",\"tabFocusHandler\"],[1,\"tabChange\",\"tabChangeHandler\"],[2,\"keydown\",\"handleKeyDown\"],[2,\"keyup\",\"handleKeyUp\"]],{\"justify\":[\"onJustificationChange\"],\"value\":[\"onExternalValueChange\"],\"scrollOffset\":[\"onScrollOffsetChange\"]}]]],[\"c-tag.cjs\",[[1,\"c-tag\",{\"active\":[4],\"block\":[4],\"fit\":[4],\"flat\":[4],\"closeable\":[4],\"badge\":[8],\"size\":[1]}]]],[\"c-swiper.cjs\",[[4,\"c-swiper\",{\"value\":[1544],\"elementId\":[1,\"id\"],\"isBeginning\":[32],\"isEnd\":[32],\"statusText\":[32]},[[0,\"changeValue\",\"onTabClick\"],[2,\"keyup\",\"handleKeyUp\"]]]]],[\"c-text-field-open.cjs\",[[68,\"c-text-field-open\",{\"automaticFocus\":[4,\"autofocus\"],\"automaticCapitalize\":[1,\"autocapitalize\"],\"autocorrect\":[1],\"autocomplete\":[1],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"trimWhitespace\":[4,\"trim-whitespace\"],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"max\":[2],\"min\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"rows\":[2],\"shadow\":[4],\"step\":[2],\"type\":[1],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"value\":[1025],\"renderOutsideShadow\":[4,\"render-outside-shadow\"],\"isFocused\":[32],\"labelWidth\":[32],\"preSlotWidth\":[32]}]]],[\"c-toasts.cjs\",[[1,\"c-toasts\",{\"absolute\":[4],\"horizontal\":[1],\"vertical\":[1],\"messages\":[32],\"addToast\":[64],\"removeToast\":[64]}]]],[\"c-accordion-item.cjs\",[[1,\"c-accordion-item\",{\"collapsable\":[4],\"heading\":[1],\"value\":[8],\"expanded\":[4],\"outlined\":[4],\"hasCustomHeader\":[32],\"hasIcon\":[32]},[[2,\"keydown\",\"handleKeyDown\"],[0,\"changeValue\",\"stop\"]]]]],[\"c-list-item.cjs\",[[1,\"c-list-item\",{\"active\":[4],\"disabled\":[4],\"disabledByParent\":[4,\"disabled-by-parent\"],\"hoverable\":[4],\"ripple\":[4],\"href\":[1],\"target\":[1]},null,{\"active\":[\"onActiveChange\"]}]]],[\"c-login-card-actions.cjs\",[[1,\"c-login-card-actions\",{\"align\":[1],\"justify\":[1]}]]],[\"c-swiper-tab.cjs\",[[1,\"c-swiper-tab\",{\"disabled\":[4],\"active\":[4],\"label\":[1],\"hostId\":[1,\"id\"],\"setsize\":[2],\"position\":[2],\"value\":[8]},[[1,\"click\",\"onTabClick\"]]]]],[\"c-tab.cjs\",[[1,\"c-tab\",{\"active\":[4],\"disabled\":[4],\"hostId\":[1,\"id\"],\"position\":[2],\"setsize\":[2],\"value\":[8]},[[1,\"focus\",\"onTabFocus\"],[1,\"keydown\",\"handleKeydown\"]]]]],[\"c-accordion.cjs\",[[1,\"c-accordion\",{\"value\":[1032],\"mandatory\":[4],\"multiple\":[4],\"outlined\":[4]},[[1,\"itemChange\",\"onAccordionItemChange\"]],{\"value\":[\"watchPropHandler\"]}]]],[\"c-alert.cjs\",[[1,\"c-alert\",{\"type\":[1]}]]],[\"c-link.cjs\",[[1,\"c-link\",{\"href\":[1],\"underline\":[4],\"target\":[1],\"weight\":[1]}]]],[\"c-list.cjs\",[[0,\"c-list\",{\"disabled\":[4],\"bordered\":[4]},null,{\"disabled\":[\"onDisabledChange\"]}]]],[\"c-list-item-title.cjs\",[[1,\"c-list-item-title\",{\"active\":[4]}]]],[\"c-login-button.cjs\",[[1,\"c-login-button\",{\"href\":[1],\"src\":[1],\"alt\":[1]}]]],[\"c-login-buttons.cjs\",[[1,\"c-login-buttons\"]]],[\"c-login-card.cjs\",[[4,\"c-login-card\",{\"backgroundPosition\":[1,\"background-position\"],\"mobileBreakpoint\":[2,\"mobile-breakpoint\"],\"overlay\":[4],\"overlayBlendMode\":[1,\"overlay-blend-mode\"],\"src\":[1],\"path\":[32],\"imageHeight\":[32]}]]],[\"c-login-card-content.cjs\",[[1,\"c-login-card-content\"]]],[\"c-login-card-title.cjs\",[[1,\"c-login-card-title\"]]],[\"c-modal.cjs\",[[1,\"c-modal\",{\"value\":[4],\"dismissable\":[4],\"width\":[8],\"zIndex\":[2,\"z-index\"],\"disableBackdropBlur\":[4,\"disable-backdrop-blur\"],\"innerValue\":[32],\"animateModal\":[32],\"standaloneMode\":[32]},null,{\"value\":[\"onValueChange\"]}]]],[\"c-option-value.cjs\",[[1,\"c-option-value\"]]],[\"c-progress-bar.cjs\",[[1,\"c-progress-bar\",{\"value\":[2],\"hideDetails\":[4,\"hide-details\"],\"singleLine\":[4,\"single-line\"],\"label\":[1],\"indeterminate\":[4]}]]],[\"c-row.cjs\",[[1,\"c-row\",{\"gap\":[2],\"nowrap\":[4],\"align\":[1],\"justify\":[1]}]]],[\"c-slider.cjs\",[[1,\"c-slider\",{\"hostId\":[1,\"id\"],\"hostName\":[1,\"name\"],\"ariaLabelInternal\":[1,\"aria-label\"],\"max\":[1],\"min\":[1],\"step\":[1],\"value\":[8],\"unit\":[1],\"ticks\":[4],\"labels\":[4],\"disableTooltip\":[4,\"disable-tooltip\"],\"label\":[1],\"disabled\":[4],\"segments\":[1],\"trackPosition\":[32],\"tickPositions\":[32]},null,{\"segments\":[\"onSegmentChange\"],\"value\":[\"onValueChange\"]}]]],[\"c-status.cjs\",[[1,\"c-status\",{\"type\":[1]}]]],[\"c-step.cjs\",[[1,\"c-step\",{\"complete\":[4],\"current\":[4]}]]],[\"c-steps.cjs\",[[1,\"c-steps\",{\"value\":[8],\"isMobile\":[32],\"label\":[32]},null,{\"value\":[\"watchPropHandler\"]}]]],[\"c-tab-buttons.cjs\",[[1,\"c-tab-buttons\",{\"value\":[1032],\"mandatory\":[4],\"tabs\":[4],\"size\":[1],\"hostDisabled\":[4,\"disabled\"]},[[1,\"tabFocus\",\"tabFocusHandler\"],[2,\"keyup\",\"handleKeyUp\"],[1,\"tabChange\",\"onTabChange\"]],{\"value\":[\"onValueChange\"]}]]],[\"c-tab-item.cjs\",[[1,\"c-tab-item\",{\"value\":[8],\"active\":[4]}]]],[\"c-tab-items.cjs\",[[1,\"c-tab-items\",{\"value\":[8],\"disableAnimation\":[4,\"disable-animation\"],\"activeTab\":[32]},[[1,\"contentChange\",\"tabContentChangeHandler\"]],{\"value\":[\"onValueChange\"]}]]],[\"c-tags.cjs\",[[1,\"c-tags\",{\"size\":[1]}]]],[\"c-autocomplete_35.cjs\",[[65,\"c-autocomplete\",{\"items\":[16],\"value\":[8],\"query\":[1],\"hostId\":[1,\"id\"],\"disabled\":[4],\"label\":[1],\"name\":[1],\"placeholder\":[1],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"loading\":[4],\"required\":[4],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"shadow\":[4],\"returnObject\":[4,\"return-object\"],\"itemsPerPage\":[2,\"items-per-page\"],\"minimumQueryLength\":[2,\"minimum-query-length\"],\"minimumQueryLengthMessage\":[1,\"minimum-query-length-message\"],\"noMatchingItemsMessage\":[1,\"no-matching-items-message\"],\"optionElements\":[32],\"currentIndex\":[32],\"dropdownVisible\":[32],\"statusText\":[32],\"optionElementsExist\":[32],\"reset\":[64]},[[0,\"dropdownStateChange\",\"onDropdownStateChange\"],[0,\"selectOption\",\"onSelectOption\"]],{\"query\":[\"handleQueryChange\"]}],[65,\"c-select\",{\"items\":[16],\"value\":[8],\"hostId\":[1,\"id\"],\"clearable\":[4],\"disabled\":[4],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"name\":[1],\"placeholder\":[1],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"loading\":[4],\"required\":[4],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"shadow\":[4],\"returnObject\":[4,\"return-object\"],\"itemsPerPage\":[2,\"items-per-page\"],\"optionAsSelection\":[4,\"option-as-selection\"],\"optionElements\":[32],\"currentIndex\":[32],\"dropdownVisible\":[32],\"statusText\":[32],\"optionElementsExist\":[32],\"reset\":[64]},[[1,\"keydown\",\"handleKeyDown\"],[0,\"dropdownStateChange\",\"onDropdownStateChange\"],[0,\"selectOption\",\"onSelectOption\"]],{\"value\":[\"onValueChanged\"]}],[1,\"c-card\",{\"fullscreen\":[4],\"isFullscreen\":[32],\"exitFullscreen\":[64],\"enterFullscreen\":[64]}],[1,\"c-navigation-button\"],[1,\"c-side-navigation\",{\"styles\":[16],\"mobile\":[4],\"menuVisible\":[1028,\"menu-visible\"]},[[0,\"itemChange\",\"handleChange\"]]],[1,\"c-side-navigation-item\",{\"active\":[4],\"href\":[1],\"target\":[1],\"loading\":[4]},[[0,\"itemChange\",\"handleChange\"]],{\"active\":[\"onActiveChange\"]}],[1,\"c-button\",{\"inverted\":[4],\"outlined\":[4],\"ghost\":[4],\"danger\":[4],\"grouped\":[4],\"text\":[4],\"loading\":[4],\"fit\":[4],\"noRadius\":[4,\"no-radius\"],\"type\":[1],\"disabled\":[516],\"value\":[8],\"hostId\":[1,\"id\"],\"size\":[1],\"href\":[1],\"target\":[1],\"tabs\":[4]},[[1,\"focus\",\"onTabFocus\"]]],[65,\"c-radio-group\",{\"value\":[1032],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"inline\":[4],\"label\":[1],\"color\":[1],\"hostId\":[1,\"id\"],\"items\":[16],\"disabled\":[4],\"returnObject\":[4,\"return-object\"],\"required\":[4],\"valid\":[4],\"validation\":[1]}],[1,\"c-sub-navigation-item\",{\"active\":[4],\"focusable\":[4],\"href\":[1],\"target\":[1],\"loading\":[4]}],[65,\"c-text-field\",{\"automaticFocus\":[4,\"autofocus\"],\"automaticCapitalize\":[1,\"autocapitalize\"],\"autocorrect\":[1],\"autocomplete\":[1],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"trimWhitespace\":[4,\"trim-whitespace\"],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"max\":[2],\"min\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"rows\":[2],\"shadow\":[4],\"step\":[2],\"type\":[1],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"value\":[1025],\"isFocused\":[32],\"labelWidth\":[32],\"preSlotWidth\":[32]}],[1,\"c-main\",{\"disableLayout\":[4,\"disable-layout\"]}],[65,\"c-otp-input\",{\"hasAutofocus\":[4,\"autofocus\"],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"elementId\":[1,\"id\"],\"length\":[2],\"valid\":[4],\"validation\":[1],\"value\":[1025],\"statusText\":[32],\"reset\":[64]},null,{\"validation\":[\"onValidationMessageChange\"],\"value\":[\"onValueChange\"]}],[65,\"c-switch\",{\"checked\":[1028],\"value\":[8],\"trueValue\":[8,\"true-value\"],\"falseValue\":[8,\"false-value\"],\"hostDisabled\":[4,\"disabled\"],\"loading\":[4],\"hostId\":[1,\"id\"],\"required\":[4],\"hasLabel\":[32]},null,{\"value\":[\"onValueChange\"]}],[1,\"c-card-content\"],[1,\"c-card-title\"],[1,\"c-csc-logo\",{\"width\":[2]}],[1,\"c-option\",{\"selected\":[4],\"disabled\":[4],\"name\":[1],\"value\":[8]}],[1,\"c-page\",{\"scrollIndicator\":[4,\"scroll-indicator\"]}],[1,\"c-radio\",{\"checked\":[4],\"disabled\":[4],\"value\":[1]}],[1,\"c-side-navigation-title\"],[4,\"c-table\",{\"mobileBreakpoint\":[2,\"mobile-breakpoint\"],\"responsive\":[4],\"updateMobileLabels\":[64]}],[1,\"c-toolbar\"],[65,\"c-checkbox\",{\"checked\":[1028],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"indeterminate\":[4],\"label\":[1],\"required\":[4],\"valid\":[4],\"validation\":[1],\"value\":[8],\"trueValue\":[8,\"true-value\"],\"falseValue\":[8,\"false-value\"],\"hostName\":[1,\"name\"]},null,{\"value\":[\"onValueChange\"]}],[1,\"c-backdrop\",{\"disableBackdropBlur\":[4,\"disable-backdrop-blur\"],\"blur\":[32]},null,{\"disableBackdropBlur\":[\"onValueChange\"]}],[1,\"c-card-actions\",{\"align\":[1],\"justify\":[1]}],[1,\"c-spacer\"],[1,\"c-dropdown\",{\"itemsPerPage\":[2,\"items-per-page\"],\"parent\":[16],\"items\":[16],\"index\":[2],\"hostId\":[1,\"id\"],\"type\":[1],\"dropdownItemType\":[1,\"dropdown-item-type\"],\"renderedList\":[32],\"isOpen\":[32],\"statusText\":[32],\"setStatusText\":[64],\"focusItem\":[64],\"open\":[64],\"close\":[64],\"selectItem\":[64],\"updateList\":[64]},null,{\"items\":[\"optionsWatcher\"],\"isOpen\":[\"stateWatcher\"],\"index\":[\"handleIndexChange\"]}],[1,\"c-loader\",{\"contentdelay\":[2],\"hide\":[4],\"size\":[2],\"width\":[2]},null,{\"hide\":[\"onElementHide\"]}],[4,\"c-input\",{\"active\":[4],\"automaticFocus\":[4,\"autofocus\"],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"inputId\":[1,\"input-id\"],\"items\":[16],\"itemsPerPage\":[2,\"items-per-page\"],\"label\":[1],\"labelOnTop\":[4,\"label-on-top\"],\"max\":[2],\"min\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"rows\":[2],\"shadow\":[4],\"step\":[2],\"type\":[1],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"value\":[8],\"variant\":[1],\"isFocused\":[32],\"labelWidth\":[32],\"preSlotWidth\":[32],\"statusText\":[32],\"currentIndex\":[32],\"reset\":[64]},null,{\"valid\":[\"onValidChange\"],\"validation\":[\"onValidationMessageChange\"],\"value\":[\"onValueChange\"],\"placeholder\":[\"onPlaceholderChange\"]}],[1,\"c-message\",{\"hint\":[1],\"inputId\":[1,\"input-id\"],\"valid\":[4],\"validation\":[1],\"messageOptions\":[32]},null,{\"valid\":[\"onValidChange\"],\"validation\":[\"onValidationMessageChange\"],\"hint\":[\"onHintMessageChange\"]}],[1,\"c-icon-button\",{\"badge\":[1],\"danger\":[4],\"loading\":[4],\"text\":[4],\"inverted\":[4],\"outlined\":[4],\"path\":[1],\"ghost\":[4],\"disabled\":[4],\"size\":[1]}],[1,\"c-badge\"],[1,\"c-icon\",{\"path\":[1],\"size\":[2],\"color\":[1]}],[1,\"c-spinner\",{\"color\":[1],\"size\":[2],\"width\":[2]}],[1,\"c-ripple\",{\"createRipple\":[64]}]]],[\"c-menu_2.cjs\",[[1,\"c-menu\",{\"items\":[16],\"contentClass\":[1,\"content-class\"],\"custom\":[4],\"small\":[4],\"flat\":[4],\"itemsPerPage\":[2,\"items-per-page\"],\"menuItemsComponent\":[32],\"menuWrapperComponent\":[32],\"currentIndex\":[32],\"active\":[32]},[[2,\"keydown\",\"handleKeyDown\"]]],[1,\"c-menu-items\",{\"items\":[16],\"small\":[4],\"active\":[4],\"parentType\":[1,\"parent-type\"],\"parent\":[16],\"top\":[2],\"index\":[2],\"itemsPerPage\":[2,\"items-per-page\"],\"scrollingParent\":[32],\"isInView\":[32],\"currentIndex\":[32]},[[2,\"keydown\",\"handleKeyDown\"]],{\"currentIndex\":[\"onIndexChange\"]}]]],[\"c-pagination.cjs\",[[1,\"c-pagination\",{\"value\":[16],\"hideDetails\":[4,\"hide-details\"],\"simple\":[4],\"size\":[1],\"hideRange\":[4,\"hide-range\"],\"_currentPage\":[32],\"_itemsPerPage\":[32],\"_pageSizes\":[32],\"_totalVisible\":[32],\"tick\":[32]},null,{\"value\":[\"valueHandler\"]}]]],[\"c-toast.cjs\",[[1,\"c-toast\",{\"message\":[16],\"closeToast\":[64]}]]]]"), options);
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
exports.setNonce = index.setNonce;
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"components/c-tag/c-tag.js",
|
|
69
69
|
"components/c-tags/c-tags.js",
|
|
70
70
|
"components/c-text-field/c-text-field.js",
|
|
71
|
+
"components/c-text-field-open/c-text-field-open.js",
|
|
71
72
|
"components/c-toast/c-toast.js",
|
|
72
73
|
"components/c-toasts/c-toasts.js",
|
|
73
74
|
"components/c-toolbar/c-toolbar.js"
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
html {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
body {
|
|
6
|
+
margin: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
*,
|
|
10
|
+
*:before,
|
|
11
|
+
*:after {
|
|
12
|
+
box-sizing: inherit;
|
|
13
|
+
-webkit-tap-highlight-color: transparent;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:host {
|
|
17
|
+
font-family: var(--c-font-family);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
::-ms-reveal {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:root,
|
|
25
|
+
:host {
|
|
26
|
+
/**
|
|
27
|
+
* @prop --c-text-field-active-color: Active text field color
|
|
28
|
+
* @prop --c-text-field-inactive-color: Inactive text field color
|
|
29
|
+
* @prop --c-text-field-background-color: Inactive text field background color
|
|
30
|
+
* @prop --c-text-field-text-color: Text field text color
|
|
31
|
+
* @prop --c-text-field-placeholder-color:Text field placeholder color
|
|
32
|
+
* @prop --c-text-field-shadow-active-color: Shadow text field active color
|
|
33
|
+
* @prop --c-text-field-shadow-background-color: Shadow text field background color
|
|
34
|
+
* @prop --c-text-field-shadow-text-color: Shadow text field text color
|
|
35
|
+
* @prop --c-text-field-shadow-placeholder-color: Shadow text field placeholder color
|
|
36
|
+
* @prop --c-text-field-label-color: Text field label color (works only with `label-on-top`)
|
|
37
|
+
*/
|
|
38
|
+
--_c-text-field-active-color: var(--c-text-field-active-color, var(--c-primary-600));
|
|
39
|
+
--_c-text-field-inactive-color: var(--c-text-field-inactive-color, var(--c-tertiary-600));
|
|
40
|
+
--_c-text-field-background-color: var(--c-text-field-background-color, var(--c-transparent));
|
|
41
|
+
--_c-text-field-text-color: var(--c-text-field-text-color, var(--c-text-body));
|
|
42
|
+
--_c-text-field-placeholder-color: var(--c-text-field-placeholder-color, var(--c-tertiary-500));
|
|
43
|
+
--_c-text-field-shadow-active-color: var(--c-text-field-shadow-active-color, var(--_c-text-field-active-color));
|
|
44
|
+
--_c-text-field-shadow-background-color: var(--c-text-field-shadow-background-color, var(--c-white));
|
|
45
|
+
--_c-text-field-shadow-text-color: var(--c-text-field-shadow-text-color, var(--_c-text-field-text-color));
|
|
46
|
+
--_c-text-field-shadow-placeholder-color: var(--c-text-field-shadow-placeholder-color, var(--_c-text-field-placeholder-color));
|
|
47
|
+
--_c-text-field-label-color: var(--c-text-field-label-color, var(--_c-text-field-text-color));
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.c-input {
|
|
51
|
+
--_c-input-active-color: var(--_c-text-field-active-color);
|
|
52
|
+
--_c-input-inactive-color: var(--_c-text-field-inactive-color);
|
|
53
|
+
--_c-input-background-color: var(--_c-text-field-background-color);
|
|
54
|
+
--_c-input-text-color: var(--_c-text-field-text-color);
|
|
55
|
+
--_c-input-label-color: var(--_c-text-field-label-color);
|
|
56
|
+
--_c-input-placeholder-color: var(--_c-text-field-placeholder-color);
|
|
57
|
+
--_c-input-shadow-active-color: var(--_c-text-field-shadow-active-color);
|
|
58
|
+
--_c-input-shadow-background-color: var(--_c-text-field-shadow-background-color);
|
|
59
|
+
--_c-input-shadow-text-color: var(--_c-text-field-shadow-text-color);
|
|
60
|
+
--_c-input-shadow-placeholder-color: var(--_c-text-field-shadow-placeholder-color);
|
|
61
|
+
}
|
|
62
|
+
.c-input__password-toggle, .c-input__date-toggle {
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
fill: currentColor;
|
|
65
|
+
height: 22px;
|
|
66
|
+
width: 22px;
|
|
67
|
+
}
|
|
68
|
+
.c-input__password-toggle--disabled, .c-input__date-toggle--disabled {
|
|
69
|
+
cursor: not-allowed;
|
|
70
|
+
fill: var(--c-tertiary-500);
|
|
71
|
+
}
|
|
72
|
+
.c-input input[type=date] {
|
|
73
|
+
opacity: 0;
|
|
74
|
+
}
|
|
75
|
+
.c-input input[type=date]::-webkit-calendar-picker-indicator, .c-input input[type=date]::-webkit-inner-spin-button {
|
|
76
|
+
display: none;
|
|
77
|
+
appearance: none;
|
|
78
|
+
}
|
|
79
|
+
.c-input input[type=date]:focus, .c-input input[type=date].c-input__input--filled {
|
|
80
|
+
opacity: 1;
|
|
81
|
+
}
|