@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
package/components/checkbox.js
CHANGED
|
@@ -62,6 +62,7 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
|
|
|
62
62
|
this.labelPlacement = 'start';
|
|
63
63
|
this.justify = undefined;
|
|
64
64
|
this.alignment = undefined;
|
|
65
|
+
this.required = false;
|
|
65
66
|
}
|
|
66
67
|
componentWillLoad() {
|
|
67
68
|
this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
|
|
@@ -73,11 +74,11 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
|
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
76
|
render() {
|
|
76
|
-
const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, } = this;
|
|
77
|
+
const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, required, } = this;
|
|
77
78
|
const mode = getIonMode(this);
|
|
78
79
|
const path = getSVGPath(mode, indeterminate);
|
|
79
80
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
80
|
-
return (h(Host, { key: '
|
|
81
|
+
return (h(Host, { key: '07a5884062dd256b570e856270c74a5a09d2f2a5', "aria-checked": indeterminate ? 'mixed' : `${checked}`, class: createColorClasses(color, {
|
|
81
82
|
[mode]: true,
|
|
82
83
|
'in-item': hostContext('ion-item', el),
|
|
83
84
|
'checkbox-checked': checked,
|
|
@@ -87,10 +88,10 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
|
|
|
87
88
|
[`checkbox-justify-${justify}`]: justify !== undefined,
|
|
88
89
|
[`checkbox-alignment-${alignment}`]: alignment !== undefined,
|
|
89
90
|
[`checkbox-label-placement-${labelPlacement}`]: true,
|
|
90
|
-
}), onClick: this.onClick }, h("label", { key: '
|
|
91
|
+
}), 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: {
|
|
91
92
|
'label-text-wrapper': true,
|
|
92
93
|
'label-text-wrapper-hidden': el.textContent === '',
|
|
93
|
-
}, part: "label" }, h("slot", { key: '
|
|
94
|
+
}, 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)))));
|
|
94
95
|
}
|
|
95
96
|
getSVGPath(mode, indeterminate) {
|
|
96
97
|
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" }));
|
|
@@ -114,6 +115,7 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
|
|
|
114
115
|
"labelPlacement": [1, "label-placement"],
|
|
115
116
|
"justify": [1],
|
|
116
117
|
"alignment": [1],
|
|
118
|
+
"required": [4],
|
|
117
119
|
"setFocus": [64]
|
|
118
120
|
}]);
|
|
119
121
|
let checkboxIds = 0;
|
package/components/index6.js
CHANGED
|
@@ -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.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
|
package/components/ion-select.js
CHANGED
|
@@ -115,6 +115,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
115
115
|
this.expandedIcon = undefined;
|
|
116
116
|
this.shape = undefined;
|
|
117
117
|
this.value = undefined;
|
|
118
|
+
this.required = false;
|
|
118
119
|
}
|
|
119
120
|
styleChanged() {
|
|
120
121
|
this.emitStyle();
|
|
@@ -606,8 +607,8 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
606
607
|
return renderedLabel;
|
|
607
608
|
}
|
|
608
609
|
renderListbox() {
|
|
609
|
-
const { disabled, inputId, isExpanded } = this;
|
|
610
|
-
return (h("button", { disabled: disabled, id: inputId, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": `${isExpanded}`, onFocus: this.onFocus, onBlur: this.onBlur, ref: (focusEl) => (this.focusEl = focusEl) }));
|
|
610
|
+
const { disabled, inputId, isExpanded, required } = this;
|
|
611
|
+
return (h("button", { disabled: disabled, id: inputId, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": `${isExpanded}`, "aria-required": `${required}`, onFocus: this.onFocus, onBlur: this.onBlur, ref: (focusEl) => (this.focusEl = focusEl) }));
|
|
611
612
|
}
|
|
612
613
|
render() {
|
|
613
614
|
const { disabled, el, isExpanded, expandedIcon, labelPlacement, justify, placeholder, fill, shape, name, value } = this;
|
|
@@ -638,7 +639,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
638
639
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
639
640
|
*/
|
|
640
641
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
641
|
-
return (h(Host, { key: '
|
|
642
|
+
return (h(Host, { key: '491cf1b0e3aa31e7c9cfad3e87d83eb54272312a', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
642
643
|
[mode]: true,
|
|
643
644
|
'in-item': inItem,
|
|
644
645
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -654,7 +655,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
654
655
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
655
656
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
656
657
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
657
|
-
}) }, h("label", { key: '
|
|
658
|
+
}) }, h("label", { key: '07bf3cb57bd1121383d8c746e3ac49da38300082', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '884facd18342797576bbacc761d18d83c52762e3', class: "select-wrapper-inner" }, h("slot", { key: 'c4f2a2a7a76f52db15f9a0b806017caea443c47a', name: "start" }), h("div", { key: '235cf383f268cc74412722cd31e246cbd4c2abe5', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '1481302e11c494d49dfd80a7aaf743f7e851558f', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: '8a45ea9280651695c8e5435f266c286f3e3f6a18', class: "select-highlight" }))));
|
|
658
659
|
}
|
|
659
660
|
get el() { return this; }
|
|
660
661
|
static get watchers() { return {
|
|
@@ -687,6 +688,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
687
688
|
"expandedIcon": [1, "expanded-icon"],
|
|
688
689
|
"shape": [1],
|
|
689
690
|
"value": [1032],
|
|
691
|
+
"required": [4],
|
|
690
692
|
"isExpanded": [32],
|
|
691
693
|
"open": [64]
|
|
692
694
|
}, undefined, {
|
package/components/ion-toggle.js
CHANGED
|
@@ -75,6 +75,7 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
|
|
|
75
75
|
this.labelPlacement = 'start';
|
|
76
76
|
this.justify = undefined;
|
|
77
77
|
this.alignment = undefined;
|
|
78
|
+
this.required = false;
|
|
78
79
|
}
|
|
79
80
|
disabledChanged() {
|
|
80
81
|
if (this.gesture) {
|
|
@@ -156,12 +157,12 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
|
|
|
156
157
|
return this.el.textContent !== '';
|
|
157
158
|
}
|
|
158
159
|
render() {
|
|
159
|
-
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment } = this;
|
|
160
|
+
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment, required } = this;
|
|
160
161
|
const mode = getIonMode(this);
|
|
161
162
|
const value = this.getValue();
|
|
162
163
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
163
164
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
164
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: 'ed75573caa6e37011f1453dd7f723fb9bd8a3656', onClick: this.onClick, class: createColorClasses(color, {
|
|
165
166
|
[mode]: true,
|
|
166
167
|
'in-item': hostContext('ion-item', el),
|
|
167
168
|
'toggle-activated': activated,
|
|
@@ -171,10 +172,10 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
|
|
|
171
172
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
172
173
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
173
174
|
[`toggle-${rtl}`]: true,
|
|
174
|
-
}) }, h("label", { key: '
|
|
175
|
+
}) }, 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: {
|
|
175
176
|
'label-text-wrapper': true,
|
|
176
177
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
177
|
-
}, part: "label" }, h("slot", { key: '
|
|
178
|
+
}, part: "label" }, h("slot", { key: '9495a4a39889822ee68e0d89dc5a2f863d1feb3c' })), h("div", { key: '55f1eb08c4b705e94fbcf02220bbe1d292f06155', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
178
179
|
}
|
|
179
180
|
get el() { return this; }
|
|
180
181
|
static get watchers() { return {
|
|
@@ -194,6 +195,7 @@ const Toggle = /*@__PURE__*/ proxyCustomElement(class Toggle extends HTMLElement
|
|
|
194
195
|
"labelPlacement": [1, "label-placement"],
|
|
195
196
|
"justify": [1],
|
|
196
197
|
"alignment": [1],
|
|
198
|
+
"required": [4],
|
|
197
199
|
"activated": [32]
|
|
198
200
|
}, undefined, {
|
|
199
201
|
"disabled": ["disabledChanged"]
|
|
@@ -62,6 +62,7 @@ const RadioGroup = /*@__PURE__*/ proxyCustomElement(class RadioGroup extends HTM
|
|
|
62
62
|
this.allowEmptySelection = false;
|
|
63
63
|
this.compareWith = undefined;
|
|
64
64
|
this.name = this.inputId;
|
|
65
|
+
this.required = false;
|
|
65
66
|
this.value = undefined;
|
|
66
67
|
}
|
|
67
68
|
valueChanged(value) {
|
|
@@ -162,10 +163,10 @@ const RadioGroup = /*@__PURE__*/ proxyCustomElement(class RadioGroup extends HTM
|
|
|
162
163
|
radioToFocus === null || radioToFocus === void 0 ? void 0 : radioToFocus.setFocus();
|
|
163
164
|
}
|
|
164
165
|
render() {
|
|
165
|
-
const { label, labelId, el, name, value } = this;
|
|
166
|
+
const { label, labelId, el, name, value, required } = this;
|
|
166
167
|
const mode = getIonMode(this);
|
|
167
168
|
renderHiddenInput(true, el, name, value, false);
|
|
168
|
-
return h(Host, { key: '
|
|
169
|
+
return h(Host, { key: '1b86c9ba343929ffd5579dd5d1c18ca616b2e9aa', role: "radiogroup", "aria-labelledby": label ? labelId : null, onClick: this.onClick, class: mode, "aria-required": `${required}` });
|
|
169
170
|
}
|
|
170
171
|
get el() { return this; }
|
|
171
172
|
static get watchers() { return {
|
|
@@ -175,6 +176,7 @@ const RadioGroup = /*@__PURE__*/ proxyCustomElement(class RadioGroup extends HTM
|
|
|
175
176
|
"allowEmptySelection": [4, "allow-empty-selection"],
|
|
176
177
|
"compareWith": [1, "compare-with"],
|
|
177
178
|
"name": [1],
|
|
179
|
+
"required": [4],
|
|
178
180
|
"value": [1032],
|
|
179
181
|
"setFocus": [64]
|
|
180
182
|
}, [[4, "keydown", "onKeydown"]], {
|
package/components/toolbar.js
CHANGED
|
@@ -63,10 +63,10 @@ const Toolbar = /*@__PURE__*/ proxyCustomElement(class Toolbar extends HTMLEleme
|
|
|
63
63
|
this.childrenStyles.forEach((value) => {
|
|
64
64
|
Object.assign(childStyles, value);
|
|
65
65
|
});
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '4fdc9ae82a93237cc28ceb95b0ebd8069b62839d', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
67
67
|
[mode]: true,
|
|
68
68
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
69
|
-
})) }, h("div", { key: '
|
|
69
|
+
})) }, 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" }))));
|
|
70
70
|
}
|
|
71
71
|
get el() { return this; }
|
|
72
72
|
static get style() { return {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const helpers = require('./helpers-afaa9001.js');
|
|
7
|
-
const index = require('./index-
|
|
7
|
+
const index = require('./index-2a46a047.js');
|
|
8
8
|
|
|
9
9
|
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
10
10
|
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
+
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
7
|
+
|
|
6
8
|
/**
|
|
7
9
|
* Logs a warning to the console with an Ionic prefix
|
|
8
10
|
* to indicate the library that is warning the developer.
|
|
@@ -10,9 +12,12 @@
|
|
|
10
12
|
* @param message - The string message to be logged to the console.
|
|
11
13
|
*/
|
|
12
14
|
const printIonWarning = (message, ...params) => {
|
|
13
|
-
|
|
15
|
+
const logLevel = ionicGlobal.config.get('logLevel', "WARN" /* LogLevel.WARN */);
|
|
16
|
+
if (["WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
17
|
+
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
18
|
+
}
|
|
14
19
|
};
|
|
15
|
-
|
|
20
|
+
/**
|
|
16
21
|
* Logs an error to the console with an Ionic prefix
|
|
17
22
|
* to indicate the library that is warning the developer.
|
|
18
23
|
*
|
|
@@ -20,7 +25,10 @@ const printIonWarning = (message, ...params) => {
|
|
|
20
25
|
* @param params - Additional arguments to supply to the console.error.
|
|
21
26
|
*/
|
|
22
27
|
const printIonError = (message, ...params) => {
|
|
23
|
-
|
|
28
|
+
const logLevel = ionicGlobal.config.get('logLevel', "ERROR" /* LogLevel.ERROR */);
|
|
29
|
+
if (["ERROR" /* LogLevel.ERROR */, "WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
30
|
+
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
31
|
+
}
|
|
24
32
|
};
|
|
25
33
|
/**
|
|
26
34
|
* Prints an error informing developers that an implementation requires an element to be used
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
const index$1 = require('./index-c8d52405.js');
|
|
7
7
|
const hardwareBackButton = require('./hardware-back-button-9e8a2c4f.js');
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-2a46a047.js');
|
|
9
9
|
const helpers = require('./helpers-afaa9001.js');
|
|
10
10
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
11
11
|
const animation = require('./animation-b4fdf128.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
7
7
|
const index$1 = require('./index-73f75efb.js');
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-2a46a047.js');
|
|
9
9
|
const helpers = require('./helpers-afaa9001.js');
|
|
10
10
|
|
|
11
11
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
@@ -122,8 +122,8 @@ const createFocusController = () => {
|
|
|
122
122
|
};
|
|
123
123
|
const LAST_FOCUS = 'ion-last-focus';
|
|
124
124
|
|
|
125
|
-
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-
|
|
126
|
-
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-
|
|
125
|
+
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-0e664e88.js'); });
|
|
126
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-2e8aef2c.js'); });
|
|
127
127
|
const focusController = createFocusController();
|
|
128
128
|
// TODO(FW-2832): types
|
|
129
129
|
const transition = (opts) => {
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -6,20 +6,20 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const animation = require('./animation-b4fdf128.js');
|
|
9
|
-
const index = require('./index-
|
|
10
|
-
const ios_transition = require('./ios.transition-
|
|
11
|
-
const md_transition = require('./md.transition-
|
|
9
|
+
const index = require('./index-e975c92b.js');
|
|
10
|
+
const ios_transition = require('./ios.transition-0e664e88.js');
|
|
11
|
+
const md_transition = require('./md.transition-2e8aef2c.js');
|
|
12
12
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
13
13
|
const index$1 = require('./index-ee07ed59.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
15
15
|
const helpers = require('./helpers-afaa9001.js');
|
|
16
16
|
const config = require('./config-4f60b98a.js');
|
|
17
17
|
const theme = require('./theme-d1c573d2.js');
|
|
18
|
-
const index$2 = require('./index-
|
|
19
|
-
const overlays = require('./overlays-
|
|
18
|
+
const index$2 = require('./index-3652c918.js');
|
|
19
|
+
const overlays = require('./overlays-65fdaff6.js');
|
|
20
20
|
require('./index-c8d52405.js');
|
|
21
21
|
require('./index-73f75efb.js');
|
|
22
|
-
require('./index-
|
|
22
|
+
require('./index-2a46a047.js');
|
|
23
23
|
require('./gesture-controller-9436f482.js');
|
|
24
24
|
require('./hardware-back-button-9e8a2c4f.js');
|
|
25
25
|
require('./framework-delegate-55f5683a.js');
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const index = require('./index-c8d52405.js');
|
|
7
|
-
const index$1 = require('./index-
|
|
7
|
+
const index$1 = require('./index-0d762bba.js');
|
|
8
8
|
const helpers = require('./helpers-afaa9001.js');
|
|
9
9
|
const keyboard = require('./keyboard-0272231f.js');
|
|
10
|
-
require('./index-
|
|
10
|
+
require('./index-2a46a047.js');
|
|
11
|
+
require('./ionic-global-d9a8bb5b.js');
|
|
12
|
+
require('./index-73f75efb.js');
|
|
11
13
|
require('./capacitor-c04564bf.js');
|
|
12
14
|
|
|
13
15
|
const cloneMap = new WeakMap();
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
const index = require('./index-c8d52405.js');
|
|
7
7
|
const helpers = require('./helpers-afaa9001.js');
|
|
8
|
-
const index$1 = require('./index-
|
|
8
|
+
const index$1 = require('./index-2a46a047.js');
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Used to update a scoped component that uses emulated slots. This fires when
|
|
@@ -9,7 +9,7 @@ const index = require('./index-73f75efb.js');
|
|
|
9
9
|
const helpers = require('./helpers-afaa9001.js');
|
|
10
10
|
const index$1 = require('./index-073c7cdc.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
12
|
-
const index$2 = require('./index-
|
|
12
|
+
const index$2 = require('./index-2a46a047.js');
|
|
13
13
|
|
|
14
14
|
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}";
|
|
15
15
|
const IonAccordionIosStyle0 = accordionIosCss;
|
|
@@ -9,7 +9,7 @@ const index = require('./index-73f75efb.js');
|
|
|
9
9
|
const buttonActive = require('./button-active-3f2f60b4.js');
|
|
10
10
|
const helpers = require('./helpers-afaa9001.js');
|
|
11
11
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-65fdaff6.js');
|
|
13
13
|
const theme = require('./theme-d1c573d2.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
15
15
|
const animation = require('./animation-b4fdf128.js');
|
|
@@ -20,7 +20,7 @@ require('./index-ee07ed59.js');
|
|
|
20
20
|
require('./gesture-controller-9436f482.js');
|
|
21
21
|
require('./hardware-back-button-9e8a2c4f.js');
|
|
22
22
|
require('./framework-delegate-55f5683a.js');
|
|
23
|
-
require('./index-
|
|
23
|
+
require('./index-2a46a047.js');
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* iOS Action Sheet Enter Animation
|
|
@@ -10,7 +10,7 @@ const config = require('./config-4f60b98a.js');
|
|
|
10
10
|
const buttonActive = require('./button-active-3f2f60b4.js');
|
|
11
11
|
const helpers = require('./helpers-afaa9001.js');
|
|
12
12
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-65fdaff6.js');
|
|
14
14
|
const theme = require('./theme-d1c573d2.js');
|
|
15
15
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
16
16
|
const animation = require('./animation-b4fdf128.js');
|
|
@@ -21,7 +21,7 @@ require('./index-ee07ed59.js');
|
|
|
21
21
|
require('./gesture-controller-9436f482.js');
|
|
22
22
|
require('./hardware-back-button-9e8a2c4f.js');
|
|
23
23
|
require('./framework-delegate-55f5683a.js');
|
|
24
|
-
require('./index-
|
|
24
|
+
require('./index-2a46a047.js');
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* iOS Alert Enter Animation
|
|
@@ -7,17 +7,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
9
|
const hardwareBackButton = require('./hardware-back-button-9e8a2c4f.js');
|
|
10
|
-
const index$1 = require('./index-
|
|
10
|
+
const index$1 = require('./index-2a46a047.js');
|
|
11
11
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
12
12
|
const helpers = require('./helpers-afaa9001.js');
|
|
13
13
|
const dir = require('./dir-94c21456.js');
|
|
14
14
|
const theme = require('./theme-d1c573d2.js');
|
|
15
|
-
const index$2 = require('./index-
|
|
15
|
+
const index$2 = require('./index-0d762bba.js');
|
|
16
16
|
const keyboardController = require('./keyboard-controller-c05e747a.js');
|
|
17
17
|
const cubicBezier = require('./cubic-bezier-f2dccc53.js');
|
|
18
18
|
const frameworkDelegate = require('./framework-delegate-55f5683a.js');
|
|
19
19
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
20
|
-
const index$3 = require('./index-
|
|
20
|
+
const index$3 = require('./index-e975c92b.js');
|
|
21
21
|
require('./index-c8d52405.js');
|
|
22
22
|
require('./keyboard-0272231f.js');
|
|
23
23
|
require('./capacitor-c04564bf.js');
|
|
@@ -37,7 +37,7 @@ const App = class {
|
|
|
37
37
|
Promise.resolve().then(function () { return require('./index-9509ecad.js'); }).then((module) => module.startTapClick(ionicGlobal.config));
|
|
38
38
|
}
|
|
39
39
|
if (ionicGlobal.config.getBoolean('statusTap', isHybrid)) {
|
|
40
|
-
Promise.resolve().then(function () { return require('./status-tap-
|
|
40
|
+
Promise.resolve().then(function () { return require('./status-tap-d74f1429.js'); }).then((module) => module.startStatusTap());
|
|
41
41
|
}
|
|
42
42
|
if (ionicGlobal.config.getBoolean('inputShims', needInputShims())) {
|
|
43
43
|
/**
|
|
@@ -45,7 +45,7 @@ const App = class {
|
|
|
45
45
|
* platforms proceed into this block.
|
|
46
46
|
*/
|
|
47
47
|
const platform = ionicGlobal.isPlatform(window, 'ios') ? 'ios' : 'android';
|
|
48
|
-
Promise.resolve().then(function () { return require('./input-shims-
|
|
48
|
+
Promise.resolve().then(function () { return require('./input-shims-cd05268a.js'); }).then((module) => module.startInputShims(ionicGlobal.config, platform));
|
|
49
49
|
}
|
|
50
50
|
const hardwareBackButtonModule = await Promise.resolve().then(function () { return require('./hardware-back-button-9e8a2c4f.js'); });
|
|
51
51
|
const supportsHardwareBackButtonEvents = isHybrid || hardwareBackButton.shouldUseCloseWatcher();
|
|
@@ -1312,10 +1312,10 @@ const Toolbar = class {
|
|
|
1312
1312
|
this.childrenStyles.forEach((value) => {
|
|
1313
1313
|
Object.assign(childStyles, value);
|
|
1314
1314
|
});
|
|
1315
|
-
return (index.h(index.Host, { key: '
|
|
1315
|
+
return (index.h(index.Host, { key: '4fdc9ae82a93237cc28ceb95b0ebd8069b62839d', class: Object.assign(Object.assign({}, childStyles), theme.createColorClasses(this.color, {
|
|
1316
1316
|
[mode]: true,
|
|
1317
1317
|
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
1318
|
-
})) }, index.h("div", { key: '
|
|
1318
|
+
})) }, index.h("div", { key: '443a216362bbbf1c149ed12140d52b0f0ea2d664', class: "toolbar-background", part: "background" }), index.h("div", { key: '1df87f4027d605e42757a13d4828df45b90a4fdc', class: "toolbar-container", part: "container" }, index.h("slot", { key: 'f66f34972be8e3f4915b9c6f5808600dbaedb1ea', name: "start" }), index.h("slot", { key: '14f38b0975e956f404c4eb3ee56f2055c6615276', name: "secondary" }), index.h("div", { key: '75ba5953a25c7544793484d2b245792cb0a5af75', class: "toolbar-content", part: "content" }, index.h("slot", { key: '149dfa58ff7106f318fecb4134e7c69edf8bc231' })), index.h("slot", { key: '807ab9ad21d7f1d9d427a4086460bcb9e5e8c019', name: "primary" }), index.h("slot", { key: 'bd2f9da95d2fa8e74dc6e0666587ceecbba99d9f', name: "end" }))));
|
|
1319
1319
|
}
|
|
1320
1320
|
get el() { return index.getElement(this); }
|
|
1321
1321
|
};
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
9
|
const helpers = require('./helpers-afaa9001.js');
|
|
10
|
-
const index$1 = require('./index-
|
|
10
|
+
const index$1 = require('./index-2a46a047.js');
|
|
11
11
|
const theme = require('./theme-d1c573d2.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
13
13
|
|
|
@@ -64,6 +64,7 @@ const Checkbox = class {
|
|
|
64
64
|
this.labelPlacement = 'start';
|
|
65
65
|
this.justify = undefined;
|
|
66
66
|
this.alignment = undefined;
|
|
67
|
+
this.required = false;
|
|
67
68
|
}
|
|
68
69
|
componentWillLoad() {
|
|
69
70
|
this.inheritedAttributes = Object.assign({}, helpers.inheritAriaAttributes(this.el));
|
|
@@ -75,11 +76,11 @@ const Checkbox = class {
|
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
78
|
render() {
|
|
78
|
-
const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, } = this;
|
|
79
|
+
const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, required, } = this;
|
|
79
80
|
const mode = ionicGlobal.getIonMode(this);
|
|
80
81
|
const path = getSVGPath(mode, indeterminate);
|
|
81
82
|
helpers.renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
82
|
-
return (index.h(index.Host, { key: '
|
|
83
|
+
return (index.h(index.Host, { key: '07a5884062dd256b570e856270c74a5a09d2f2a5', "aria-checked": indeterminate ? 'mixed' : `${checked}`, class: theme.createColorClasses(color, {
|
|
83
84
|
[mode]: true,
|
|
84
85
|
'in-item': theme.hostContext('ion-item', el),
|
|
85
86
|
'checkbox-checked': checked,
|
|
@@ -89,10 +90,10 @@ const Checkbox = class {
|
|
|
89
90
|
[`checkbox-justify-${justify}`]: justify !== undefined,
|
|
90
91
|
[`checkbox-alignment-${alignment}`]: alignment !== undefined,
|
|
91
92
|
[`checkbox-label-placement-${labelPlacement}`]: true,
|
|
92
|
-
}), onClick: this.onClick }, index.h("label", { key: '
|
|
93
|
+
}), onClick: this.onClick }, index.h("label", { key: '3439d546e8b60187421db698eab63a0bdd31c973', class: "checkbox-wrapper" }, index.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)), index.h("div", { key: '4e882f98939cc4b7c7ab7459c751d3f4bb2023fe', class: {
|
|
93
94
|
'label-text-wrapper': true,
|
|
94
95
|
'label-text-wrapper-hidden': el.textContent === '',
|
|
95
|
-
}, part: "label" }, index.h("slot", { key: '
|
|
96
|
+
}, part: "label" }, index.h("slot", { key: '0abda81297a086d02c4a56af75005547971dfcfe' })), index.h("div", { key: '36489ea3f48a7d0ec46b77c243f9f253ef5c2b3b', class: "native-wrapper" }, index.h("svg", { key: '4c53b52f5e93752672a34eb6f180b75fa9af9046', class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path)))));
|
|
96
97
|
}
|
|
97
98
|
getSVGPath(mode, indeterminate) {
|
|
98
99
|
let path = indeterminate ? (index.h("path", { d: "M6 12L18 12", part: "mark" })) : (index.h("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
|
|
@@ -7,10 +7,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
9
|
const helpers = require('./helpers-afaa9001.js');
|
|
10
|
-
const index$1 = require('./index-
|
|
10
|
+
const index$1 = require('./index-2a46a047.js');
|
|
11
11
|
const theme = require('./theme-d1c573d2.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
13
|
-
const data = require('./data-
|
|
13
|
+
const data = require('./data-108e531d.js');
|
|
14
14
|
|
|
15
15
|
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))}";
|
|
16
16
|
const IonDatetimeButtonIosStyle0 = datetimeButtonIosCss;
|
|
@@ -8,14 +8,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
const index$1 = require('./index-73f75efb.js');
|
|
9
9
|
const focusVisible = require('./focus-visible-7a0ce04f.js');
|
|
10
10
|
const helpers = require('./helpers-afaa9001.js');
|
|
11
|
-
const index = require('./index-
|
|
11
|
+
const index = require('./index-2a46a047.js');
|
|
12
12
|
const dir = require('./dir-94c21456.js');
|
|
13
13
|
const theme = require('./theme-d1c573d2.js');
|
|
14
14
|
const index$2 = require('./index-073c7cdc.js');
|
|
15
15
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
16
|
-
const data = require('./data-
|
|
16
|
+
const data = require('./data-108e531d.js');
|
|
17
17
|
const lockController = require('./lock-controller-6585a42a.js');
|
|
18
|
-
const overlays = require('./overlays-
|
|
18
|
+
const overlays = require('./overlays-65fdaff6.js');
|
|
19
19
|
const animation = require('./animation-b4fdf128.js');
|
|
20
20
|
const haptic = require('./haptic-f6b37aa3.js');
|
|
21
21
|
require('./index-c8d52405.js');
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
|
-
const index$1 = require('./index-
|
|
9
|
+
const index$1 = require('./index-0d762bba.js');
|
|
10
10
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|
|
11
11
|
const config = require('./config-4f60b98a.js');
|
|
12
12
|
require('./helpers-afaa9001.js');
|
|
13
|
-
require('./index-
|
|
13
|
+
require('./index-2a46a047.js');
|
|
14
14
|
|
|
15
15
|
const infiniteScrollCss = "ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";
|
|
16
16
|
const IonInfiniteScrollStyle0 = infiniteScrollCss;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-73f75efb.js');
|
|
9
|
-
const index$1 = require('./index-
|
|
9
|
+
const index$1 = require('./index-2a46a047.js');
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
11
|
const index$2 = require('./index-073c7cdc.js');
|
|
12
12
|
const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
|