@dpuse/dpuse-shared 0.3.816 → 0.3.821
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 +45 -9
- package/dist/{componentConfig.schema-Dxqinpxy.js → componentConfig.schema-DT3mO5rS.js} +80 -64
- package/dist/componentConfig.schema-DT3mO5rS.js.map +1 -0
- package/dist/dpuse-shared-component.es.js +2 -2
- package/dist/dpuse-shared-component.es.js.map +1 -0
- package/dist/dpuse-shared-componentDataView.es.js +1 -1
- package/dist/dpuse-shared-componentDataView.es.js.map +1 -0
- package/dist/dpuse-shared-componentModuleConnector.es.js +17 -17
- package/dist/dpuse-shared-componentModuleConnector.es.js.map +1 -0
- package/dist/dpuse-shared-componentModuleCookbook.es.js +5 -5
- package/dist/dpuse-shared-componentModuleCookbook.es.js.map +1 -0
- package/dist/dpuse-shared-componentModulePresenter.es.js +6 -6
- package/dist/dpuse-shared-componentModulePresenter.es.js.map +1 -0
- package/dist/dpuse-shared-componentModuleTool.es.js.map +1 -0
- package/dist/dpuse-shared-componentRecipe.es.js.map +1 -0
- package/dist/dpuse-shared-encoding.es.js +229 -121
- package/dist/dpuse-shared-encoding.es.js.map +1 -0
- package/dist/dpuse-shared-errors.es.js.map +1 -0
- package/dist/dpuse-shared-locale.es.js +8 -24
- package/dist/dpuse-shared-locale.es.js.map +1 -0
- package/dist/dpuse-shared-utilities.es.js +4 -11
- package/dist/dpuse-shared-utilities.es.js.map +1 -0
- package/dist/label-DexpXrnC.js +19 -0
- package/dist/label-DexpXrnC.js.map +1 -0
- package/dist/moduleConfig.schema-aYmFWSrn.js +22 -0
- package/dist/moduleConfig.schema-aYmFWSrn.js.map +1 -0
- package/dist/types/src/baseConfig.schema.d.ts +2 -2
- package/dist/types/src/component/componentConfig.schema.d.ts +13 -14
- package/dist/types/src/component/connection/index.d.ts +1 -1
- package/dist/types/src/component/context/model/dimension/hierarchy/index.d.ts +1 -1
- package/dist/types/src/component/context/model/entity/dataItem/index.d.ts +1 -1
- package/dist/types/src/component/context/model/entity/event/index.d.ts +1 -1
- package/dist/types/src/component/context/model/entity/index.d.ts +1 -1
- package/dist/types/src/component/context/model/entity/primaryMeasure/index.d.ts +1 -1
- package/dist/types/src/component/index.d.ts +3 -3
- package/dist/types/src/component/module/connector/connectorConfig.schema.d.ts +14 -14
- package/dist/types/src/component/module/cookbook/cookbookConfig.schema.d.ts +7 -7
- package/dist/types/src/component/module/engine/index.d.ts +3 -2
- package/dist/types/src/component/module/moduleConfig.schema.d.ts +7 -7
- package/dist/types/src/component/module/presenter/presenterConfig.schema.d.ts +7 -7
- package/dist/types/src/encoding/index.d.ts +22 -6
- package/dist/types/src/index.d.ts +2 -2
- package/dist/types/src/locale/index.d.ts +2 -14
- package/dist/types/src/locale/label.d.ts +13 -0
- package/dist/types/src/locale/locale.schema.d.ts +3 -3
- package/package.json +14 -8
- package/dist/moduleConfig.schema-B_EBeUaj.js +0 -22
- package/dist/types/eslint.config.d.ts +0 -3
- package/dist/types/tests/errors/index.test.d.ts +0 -1
- package/dist/types/tests/locale/index.test.d.ts +0 -1
- package/dist/types/tests/schema/index.test.d.ts +0 -1
- package/dist/types/tests/utilities/index.test.d.ts +0 -1
- package/dist/types/vite.config.d.ts +0 -2
- package/dist/types/vitest.config.d.ts +0 -2
package/README.md
CHANGED
|
@@ -142,19 +142,55 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
|
|
|
142
142
|
|
|
143
143
|
|Chunk/Module/File|Composition|
|
|
144
144
|
|:------ |:-----------|
|
|
145
|
-
| dist/componentConfig.schema-
|
|
146
|
-
| dist/
|
|
145
|
+
| dist/componentConfig.schema-DT3mO5rS.js | 10.2 kB · brotli 2.3 kB |
|
|
146
|
+
| valibot → dist/index.mjs | `████░░░░░░░░░░░░░░░░` 21.4% |
|
|
147
|
+
| (unassigned) → [unassigned] | `█░░░░░░░░░░░░░░░░░░░` 5.4% |
|
|
148
|
+
| src | `█░░░░░░░░░░░░░░░░░░░` 4.3% |
|
|
149
|
+
| componentConfig.schema.ts | `█░░░░░░░░░░░░░░░░░░░` 2.8% |
|
|
150
|
+
| locale.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 0.8% |
|
|
151
|
+
| baseConfig.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 0.6% |
|
|
152
|
+
| schema.ts | `░░░░░░░░░░░░░░░░░░░░` 0.2% |
|
|
153
|
+
| dist/dpuse-shared-encoding.es.js | 7.3 kB · brotli 1.3 kB |
|
|
154
|
+
| (unassigned) → [unassigned] | `████░░░░░░░░░░░░░░░░` 20.9% |
|
|
155
|
+
| src → index.ts | `░░░░░░░░░░░░░░░░░░░░` 1.3% |
|
|
147
156
|
| dist/dpuse-shared-componentModuleConnector.es.js | 3.6 kB · brotli 1.2 kB |
|
|
148
|
-
|
|
|
157
|
+
| src | `██░░░░░░░░░░░░░░░░░░` 8.6% |
|
|
158
|
+
| index.ts | `█░░░░░░░░░░░░░░░░░░░` 6.2% |
|
|
159
|
+
| connectorConfig.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 2.4% |
|
|
160
|
+
| (unassigned) → [unassigned] | `░░░░░░░░░░░░░░░░░░░░` 2.3% |
|
|
149
161
|
| dist/dpuse-shared-errors.es.js | 3.5 kB · brotli 1.1 kB |
|
|
150
|
-
|
|
|
151
|
-
|
|
|
162
|
+
| src → index.ts | `██░░░░░░░░░░░░░░░░░░` 9.4% |
|
|
163
|
+
| (unassigned) → [unassigned] | `░░░░░░░░░░░░░░░░░░░░` 1.3% |
|
|
164
|
+
| dist/dpuse-shared-utilities.es.js | 3.5 kB · brotli 1.1 kB |
|
|
165
|
+
| src → index.ts | `██░░░░░░░░░░░░░░░░░░` 9.2% |
|
|
166
|
+
| (unassigned) → [unassigned] | `░░░░░░░░░░░░░░░░░░░░` 1.4% |
|
|
167
|
+
| dist/dpuse-shared-locale.es.js | 856 B · brotli 330 B |
|
|
168
|
+
| src → index.ts | `░░░░░░░░░░░░░░░░░░░░` 1.6% |
|
|
169
|
+
| (unassigned) → [unassigned] | `░░░░░░░░░░░░░░░░░░░░` 0.9% |
|
|
170
|
+
| dist/dpuse-shared-component.es.js | 834 B · brotli 363 B |
|
|
171
|
+
| src → index.ts | `░░░░░░░░░░░░░░░░░░░░` 1.6% |
|
|
172
|
+
| (unassigned) → [unassigned] | `░░░░░░░░░░░░░░░░░░░░` 0.9% |
|
|
152
173
|
| dist/dpuse-shared-componentModuleTool.es.js | 784 B · brotli 398 B |
|
|
153
|
-
|
|
|
154
|
-
|
|
|
155
|
-
| dist/
|
|
156
|
-
|
|
|
174
|
+
| src → index.ts | `░░░░░░░░░░░░░░░░░░░░` 1.7% |
|
|
175
|
+
| (unassigned) → [unassigned] | `░░░░░░░░░░░░░░░░░░░░` 0.6% |
|
|
176
|
+
| dist/dpuse-shared-componentDataView.es.js | 701 B · brotli 297 B |
|
|
177
|
+
| src → index.ts | `░░░░░░░░░░░░░░░░░░░░` 1.6% |
|
|
178
|
+
| (unassigned) → [unassigned] | `░░░░░░░░░░░░░░░░░░░░` 0.5% |
|
|
179
|
+
| dist/dpuse-shared-componentModulePresenter.es.js | 411 B · brotli 225 B |
|
|
180
|
+
| (unassigned) → [unassigned] | `░░░░░░░░░░░░░░░░░░░░` 0.8% |
|
|
181
|
+
| src → presenterConfig.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 0.4% |
|
|
182
|
+
| dist/moduleConfig.schema-aYmFWSrn.js | 405 B · brotli 225 B |
|
|
183
|
+
| src → moduleConfig.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 0.6% |
|
|
184
|
+
| (unassigned) → [unassigned] | `░░░░░░░░░░░░░░░░░░░░` 0.6% |
|
|
185
|
+
| dist/dpuse-shared-componentModuleCookbook.es.js | 370 B · brotli 212 B |
|
|
186
|
+
| (unassigned) → [unassigned] | `░░░░░░░░░░░░░░░░░░░░` 0.8% |
|
|
187
|
+
| src → cookbookConfig.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 0.3% |
|
|
188
|
+
| dist/label-DexpXrnC.js | 361 B · brotli 204 B |
|
|
189
|
+
| src → label.ts | `░░░░░░░░░░░░░░░░░░░░` 0.8% |
|
|
190
|
+
| (unassigned) → [unassigned] | `░░░░░░░░░░░░░░░░░░░░` 0.3% |
|
|
157
191
|
| dist/dpuse-shared-componentRecipe.es.js | 94 B · brotli 70 B |
|
|
192
|
+
| (unassigned) → [unassigned] | `░░░░░░░░░░░░░░░░░░░░` 0.2% |
|
|
193
|
+
| src → index.ts | `░░░░░░░░░░░░░░░░░░░░` 0.0% |
|
|
158
194
|
| dist/dpuse-shared-componentConnection.es.js | 0 B · brotli 1 B |
|
|
159
195
|
| dist/dpuse-shared-componentContext.es.js | 0 B · brotli 1 B |
|
|
160
196
|
| dist/dpuse-shared-componentContextModel.es.js | 0 B · brotli 1 B |
|
|
@@ -161,61 +161,10 @@ function m(e) {
|
|
|
161
161
|
}
|
|
162
162
|
/* @__NO_SIDE_EFFECTS__ */
|
|
163
163
|
function h(e, t) {
|
|
164
|
-
return s({
|
|
165
|
-
kind: "schema",
|
|
166
|
-
type: "object",
|
|
167
|
-
reference: h,
|
|
168
|
-
expects: "Object",
|
|
169
|
-
async: !1,
|
|
170
|
-
entries: e,
|
|
171
|
-
message: t,
|
|
172
|
-
"~run"(e, t) {
|
|
173
|
-
let n = e.value;
|
|
174
|
-
if (n && typeof n == "object") {
|
|
175
|
-
e.typed = !0, e.value = {};
|
|
176
|
-
for (let i in this.entries) {
|
|
177
|
-
let a = this.entries[i];
|
|
178
|
-
if (i in n || (a.type === "exact_optional" || a.type === "optional" || a.type === "nullish") && a.default !== void 0) {
|
|
179
|
-
let r = i in n ? n[i] : /* @__PURE__ */ l(a), o = a["~run"]({ value: r }, t);
|
|
180
|
-
if (o.issues) {
|
|
181
|
-
let a = {
|
|
182
|
-
type: "object",
|
|
183
|
-
origin: "value",
|
|
184
|
-
input: n,
|
|
185
|
-
key: i,
|
|
186
|
-
value: r
|
|
187
|
-
};
|
|
188
|
-
for (let t of o.issues) t.path ? t.path.unshift(a) : t.path = [a], e.issues?.push(t);
|
|
189
|
-
if (e.issues ||= o.issues, t.abortEarly) {
|
|
190
|
-
e.typed = !1;
|
|
191
|
-
break;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
o.typed || (e.typed = !1), e.value[i] = o.value;
|
|
195
|
-
} else if (a.fallback !== void 0) e.value[i] = /* @__PURE__ */ c(a);
|
|
196
|
-
else if (a.type !== "exact_optional" && a.type !== "optional" && a.type !== "nullish" && (r(this, "key", e, t, {
|
|
197
|
-
input: void 0,
|
|
198
|
-
expected: `"${i}"`,
|
|
199
|
-
path: [{
|
|
200
|
-
type: "object",
|
|
201
|
-
origin: "key",
|
|
202
|
-
input: n,
|
|
203
|
-
key: i,
|
|
204
|
-
value: n[i]
|
|
205
|
-
}]
|
|
206
|
-
}), t.abortEarly)) break;
|
|
207
|
-
}
|
|
208
|
-
} else r(this, "type", e, t);
|
|
209
|
-
return e;
|
|
210
|
-
}
|
|
211
|
-
});
|
|
212
|
-
}
|
|
213
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
214
|
-
function g(e, t) {
|
|
215
164
|
return s({
|
|
216
165
|
kind: "schema",
|
|
217
166
|
type: "optional",
|
|
218
|
-
reference:
|
|
167
|
+
reference: h,
|
|
219
168
|
expects: `(${e.expects} | undefined)`,
|
|
220
169
|
async: !1,
|
|
221
170
|
wrapped: e,
|
|
@@ -226,11 +175,11 @@ function g(e, t) {
|
|
|
226
175
|
});
|
|
227
176
|
}
|
|
228
177
|
/* @__NO_SIDE_EFFECTS__ */
|
|
229
|
-
function
|
|
178
|
+
function g(e, t, n) {
|
|
230
179
|
return s({
|
|
231
180
|
kind: "schema",
|
|
232
181
|
type: "record",
|
|
233
|
-
reference:
|
|
182
|
+
reference: g,
|
|
234
183
|
expects: "Object",
|
|
235
184
|
async: !1,
|
|
236
185
|
key: e,
|
|
@@ -279,6 +228,73 @@ function _(e, t, n) {
|
|
|
279
228
|
});
|
|
280
229
|
}
|
|
281
230
|
/* @__NO_SIDE_EFFECTS__ */
|
|
231
|
+
function _(e, t) {
|
|
232
|
+
return s({
|
|
233
|
+
kind: "schema",
|
|
234
|
+
type: "strict_object",
|
|
235
|
+
reference: _,
|
|
236
|
+
expects: "Object",
|
|
237
|
+
async: !1,
|
|
238
|
+
entries: e,
|
|
239
|
+
message: t,
|
|
240
|
+
"~run"(e, t) {
|
|
241
|
+
let n = e.value;
|
|
242
|
+
if (n && typeof n == "object") {
|
|
243
|
+
e.typed = !0, e.value = {};
|
|
244
|
+
for (let i in this.entries) {
|
|
245
|
+
let a = this.entries[i];
|
|
246
|
+
if (i in n || (a.type === "exact_optional" || a.type === "optional" || a.type === "nullish") && a.default !== void 0) {
|
|
247
|
+
let r = i in n ? n[i] : /* @__PURE__ */ l(a), o = a["~run"]({ value: r }, t);
|
|
248
|
+
if (o.issues) {
|
|
249
|
+
let a = {
|
|
250
|
+
type: "object",
|
|
251
|
+
origin: "value",
|
|
252
|
+
input: n,
|
|
253
|
+
key: i,
|
|
254
|
+
value: r
|
|
255
|
+
};
|
|
256
|
+
for (let t of o.issues) t.path ? t.path.unshift(a) : t.path = [a], e.issues?.push(t);
|
|
257
|
+
if (e.issues ||= o.issues, t.abortEarly) {
|
|
258
|
+
e.typed = !1;
|
|
259
|
+
break;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
o.typed || (e.typed = !1), e.value[i] = o.value;
|
|
263
|
+
} else if (a.fallback !== void 0) e.value[i] = /* @__PURE__ */ c(a);
|
|
264
|
+
else if (a.type !== "exact_optional" && a.type !== "optional" && a.type !== "nullish" && (r(this, "key", e, t, {
|
|
265
|
+
input: void 0,
|
|
266
|
+
expected: `"${i}"`,
|
|
267
|
+
path: [{
|
|
268
|
+
type: "object",
|
|
269
|
+
origin: "key",
|
|
270
|
+
input: n,
|
|
271
|
+
key: i,
|
|
272
|
+
value: n[i]
|
|
273
|
+
}]
|
|
274
|
+
}), t.abortEarly)) break;
|
|
275
|
+
}
|
|
276
|
+
if (!e.issues || !t.abortEarly) {
|
|
277
|
+
for (let i in n) if (!Object.prototype.hasOwnProperty.call(this.entries, i)) {
|
|
278
|
+
r(this, "key", e, t, {
|
|
279
|
+
input: i,
|
|
280
|
+
expected: "never",
|
|
281
|
+
path: [{
|
|
282
|
+
type: "object",
|
|
283
|
+
origin: "key",
|
|
284
|
+
input: n,
|
|
285
|
+
key: i,
|
|
286
|
+
value: n[i]
|
|
287
|
+
}]
|
|
288
|
+
});
|
|
289
|
+
break;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
} else r(this, "type", e, t);
|
|
293
|
+
return e;
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
282
298
|
function v(e) {
|
|
283
299
|
return s({
|
|
284
300
|
kind: "schema",
|
|
@@ -333,18 +349,18 @@ function b(e, t) {
|
|
|
333
349
|
}
|
|
334
350
|
//#endregion
|
|
335
351
|
//#region src/locale/locale.schema.ts
|
|
336
|
-
var x = /* @__PURE__ */
|
|
352
|
+
var x = /* @__PURE__ */ _({
|
|
337
353
|
en: /* @__PURE__ */ v(),
|
|
338
354
|
es: /* @__PURE__ */ v()
|
|
339
355
|
}), S = {
|
|
340
356
|
id: /* @__PURE__ */ v(),
|
|
341
|
-
label: /* @__PURE__ */
|
|
342
|
-
en: /* @__PURE__ */
|
|
343
|
-
es: /* @__PURE__ */
|
|
357
|
+
label: /* @__PURE__ */ _({
|
|
358
|
+
en: /* @__PURE__ */ h(/* @__PURE__ */ v()),
|
|
359
|
+
es: /* @__PURE__ */ h(/* @__PURE__ */ v())
|
|
344
360
|
}),
|
|
345
|
-
description: /* @__PURE__ */
|
|
346
|
-
en: /* @__PURE__ */
|
|
347
|
-
es: /* @__PURE__ */
|
|
361
|
+
description: /* @__PURE__ */ _({
|
|
362
|
+
en: /* @__PURE__ */ h(/* @__PURE__ */ v()),
|
|
363
|
+
es: /* @__PURE__ */ h(/* @__PURE__ */ v())
|
|
348
364
|
}),
|
|
349
365
|
icon: /* @__PURE__ */ p(/* @__PURE__ */ v()),
|
|
350
366
|
iconDark: /* @__PURE__ */ p(/* @__PURE__ */ v())
|
|
@@ -379,13 +395,13 @@ var x = /* @__PURE__ */ h({
|
|
|
379
395
|
"beta",
|
|
380
396
|
"releaseCandidate",
|
|
381
397
|
"generalAvailability"
|
|
382
|
-
]), D = /* @__PURE__ */
|
|
398
|
+
]), D = /* @__PURE__ */ _({
|
|
383
399
|
color: T,
|
|
384
400
|
label: /* @__PURE__ */ v()
|
|
385
401
|
}), O = {
|
|
386
402
|
...S,
|
|
387
403
|
typeId: w
|
|
388
|
-
}, k = /* @__PURE__ */
|
|
404
|
+
}, k = /* @__PURE__ */ _({
|
|
389
405
|
...O,
|
|
390
406
|
order: /* @__PURE__ */ m(),
|
|
391
407
|
path: /* @__PURE__ */ v()
|
|
@@ -395,6 +411,6 @@ var x = /* @__PURE__ */ h({
|
|
|
395
411
|
lastUpdatedAt: /* @__PURE__ */ p(/* @__PURE__ */ m()),
|
|
396
412
|
status: /* @__PURE__ */ p(D),
|
|
397
413
|
statusId: /* @__PURE__ */ p(E)
|
|
398
|
-
}, j = /* @__PURE__ */
|
|
414
|
+
}, j = /* @__PURE__ */ _({ ...A });
|
|
399
415
|
//#endregion
|
|
400
416
|
export { x as a, f as c, h as d, g as f, C as i, p as l, v as m, j as n, u as o, _ as p, k as r, d as s, A as t, m as u };
|