@everymatrix/general-registration 1.53.11 → 1.53.99

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.
Files changed (20) hide show
  1. package/dist/cjs/checkbox-group-input_13.cjs.entry.js +18739 -14346
  2. package/dist/cjs/general-registration.cjs.js +2 -2
  3. package/dist/cjs/{index-ed891a0d.js → index-cb325363.js} +46 -53
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/components/general-registration/general-registration.js +1 -1
  7. package/dist/esm/checkbox-group-input_13.entry.js +18822 -14429
  8. package/dist/esm/general-registration.js +3 -3
  9. package/dist/esm/{index-d069ae9e.js → index-10062eb9.js} +46 -53
  10. package/dist/esm/loader.js +2 -2
  11. package/dist/general-registration/general-registration.esm.js +1 -1
  12. package/dist/general-registration/p-21895a4e.js +2 -0
  13. package/dist/general-registration/p-993c790c.entry.js +4466 -0
  14. package/dist/types/components/general-registration/general-registration.d.ts +1 -1
  15. package/package.json +3 -3
  16. package/dist/general-registration/p-30224c7b.js +0 -2
  17. package/dist/general-registration/p-a04c166c.entry.js +0 -6896
  18. /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-input/src/utils/types.d.ts +0 -0
  19. /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +0 -0
  20. /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +0 -0
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ed891a0d.js');
5
+ const index = require('./index-cb325363.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.25.1 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.24.0 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('general-registration.cjs.js', document.baseURI).href));
@@ -24,7 +24,7 @@ const NAMESPACE = 'general-registration';
24
24
  const BUILD = /* general-registration */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.25.1 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.24.0 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
@@ -92,17 +92,12 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
92
92
  /* webpackExclude: /\.system\.entry\.js$/ */
93
93
  /* webpackMode: "lazy" */
94
94
  `./${bundleId}.entry.js${""}`
95
- )); }).then(
96
- (importedModule) => {
97
- {
98
- cmpModules.set(bundleId, importedModule);
99
- }
100
- return importedModule[exportName];
101
- },
102
- (e) => {
103
- consoleError(e, hostRef.$hostElement$);
95
+ )); }).then((importedModule) => {
96
+ {
97
+ cmpModules.set(bundleId, importedModule);
104
98
  }
105
- );
99
+ return importedModule[exportName];
100
+ }, consoleError);
106
101
  };
107
102
 
108
103
  // src/client/client-style.ts
@@ -391,10 +386,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
391
386
  if (styleContainerNode.nodeName === "HEAD") {
392
387
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
393
388
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
394
- styleContainerNode.insertBefore(
395
- styleElm,
396
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
397
- );
389
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
398
390
  } else if ("host" in styleContainerNode) {
399
391
  if (supportsConstructableStylesheets) {
400
392
  const stylesheet = new CSSStyleSheet();
@@ -444,7 +436,7 @@ var attachStyles = (hostRef) => {
444
436
  endAttachStyles();
445
437
  };
446
438
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
447
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
439
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
448
440
  if (oldValue !== newValue) {
449
441
  let isProp = isMemberInElement(elm, memberName);
450
442
  let ln = memberName.toLowerCase();
@@ -452,7 +444,15 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
452
444
  const classList = elm.classList;
453
445
  const oldClasses = parseClassList(oldValue);
454
446
  let newClasses = parseClassList(newValue);
455
- {
447
+ if (elm["s-si"]) {
448
+ newClasses.push(elm["s-si"]);
449
+ oldClasses.forEach((c) => {
450
+ if (c.startsWith(elm["s-si"])) newClasses.push(c);
451
+ });
452
+ newClasses = [...new Set(newClasses)];
453
+ classList.add(...newClasses);
454
+ delete elm["s-si"];
455
+ } else {
456
456
  classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
457
457
  classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
458
458
  }
@@ -516,10 +516,10 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
516
516
  };
517
517
  var parseClassListRegex = /\s/;
518
518
  var parseClassList = (value) => {
519
- if (typeof value === "object" && value && "baseVal" in value) {
519
+ if (typeof value === "object" && "baseVal" in value) {
520
520
  value = value.baseVal;
521
521
  }
522
- if (!value || typeof value !== "string") {
522
+ if (!value) {
523
523
  return [];
524
524
  }
525
525
  return value.split(parseClassListRegex);
@@ -528,31 +528,19 @@ var CAPTURE_EVENT_SUFFIX = "Capture";
528
528
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
529
529
 
530
530
  // src/runtime/vdom/update-element.ts
531
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
531
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
532
532
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
533
533
  const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
534
534
  const newVnodeAttrs = newVnode.$attrs$ || {};
535
535
  {
536
536
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
537
537
  if (!(memberName in newVnodeAttrs)) {
538
- setAccessor(
539
- elm,
540
- memberName,
541
- oldVnodeAttrs[memberName],
542
- void 0,
543
- isSvgMode2,
544
- newVnode.$flags$);
538
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
545
539
  }
546
540
  }
547
541
  }
548
542
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
549
- setAccessor(
550
- elm,
551
- memberName,
552
- oldVnodeAttrs[memberName],
553
- newVnodeAttrs[memberName],
554
- isSvgMode2,
555
- newVnode.$flags$);
543
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
556
544
  }
557
545
  };
558
546
  function sortedAttrNames(attrNames) {
@@ -843,12 +831,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
843
831
  {
844
832
  hostRef.$flags$ |= 256 /* isListenReady */;
845
833
  if (hostRef.$queuedListeners$) {
846
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
834
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
847
835
  hostRef.$queuedListeners$ = void 0;
848
836
  }
849
837
  }
850
838
  {
851
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
839
+ maybePromise = safeCall(instance, "componentWillLoad");
852
840
  }
853
841
  }
854
842
  endSchedule();
@@ -917,7 +905,7 @@ var postUpdateComponent = (hostRef) => {
917
905
  const instance = hostRef.$lazyInstance$ ;
918
906
  const ancestorComponent = hostRef.$ancestorComponent$;
919
907
  {
920
- safeCall(instance, "componentDidRender", void 0, elm);
908
+ safeCall(instance, "componentDidRender");
921
909
  }
922
910
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
923
911
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -925,7 +913,7 @@ var postUpdateComponent = (hostRef) => {
925
913
  addHydratedFlag(elm);
926
914
  }
927
915
  {
928
- safeCall(instance, "componentDidLoad", void 0, elm);
916
+ safeCall(instance, "componentDidLoad");
929
917
  }
930
918
  endPostUpdate();
931
919
  {
@@ -954,12 +942,12 @@ var appDidLoad = (who) => {
954
942
  }
955
943
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
956
944
  };
957
- var safeCall = (instance, method, arg, elm) => {
945
+ var safeCall = (instance, method, arg) => {
958
946
  if (instance && instance[method]) {
959
947
  try {
960
948
  return instance[method](arg);
961
949
  } catch (e) {
962
- consoleError(e, elm);
950
+ consoleError(e);
963
951
  }
964
952
  }
965
953
  return void 0;
@@ -1140,8 +1128,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1140
1128
  let Cstr;
1141
1129
  if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1142
1130
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1143
- {
1144
- const CstrImport = loadModule(cmpMeta, hostRef);
1131
+ const bundleId = cmpMeta.$lazyBundleId$;
1132
+ if (bundleId) {
1133
+ const CstrImport = loadModule(cmpMeta);
1145
1134
  if (CstrImport && "then" in CstrImport) {
1146
1135
  const endLoad = uniqueTime();
1147
1136
  Cstr = await CstrImport;
@@ -1166,7 +1155,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1166
1155
  try {
1167
1156
  new Cstr(hostRef);
1168
1157
  } catch (e) {
1169
- consoleError(e, elm);
1158
+ consoleError(e);
1170
1159
  }
1171
1160
  {
1172
1161
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1175,7 +1164,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1175
1164
  hostRef.$flags$ |= 128 /* isWatchReady */;
1176
1165
  }
1177
1166
  endNewInstance();
1178
- fireConnectedCallback(hostRef.$lazyInstance$, elm);
1167
+ fireConnectedCallback(hostRef.$lazyInstance$);
1168
+ } else {
1169
+ Cstr = elm.constructor;
1170
+ const cmpTag = elm.localName;
1171
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1179
1172
  }
1180
1173
  if (Cstr && Cstr.style) {
1181
1174
  let style;
@@ -1198,9 +1191,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1198
1191
  schedule();
1199
1192
  }
1200
1193
  };
1201
- var fireConnectedCallback = (instance, elm) => {
1194
+ var fireConnectedCallback = (instance) => {
1202
1195
  {
1203
- safeCall(instance, "connectedCallback", void 0, elm);
1196
+ safeCall(instance, "connectedCallback");
1204
1197
  }
1205
1198
  };
1206
1199
 
@@ -1236,17 +1229,17 @@ var connectedCallback = (elm) => {
1236
1229
  } else {
1237
1230
  addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1238
1231
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1239
- fireConnectedCallback(hostRef.$lazyInstance$, elm);
1232
+ fireConnectedCallback(hostRef.$lazyInstance$);
1240
1233
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1241
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
1234
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
1242
1235
  }
1243
1236
  }
1244
1237
  endConnected();
1245
1238
  }
1246
1239
  };
1247
- var disconnectInstance = (instance, elm) => {
1240
+ var disconnectInstance = (instance) => {
1248
1241
  {
1249
- safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1242
+ safeCall(instance, "disconnectedCallback");
1250
1243
  }
1251
1244
  };
1252
1245
  var disconnectedCallback = async (elm) => {
@@ -1259,9 +1252,9 @@ var disconnectedCallback = async (elm) => {
1259
1252
  }
1260
1253
  }
1261
1254
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1262
- disconnectInstance(hostRef.$lazyInstance$, elm);
1255
+ disconnectInstance(hostRef.$lazyInstance$);
1263
1256
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1264
- hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1257
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1265
1258
  }
1266
1259
  }
1267
1260
  if (rootAppliedStyles.has(elm)) {
@@ -1424,7 +1417,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1424
1417
  }
1425
1418
  }
1426
1419
  } catch (e) {
1427
- consoleError(e, hostRef.$hostElement$);
1420
+ consoleError(e);
1428
1421
  }
1429
1422
  };
1430
1423
  var getHostListenerTarget = (elm, flags) => {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ed891a0d.js');
5
+ const index = require('./index-cb325363.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.25.1",
7
+ "version": "4.24.0",
8
8
  "typescriptVersion": "5.5.4"
9
9
  },
10
10
  "collections": [
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { getTranslations, translate, TRANSLATIONS, DEFAULT_LANGUAGE } from "../../utils/locale.utils";
3
3
  import "../../../../../general-input/dist/types/index";
4
- import "@everymatrix/player-consents/dist";
4
+ import "../../../../../../svelte/player-consents/esnext/player-consents";
5
5
  export class GeneralRegistration {
6
6
  constructor() {
7
7
  /**