proto-ikons-wc 0.1.25 → 0.1.26

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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DhNHFZP-.js');
3
+ var index = require('./index-BnFtiLux.js');
4
4
 
5
5
  const acuraIkonCss = "";
6
6
 
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  const NAMESPACE = 'proto-ikons-wc';
4
- const BUILD = /* proto-ikons-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: false, updatable: true};
4
+ const BUILD = /* proto-ikons-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, prop: true, propChangeCallback: false, updatable: true};
5
5
 
6
6
  /*
7
- Stencil Client Platform v4.38.2 | MIT Licensed | https://stenciljs.com
7
+ Stencil Client Platform v4.38.3 | MIT Licensed | https://stenciljs.com
8
8
  */
9
9
  var __defProp = Object.defineProperty;
10
10
  var __export = (target, all) => {
@@ -15,6 +15,38 @@ var __export = (target, all) => {
15
15
  // src/utils/constants.ts
16
16
  var SVG_NS = "http://www.w3.org/2000/svg";
17
17
  var HTML_NS = "http://www.w3.org/1999/xhtml";
18
+ var reWireGetterSetter = (instance, hostRef) => {
19
+ var _a;
20
+ const cmpMeta = hostRef.$cmpMeta$;
21
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
22
+ members.map(([memberName, [memberFlags]]) => {
23
+ if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
24
+ const ogValue = instance[memberName];
25
+ const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
26
+ if (ogDescriptor) {
27
+ Object.defineProperty(instance, memberName, {
28
+ get() {
29
+ return ogDescriptor.get.call(this);
30
+ },
31
+ set(newValue) {
32
+ ogDescriptor.set.call(this, newValue);
33
+ },
34
+ configurable: true,
35
+ enumerable: true
36
+ });
37
+ }
38
+ instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
39
+ }
40
+ });
41
+ };
42
+ function getPropertyDescriptor(obj, memberName) {
43
+ while (obj) {
44
+ const desc = Object.getOwnPropertyDescriptor(obj, memberName);
45
+ if (desc == null ? void 0 : desc.get) return desc;
46
+ obj = Object.getPrototypeOf(obj);
47
+ }
48
+ return void 0;
49
+ }
18
50
 
19
51
  // src/client/client-host-ref.ts
20
52
  var getHostRef = (ref) => {
@@ -27,6 +59,9 @@ var registerInstance = (lazyInstance, hostRef) => {
27
59
  if (!hostRef) return;
28
60
  lazyInstance.__stencil__getHostRef = () => hostRef;
29
61
  hostRef.$lazyInstance$ = lazyInstance;
62
+ if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.prop)) {
63
+ reWireGetterSetter(lazyInstance, hostRef);
64
+ }
30
65
  };
31
66
  var registerHost = (hostElement, cmpMeta) => {
32
67
  const hostRef = {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DhNHFZP-.js');
3
+ var index = require('./index-BnFtiLux.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DhNHFZP-.js');
3
+ var index = require('./index-BnFtiLux.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
7
  /*
8
- Stencil Client Patch Browser v4.38.2 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.38.3 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var patchBrowser = () => {
@@ -122,7 +122,7 @@
122
122
  ],
123
123
  "compiler": {
124
124
  "name": "@stencil/core",
125
- "version": "4.38.2",
125
+ "version": "4.38.3",
126
126
  "typescriptVersion": "5.9.3"
127
127
  },
128
128
  "collections": [],
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-Dv9z6hXe.js';
1
+ import { r as registerInstance, h } from './index-C2EEMDY-.js';
2
2
 
3
3
  const acuraIkonCss = "";
4
4
 
@@ -1,8 +1,8 @@
1
1
  const NAMESPACE = 'proto-ikons-wc';
2
- const BUILD = /* proto-ikons-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: false, updatable: true};
2
+ const BUILD = /* proto-ikons-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, prop: true, propChangeCallback: false, updatable: true};
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.38.2 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.38.3 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -13,6 +13,38 @@ var __export = (target, all) => {
13
13
  // src/utils/constants.ts
14
14
  var SVG_NS = "http://www.w3.org/2000/svg";
15
15
  var HTML_NS = "http://www.w3.org/1999/xhtml";
16
+ var reWireGetterSetter = (instance, hostRef) => {
17
+ var _a;
18
+ const cmpMeta = hostRef.$cmpMeta$;
19
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
20
+ members.map(([memberName, [memberFlags]]) => {
21
+ if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
22
+ const ogValue = instance[memberName];
23
+ const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
24
+ if (ogDescriptor) {
25
+ Object.defineProperty(instance, memberName, {
26
+ get() {
27
+ return ogDescriptor.get.call(this);
28
+ },
29
+ set(newValue) {
30
+ ogDescriptor.set.call(this, newValue);
31
+ },
32
+ configurable: true,
33
+ enumerable: true
34
+ });
35
+ }
36
+ instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
37
+ }
38
+ });
39
+ };
40
+ function getPropertyDescriptor(obj, memberName) {
41
+ while (obj) {
42
+ const desc = Object.getOwnPropertyDescriptor(obj, memberName);
43
+ if (desc == null ? void 0 : desc.get) return desc;
44
+ obj = Object.getPrototypeOf(obj);
45
+ }
46
+ return void 0;
47
+ }
16
48
 
17
49
  // src/client/client-host-ref.ts
18
50
  var getHostRef = (ref) => {
@@ -25,6 +57,9 @@ var registerInstance = (lazyInstance, hostRef) => {
25
57
  if (!hostRef) return;
26
58
  lazyInstance.__stencil__getHostRef = () => hostRef;
27
59
  hostRef.$lazyInstance$ = lazyInstance;
60
+ if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.prop)) {
61
+ reWireGetterSetter(lazyInstance, hostRef);
62
+ }
28
63
  };
29
64
  var registerHost = (hostElement, cmpMeta) => {
30
65
  const hostRef = {
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-Dv9z6hXe.js';
2
- export { s as setNonce } from './index-Dv9z6hXe.js';
1
+ import { b as bootstrapLazy } from './index-C2EEMDY-.js';
2
+ export { s as setNonce } from './index-C2EEMDY-.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-Dv9z6hXe.js';
2
- export { s as setNonce } from './index-Dv9z6hXe.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-C2EEMDY-.js';
2
+ export { s as setNonce } from './index-C2EEMDY-.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.38.2 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.38.3 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {