@aurodesignsystem/auro-formkit 2.0.0-beta.11 → 2.0.0-beta.13
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/.turbo/cache/0c8124a987c1cc05-meta.json +1 -1
- package/.turbo/cache/18129dba20f51b6b-meta.json +1 -1
- package/.turbo/cache/1ad033a815d5d141-meta.json +1 -0
- package/.turbo/cache/{98317b0d14d94df7.tar.zst → 1ad033a815d5d141.tar.zst} +0 -0
- package/.turbo/cache/1badd6a7be324316-meta.json +1 -0
- package/.turbo/cache/1d1101e22cfdd7ae-meta.json +1 -0
- package/.turbo/cache/{f3c7b40f2c6a4094.tar.zst → 1d1101e22cfdd7ae.tar.zst} +0 -0
- package/.turbo/cache/2787020e69f50af2-meta.json +1 -1
- package/.turbo/cache/2c0d681132c153dd-meta.json +1 -1
- package/.turbo/cache/32b28967b56d244d-meta.json +1 -0
- package/.turbo/cache/338dc597861e8610-meta.json +1 -0
- package/.turbo/cache/338dc597861e8610.tar.zst +0 -0
- package/.turbo/cache/4006a206400d5c7b-meta.json +1 -1
- package/.turbo/cache/492dda333b8d15f1-meta.json +1 -1
- package/.turbo/cache/50993de942ec15a9-meta.json +1 -1
- package/.turbo/cache/50cd7dcfc9f820c5-meta.json +1 -1
- package/.turbo/cache/515cd0fcaf1be153-meta.json +1 -0
- package/.turbo/cache/{0cd512cdf86242c7.tar.zst → 515cd0fcaf1be153.tar.zst} +0 -0
- package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -1
- package/.turbo/cache/57ef0d09fc16c822-meta.json +1 -0
- package/.turbo/cache/{fd5ddfa43ebd8e5c.tar.zst → 57ef0d09fc16c822.tar.zst} +0 -0
- package/.turbo/cache/6081837e8943b62e-meta.json +1 -1
- package/.turbo/cache/60ad74320c682a2b-meta.json +1 -1
- package/.turbo/cache/61e218aba69cff58-meta.json +1 -1
- package/.turbo/cache/6506de5d561d4b0a-meta.json +1 -0
- package/.turbo/cache/6506de5d561d4b0a.tar.zst +0 -0
- package/.turbo/cache/68f332a76b89207d-meta.json +1 -0
- package/.turbo/cache/68f332a76b89207d.tar.zst +0 -0
- package/.turbo/cache/69709e2757f611ba-meta.json +1 -0
- package/.turbo/cache/71ad64025e29882c-meta.json +1 -0
- package/.turbo/cache/7709f6d0b8e9128c-meta.json +1 -0
- package/.turbo/cache/7709f6d0b8e9128c.tar.zst +0 -0
- package/.turbo/cache/77da375a012de9d0-meta.json +1 -1
- package/.turbo/cache/78fa90dd39b41ad0-meta.json +1 -0
- package/.turbo/cache/7964d1656e9e702a-meta.json +1 -1
- package/.turbo/cache/7a3d3f6c95cc07d0-meta.json +1 -0
- package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -1
- package/.turbo/cache/7c9ca6163e61285c-meta.json +1 -1
- package/.turbo/cache/899511cbbc19575f-meta.json +1 -0
- package/.turbo/cache/899511cbbc19575f.tar.zst +0 -0
- package/.turbo/cache/8bb856bd31b5b479-meta.json +1 -1
- package/.turbo/cache/9ae99e8e7bd83d06-meta.json +1 -1
- package/.turbo/cache/9b39333fcd766d6c-meta.json +1 -0
- package/.turbo/cache/{9cbcd13b1d031f63.tar.zst → 9b39333fcd766d6c.tar.zst} +0 -0
- package/.turbo/cache/a92e41c6c847cf3d-meta.json +1 -0
- package/.turbo/cache/{5a0d3e26da304c62.tar.zst → a92e41c6c847cf3d.tar.zst} +0 -0
- package/.turbo/cache/aeda5fcc7c0a1677-meta.json +1 -0
- package/.turbo/cache/{93c887fb93a10daa.tar.zst → aeda5fcc7c0a1677.tar.zst} +0 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -1
- package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -1
- package/.turbo/cache/bab4eb0eea62ea5a-meta.json +1 -0
- package/.turbo/cache/be0b95293ea517cc-meta.json +1 -1
- package/.turbo/cache/c35b8ad2393cf6dd-meta.json +1 -0
- package/.turbo/cache/{4e3619d9dfc86809.tar.zst → c35b8ad2393cf6dd.tar.zst} +0 -0
- package/.turbo/cache/c4115ce49719f4ed-meta.json +1 -0
- package/.turbo/cache/c44efc9e4ddd8a0e-meta.json +1 -1
- package/.turbo/cache/c60c3e77395a0986-meta.json +1 -0
- package/.turbo/cache/{df40b180126e5351.tar.zst → c60c3e77395a0986.tar.zst} +0 -0
- package/.turbo/cache/c6c6411199b68170-meta.json +1 -1
- package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -1
- package/.turbo/cache/d775555355d6b8fc-meta.json +1 -1
- package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -1
- package/.turbo/cache/d985aeb8931cbd36-meta.json +1 -0
- package/.turbo/cache/dad3d78b33edd9e4-meta.json +1 -1
- package/.turbo/cache/dc597b3ea4f61ec8-meta.json +1 -1
- package/.turbo/cache/e46ab86a358d1bde-meta.json +1 -0
- package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -1
- package/.turbo/cache/e9e36823f6c98f07-meta.json +1 -1
- package/.turbo/cache/ed628dd85d0ad81e-meta.json +1 -0
- package/.turbo/cache/ed628dd85d0ad81e.tar.zst +0 -0
- package/.turbo/cache/ee09a6d843ff0472-meta.json +1 -0
- package/.turbo/cache/eee0dba88fb565a1-meta.json +1 -0
- package/.turbo/cache/f3f8fd561572d247-meta.json +1 -0
- package/.turbo/cache/{fb3809ac3f90e3b2.tar.zst → f3f8fd561572d247.tar.zst} +0 -0
- package/.turbo/cache/fd803ebed54accd1-meta.json +1 -0
- package/.turbo/cache/fd803ebed54accd1.tar.zst +0 -0
- package/CHANGELOG.md +19 -0
- package/components/checkbox/.turbo/turbo-build.log +3 -3
- package/components/checkbox/.turbo/turbo-bundler.log +3 -3
- package/components/checkbox/README.md +1 -1
- package/components/combobox/.turbo/turbo-build.log +3 -3
- package/components/combobox/README.md +4 -4
- package/components/combobox/demo/api.md +15 -14
- package/components/combobox/demo/api.min.js +90 -79
- package/components/combobox/demo/index.min.js +90 -79
- package/components/combobox/dist/auro-combobox.d.ts +63 -78
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
- package/components/combobox/dist/index.js +90 -79
- package/components/combobox/src/auro-combobox.js +90 -79
- package/components/counter/.turbo/turbo-build.log +3 -3
- package/components/counter/.turbo/turbo-bundler.log +2 -2
- package/components/counter/README.md +1 -1
- package/components/datepicker/.turbo/turbo-build.log +2 -2
- package/components/datepicker/README.md +4 -4
- package/components/dropdown/.turbo/turbo-build.log +3 -3
- package/components/dropdown/.turbo/turbo-bundler.log +3 -3
- package/components/dropdown/README.md +1 -1
- package/components/form/.turbo/turbo-build.log +3 -3
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/form/README.md +1 -1
- package/components/input/.turbo/turbo-build.log +2 -2
- package/components/input/.turbo/turbo-bundler.log +3 -3
- package/components/input/README.md +1 -1
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/menu/README.md +1 -1
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/.turbo/turbo-bundler.log +3 -3
- package/components/radio/README.md +1 -1
- package/components/select/.turbo/turbo-build.log +3 -3
- package/components/select/README.md +3 -3
- package/package.json +1 -1
- package/.turbo/cache/0cd512cdf86242c7-meta.json +0 -1
- package/.turbo/cache/123c83cd8727dff3-meta.json +0 -1
- package/.turbo/cache/253e861af7025ed4-meta.json +0 -1
- package/.turbo/cache/253e861af7025ed4.tar.zst +0 -0
- package/.turbo/cache/2a5295c8f561ed84-meta.json +0 -1
- package/.turbo/cache/4e3619d9dfc86809-meta.json +0 -1
- package/.turbo/cache/5a0d3e26da304c62-meta.json +0 -1
- package/.turbo/cache/5c960af698582835-meta.json +0 -1
- package/.turbo/cache/5c960af698582835.tar.zst +0 -0
- package/.turbo/cache/5dbbb71dffc3f542-meta.json +0 -1
- package/.turbo/cache/5dbbb71dffc3f542.tar.zst +0 -0
- package/.turbo/cache/80aca269cd346fb4-meta.json +0 -1
- package/.turbo/cache/80aca269cd346fb4.tar.zst +0 -0
- package/.turbo/cache/8602fc2bb737a5cf-meta.json +0 -1
- package/.turbo/cache/89e0e7a6148e854f-meta.json +0 -1
- package/.turbo/cache/89e0e7a6148e854f.tar.zst +0 -0
- package/.turbo/cache/93c887fb93a10daa-meta.json +0 -1
- package/.turbo/cache/94dae2a64e9d8356-meta.json +0 -1
- package/.turbo/cache/97f6fe83b54acf09-meta.json +0 -1
- package/.turbo/cache/97f6fe83b54acf09.tar.zst +0 -0
- package/.turbo/cache/98317b0d14d94df7-meta.json +0 -1
- package/.turbo/cache/9cbcd13b1d031f63-meta.json +0 -1
- package/.turbo/cache/afbbd49ed1a558b9-meta.json +0 -1
- package/.turbo/cache/b353ce8f6da43dea-meta.json +0 -1
- package/.turbo/cache/b8db059a9b9ccb5d-meta.json +0 -1
- package/.turbo/cache/bc24a38aa1b1a102-meta.json +0 -1
- package/.turbo/cache/c3a4f7a3565d6706-meta.json +0 -1
- package/.turbo/cache/c97b043e748e3580-meta.json +0 -1
- package/.turbo/cache/df40b180126e5351-meta.json +0 -1
- package/.turbo/cache/e5f217f77c32c93b-meta.json +0 -1
- package/.turbo/cache/e5f217f77c32c93b.tar.zst +0 -0
- package/.turbo/cache/ee1a3c1fe389da51-meta.json +0 -1
- package/.turbo/cache/f3c7b40f2c6a4094-meta.json +0 -1
- package/.turbo/cache/f5958c3acb889631-meta.json +0 -1
- package/.turbo/cache/fb3809ac3f90e3b2-meta.json +0 -1
- package/.turbo/cache/fd5ddfa43ebd8e5c-meta.json +0 -1
- /package/.turbo/cache/{8602fc2bb737a5cf.tar.zst → 1badd6a7be324316.tar.zst} +0 -0
- /package/.turbo/cache/{bc24a38aa1b1a102.tar.zst → 32b28967b56d244d.tar.zst} +0 -0
- /package/.turbo/cache/{f5958c3acb889631.tar.zst → 69709e2757f611ba.tar.zst} +0 -0
- /package/.turbo/cache/{123c83cd8727dff3.tar.zst → 71ad64025e29882c.tar.zst} +0 -0
- /package/.turbo/cache/{c97b043e748e3580.tar.zst → 78fa90dd39b41ad0.tar.zst} +0 -0
- /package/.turbo/cache/{b8db059a9b9ccb5d.tar.zst → 7a3d3f6c95cc07d0.tar.zst} +0 -0
- /package/.turbo/cache/{afbbd49ed1a558b9.tar.zst → bab4eb0eea62ea5a.tar.zst} +0 -0
- /package/.turbo/cache/{ee1a3c1fe389da51.tar.zst → c4115ce49719f4ed.tar.zst} +0 -0
- /package/.turbo/cache/{94dae2a64e9d8356.tar.zst → d985aeb8931cbd36.tar.zst} +0 -0
- /package/.turbo/cache/{2a5295c8f561ed84.tar.zst → e46ab86a358d1bde.tar.zst} +0 -0
- /package/.turbo/cache/{c3a4f7a3565d6706.tar.zst → ee09a6d843ff0472.tar.zst} +0 -0
- /package/.turbo/cache/{b353ce8f6da43dea.tar.zst → eee0dba88fb565a1.tar.zst} +0 -0
|
@@ -9326,20 +9326,6 @@ var styleCss$3 = i$d`.util_displayInline{display:inline}.util_displayInlineBlock
|
|
|
9326
9326
|
|
|
9327
9327
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
9328
9328
|
/**
|
|
9329
|
-
* @prop {Object} optionSelected - Specifies the current selected option.
|
|
9330
|
-
* @prop {String} value - Value selected for the dropdown menu.
|
|
9331
|
-
* @prop {Boolean} checkmark - When attribute is present auro-menu will apply checkmarks to selected options.
|
|
9332
|
-
* @attr {String} error - When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
9333
|
-
* @attr {String} validity - Specifies the `validityState` this element is in.
|
|
9334
|
-
* @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
|
|
9335
|
-
* @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
|
|
9336
|
-
* @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
|
|
9337
|
-
* @attr {Boolean} disabled - If set, disables the combobox.
|
|
9338
|
-
* @attr {Boolean} noFilter - If set, combobox will not filter menuoptions based in input.
|
|
9339
|
-
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
|
|
9340
|
-
* @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
|
|
9341
|
-
* @attr {Boolean} triggerIcon - If set, the `icon` attribute will be applied to the trigger `auro-input` element.
|
|
9342
|
-
* @attr {String} type - Applies the defined value as the type attribute on auro-input.
|
|
9343
9329
|
* @slot - Default slot for the menu content.
|
|
9344
9330
|
* @slot label - Defines the content of the label.
|
|
9345
9331
|
* @slot helpText - Defines the content of the helpText.
|
|
@@ -9358,28 +9344,6 @@ class AuroCombobox extends r$7 {
|
|
|
9358
9344
|
this.optionSelected = undefined;
|
|
9359
9345
|
|
|
9360
9346
|
this.privateDefaults();
|
|
9361
|
-
|
|
9362
|
-
/**
|
|
9363
|
-
* @private
|
|
9364
|
-
*/
|
|
9365
|
-
this.validation = new AuroFormValidation$1();
|
|
9366
|
-
|
|
9367
|
-
/**
|
|
9368
|
-
* @private
|
|
9369
|
-
*/
|
|
9370
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
9371
|
-
|
|
9372
|
-
/**
|
|
9373
|
-
* @private
|
|
9374
|
-
*/
|
|
9375
|
-
this.isHiddenWhileLoading = false;
|
|
9376
|
-
|
|
9377
|
-
/**
|
|
9378
|
-
* Generate unique names for dependency components.
|
|
9379
|
-
*/
|
|
9380
|
-
const versioning = new AuroDependencyVersioning$3();
|
|
9381
|
-
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
9382
|
-
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
9383
9347
|
}
|
|
9384
9348
|
|
|
9385
9349
|
/**
|
|
@@ -9390,6 +9354,17 @@ class AuroCombobox extends r$7 {
|
|
|
9390
9354
|
this.availableOptions = [];
|
|
9391
9355
|
this.optionActive = null;
|
|
9392
9356
|
this.msgSelectionMissing = 'Please select an option.';
|
|
9357
|
+
|
|
9358
|
+
this.validation = new AuroFormValidation$1();
|
|
9359
|
+
|
|
9360
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
9361
|
+
|
|
9362
|
+
this.isHiddenWhileLoading = false;
|
|
9363
|
+
|
|
9364
|
+
const versioning = new AuroDependencyVersioning$3();
|
|
9365
|
+
|
|
9366
|
+
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
9367
|
+
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
9393
9368
|
}
|
|
9394
9369
|
|
|
9395
9370
|
// This function is to define props used within the scope of this component
|
|
@@ -9398,92 +9373,123 @@ class AuroCombobox extends r$7 {
|
|
|
9398
9373
|
static get properties() {
|
|
9399
9374
|
return {
|
|
9400
9375
|
// ...super.properties,
|
|
9401
|
-
|
|
9376
|
+
|
|
9377
|
+
/**
|
|
9378
|
+
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
9379
|
+
*/
|
|
9380
|
+
autocomplete: {
|
|
9402
9381
|
type: String,
|
|
9403
9382
|
reflect: true
|
|
9404
9383
|
},
|
|
9405
|
-
|
|
9406
|
-
|
|
9407
|
-
|
|
9408
|
-
|
|
9409
|
-
|
|
9410
|
-
|
|
9411
|
-
setCustomValidityValueMissing: {
|
|
9412
|
-
type: String
|
|
9413
|
-
},
|
|
9414
|
-
validity: {
|
|
9415
|
-
type: String,
|
|
9384
|
+
|
|
9385
|
+
/**
|
|
9386
|
+
* When attribute is present auro-menu will apply checkmarks to selected options.
|
|
9387
|
+
*/
|
|
9388
|
+
checkmark: {
|
|
9389
|
+
type: Boolean,
|
|
9416
9390
|
reflect: true
|
|
9417
9391
|
},
|
|
9392
|
+
|
|
9393
|
+
/**
|
|
9394
|
+
* If set, disables the combobox.
|
|
9395
|
+
*/
|
|
9418
9396
|
disabled: {
|
|
9419
9397
|
type: Boolean,
|
|
9420
9398
|
reflect: true
|
|
9421
9399
|
},
|
|
9400
|
+
|
|
9401
|
+
/**
|
|
9402
|
+
* When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
9403
|
+
*/
|
|
9404
|
+
error: {
|
|
9405
|
+
type: String,
|
|
9406
|
+
reflect: true
|
|
9407
|
+
},
|
|
9408
|
+
|
|
9409
|
+
/**
|
|
9410
|
+
* If set, combobox will not filter menuoptions based in input.
|
|
9411
|
+
*/
|
|
9422
9412
|
noFilter: {
|
|
9423
9413
|
type: Boolean,
|
|
9424
9414
|
reflect: true
|
|
9425
9415
|
},
|
|
9416
|
+
|
|
9417
|
+
/**
|
|
9418
|
+
* If set, disables auto-validation on blur.
|
|
9419
|
+
*/
|
|
9420
|
+
noValidate: {
|
|
9421
|
+
type: Boolean
|
|
9422
|
+
},
|
|
9423
|
+
|
|
9424
|
+
/**
|
|
9425
|
+
* Specifies the current selected option.
|
|
9426
|
+
*/
|
|
9426
9427
|
optionSelected: {
|
|
9427
9428
|
type: Object,
|
|
9428
9429
|
converter: arrayConverter$1,
|
|
9429
9430
|
hasChanged: arrayOrUndefinedHasChanged$1
|
|
9430
9431
|
},
|
|
9431
|
-
|
|
9432
|
+
|
|
9433
|
+
/**
|
|
9434
|
+
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
9435
|
+
*/
|
|
9432
9436
|
required: {
|
|
9433
9437
|
type: Boolean,
|
|
9434
9438
|
reflect: true
|
|
9435
9439
|
},
|
|
9436
|
-
triggerIcon: {
|
|
9437
|
-
type: Boolean,
|
|
9438
|
-
reflect: true
|
|
9439
|
-
},
|
|
9440
|
-
type: {
|
|
9441
|
-
type: String,
|
|
9442
|
-
reflect: true
|
|
9443
|
-
},
|
|
9444
|
-
value: {
|
|
9445
|
-
converter: arrayConverter$1,
|
|
9446
|
-
hasChanged: arrayOrUndefinedHasChanged$1
|
|
9447
|
-
},
|
|
9448
|
-
checkmark: {
|
|
9449
|
-
type: Boolean,
|
|
9450
|
-
reflect: true
|
|
9451
|
-
},
|
|
9452
9440
|
|
|
9453
9441
|
/**
|
|
9454
|
-
*
|
|
9442
|
+
* Sets a custom help text message to display for all validityStates.
|
|
9455
9443
|
*/
|
|
9456
|
-
|
|
9444
|
+
setCustomValidity: {
|
|
9445
|
+
type: String
|
|
9446
|
+
},
|
|
9457
9447
|
|
|
9458
9448
|
/**
|
|
9459
|
-
*
|
|
9449
|
+
* Custom help text message to display when validity = `customError`.
|
|
9460
9450
|
*/
|
|
9461
|
-
|
|
9451
|
+
setCustomValidityCustomError: {
|
|
9452
|
+
type: String
|
|
9453
|
+
},
|
|
9462
9454
|
|
|
9463
9455
|
/**
|
|
9464
|
-
*
|
|
9456
|
+
* Custom help text message to display when validity = `valueMissing`.
|
|
9465
9457
|
*/
|
|
9466
|
-
|
|
9458
|
+
setCustomValidityValueMissing: {
|
|
9459
|
+
type: String
|
|
9460
|
+
},
|
|
9467
9461
|
|
|
9468
9462
|
/**
|
|
9469
|
-
*
|
|
9463
|
+
* If set, the `icon` attribute will be applied to the trigger `auro-input` element.
|
|
9470
9464
|
*/
|
|
9471
|
-
|
|
9465
|
+
triggerIcon: {
|
|
9466
|
+
type: Boolean,
|
|
9467
|
+
reflect: true
|
|
9468
|
+
},
|
|
9472
9469
|
|
|
9473
9470
|
/**
|
|
9474
|
-
*
|
|
9471
|
+
* Applies the defined value as the type attribute on auro-input.
|
|
9475
9472
|
*/
|
|
9476
|
-
|
|
9473
|
+
type: {
|
|
9474
|
+
type: String,
|
|
9475
|
+
reflect: true
|
|
9476
|
+
},
|
|
9477
9477
|
|
|
9478
9478
|
/**
|
|
9479
|
-
*
|
|
9479
|
+
* Specifies the `validityState` this element is in.
|
|
9480
9480
|
*/
|
|
9481
|
-
|
|
9481
|
+
validity: {
|
|
9482
|
+
type: String,
|
|
9483
|
+
reflect: true
|
|
9484
|
+
},
|
|
9482
9485
|
|
|
9483
9486
|
/**
|
|
9484
|
-
*
|
|
9487
|
+
* Value selected for the dropdown menu.
|
|
9485
9488
|
*/
|
|
9486
|
-
|
|
9489
|
+
value: {
|
|
9490
|
+
converter: arrayConverter$1,
|
|
9491
|
+
hasChanged: arrayOrUndefinedHasChanged$1
|
|
9492
|
+
},
|
|
9487
9493
|
};
|
|
9488
9494
|
}
|
|
9489
9495
|
|
|
@@ -9894,6 +9900,10 @@ class AuroCombobox extends r$7 {
|
|
|
9894
9900
|
}
|
|
9895
9901
|
}
|
|
9896
9902
|
});
|
|
9903
|
+
|
|
9904
|
+
this.addEventListener('focusin', () => {
|
|
9905
|
+
this.focus();
|
|
9906
|
+
});
|
|
9897
9907
|
}
|
|
9898
9908
|
|
|
9899
9909
|
/**
|
|
@@ -10038,6 +10048,7 @@ class AuroCombobox extends r$7 {
|
|
|
10038
10048
|
setCustomValidity="${this.setCustomValidity}"
|
|
10039
10049
|
setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
|
|
10040
10050
|
setCustomValidityCustomError="${this.setCustomValidityCustomError}"
|
|
10051
|
+
.autocomplete="${this.autocomplete}"
|
|
10041
10052
|
.type="${this.type}"
|
|
10042
10053
|
@input="${this.handleInputValueChange}">
|
|
10043
10054
|
<slot name="label" slot="label"></slot>
|
|
@@ -9184,20 +9184,6 @@ var styleCss$3 = i$d`.util_displayInline{display:inline}.util_displayInlineBlock
|
|
|
9184
9184
|
|
|
9185
9185
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
9186
9186
|
/**
|
|
9187
|
-
* @prop {Object} optionSelected - Specifies the current selected option.
|
|
9188
|
-
* @prop {String} value - Value selected for the dropdown menu.
|
|
9189
|
-
* @prop {Boolean} checkmark - When attribute is present auro-menu will apply checkmarks to selected options.
|
|
9190
|
-
* @attr {String} error - When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
9191
|
-
* @attr {String} validity - Specifies the `validityState` this element is in.
|
|
9192
|
-
* @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
|
|
9193
|
-
* @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
|
|
9194
|
-
* @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
|
|
9195
|
-
* @attr {Boolean} disabled - If set, disables the combobox.
|
|
9196
|
-
* @attr {Boolean} noFilter - If set, combobox will not filter menuoptions based in input.
|
|
9197
|
-
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
|
|
9198
|
-
* @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
|
|
9199
|
-
* @attr {Boolean} triggerIcon - If set, the `icon` attribute will be applied to the trigger `auro-input` element.
|
|
9200
|
-
* @attr {String} type - Applies the defined value as the type attribute on auro-input.
|
|
9201
9187
|
* @slot - Default slot for the menu content.
|
|
9202
9188
|
* @slot label - Defines the content of the label.
|
|
9203
9189
|
* @slot helpText - Defines the content of the helpText.
|
|
@@ -9216,28 +9202,6 @@ class AuroCombobox extends r$7 {
|
|
|
9216
9202
|
this.optionSelected = undefined;
|
|
9217
9203
|
|
|
9218
9204
|
this.privateDefaults();
|
|
9219
|
-
|
|
9220
|
-
/**
|
|
9221
|
-
* @private
|
|
9222
|
-
*/
|
|
9223
|
-
this.validation = new AuroFormValidation$1();
|
|
9224
|
-
|
|
9225
|
-
/**
|
|
9226
|
-
* @private
|
|
9227
|
-
*/
|
|
9228
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
9229
|
-
|
|
9230
|
-
/**
|
|
9231
|
-
* @private
|
|
9232
|
-
*/
|
|
9233
|
-
this.isHiddenWhileLoading = false;
|
|
9234
|
-
|
|
9235
|
-
/**
|
|
9236
|
-
* Generate unique names for dependency components.
|
|
9237
|
-
*/
|
|
9238
|
-
const versioning = new AuroDependencyVersioning$3();
|
|
9239
|
-
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
9240
|
-
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
9241
9205
|
}
|
|
9242
9206
|
|
|
9243
9207
|
/**
|
|
@@ -9248,6 +9212,17 @@ class AuroCombobox extends r$7 {
|
|
|
9248
9212
|
this.availableOptions = [];
|
|
9249
9213
|
this.optionActive = null;
|
|
9250
9214
|
this.msgSelectionMissing = 'Please select an option.';
|
|
9215
|
+
|
|
9216
|
+
this.validation = new AuroFormValidation$1();
|
|
9217
|
+
|
|
9218
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
|
|
9219
|
+
|
|
9220
|
+
this.isHiddenWhileLoading = false;
|
|
9221
|
+
|
|
9222
|
+
const versioning = new AuroDependencyVersioning$3();
|
|
9223
|
+
|
|
9224
|
+
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
9225
|
+
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
9251
9226
|
}
|
|
9252
9227
|
|
|
9253
9228
|
// This function is to define props used within the scope of this component
|
|
@@ -9256,92 +9231,123 @@ class AuroCombobox extends r$7 {
|
|
|
9256
9231
|
static get properties() {
|
|
9257
9232
|
return {
|
|
9258
9233
|
// ...super.properties,
|
|
9259
|
-
|
|
9234
|
+
|
|
9235
|
+
/**
|
|
9236
|
+
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
9237
|
+
*/
|
|
9238
|
+
autocomplete: {
|
|
9260
9239
|
type: String,
|
|
9261
9240
|
reflect: true
|
|
9262
9241
|
},
|
|
9263
|
-
|
|
9264
|
-
|
|
9265
|
-
|
|
9266
|
-
|
|
9267
|
-
|
|
9268
|
-
|
|
9269
|
-
setCustomValidityValueMissing: {
|
|
9270
|
-
type: String
|
|
9271
|
-
},
|
|
9272
|
-
validity: {
|
|
9273
|
-
type: String,
|
|
9242
|
+
|
|
9243
|
+
/**
|
|
9244
|
+
* When attribute is present auro-menu will apply checkmarks to selected options.
|
|
9245
|
+
*/
|
|
9246
|
+
checkmark: {
|
|
9247
|
+
type: Boolean,
|
|
9274
9248
|
reflect: true
|
|
9275
9249
|
},
|
|
9250
|
+
|
|
9251
|
+
/**
|
|
9252
|
+
* If set, disables the combobox.
|
|
9253
|
+
*/
|
|
9276
9254
|
disabled: {
|
|
9277
9255
|
type: Boolean,
|
|
9278
9256
|
reflect: true
|
|
9279
9257
|
},
|
|
9258
|
+
|
|
9259
|
+
/**
|
|
9260
|
+
* When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
9261
|
+
*/
|
|
9262
|
+
error: {
|
|
9263
|
+
type: String,
|
|
9264
|
+
reflect: true
|
|
9265
|
+
},
|
|
9266
|
+
|
|
9267
|
+
/**
|
|
9268
|
+
* If set, combobox will not filter menuoptions based in input.
|
|
9269
|
+
*/
|
|
9280
9270
|
noFilter: {
|
|
9281
9271
|
type: Boolean,
|
|
9282
9272
|
reflect: true
|
|
9283
9273
|
},
|
|
9274
|
+
|
|
9275
|
+
/**
|
|
9276
|
+
* If set, disables auto-validation on blur.
|
|
9277
|
+
*/
|
|
9278
|
+
noValidate: {
|
|
9279
|
+
type: Boolean
|
|
9280
|
+
},
|
|
9281
|
+
|
|
9282
|
+
/**
|
|
9283
|
+
* Specifies the current selected option.
|
|
9284
|
+
*/
|
|
9284
9285
|
optionSelected: {
|
|
9285
9286
|
type: Object,
|
|
9286
9287
|
converter: arrayConverter$1,
|
|
9287
9288
|
hasChanged: arrayOrUndefinedHasChanged$1
|
|
9288
9289
|
},
|
|
9289
|
-
|
|
9290
|
+
|
|
9291
|
+
/**
|
|
9292
|
+
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
9293
|
+
*/
|
|
9290
9294
|
required: {
|
|
9291
9295
|
type: Boolean,
|
|
9292
9296
|
reflect: true
|
|
9293
9297
|
},
|
|
9294
|
-
triggerIcon: {
|
|
9295
|
-
type: Boolean,
|
|
9296
|
-
reflect: true
|
|
9297
|
-
},
|
|
9298
|
-
type: {
|
|
9299
|
-
type: String,
|
|
9300
|
-
reflect: true
|
|
9301
|
-
},
|
|
9302
|
-
value: {
|
|
9303
|
-
converter: arrayConverter$1,
|
|
9304
|
-
hasChanged: arrayOrUndefinedHasChanged$1
|
|
9305
|
-
},
|
|
9306
|
-
checkmark: {
|
|
9307
|
-
type: Boolean,
|
|
9308
|
-
reflect: true
|
|
9309
|
-
},
|
|
9310
9298
|
|
|
9311
9299
|
/**
|
|
9312
|
-
*
|
|
9300
|
+
* Sets a custom help text message to display for all validityStates.
|
|
9313
9301
|
*/
|
|
9314
|
-
|
|
9302
|
+
setCustomValidity: {
|
|
9303
|
+
type: String
|
|
9304
|
+
},
|
|
9315
9305
|
|
|
9316
9306
|
/**
|
|
9317
|
-
*
|
|
9307
|
+
* Custom help text message to display when validity = `customError`.
|
|
9318
9308
|
*/
|
|
9319
|
-
|
|
9309
|
+
setCustomValidityCustomError: {
|
|
9310
|
+
type: String
|
|
9311
|
+
},
|
|
9320
9312
|
|
|
9321
9313
|
/**
|
|
9322
|
-
*
|
|
9314
|
+
* Custom help text message to display when validity = `valueMissing`.
|
|
9323
9315
|
*/
|
|
9324
|
-
|
|
9316
|
+
setCustomValidityValueMissing: {
|
|
9317
|
+
type: String
|
|
9318
|
+
},
|
|
9325
9319
|
|
|
9326
9320
|
/**
|
|
9327
|
-
*
|
|
9321
|
+
* If set, the `icon` attribute will be applied to the trigger `auro-input` element.
|
|
9328
9322
|
*/
|
|
9329
|
-
|
|
9323
|
+
triggerIcon: {
|
|
9324
|
+
type: Boolean,
|
|
9325
|
+
reflect: true
|
|
9326
|
+
},
|
|
9330
9327
|
|
|
9331
9328
|
/**
|
|
9332
|
-
*
|
|
9329
|
+
* Applies the defined value as the type attribute on auro-input.
|
|
9333
9330
|
*/
|
|
9334
|
-
|
|
9331
|
+
type: {
|
|
9332
|
+
type: String,
|
|
9333
|
+
reflect: true
|
|
9334
|
+
},
|
|
9335
9335
|
|
|
9336
9336
|
/**
|
|
9337
|
-
*
|
|
9337
|
+
* Specifies the `validityState` this element is in.
|
|
9338
9338
|
*/
|
|
9339
|
-
|
|
9339
|
+
validity: {
|
|
9340
|
+
type: String,
|
|
9341
|
+
reflect: true
|
|
9342
|
+
},
|
|
9340
9343
|
|
|
9341
9344
|
/**
|
|
9342
|
-
*
|
|
9345
|
+
* Value selected for the dropdown menu.
|
|
9343
9346
|
*/
|
|
9344
|
-
|
|
9347
|
+
value: {
|
|
9348
|
+
converter: arrayConverter$1,
|
|
9349
|
+
hasChanged: arrayOrUndefinedHasChanged$1
|
|
9350
|
+
},
|
|
9345
9351
|
};
|
|
9346
9352
|
}
|
|
9347
9353
|
|
|
@@ -9752,6 +9758,10 @@ class AuroCombobox extends r$7 {
|
|
|
9752
9758
|
}
|
|
9753
9759
|
}
|
|
9754
9760
|
});
|
|
9761
|
+
|
|
9762
|
+
this.addEventListener('focusin', () => {
|
|
9763
|
+
this.focus();
|
|
9764
|
+
});
|
|
9755
9765
|
}
|
|
9756
9766
|
|
|
9757
9767
|
/**
|
|
@@ -9896,6 +9906,7 @@ class AuroCombobox extends r$7 {
|
|
|
9896
9906
|
setCustomValidity="${this.setCustomValidity}"
|
|
9897
9907
|
setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
|
|
9898
9908
|
setCustomValidityCustomError="${this.setCustomValidityCustomError}"
|
|
9909
|
+
.autocomplete="${this.autocomplete}"
|
|
9899
9910
|
.type="${this.type}"
|
|
9900
9911
|
@input="${this.handleInputValueChange}">
|
|
9901
9912
|
<slot name="label" slot="label"></slot>
|