@ionic/core 7.3.3 → 7.3.4-nightly.20230907

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.
@@ -10,7 +10,7 @@ const appGlobals = require('./app-globals-a579aafd.js');
10
10
  require('./ionic-global-f81d8b73.js');
11
11
 
12
12
  /*
13
- Stencil Client Patch Browser v4.1.0 | MIT Licensed | https://stenciljs.com
13
+ Stencil Client Patch Browser v4.2.0 | MIT Licensed | https://stenciljs.com
14
14
  */
15
15
  const patchBrowser = () => {
16
16
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('ionic.cjs.js', document.baseURI).href));
@@ -94,8 +94,8 @@
94
94
  ],
95
95
  "compiler": {
96
96
  "name": "@stencil/core",
97
- "version": "4.1.0",
98
- "typescriptVersion": "5.0.4"
97
+ "version": "4.2.0",
98
+ "typescriptVersion": "5.1.6"
99
99
  },
100
100
  "collections": [
101
101
  {
@@ -207,7 +207,12 @@ export class RouterOutlet {
207
207
  "complexType": {
208
208
  "original": "\"ios\" | \"md\"",
209
209
  "resolved": "\"ios\" | \"md\"",
210
- "references": {}
210
+ "references": {
211
+ "Mode": {
212
+ "location": "global",
213
+ "id": "global::Mode"
214
+ }
215
+ }
211
216
  },
212
217
  "required": false,
213
218
  "optional": false,
package/dist/docs.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "timestamp": "2023-09-06T13:18:02",
2
+ "timestamp": "2023-09-07T06:03:45",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.1.0",
6
- "typescriptVersion": "5.0.4"
5
+ "version": "4.2.0",
6
+ "typescriptVersion": "5.1.6"
7
7
  },
8
8
  "components": [
9
9
  {
@@ -21930,7 +21930,12 @@
21930
21930
  "complexType": {
21931
21931
  "original": "\"ios\" | \"md\"",
21932
21932
  "resolved": "\"ios\" | \"md\"",
21933
- "references": {}
21933
+ "references": {
21934
+ "Mode": {
21935
+ "location": "global",
21936
+ "id": "global::Mode"
21937
+ }
21938
+ }
21934
21939
  },
21935
21940
  "mutable": true,
21936
21941
  "attr": "mode",
package/dist/esm/ionic.js CHANGED
@@ -7,7 +7,7 @@ import { g as globalScripts } from './app-globals-e8ddf830.js';
7
7
  import './ionic-global-1ef19007.js';
8
8
 
9
9
  /*
10
- Stencil Client Patch Browser v4.1.0 | MIT Licensed | https://stenciljs.com
10
+ Stencil Client Patch Browser v4.2.0 | MIT Licensed | https://stenciljs.com
11
11
  */
12
12
  const patchBrowser = () => {
13
13
  const importMeta = import.meta.url;
@@ -115,7 +115,7 @@ DOMTokenList
115
115
  var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
116
116
  var start = function() {
117
117
  // if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
118
- var url = new URL('./p-721933ff.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
118
+ var url = new URL('./p-06902103.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
119
119
  System.import(url.href);
120
120
  };
121
121
 
package/hydrate/index.js CHANGED
@@ -6,7 +6,7 @@
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
8
  /*!
9
- Stencil Mock Doc v4.1.0 | MIT Licensed | https://stenciljs.com
9
+ Stencil Mock Doc v4.2.0 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  const CONTENT_REF_ID = 'r';
12
12
  const ORG_LOCATION_ID = 'o';
@@ -4953,7 +4953,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
4953
4953
 
4954
4954
 
4955
4955
  const NAMESPACE = 'ionic';
4956
- const BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: true, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
4956
+ const BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: true, observeAttribute: true, patchPseudoShadowDom: false, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
4957
4957
 
4958
4958
  // TODO(FW-2832): types
4959
4959
  class Config {
@@ -5188,8 +5188,8 @@ function forceUpdate() {}
5188
5188
 
5189
5189
  function hydrateApp(e, t, o, n, s) {
5190
5190
  function l() {
5191
- if (global.clearTimeout(p), i.clear(), r.clear(), !u) {
5192
- u = !0;
5191
+ if (global.clearTimeout(p), i.clear(), r.clear(), !h) {
5192
+ h = !0;
5193
5193
  try {
5194
5194
  t.clientHydrateAnnotations && insertVdomAnnotations(e.document, t.staticComponents),
5195
5195
  e.dispatchEvent(new e.Event("DOMContentLoaded")), e.document.createElement = c,
@@ -5204,9 +5204,9 @@ function hydrateApp(e, t, o, n, s) {
5204
5204
  renderCatchError(t, o, e), l();
5205
5205
  }
5206
5206
  const r = new Set, i = new Set, d = new Set, c = e.document.createElement, $ = e.document.createElementNS, m = Promise.resolve();
5207
- let p, u = !1;
5207
+ let p, h = !1;
5208
5208
  try {
5209
- function h() {
5209
+ function u() {
5210
5210
  return g(this);
5211
5211
  }
5212
5212
  function f(e) {
@@ -5215,7 +5215,7 @@ function hydrateApp(e, t, o, n, s) {
5215
5215
  $tagName$: e.nodeName.toLowerCase(),
5216
5216
  $flags$: null
5217
5217
  });
5218
- null != t && null != t.cmpMeta && (i.add(e), e.connectedCallback = h, registerHost(e, t.cmpMeta),
5218
+ null != t && null != t.cmpMeta && (i.add(e), e.connectedCallback = u, registerHost(e, t.cmpMeta),
5219
5219
  function o(e, t) {
5220
5220
  if ("function" != typeof e.componentOnReady && (e.componentOnReady = componentOnReady$1),
5221
5221
  "function" != typeof e.forceUpdate && (e.forceUpdate = forceUpdate), 1 & t.$flags$ && (e.shadowRoot = e),
@@ -5575,17 +5575,17 @@ const createElm = (e, t, o, n) => {
5575
5575
  null !== a ? (r = o["s-cr"]) ? r.parentNode.textContent = a : e.$text$ !== a && (o.data = a) : ((isSvgMode = "svg" === l || "foreignObject" !== l && isSvgMode),
5576
5576
  ("slot" === l || updateElement(e, t, isSvgMode)),
5577
5577
  null !== n && null !== s ? ((e, t, o, n) => {
5578
- let s, l, a = 0, r = 0, i = 0, d = 0, c = t.length - 1, $ = t[0], m = t[c], p = n.length - 1, u = n[0], h = n[p];
5579
- for (;a <= c && r <= p; ) if (null == $) $ = t[++a]; else if (null == m) m = t[--c]; else if (null == u) u = n[++r]; else if (null == h) h = n[--p]; else if (isSameVnode($, u)) patch($, u),
5580
- $ = t[++a], u = n[++r]; else if (isSameVnode(m, h)) patch(m, h), m = t[--c], h = n[--p]; else if (isSameVnode($, h)) "slot" !== $.$tag$ && "slot" !== h.$tag$ || putBackInOriginalLocation($.$elm$.parentNode, !1),
5581
- patch($, h), e.insertBefore($.$elm$, m.$elm$.nextSibling), $ = t[++a], h = n[--p]; else if (isSameVnode(m, u)) "slot" !== $.$tag$ && "slot" !== h.$tag$ || putBackInOriginalLocation(m.$elm$.parentNode, !1),
5582
- patch(m, u), e.insertBefore(m.$elm$, $.$elm$), m = t[--c], u = n[++r]; else {
5583
- if (i = -1, BUILD.vdomKey) for (d = a; d <= c; ++d) if (t[d] && null !== t[d].$key$ && t[d].$key$ === u.$key$) {
5578
+ let s, l, a = 0, r = 0, i = 0, d = 0, c = t.length - 1, $ = t[0], m = t[c], p = n.length - 1, h = n[0], u = n[p];
5579
+ for (;a <= c && r <= p; ) if (null == $) $ = t[++a]; else if (null == m) m = t[--c]; else if (null == h) h = n[++r]; else if (null == u) u = n[--p]; else if (isSameVnode($, h)) patch($, h),
5580
+ $ = t[++a], h = n[++r]; else if (isSameVnode(m, u)) patch(m, u), m = t[--c], u = n[--p]; else if (isSameVnode($, u)) "slot" !== $.$tag$ && "slot" !== u.$tag$ || putBackInOriginalLocation($.$elm$.parentNode, !1),
5581
+ patch($, u), e.insertBefore($.$elm$, m.$elm$.nextSibling), $ = t[++a], u = n[--p]; else if (isSameVnode(m, h)) "slot" !== $.$tag$ && "slot" !== u.$tag$ || putBackInOriginalLocation(m.$elm$.parentNode, !1),
5582
+ patch(m, h), e.insertBefore(m.$elm$, $.$elm$), m = t[--c], h = n[++r]; else {
5583
+ if (i = -1, BUILD.vdomKey) for (d = a; d <= c; ++d) if (t[d] && null !== t[d].$key$ && t[d].$key$ === h.$key$) {
5584
5584
  i = d;
5585
5585
  break;
5586
5586
  }
5587
- i >= 0 ? (l = t[i], l.$tag$ !== u.$tag$ ? s = createElm(t && t[r], o, i, e) : (patch(l, u),
5588
- t[i] = void 0, s = l.$elm$), u = n[++r]) : (s = createElm(t && t[r], o, r, e), u = n[++r]),
5587
+ i >= 0 ? (l = t[i], l.$tag$ !== h.$tag$ ? s = createElm(t && t[r], o, i, e) : (patch(l, h),
5588
+ t[i] = void 0, s = l.$elm$), h = n[++r]) : (s = createElm(t && t[r], o, r, e), h = n[++r]),
5589
5589
  s && (parentReferenceNode($.$elm$).insertBefore(s, referenceNode($.$elm$)) );
5590
5590
  }
5591
5591
  a > c ? addVnodes(e, null == n[p + 1] ? null : n[p + 1].$elm$, o, n, r, p) : r > p && removeVnodes(t, a, c);
@@ -35198,9 +35198,9 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
35198
35198
  line: r,
35199
35199
  column: s
35200
35200
  };
35201
- return t => (t.position = new z(e), m(), t);
35202
- }, a = o => {
35203
- const i = e.split("\n"), a = {
35201
+ return t => (t.position = new A(e), m(), t);
35202
+ }, l = o => {
35203
+ const i = e.split("\n"), l = {
35204
35204
  level: "error",
35205
35205
  type: "css",
35206
35206
  language: "css",
@@ -35222,7 +35222,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
35222
35222
  errorCharStart: -1,
35223
35223
  errorLength: -1
35224
35224
  };
35225
- a.lines.unshift(t);
35225
+ l.lines.unshift(t);
35226
35226
  }
35227
35227
  if (r + 2 < i.length) {
35228
35228
  const e = {
@@ -35232,10 +35232,10 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
35232
35232
  errorCharStart: -1,
35233
35233
  errorLength: -1
35234
35234
  };
35235
- a.lines.push(e);
35235
+ l.lines.push(e);
35236
35236
  }
35237
- return n.push(a), null;
35238
- }, l = () => u(/^{\s*/), c = () => u(/^}/), u = t => {
35237
+ return n.push(l), null;
35238
+ }, a = () => u(/^{\s*/), c = () => u(/^}/), u = t => {
35239
35239
  const r = t.exec(e);
35240
35240
  if (!r) return;
35241
35241
  const s = r[0];
@@ -35243,7 +35243,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
35243
35243
  }, d = () => {
35244
35244
  let t;
35245
35245
  const r = [];
35246
- for (m(), h(r); e.length && "}" !== e.charAt(0) && (t = w() || A()); ) r.push(t),
35246
+ for (m(), h(r); e.length && "}" !== e.charAt(0) && (t = T() || w()); ) r.push(t),
35247
35247
  h(r);
35248
35248
  return r;
35249
35249
  }, m = () => u(/^\s*/), h = e => {
@@ -35255,7 +35255,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
35255
35255
  if ("/" !== e.charAt(0) || "*" !== e.charAt(1)) return null;
35256
35256
  let r = 2;
35257
35257
  for (;"" !== e.charAt(r) && ("*" !== e.charAt(r) || "/" !== e.charAt(r + 1)); ) ++r;
35258
- if (r += 2, "" === e.charAt(r - 1)) return a("End of comment missing");
35258
+ if (r += 2, "" === e.charAt(r - 1)) return l("End of comment missing");
35259
35259
  const n = e.slice(2, r - 2);
35260
35260
  return s += 2, o(n), e = e.slice(r), s += 2, t({
35261
35261
  type: 1,
@@ -35272,7 +35272,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
35272
35272
  const e = i();
35273
35273
  let t = u(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);
35274
35274
  if (!t) return null;
35275
- if (t = trim(t[0]), !u(/^:\s*/)) return a("property missing ':'");
35275
+ if (t = trim(t[0]), !u(/^:\s*/)) return l("property missing ':'");
35276
35276
  const r = u(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/), s = e({
35277
35277
  type: 4,
35278
35278
  property: t.replace(commentre, ""),
@@ -35281,10 +35281,10 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
35281
35281
  return u(/^[;\s]*/), s;
35282
35282
  }, y = () => {
35283
35283
  const e = [];
35284
- if (!l()) return a("missing '{'");
35284
+ if (!a()) return l("missing '{'");
35285
35285
  let t;
35286
35286
  for (h(e); t = g(); ) e.push(t), h(e);
35287
- return c() ? e : a("missing '}'");
35287
+ return c() ? e : l("missing '}'");
35288
35288
  }, C = () => {
35289
35289
  let e;
35290
35290
  const t = [], r = i();
@@ -35304,14 +35304,14 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
35304
35304
  };
35305
35305
  return o[e] = n[1].trim(), s(o);
35306
35306
  };
35307
- }, E = S("import", 7), b = S("charset", 0), T = S("namespace", 11), w = () => "@" !== e[0] ? null : (() => {
35307
+ }, E = S("import", 7), b = S("charset", 0), v = S("namespace", 11), T = () => "@" !== e[0] ? null : (() => {
35308
35308
  const e = i();
35309
35309
  let t = u(/^@([-\w]+)?keyframes\s*/);
35310
35310
  if (!t) return null;
35311
35311
  const r = t[1];
35312
- if (t = u(/^([-\w]+)\s*/), !t) return a("@keyframes missing name");
35312
+ if (t = u(/^([-\w]+)\s*/), !t) return l("@keyframes missing name");
35313
35313
  const s = t[1];
35314
- if (!l()) return a("@keyframes missing '{'");
35314
+ if (!a()) return l("@keyframes missing '{'");
35315
35315
  let n, o = h();
35316
35316
  for (;n = C(); ) o.push(n), o = o.concat(h());
35317
35317
  return c() ? e({
@@ -35319,18 +35319,18 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
35319
35319
  name: s,
35320
35320
  vendor: r,
35321
35321
  keyframes: o
35322
- }) : a("@keyframes missing '}'");
35322
+ }) : l("@keyframes missing '}'");
35323
35323
  })() || (() => {
35324
35324
  const e = i(), t = u(/^@media *([^{]+)/);
35325
35325
  if (!t) return null;
35326
35326
  const r = trim(t[1]);
35327
- if (!l()) return a("@media missing '{'");
35327
+ if (!a()) return l("@media missing '{'");
35328
35328
  const s = h().concat(d());
35329
35329
  return c() ? e({
35330
35330
  type: 10,
35331
35331
  media: r,
35332
35332
  rules: s
35333
- }) : a("@media missing '}'");
35333
+ }) : l("@media missing '}'");
35334
35334
  })() || (() => {
35335
35335
  const e = i(), t = u(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);
35336
35336
  return t ? e({
@@ -35342,65 +35342,65 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
35342
35342
  const e = i(), t = u(/^@supports *([^{]+)/);
35343
35343
  if (!t) return null;
35344
35344
  const r = trim(t[1]);
35345
- if (!l()) return a("@supports missing '{'");
35345
+ if (!a()) return l("@supports missing '{'");
35346
35346
  const s = h().concat(d());
35347
35347
  return c() ? e({
35348
35348
  type: 15,
35349
35349
  supports: r,
35350
35350
  rules: s
35351
- }) : a("@supports missing '}'");
35352
- })() || E() || b() || T() || (() => {
35351
+ }) : l("@supports missing '}'");
35352
+ })() || E() || b() || v() || (() => {
35353
35353
  const e = i(), t = u(/^@([-\w]+)?document *([^{]+)/);
35354
35354
  if (!t) return null;
35355
35355
  const r = trim(t[1]), s = trim(t[2]);
35356
- if (!l()) return a("@document missing '{'");
35356
+ if (!a()) return l("@document missing '{'");
35357
35357
  const n = h().concat(d());
35358
35358
  return c() ? e({
35359
35359
  type: 3,
35360
35360
  document: s,
35361
35361
  vendor: r,
35362
35362
  rules: n
35363
- }) : a("@document missing '}'");
35363
+ }) : l("@document missing '}'");
35364
35364
  })() || (() => {
35365
35365
  const e = i();
35366
35366
  if (!u(/^@page */)) return null;
35367
35367
  const t = f() || [];
35368
- if (!l()) return a("@page missing '{'");
35368
+ if (!a()) return l("@page missing '{'");
35369
35369
  let r, s = h();
35370
35370
  for (;r = g(); ) s.push(r), s = s.concat(h());
35371
35371
  return c() ? e({
35372
35372
  type: 12,
35373
35373
  selectors: t,
35374
35374
  declarations: s
35375
- }) : a("@page missing '}'");
35375
+ }) : l("@page missing '}'");
35376
35376
  })() || (() => {
35377
35377
  const e = i();
35378
35378
  if (!u(/^@host\s*/)) return null;
35379
- if (!l()) return a("@host missing '{'");
35379
+ if (!a()) return l("@host missing '{'");
35380
35380
  const t = h().concat(d());
35381
35381
  return c() ? e({
35382
35382
  type: 6,
35383
35383
  rules: t
35384
- }) : a("@host missing '}'");
35384
+ }) : l("@host missing '}'");
35385
35385
  })() || (() => {
35386
35386
  const e = i();
35387
35387
  if (!u(/^@font-face\s*/)) return null;
35388
- if (!l()) return a("@font-face missing '{'");
35388
+ if (!a()) return l("@font-face missing '{'");
35389
35389
  let t, r = h();
35390
35390
  for (;t = g(); ) r.push(t), r = r.concat(h());
35391
35391
  return c() ? e({
35392
35392
  type: 5,
35393
35393
  declarations: r
35394
- }) : a("@font-face missing '}'");
35395
- })(), A = () => {
35394
+ }) : l("@font-face missing '}'");
35395
+ })(), w = () => {
35396
35396
  const e = i(), t = f();
35397
35397
  return t ? (h(), e({
35398
35398
  type: 13,
35399
35399
  selectors: t,
35400
35400
  declarations: y()
35401
- })) : a("selector missing");
35401
+ })) : l("selector missing");
35402
35402
  };
35403
- class z {
35403
+ class A {
35404
35404
  constructor(e) {
35405
35405
  this.start = e, this.end = {
35406
35406
  line: r,
@@ -35408,7 +35408,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
35408
35408
  }, this.source = t;
35409
35409
  }
35410
35410
  }
35411
- return z.prototype.content = e, {
35411
+ return A.prototype.content = e, {
35412
35412
  diagnostics: n,
35413
35413
  ...addParent((() => {
35414
35414
  const e = d();
@@ -35449,54 +35449,62 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
35449
35449
  ids: [],
35450
35450
  attrs: []
35451
35451
  }, serializeCssVisitNode = (e, t, r, s) => {
35452
- const n = t.type;
35453
- return 4 === n ? serializeCssDeclaration(t, r, s) : 13 === n ? serializeCssRule(e, t) : 1 === n ? "!" === t.comment[0] ? `/*${t.comment}*/` : "" : 10 === n ? serializeCssMedia(e, t) : 8 === n ? serializeCssKeyframes(e, t) : 9 === n ? serializeCssKeyframe(e, t) : 5 === n ? serializeCssFontFace(e, t) : 15 === n ? serializeCssSupports(e, t) : 7 === n ? "@import " + t.import + ";" : 0 === n ? "@charset " + t.charset + ";" : 12 === n ? serializeCssPage(e, t) : 6 === n ? "@host{" + serializeCssMapVisit(e, t.rules) + "}" : 2 === n ? "@custom-media " + t.name + " " + t.media + ";" : 3 === n ? serializeCssDocument(e, t) : 11 === n ? "@namespace " + t.namespace + ";" : "";
35452
+ var n;
35453
+ const o = t.type;
35454
+ return 4 === o ? serializeCssDeclaration(t, r, s) : 13 === o ? serializeCssRule(e, t) : 1 === o ? "!" === (null === (n = t.comment) || void 0 === n ? void 0 : n[0]) ? `/*${t.comment}*/` : "" : 10 === o ? serializeCssMedia(e, t) : 8 === o ? serializeCssKeyframes(e, t) : 9 === o ? serializeCssKeyframe(e, t) : 5 === o ? serializeCssFontFace(e, t) : 15 === o ? serializeCssSupports(e, t) : 7 === o ? "@import " + t.import + ";" : 0 === o ? "@charset " + t.charset + ";" : 12 === o ? serializeCssPage(e, t) : 6 === o ? "@host{" + serializeCssMapVisit(e, t.rules) + "}" : 2 === o ? "@custom-media " + t.name + " " + t.media + ";" : 3 === o ? serializeCssDocument(e, t) : 11 === o ? "@namespace " + t.namespace + ";" : "";
35454
35455
  }, serializeCssRule = (e, t) => {
35455
- const r = t.declarations, s = e.usedSelectors, n = t.selectors.slice();
35456
- if (null == r || 0 === r.length) return "";
35457
- if (s) {
35458
- let t, r, o = !0;
35459
- for (t = n.length - 1; t >= 0; t--) {
35460
- const i = getCssSelectors(n[t]);
35461
- o = !0;
35462
- let a = i.classNames.length;
35463
- if (a > 0 && e.hasUsedClassNames) for (r = 0; r < a; r++) if (!s.classNames.has(i.classNames[r])) {
35464
- o = !1;
35456
+ var r, s;
35457
+ const n = t.declarations, o = e.usedSelectors, i = null !== (s = null === (r = t.selectors) || void 0 === r ? void 0 : r.slice()) && void 0 !== s ? s : [];
35458
+ if (null == n || 0 === n.length) return "";
35459
+ if (o) {
35460
+ let t, r, s = !0;
35461
+ for (t = i.length - 1; t >= 0; t--) {
35462
+ const n = getCssSelectors(i[t]);
35463
+ s = !0;
35464
+ let l = n.classNames.length;
35465
+ if (l > 0 && e.hasUsedClassNames) for (r = 0; r < l; r++) if (!o.classNames.has(n.classNames[r])) {
35466
+ s = !1;
35465
35467
  break;
35466
35468
  }
35467
- if (o && e.hasUsedTags && (a = i.tags.length, a > 0)) for (r = 0; r < a; r++) if (!s.tags.has(i.tags[r])) {
35468
- o = !1;
35469
+ if (s && e.hasUsedTags && (l = n.tags.length, l > 0)) for (r = 0; r < l; r++) if (!o.tags.has(n.tags[r])) {
35470
+ s = !1;
35469
35471
  break;
35470
35472
  }
35471
- if (o && e.hasUsedAttrs && (a = i.attrs.length, a > 0)) for (r = 0; r < a; r++) if (!s.attrs.has(i.attrs[r])) {
35472
- o = !1;
35473
+ if (s && e.hasUsedAttrs && (l = n.attrs.length, l > 0)) for (r = 0; r < l; r++) if (!o.attrs.has(n.attrs[r])) {
35474
+ s = !1;
35473
35475
  break;
35474
35476
  }
35475
- if (o && e.hasUsedIds && (a = i.ids.length, a > 0)) for (r = 0; r < a; r++) if (!s.ids.has(i.ids[r])) {
35476
- o = !1;
35477
+ if (s && e.hasUsedIds && (l = n.ids.length, l > 0)) for (r = 0; r < l; r++) if (!o.ids.has(n.ids[r])) {
35478
+ s = !1;
35477
35479
  break;
35478
35480
  }
35479
- o || n.splice(t, 1);
35481
+ s || i.splice(t, 1);
35480
35482
  }
35481
35483
  }
35482
- if (0 === n.length) return "";
35483
- const o = [];
35484
- let i = "";
35485
- for (const e of t.selectors) i = removeSelectorWhitespace(e), o.includes(i) || o.push(i);
35486
- return `${o}{${serializeCssMapVisit(e, r)}}`;
35484
+ if (0 === i.length) return "";
35485
+ const l = [];
35486
+ let a = "";
35487
+ if (t.selectors) for (const e of t.selectors) a = removeSelectorWhitespace(e), l.includes(a) || l.push(a);
35488
+ return `${l}{${serializeCssMapVisit(e, n)}}`;
35487
35489
  }, serializeCssDeclaration = (e, t, r) => "" === e.value ? "" : r - 1 === t ? e.property + ":" + e.value : e.property + ":" + e.value + ";", serializeCssMedia = (e, t) => {
35488
35490
  const r = serializeCssMapVisit(e, t.rules);
35489
35491
  return "" === r ? "" : "@media " + removeMediaWhitespace(t.media) + "{" + r + "}";
35490
35492
  }, serializeCssKeyframes = (e, t) => {
35491
35493
  const r = serializeCssMapVisit(e, t.keyframes);
35492
35494
  return "" === r ? "" : "@" + (t.vendor || "") + "keyframes " + t.name + "{" + r + "}";
35493
- }, serializeCssKeyframe = (e, t) => t.values.join(",") + "{" + serializeCssMapVisit(e, t.declarations) + "}", serializeCssFontFace = (e, t) => {
35495
+ }, serializeCssKeyframe = (e, t) => {
35496
+ var r, s;
35497
+ return (null !== (s = null === (r = t.values) || void 0 === r ? void 0 : r.join(",")) && void 0 !== s ? s : "") + "{" + serializeCssMapVisit(e, t.declarations) + "}";
35498
+ }, serializeCssFontFace = (e, t) => {
35494
35499
  const r = serializeCssMapVisit(e, t.declarations);
35495
35500
  return "" === r ? "" : "@font-face{" + r + "}";
35496
35501
  }, serializeCssSupports = (e, t) => {
35497
35502
  const r = serializeCssMapVisit(e, t.rules);
35498
35503
  return "" === r ? "" : "@supports " + t.supports + "{" + r + "}";
35499
- }, serializeCssPage = (e, t) => "@page " + t.selectors.join(", ") + "{" + serializeCssMapVisit(e, t.declarations) + "}", serializeCssDocument = (e, t) => {
35504
+ }, serializeCssPage = (e, t) => {
35505
+ var r, s;
35506
+ return "@page " + (null !== (s = null === (r = t.selectors) || void 0 === r ? void 0 : r.join(", ")) && void 0 !== s ? s : "") + "{" + serializeCssMapVisit(e, t.declarations) + "}";
35507
+ }, serializeCssDocument = (e, t) => {
35500
35508
  const r = serializeCssMapVisit(e, t.rules), s = "@" + (t.vendor || "") + "document " + t.document;
35501
35509
  return "" === r ? "" : s + "{" + r + "}";
35502
35510
  }, serializeCssMapVisit = (e, t) => {
@@ -35513,12 +35521,14 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
35513
35521
  } else t += r;
35514
35522
  return t;
35515
35523
  }, removeMediaWhitespace = e => {
35516
- let t = "", r = "";
35517
- for (let s = 0, n = (e = e.trim()).length; s < n; s++) if (r = e[s], CSS_WS_REG.test(r)) {
35518
- if (CSS_WS_REG.test(t[t.length - 1])) continue;
35519
- t += " ";
35520
- } else t += r;
35521
- return t;
35524
+ var t;
35525
+ let r = "", s = "";
35526
+ for (let n = 0, o = (e = null !== (t = null == e ? void 0 : e.trim()) && void 0 !== t ? t : "").length; n < o; n++) if (s = e[n],
35527
+ CSS_WS_REG.test(s)) {
35528
+ if (CSS_WS_REG.test(r[r.length - 1])) continue;
35529
+ r += " ";
35530
+ } else r += s;
35531
+ return r;
35522
35532
  }, CSS_WS_REG = /\s/, CSS_NEXT_CHAR_REG = /[>\(\)\~\,\+\s]/, CSS_PREV_CHAR_REG = /[>\(\~\,\+]/, collectUsedSelectors = (e, t) => {
35523
35533
  if (null != t && 1 === t.nodeType) {
35524
35534
  const r = t.children, s = t.nodeName.toLowerCase();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/core",
3
- "version": "7.3.3",
3
+ "version": "7.3.4-nightly.20230907",
4
4
  "description": "Base components for Ionic",
5
5
  "keywords": [
6
6
  "ionic",
@@ -31,7 +31,7 @@
31
31
  "loader/"
32
32
  ],
33
33
  "dependencies": {
34
- "@stencil/core": "^4.1.0",
34
+ "@stencil/core": "^4.2.0",
35
35
  "ionicons": "7.1.0",
36
36
  "tslib": "^2.1.0"
37
37
  },