@ionic/core 8.2.2-dev.11717790867.100c8d5e → 8.2.2-dev.11717796763.1aa87d5c
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/components/checkbox.js +1 -1
- package/components/ghost-duotone.js +6 -0
- package/components/ion-back-button.js +17 -12
- package/components/ion-searchbar.js +33 -16
- package/components/item.js +1 -1
- package/dist/cjs/ghost-duotone-cd930d5c.js +8 -0
- package/dist/cjs/ion-back-button.cjs.entry.js +17 -12
- package/dist/cjs/ion-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ion-item_8.cjs.entry.js +1 -1
- package/dist/cjs/ion-searchbar.cjs.entry.js +33 -16
- package/dist/collection/components/back-button/back-button.js +17 -12
- package/dist/collection/components/checkbox/checkbox.ionic.css +204 -92
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/item/item.ionic.css +0 -32
- package/dist/collection/components/item/test/disabled/item.e2e.js +1 -1
- package/dist/collection/components/item/test/states/item.e2e.js +1 -1
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/router/router.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +33 -17
- package/dist/collection/index.js +1 -0
- package/dist/docs.json +90 -30
- package/dist/esm/ghost-duotone-157f18b8.js +6 -0
- package/dist/esm/ion-back-button.entry.js +17 -12
- package/dist/esm/ion-checkbox.entry.js +1 -1
- package/dist/esm/ion-item_8.entry.js +1 -1
- package/dist/esm/ion-searchbar.entry.js +33 -16
- package/dist/esm-es5/ghost-duotone-157f18b8.js +4 -0
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/html.html-data.json +14 -14
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-1a5d178f.entry.js +4 -0
- package/dist/ionic/p-22388c4d.entry.js +4 -0
- package/dist/ionic/p-25732faa.system.entry.js +4 -0
- package/dist/ionic/p-2efee8e9.entry.js +4 -0
- package/dist/ionic/p-3c93f058.system.entry.js +4 -0
- package/dist/ionic/p-3df9b7f5.js +4 -0
- package/dist/ionic/p-5436c152.system.entry.js +4 -0
- package/dist/ionic/p-5b5f7a34.entry.js +4 -0
- package/dist/ionic/p-7b590e46.system.js +1 -1
- package/dist/ionic/p-b8ce15f6.system.entry.js +4 -0
- package/dist/ionic/p-c859a8da.system.js +4 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/platform.d.ts +2 -2
- package/hydrate/index.js +52 -30
- package/package.json +2 -1
- package/dist/ionic/p-12c07c03.system.entry.js +0 -4
- package/dist/ionic/p-1745dc66.system.entry.js +0 -4
- package/dist/ionic/p-2fdc82b4.entry.js +0 -4
- package/dist/ionic/p-3c6eae03.system.entry.js +0 -4
- package/dist/ionic/p-89efe86f.entry.js +0 -4
- package/dist/ionic/p-cce8c245.entry.js +0 -4
- package/dist/ionic/p-cdc9a11c.system.entry.js +0 -4
- package/dist/ionic/p-eb72562c.entry.js +0 -4
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
+
import ghostDuotone from "@phosphor-icons/core/assets/duotone/ghost-duotone.svg";
|
|
5
|
+
import backspace from "@phosphor-icons/core/assets/regular/backspace.svg";
|
|
4
6
|
import { Host, forceUpdate, h } from "@stencil/core";
|
|
5
7
|
import { debounceEvent, raf, componentOnReady, inheritAttributes } from "../../utils/helpers";
|
|
6
8
|
import { isRTL } from "../../utils/rtl/index";
|
|
@@ -381,13 +383,20 @@ export class Searchbar {
|
|
|
381
383
|
* @returns {string} The icon to use for the clear icon.
|
|
382
384
|
*/
|
|
383
385
|
get searchbarClearIcon() {
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
if (icon !== undefined) {
|
|
388
|
-
// Icon is set on the component.
|
|
389
|
-
return icon;
|
|
386
|
+
// Return the icon if it is explicitly set
|
|
387
|
+
if (this.clearIcon) {
|
|
388
|
+
return this.clearIcon;
|
|
390
389
|
}
|
|
390
|
+
// Determine the theme and map to default icons
|
|
391
|
+
const theme = getIonTheme(this);
|
|
392
|
+
const defaultIcons = {
|
|
393
|
+
ios: closeCircle,
|
|
394
|
+
ionic: backspace,
|
|
395
|
+
md: closeSharp,
|
|
396
|
+
};
|
|
397
|
+
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
398
|
+
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
399
|
+
// Return the configured searchbar clear icon or the default icon
|
|
391
400
|
return config.get('searchbarClearIcon', defaultIcon);
|
|
392
401
|
}
|
|
393
402
|
/**
|
|
@@ -399,13 +408,20 @@ export class Searchbar {
|
|
|
399
408
|
* @returns {string} The icon to use for the search icon.
|
|
400
409
|
*/
|
|
401
410
|
get searchbarSearchIcon() {
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
if (icon !== undefined) {
|
|
406
|
-
// Icon is set on the component.
|
|
407
|
-
return icon;
|
|
411
|
+
// Return the icon if it is explicitly set
|
|
412
|
+
if (this.searchIcon) {
|
|
413
|
+
return this.searchIcon;
|
|
408
414
|
}
|
|
415
|
+
// Determine the theme and map to default icons
|
|
416
|
+
const theme = getIonTheme(this);
|
|
417
|
+
const defaultIcons = {
|
|
418
|
+
ios: searchOutline,
|
|
419
|
+
ionic: ghostDuotone,
|
|
420
|
+
md: searchSharp,
|
|
421
|
+
};
|
|
422
|
+
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
423
|
+
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
424
|
+
// Return the configured searchbar search icon or the default icon
|
|
409
425
|
return config.get('searchbarSearchIcon', defaultIcon);
|
|
410
426
|
}
|
|
411
427
|
render() {
|
|
@@ -421,8 +437,8 @@ export class Searchbar {
|
|
|
421
437
|
* icon in sync.
|
|
422
438
|
*/
|
|
423
439
|
const searchbarCancelIcon = (_a = this.cancelButtonIcon) !== null && _a !== void 0 ? _a : config.get('searchbarCancelIcon', config.get('backButtonIcon', arrowBackSharp));
|
|
424
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
425
|
-
return (h(Host, { key: '
|
|
440
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '1325b5d3cd50fde86f2d5631d9d7dcd53c656cc3', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: '05b21511f6f0a8f13b6bdb52e4197b550e3a224c', "aria-hidden": "true" }, theme === 'md' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
441
|
+
return (h(Host, { key: '8c83e95c9331195f271ee3878b56331cc55b246d', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
426
442
|
[theme]: true,
|
|
427
443
|
'searchbar-animated': animated,
|
|
428
444
|
'searchbar-disabled': this.disabled,
|
|
@@ -432,14 +448,14 @@ export class Searchbar {
|
|
|
432
448
|
'searchbar-has-focus': this.focused,
|
|
433
449
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
434
450
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
435
|
-
}) }, h("div", { key: '
|
|
451
|
+
}) }, h("div", { key: 'af3619276aff948d14b4db312b558b191efdab75', class: "searchbar-input-container" }, h("input", Object.assign({ key: '8e00bddb2c1e7a51548d7887161c375ed3a064d9', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), theme === 'md' && cancelButton, h("ion-icon", { key: '7823dc3661a5ddc45c84f801e74b12d5b85dee1b', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: '02a1492e69abe727e795590648590d2af2249907', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
436
452
|
/**
|
|
437
453
|
* This prevents mobile browsers from
|
|
438
454
|
* blurring the input when the clear
|
|
439
455
|
* button is activated.
|
|
440
456
|
*/
|
|
441
457
|
ev.preventDefault();
|
|
442
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
458
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '6eccaa09b92b263d825cc0cd1918168a8bcfc151', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" }))), theme === 'ios' && cancelButton));
|
|
443
459
|
}
|
|
444
460
|
static get is() { return "ion-searchbar"; }
|
|
445
461
|
static get encapsulation() { return "scoped"; }
|
|
@@ -523,7 +539,7 @@ export class Searchbar {
|
|
|
523
539
|
"mutable": false,
|
|
524
540
|
"complexType": {
|
|
525
541
|
"original": "AutocompleteTypes",
|
|
526
|
-
"resolved": "\"name\" | \"email\" | \"
|
|
542
|
+
"resolved": "\"name\" | \"email\" | \"country\" | \"on\" | \"off\" | \"tel\" | \"url\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
|
|
527
543
|
"references": {
|
|
528
544
|
"AutocompleteTypes": {
|
|
529
545
|
"location": "import",
|
package/dist/collection/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import "ionicons";
|
|
5
|
+
import "@phosphor-icons/core";
|
|
5
6
|
export { createAnimation } from './utils/animation/animation';
|
|
6
7
|
export { getIonPageElement } from './utils/transition';
|
|
7
8
|
export { iosTransitionAnimation } from './utils/transition/ios.transition';
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2024-06-
|
|
2
|
+
"timestamp": "2024-06-07T21:48:54",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.18.3",
|
|
@@ -7435,6 +7435,12 @@
|
|
|
7435
7435
|
],
|
|
7436
7436
|
"listeners": [],
|
|
7437
7437
|
"styles": [
|
|
7438
|
+
{
|
|
7439
|
+
"name": "--border-color",
|
|
7440
|
+
"annotation": "prop",
|
|
7441
|
+
"docs": "Border color of the checkbox icon",
|
|
7442
|
+
"mode": "ionic"
|
|
7443
|
+
},
|
|
7438
7444
|
{
|
|
7439
7445
|
"name": "--border-color",
|
|
7440
7446
|
"annotation": "prop",
|
|
@@ -7447,6 +7453,12 @@
|
|
|
7447
7453
|
"docs": "Border color of the checkbox icon",
|
|
7448
7454
|
"mode": "md"
|
|
7449
7455
|
},
|
|
7456
|
+
{
|
|
7457
|
+
"name": "--border-color-checked",
|
|
7458
|
+
"annotation": "prop",
|
|
7459
|
+
"docs": "Border color of the checkbox icon when checked",
|
|
7460
|
+
"mode": "ionic"
|
|
7461
|
+
},
|
|
7450
7462
|
{
|
|
7451
7463
|
"name": "--border-color-checked",
|
|
7452
7464
|
"annotation": "prop",
|
|
@@ -7459,6 +7471,12 @@
|
|
|
7459
7471
|
"docs": "Border color of the checkbox icon when checked",
|
|
7460
7472
|
"mode": "md"
|
|
7461
7473
|
},
|
|
7474
|
+
{
|
|
7475
|
+
"name": "--border-radius",
|
|
7476
|
+
"annotation": "prop",
|
|
7477
|
+
"docs": "Border radius of the checkbox icon",
|
|
7478
|
+
"mode": "ionic"
|
|
7479
|
+
},
|
|
7462
7480
|
{
|
|
7463
7481
|
"name": "--border-radius",
|
|
7464
7482
|
"annotation": "prop",
|
|
@@ -7471,6 +7489,12 @@
|
|
|
7471
7489
|
"docs": "Border radius of the checkbox icon",
|
|
7472
7490
|
"mode": "md"
|
|
7473
7491
|
},
|
|
7492
|
+
{
|
|
7493
|
+
"name": "--border-style",
|
|
7494
|
+
"annotation": "prop",
|
|
7495
|
+
"docs": "Border style of the checkbox icon",
|
|
7496
|
+
"mode": "ionic"
|
|
7497
|
+
},
|
|
7474
7498
|
{
|
|
7475
7499
|
"name": "--border-style",
|
|
7476
7500
|
"annotation": "prop",
|
|
@@ -7483,6 +7507,12 @@
|
|
|
7483
7507
|
"docs": "Border style of the checkbox icon",
|
|
7484
7508
|
"mode": "md"
|
|
7485
7509
|
},
|
|
7510
|
+
{
|
|
7511
|
+
"name": "--border-width",
|
|
7512
|
+
"annotation": "prop",
|
|
7513
|
+
"docs": "Border width of the checkbox icon",
|
|
7514
|
+
"mode": "ionic"
|
|
7515
|
+
},
|
|
7486
7516
|
{
|
|
7487
7517
|
"name": "--border-width",
|
|
7488
7518
|
"annotation": "prop",
|
|
@@ -7495,6 +7525,12 @@
|
|
|
7495
7525
|
"docs": "Border width of the checkbox icon",
|
|
7496
7526
|
"mode": "md"
|
|
7497
7527
|
},
|
|
7528
|
+
{
|
|
7529
|
+
"name": "--checkbox-background",
|
|
7530
|
+
"annotation": "prop",
|
|
7531
|
+
"docs": "Background of the checkbox icon",
|
|
7532
|
+
"mode": "ionic"
|
|
7533
|
+
},
|
|
7498
7534
|
{
|
|
7499
7535
|
"name": "--checkbox-background",
|
|
7500
7536
|
"annotation": "prop",
|
|
@@ -7507,6 +7543,12 @@
|
|
|
7507
7543
|
"docs": "Background of the checkbox icon",
|
|
7508
7544
|
"mode": "md"
|
|
7509
7545
|
},
|
|
7546
|
+
{
|
|
7547
|
+
"name": "--checkbox-background-checked",
|
|
7548
|
+
"annotation": "prop",
|
|
7549
|
+
"docs": "Background of the checkbox icon when checked",
|
|
7550
|
+
"mode": "ionic"
|
|
7551
|
+
},
|
|
7510
7552
|
{
|
|
7511
7553
|
"name": "--checkbox-background-checked",
|
|
7512
7554
|
"annotation": "prop",
|
|
@@ -7519,6 +7561,12 @@
|
|
|
7519
7561
|
"docs": "Background of the checkbox icon when checked",
|
|
7520
7562
|
"mode": "md"
|
|
7521
7563
|
},
|
|
7564
|
+
{
|
|
7565
|
+
"name": "--checkmark-color",
|
|
7566
|
+
"annotation": "prop",
|
|
7567
|
+
"docs": "Color of the checkbox checkmark when checked",
|
|
7568
|
+
"mode": "ionic"
|
|
7569
|
+
},
|
|
7522
7570
|
{
|
|
7523
7571
|
"name": "--checkmark-color",
|
|
7524
7572
|
"annotation": "prop",
|
|
@@ -7531,6 +7579,12 @@
|
|
|
7531
7579
|
"docs": "Color of the checkbox checkmark when checked",
|
|
7532
7580
|
"mode": "md"
|
|
7533
7581
|
},
|
|
7582
|
+
{
|
|
7583
|
+
"name": "--checkmark-width",
|
|
7584
|
+
"annotation": "prop",
|
|
7585
|
+
"docs": "Stroke width of the checkbox checkmark",
|
|
7586
|
+
"mode": "ionic"
|
|
7587
|
+
},
|
|
7534
7588
|
{
|
|
7535
7589
|
"name": "--checkmark-width",
|
|
7536
7590
|
"annotation": "prop",
|
|
@@ -7543,6 +7597,12 @@
|
|
|
7543
7597
|
"docs": "Stroke width of the checkbox checkmark",
|
|
7544
7598
|
"mode": "md"
|
|
7545
7599
|
},
|
|
7600
|
+
{
|
|
7601
|
+
"name": "--size",
|
|
7602
|
+
"annotation": "prop",
|
|
7603
|
+
"docs": "Size of the checkbox icon",
|
|
7604
|
+
"mode": "ionic"
|
|
7605
|
+
},
|
|
7546
7606
|
{
|
|
7547
7607
|
"name": "--size",
|
|
7548
7608
|
"annotation": "prop",
|
|
@@ -7555,6 +7615,12 @@
|
|
|
7555
7615
|
"docs": "Size of the checkbox icon",
|
|
7556
7616
|
"mode": "md"
|
|
7557
7617
|
},
|
|
7618
|
+
{
|
|
7619
|
+
"name": "--transition",
|
|
7620
|
+
"annotation": "prop",
|
|
7621
|
+
"docs": "Transition of the checkbox icon",
|
|
7622
|
+
"mode": "ionic"
|
|
7623
|
+
},
|
|
7558
7624
|
{
|
|
7559
7625
|
"name": "--transition",
|
|
7560
7626
|
"annotation": "prop",
|
|
@@ -13063,10 +13129,10 @@
|
|
|
13063
13129
|
},
|
|
13064
13130
|
{
|
|
13065
13131
|
"name": "autocomplete",
|
|
13066
|
-
"type": "\"name\" | \"email\" | \"
|
|
13132
|
+
"type": "\"name\" | \"email\" | \"country\" | \"on\" | \"off\" | \"tel\" | \"url\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
|
|
13067
13133
|
"complexType": {
|
|
13068
13134
|
"original": "AutocompleteTypes",
|
|
13069
|
-
"resolved": "\"name\" | \"email\" | \"
|
|
13135
|
+
"resolved": "\"name\" | \"email\" | \"country\" | \"on\" | \"off\" | \"tel\" | \"url\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
|
|
13070
13136
|
"references": {
|
|
13071
13137
|
"AutocompleteTypes": {
|
|
13072
13138
|
"location": "import",
|
|
@@ -13091,19 +13157,23 @@
|
|
|
13091
13157
|
"type": "string"
|
|
13092
13158
|
},
|
|
13093
13159
|
{
|
|
13094
|
-
"value": "
|
|
13160
|
+
"value": "country",
|
|
13095
13161
|
"type": "string"
|
|
13096
13162
|
},
|
|
13097
13163
|
{
|
|
13098
|
-
"value": "
|
|
13164
|
+
"value": "on",
|
|
13099
13165
|
"type": "string"
|
|
13100
13166
|
},
|
|
13101
13167
|
{
|
|
13102
|
-
"value": "
|
|
13168
|
+
"value": "off",
|
|
13103
13169
|
"type": "string"
|
|
13104
13170
|
},
|
|
13105
13171
|
{
|
|
13106
|
-
"value": "
|
|
13172
|
+
"value": "tel",
|
|
13173
|
+
"type": "string"
|
|
13174
|
+
},
|
|
13175
|
+
{
|
|
13176
|
+
"value": "url",
|
|
13107
13177
|
"type": "string"
|
|
13108
13178
|
},
|
|
13109
13179
|
{
|
|
@@ -13186,10 +13256,6 @@
|
|
|
13186
13256
|
"value": "address-level1",
|
|
13187
13257
|
"type": "string"
|
|
13188
13258
|
},
|
|
13189
|
-
{
|
|
13190
|
-
"value": "country",
|
|
13191
|
-
"type": "string"
|
|
13192
|
-
},
|
|
13193
13259
|
{
|
|
13194
13260
|
"value": "country-name",
|
|
13195
13261
|
"type": "string"
|
|
@@ -15497,12 +15563,6 @@
|
|
|
15497
15563
|
"docs": "Background of the item",
|
|
15498
15564
|
"mode": "md"
|
|
15499
15565
|
},
|
|
15500
|
-
{
|
|
15501
|
-
"name": "--background-activated",
|
|
15502
|
-
"annotation": "prop",
|
|
15503
|
-
"docs": "Background of the item when pressed. Note: setting this will interfere with the Material Design ripple.",
|
|
15504
|
-
"mode": "ionic"
|
|
15505
|
-
},
|
|
15506
15566
|
{
|
|
15507
15567
|
"name": "--background-activated",
|
|
15508
15568
|
"annotation": "prop",
|
|
@@ -28849,7 +28909,7 @@
|
|
|
28849
28909
|
},
|
|
28850
28910
|
{
|
|
28851
28911
|
"name": "direction",
|
|
28852
|
-
"type": "\"root\" | \"
|
|
28912
|
+
"type": "\"root\" | \"forward\" | \"back\"",
|
|
28853
28913
|
"docs": "The direction of the animation. Defaults to `\"forward\"`."
|
|
28854
28914
|
},
|
|
28855
28915
|
{
|
|
@@ -28885,7 +28945,7 @@
|
|
|
28885
28945
|
},
|
|
28886
28946
|
{
|
|
28887
28947
|
"name": "direction",
|
|
28888
|
-
"type": "\"root\" | \"
|
|
28948
|
+
"type": "\"root\" | \"forward\" | \"back\"",
|
|
28889
28949
|
"docs": "The direction of the animation. Defaults to `\"forward\"`."
|
|
28890
28950
|
},
|
|
28891
28951
|
{
|
|
@@ -29528,10 +29588,10 @@
|
|
|
29528
29588
|
},
|
|
29529
29589
|
{
|
|
29530
29590
|
"name": "autocomplete",
|
|
29531
|
-
"type": "\"name\" | \"email\" | \"
|
|
29591
|
+
"type": "\"name\" | \"email\" | \"country\" | \"on\" | \"off\" | \"tel\" | \"url\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
|
|
29532
29592
|
"complexType": {
|
|
29533
29593
|
"original": "AutocompleteTypes",
|
|
29534
|
-
"resolved": "\"name\" | \"email\" | \"
|
|
29594
|
+
"resolved": "\"name\" | \"email\" | \"country\" | \"on\" | \"off\" | \"tel\" | \"url\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
|
|
29535
29595
|
"references": {
|
|
29536
29596
|
"AutocompleteTypes": {
|
|
29537
29597
|
"location": "import",
|
|
@@ -29556,19 +29616,23 @@
|
|
|
29556
29616
|
"type": "string"
|
|
29557
29617
|
},
|
|
29558
29618
|
{
|
|
29559
|
-
"value": "
|
|
29619
|
+
"value": "country",
|
|
29560
29620
|
"type": "string"
|
|
29561
29621
|
},
|
|
29562
29622
|
{
|
|
29563
|
-
"value": "
|
|
29623
|
+
"value": "on",
|
|
29564
29624
|
"type": "string"
|
|
29565
29625
|
},
|
|
29566
29626
|
{
|
|
29567
|
-
"value": "
|
|
29627
|
+
"value": "off",
|
|
29568
29628
|
"type": "string"
|
|
29569
29629
|
},
|
|
29570
29630
|
{
|
|
29571
|
-
"value": "
|
|
29631
|
+
"value": "tel",
|
|
29632
|
+
"type": "string"
|
|
29633
|
+
},
|
|
29634
|
+
{
|
|
29635
|
+
"value": "url",
|
|
29572
29636
|
"type": "string"
|
|
29573
29637
|
},
|
|
29574
29638
|
{
|
|
@@ -29651,10 +29715,6 @@
|
|
|
29651
29715
|
"value": "address-level1",
|
|
29652
29716
|
"type": "string"
|
|
29653
29717
|
},
|
|
29654
|
-
{
|
|
29655
|
-
"value": "country",
|
|
29656
|
-
"type": "string"
|
|
29657
|
-
},
|
|
29658
29718
|
{
|
|
29659
29719
|
"value": "country-name",
|
|
29660
29720
|
"type": "string"
|
|
@@ -39020,7 +39080,7 @@
|
|
|
39020
39080
|
"path": "src/components/picker/picker-interfaces.ts"
|
|
39021
39081
|
},
|
|
39022
39082
|
"src/components/spinner/spinner-configs.ts::SpinnerTypes": {
|
|
39023
|
-
"declaration": "\"
|
|
39083
|
+
"declaration": "\"dots\" | \"circles\" | \"lines\" | \"bubbles\" | \"circular\" | \"crescent\" | \"lines-small\" | \"lines-sharp\" | \"lines-sharp-small\"",
|
|
39024
39084
|
"docstring": "",
|
|
39025
39085
|
"path": "src/components/spinner/spinner-configs.ts"
|
|
39026
39086
|
},
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
const ghostDuotoneSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0yMTYsMTIwdjk2bC0yOS4zMy0yNC0yOS4zNCwyNEwxMjgsMTkyLDk4LjY3LDIxNiw2OS4zMywxOTIsNDAsMjE2VjEyMGE4OCw4OCwwLDAsMSwxNzYsMFoiIG9wYWNpdHk9IjAuMiIvPjxwYXRoIGQ9Ik0xMTIsMTE2YTEyLDEyLDAsMSwxLTEyLTEyQTEyLDEyLDAsMCwxLDExMiwxMTZabTQ0LTEyYTEyLDEyLDAsMSwwLDEyLDEyQTEyLDEyLDAsMCwwLDE1NiwxMDRabTY4LDE2djk2YTgsOCwwLDAsMS0xMy4wNyw2LjE5bC0yNC4yNi0xOS44NUwxNjIuNCwyMjIuMTlhOCw4LDAsMCwxLTEwLjEzLDBMMTI4LDIwMi4zNGwtMjQuMjcsMTkuODVhOCw4LDAsMCwxLTEwLjEzLDBMNjkuMzMsMjAyLjM0LDQ1LjA3LDIyMi4xOUE4LDgsMCwwLDEsMzIsMjE2VjEyMGE5Niw5NiwwLDAsMSwxOTIsMFptLTE2LDBhODAsODAsMCwwLDAtMTYwLDB2NzkuMTJsMTYuMjctMTMuMzFhOCw4LDAsMCwxLDEwLjEzLDBsMjQuMjcsMTkuODUsMjQuMjYtMTkuODVhOCw4LDAsMCwxLDEwLjE0LDBsMjQuMjYsMTkuODUsMjQuMjctMTkuODVhOCw4LDAsMCwxLDEwLjEzLDBMMjA4LDE5OS4xMloiLz48L3N2Zz4=';
|
|
5
|
+
|
|
6
|
+
export { ghostDuotoneSvg as g };
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, h, i as Host, g as getElement } from './index-3321c202.js';
|
|
5
|
+
import { g as ghostDuotoneSvg } from './ghost-duotone-157f18b8.js';
|
|
5
6
|
import { i as inheritAriaAttributes } from './helpers-da915de8.js';
|
|
6
7
|
import { o as openURL, c as createColorClasses, h as hostContext } from './theme-01f3f29c.js';
|
|
7
8
|
import { c as chevronBack, a as arrowBackSharp } from './index-e2cf2ceb.js';
|
|
@@ -43,17 +44,21 @@ const BackButton = class {
|
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
get backButtonIcon() {
|
|
46
|
-
|
|
47
|
-
if (icon
|
|
48
|
-
|
|
49
|
-
return icon;
|
|
47
|
+
// Return the icon if it is explicitly set
|
|
48
|
+
if (this.icon) {
|
|
49
|
+
return this.icon;
|
|
50
50
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
51
|
+
// Determine the theme and map to default icons
|
|
52
|
+
const theme = getIonTheme(this);
|
|
53
|
+
const defaultIcons = {
|
|
54
|
+
ios: chevronBack,
|
|
55
|
+
ionic: ghostDuotoneSvg,
|
|
56
|
+
md: arrowBackSharp,
|
|
57
|
+
};
|
|
58
|
+
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
59
|
+
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
60
|
+
// Return the configured back button icon or the default icon
|
|
61
|
+
return config.get('backButtonIcon', defaultIcon);
|
|
57
62
|
}
|
|
58
63
|
get backButtonText() {
|
|
59
64
|
const defaultBackButtonText = getIonTheme(this) === 'ios' ? 'Back' : null;
|
|
@@ -75,7 +80,7 @@ const BackButton = class {
|
|
|
75
80
|
const showBackButton = defaultHref !== undefined;
|
|
76
81
|
const theme = getIonTheme(this);
|
|
77
82
|
const ariaLabel = inheritedAttributes['aria-label'] || backButtonText || 'back';
|
|
78
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: '2312557fad91c04bc77bc79feb55dc83e7820429', onClick: this.onClick, class: createColorClasses(color, {
|
|
79
84
|
[theme]: true,
|
|
80
85
|
button: true, // ion-buttons target .button
|
|
81
86
|
'back-button-disabled': disabled,
|
|
@@ -85,7 +90,7 @@ const BackButton = class {
|
|
|
85
90
|
'ion-activatable': true,
|
|
86
91
|
'ion-focusable': true,
|
|
87
92
|
'show-back-button': showBackButton,
|
|
88
|
-
}) }, h("button", { key: '
|
|
93
|
+
}) }, h("button", { key: '309ba8ef79ac364a065a69aa9df9980b0acc9ce0', type: type, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }, h("span", { key: 'c1aabce609fd6a6d4474bd2a76a011c461b5f5f8', class: "button-inner" }, backButtonIcon && (h("ion-icon", { key: 'f372b3d13faaa5c2e2f5b1a6c4468c708176cf27', part: "icon", icon: backButtonIcon, "aria-hidden": "true", lazy: false, "flip-rtl": icon === undefined })), backButtonText && (h("span", { key: '4cfa2579dbb36b85cfd30a17ab2c93fdeef621dc', part: "text", "aria-hidden": "true", class: "button-text" }, backButtonText))), theme === 'md' && h("ion-ripple-effect", { key: '1a18479d6c3130cf19188f1422639f953724c913', type: this.rippleType }))));
|
|
89
94
|
}
|
|
90
95
|
get el() { return getElement(this); }
|
|
91
96
|
};
|
|
@@ -6,7 +6,7 @@ import { i as inheritAriaAttributes, d as renderHiddenInput } from './helpers-da
|
|
|
6
6
|
import { c as createColorClasses, h as hostContext } from './theme-01f3f29c.js';
|
|
7
7
|
import { d as getIonTheme } from './ionic-global-be8fa30a.js';
|
|
8
8
|
|
|
9
|
-
const checkboxIonicCss = ":host{--
|
|
9
|
+
const checkboxIonicCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) / 4 - 2px);--border-width:1px;--border-style:solid;--border-color:var(--ion-color-step-400, var(--ion-background-color-step-400, #999999));--checkmark-width:3;--focus-ring-color:#9ec4fd;--focus-ring-width:2px;--focus-ring-offset:2px;--size:24px}:host::after{right:0;left:0;top:50%;position:absolute;height:100%;min-height:48px;-webkit-transform:translateY(-50%);transform:translateY(-50%);content:\"\";cursor:pointer;z-index:1}:host .native-wrapper{position:relative}:host(.checkbox-size-small){--size:16px}:host(.ion-invalid){--focus-ring-color:#ffafaf}:host(.ion-invalid) .checkbox-icon{border-color:#f72c2c}:host(.checkbox-disabled.checkbox-indeterminate) .checkbox-icon{border-width:0;background-color:var(--ion-color-step-600, var(--ion-background-color-step-600, #666666))}:host(.checkbox-disabled) .checkbox-icon{border-color:#c9c9c9;background-color:#f5f5f5}:host(.checkbox-disabled.checkbox-checked) .checkbox-icon{border-width:0;background-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}@media (any-hover: hover){:host(:hover) .checkbox-icon{background-color:#ececec}:host(:hover.checkbox-checked) .checkbox-icon,:host(:hover.checkbox-indeterminate) .checkbox-icon{background-color:#1061da}}:host(.ion-focused:not(.checkbox-disabled)) .checkbox-icon{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset)}:host(.ion-activated) .checkbox-icon{background-color:#e3e3e3}:host(.ion-activated.checkbox-checked) .checkbox-icon,:host(.ion-activated.checkbox-indeterminate) .checkbox-icon{background-color:#105ed1}:host(.checkbox-shape-soft){--border-radius:calc(var(--size) / 4 - 2px)}:host(.checkbox-shape-rectangular){--border-radius:0}.checkbox-wrapper{min-height:48px}";
|
|
10
10
|
const IonCheckboxIonicStyle0 = checkboxIonicCss;
|
|
11
11
|
|
|
12
12
|
const checkboxIosCss = ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.125rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}";
|
|
@@ -7,7 +7,7 @@ import { h as hostContext, c as createColorClasses, o as openURL } from './theme
|
|
|
7
7
|
import { o as chevronForward } from './index-e2cf2ceb.js';
|
|
8
8
|
import { d as getIonTheme, c as config } from './ionic-global-be8fa30a.js';
|
|
9
9
|
|
|
10
|
-
const itemIonicCss = ":host{--background:var(--ionic-color-base-white, #ffffff);--
|
|
10
|
+
const itemIonicCss = ":host{--background:var(--ionic-color-base-white, #ffffff);--border-color:var(--ionic-color-neutral-300, #cfcfcf);--border-style:var(--ionic-border-style-solid, solid);--border-width:var(--ionic-border-size-025, 1px);--min-height:var(--ionic-scale-1800, 72px);--padding-top:var(--ionic-space-200, 8px);--padding-end:var(--ionic-space-400, 16px);--padding-bottom:var(--ionic-space-200, 8px);--padding-start:var(--ionic-space-400, 16px);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;font-family:var(--ionic-font-family, \"Inter\", sans-serif);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.item-native{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;min-height:var(--min-height);border-bottom-width:var(--border-width);border-bottom-style:var(--border-style);border-bottom-color:var(--border-color);background:var(--background);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.item-native slot[name=start]::slotted(*){-webkit-margin-end:var(--ionic-space-400, 16px);margin-inline-end:var(--ionic-space-400, 16px)}.item-native slot[name=end]::slotted(*){-webkit-margin-start:var(--ionic-space-400, 16px);margin-inline-start:var(--ionic-space-400, 16px)}.item-native .item-inner,.item-native .item-inner .input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}";
|
|
11
11
|
const IonItemIonicStyle0 = itemIonicCss;
|
|
12
12
|
|
|
13
13
|
const itemIosCss = ":host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--detail-icon-color:initial;--detail-icon-font-size:1.25em;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color) .item-native,:host(.ion-color) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-control-needs-pointer-cursor){cursor:pointer}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}[dir=rtl] .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){.item-native:dir(rtl){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{right:0;left:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1;width:-webkit-min-content;width:-moz-min-content;width:min-content;max-width:100%}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host{--min-height:44px;--transition:background-color 200ms linear, opacity 200ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:var(--ion-text-color, #000);--background-focused:var(--ion-text-color, #000);--background-hover:currentColor;--background-activated-opacity:0.12;--background-focused-opacity:0.15;--background-hover-opacity:0.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--color:var(--ion-item-color, var(--ion-text-color, #000));font-size:1rem}:host(.ion-activated){--transition:none}:host(.ion-color.ion-focused) .item-native::after{background:#000;opacity:0.15}:host(.ion-color.ion-activated) .item-native::after{background:#000;opacity:0.12}:host(.item-lines-full){--border-width:0px 0px 0.55px 0px}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small){--padding-top:1px;--padding-bottom:1px;--padding-start:0.5em;--padding-end:0.5em;min-height:24px;font-size:0.8125rem}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){-webkit-margin-start:0px;margin-inline-start:0px}::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}";
|