smoothly 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-3efe2a41.js → index-3fb97927.js} +467 -269
- package/dist/cjs/{index-2a011313.js → index-7b75b331.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/smoothly-accordion_53.cjs.entry.js +68 -26
- package/dist/cjs/smoothly-google-font.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-reorder.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
- package/dist/cjs/smoothly.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/App.js +38 -46
- package/dist/collection/components/accordion/index.js +65 -55
- package/dist/collection/components/accordion-item/index.js +133 -131
- package/dist/collection/components/app/index.js +37 -32
- package/dist/collection/components/app-demo/index.js +39 -68
- package/dist/collection/components/backtotop/index.js +73 -66
- package/dist/collection/components/button/index.js +144 -141
- package/dist/collection/components/calendar/index.js +277 -268
- package/dist/collection/components/checkbox/index.js +120 -110
- package/dist/collection/components/dialog/index.js +97 -93
- package/dist/collection/components/dialog-demo/index.js +2 -3
- package/dist/collection/components/display/index.js +108 -102
- package/dist/collection/components/display-amount/index.js +68 -63
- package/dist/collection/components/display-date-time/index.js +35 -30
- package/dist/collection/components/display-demo/index.js +23 -129
- package/dist/collection/components/frame/index.js +134 -124
- package/dist/collection/components/google-font/index.js +26 -24
- package/dist/collection/components/icon/index.js +116 -107
- package/dist/collection/components/icon-demo/index.js +11 -7
- package/dist/collection/components/input/index.js +364 -355
- package/dist/collection/components/input-date/index.js +165 -156
- package/dist/collection/components/input-date-range/index.js +220 -213
- package/dist/collection/components/input-demo/index.js +2 -87
- package/dist/collection/components/input-month/index.js +65 -57
- package/dist/collection/components/item/index.js +101 -87
- package/dist/collection/components/menu-options/index.js +287 -275
- package/dist/collection/components/notification/index.js +74 -63
- package/dist/collection/components/notifier/index.js +31 -23
- package/dist/collection/components/option/index.js +227 -223
- package/dist/collection/components/picker/index.js +404 -397
- package/dist/collection/components/popup/index.js +73 -69
- package/dist/collection/components/quiet/index.js +33 -28
- package/dist/collection/components/radio/index.js +98 -91
- package/dist/collection/components/radio-button/index.js +92 -83
- package/dist/collection/components/radio-button/item/index.js +91 -66
- package/dist/collection/components/radio-button/item/style.css +11 -14
- package/dist/collection/components/radio-group/index.js +33 -27
- package/dist/collection/components/reorder/index.js +28 -23
- package/dist/collection/components/room/index.js +73 -71
- package/dist/collection/components/select/index.js +82 -75
- package/dist/collection/components/select-demo/index.js +24 -42
- package/dist/collection/components/selector/index.js +71 -68
- package/dist/collection/components/skeleton/index.js +112 -106
- package/dist/collection/components/spinner/index.js +50 -46
- package/dist/collection/components/submit/index.js +174 -163
- package/dist/collection/components/svg/index.js +65 -60
- package/dist/collection/components/tab/index.js +84 -75
- package/dist/collection/components/tab-switch/index.js +32 -23
- package/dist/collection/components/table/cell/index.js +12 -9
- package/dist/collection/components/table/demo/index.js +13 -59
- package/dist/collection/components/table/expandable/cell/index.js +100 -95
- package/dist/collection/components/table/expandable/row/index.js +85 -79
- package/dist/collection/components/table/header/index.js +33 -28
- package/dist/collection/components/table/index.js +44 -36
- package/dist/collection/components/table/row/index.js +26 -20
- package/dist/collection/components/trigger/index.js +174 -166
- package/dist/collection/components/trigger-sink/index.js +73 -65
- package/dist/collection/components/trigger-source/index.js +71 -63
- package/dist/collection/components/tuple/index.js +19 -17
- package/dist/collection/components/urlencoded/index.js +22 -20
- package/dist/collection/model/Listenable.js +4 -2
- package/dist/custom-elements/index.js +67 -25
- package/dist/esm/{index-1d438ba2.js → index-3b463176.js} +1 -1
- package/dist/esm/{index-4d9efff8.js → index-fcf8bdd3.js} +467 -269
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/smoothly-accordion_53.entry.js +68 -26
- package/dist/esm/smoothly-google-font.entry.js +1 -1
- package/dist/esm/smoothly-radio-group.entry.js +1 -1
- package/dist/esm/smoothly-reorder.entry.js +1 -1
- package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
- package/dist/esm/smoothly-trigger-source.entry.js +1 -1
- package/dist/esm/smoothly.js +3 -3
- package/dist/smoothly/index.esm.js +1 -1
- package/dist/smoothly/{p-d5d4832d.entry.js → p-0833f25c.entry.js} +1 -1
- package/dist/smoothly/{p-919ae3e8.entry.js → p-2bf8c660.entry.js} +1 -1
- package/dist/smoothly/{p-8e4e941e.entry.js → p-3bd18eea.entry.js} +1 -1
- package/dist/smoothly/p-8ab82f55.entry.js +1 -0
- package/dist/smoothly/{p-9bc77fba.entry.js → p-a1c137fc.entry.js} +1 -1
- package/dist/smoothly/p-af90d05a.js +2 -0
- package/dist/smoothly/{p-76e88859.js → p-e5191036.js} +1 -1
- package/dist/smoothly/{p-7a5eda51.entry.js → p-f67259c5.entry.js} +1 -1
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/radio-button/item/index.d.ts +2 -0
- package/dist/types/components.d.ts +3 -1
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/loader/package.json +1 -0
- package/package.json +6 -6
- package/dist/smoothly/p-191ee4b8.js +0 -2
- package/dist/smoothly/p-78b676aa.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
2
|
import { Language, Locale } from "isoly";
|
|
3
3
|
import { Action, get, StateEditor } from "tidily";
|
|
4
4
|
export class SmoothlyInput {
|
|
@@ -188,387 +188,396 @@ export class SmoothlyInput {
|
|
|
188
188
|
}
|
|
189
189
|
render() {
|
|
190
190
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
191
|
-
return (h(Host, { class: { "has-value": ((_a = this.state) === null || _a === void 0 ? void 0 : _a.value) != undefined && ((_b = this.state) === null || _b === void 0 ? void 0 : _b.value) != "" }, onclick: () => { var _a; return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus(); } },
|
|
192
|
-
h("div", null,
|
|
193
|
-
h("input", { name: this.name, type: (_c = this.state) === null || _c === void 0 ? void 0 : _c.type, placeholder: this.placeholder, required: this.required, autocomplete: this.autocomplete ? (_d = this.state) === null || _d === void 0 ? void 0 : _d.autocomplete : "off", disabled: this.disabled, readOnly: this.readonly, pattern: ((_e = this.state) === null || _e === void 0 ? void 0 : _e.pattern) && ((_f = this.state) === null || _f === void 0 ? void 0 : _f.pattern.source), value: (_g = this.state) === null || _g === void 0 ? void 0 : _g.value, onInput: (e) => this.onInput(e), onFocus: e => this.onFocus(e), onClick: e => this.onClick(e), onBlur: e => this.onBlur(e), onKeyDown: e => this.onKeyDown(e), ref: (el) => (this.inputElement = el), onPaste: e => this.onPaste(e) }),
|
|
194
|
-
h("label", { htmlFor: this.name },
|
|
195
|
-
h("slot", null)),
|
|
196
|
-
h("smoothly-icon", { name: "alert-circle", color: "danger", fill: "clear", size: "small" }))));
|
|
191
|
+
return (h(Host, { class: { "has-value": ((_a = this.state) === null || _a === void 0 ? void 0 : _a.value) != undefined && ((_b = this.state) === null || _b === void 0 ? void 0 : _b.value) != "" }, onclick: () => { var _a; return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus(); } }, h("div", null, h("input", { name: this.name, type: (_c = this.state) === null || _c === void 0 ? void 0 : _c.type, placeholder: this.placeholder, required: this.required, autocomplete: this.autocomplete ? (_d = this.state) === null || _d === void 0 ? void 0 : _d.autocomplete : "off", disabled: this.disabled, readOnly: this.readonly, pattern: ((_e = this.state) === null || _e === void 0 ? void 0 : _e.pattern) && ((_f = this.state) === null || _f === void 0 ? void 0 : _f.pattern.source), value: (_g = this.state) === null || _g === void 0 ? void 0 : _g.value, onInput: (e) => this.onInput(e), onFocus: e => this.onFocus(e), onClick: e => this.onClick(e), onBlur: e => this.onBlur(e), onKeyDown: e => this.onKeyDown(e), ref: (el) => (this.inputElement = el), onPaste: e => this.onPaste(e) }), h("label", { htmlFor: this.name }, h("slot", null)), h("smoothly-icon", { name: "alert-circle", color: "danger", fill: "clear", size: "small" }))));
|
|
197
192
|
}
|
|
198
193
|
static get is() { return "smoothly-input"; }
|
|
199
194
|
static get encapsulation() { return "scoped"; }
|
|
200
|
-
static get originalStyleUrls() {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
"
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
"original": "any",
|
|
229
|
-
"resolved": "any",
|
|
230
|
-
"references": {}
|
|
231
|
-
},
|
|
232
|
-
"required": false,
|
|
233
|
-
"optional": false,
|
|
234
|
-
"docs": {
|
|
235
|
-
"tags": [],
|
|
236
|
-
"text": ""
|
|
237
|
-
},
|
|
238
|
-
"attribute": "value",
|
|
239
|
-
"reflect": false
|
|
240
|
-
},
|
|
241
|
-
"type": {
|
|
242
|
-
"type": "string",
|
|
243
|
-
"mutable": false,
|
|
244
|
-
"complexType": {
|
|
245
|
-
"original": "string",
|
|
246
|
-
"resolved": "string",
|
|
247
|
-
"references": {}
|
|
248
|
-
},
|
|
249
|
-
"required": false,
|
|
250
|
-
"optional": false,
|
|
251
|
-
"docs": {
|
|
252
|
-
"tags": [],
|
|
253
|
-
"text": ""
|
|
254
|
-
},
|
|
255
|
-
"attribute": "type",
|
|
256
|
-
"reflect": true,
|
|
257
|
-
"defaultValue": "\"text\""
|
|
258
|
-
},
|
|
259
|
-
"required": {
|
|
260
|
-
"type": "boolean",
|
|
261
|
-
"mutable": true,
|
|
262
|
-
"complexType": {
|
|
263
|
-
"original": "boolean",
|
|
264
|
-
"resolved": "boolean",
|
|
265
|
-
"references": {}
|
|
266
|
-
},
|
|
267
|
-
"required": false,
|
|
268
|
-
"optional": false,
|
|
269
|
-
"docs": {
|
|
270
|
-
"tags": [],
|
|
271
|
-
"text": ""
|
|
272
|
-
},
|
|
273
|
-
"attribute": "required",
|
|
274
|
-
"reflect": true,
|
|
275
|
-
"defaultValue": "false"
|
|
276
|
-
},
|
|
277
|
-
"minLength": {
|
|
278
|
-
"type": "number",
|
|
279
|
-
"mutable": true,
|
|
280
|
-
"complexType": {
|
|
281
|
-
"original": "number",
|
|
282
|
-
"resolved": "number",
|
|
283
|
-
"references": {}
|
|
195
|
+
static get originalStyleUrls() {
|
|
196
|
+
return {
|
|
197
|
+
"$": ["style.css"]
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
static get styleUrls() {
|
|
201
|
+
return {
|
|
202
|
+
"$": ["style.css"]
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
static get properties() {
|
|
206
|
+
return {
|
|
207
|
+
"name": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"mutable": false,
|
|
210
|
+
"complexType": {
|
|
211
|
+
"original": "string",
|
|
212
|
+
"resolved": "string",
|
|
213
|
+
"references": {}
|
|
214
|
+
},
|
|
215
|
+
"required": false,
|
|
216
|
+
"optional": false,
|
|
217
|
+
"docs": {
|
|
218
|
+
"tags": [],
|
|
219
|
+
"text": ""
|
|
220
|
+
},
|
|
221
|
+
"attribute": "name",
|
|
222
|
+
"reflect": true
|
|
284
223
|
},
|
|
285
|
-
"
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
"
|
|
289
|
-
|
|
224
|
+
"value": {
|
|
225
|
+
"type": "any",
|
|
226
|
+
"mutable": true,
|
|
227
|
+
"complexType": {
|
|
228
|
+
"original": "any",
|
|
229
|
+
"resolved": "any",
|
|
230
|
+
"references": {}
|
|
231
|
+
},
|
|
232
|
+
"required": false,
|
|
233
|
+
"optional": false,
|
|
234
|
+
"docs": {
|
|
235
|
+
"tags": [],
|
|
236
|
+
"text": ""
|
|
237
|
+
},
|
|
238
|
+
"attribute": "value",
|
|
239
|
+
"reflect": false
|
|
290
240
|
},
|
|
291
|
-
"
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
"
|
|
300
|
-
"
|
|
301
|
-
"
|
|
241
|
+
"type": {
|
|
242
|
+
"type": "string",
|
|
243
|
+
"mutable": false,
|
|
244
|
+
"complexType": {
|
|
245
|
+
"original": "string",
|
|
246
|
+
"resolved": "string",
|
|
247
|
+
"references": {}
|
|
248
|
+
},
|
|
249
|
+
"required": false,
|
|
250
|
+
"optional": false,
|
|
251
|
+
"docs": {
|
|
252
|
+
"tags": [],
|
|
253
|
+
"text": ""
|
|
254
|
+
},
|
|
255
|
+
"attribute": "type",
|
|
256
|
+
"reflect": true,
|
|
257
|
+
"defaultValue": "\"text\""
|
|
302
258
|
},
|
|
303
|
-
"required":
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
"
|
|
307
|
-
|
|
259
|
+
"required": {
|
|
260
|
+
"type": "boolean",
|
|
261
|
+
"mutable": true,
|
|
262
|
+
"complexType": {
|
|
263
|
+
"original": "boolean",
|
|
264
|
+
"resolved": "boolean",
|
|
265
|
+
"references": {}
|
|
266
|
+
},
|
|
267
|
+
"required": false,
|
|
268
|
+
"optional": false,
|
|
269
|
+
"docs": {
|
|
270
|
+
"tags": [],
|
|
271
|
+
"text": ""
|
|
272
|
+
},
|
|
273
|
+
"attribute": "required",
|
|
274
|
+
"reflect": true,
|
|
275
|
+
"defaultValue": "false"
|
|
308
276
|
},
|
|
309
|
-
"
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
"
|
|
318
|
-
"
|
|
319
|
-
"
|
|
277
|
+
"minLength": {
|
|
278
|
+
"type": "number",
|
|
279
|
+
"mutable": true,
|
|
280
|
+
"complexType": {
|
|
281
|
+
"original": "number",
|
|
282
|
+
"resolved": "number",
|
|
283
|
+
"references": {}
|
|
284
|
+
},
|
|
285
|
+
"required": false,
|
|
286
|
+
"optional": false,
|
|
287
|
+
"docs": {
|
|
288
|
+
"tags": [],
|
|
289
|
+
"text": ""
|
|
290
|
+
},
|
|
291
|
+
"attribute": "min-length",
|
|
292
|
+
"reflect": false,
|
|
293
|
+
"defaultValue": "0"
|
|
320
294
|
},
|
|
321
|
-
"
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
"
|
|
325
|
-
|
|
295
|
+
"showLabel": {
|
|
296
|
+
"type": "boolean",
|
|
297
|
+
"mutable": false,
|
|
298
|
+
"complexType": {
|
|
299
|
+
"original": "boolean",
|
|
300
|
+
"resolved": "boolean",
|
|
301
|
+
"references": {}
|
|
302
|
+
},
|
|
303
|
+
"required": false,
|
|
304
|
+
"optional": false,
|
|
305
|
+
"docs": {
|
|
306
|
+
"tags": [],
|
|
307
|
+
"text": ""
|
|
308
|
+
},
|
|
309
|
+
"attribute": "show-label",
|
|
310
|
+
"reflect": true,
|
|
311
|
+
"defaultValue": "true"
|
|
326
312
|
},
|
|
327
|
-
"
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
313
|
+
"maxLength": {
|
|
314
|
+
"type": "number",
|
|
315
|
+
"mutable": true,
|
|
316
|
+
"complexType": {
|
|
317
|
+
"original": "number",
|
|
318
|
+
"resolved": "number",
|
|
319
|
+
"references": {}
|
|
320
|
+
},
|
|
321
|
+
"required": false,
|
|
322
|
+
"optional": false,
|
|
323
|
+
"docs": {
|
|
324
|
+
"tags": [],
|
|
325
|
+
"text": ""
|
|
326
|
+
},
|
|
327
|
+
"attribute": "max-length",
|
|
328
|
+
"reflect": false,
|
|
329
|
+
"defaultValue": "Number.POSITIVE_INFINITY"
|
|
338
330
|
},
|
|
339
|
-
"
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
"
|
|
343
|
-
|
|
331
|
+
"autocomplete": {
|
|
332
|
+
"type": "boolean",
|
|
333
|
+
"mutable": true,
|
|
334
|
+
"complexType": {
|
|
335
|
+
"original": "boolean",
|
|
336
|
+
"resolved": "boolean",
|
|
337
|
+
"references": {}
|
|
338
|
+
},
|
|
339
|
+
"required": false,
|
|
340
|
+
"optional": false,
|
|
341
|
+
"docs": {
|
|
342
|
+
"tags": [],
|
|
343
|
+
"text": ""
|
|
344
|
+
},
|
|
345
|
+
"attribute": "autocomplete",
|
|
346
|
+
"reflect": false,
|
|
347
|
+
"defaultValue": "true"
|
|
344
348
|
},
|
|
345
|
-
"
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
"references": {
|
|
356
|
-
"RegExp": {
|
|
357
|
-
"location": "global"
|
|
349
|
+
"pattern": {
|
|
350
|
+
"type": "unknown",
|
|
351
|
+
"mutable": true,
|
|
352
|
+
"complexType": {
|
|
353
|
+
"original": "RegExp | undefined",
|
|
354
|
+
"resolved": "RegExp | undefined",
|
|
355
|
+
"references": {
|
|
356
|
+
"RegExp": {
|
|
357
|
+
"location": "global"
|
|
358
|
+
}
|
|
358
359
|
}
|
|
360
|
+
},
|
|
361
|
+
"required": false,
|
|
362
|
+
"optional": false,
|
|
363
|
+
"docs": {
|
|
364
|
+
"tags": [],
|
|
365
|
+
"text": ""
|
|
359
366
|
}
|
|
360
367
|
},
|
|
361
|
-
"
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
"
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
"optional": false,
|
|
378
|
-
"docs": {
|
|
379
|
-
"tags": [],
|
|
380
|
-
"text": ""
|
|
381
|
-
},
|
|
382
|
-
"attribute": "placeholder",
|
|
383
|
-
"reflect": false
|
|
384
|
-
},
|
|
385
|
-
"disabled": {
|
|
386
|
-
"type": "boolean",
|
|
387
|
-
"mutable": true,
|
|
388
|
-
"complexType": {
|
|
389
|
-
"original": "boolean",
|
|
390
|
-
"resolved": "boolean",
|
|
391
|
-
"references": {}
|
|
392
|
-
},
|
|
393
|
-
"required": false,
|
|
394
|
-
"optional": false,
|
|
395
|
-
"docs": {
|
|
396
|
-
"tags": [],
|
|
397
|
-
"text": ""
|
|
368
|
+
"placeholder": {
|
|
369
|
+
"type": "string",
|
|
370
|
+
"mutable": true,
|
|
371
|
+
"complexType": {
|
|
372
|
+
"original": "string | undefined",
|
|
373
|
+
"resolved": "string | undefined",
|
|
374
|
+
"references": {}
|
|
375
|
+
},
|
|
376
|
+
"required": false,
|
|
377
|
+
"optional": false,
|
|
378
|
+
"docs": {
|
|
379
|
+
"tags": [],
|
|
380
|
+
"text": ""
|
|
381
|
+
},
|
|
382
|
+
"attribute": "placeholder",
|
|
383
|
+
"reflect": false
|
|
398
384
|
},
|
|
399
|
-
"
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
"
|
|
408
|
-
"
|
|
409
|
-
"
|
|
385
|
+
"disabled": {
|
|
386
|
+
"type": "boolean",
|
|
387
|
+
"mutable": true,
|
|
388
|
+
"complexType": {
|
|
389
|
+
"original": "boolean",
|
|
390
|
+
"resolved": "boolean",
|
|
391
|
+
"references": {}
|
|
392
|
+
},
|
|
393
|
+
"required": false,
|
|
394
|
+
"optional": false,
|
|
395
|
+
"docs": {
|
|
396
|
+
"tags": [],
|
|
397
|
+
"text": ""
|
|
398
|
+
},
|
|
399
|
+
"attribute": "disabled",
|
|
400
|
+
"reflect": false,
|
|
401
|
+
"defaultValue": "false"
|
|
410
402
|
},
|
|
411
|
-
"
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
"
|
|
415
|
-
|
|
403
|
+
"readonly": {
|
|
404
|
+
"type": "boolean",
|
|
405
|
+
"mutable": true,
|
|
406
|
+
"complexType": {
|
|
407
|
+
"original": "boolean",
|
|
408
|
+
"resolved": "boolean",
|
|
409
|
+
"references": {}
|
|
410
|
+
},
|
|
411
|
+
"required": false,
|
|
412
|
+
"optional": false,
|
|
413
|
+
"docs": {
|
|
414
|
+
"tags": [],
|
|
415
|
+
"text": ""
|
|
416
|
+
},
|
|
417
|
+
"attribute": "readonly",
|
|
418
|
+
"reflect": false,
|
|
419
|
+
"defaultValue": "false"
|
|
416
420
|
},
|
|
417
|
-
"
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
"Currency": {
|
|
429
|
-
"location": "import",
|
|
430
|
-
"path": "isoly"
|
|
421
|
+
"currency": {
|
|
422
|
+
"type": "string",
|
|
423
|
+
"mutable": false,
|
|
424
|
+
"complexType": {
|
|
425
|
+
"original": "Currency",
|
|
426
|
+
"resolved": "\"BTN\" | \"MKD\" | \"CHE\" | \"AED\" | \"AFN\" | \"ALL\" | \"AMD\" | \"ANG\" | \"AOA\" | \"ARS\" | \"AUD\" | \"AWG\" | \"AZN\" | \"BAM\" | \"BBD\" | \"BDT\" | \"BGN\" | \"BHD\" | \"BIF\" | \"BMD\" | \"BND\" | \"BOB\" | \"BOV\" | \"BRL\" | \"BSD\" | \"BWP\" | \"BYN\" | \"BZD\" | \"CAD\" | \"CDF\" | \"CHF\" | \"CHW\" | \"CLF\" | \"CLP\" | \"CNY\" | \"COP\" | \"COU\" | \"CRC\" | \"CUC\" | \"CUP\" | \"CVE\" | \"CZK\" | \"DJF\" | \"DKK\" | \"DOP\" | \"DZD\" | \"EGP\" | \"ERN\" | \"ETB\" | \"EUR\" | \"FJD\" | \"FKP\" | \"GBP\" | \"GEL\" | \"GHS\" | \"GIP\" | \"GMD\" | \"GNF\" | \"GTQ\" | \"GYD\" | \"HKD\" | \"HNL\" | \"HRK\" | \"HTG\" | \"HUF\" | \"IDR\" | \"ILS\" | \"INR\" | \"IQD\" | \"IRR\" | \"ISK\" | \"JMD\" | \"JOD\" | \"JPY\" | \"KES\" | \"KGS\" | \"KHR\" | \"KMF\" | \"KPW\" | \"KRW\" | \"KWD\" | \"KYD\" | \"KZT\" | \"LAK\" | \"LBP\" | \"LKR\" | \"LRD\" | \"LSL\" | \"LYD\" | \"MAD\" | \"MDL\" | \"MGA\" | \"MMK\" | \"MNT\" | \"MOP\" | \"MRU\" | \"MUR\" | \"MVR\" | \"MWK\" | \"MXN\" | \"MXV\" | \"MYR\" | \"MZN\" | \"NAD\" | \"NGN\" | \"NIO\" | \"NOK\" | \"NPR\" | \"NZD\" | \"OMR\" | \"PAB\" | \"PEN\" | \"PGK\" | \"PHP\" | \"PKR\" | \"PLN\" | \"PYG\" | \"QAR\" | \"RON\" | \"RSD\" | \"RUB\" | \"RWF\" | \"SAR\" | \"SBD\" | \"SCR\" | \"SDG\" | \"SEK\" | \"SGD\" | \"SHP\" | \"SLL\" | \"SOS\" | \"SRD\" | \"SSP\" | \"STN\" | \"SVC\" | \"SYP\" | \"SZL\" | \"THB\" | \"TJS\" | \"TMT\" | \"TND\" | \"TOP\" | \"TRY\" | \"TTD\" | \"TWD\" | \"TZS\" | \"UAH\" | \"UGX\" | \"USD\" | \"USN\" | \"UYI\" | \"UYU\" | \"UYW\" | \"UZS\" | \"VES\" | \"VND\" | \"VUV\" | \"WST\" | \"XAF\" | \"XAG\" | \"XAU\" | \"XBA\" | \"XBB\" | \"XBC\" | \"XBD\" | \"XCD\" | \"XDR\" | \"XOF\" | \"XPD\" | \"XPF\" | \"XPT\" | \"XSU\" | \"XTS\" | \"XUA\" | \"XXX\" | \"YER\" | \"ZAR\" | \"ZMW\" | \"ZWL\" | undefined",
|
|
427
|
+
"references": {
|
|
428
|
+
"Currency": {
|
|
429
|
+
"location": "import",
|
|
430
|
+
"path": "isoly"
|
|
431
|
+
}
|
|
431
432
|
}
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
"reflect": true
|
|
442
|
-
}
|
|
443
|
-
}; }
|
|
444
|
-
static get states() { return {
|
|
445
|
-
"initialValue": {}
|
|
446
|
-
}; }
|
|
447
|
-
static get events() { return [{
|
|
448
|
-
"method": "smoothlyBlur",
|
|
449
|
-
"name": "smoothlyBlur",
|
|
450
|
-
"bubbles": true,
|
|
451
|
-
"cancelable": true,
|
|
452
|
-
"composed": true,
|
|
453
|
-
"docs": {
|
|
454
|
-
"tags": [],
|
|
455
|
-
"text": ""
|
|
456
|
-
},
|
|
457
|
-
"complexType": {
|
|
458
|
-
"original": "void",
|
|
459
|
-
"resolved": "void",
|
|
460
|
-
"references": {}
|
|
461
|
-
}
|
|
462
|
-
}, {
|
|
463
|
-
"method": "smoothlyChange",
|
|
464
|
-
"name": "smoothlyChange",
|
|
465
|
-
"bubbles": true,
|
|
466
|
-
"cancelable": true,
|
|
467
|
-
"composed": true,
|
|
468
|
-
"docs": {
|
|
469
|
-
"tags": [],
|
|
470
|
-
"text": ""
|
|
471
|
-
},
|
|
472
|
-
"complexType": {
|
|
473
|
-
"original": "{ name: string; value: any }",
|
|
474
|
-
"resolved": "{ name: string; value: any; }",
|
|
475
|
-
"references": {}
|
|
476
|
-
}
|
|
477
|
-
}, {
|
|
478
|
-
"method": "smoothlyInput",
|
|
479
|
-
"name": "smoothlyInput",
|
|
480
|
-
"bubbles": true,
|
|
481
|
-
"cancelable": true,
|
|
482
|
-
"composed": true,
|
|
483
|
-
"docs": {
|
|
484
|
-
"tags": [],
|
|
485
|
-
"text": ""
|
|
486
|
-
},
|
|
487
|
-
"complexType": {
|
|
488
|
-
"original": "{ name: string; value: any }",
|
|
489
|
-
"resolved": "{ name: string; value: any; }",
|
|
490
|
-
"references": {}
|
|
433
|
+
},
|
|
434
|
+
"required": false,
|
|
435
|
+
"optional": true,
|
|
436
|
+
"docs": {
|
|
437
|
+
"tags": [],
|
|
438
|
+
"text": ""
|
|
439
|
+
},
|
|
440
|
+
"attribute": "currency",
|
|
441
|
+
"reflect": true
|
|
491
442
|
}
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
"
|
|
502
|
-
|
|
503
|
-
|
|
443
|
+
};
|
|
444
|
+
}
|
|
445
|
+
static get states() {
|
|
446
|
+
return {
|
|
447
|
+
"initialValue": {}
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
static get events() {
|
|
451
|
+
return [{
|
|
452
|
+
"method": "smoothlyBlur",
|
|
453
|
+
"name": "smoothlyBlur",
|
|
454
|
+
"bubbles": true,
|
|
455
|
+
"cancelable": true,
|
|
456
|
+
"composed": true,
|
|
457
|
+
"docs": {
|
|
458
|
+
"tags": [],
|
|
459
|
+
"text": ""
|
|
460
|
+
},
|
|
461
|
+
"complexType": {
|
|
462
|
+
"original": "void",
|
|
463
|
+
"resolved": "void",
|
|
464
|
+
"references": {}
|
|
465
|
+
}
|
|
466
|
+
}, {
|
|
467
|
+
"method": "smoothlyChange",
|
|
468
|
+
"name": "smoothlyChange",
|
|
469
|
+
"bubbles": true,
|
|
470
|
+
"cancelable": true,
|
|
471
|
+
"composed": true,
|
|
472
|
+
"docs": {
|
|
473
|
+
"tags": [],
|
|
474
|
+
"text": ""
|
|
475
|
+
},
|
|
476
|
+
"complexType": {
|
|
477
|
+
"original": "{ name: string; value: any }",
|
|
478
|
+
"resolved": "{ name: string; value: any; }",
|
|
479
|
+
"references": {}
|
|
480
|
+
}
|
|
481
|
+
}, {
|
|
482
|
+
"method": "smoothlyInput",
|
|
483
|
+
"name": "smoothlyInput",
|
|
484
|
+
"bubbles": true,
|
|
485
|
+
"cancelable": true,
|
|
486
|
+
"composed": true,
|
|
487
|
+
"docs": {
|
|
488
|
+
"tags": [],
|
|
489
|
+
"text": ""
|
|
490
|
+
},
|
|
491
|
+
"complexType": {
|
|
492
|
+
"original": "{ name: string; value: any }",
|
|
493
|
+
"resolved": "{ name: string; value: any; }",
|
|
494
|
+
"references": {}
|
|
495
|
+
}
|
|
496
|
+
}];
|
|
497
|
+
}
|
|
498
|
+
static get methods() {
|
|
499
|
+
return {
|
|
500
|
+
"getFormData": {
|
|
501
|
+
"complexType": {
|
|
502
|
+
"signature": "(name: string) => Promise<Record<string, any>>",
|
|
503
|
+
"parameters": [{
|
|
504
|
+
"tags": [],
|
|
505
|
+
"text": ""
|
|
506
|
+
}],
|
|
507
|
+
"references": {
|
|
508
|
+
"Promise": {
|
|
509
|
+
"location": "global"
|
|
510
|
+
},
|
|
511
|
+
"Record": {
|
|
512
|
+
"location": "global"
|
|
513
|
+
}
|
|
504
514
|
},
|
|
505
|
-
"
|
|
506
|
-
"location": "global"
|
|
507
|
-
}
|
|
515
|
+
"return": "Promise<Record<string, any>>"
|
|
508
516
|
},
|
|
509
|
-
"
|
|
517
|
+
"docs": {
|
|
518
|
+
"text": "",
|
|
519
|
+
"tags": []
|
|
520
|
+
}
|
|
510
521
|
},
|
|
511
|
-
"
|
|
512
|
-
"
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
"Promise": {
|
|
525
|
-
"location": "global"
|
|
526
|
-
}
|
|
522
|
+
"setKeepFocusOnReRender": {
|
|
523
|
+
"complexType": {
|
|
524
|
+
"signature": "(keepFocus: boolean) => Promise<void>",
|
|
525
|
+
"parameters": [{
|
|
526
|
+
"tags": [],
|
|
527
|
+
"text": ""
|
|
528
|
+
}],
|
|
529
|
+
"references": {
|
|
530
|
+
"Promise": {
|
|
531
|
+
"location": "global"
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
"return": "Promise<void>"
|
|
527
535
|
},
|
|
528
|
-
"
|
|
536
|
+
"docs": {
|
|
537
|
+
"text": "",
|
|
538
|
+
"tags": []
|
|
539
|
+
}
|
|
529
540
|
},
|
|
530
|
-
"
|
|
531
|
-
"
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
541
|
+
"setSelectionRange": {
|
|
542
|
+
"complexType": {
|
|
543
|
+
"signature": "(start: number, end: number, direction?: Direction) => Promise<void>",
|
|
544
|
+
"parameters": [{
|
|
545
|
+
"tags": [],
|
|
546
|
+
"text": ""
|
|
547
|
+
}, {
|
|
548
|
+
"tags": [],
|
|
549
|
+
"text": ""
|
|
550
|
+
}, {
|
|
551
|
+
"tags": [],
|
|
552
|
+
"text": ""
|
|
553
|
+
}],
|
|
554
|
+
"references": {
|
|
555
|
+
"Promise": {
|
|
556
|
+
"location": "global"
|
|
557
|
+
},
|
|
558
|
+
"Direction": {
|
|
559
|
+
"location": "import",
|
|
560
|
+
"path": "tidily"
|
|
561
|
+
}
|
|
551
562
|
},
|
|
552
|
-
"
|
|
553
|
-
"location": "import",
|
|
554
|
-
"path": "tidily"
|
|
555
|
-
}
|
|
563
|
+
"return": "Promise<void>"
|
|
556
564
|
},
|
|
557
|
-
"
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
"tags": []
|
|
565
|
+
"docs": {
|
|
566
|
+
"text": "",
|
|
567
|
+
"tags": []
|
|
568
|
+
}
|
|
562
569
|
}
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
static get watchers() {
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
570
|
+
};
|
|
571
|
+
}
|
|
572
|
+
static get watchers() {
|
|
573
|
+
return [{
|
|
574
|
+
"propName": "value",
|
|
575
|
+
"methodName": "valueWatcher"
|
|
576
|
+
}, {
|
|
577
|
+
"propName": "currency",
|
|
578
|
+
"methodName": "onCurrency"
|
|
579
|
+
}];
|
|
580
|
+
}
|
|
572
581
|
}
|
|
573
582
|
function getLocale() {
|
|
574
583
|
const result = navigator.language;
|