@ionic/core 8.4.3 → 8.4.4-dev.11738234035.16d5592e
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 +6 -4
- package/components/index6.js +11 -3
- package/components/ion-select.js +6 -4
- package/components/ion-toggle.js +6 -4
- package/components/radio-group.js +4 -2
- package/components/toolbar.js +2 -2
- package/dist/cjs/{data-21dc0f81.js → data-108e531d.js} +1 -1
- package/dist/cjs/{index-5b6a7459.js → index-0d762bba.js} +1 -1
- package/dist/cjs/{index-5915f9b3.js → index-2a46a047.js} +11 -3
- package/dist/cjs/{index-8e789962.js → index-3652c918.js} +1 -1
- package/dist/cjs/{index-f05acd21.js → index-e975c92b.js} +3 -3
- package/dist/cjs/index.cjs.js +6 -6
- package/dist/cjs/{input-shims-9e59ef62.js → input-shims-cd05268a.js} +4 -2
- package/dist/cjs/{input.utils-611cde0b.js → input.utils-ffb2f81b.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +2 -2
- package/dist/cjs/ion-alert.cjs.entry.js +2 -2
- package/dist/cjs/ion-app_8.cjs.entry.js +7 -7
- package/dist/cjs/ion-button_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-checkbox.cjs.entry.js +5 -4
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ion-input.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -2
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select-modal.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +7 -6
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +5 -4
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/{ios.transition-cf40433b.js → ios.transition-0e664e88.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{md.transition-ededf99f.js → md.transition-2e8aef2c.js} +2 -2
- package/dist/cjs/{overlays-aa669eb8.js → overlays-65fdaff6.js} +1 -1
- package/dist/cjs/{status-tap-37681226.js → status-tap-d74f1429.js} +3 -2
- package/dist/collection/components/checkbox/checkbox.js +23 -4
- package/dist/collection/components/radio-group/radio-group.js +21 -2
- package/dist/collection/components/select/select.js +23 -4
- package/dist/collection/components/toggle/toggle.js +23 -4
- package/dist/collection/components/toolbar/toolbar.js +6 -2
- package/dist/collection/utils/logging/index.js +10 -3
- package/dist/docs.json +115 -2
- package/dist/esm/{data-ae11fd43.js → data-b3284b5e.js} +1 -1
- package/dist/esm/{index-3ad7f18b.js → index-2f7fde3d.js} +3 -3
- package/dist/esm/{index-9b0d46f4.js → index-6ad967f3.js} +11 -3
- package/dist/esm/{index-24b48b06.js → index-cb21eccb.js} +1 -1
- package/dist/esm/{index-5cc724f3.js → index-efb8ecdf.js} +1 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/{input-shims-0314bbe5.js → input-shims-2fd7c6ef.js} +4 -2
- package/dist/esm/{input.utils-09c71bc7.js → input.utils-961c9f17.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +2 -2
- package/dist/esm/ion-alert.entry.js +2 -2
- package/dist/esm/ion-app_8.entry.js +7 -7
- package/dist/esm/ion-button_2.entry.js +1 -1
- package/dist/esm/ion-checkbox.entry.js +5 -4
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +2 -2
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +3 -3
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +3 -2
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-select-modal.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +7 -6
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +5 -4
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/{ios.transition-4ee1a3af.js → ios.transition-b1da3753.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{md.transition-5106a0d2.js → md.transition-571b3859.js} +2 -2
- package/dist/esm/{overlays-e7b9d6d9.js → overlays-5deab4de.js} +1 -1
- package/dist/esm/{status-tap-f472b09f.js → status-tap-79eac0ac.js} +3 -2
- package/dist/esm-es5/{data-ae11fd43.js → data-b3284b5e.js} +1 -1
- package/dist/esm-es5/{index-3ad7f18b.js → index-2f7fde3d.js} +1 -1
- package/dist/esm-es5/index-6ad967f3.js +4 -0
- package/dist/esm-es5/{index-24b48b06.js → index-cb21eccb.js} +1 -1
- package/dist/esm-es5/{index-5cc724f3.js → index-efb8ecdf.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-2fd7c6ef.js +4 -0
- package/dist/esm-es5/{input.utils-09c71bc7.js → input.utils-961c9f17.js} +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-4ee1a3af.js → ios.transition-b1da3753.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{md.transition-5106a0d2.js → md.transition-571b3859.js} +1 -1
- package/dist/esm-es5/{overlays-e7b9d6d9.js → overlays-5deab4de.js} +1 -1
- package/dist/esm-es5/status-tap-79eac0ac.js +4 -0
- package/dist/html.html-data.json +16 -0
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-6499df44.system.entry.js → p-05b74e45.system.entry.js} +1 -1
- package/dist/ionic/{p-21e5e7e4.js → p-0af823e1.js} +1 -1
- package/dist/ionic/{p-0c06e09b.system.js → p-0eb35a7f.system.js} +1 -1
- package/dist/ionic/{p-c9f3a539.entry.js → p-120fb79a.entry.js} +1 -1
- package/dist/ionic/{p-e563a35c.entry.js → p-15d18206.entry.js} +1 -1
- package/dist/ionic/{p-d60342e3.js → p-1a5bc5f7.js} +1 -1
- package/dist/ionic/{p-96cc4814.js → p-1ab13b2b.js} +1 -1
- package/dist/ionic/{p-f1acf541.system.entry.js → p-2346ab53.system.entry.js} +1 -1
- package/dist/ionic/{p-37cb43bd.system.entry.js → p-248318e0.system.entry.js} +1 -1
- package/dist/ionic/{p-e6635685.js → p-28706c6f.js} +1 -1
- package/dist/ionic/{p-7ddc46c3.system.entry.js → p-29a5d6ed.system.entry.js} +1 -1
- package/dist/ionic/{p-6b280620.entry.js → p-2da9c8a7.entry.js} +1 -1
- package/dist/ionic/{p-b335ffed.system.entry.js → p-302b50bb.system.entry.js} +1 -1
- package/dist/ionic/p-322c5fb4.system.js +1 -1
- package/dist/ionic/{p-f687573e.system.js → p-343b6b1d.system.js} +1 -1
- package/dist/ionic/p-4c98e2cf.system.js +4 -0
- package/dist/ionic/p-577bc414.entry.js +4 -0
- package/dist/ionic/{p-66640ff7.system.entry.js → p-585b455c.system.entry.js} +1 -1
- package/dist/ionic/{p-c449820c.system.js → p-5c08627a.system.js} +1 -1
- package/dist/ionic/{p-9ee1e8a6.entry.js → p-5c9eb9af.entry.js} +1 -1
- package/dist/ionic/{p-9e33104d.entry.js → p-61db139d.entry.js} +1 -1
- package/dist/ionic/p-67222c16.system.js +4 -0
- package/dist/ionic/{p-32d44024.system.entry.js → p-6933c482.system.entry.js} +1 -1
- package/dist/ionic/p-6c95736e.entry.js +4 -0
- package/dist/ionic/{p-12a722b8.system.entry.js → p-6dfb0f39.system.entry.js} +1 -1
- package/dist/ionic/{p-bc36ad98.system.entry.js → p-744c8672.system.entry.js} +1 -1
- package/dist/ionic/{p-5823babc.system.entry.js → p-74e3f0af.system.entry.js} +2 -2
- package/dist/ionic/p-7513b0c4.js +4 -0
- package/dist/ionic/{p-508d024a.entry.js → p-7a02f476.entry.js} +1 -1
- package/dist/ionic/{p-efaffe74.entry.js → p-7a6eaf9e.entry.js} +1 -1
- package/dist/ionic/{p-e7ed4a7f.system.js → p-7de1e42c.system.js} +1 -1
- package/dist/ionic/{p-2fc0dafe.entry.js → p-8694928f.entry.js} +1 -1
- package/dist/ionic/{p-da074ff7.entry.js → p-89bf08c7.entry.js} +1 -1
- package/dist/ionic/{p-69666e8a.system.entry.js → p-8ac07653.system.entry.js} +2 -2
- package/dist/ionic/{p-c29f8157.system.entry.js → p-8cfba7e9.system.entry.js} +1 -1
- package/dist/ionic/{p-a61cba41.entry.js → p-92763d3d.entry.js} +1 -1
- package/dist/ionic/{p-d18ab582.system.entry.js → p-933727f9.system.entry.js} +1 -1
- package/dist/ionic/{p-06e58c4e.js → p-9343a445.js} +1 -1
- package/dist/ionic/{p-45693d7e.entry.js → p-948e6c6a.entry.js} +1 -1
- package/dist/ionic/{p-2799c6d3.system.entry.js → p-9b122e3c.system.entry.js} +1 -1
- package/dist/ionic/{p-4439fc2a.entry.js → p-9b428d25.entry.js} +1 -1
- package/dist/ionic/{p-b2272f51.system.entry.js → p-9f364443.system.entry.js} +1 -1
- package/dist/ionic/{p-ca065903.system.entry.js → p-a090bce8.system.entry.js} +1 -1
- package/dist/ionic/{p-ddaa748a.system.entry.js → p-a0eb506c.system.entry.js} +1 -1
- package/dist/ionic/p-a3db8ee3.js +4 -0
- package/dist/ionic/{p-14e159ea.system.entry.js → p-a4a2420e.system.entry.js} +1 -1
- package/dist/ionic/{p-9ea607bd.system.js → p-a88dec0d.system.js} +2 -2
- package/dist/ionic/{p-942b5e13.entry.js → p-a8f2c254.entry.js} +1 -1
- package/dist/ionic/{p-a49378bb.system.entry.js → p-ab674093.system.entry.js} +1 -1
- package/dist/ionic/{p-0aa833fb.system.js → p-ada36597.system.js} +1 -1
- package/dist/ionic/{p-9fa07aec.entry.js → p-b1eb86fd.entry.js} +1 -1
- package/dist/ionic/{p-a4565eb5.system.js → p-b3c60433.system.js} +1 -1
- package/dist/ionic/{p-d6841eac.js → p-b6efeab8.js} +1 -1
- package/dist/ionic/{p-6d6cedc5.entry.js → p-bb5d8e9e.entry.js} +1 -1
- package/dist/ionic/{p-e85d901b.system.entry.js → p-bc64bd27.system.entry.js} +1 -1
- package/dist/ionic/{p-ebf042e0.system.entry.js → p-bdf2cb2e.system.entry.js} +1 -1
- package/dist/ionic/{p-f9a53abb.system.js → p-c4238c12.system.js} +1 -1
- package/dist/ionic/{p-b82d4cab.js → p-cb13696c.js} +1 -1
- package/dist/ionic/{p-1046866e.system.entry.js → p-cba1f9bc.system.entry.js} +1 -1
- package/dist/ionic/p-d1c5b60e.system.js +4 -0
- package/dist/ionic/{p-5da94421.system.js → p-d22e2a38.system.js} +1 -1
- package/dist/ionic/{p-2bd0ae94.system.entry.js → p-d6eaffb1.system.entry.js} +1 -1
- package/dist/ionic/p-d7dd8fb1.entry.js +4 -0
- package/dist/ionic/{p-19a5be0a.entry.js → p-e06057c9.entry.js} +1 -1
- package/dist/ionic/{p-1e010627.system.entry.js → p-e09d6392.system.entry.js} +2 -2
- package/dist/ionic/p-e3171ff3.entry.js +4 -0
- package/dist/ionic/{p-a43467d8.entry.js → p-e76dae93.entry.js} +1 -1
- package/dist/ionic/p-e8d56122.js +4 -0
- package/dist/ionic/{p-b79ba17c.entry.js → p-eef505e8.entry.js} +1 -1
- package/dist/ionic/{p-61e3f887.entry.js → p-f1060cd8.entry.js} +1 -1
- package/dist/ionic/{p-1fe02220.system.entry.js → p-f1120724.system.entry.js} +1 -1
- package/dist/ionic/{p-88e63c7d.js → p-f1c4dcd4.js} +1 -1
- package/dist/ionic/{p-8b8be2fd.entry.js → p-f55baa37.entry.js} +1 -1
- package/dist/ionic/{p-982315a6.entry.js → p-f63c2d12.entry.js} +1 -1
- package/dist/ionic/{p-e4f69534.system.entry.js → p-fbd41a7e.system.entry.js} +1 -1
- package/dist/ionic/{p-19ec4f42.entry.js → p-fceec762.entry.js} +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +6 -0
- package/dist/types/components/radio-group/radio-group.d.ts +4 -0
- package/dist/types/components/select/select.d.ts +6 -0
- package/dist/types/components/toggle/toggle.d.ts +6 -0
- package/dist/types/components/toolbar/toolbar.d.ts +4 -0
- package/dist/types/components.d.ts +32 -0
- package/dist/types/utils/config.d.ts +9 -0
- package/dist/types/utils/logging/index.d.ts +13 -1
- package/hydrate/index.js +37 -19
- package/hydrate/index.mjs +37 -19
- package/package.json +1 -1
- package/dist/esm-es5/index-9b0d46f4.js +0 -4
- package/dist/esm-es5/input-shims-0314bbe5.js +0 -4
- package/dist/esm-es5/status-tap-f472b09f.js +0 -4
- package/dist/ionic/p-0303d0f8.js +0 -4
- package/dist/ionic/p-06fee233.js +0 -4
- package/dist/ionic/p-17474161.system.js +0 -4
- package/dist/ionic/p-2690b1de.js +0 -4
- package/dist/ionic/p-2b9b78c7.entry.js +0 -4
- package/dist/ionic/p-5ab1b709.entry.js +0 -4
- package/dist/ionic/p-908d6080.entry.js +0 -4
- package/dist/ionic/p-dfb78785.system.js +0 -4
- package/dist/ionic/p-eba29931.entry.js +0 -4
- package/dist/ionic/p-ff4b7e40.system.js +0 -4
|
@@ -71,6 +71,7 @@ export class Toggle {
|
|
|
71
71
|
this.labelPlacement = 'start';
|
|
72
72
|
this.justify = undefined;
|
|
73
73
|
this.alignment = undefined;
|
|
74
|
+
this.required = false;
|
|
74
75
|
}
|
|
75
76
|
disabledChanged() {
|
|
76
77
|
if (this.gesture) {
|
|
@@ -152,12 +153,12 @@ export class Toggle {
|
|
|
152
153
|
return this.el.textContent !== '';
|
|
153
154
|
}
|
|
154
155
|
render() {
|
|
155
|
-
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment } = this;
|
|
156
|
+
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment, required } = this;
|
|
156
157
|
const mode = getIonMode(this);
|
|
157
158
|
const value = this.getValue();
|
|
158
159
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
159
160
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
160
|
-
return (h(Host, { key: '
|
|
161
|
+
return (h(Host, { key: 'ed75573caa6e37011f1453dd7f723fb9bd8a3656', onClick: this.onClick, class: createColorClasses(color, {
|
|
161
162
|
[mode]: true,
|
|
162
163
|
'in-item': hostContext('ion-item', el),
|
|
163
164
|
'toggle-activated': activated,
|
|
@@ -167,10 +168,10 @@ export class Toggle {
|
|
|
167
168
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
168
169
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
169
170
|
[`toggle-${rtl}`]: true,
|
|
170
|
-
}) }, h("label", { key: '
|
|
171
|
+
}) }, h("label", { key: '484860e2a33f4d123904edb96159f0e1972d3add', class: "toggle-wrapper" }, h("input", Object.assign({ key: '360b53080aacfd99a9ff60ffb5219816bd4163ee', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl), required: required }, this.inheritedAttributes)), h("div", { key: 'f7239fa668fe11257239ea30cf0198e4f3274f6b', class: {
|
|
171
172
|
'label-text-wrapper': true,
|
|
172
173
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
173
|
-
}, part: "label" }, h("slot", { key: '
|
|
174
|
+
}, part: "label" }, h("slot", { key: '9495a4a39889822ee68e0d89dc5a2f863d1feb3c' })), h("div", { key: '55f1eb08c4b705e94fbcf02220bbe1d292f06155', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
174
175
|
}
|
|
175
176
|
static get is() { return "ion-toggle"; }
|
|
176
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -352,6 +353,24 @@ export class Toggle {
|
|
|
352
353
|
},
|
|
353
354
|
"attribute": "alignment",
|
|
354
355
|
"reflect": false
|
|
356
|
+
},
|
|
357
|
+
"required": {
|
|
358
|
+
"type": "boolean",
|
|
359
|
+
"mutable": false,
|
|
360
|
+
"complexType": {
|
|
361
|
+
"original": "boolean",
|
|
362
|
+
"resolved": "boolean",
|
|
363
|
+
"references": {}
|
|
364
|
+
},
|
|
365
|
+
"required": false,
|
|
366
|
+
"optional": false,
|
|
367
|
+
"docs": {
|
|
368
|
+
"tags": [],
|
|
369
|
+
"text": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid."
|
|
370
|
+
},
|
|
371
|
+
"attribute": "required",
|
|
372
|
+
"reflect": false,
|
|
373
|
+
"defaultValue": "false"
|
|
355
374
|
}
|
|
356
375
|
};
|
|
357
376
|
}
|
|
@@ -12,6 +12,10 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
12
12
|
* @slot secondary - Content is placed to the left of the toolbar text in `ios` mode, and directly to the right in `md` mode.
|
|
13
13
|
* @slot primary - Content is placed to the right of the toolbar text in `ios` mode, and to the far right in `md` mode.
|
|
14
14
|
* @slot end - Content is placed to the right of the toolbar text in LTR, and to the left in RTL.
|
|
15
|
+
*
|
|
16
|
+
* @part background - The background of the toolbar, covering the entire area behind the toolbar content.
|
|
17
|
+
* @part container - The container that wraps all toolbar content, including the default slot and named slot content.
|
|
18
|
+
* @part content - The container for the default slot, wrapping content provided without a named slot.
|
|
15
19
|
*/
|
|
16
20
|
export class Toolbar {
|
|
17
21
|
constructor() {
|
|
@@ -62,10 +66,10 @@ export class Toolbar {
|
|
|
62
66
|
this.childrenStyles.forEach((value) => {
|
|
63
67
|
Object.assign(childStyles, value);
|
|
64
68
|
});
|
|
65
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '4fdc9ae82a93237cc28ceb95b0ebd8069b62839d', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
66
70
|
[mode]: true,
|
|
67
71
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
68
|
-
})) }, h("div", { key: '
|
|
72
|
+
})) }, h("div", { key: '443a216362bbbf1c149ed12140d52b0f0ea2d664', class: "toolbar-background", part: "background" }), h("div", { key: '1df87f4027d605e42757a13d4828df45b90a4fdc', class: "toolbar-container", part: "container" }, h("slot", { key: 'f66f34972be8e3f4915b9c6f5808600dbaedb1ea', name: "start" }), h("slot", { key: '14f38b0975e956f404c4eb3ee56f2055c6615276', name: "secondary" }), h("div", { key: '75ba5953a25c7544793484d2b245792cb0a5af75', class: "toolbar-content", part: "content" }, h("slot", { key: '149dfa58ff7106f318fecb4134e7c69edf8bc231' })), h("slot", { key: '807ab9ad21d7f1d9d427a4086460bcb9e5e8c019', name: "primary" }), h("slot", { key: 'bd2f9da95d2fa8e74dc6e0666587ceecbba99d9f', name: "end" }))));
|
|
69
73
|
}
|
|
70
74
|
static get is() { return "ion-toolbar"; }
|
|
71
75
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
+
import { config } from "../../global/config";
|
|
4
5
|
/**
|
|
5
6
|
* Logs a warning to the console with an Ionic prefix
|
|
6
7
|
* to indicate the library that is warning the developer.
|
|
@@ -8,9 +9,12 @@
|
|
|
8
9
|
* @param message - The string message to be logged to the console.
|
|
9
10
|
*/
|
|
10
11
|
export const printIonWarning = (message, ...params) => {
|
|
11
|
-
|
|
12
|
+
const logLevel = config.get('logLevel', "WARN" /* LogLevel.WARN */);
|
|
13
|
+
if (["WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
14
|
+
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
15
|
+
}
|
|
12
16
|
};
|
|
13
|
-
|
|
17
|
+
/**
|
|
14
18
|
* Logs an error to the console with an Ionic prefix
|
|
15
19
|
* to indicate the library that is warning the developer.
|
|
16
20
|
*
|
|
@@ -18,7 +22,10 @@ export const printIonWarning = (message, ...params) => {
|
|
|
18
22
|
* @param params - Additional arguments to supply to the console.error.
|
|
19
23
|
*/
|
|
20
24
|
export const printIonError = (message, ...params) => {
|
|
21
|
-
|
|
25
|
+
const logLevel = config.get('logLevel', "ERROR" /* LogLevel.ERROR */);
|
|
26
|
+
if (["ERROR" /* LogLevel.ERROR */, "WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
27
|
+
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
28
|
+
}
|
|
22
29
|
};
|
|
23
30
|
/**
|
|
24
31
|
* Prints an error informing developers that an implementation requires an element to be used
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-01-
|
|
2
|
+
"timestamp": "2025-01-30T10:49:03",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.20.0",
|
|
@@ -6018,6 +6018,28 @@
|
|
|
6018
6018
|
"optional": false,
|
|
6019
6019
|
"required": false
|
|
6020
6020
|
},
|
|
6021
|
+
{
|
|
6022
|
+
"name": "required",
|
|
6023
|
+
"type": "boolean",
|
|
6024
|
+
"complexType": {
|
|
6025
|
+
"original": "boolean",
|
|
6026
|
+
"resolved": "boolean",
|
|
6027
|
+
"references": {}
|
|
6028
|
+
},
|
|
6029
|
+
"mutable": false,
|
|
6030
|
+
"attr": "required",
|
|
6031
|
+
"reflectToAttr": false,
|
|
6032
|
+
"docs": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid.",
|
|
6033
|
+
"docsTags": [],
|
|
6034
|
+
"default": "false",
|
|
6035
|
+
"values": [
|
|
6036
|
+
{
|
|
6037
|
+
"type": "boolean"
|
|
6038
|
+
}
|
|
6039
|
+
],
|
|
6040
|
+
"optional": false,
|
|
6041
|
+
"required": false
|
|
6042
|
+
},
|
|
6021
6043
|
{
|
|
6022
6044
|
"name": "value",
|
|
6023
6045
|
"type": "any",
|
|
@@ -22562,6 +22584,28 @@
|
|
|
22562
22584
|
"optional": false,
|
|
22563
22585
|
"required": false
|
|
22564
22586
|
},
|
|
22587
|
+
{
|
|
22588
|
+
"name": "required",
|
|
22589
|
+
"type": "boolean",
|
|
22590
|
+
"complexType": {
|
|
22591
|
+
"original": "boolean",
|
|
22592
|
+
"resolved": "boolean",
|
|
22593
|
+
"references": {}
|
|
22594
|
+
},
|
|
22595
|
+
"mutable": false,
|
|
22596
|
+
"attr": "required",
|
|
22597
|
+
"reflectToAttr": false,
|
|
22598
|
+
"docs": "If `true`, the user must fill in a value before submitting a form.",
|
|
22599
|
+
"docsTags": [],
|
|
22600
|
+
"default": "false",
|
|
22601
|
+
"values": [
|
|
22602
|
+
{
|
|
22603
|
+
"type": "boolean"
|
|
22604
|
+
}
|
|
22605
|
+
],
|
|
22606
|
+
"optional": false,
|
|
22607
|
+
"required": false
|
|
22608
|
+
},
|
|
22565
22609
|
{
|
|
22566
22610
|
"name": "value",
|
|
22567
22611
|
"type": "any",
|
|
@@ -27698,6 +27742,28 @@
|
|
|
27698
27742
|
"optional": true,
|
|
27699
27743
|
"required": false
|
|
27700
27744
|
},
|
|
27745
|
+
{
|
|
27746
|
+
"name": "required",
|
|
27747
|
+
"type": "boolean",
|
|
27748
|
+
"complexType": {
|
|
27749
|
+
"original": "boolean",
|
|
27750
|
+
"resolved": "boolean",
|
|
27751
|
+
"references": {}
|
|
27752
|
+
},
|
|
27753
|
+
"mutable": false,
|
|
27754
|
+
"attr": "required",
|
|
27755
|
+
"reflectToAttr": false,
|
|
27756
|
+
"docs": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid.",
|
|
27757
|
+
"docsTags": [],
|
|
27758
|
+
"default": "false",
|
|
27759
|
+
"values": [
|
|
27760
|
+
{
|
|
27761
|
+
"type": "boolean"
|
|
27762
|
+
}
|
|
27763
|
+
],
|
|
27764
|
+
"optional": false,
|
|
27765
|
+
"required": false
|
|
27766
|
+
},
|
|
27701
27767
|
{
|
|
27702
27768
|
"name": "selectedText",
|
|
27703
27769
|
"type": "null | string | undefined",
|
|
@@ -32659,6 +32725,28 @@
|
|
|
32659
32725
|
"optional": false,
|
|
32660
32726
|
"required": false
|
|
32661
32727
|
},
|
|
32728
|
+
{
|
|
32729
|
+
"name": "required",
|
|
32730
|
+
"type": "boolean",
|
|
32731
|
+
"complexType": {
|
|
32732
|
+
"original": "boolean",
|
|
32733
|
+
"resolved": "boolean",
|
|
32734
|
+
"references": {}
|
|
32735
|
+
},
|
|
32736
|
+
"mutable": false,
|
|
32737
|
+
"attr": "required",
|
|
32738
|
+
"reflectToAttr": false,
|
|
32739
|
+
"docs": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid.",
|
|
32740
|
+
"docsTags": [],
|
|
32741
|
+
"default": "false",
|
|
32742
|
+
"values": [
|
|
32743
|
+
{
|
|
32744
|
+
"type": "boolean"
|
|
32745
|
+
}
|
|
32746
|
+
],
|
|
32747
|
+
"optional": false,
|
|
32748
|
+
"required": false
|
|
32749
|
+
},
|
|
32662
32750
|
{
|
|
32663
32751
|
"name": "value",
|
|
32664
32752
|
"type": "null | string | undefined",
|
|
@@ -32945,6 +33033,18 @@
|
|
|
32945
33033
|
{
|
|
32946
33034
|
"name": "slot",
|
|
32947
33035
|
"text": "end - Content is placed to the right of the toolbar text in LTR, and to the left in RTL."
|
|
33036
|
+
},
|
|
33037
|
+
{
|
|
33038
|
+
"name": "part",
|
|
33039
|
+
"text": "background - The background of the toolbar, covering the entire area behind the toolbar content."
|
|
33040
|
+
},
|
|
33041
|
+
{
|
|
33042
|
+
"name": "part",
|
|
33043
|
+
"text": "container - The container that wraps all toolbar content, including the default slot and named slot content."
|
|
33044
|
+
},
|
|
33045
|
+
{
|
|
33046
|
+
"name": "part",
|
|
33047
|
+
"text": "content - The container for the default slot, wrapping content provided without a named slot."
|
|
32948
33048
|
}
|
|
32949
33049
|
],
|
|
32950
33050
|
"usage": {},
|
|
@@ -33202,7 +33302,20 @@
|
|
|
33202
33302
|
"docs": "Content is placed to the left of the toolbar text in LTR, and to the right in RTL."
|
|
33203
33303
|
}
|
|
33204
33304
|
],
|
|
33205
|
-
"parts": [
|
|
33305
|
+
"parts": [
|
|
33306
|
+
{
|
|
33307
|
+
"name": "background",
|
|
33308
|
+
"docs": "The background of the toolbar, covering the entire area behind the toolbar content."
|
|
33309
|
+
},
|
|
33310
|
+
{
|
|
33311
|
+
"name": "container",
|
|
33312
|
+
"docs": "The container that wraps all toolbar content, including the default slot and named slot content."
|
|
33313
|
+
},
|
|
33314
|
+
{
|
|
33315
|
+
"name": "content",
|
|
33316
|
+
"docs": "The container for the default slot, wrapping content provided without a named slot."
|
|
33317
|
+
}
|
|
33318
|
+
],
|
|
33206
33319
|
"dependents": [
|
|
33207
33320
|
"ion-select-modal"
|
|
33208
33321
|
],
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { c as config } from './ionic-global-c81d82ab.js';
|
|
5
5
|
import { w as writeTask, B as Build } from './index-28849c61.js';
|
|
6
|
-
import { p as printIonWarning } from './index-
|
|
6
|
+
import { p as printIonWarning } from './index-6ad967f3.js';
|
|
7
7
|
import { r as raf } from './helpers-da915de8.js';
|
|
8
8
|
|
|
9
9
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
@@ -120,8 +120,8 @@ const createFocusController = () => {
|
|
|
120
120
|
};
|
|
121
121
|
const LAST_FOCUS = 'ion-last-focus';
|
|
122
122
|
|
|
123
|
-
const iosTransitionAnimation = () => import('./ios.transition-
|
|
124
|
-
const mdTransitionAnimation = () => import('./md.transition-
|
|
123
|
+
const iosTransitionAnimation = () => import('./ios.transition-b1da3753.js');
|
|
124
|
+
const mdTransitionAnimation = () => import('./md.transition-571b3859.js');
|
|
125
125
|
const focusController = createFocusController();
|
|
126
126
|
// TODO(FW-2832): types
|
|
127
127
|
const transition = (opts) => {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
+
import { c as config } from './ionic-global-c81d82ab.js';
|
|
5
|
+
|
|
4
6
|
/**
|
|
5
7
|
* Logs a warning to the console with an Ionic prefix
|
|
6
8
|
* to indicate the library that is warning the developer.
|
|
@@ -8,9 +10,12 @@
|
|
|
8
10
|
* @param message - The string message to be logged to the console.
|
|
9
11
|
*/
|
|
10
12
|
const printIonWarning = (message, ...params) => {
|
|
11
|
-
|
|
13
|
+
const logLevel = config.get('logLevel', "WARN" /* LogLevel.WARN */);
|
|
14
|
+
if (["WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
15
|
+
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
16
|
+
}
|
|
12
17
|
};
|
|
13
|
-
|
|
18
|
+
/**
|
|
14
19
|
* Logs an error to the console with an Ionic prefix
|
|
15
20
|
* to indicate the library that is warning the developer.
|
|
16
21
|
*
|
|
@@ -18,7 +23,10 @@ const printIonWarning = (message, ...params) => {
|
|
|
18
23
|
* @param params - Additional arguments to supply to the console.error.
|
|
19
24
|
*/
|
|
20
25
|
const printIonError = (message, ...params) => {
|
|
21
|
-
|
|
26
|
+
const logLevel = config.get('logLevel', "ERROR" /* LogLevel.ERROR */);
|
|
27
|
+
if (["ERROR" /* LogLevel.ERROR */, "WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
28
|
+
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
29
|
+
}
|
|
22
30
|
};
|
|
23
31
|
/**
|
|
24
32
|
* Prints an error informing developers that an implementation requires an element to be used
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { d as doc } from './index-a5d50daf.js';
|
|
5
5
|
import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button-06ef3c3e.js';
|
|
6
|
-
import { p as printIonWarning } from './index-
|
|
6
|
+
import { p as printIonWarning } from './index-6ad967f3.js';
|
|
7
7
|
import { c as componentOnReady } from './helpers-da915de8.js';
|
|
8
8
|
import { b as getIonMode } from './ionic-global-c81d82ab.js';
|
|
9
9
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { c as componentOnReady } from './helpers-da915de8.js';
|
|
5
|
-
import { b as printRequiredElementError } from './index-
|
|
5
|
+
import { b as printRequiredElementError } from './index-6ad967f3.js';
|
|
6
6
|
|
|
7
7
|
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
8
8
|
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
package/dist/esm/index.js
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
export { c as createAnimation } from './animation-eab5a4ca.js';
|
|
5
|
-
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-
|
|
6
|
-
export { iosTransitionAnimation } from './ios.transition-
|
|
7
|
-
export { mdTransitionAnimation } from './md.transition-
|
|
5
|
+
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-2f7fde3d.js';
|
|
6
|
+
export { iosTransitionAnimation } from './ios.transition-b1da3753.js';
|
|
7
|
+
export { mdTransitionAnimation } from './md.transition-571b3859.js';
|
|
8
8
|
export { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
|
|
9
9
|
export { createGesture } from './index-39782642.js';
|
|
10
10
|
export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-c81d82ab.js';
|
|
11
11
|
export { c as componentOnReady } from './helpers-da915de8.js';
|
|
12
12
|
export { I as IonicSafeString, g as getMode, s as setupConfig } from './config-49c88215.js';
|
|
13
13
|
export { o as openURL } from './theme-01f3f29c.js';
|
|
14
|
-
export { m as menuController } from './index-
|
|
15
|
-
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-
|
|
14
|
+
export { m as menuController } from './index-cb21eccb.js';
|
|
15
|
+
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-5deab4de.js';
|
|
16
16
|
import './index-a5d50daf.js';
|
|
17
17
|
import './index-28849c61.js';
|
|
18
|
-
import './index-
|
|
18
|
+
import './index-6ad967f3.js';
|
|
19
19
|
import './gesture-controller-314a54f6.js';
|
|
20
20
|
import './hardware-back-button-06ef3c3e.js';
|
|
21
21
|
import './framework-delegate-63d1a679.js';
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { w as win, d as doc } from './index-a5d50daf.js';
|
|
5
|
-
import { g as getScrollElement, c as scrollByPoint, f as findClosestIonContent } from './index-
|
|
5
|
+
import { g as getScrollElement, c as scrollByPoint, f as findClosestIonContent } from './index-efb8ecdf.js';
|
|
6
6
|
import { a as addEventListener, b as removeEventListener, r as raf, c as componentOnReady } from './helpers-da915de8.js';
|
|
7
7
|
import { a as KeyboardResize, K as Keyboard } from './keyboard-73175e24.js';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-6ad967f3.js';
|
|
9
|
+
import './ionic-global-c81d82ab.js';
|
|
10
|
+
import './index-28849c61.js';
|
|
9
11
|
import './capacitor-59395cbd.js';
|
|
10
12
|
|
|
11
13
|
const cloneMap = new WeakMap();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { w as win } from './index-a5d50daf.js';
|
|
5
5
|
import { r as raf } from './helpers-da915de8.js';
|
|
6
|
-
import { a as printIonError } from './index-
|
|
6
|
+
import { a as printIonError } from './index-6ad967f3.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Used to update a scoped component that uses emulated slots. This fires when
|
|
@@ -5,7 +5,7 @@ import { r as registerInstance, h, f as Host, i as getElement, d as createEvent
|
|
|
5
5
|
import { r as raf, t as transitionEndAsync, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-da915de8.js';
|
|
6
6
|
import { l as chevronDown } from './index-e2cf2ceb.js';
|
|
7
7
|
import { c as config, b as getIonMode } from './ionic-global-c81d82ab.js';
|
|
8
|
-
import { p as printIonWarning } from './index-
|
|
8
|
+
import { p as printIonWarning } from './index-6ad967f3.js';
|
|
9
9
|
|
|
10
10
|
const accordionIosCss = ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}";
|
|
11
11
|
const IonAccordionIosStyle0 = accordionIosCss;
|
|
@@ -5,7 +5,7 @@ import { r as registerInstance, d as createEvent, e as readTask, h, f as Host, i
|
|
|
5
5
|
import { c as createButtonActiveGesture } from './button-active-f6503382.js';
|
|
6
6
|
import { r as raf } from './helpers-da915de8.js';
|
|
7
7
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
8
|
-
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-
|
|
8
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-5deab4de.js';
|
|
9
9
|
import { g as getClassMap } from './theme-01f3f29c.js';
|
|
10
10
|
import { b as getIonMode } from './ionic-global-c81d82ab.js';
|
|
11
11
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
@@ -16,7 +16,7 @@ import './index-39782642.js';
|
|
|
16
16
|
import './gesture-controller-314a54f6.js';
|
|
17
17
|
import './hardware-back-button-06ef3c3e.js';
|
|
18
18
|
import './framework-delegate-63d1a679.js';
|
|
19
|
-
import './index-
|
|
19
|
+
import './index-6ad967f3.js';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* iOS Action Sheet Enter Animation
|
|
@@ -6,7 +6,7 @@ import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './conf
|
|
|
6
6
|
import { c as createButtonActiveGesture } from './button-active-f6503382.js';
|
|
7
7
|
import { r as raf } from './helpers-da915de8.js';
|
|
8
8
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
9
|
-
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-
|
|
9
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-5deab4de.js';
|
|
10
10
|
import { g as getClassMap } from './theme-01f3f29c.js';
|
|
11
11
|
import { c as config, b as getIonMode } from './ionic-global-c81d82ab.js';
|
|
12
12
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
@@ -17,7 +17,7 @@ import './index-39782642.js';
|
|
|
17
17
|
import './gesture-controller-314a54f6.js';
|
|
18
18
|
import './hardware-back-button-06ef3c3e.js';
|
|
19
19
|
import './framework-delegate-63d1a679.js';
|
|
20
|
-
import './index-
|
|
20
|
+
import './index-6ad967f3.js';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* iOS Alert Enter Animation
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, h, f as Host, i as getElement, d as createEvent, e as readTask, j as forceUpdate, w as writeTask } from './index-28849c61.js';
|
|
5
5
|
import { shouldUseCloseWatcher } from './hardware-back-button-06ef3c3e.js';
|
|
6
|
-
import { p as printIonWarning } from './index-
|
|
6
|
+
import { p as printIonWarning } from './index-6ad967f3.js';
|
|
7
7
|
import { b as getIonMode, c as config, a as isPlatform } from './ionic-global-c81d82ab.js';
|
|
8
8
|
import { i as inheritAriaAttributes, k as hasLazyBuild, c as componentOnReady, j as clamp, s as shallowEqualStringMap } from './helpers-da915de8.js';
|
|
9
9
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
10
10
|
import { c as createColorClasses, h as hostContext } from './theme-01f3f29c.js';
|
|
11
|
-
import { a as findIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './index-
|
|
11
|
+
import { a as findIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './index-efb8ecdf.js';
|
|
12
12
|
import { c as createKeyboardController } from './keyboard-controller-ec5c2bfa.js';
|
|
13
13
|
import { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
|
|
14
14
|
import { a as attachComponent, d as detachComponent } from './framework-delegate-63d1a679.js';
|
|
15
15
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
16
|
-
import { t as transition } from './index-
|
|
16
|
+
import { t as transition } from './index-2f7fde3d.js';
|
|
17
17
|
import './index-a5d50daf.js';
|
|
18
18
|
import './keyboard-73175e24.js';
|
|
19
19
|
import './capacitor-59395cbd.js';
|
|
@@ -33,7 +33,7 @@ const App = class {
|
|
|
33
33
|
import('./index-79b30591.js').then((module) => module.startTapClick(config));
|
|
34
34
|
}
|
|
35
35
|
if (config.getBoolean('statusTap', isHybrid)) {
|
|
36
|
-
import('./status-tap-
|
|
36
|
+
import('./status-tap-79eac0ac.js').then((module) => module.startStatusTap());
|
|
37
37
|
}
|
|
38
38
|
if (config.getBoolean('inputShims', needInputShims())) {
|
|
39
39
|
/**
|
|
@@ -41,7 +41,7 @@ const App = class {
|
|
|
41
41
|
* platforms proceed into this block.
|
|
42
42
|
*/
|
|
43
43
|
const platform = isPlatform(window, 'ios') ? 'ios' : 'android';
|
|
44
|
-
import('./input-shims-
|
|
44
|
+
import('./input-shims-2fd7c6ef.js').then((module) => module.startInputShims(config, platform));
|
|
45
45
|
}
|
|
46
46
|
const hardwareBackButtonModule = await import('./hardware-back-button-06ef3c3e.js');
|
|
47
47
|
const supportsHardwareBackButtonEvents = isHybrid || shouldUseCloseWatcher();
|
|
@@ -1308,10 +1308,10 @@ const Toolbar = class {
|
|
|
1308
1308
|
this.childrenStyles.forEach((value) => {
|
|
1309
1309
|
Object.assign(childStyles, value);
|
|
1310
1310
|
});
|
|
1311
|
-
return (h(Host, { key: '
|
|
1311
|
+
return (h(Host, { key: '4fdc9ae82a93237cc28ceb95b0ebd8069b62839d', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
1312
1312
|
[mode]: true,
|
|
1313
1313
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
1314
|
-
})) }, h("div", { key: '
|
|
1314
|
+
})) }, h("div", { key: '443a216362bbbf1c149ed12140d52b0f0ea2d664', class: "toolbar-background", part: "background" }), h("div", { key: '1df87f4027d605e42757a13d4828df45b90a4fdc', class: "toolbar-container", part: "container" }, h("slot", { key: 'f66f34972be8e3f4915b9c6f5808600dbaedb1ea', name: "start" }), h("slot", { key: '14f38b0975e956f404c4eb3ee56f2055c6615276', name: "secondary" }), h("div", { key: '75ba5953a25c7544793484d2b245792cb0a5af75', class: "toolbar-content", part: "content" }, h("slot", { key: '149dfa58ff7106f318fecb4134e7c69edf8bc231' })), h("slot", { key: '807ab9ad21d7f1d9d427a4086460bcb9e5e8c019', name: "primary" }), h("slot", { key: 'bd2f9da95d2fa8e74dc6e0666587ceecbba99d9f', name: "end" }))));
|
|
1315
1315
|
}
|
|
1316
1316
|
get el() { return getElement(this); }
|
|
1317
1317
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { k as getAssetPath, r as registerInstance, d as createEvent, h, f as Host, i as getElement } from './index-28849c61.js';
|
|
5
5
|
import { l as hasShadowDom, i as inheritAriaAttributes } from './helpers-da915de8.js';
|
|
6
|
-
import { p as printIonWarning } from './index-
|
|
6
|
+
import { p as printIonWarning } from './index-6ad967f3.js';
|
|
7
7
|
import { o as openURL, c as createColorClasses$1, h as hostContext } from './theme-01f3f29c.js';
|
|
8
8
|
import { b as getIonMode$1 } from './ionic-global-c81d82ab.js';
|
|
9
9
|
|
|
@@ -60,6 +60,7 @@ const Checkbox = class {
|
|
|
60
60
|
this.labelPlacement = 'start';
|
|
61
61
|
this.justify = undefined;
|
|
62
62
|
this.alignment = undefined;
|
|
63
|
+
this.required = false;
|
|
63
64
|
}
|
|
64
65
|
componentWillLoad() {
|
|
65
66
|
this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
|
|
@@ -71,11 +72,11 @@ const Checkbox = class {
|
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
74
|
render() {
|
|
74
|
-
const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, } = this;
|
|
75
|
+
const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, required, } = this;
|
|
75
76
|
const mode = getIonMode(this);
|
|
76
77
|
const path = getSVGPath(mode, indeterminate);
|
|
77
78
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
78
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: '07a5884062dd256b570e856270c74a5a09d2f2a5', "aria-checked": indeterminate ? 'mixed' : `${checked}`, class: createColorClasses(color, {
|
|
79
80
|
[mode]: true,
|
|
80
81
|
'in-item': hostContext('ion-item', el),
|
|
81
82
|
'checkbox-checked': checked,
|
|
@@ -85,10 +86,10 @@ const Checkbox = class {
|
|
|
85
86
|
[`checkbox-justify-${justify}`]: justify !== undefined,
|
|
86
87
|
[`checkbox-alignment-${alignment}`]: alignment !== undefined,
|
|
87
88
|
[`checkbox-label-placement-${labelPlacement}`]: true,
|
|
88
|
-
}), onClick: this.onClick }, h("label", { key: '
|
|
89
|
+
}), onClick: this.onClick }, h("label", { key: '3439d546e8b60187421db698eab63a0bdd31c973', class: "checkbox-wrapper" }, h("input", Object.assign({ key: '9f45cf7dbdedcf01ec132c11e16979adb1aa102f', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl), required: required }, inheritedAttributes)), h("div", { key: '4e882f98939cc4b7c7ab7459c751d3f4bb2023fe', class: {
|
|
89
90
|
'label-text-wrapper': true,
|
|
90
91
|
'label-text-wrapper-hidden': el.textContent === '',
|
|
91
|
-
}, part: "label" }, h("slot", { key: '
|
|
92
|
+
}, part: "label" }, h("slot", { key: '0abda81297a086d02c4a56af75005547971dfcfe' })), h("div", { key: '36489ea3f48a7d0ec46b77c243f9f253ef5c2b3b', class: "native-wrapper" }, h("svg", { key: '4c53b52f5e93752672a34eb6f180b75fa9af9046', class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path)))));
|
|
92
93
|
}
|
|
93
94
|
getSVGPath(mode, indeterminate) {
|
|
94
95
|
let path = indeterminate ? (h("path", { d: "M6 12L18 12", part: "mark" })) : (h("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, h, f as Host, i as getElement } from './index-28849c61.js';
|
|
5
5
|
import { a as addEventListener, c as componentOnReady } from './helpers-da915de8.js';
|
|
6
|
-
import { a as printIonError } from './index-
|
|
6
|
+
import { a as printIonError } from './index-6ad967f3.js';
|
|
7
7
|
import { c as createColorClasses } from './theme-01f3f29c.js';
|
|
8
8
|
import { b as getIonMode } from './ionic-global-c81d82ab.js';
|
|
9
|
-
import { s as parseDate, x as getToday, L as getHourCycle, N as getLocalizedDateTime, M as getLocalizedTime } from './data-
|
|
9
|
+
import { s as parseDate, x as getToday, L as getHourCycle, N as getLocalizedDateTime, M as getLocalizedTime } from './data-b3284b5e.js';
|
|
10
10
|
|
|
11
11
|
const datetimeButtonIosCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}:host button{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:7px;padding-bottom:7px}:host button.ion-activated{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}";
|
|
12
12
|
const IonDatetimeButtonIosStyle0 = datetimeButtonIosCss;
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import { r as registerInstance, d as createEvent, w as writeTask, h, f as Host, i as getElement } from './index-28849c61.js';
|
|
5
5
|
import { startFocusVisible } from './focus-visible-dd40d69f.js';
|
|
6
6
|
import { r as raf, d as renderHiddenInput, g as getElementRoot, j as clamp } from './helpers-da915de8.js';
|
|
7
|
-
import { a as printIonError, p as printIonWarning } from './index-
|
|
7
|
+
import { a as printIonError, p as printIonWarning } from './index-6ad967f3.js';
|
|
8
8
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
9
9
|
import { c as createColorClasses, g as getClassMap } from './theme-01f3f29c.js';
|
|
10
10
|
import { c as chevronBack, o as chevronForward, l as chevronDown, p as caretUpSharp, q as caretDownSharp } from './index-e2cf2ceb.js';
|
|
11
11
|
import { b as getIonMode } from './ionic-global-c81d82ab.js';
|
|
12
|
-
import { g as generateDayAriaLabel, a as getDay, i as isBefore, b as isAfter, c as isSameDay, d as getPreviousMonth, e as getNextMonth, v as validateParts, f as getPartsFromCalendarDay, h as getNextYear, j as getPreviousYear, k as getEndOfWeek, l as getStartOfWeek, m as getPreviousDay, n as getNextDay, o as getPreviousWeek, p as getNextWeek, q as parseMinParts, r as parseMaxParts, s as parseDate, w as warnIfValueOutOfBounds, t as convertToArrayOfNumbers, u as convertDataToISO, x as getToday, y as getClosestValidDate, z as generateMonths, A as getNumDaysInMonth, B as getCombinedDateColumnData, C as getMonthColumnData, D as getDayColumnData, E as getYearColumnData, F as isMonthFirstLocale, G as getTimeColumnsData, H as isLocaleDayPeriodRTL, I as getDaysOfWeek, J as getMonthAndYear, K as getDaysOfMonth, L as getHourCycle, M as getLocalizedTime, N as getLocalizedDateTime, O as formatValue, P as clampDate, Q as parseAmPm, R as calculateHourFromAMPM } from './data-
|
|
12
|
+
import { g as generateDayAriaLabel, a as getDay, i as isBefore, b as isAfter, c as isSameDay, d as getPreviousMonth, e as getNextMonth, v as validateParts, f as getPartsFromCalendarDay, h as getNextYear, j as getPreviousYear, k as getEndOfWeek, l as getStartOfWeek, m as getPreviousDay, n as getNextDay, o as getPreviousWeek, p as getNextWeek, q as parseMinParts, r as parseMaxParts, s as parseDate, w as warnIfValueOutOfBounds, t as convertToArrayOfNumbers, u as convertDataToISO, x as getToday, y as getClosestValidDate, z as generateMonths, A as getNumDaysInMonth, B as getCombinedDateColumnData, C as getMonthColumnData, D as getDayColumnData, E as getYearColumnData, F as isMonthFirstLocale, G as getTimeColumnsData, H as isLocaleDayPeriodRTL, I as getDaysOfWeek, J as getMonthAndYear, K as getDaysOfMonth, L as getHourCycle, M as getLocalizedTime, N as getLocalizedDateTime, O as formatValue, P as clampDate, Q as parseAmPm, R as calculateHourFromAMPM } from './data-b3284b5e.js';
|
|
13
13
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
14
|
-
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-
|
|
14
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-5deab4de.js';
|
|
15
15
|
import { c as createAnimation } from './animation-eab5a4ca.js';
|
|
16
16
|
import { b as hapticSelectionChanged, h as hapticSelectionEnd, a as hapticSelectionStart } from './haptic-ac164e4c.js';
|
|
17
17
|
import './index-a5d50daf.js';
|