@burdenoff/microfe-newsletter 2026.510.108
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/README.md +277 -0
- package/dist/dev/main.d.ts +2 -0
- package/dist/dev/main.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +2170 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-operations.js +672 -0
- package/dist/generated/global-operations.js.map +1 -0
- package/dist/generated/global-types.d.ts +20716 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +2 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-types.d.ts +53363 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -0
- package/dist/newsletter/AdminNewsletterRoot.d.ts +49 -0
- package/dist/newsletter/AdminNewsletterRoot.d.ts.map +1 -0
- package/dist/newsletter/AdminNewsletterRoot.js +227 -0
- package/dist/newsletter/AdminNewsletterRoot.js.map +1 -0
- package/dist/newsletter/AdminNewsletterRoutes.d.ts +36 -0
- package/dist/newsletter/AdminNewsletterRoutes.d.ts.map +1 -0
- package/dist/newsletter/AdminNewsletterRoutes.js +116 -0
- package/dist/newsletter/AdminNewsletterRoutes.js.map +1 -0
- package/dist/newsletter/NewsletterRoot.d.ts +11 -0
- package/dist/newsletter/NewsletterRoot.d.ts.map +1 -0
- package/dist/newsletter/NewsletterRoot.js +7 -0
- package/dist/newsletter/NewsletterRoot.js.map +1 -0
- package/dist/newsletter/NewsletterRoutes.d.ts +8 -0
- package/dist/newsletter/NewsletterRoutes.d.ts.map +1 -0
- package/dist/newsletter/UserNewsletterRoot.d.ts +38 -0
- package/dist/newsletter/UserNewsletterRoot.d.ts.map +1 -0
- package/dist/newsletter/UserNewsletterRoot.js +91 -0
- package/dist/newsletter/UserNewsletterRoot.js.map +1 -0
- package/dist/newsletter/UserNewsletterRoutes.d.ts +25 -0
- package/dist/newsletter/UserNewsletterRoutes.d.ts.map +1 -0
- package/dist/newsletter/UserNewsletterRoutes.js +56 -0
- package/dist/newsletter/UserNewsletterRoutes.js.map +1 -0
- package/dist/newsletter/components/index.d.ts +25 -0
- package/dist/newsletter/components/index.d.ts.map +1 -0
- package/dist/newsletter/components/ui.d.ts +6 -0
- package/dist/newsletter/components/ui.d.ts.map +1 -0
- package/dist/newsletter/constants/permissions.d.ts +44 -0
- package/dist/newsletter/constants/permissions.d.ts.map +1 -0
- package/dist/newsletter/constants/permissions.js +33 -0
- package/dist/newsletter/constants/permissions.js.map +1 -0
- package/dist/newsletter/hooks/index.d.ts +9 -0
- package/dist/newsletter/hooks/index.d.ts.map +1 -0
- package/dist/newsletter/hooks/index.js +5 -0
- package/dist/newsletter/hooks/useAnalyticsOperations.d.ts +98 -0
- package/dist/newsletter/hooks/useAnalyticsOperations.d.ts.map +1 -0
- package/dist/newsletter/hooks/useAnalyticsOperations.js +33 -0
- package/dist/newsletter/hooks/useAnalyticsOperations.js.map +1 -0
- package/dist/newsletter/hooks/useComplianceOperations.d.ts +185 -0
- package/dist/newsletter/hooks/useComplianceOperations.d.ts.map +1 -0
- package/dist/newsletter/hooks/useComplianceOperations.js +95 -0
- package/dist/newsletter/hooks/useComplianceOperations.js.map +1 -0
- package/dist/newsletter/hooks/useNewsletterOperations.d.ts +459 -0
- package/dist/newsletter/hooks/useNewsletterOperations.d.ts.map +1 -0
- package/dist/newsletter/hooks/useNewsletterOperations.js +397 -0
- package/dist/newsletter/hooks/useNewsletterOperations.js.map +1 -0
- package/dist/newsletter/hooks/useNewsletterPermissions.d.ts +41 -0
- package/dist/newsletter/hooks/useNewsletterPermissions.d.ts.map +1 -0
- package/dist/newsletter/hooks/useNewsletterPermissions.js +35 -0
- package/dist/newsletter/hooks/useNewsletterPermissions.js.map +1 -0
- package/dist/newsletter/hooks/useWaitlistOperations.d.ts +95 -0
- package/dist/newsletter/hooks/useWaitlistOperations.d.ts.map +1 -0
- package/dist/newsletter/hooks/useWaitlistOperations.js +46 -0
- package/dist/newsletter/hooks/useWaitlistOperations.js.map +1 -0
- package/dist/newsletter/index.d.ts +55 -0
- package/dist/newsletter/index.d.ts.map +1 -0
- package/dist/newsletter/index.js +7 -0
- package/dist/newsletter/pages/ABTestingPage.d.ts +17 -0
- package/dist/newsletter/pages/ABTestingPage.d.ts.map +1 -0
- package/dist/newsletter/pages/ABTestingPage.js +806 -0
- package/dist/newsletter/pages/ABTestingPage.js.map +1 -0
- package/dist/newsletter/pages/AnalyticsDashboardPage.d.ts +17 -0
- package/dist/newsletter/pages/AnalyticsDashboardPage.d.ts.map +1 -0
- package/dist/newsletter/pages/AnalyticsDashboardPage.js +452 -0
- package/dist/newsletter/pages/AnalyticsDashboardPage.js.map +1 -0
- package/dist/newsletter/pages/CampaignAnalyticsPage.d.ts +17 -0
- package/dist/newsletter/pages/CampaignAnalyticsPage.d.ts.map +1 -0
- package/dist/newsletter/pages/CampaignAnalyticsPage.js +498 -0
- package/dist/newsletter/pages/CampaignAnalyticsPage.js.map +1 -0
- package/dist/newsletter/pages/CampaignEditorPage.d.ts +16 -0
- package/dist/newsletter/pages/CampaignEditorPage.d.ts.map +1 -0
- package/dist/newsletter/pages/CampaignEditorPage.js +523 -0
- package/dist/newsletter/pages/CampaignEditorPage.js.map +1 -0
- package/dist/newsletter/pages/CampaignsListPage.d.ts +15 -0
- package/dist/newsletter/pages/CampaignsListPage.d.ts.map +1 -0
- package/dist/newsletter/pages/CampaignsListPage.js +302 -0
- package/dist/newsletter/pages/CampaignsListPage.js.map +1 -0
- package/dist/newsletter/pages/CompliancePage.d.ts +17 -0
- package/dist/newsletter/pages/CompliancePage.d.ts.map +1 -0
- package/dist/newsletter/pages/CompliancePage.js +1094 -0
- package/dist/newsletter/pages/CompliancePage.js.map +1 -0
- package/dist/newsletter/pages/SchedulerPage.d.ts +17 -0
- package/dist/newsletter/pages/SchedulerPage.d.ts.map +1 -0
- package/dist/newsletter/pages/SchedulerPage.js +503 -0
- package/dist/newsletter/pages/SchedulerPage.js.map +1 -0
- package/dist/newsletter/pages/SubscriberDetailPage.d.ts +17 -0
- package/dist/newsletter/pages/SubscriberDetailPage.d.ts.map +1 -0
- package/dist/newsletter/pages/SubscriberDetailPage.js +442 -0
- package/dist/newsletter/pages/SubscriberDetailPage.js.map +1 -0
- package/dist/newsletter/pages/SubscribersListPage.d.ts +17 -0
- package/dist/newsletter/pages/SubscribersListPage.d.ts.map +1 -0
- package/dist/newsletter/pages/SubscribersListPage.js +553 -0
- package/dist/newsletter/pages/SubscribersListPage.js.map +1 -0
- package/dist/newsletter/pages/TemplateEditorPage.d.ts +17 -0
- package/dist/newsletter/pages/TemplateEditorPage.d.ts.map +1 -0
- package/dist/newsletter/pages/TemplateEditorPage.js +451 -0
- package/dist/newsletter/pages/TemplateEditorPage.js.map +1 -0
- package/dist/newsletter/pages/TemplateLibraryPage.d.ts +17 -0
- package/dist/newsletter/pages/TemplateLibraryPage.d.ts.map +1 -0
- package/dist/newsletter/pages/TemplateLibraryPage.js +360 -0
- package/dist/newsletter/pages/TemplateLibraryPage.js.map +1 -0
- package/dist/newsletter/pages/WaitlistDetailPage.d.ts +13 -0
- package/dist/newsletter/pages/WaitlistDetailPage.d.ts.map +1 -0
- package/dist/newsletter/pages/WaitlistDetailPage.js +321 -0
- package/dist/newsletter/pages/WaitlistDetailPage.js.map +1 -0
- package/dist/newsletter/pages/WaitlistListPage.d.ts +15 -0
- package/dist/newsletter/pages/WaitlistListPage.d.ts.map +1 -0
- package/dist/newsletter/pages/WaitlistListPage.js +432 -0
- package/dist/newsletter/pages/WaitlistListPage.js.map +1 -0
- package/dist/newsletter/providers/NewsletterProvider.d.ts +54 -0
- package/dist/newsletter/providers/NewsletterProvider.d.ts.map +1 -0
- package/dist/newsletter/providers/NewsletterProvider.js +119 -0
- package/dist/newsletter/providers/NewsletterProvider.js.map +1 -0
- package/dist/newsletter/shared/hooks/useTr.d.ts +14 -0
- package/dist/newsletter/shared/hooks/useTr.d.ts.map +1 -0
- package/dist/newsletter/shared/hooks/useTr.js +14 -0
- package/dist/newsletter/shared/hooks/useTr.js.map +1 -0
- package/dist/newsletter/store/newsletterStore.d.ts +49 -0
- package/dist/newsletter/store/newsletterStore.d.ts.map +1 -0
- package/dist/newsletter/store/newsletterStore.js +109 -0
- package/dist/newsletter/store/newsletterStore.js.map +1 -0
- package/dist/newsletter/types/index.d.ts +509 -0
- package/dist/newsletter/types/index.d.ts.map +1 -0
- package/dist/newsletter/utils/cn.d.ts +8 -0
- package/dist/newsletter/utils/cn.d.ts.map +1 -0
- package/dist/newsletter/utils/formatting.d.ts +29 -0
- package/dist/newsletter/utils/formatting.d.ts.map +1 -0
- package/dist/newsletter/utils/index.d.ts +6 -0
- package/dist/newsletter/utils/index.d.ts.map +1 -0
- package/dist/newsletter/utils/validation.d.ts +26 -0
- package/dist/newsletter/utils/validation.d.ts.map +1 -0
- package/dist/node_modules/@apollo/client/errors/index.js +22 -0
- package/dist/node_modules/@apollo/client/errors/index.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js +75 -0
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/subscriptions/index.js +38 -0
- package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js +20 -0
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/utils/transformOperation.js +15 -0
- package/dist/node_modules/@apollo/client/link/utils/transformOperation.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/utils/validateOperation.js +19 -0
- package/dist/node_modules/@apollo/client/link/utils/validateOperation.js.map +1 -0
- package/dist/node_modules/@apollo/client/node_modules/tslib/tslib.es6.js +30 -0
- package/dist/node_modules/@apollo/client/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/caching/caches.js +19 -0
- package/dist/node_modules/@apollo/client/utilities/caching/caches.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/caching/getMemoryInternals.js +27 -0
- package/dist/node_modules/@apollo/client/utilities/caching/getMemoryInternals.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js +7 -0
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/common/makeUniqueId.js +10 -0
- package/dist/node_modules/@apollo/client/utilities/common/makeUniqueId.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/common/objects.js +8 -0
- package/dist/node_modules/@apollo/client/utilities/common/objects.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/common/stringifyForDisplay.js +13 -0
- package/dist/node_modules/@apollo/client/utilities/common/stringifyForDisplay.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/deprecation/index.js +15 -0
- package/dist/node_modules/@apollo/client/utilities/deprecation/index.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/globals/global.js +17 -0
- package/dist/node_modules/@apollo/client/utilities/globals/global.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/globals/invariantWrappers.js +51 -0
- package/dist/node_modules/@apollo/client/utilities/globals/invariantWrappers.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/globals/maybe.js +10 -0
- package/dist/node_modules/@apollo/client/utilities/globals/maybe.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/graphql/getFromAST.js +36 -0
- package/dist/node_modules/@apollo/client/utilities/graphql/getFromAST.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js +18 -0
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -0
- package/dist/node_modules/@apollo/client/version.js +6 -0
- package/dist/node_modules/@apollo/client/version.js.map +1 -0
- package/dist/node_modules/@wry/caches/lib/weak.js +67 -0
- package/dist/node_modules/@wry/caches/lib/weak.js.map +1 -0
- package/dist/node_modules/@wry/context/lib/index.js +6 -0
- package/dist/node_modules/@wry/context/lib/index.js.map +1 -0
- package/dist/node_modules/@wry/context/lib/slot.js +79 -0
- package/dist/node_modules/@wry/context/lib/slot.js.map +1 -0
- package/dist/node_modules/@wry/trie/lib/index.js +5 -0
- package/dist/node_modules/@wry/trie/lib/index.js.map +1 -0
- package/dist/node_modules/graphql-ws/lib/client.js +320 -0
- package/dist/node_modules/graphql-ws/lib/client.js.map +1 -0
- package/dist/node_modules/graphql-ws/lib/common.js +58 -0
- package/dist/node_modules/graphql-ws/lib/common.js.map +1 -0
- package/dist/node_modules/graphql-ws/lib/utils.js +17 -0
- package/dist/node_modules/graphql-ws/lib/utils.js.map +1 -0
- package/dist/node_modules/optimism/lib/context.js +8 -0
- package/dist/node_modules/optimism/lib/context.js.map +1 -0
- package/dist/node_modules/optimism/lib/dep.js +2 -0
- package/dist/node_modules/optimism/lib/entry.js +124 -0
- package/dist/node_modules/optimism/lib/entry.js.map +1 -0
- package/dist/node_modules/optimism/lib/helpers.js +13 -0
- package/dist/node_modules/optimism/lib/helpers.js.map +1 -0
- package/dist/node_modules/optimism/lib/index.js +5 -0
- package/dist/node_modules/ts-invariant/lib/invariant.js +35 -0
- package/dist/node_modules/ts-invariant/lib/invariant.js.map +1 -0
- package/dist/node_modules/ts-invariant/node_modules/tslib/tslib.es6.js +20 -0
- package/dist/node_modules/ts-invariant/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/node_modules/zen-observable-ts/module.js +402 -0
- package/dist/node_modules/zen-observable-ts/module.js.map +1 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/dist/utils/nativeBridge.js +2 -0
- package/package.json +106 -0
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
//#region node_modules/zen-observable-ts/module.js
|
|
2
|
+
function e(e, n) {
|
|
3
|
+
var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
4
|
+
if (r) return (r = r.call(e)).next.bind(r);
|
|
5
|
+
if (Array.isArray(e) || (r = t(e)) || n && e && typeof e.length == "number") {
|
|
6
|
+
r && (e = r);
|
|
7
|
+
var i = 0;
|
|
8
|
+
return function() {
|
|
9
|
+
return i >= e.length ? { done: !0 } : {
|
|
10
|
+
done: !1,
|
|
11
|
+
value: e[i++]
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
16
|
+
}
|
|
17
|
+
function t(e, t) {
|
|
18
|
+
if (e) {
|
|
19
|
+
if (typeof e == "string") return n(e, t);
|
|
20
|
+
var r = Object.prototype.toString.call(e).slice(8, -1);
|
|
21
|
+
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
|
|
22
|
+
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return n(e, t);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function n(e, t) {
|
|
26
|
+
(t == null || t > e.length) && (t = e.length);
|
|
27
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
28
|
+
return r;
|
|
29
|
+
}
|
|
30
|
+
function r(e, t) {
|
|
31
|
+
for (var n = 0; n < t.length; n++) {
|
|
32
|
+
var r = t[n];
|
|
33
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function i(e, t, n) {
|
|
37
|
+
return t && r(e.prototype, t), n && r(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
38
|
+
}
|
|
39
|
+
var a = function() {
|
|
40
|
+
return typeof Symbol == "function";
|
|
41
|
+
}, o = function(e) {
|
|
42
|
+
return a() && !!Symbol[e];
|
|
43
|
+
}, s = function(e) {
|
|
44
|
+
return o(e) ? Symbol[e] : "@@" + e;
|
|
45
|
+
};
|
|
46
|
+
a() && !o("observable") && (Symbol.observable = Symbol("observable"));
|
|
47
|
+
var c = s("iterator"), l = s("observable"), u = s("species");
|
|
48
|
+
function d(e, t) {
|
|
49
|
+
var n = e[t];
|
|
50
|
+
if (n != null) {
|
|
51
|
+
if (typeof n != "function") throw TypeError(n + " is not a function");
|
|
52
|
+
return n;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function f(e) {
|
|
56
|
+
var t = e.constructor;
|
|
57
|
+
return t !== void 0 && (t = t[u], t === null && (t = void 0)), t === void 0 ? C : t;
|
|
58
|
+
}
|
|
59
|
+
function p(e) {
|
|
60
|
+
return e instanceof C;
|
|
61
|
+
}
|
|
62
|
+
function m(e) {
|
|
63
|
+
m.log ? m.log(e) : setTimeout(function() {
|
|
64
|
+
throw e;
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
function h(e) {
|
|
68
|
+
Promise.resolve().then(function() {
|
|
69
|
+
try {
|
|
70
|
+
e();
|
|
71
|
+
} catch (e) {
|
|
72
|
+
m(e);
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
function g(e) {
|
|
77
|
+
var t = e._cleanup;
|
|
78
|
+
if (t !== void 0 && (e._cleanup = void 0, t)) try {
|
|
79
|
+
if (typeof t == "function") t();
|
|
80
|
+
else {
|
|
81
|
+
var n = d(t, "unsubscribe");
|
|
82
|
+
n && n.call(t);
|
|
83
|
+
}
|
|
84
|
+
} catch (e) {
|
|
85
|
+
m(e);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
function _(e) {
|
|
89
|
+
e._observer = void 0, e._queue = void 0, e._state = "closed";
|
|
90
|
+
}
|
|
91
|
+
function v(e) {
|
|
92
|
+
var t = e._queue;
|
|
93
|
+
if (t) {
|
|
94
|
+
e._queue = void 0, e._state = "ready";
|
|
95
|
+
for (var n = 0; n < t.length && (y(e, t[n].type, t[n].value), e._state !== "closed"); ++n);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
function y(e, t, n) {
|
|
99
|
+
e._state = "running";
|
|
100
|
+
var r = e._observer;
|
|
101
|
+
try {
|
|
102
|
+
var i = d(r, t);
|
|
103
|
+
switch (t) {
|
|
104
|
+
case "next":
|
|
105
|
+
i && i.call(r, n);
|
|
106
|
+
break;
|
|
107
|
+
case "error":
|
|
108
|
+
if (_(e), i) i.call(r, n);
|
|
109
|
+
else throw n;
|
|
110
|
+
break;
|
|
111
|
+
case "complete":
|
|
112
|
+
_(e), i && i.call(r);
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
} catch (e) {
|
|
116
|
+
m(e);
|
|
117
|
+
}
|
|
118
|
+
e._state === "closed" ? g(e) : e._state === "running" && (e._state = "ready");
|
|
119
|
+
}
|
|
120
|
+
function b(e, t, n) {
|
|
121
|
+
if (e._state !== "closed") {
|
|
122
|
+
if (e._state === "buffering") {
|
|
123
|
+
e._queue.push({
|
|
124
|
+
type: t,
|
|
125
|
+
value: n
|
|
126
|
+
});
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
if (e._state !== "ready") {
|
|
130
|
+
e._state = "buffering", e._queue = [{
|
|
131
|
+
type: t,
|
|
132
|
+
value: n
|
|
133
|
+
}], h(function() {
|
|
134
|
+
return v(e);
|
|
135
|
+
});
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
y(e, t, n);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
var x = /* @__PURE__ */ function() {
|
|
142
|
+
function e(e, t) {
|
|
143
|
+
this._cleanup = void 0, this._observer = e, this._queue = void 0, this._state = "initializing";
|
|
144
|
+
var n = new S(this);
|
|
145
|
+
try {
|
|
146
|
+
this._cleanup = t.call(void 0, n);
|
|
147
|
+
} catch (e) {
|
|
148
|
+
n.error(e);
|
|
149
|
+
}
|
|
150
|
+
this._state === "initializing" && (this._state = "ready");
|
|
151
|
+
}
|
|
152
|
+
var t = e.prototype;
|
|
153
|
+
return t.unsubscribe = function() {
|
|
154
|
+
this._state !== "closed" && (_(this), g(this));
|
|
155
|
+
}, i(e, [{
|
|
156
|
+
key: "closed",
|
|
157
|
+
get: function() {
|
|
158
|
+
return this._state === "closed";
|
|
159
|
+
}
|
|
160
|
+
}]), e;
|
|
161
|
+
}(), S = /* @__PURE__ */ function() {
|
|
162
|
+
function e(e) {
|
|
163
|
+
this._subscription = e;
|
|
164
|
+
}
|
|
165
|
+
var t = e.prototype;
|
|
166
|
+
return t.next = function(e) {
|
|
167
|
+
b(this._subscription, "next", e);
|
|
168
|
+
}, t.error = function(e) {
|
|
169
|
+
b(this._subscription, "error", e);
|
|
170
|
+
}, t.complete = function() {
|
|
171
|
+
b(this._subscription, "complete");
|
|
172
|
+
}, i(e, [{
|
|
173
|
+
key: "closed",
|
|
174
|
+
get: function() {
|
|
175
|
+
return this._subscription._state === "closed";
|
|
176
|
+
}
|
|
177
|
+
}]), e;
|
|
178
|
+
}(), C = /* @__PURE__ */ function() {
|
|
179
|
+
function t(e) {
|
|
180
|
+
if (!(this instanceof t)) throw TypeError("Observable cannot be called as a function");
|
|
181
|
+
if (typeof e != "function") throw TypeError("Observable initializer must be a function");
|
|
182
|
+
this._subscriber = e;
|
|
183
|
+
}
|
|
184
|
+
var n = t.prototype;
|
|
185
|
+
return n.subscribe = function(e) {
|
|
186
|
+
return (typeof e != "object" || !e) && (e = {
|
|
187
|
+
next: e,
|
|
188
|
+
error: arguments[1],
|
|
189
|
+
complete: arguments[2]
|
|
190
|
+
}), new x(e, this._subscriber);
|
|
191
|
+
}, n.forEach = function(e) {
|
|
192
|
+
var t = this;
|
|
193
|
+
return new Promise(function(n, r) {
|
|
194
|
+
if (typeof e != "function") {
|
|
195
|
+
r(/* @__PURE__ */ TypeError(e + " is not a function"));
|
|
196
|
+
return;
|
|
197
|
+
}
|
|
198
|
+
function i() {
|
|
199
|
+
a.unsubscribe(), n();
|
|
200
|
+
}
|
|
201
|
+
var a = t.subscribe({
|
|
202
|
+
next: function(t) {
|
|
203
|
+
try {
|
|
204
|
+
e(t, i);
|
|
205
|
+
} catch (e) {
|
|
206
|
+
r(e), a.unsubscribe();
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
error: r,
|
|
210
|
+
complete: n
|
|
211
|
+
});
|
|
212
|
+
});
|
|
213
|
+
}, n.map = function(e) {
|
|
214
|
+
var t = this;
|
|
215
|
+
if (typeof e != "function") throw TypeError(e + " is not a function");
|
|
216
|
+
return new (f(this))(function(n) {
|
|
217
|
+
return t.subscribe({
|
|
218
|
+
next: function(t) {
|
|
219
|
+
try {
|
|
220
|
+
t = e(t);
|
|
221
|
+
} catch (e) {
|
|
222
|
+
return n.error(e);
|
|
223
|
+
}
|
|
224
|
+
n.next(t);
|
|
225
|
+
},
|
|
226
|
+
error: function(e) {
|
|
227
|
+
n.error(e);
|
|
228
|
+
},
|
|
229
|
+
complete: function() {
|
|
230
|
+
n.complete();
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
});
|
|
234
|
+
}, n.filter = function(e) {
|
|
235
|
+
var t = this;
|
|
236
|
+
if (typeof e != "function") throw TypeError(e + " is not a function");
|
|
237
|
+
return new (f(this))(function(n) {
|
|
238
|
+
return t.subscribe({
|
|
239
|
+
next: function(t) {
|
|
240
|
+
try {
|
|
241
|
+
if (!e(t)) return;
|
|
242
|
+
} catch (e) {
|
|
243
|
+
return n.error(e);
|
|
244
|
+
}
|
|
245
|
+
n.next(t);
|
|
246
|
+
},
|
|
247
|
+
error: function(e) {
|
|
248
|
+
n.error(e);
|
|
249
|
+
},
|
|
250
|
+
complete: function() {
|
|
251
|
+
n.complete();
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
});
|
|
255
|
+
}, n.reduce = function(e) {
|
|
256
|
+
var t = this;
|
|
257
|
+
if (typeof e != "function") throw TypeError(e + " is not a function");
|
|
258
|
+
var n = f(this), r = arguments.length > 1, i = !1, a = arguments[1];
|
|
259
|
+
return new n(function(n) {
|
|
260
|
+
return t.subscribe({
|
|
261
|
+
next: function(t) {
|
|
262
|
+
var o = !i;
|
|
263
|
+
if (i = !0, !o || r) try {
|
|
264
|
+
a = e(a, t);
|
|
265
|
+
} catch (e) {
|
|
266
|
+
return n.error(e);
|
|
267
|
+
}
|
|
268
|
+
else a = t;
|
|
269
|
+
},
|
|
270
|
+
error: function(e) {
|
|
271
|
+
n.error(e);
|
|
272
|
+
},
|
|
273
|
+
complete: function() {
|
|
274
|
+
if (!i && !r) return n.error(/* @__PURE__ */ TypeError("Cannot reduce an empty sequence"));
|
|
275
|
+
n.next(a), n.complete();
|
|
276
|
+
}
|
|
277
|
+
});
|
|
278
|
+
});
|
|
279
|
+
}, n.concat = function() {
|
|
280
|
+
var e = this, t = [...arguments], n = f(this);
|
|
281
|
+
return new n(function(r) {
|
|
282
|
+
var i, a = 0;
|
|
283
|
+
function o(e) {
|
|
284
|
+
i = e.subscribe({
|
|
285
|
+
next: function(e) {
|
|
286
|
+
r.next(e);
|
|
287
|
+
},
|
|
288
|
+
error: function(e) {
|
|
289
|
+
r.error(e);
|
|
290
|
+
},
|
|
291
|
+
complete: function() {
|
|
292
|
+
a === t.length ? (i = void 0, r.complete()) : o(n.from(t[a++]));
|
|
293
|
+
}
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
return o(e), function() {
|
|
297
|
+
i &&= (i.unsubscribe(), void 0);
|
|
298
|
+
};
|
|
299
|
+
});
|
|
300
|
+
}, n.flatMap = function(e) {
|
|
301
|
+
var t = this;
|
|
302
|
+
if (typeof e != "function") throw TypeError(e + " is not a function");
|
|
303
|
+
var n = f(this);
|
|
304
|
+
return new n(function(r) {
|
|
305
|
+
var i = [], a = t.subscribe({
|
|
306
|
+
next: function(t) {
|
|
307
|
+
if (e) try {
|
|
308
|
+
t = e(t);
|
|
309
|
+
} catch (e) {
|
|
310
|
+
return r.error(e);
|
|
311
|
+
}
|
|
312
|
+
var a = n.from(t).subscribe({
|
|
313
|
+
next: function(e) {
|
|
314
|
+
r.next(e);
|
|
315
|
+
},
|
|
316
|
+
error: function(e) {
|
|
317
|
+
r.error(e);
|
|
318
|
+
},
|
|
319
|
+
complete: function() {
|
|
320
|
+
var e = i.indexOf(a);
|
|
321
|
+
e >= 0 && i.splice(e, 1), o();
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
i.push(a);
|
|
325
|
+
},
|
|
326
|
+
error: function(e) {
|
|
327
|
+
r.error(e);
|
|
328
|
+
},
|
|
329
|
+
complete: function() {
|
|
330
|
+
o();
|
|
331
|
+
}
|
|
332
|
+
});
|
|
333
|
+
function o() {
|
|
334
|
+
a.closed && i.length === 0 && r.complete();
|
|
335
|
+
}
|
|
336
|
+
return function() {
|
|
337
|
+
i.forEach(function(e) {
|
|
338
|
+
return e.unsubscribe();
|
|
339
|
+
}), a.unsubscribe();
|
|
340
|
+
};
|
|
341
|
+
});
|
|
342
|
+
}, n[l] = function() {
|
|
343
|
+
return this;
|
|
344
|
+
}, t.from = function(n) {
|
|
345
|
+
var r = typeof this == "function" ? this : t;
|
|
346
|
+
if (n == null) throw TypeError(n + " is not an object");
|
|
347
|
+
var i = d(n, l);
|
|
348
|
+
if (i) {
|
|
349
|
+
var a = i.call(n);
|
|
350
|
+
if (Object(a) !== a) throw TypeError(a + " is not an object");
|
|
351
|
+
return p(a) && a.constructor === r ? a : new r(function(e) {
|
|
352
|
+
return a.subscribe(e);
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
if (o("iterator") && (i = d(n, c), i)) return new r(function(t) {
|
|
356
|
+
h(function() {
|
|
357
|
+
if (!t.closed) {
|
|
358
|
+
for (var r = e(i.call(n)), a; !(a = r()).done;) {
|
|
359
|
+
var o = a.value;
|
|
360
|
+
if (t.next(o), t.closed) return;
|
|
361
|
+
}
|
|
362
|
+
t.complete();
|
|
363
|
+
}
|
|
364
|
+
});
|
|
365
|
+
});
|
|
366
|
+
if (Array.isArray(n)) return new r(function(e) {
|
|
367
|
+
h(function() {
|
|
368
|
+
if (!e.closed) {
|
|
369
|
+
for (var t = 0; t < n.length; ++t) if (e.next(n[t]), e.closed) return;
|
|
370
|
+
e.complete();
|
|
371
|
+
}
|
|
372
|
+
});
|
|
373
|
+
});
|
|
374
|
+
throw TypeError(n + " is not observable");
|
|
375
|
+
}, t.of = function() {
|
|
376
|
+
var e = [...arguments];
|
|
377
|
+
return new (typeof this == "function" ? this : t)(function(t) {
|
|
378
|
+
h(function() {
|
|
379
|
+
if (!t.closed) {
|
|
380
|
+
for (var n = 0; n < e.length; ++n) if (t.next(e[n]), t.closed) return;
|
|
381
|
+
t.complete();
|
|
382
|
+
}
|
|
383
|
+
});
|
|
384
|
+
});
|
|
385
|
+
}, i(t, null, [{
|
|
386
|
+
key: u,
|
|
387
|
+
get: function() {
|
|
388
|
+
return this;
|
|
389
|
+
}
|
|
390
|
+
}]), t;
|
|
391
|
+
}();
|
|
392
|
+
a() && Object.defineProperty(C, Symbol("extensions"), {
|
|
393
|
+
value: {
|
|
394
|
+
symbol: l,
|
|
395
|
+
hostReportError: m
|
|
396
|
+
},
|
|
397
|
+
configurable: !0
|
|
398
|
+
});
|
|
399
|
+
//#endregion
|
|
400
|
+
export { C as Observable };
|
|
401
|
+
|
|
402
|
+
//# sourceMappingURL=module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.js","names":[],"sources":["../../../node_modules/zen-observable-ts/module.js"],"sourcesContent":["function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (it) return (it = it.call(o)).next.bind(it); if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\n\n// === Symbol Support ===\nvar hasSymbols = function () {\n return typeof Symbol === 'function';\n};\n\nvar hasSymbol = function (name) {\n return hasSymbols() && Boolean(Symbol[name]);\n};\n\nvar getSymbol = function (name) {\n return hasSymbol(name) ? Symbol[name] : '@@' + name;\n};\n\nif (hasSymbols() && !hasSymbol('observable')) {\n Symbol.observable = Symbol('observable');\n}\n\nvar SymbolIterator = getSymbol('iterator');\nvar SymbolObservable = getSymbol('observable');\nvar SymbolSpecies = getSymbol('species'); // === Abstract Operations ===\n\nfunction getMethod(obj, key) {\n var value = obj[key];\n if (value == null) return undefined;\n if (typeof value !== 'function') throw new TypeError(value + ' is not a function');\n return value;\n}\n\nfunction getSpecies(obj) {\n var ctor = obj.constructor;\n\n if (ctor !== undefined) {\n ctor = ctor[SymbolSpecies];\n\n if (ctor === null) {\n ctor = undefined;\n }\n }\n\n return ctor !== undefined ? ctor : Observable;\n}\n\nfunction isObservable(x) {\n return x instanceof Observable; // SPEC: Brand check\n}\n\nfunction hostReportError(e) {\n if (hostReportError.log) {\n hostReportError.log(e);\n } else {\n setTimeout(function () {\n throw e;\n });\n }\n}\n\nfunction enqueue(fn) {\n Promise.resolve().then(function () {\n try {\n fn();\n } catch (e) {\n hostReportError(e);\n }\n });\n}\n\nfunction cleanupSubscription(subscription) {\n var cleanup = subscription._cleanup;\n if (cleanup === undefined) return;\n subscription._cleanup = undefined;\n\n if (!cleanup) {\n return;\n }\n\n try {\n if (typeof cleanup === 'function') {\n cleanup();\n } else {\n var unsubscribe = getMethod(cleanup, 'unsubscribe');\n\n if (unsubscribe) {\n unsubscribe.call(cleanup);\n }\n }\n } catch (e) {\n hostReportError(e);\n }\n}\n\nfunction closeSubscription(subscription) {\n subscription._observer = undefined;\n subscription._queue = undefined;\n subscription._state = 'closed';\n}\n\nfunction flushSubscription(subscription) {\n var queue = subscription._queue;\n\n if (!queue) {\n return;\n }\n\n subscription._queue = undefined;\n subscription._state = 'ready';\n\n for (var i = 0; i < queue.length; ++i) {\n notifySubscription(subscription, queue[i].type, queue[i].value);\n if (subscription._state === 'closed') break;\n }\n}\n\nfunction notifySubscription(subscription, type, value) {\n subscription._state = 'running';\n var observer = subscription._observer;\n\n try {\n var m = getMethod(observer, type);\n\n switch (type) {\n case 'next':\n if (m) m.call(observer, value);\n break;\n\n case 'error':\n closeSubscription(subscription);\n if (m) m.call(observer, value);else throw value;\n break;\n\n case 'complete':\n closeSubscription(subscription);\n if (m) m.call(observer);\n break;\n }\n } catch (e) {\n hostReportError(e);\n }\n\n if (subscription._state === 'closed') cleanupSubscription(subscription);else if (subscription._state === 'running') subscription._state = 'ready';\n}\n\nfunction onNotify(subscription, type, value) {\n if (subscription._state === 'closed') return;\n\n if (subscription._state === 'buffering') {\n subscription._queue.push({\n type: type,\n value: value\n });\n\n return;\n }\n\n if (subscription._state !== 'ready') {\n subscription._state = 'buffering';\n subscription._queue = [{\n type: type,\n value: value\n }];\n enqueue(function () {\n return flushSubscription(subscription);\n });\n return;\n }\n\n notifySubscription(subscription, type, value);\n}\n\nvar Subscription = /*#__PURE__*/function () {\n function Subscription(observer, subscriber) {\n // ASSERT: observer is an object\n // ASSERT: subscriber is callable\n this._cleanup = undefined;\n this._observer = observer;\n this._queue = undefined;\n this._state = 'initializing';\n var subscriptionObserver = new SubscriptionObserver(this);\n\n try {\n this._cleanup = subscriber.call(undefined, subscriptionObserver);\n } catch (e) {\n subscriptionObserver.error(e);\n }\n\n if (this._state === 'initializing') this._state = 'ready';\n }\n\n var _proto = Subscription.prototype;\n\n _proto.unsubscribe = function unsubscribe() {\n if (this._state !== 'closed') {\n closeSubscription(this);\n cleanupSubscription(this);\n }\n };\n\n _createClass(Subscription, [{\n key: \"closed\",\n get: function () {\n return this._state === 'closed';\n }\n }]);\n\n return Subscription;\n}();\n\nvar SubscriptionObserver = /*#__PURE__*/function () {\n function SubscriptionObserver(subscription) {\n this._subscription = subscription;\n }\n\n var _proto2 = SubscriptionObserver.prototype;\n\n _proto2.next = function next(value) {\n onNotify(this._subscription, 'next', value);\n };\n\n _proto2.error = function error(value) {\n onNotify(this._subscription, 'error', value);\n };\n\n _proto2.complete = function complete() {\n onNotify(this._subscription, 'complete');\n };\n\n _createClass(SubscriptionObserver, [{\n key: \"closed\",\n get: function () {\n return this._subscription._state === 'closed';\n }\n }]);\n\n return SubscriptionObserver;\n}();\n\nvar Observable = /*#__PURE__*/function () {\n function Observable(subscriber) {\n if (!(this instanceof Observable)) throw new TypeError('Observable cannot be called as a function');\n if (typeof subscriber !== 'function') throw new TypeError('Observable initializer must be a function');\n this._subscriber = subscriber;\n }\n\n var _proto3 = Observable.prototype;\n\n _proto3.subscribe = function subscribe(observer) {\n if (typeof observer !== 'object' || observer === null) {\n observer = {\n next: observer,\n error: arguments[1],\n complete: arguments[2]\n };\n }\n\n return new Subscription(observer, this._subscriber);\n };\n\n _proto3.forEach = function forEach(fn) {\n var _this = this;\n\n return new Promise(function (resolve, reject) {\n if (typeof fn !== 'function') {\n reject(new TypeError(fn + ' is not a function'));\n return;\n }\n\n function done() {\n subscription.unsubscribe();\n resolve();\n }\n\n var subscription = _this.subscribe({\n next: function (value) {\n try {\n fn(value, done);\n } catch (e) {\n reject(e);\n subscription.unsubscribe();\n }\n },\n error: reject,\n complete: resolve\n });\n });\n };\n\n _proto3.map = function map(fn) {\n var _this2 = this;\n\n if (typeof fn !== 'function') throw new TypeError(fn + ' is not a function');\n var C = getSpecies(this);\n return new C(function (observer) {\n return _this2.subscribe({\n next: function (value) {\n try {\n value = fn(value);\n } catch (e) {\n return observer.error(e);\n }\n\n observer.next(value);\n },\n error: function (e) {\n observer.error(e);\n },\n complete: function () {\n observer.complete();\n }\n });\n });\n };\n\n _proto3.filter = function filter(fn) {\n var _this3 = this;\n\n if (typeof fn !== 'function') throw new TypeError(fn + ' is not a function');\n var C = getSpecies(this);\n return new C(function (observer) {\n return _this3.subscribe({\n next: function (value) {\n try {\n if (!fn(value)) return;\n } catch (e) {\n return observer.error(e);\n }\n\n observer.next(value);\n },\n error: function (e) {\n observer.error(e);\n },\n complete: function () {\n observer.complete();\n }\n });\n });\n };\n\n _proto3.reduce = function reduce(fn) {\n var _this4 = this;\n\n if (typeof fn !== 'function') throw new TypeError(fn + ' is not a function');\n var C = getSpecies(this);\n var hasSeed = arguments.length > 1;\n var hasValue = false;\n var seed = arguments[1];\n var acc = seed;\n return new C(function (observer) {\n return _this4.subscribe({\n next: function (value) {\n var first = !hasValue;\n hasValue = true;\n\n if (!first || hasSeed) {\n try {\n acc = fn(acc, value);\n } catch (e) {\n return observer.error(e);\n }\n } else {\n acc = value;\n }\n },\n error: function (e) {\n observer.error(e);\n },\n complete: function () {\n if (!hasValue && !hasSeed) return observer.error(new TypeError('Cannot reduce an empty sequence'));\n observer.next(acc);\n observer.complete();\n }\n });\n });\n };\n\n _proto3.concat = function concat() {\n var _this5 = this;\n\n for (var _len = arguments.length, sources = new Array(_len), _key = 0; _key < _len; _key++) {\n sources[_key] = arguments[_key];\n }\n\n var C = getSpecies(this);\n return new C(function (observer) {\n var subscription;\n var index = 0;\n\n function startNext(next) {\n subscription = next.subscribe({\n next: function (v) {\n observer.next(v);\n },\n error: function (e) {\n observer.error(e);\n },\n complete: function () {\n if (index === sources.length) {\n subscription = undefined;\n observer.complete();\n } else {\n startNext(C.from(sources[index++]));\n }\n }\n });\n }\n\n startNext(_this5);\n return function () {\n if (subscription) {\n subscription.unsubscribe();\n subscription = undefined;\n }\n };\n });\n };\n\n _proto3.flatMap = function flatMap(fn) {\n var _this6 = this;\n\n if (typeof fn !== 'function') throw new TypeError(fn + ' is not a function');\n var C = getSpecies(this);\n return new C(function (observer) {\n var subscriptions = [];\n\n var outer = _this6.subscribe({\n next: function (value) {\n if (fn) {\n try {\n value = fn(value);\n } catch (e) {\n return observer.error(e);\n }\n }\n\n var inner = C.from(value).subscribe({\n next: function (value) {\n observer.next(value);\n },\n error: function (e) {\n observer.error(e);\n },\n complete: function () {\n var i = subscriptions.indexOf(inner);\n if (i >= 0) subscriptions.splice(i, 1);\n completeIfDone();\n }\n });\n subscriptions.push(inner);\n },\n error: function (e) {\n observer.error(e);\n },\n complete: function () {\n completeIfDone();\n }\n });\n\n function completeIfDone() {\n if (outer.closed && subscriptions.length === 0) observer.complete();\n }\n\n return function () {\n subscriptions.forEach(function (s) {\n return s.unsubscribe();\n });\n outer.unsubscribe();\n };\n });\n };\n\n _proto3[SymbolObservable] = function () {\n return this;\n };\n\n Observable.from = function from(x) {\n var C = typeof this === 'function' ? this : Observable;\n if (x == null) throw new TypeError(x + ' is not an object');\n var method = getMethod(x, SymbolObservable);\n\n if (method) {\n var observable = method.call(x);\n if (Object(observable) !== observable) throw new TypeError(observable + ' is not an object');\n if (isObservable(observable) && observable.constructor === C) return observable;\n return new C(function (observer) {\n return observable.subscribe(observer);\n });\n }\n\n if (hasSymbol('iterator')) {\n method = getMethod(x, SymbolIterator);\n\n if (method) {\n return new C(function (observer) {\n enqueue(function () {\n if (observer.closed) return;\n\n for (var _iterator = _createForOfIteratorHelperLoose(method.call(x)), _step; !(_step = _iterator()).done;) {\n var item = _step.value;\n observer.next(item);\n if (observer.closed) return;\n }\n\n observer.complete();\n });\n });\n }\n }\n\n if (Array.isArray(x)) {\n return new C(function (observer) {\n enqueue(function () {\n if (observer.closed) return;\n\n for (var i = 0; i < x.length; ++i) {\n observer.next(x[i]);\n if (observer.closed) return;\n }\n\n observer.complete();\n });\n });\n }\n\n throw new TypeError(x + ' is not observable');\n };\n\n Observable.of = function of() {\n for (var _len2 = arguments.length, items = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n items[_key2] = arguments[_key2];\n }\n\n var C = typeof this === 'function' ? this : Observable;\n return new C(function (observer) {\n enqueue(function () {\n if (observer.closed) return;\n\n for (var i = 0; i < items.length; ++i) {\n observer.next(items[i]);\n if (observer.closed) return;\n }\n\n observer.complete();\n });\n });\n };\n\n _createClass(Observable, null, [{\n key: SymbolSpecies,\n get: function () {\n return this;\n }\n }]);\n\n return Observable;\n}();\n\nif (hasSymbols()) {\n Object.defineProperty(Observable, Symbol('extensions'), {\n value: {\n symbol: SymbolObservable,\n hostReportError: hostReportError\n },\n configurable: true\n });\n}\n\nexport { Observable };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAgC,GAAG,GAAgB;CAAE,IAAI,IAAK,OAAO,SAAW,OAAe,EAAE,OAAO,aAAa,EAAE;AAAe,KAAI,EAAI,SAAQ,IAAK,EAAG,KAAK,EAAE,EAAE,KAAK,KAAK,EAAG;AAAE,KAAI,MAAM,QAAQ,EAAE,KAAK,IAAK,EAA4B,EAAE,KAAK,KAAkB,KAAK,OAAO,EAAE,UAAW,UAAU;AAAE,EAAI,MAAI,IAAI;EAAI,IAAI,IAAI;AAAG,SAAO,WAAY;AAA4C,UAAtC,KAAK,EAAE,SAAe,EAAE,MAAM,IAAM,GAAS;IAAE,MAAM;IAAO,OAAO,EAA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AK,IAAI,IAAY,EAAgC,EAAO,KAAK,EAAE,CAAC,EAAE,GAAO,EAAE,IAAQ,GAAW,EAAE,OAAO;MACzG,IAAI,IAAO,EAAM;AAEjB,UADA,EAAS,KAAK,EAAK,EACf,EAAS,OAAQ;;AAGvB,OAAS,UAAU;;KACnB;IACF;AAIN,MAAI,MAAM,QAAQ,EAAE,CAClB,QAAO,IAAI,EAAE,SAAU,GAAU;AAC/B,KAAQ,WAAY;AACd,WAAS,QAEb;UAAK,IAAI,IAAI,GAAG,IAAI,EAAE,QAAQ,EAAE,EAE9B,KADA,EAAS,KAAK,EAAE,GAAG,EACf,EAAS,OAAQ;AAGvB,OAAS,UAAU;;KACnB;IACF;AAGJ,QAAU,UAAU,IAAI,qBAAqB;IAG/C,EAAW,KAAK,WAAc;EACvB,IAA8B,QAClB;AAIjB,SAAO,KADC,OAAO,QAAS,aAAa,OAAO,GAC/B,SAAU,GAAU;AAC/B,KAAQ,WAAY;AACd,WAAS,QAEb;UAAK,IAAI,IAAI,GAAG,IAAI,EAAM,QAAQ,EAAE,EAElC,KADA,EAAS,KAAK,EAAM,GAAG,EACnB,EAAS,OAAQ;AAGvB,OAAS,UAAU;;KACnB;IACF;IAGJ,EAAa,GAAY,MAAM,CAAC;EAC9B,KAAK;EACL,KAAK,WAAY;AACf,UAAO;;EAEV,CAAC,CAAC,EAEI;GACN;AAEC,GAAY,IACd,OAAO,eAAe,GAAY,OAAO,aAAa,EAAE;CACtD,OAAO;EACL,QAAQ;EACS;EAClB;CACD,cAAc;CACf,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { getPlatform, isNative, isIOS, isAndroid, isWeb, nativeImpact, nativeNotify, nativeToast, nativeConfirm, nativeCopyText, nativeShare, nativeOpenUrl, useNativePlatform, useSafeArea, useNativeKeyboard, useAppState, useDeviceInfo, useHaptics, useStatusBar, } from '@burdenoff/fe-libs/shared/native';
|
|
2
|
+
export type { BurdenoffNativePlatform, BurdenoffNativeBridge, SafeAreaInsets, DeviceInfo, HapticImpactStyle, HapticNotificationType, ToastDuration, ConfirmOptions, ShareOptions, AppState, StatusBarTheme, } from '@burdenoff/fe-libs/shared/native';
|
|
3
|
+
//# sourceMappingURL=nativeBridge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nativeBridge.d.ts","sourceRoot":"","sources":["../../src/utils/nativeBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,cAAc,EACd,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,UAAU,EACV,YAAY,GACb,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EACV,uBAAuB,EACvB,qBAAqB,EACrB,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,cAAc,GACf,MAAM,kCAAkC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@burdenoff/microfe-newsletter",
|
|
3
|
+
"version": "2026.510.108",
|
|
4
|
+
"description": "Burdenoff Newsletter Microfrontend - Complete newsletter campaign management interface",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"package.json",
|
|
9
|
+
"README.md"
|
|
10
|
+
],
|
|
11
|
+
"imports": {
|
|
12
|
+
"#src/*": "./src/*",
|
|
13
|
+
"#newsletter/*": "./src/newsletter/*"
|
|
14
|
+
},
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"import": "./dist/index.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"main": "./dist/index.js",
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"scripts": {
|
|
24
|
+
"dev": "vite",
|
|
25
|
+
"build": "tsc && vite build",
|
|
26
|
+
"schema:pull": "graphql-codegen --project schema-wspace && graphql-codegen --project schema-global",
|
|
27
|
+
"codegen": "graphql-codegen --project wspace && graphql-codegen --project global",
|
|
28
|
+
"codegen:all": "bun run schema:pull && bun run codegen",
|
|
29
|
+
"lint": "eslint .",
|
|
30
|
+
"lint:sanity": "if [ \"${CI:-}\" = \"true\" ]; then bun run lint; else bun run lint -- --cache --cache-location .eslintcache; fi",
|
|
31
|
+
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
32
|
+
"type:check": "tsc --noEmit",
|
|
33
|
+
"sanity": "bun run codegen && bun run lint:sanity && bun run format && bun run type:check && bun run build",
|
|
34
|
+
"switch:status": "bun scripts/deps-mode.ts status",
|
|
35
|
+
"switch:remote": "bun scripts/deps-mode.ts remote",
|
|
36
|
+
"switch:local": "bun scripts/deps-mode.ts local",
|
|
37
|
+
"switch:check": "bun scripts/deps-mode.ts check",
|
|
38
|
+
"prepare": "lefthook install || true",
|
|
39
|
+
"format:check": "prettier --check \"src/**/*.{ts,tsx}\""
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@apollo/client": "^3.12.0",
|
|
43
|
+
"@burdenoff/fe-libs": "2026.507.125",
|
|
44
|
+
"graphql": "^16.10.0",
|
|
45
|
+
"graphql-ws": "^5.16.0",
|
|
46
|
+
"lucide-react": "^0.468.0",
|
|
47
|
+
"react": "^19.0.0",
|
|
48
|
+
"react-dom": "^19.0.0",
|
|
49
|
+
"react-router-dom": "^7.1.3",
|
|
50
|
+
"zustand": "^5.0.3",
|
|
51
|
+
"@tanstack/react-query": "^5.90.16",
|
|
52
|
+
"clsx": "^2.1.1",
|
|
53
|
+
"tailwind-merge": "^3.4.0"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@eslint/js": "^9.39.2",
|
|
57
|
+
"@graphql-codegen/add": "^5.0.0",
|
|
58
|
+
"@graphql-codegen/cli": "^5.0.0",
|
|
59
|
+
"@graphql-codegen/import-types-preset": "^3.0.0",
|
|
60
|
+
"@graphql-codegen/schema-ast": "^4.0.0",
|
|
61
|
+
"@graphql-codegen/typescript": "^4.0.0",
|
|
62
|
+
"@graphql-codegen/typescript-operations": "^4.0.0",
|
|
63
|
+
"@graphql-codegen/typescript-react-apollo": "^4.0.0",
|
|
64
|
+
"@types/react": "^19.0.2",
|
|
65
|
+
"@types/react-dom": "^19.0.2",
|
|
66
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
67
|
+
"autoprefixer": "^10.4.20",
|
|
68
|
+
"eslint": "^9.18.0",
|
|
69
|
+
"eslint-plugin-react": "^7.37.5",
|
|
70
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
71
|
+
"lefthook": "^2.1.1",
|
|
72
|
+
"postcss": "^8.4.49",
|
|
73
|
+
"prettier": "^3.4.2",
|
|
74
|
+
"tailwindcss": "^4.0.0",
|
|
75
|
+
"typescript": "^5.9.0",
|
|
76
|
+
"typescript-eslint": "^8.54.0",
|
|
77
|
+
"vite": "8.0.8",
|
|
78
|
+
"vite-plugin-dts": "3.9.1"
|
|
79
|
+
},
|
|
80
|
+
"peerDependencies": {
|
|
81
|
+
"@apollo/client": "^3.12.0",
|
|
82
|
+
"react": "^19.0.0",
|
|
83
|
+
"react-dom": "^19.0.0",
|
|
84
|
+
"zustand": "^5.0.0"
|
|
85
|
+
},
|
|
86
|
+
"publishConfig": {
|
|
87
|
+
"access": "restricted"
|
|
88
|
+
},
|
|
89
|
+
"overrides": {
|
|
90
|
+
"lodash": ">=4.17.21",
|
|
91
|
+
"lodash-es": ">=4.17.21",
|
|
92
|
+
"dompurify": ">=3.3.4",
|
|
93
|
+
"fast-xml-parser": ">=4.5.5",
|
|
94
|
+
"@xmldom/xmldom": ">=0.8.12",
|
|
95
|
+
"swiper": ">=12.1.2",
|
|
96
|
+
"brace-expansion": ">=1.1.13",
|
|
97
|
+
"follow-redirects": ">=1.15.12",
|
|
98
|
+
"smol-toml": ">=1.6.1",
|
|
99
|
+
"axios": ">=1.15.0",
|
|
100
|
+
"flatted": ">=3.4.1",
|
|
101
|
+
"yaml": ">=2.8.3",
|
|
102
|
+
"picomatch": ">=2.3.2",
|
|
103
|
+
"immutable": ">=3.8.3",
|
|
104
|
+
"minimatch": ">=3.1.3"
|
|
105
|
+
}
|
|
106
|
+
}
|