@emailmaker/extensions-react 1.1.85-dev.8 → 1.1.85-dev.9
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/index.js +12 -12
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -512,34 +512,34 @@ var V = class {
|
|
|
512
512
|
let r = this._resolveComponentInput(e);
|
|
513
513
|
return I(r) ? r : typeof r == "string" || r == null || typeof r == "boolean" || typeof r == "number" ? n(t, null, r) : n(t, null);
|
|
514
514
|
}
|
|
515
|
-
};
|
|
516
|
-
A(
|
|
515
|
+
}, H = () => new V(P(T, N));
|
|
516
|
+
A(H), T.getOrCreateInstance(O, H);
|
|
517
517
|
//#endregion
|
|
518
518
|
//#region src/plugin/registryId.ts
|
|
519
|
-
var
|
|
519
|
+
var U = "PluginRegistry";
|
|
520
520
|
//#endregion
|
|
521
521
|
//#region src/plugin/pluginRegistry.ts
|
|
522
|
-
function
|
|
523
|
-
return e.getOrCreateInstance(
|
|
522
|
+
function W(e = h()) {
|
|
523
|
+
return e.getOrCreateInstance(U, () => new E());
|
|
524
524
|
}
|
|
525
|
-
new D(() =>
|
|
525
|
+
new D(() => W()), v("ELEMENT_INSERT_HTML_PIPELINE"), v("BLOCK_INSERT_HTML_PIPELINE");
|
|
526
526
|
//#endregion
|
|
527
527
|
//#region packages/extensions-core/identifiers/index.ts
|
|
528
|
-
function
|
|
528
|
+
function G(e) {
|
|
529
529
|
return v(e);
|
|
530
530
|
}
|
|
531
|
-
v("extensions.atomsHandlers"),
|
|
531
|
+
v("extensions.atomsHandlers"), G("HANDLE_ATOM_INSERT"), v("extensions.sandboxExtensions"), v("MESSAGE_SERVICE"), G("SETTINGS_PANEL_EVENT"), G("MODAL_SHOW_EVENT"), G("MODAL_CLOSE_EVENT"), G("MODAL_UPDATE_EVENT");
|
|
532
532
|
//#endregion
|
|
533
533
|
//#region src/extensions/api/src/index.ts
|
|
534
|
-
function
|
|
534
|
+
function K() {
|
|
535
535
|
return typeof globalThis.crypto?.randomUUID == "function" ? globalThis.crypto.randomUUID() : `component-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 10)}`;
|
|
536
536
|
}
|
|
537
|
-
function
|
|
537
|
+
function q(e = K()) {
|
|
538
538
|
return e;
|
|
539
539
|
}
|
|
540
540
|
P(T);
|
|
541
541
|
//#endregion
|
|
542
542
|
//#region src/extensions/react/src/index.ts
|
|
543
|
-
var
|
|
543
|
+
var J = j(T);
|
|
544
544
|
//#endregion
|
|
545
|
-
export {
|
|
545
|
+
export { J as ComponentRegistry, q as createComponentIdentifier };
|
package/package.json
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"react-dom": "^19.2.7",
|
|
11
11
|
"@types/react": "^19.2.17",
|
|
12
12
|
"@types/react-dom": "^19.2.3",
|
|
13
|
-
"@emailmaker/emailmaker": "1.1.85-dev.
|
|
14
|
-
"@emailmaker/extensions-app": "1.1.85-dev.
|
|
13
|
+
"@emailmaker/emailmaker": "1.1.85-dev.9",
|
|
14
|
+
"@emailmaker/extensions-app": "1.1.85-dev.9"
|
|
15
15
|
},
|
|
16
16
|
"name": "@emailmaker/extensions-react",
|
|
17
|
-
"version": "1.1.85-dev.
|
|
17
|
+
"version": "1.1.85-dev.9"
|
|
18
18
|
}
|