@dpuse/dpuse-shared 0.3.774 → 0.3.776

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 CHANGED
@@ -142,17 +142,17 @@ _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-BRbvCPIW.js | 10.7 kB · brotli 2.3 kB |
145
+ | dist/componentConfig.schema-CK_0vKEB.js | 10.4 kB · brotli 2.2 kB |
146
146
  | dist/dpuse-shared-encoding.es.js | 6.8 kB · brotli 953 B |
147
+ | dist/dpuse-shared-componentModuleConnector.es.js | 3.6 kB · brotli 1.2 kB |
147
148
  | dist/dpuse-shared-utilities.es.js | 3.6 kB · brotli 1.1 kB |
148
149
  | dist/dpuse-shared-errors.es.js | 3.5 kB · brotli 1.1 kB |
149
- | dist/dpuse-shared-componentModuleConnector.es.js | 3.5 kB · brotli 1.1 kB |
150
150
  | dist/dpuse-shared-locale.es.js | 1.0 kB · brotli 393 B |
151
- | dist/dpuse-shared-component.es.js | 830 B · brotli 359 B |
151
+ | dist/dpuse-shared-component.es.js | 830 B · brotli 357 B |
152
152
  | dist/dpuse-shared-componentDataView.es.js | 722 B · brotli 310 B |
153
- | dist/dpuse-shared-componentModulePresenter.es.js | 411 B · brotli 222 B |
154
- | dist/moduleConfig.schema-CRVOuOCJ.js | 405 B · brotli 226 B |
155
- | dist/dpuse-shared-componentModuleCookbook.es.js | 370 B · brotli 230 B |
153
+ | dist/dpuse-shared-componentModulePresenter.es.js | 411 B · brotli 219 B |
154
+ | dist/moduleConfig.schema-Cd6AU1nb.js | 405 B · brotli 224 B |
155
+ | dist/dpuse-shared-componentModuleCookbook.es.js | 370 B · brotli 238 B |
156
156
  | dist/dpuse-shared-componentModuleTool.es.js | 325 B · brotli 223 B |
157
157
  | dist/dpuse-shared-componentRecipe.es.js | 94 B · brotli 70 B |
158
158
  | dist/dpuse-shared-componentConnection.es.js | 0 B · brotli 1 B |
@@ -1,97 +1,82 @@
1
1
  //#region node_modules/valibot/dist/index.mjs
2
- var e, t = {
2
+ var e = {
3
3
  lang: void 0,
4
4
  message: void 0,
5
5
  abortEarly: void 0,
6
6
  abortPipeEarly: void 0
7
7
  };
8
8
  /* @__NO_SIDE_EFFECTS__ */
9
- function n(n) {
10
- return !n && !e ? t : {
11
- lang: n?.lang ?? e?.lang,
12
- message: n?.message,
13
- abortEarly: n?.abortEarly ?? e?.abortEarly,
14
- abortPipeEarly: n?.abortPipeEarly ?? e?.abortPipeEarly
15
- };
16
- }
17
- var r;
18
- /* @__NO_SIDE_EFFECTS__ */
19
- function i(e) {
20
- return r?.get(e);
9
+ function t(t) {
10
+ return t ? {
11
+ lang: t?.lang ?? void 0,
12
+ message: t?.message,
13
+ abortEarly: t?.abortEarly ?? void 0,
14
+ abortPipeEarly: t?.abortPipeEarly ?? void 0
15
+ } : e;
21
16
  }
22
- var a;
23
17
  /* @__NO_SIDE_EFFECTS__ */
24
- function o(e) {
25
- return a?.get(e);
26
- }
27
- var s;
28
- /* @__NO_SIDE_EFFECTS__ */
29
- function c(e, t) {
30
- return s?.get(e)?.get(t);
31
- }
32
- /* @__NO_SIDE_EFFECTS__ */
33
- function l(e) {
18
+ function n(e) {
34
19
  let t = typeof e;
35
20
  return t === "string" ? `"${e}"` : t === "number" || t === "bigint" || t === "boolean" ? `${e}` : t === "object" || t === "function" ? (e && Object.getPrototypeOf(e)?.constructor?.name) ?? "null" : t;
36
21
  }
37
- function u(e, t, n, r, a) {
38
- let s = a && "input" in a ? a.input : n.value, u = a?.expected ?? e.expects ?? null, d = a?.received ?? /* @__PURE__ */ l(s), f = {
22
+ function r(e, t, r, i, a) {
23
+ let o = a && "input" in a ? a.input : r.value, s = a?.expected ?? e.expects ?? null, c = a?.received ?? /* @__PURE__ */ n(o), l = {
39
24
  kind: e.kind,
40
25
  type: e.type,
41
- input: s,
42
- expected: u,
43
- received: d,
44
- message: `Invalid ${t}: ${u ? `Expected ${u} but r` : "R"}eceived ${d}`,
26
+ input: o,
27
+ expected: s,
28
+ received: c,
29
+ message: `Invalid ${t}: ${s ? `Expected ${s} but r` : "R"}eceived ${c}`,
45
30
  requirement: e.requirement,
46
31
  path: a?.path,
47
32
  issues: a?.issues,
48
- lang: r.lang,
49
- abortEarly: r.abortEarly,
50
- abortPipeEarly: r.abortPipeEarly
51
- }, p = e.kind === "schema", m = a?.message ?? e.message ?? /* @__PURE__ */ c(e.reference, f.lang) ?? (p ? /* @__PURE__ */ o(f.lang) : null) ?? r.message ?? /* @__PURE__ */ i(f.lang);
52
- m !== void 0 && (f.message = typeof m == "function" ? m(f) : m), p && (n.typed = !1), n.issues ? n.issues.push(f) : n.issues = [f];
33
+ lang: i.lang,
34
+ abortEarly: i.abortEarly,
35
+ abortPipeEarly: i.abortPipeEarly
36
+ }, u = e.kind === "schema", d = a?.message ?? e.message ?? (e.reference, l.lang, void 0) ?? (u ? (l.lang, void 0) : null) ?? i.message ?? (l.lang, void 0);
37
+ d !== void 0 && (l.message = typeof d == "function" ? d(l) : d), u && (r.typed = !1), r.issues ? r.issues.push(l) : r.issues = [l];
53
38
  }
54
- var d = /* @__PURE__ */ new WeakMap();
39
+ var i = /* @__PURE__ */ new WeakMap();
55
40
  /* @__NO_SIDE_EFFECTS__ */
56
- function f(e) {
57
- let t = d.get(e);
58
- return t || (t = {
41
+ function a(e) {
42
+ let n = i.get(e);
43
+ return n || (n = {
59
44
  version: 1,
60
45
  vendor: "valibot",
61
- validate(t) {
62
- return e["~run"]({ value: t }, /* @__PURE__ */ n());
46
+ validate(n) {
47
+ return e["~run"]({ value: n }, /* @__PURE__ */ t());
63
48
  }
64
- }, d.set(e, t)), t;
49
+ }, i.set(e, n)), n;
65
50
  }
66
51
  /* @__NO_SIDE_EFFECTS__ */
67
- function p(e, t) {
52
+ function o(e, t) {
68
53
  return Object.prototype.hasOwnProperty.call(e, t) && t !== "__proto__" && t !== "prototype" && t !== "constructor";
69
54
  }
70
55
  /* @__NO_SIDE_EFFECTS__ */
71
- function m(e, t) {
56
+ function s(e, t) {
72
57
  let n = [...new Set(e)];
73
58
  return n.length > 1 ? `(${n.join(` ${t} `)})` : n[0] ?? "never";
74
59
  }
75
60
  /* @__NO_SIDE_EFFECTS__ */
76
- function h(e, t, n) {
61
+ function c(e, t, n) {
77
62
  return typeof e.fallback == "function" ? e.fallback(t, n) : e.fallback;
78
63
  }
79
64
  /* @__NO_SIDE_EFFECTS__ */
80
- function g(e, t, n) {
65
+ function l(e, t, n) {
81
66
  return typeof e.default == "function" ? e.default(t, n) : e.default;
82
67
  }
83
68
  /* @__NO_SIDE_EFFECTS__ */
84
- function _(e, t) {
69
+ function u(e, t) {
85
70
  return {
86
71
  kind: "schema",
87
72
  type: "array",
88
- reference: _,
73
+ reference: u,
89
74
  expects: "Array",
90
75
  async: !1,
91
76
  item: e,
92
77
  message: t,
93
78
  get "~standard"() {
94
- return /* @__PURE__ */ f(this);
79
+ return /* @__PURE__ */ a(this);
95
80
  },
96
81
  "~run"(e, t) {
97
82
  let n = e.value;
@@ -115,172 +100,172 @@ function _(e, t) {
115
100
  }
116
101
  a.typed || (e.typed = !1), e.value.push(a.value);
117
102
  }
118
- } else u(this, "type", e, t);
103
+ } else r(this, "type", e, t);
119
104
  return e;
120
105
  }
121
106
  };
122
107
  }
123
108
  /* @__NO_SIDE_EFFECTS__ */
124
- function v(e) {
109
+ function d(e) {
125
110
  return {
126
111
  kind: "schema",
127
112
  type: "boolean",
128
- reference: v,
113
+ reference: d,
129
114
  expects: "boolean",
130
115
  async: !1,
131
116
  message: e,
132
117
  get "~standard"() {
133
- return /* @__PURE__ */ f(this);
118
+ return /* @__PURE__ */ a(this);
134
119
  },
135
120
  "~run"(e, t) {
136
- return typeof e.value == "boolean" ? e.typed = !0 : u(this, "type", e, t), e;
121
+ return typeof e.value == "boolean" ? e.typed = !0 : r(this, "type", e, t), e;
137
122
  }
138
123
  };
139
124
  }
140
125
  /* @__NO_SIDE_EFFECTS__ */
141
- function y(e, t) {
126
+ function f(e, t) {
142
127
  return {
143
128
  kind: "schema",
144
129
  type: "literal",
145
- reference: y,
146
- expects: /* @__PURE__ */ l(e),
130
+ reference: f,
131
+ expects: /* @__PURE__ */ n(e),
147
132
  async: !1,
148
133
  literal: e,
149
134
  message: t,
150
135
  get "~standard"() {
151
- return /* @__PURE__ */ f(this);
136
+ return /* @__PURE__ */ a(this);
152
137
  },
153
138
  "~run"(e, t) {
154
- return e.value === this.literal ? e.typed = !0 : u(this, "type", e, t), e;
139
+ return e.value === this.literal ? e.typed = !0 : r(this, "type", e, t), e;
155
140
  }
156
141
  };
157
142
  }
158
143
  /* @__NO_SIDE_EFFECTS__ */
159
- function b(e, t) {
144
+ function p(e, t) {
160
145
  return {
161
146
  kind: "schema",
162
147
  type: "nullable",
163
- reference: b,
148
+ reference: p,
164
149
  expects: `(${e.expects} | null)`,
165
150
  async: !1,
166
151
  wrapped: e,
167
152
  default: t,
168
153
  get "~standard"() {
169
- return /* @__PURE__ */ f(this);
154
+ return /* @__PURE__ */ a(this);
170
155
  },
171
156
  "~run"(e, t) {
172
- return e.value === null && (this.default !== void 0 && (e.value = /* @__PURE__ */ g(this, e, t)), e.value === null) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
157
+ return e.value === null && (this.default !== void 0 && (e.value = /* @__PURE__ */ l(this, e, t)), e.value === null) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
173
158
  }
174
159
  };
175
160
  }
176
161
  /* @__NO_SIDE_EFFECTS__ */
177
- function x(e) {
162
+ function m(e) {
178
163
  return {
179
164
  kind: "schema",
180
165
  type: "number",
181
- reference: x,
166
+ reference: m,
182
167
  expects: "number",
183
168
  async: !1,
184
169
  message: e,
185
170
  get "~standard"() {
186
- return /* @__PURE__ */ f(this);
171
+ return /* @__PURE__ */ a(this);
187
172
  },
188
173
  "~run"(e, t) {
189
- return typeof e.value == "number" && !isNaN(e.value) ? e.typed = !0 : u(this, "type", e, t), e;
174
+ return typeof e.value == "number" && !isNaN(e.value) ? e.typed = !0 : r(this, "type", e, t), e;
190
175
  }
191
176
  };
192
177
  }
193
178
  /* @__NO_SIDE_EFFECTS__ */
194
- function S(e, t) {
179
+ function h(e, t) {
195
180
  return {
196
181
  kind: "schema",
197
182
  type: "object",
198
- reference: S,
183
+ reference: h,
199
184
  expects: "Object",
200
185
  async: !1,
201
186
  entries: e,
202
187
  message: t,
203
188
  get "~standard"() {
204
- return /* @__PURE__ */ f(this);
189
+ return /* @__PURE__ */ a(this);
205
190
  },
206
191
  "~run"(e, t) {
207
192
  let n = e.value;
208
193
  if (n && typeof n == "object") {
209
194
  e.typed = !0, e.value = {};
210
- for (let r in this.entries) {
211
- let i = this.entries[r];
212
- if (r in n || (i.type === "exact_optional" || i.type === "optional" || i.type === "nullish") && i.default !== void 0) {
213
- let a = r in n ? n[r] : /* @__PURE__ */ g(i), o = i["~run"]({ value: a }, t);
195
+ for (let i in this.entries) {
196
+ let a = this.entries[i];
197
+ if (i in n || (a.type === "exact_optional" || a.type === "optional" || a.type === "nullish") && a.default !== void 0) {
198
+ let r = i in n ? n[i] : /* @__PURE__ */ l(a), o = a["~run"]({ value: r }, t);
214
199
  if (o.issues) {
215
- let i = {
200
+ let a = {
216
201
  type: "object",
217
202
  origin: "value",
218
203
  input: n,
219
- key: r,
220
- value: a
204
+ key: i,
205
+ value: r
221
206
  };
222
- for (let t of o.issues) t.path ? t.path.unshift(i) : t.path = [i], e.issues?.push(t);
207
+ for (let t of o.issues) t.path ? t.path.unshift(a) : t.path = [a], e.issues?.push(t);
223
208
  if (e.issues ||= o.issues, t.abortEarly) {
224
209
  e.typed = !1;
225
210
  break;
226
211
  }
227
212
  }
228
- o.typed || (e.typed = !1), e.value[r] = o.value;
229
- } else if (i.fallback !== void 0) e.value[r] = /* @__PURE__ */ h(i);
230
- else if (i.type !== "exact_optional" && i.type !== "optional" && i.type !== "nullish" && (u(this, "key", e, t, {
213
+ o.typed || (e.typed = !1), e.value[i] = o.value;
214
+ } else if (a.fallback !== void 0) e.value[i] = /* @__PURE__ */ c(a);
215
+ else if (a.type !== "exact_optional" && a.type !== "optional" && a.type !== "nullish" && (r(this, "key", e, t, {
231
216
  input: void 0,
232
- expected: `"${r}"`,
217
+ expected: `"${i}"`,
233
218
  path: [{
234
219
  type: "object",
235
220
  origin: "key",
236
221
  input: n,
237
- key: r,
238
- value: n[r]
222
+ key: i,
223
+ value: n[i]
239
224
  }]
240
225
  }), t.abortEarly)) break;
241
226
  }
242
- } else u(this, "type", e, t);
227
+ } else r(this, "type", e, t);
243
228
  return e;
244
229
  }
245
230
  };
246
231
  }
247
232
  /* @__NO_SIDE_EFFECTS__ */
248
- function C(e, t) {
233
+ function g(e, t) {
249
234
  return {
250
235
  kind: "schema",
251
236
  type: "optional",
252
- reference: C,
237
+ reference: g,
253
238
  expects: `(${e.expects} | undefined)`,
254
239
  async: !1,
255
240
  wrapped: e,
256
241
  default: t,
257
242
  get "~standard"() {
258
- return /* @__PURE__ */ f(this);
243
+ return /* @__PURE__ */ a(this);
259
244
  },
260
245
  "~run"(e, t) {
261
- return e.value === void 0 && (this.default !== void 0 && (e.value = /* @__PURE__ */ g(this, e, t)), e.value === void 0) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
246
+ return e.value === void 0 && (this.default !== void 0 && (e.value = /* @__PURE__ */ l(this, e, t)), e.value === void 0) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
262
247
  }
263
248
  };
264
249
  }
265
250
  /* @__NO_SIDE_EFFECTS__ */
266
- function w(e, t, n) {
251
+ function _(e, t, n) {
267
252
  return {
268
253
  kind: "schema",
269
254
  type: "record",
270
- reference: w,
255
+ reference: _,
271
256
  expects: "Object",
272
257
  async: !1,
273
258
  key: e,
274
259
  value: t,
275
260
  message: n,
276
261
  get "~standard"() {
277
- return /* @__PURE__ */ f(this);
262
+ return /* @__PURE__ */ a(this);
278
263
  },
279
264
  "~run"(e, t) {
280
265
  let n = e.value;
281
266
  if (n && typeof n == "object") {
282
267
  e.typed = !0, e.value = {};
283
- for (let r in n) if (/* @__PURE__ */ p(n, r)) {
268
+ for (let r in n) if (/* @__PURE__ */ o(n, r)) {
284
269
  let i = n[r], a = this.key["~run"]({ value: r }, t);
285
270
  if (a.issues) {
286
271
  let o = {
@@ -313,87 +298,88 @@ function w(e, t, n) {
313
298
  }
314
299
  (!a.typed || !o.typed) && (e.typed = !1), a.typed && (e.value[a.value] = o.value);
315
300
  }
316
- } else u(this, "type", e, t);
301
+ } else r(this, "type", e, t);
317
302
  return e;
318
303
  }
319
304
  };
320
305
  }
321
306
  /* @__NO_SIDE_EFFECTS__ */
322
- function T(e) {
307
+ function v(e) {
323
308
  return {
324
309
  kind: "schema",
325
310
  type: "string",
326
- reference: T,
311
+ reference: v,
327
312
  expects: "string",
328
313
  async: !1,
329
314
  message: e,
330
315
  get "~standard"() {
331
- return /* @__PURE__ */ f(this);
316
+ return /* @__PURE__ */ a(this);
332
317
  },
333
318
  "~run"(e, t) {
334
- return typeof e.value == "string" ? e.typed = !0 : u(this, "type", e, t), e;
319
+ return typeof e.value == "string" ? e.typed = !0 : r(this, "type", e, t), e;
335
320
  }
336
321
  };
337
322
  }
338
323
  /* @__NO_SIDE_EFFECTS__ */
339
- function E(e) {
324
+ function y(e) {
340
325
  let t;
341
326
  if (e) for (let n of e) if (t) for (let e of n.issues) t.push(e);
342
327
  else t = n.issues;
343
328
  return t;
344
329
  }
345
330
  /* @__NO_SIDE_EFFECTS__ */
346
- function D(e, t) {
331
+ function b(e, t) {
347
332
  return {
348
333
  kind: "schema",
349
334
  type: "union",
350
- reference: D,
351
- expects: /* @__PURE__ */ m(e.map((e) => e.expects), "|"),
335
+ reference: b,
336
+ expects: /* @__PURE__ */ s(e.map((e) => e.expects), "|"),
352
337
  async: !1,
353
338
  options: e,
354
339
  message: t,
355
340
  get "~standard"() {
356
- return /* @__PURE__ */ f(this);
341
+ return /* @__PURE__ */ a(this);
357
342
  },
358
343
  "~run"(e, t) {
359
- let n, r, i;
360
- for (let a of this.options) {
361
- let o = a["~run"]({ value: e.value }, t);
362
- if (o.typed) if (o.issues) r ? r.push(o) : r = [o];
363
- else {
364
- n = o;
365
- break;
366
- }
367
- else i ? i.push(o) : i = [o];
344
+ let n, i, a;
345
+ for (let r of this.options) {
346
+ let o = r["~run"]({ value: e.value }, t);
347
+ if (o.typed) {
348
+ if (o.issues) i ? i.push(o) : i = [o];
349
+ else {
350
+ n = o;
351
+ break;
352
+ }
353
+ } else a ? a.push(o) : a = [o];
368
354
  }
369
355
  if (n) return n;
370
- if (r) {
371
- if (r.length === 1) return r[0];
372
- u(this, "type", e, t, { issues: /* @__PURE__ */ E(r) }), e.typed = !0;
373
- } else if (i?.length === 1) return i[0];
374
- else u(this, "type", e, t, { issues: /* @__PURE__ */ E(i) });
356
+ if (i) {
357
+ if (i.length === 1) return i[0];
358
+ r(this, "type", e, t, { issues: /* @__PURE__ */ y(i) }), e.typed = !0;
359
+ } else if (a?.length === 1) return a[0];
360
+ else r(this, "type", e, t, { issues: /* @__PURE__ */ y(a) });
375
361
  return e;
376
362
  }
377
363
  };
378
364
  }
379
365
  //#endregion
380
366
  //#region src/locale/locale.schema.ts
381
- var O = /* @__PURE__ */ S({
382
- en: /* @__PURE__ */ T(),
383
- es: /* @__PURE__ */ T()
384
- }), k = {
385
- id: /* @__PURE__ */ T(),
386
- label: /* @__PURE__ */ S({
387
- en: /* @__PURE__ */ C(/* @__PURE__ */ T()),
388
- es: /* @__PURE__ */ C(/* @__PURE__ */ T())
367
+ var x = /* @__PURE__ */ h({
368
+ en: /* @__PURE__ */ v(),
369
+ es: /* @__PURE__ */ v()
370
+ }), S = {
371
+ id: /* @__PURE__ */ v(),
372
+ label: /* @__PURE__ */ h({
373
+ en: /* @__PURE__ */ g(/* @__PURE__ */ v()),
374
+ es: /* @__PURE__ */ g(/* @__PURE__ */ v())
389
375
  }),
390
- description: /* @__PURE__ */ S({
391
- en: /* @__PURE__ */ C(/* @__PURE__ */ T()),
392
- es: /* @__PURE__ */ C(/* @__PURE__ */ T())
376
+ description: /* @__PURE__ */ h({
377
+ en: /* @__PURE__ */ g(/* @__PURE__ */ v()),
378
+ es: /* @__PURE__ */ g(/* @__PURE__ */ v())
393
379
  }),
394
- icon: /* @__PURE__ */ b(/* @__PURE__ */ T()),
395
- iconDark: /* @__PURE__ */ b(/* @__PURE__ */ T())
396
- }, A = (e) => /* @__PURE__ */ D(e.map((e) => /* @__PURE__ */ y(e))), j = A([
380
+ icon: /* @__PURE__ */ p(/* @__PURE__ */ v()),
381
+ iconDark: /* @__PURE__ */ p(/* @__PURE__ */ v())
382
+ }, C = (e) => /* @__PURE__ */ b(e.map((e) => /* @__PURE__ */ f(e))), w = C([
397
383
  "app",
398
384
  "connector",
399
385
  "connectorConnection",
@@ -416,31 +402,31 @@ var O = /* @__PURE__ */ S({
416
402
  "presenter",
417
403
  "presenterPresentation",
418
404
  "tool"
419
- ]), M = A([
405
+ ]), T = C([
420
406
  "amber",
421
407
  "green",
422
408
  "red"
423
- ]), N = A([
409
+ ]), E = C([
424
410
  "alpha",
425
411
  "beta",
426
412
  "releaseCandidate",
427
413
  "generalAvailability"
428
- ]), P = /* @__PURE__ */ S({
429
- color: M,
430
- label: /* @__PURE__ */ T()
431
- }), F = {
432
- ...k,
433
- typeId: j
434
- }, I = /* @__PURE__ */ S({
435
- ...F,
436
- order: /* @__PURE__ */ x(),
437
- path: /* @__PURE__ */ T()
438
- }), L = {
439
- ...F,
440
- firstCreatedAt: /* @__PURE__ */ b(/* @__PURE__ */ x()),
441
- lastUpdatedAt: /* @__PURE__ */ b(/* @__PURE__ */ x()),
442
- status: /* @__PURE__ */ b(P),
443
- statusId: /* @__PURE__ */ b(N)
444
- }, R = /* @__PURE__ */ S({ ...L });
414
+ ]), D = /* @__PURE__ */ h({
415
+ color: T,
416
+ label: /* @__PURE__ */ v()
417
+ }), O = {
418
+ ...S,
419
+ typeId: w
420
+ }, k = /* @__PURE__ */ h({
421
+ ...O,
422
+ order: /* @__PURE__ */ m(),
423
+ path: /* @__PURE__ */ v()
424
+ }), A = {
425
+ ...O,
426
+ firstCreatedAt: /* @__PURE__ */ p(/* @__PURE__ */ m()),
427
+ lastUpdatedAt: /* @__PURE__ */ p(/* @__PURE__ */ m()),
428
+ status: /* @__PURE__ */ p(D),
429
+ statusId: /* @__PURE__ */ p(E)
430
+ }, j = /* @__PURE__ */ h({ ...A });
445
431
  //#endregion
446
- export { O as a, y as c, S as d, C as f, A as i, b as l, T as m, R as n, _ as o, w as p, I as r, v as s, L as t, x as u };
432
+ 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 };
@@ -1,5 +1,5 @@
1
1
  import "./dpuse-shared-locale.es.js";
2
- import { n as e } from "./componentConfig.schema-BRbvCPIW.js";
2
+ import { n as e } from "./componentConfig.schema-CK_0vKEB.js";
3
3
  //#region src/component/index.ts
4
4
  var t = [
5
5
  {
@@ -1,7 +1,8 @@
1
1
  import { createLabelMap as e, resolveLabel as t } from "./dpuse-shared-locale.es.js";
2
- import { a as n, c as r, d as i, f as a, i as o, l as s, m as c, o as l, p as u, s as d, u as f } from "./componentConfig.schema-BRbvCPIW.js";
3
- import { t as p } from "./moduleConfig.schema-CRVOuOCJ.js";
4
- o([
2
+ import { a as n, c as r, d as i, f as a, i as o, l as s, m as c, o as l, p as u, s as d, u as f } from "./componentConfig.schema-CK_0vKEB.js";
3
+ import { t as p } from "./moduleConfig.schema-Cd6AU1nb.js";
4
+ //#region src/component/module/connector/connectorConfig.schema.ts
5
+ var m = o([
5
6
  "abortOperation",
6
7
  "auditObjectContent",
7
8
  "createObject",
@@ -17,38 +18,38 @@ o([
17
18
  "retrieveChunks",
18
19
  "retrieveRecords",
19
20
  "upsertRecords"
20
- ]);
21
- var m = o([
21
+ ]), h = o([
22
22
  "application",
23
23
  "curatedDataset",
24
24
  "database",
25
25
  "fileStore"
26
- ]), h = i({ label: n }), g = o([
26
+ ]), g = i({ label: n }), _ = o([
27
27
  "bidirectional",
28
28
  "destination",
29
29
  "source"
30
- ]), _ = i({ label: n }), v = o([
30
+ ]), v = i({ label: n }), y = o([
31
31
  "apiKey",
32
32
  "disabled",
33
33
  "oAuth2",
34
34
  "none"
35
- ]), y = i({
36
- authMethodId: v,
35
+ ]), b = i({
36
+ authMethodId: y,
37
37
  activeConnectionCount: a(f()),
38
38
  canDescribe: a(d()),
39
39
  id: a(c()),
40
40
  label: a(n),
41
41
  maxConnectionCount: s(f()),
42
42
  params: a(l(u(c(), c())))
43
- }), b = i({
43
+ }), x = i({
44
44
  ...p,
45
45
  typeId: r("connector"),
46
- category: s(h),
47
- categoryId: m,
48
- implementations: u(c(), y),
49
- usage: s(_),
50
- usageId: s(g)
51
- }), x = [
46
+ actionNames: l(m),
47
+ category: s(g),
48
+ categoryId: h,
49
+ implementations: u(c(), b),
50
+ usage: s(v),
51
+ usageId: s(_)
52
+ }), S = [
52
53
  {
53
54
  id: "application",
54
55
  label: {
@@ -77,7 +78,7 @@ var m = o([
77
78
  es: "Almacén de Archivos"
78
79
  }
79
80
  }
80
- ], S = {
81
+ ], C = {
81
82
  abortOperation: "Abort Operation",
82
83
  auditObjectContent: "Audit Object Content",
83
84
  createObject: "Create Object",
@@ -93,7 +94,7 @@ var m = o([
93
94
  retrieveChunks: "Retrieve Chunks",
94
95
  retrieveRecords: "Retrieve Records",
95
96
  upsertRecords: "Upsert Records"
96
- }, C = [
97
+ }, w = [
97
98
  {
98
99
  id: "bidirectional",
99
100
  label: {
@@ -122,12 +123,12 @@ var m = o([
122
123
  es: "Desconocido"
123
124
  }
124
125
  }
125
- ], w = /* @__PURE__ */ new Set([
126
+ ], T = /* @__PURE__ */ new Set([
126
127
  "createObject",
127
128
  "dropObject",
128
129
  "removeRecords",
129
130
  "upsertRecords"
130
- ]), T = /* @__PURE__ */ new Set([
131
+ ]), E = /* @__PURE__ */ new Set([
131
132
  "auditObjectContent",
132
133
  "findObject",
133
134
  "getInfo",
@@ -138,13 +139,13 @@ var m = o([
138
139
  "retrieveChunks",
139
140
  "retrieveRecords"
140
141
  ]);
141
- function E(e) {
142
+ function D(e) {
142
143
  let t = !1, n = !1;
143
- for (let r of e) T.has(r) && (t = !0), w.has(r) && (n = !0);
144
+ for (let r of e) E.has(r) && (t = !0), T.has(r) && (n = !0);
144
145
  return t && n ? "bidirectional" : t ? "source" : n ? "destination" : "source";
145
146
  }
146
- var D = (n, r = "en") => {
147
- let i = x.find((e) => e.id === n);
147
+ var O = (n, r = "en") => {
148
+ let i = S.find((e) => e.id === n);
148
149
  if (i) {
149
150
  let n = e(i.label);
150
151
  return {
@@ -156,8 +157,8 @@ var D = (n, r = "en") => {
156
157
  label: n,
157
158
  description: ""
158
159
  };
159
- }, O = (n, r = "en") => {
160
- let i = C.find((e) => e.id === n);
160
+ }, k = (n, r = "en") => {
161
+ let i = w.find((e) => e.id === n);
161
162
  if (i) {
162
163
  let n = e(i.label);
163
164
  return {
@@ -170,11 +171,11 @@ var D = (n, r = "en") => {
170
171
  description: ""
171
172
  };
172
173
  };
173
- function k(e) {
174
+ function A(e) {
174
175
  let t = new Set(e), n = "|Action|Supported|\n";
175
176
  n += "|:----|:-------:|\n";
176
- for (let e of Object.keys(S)) n += `| ${S[e]} | ${t.has(e) ? "✓" : ""} |\n`;
177
+ for (let e of Object.keys(C)) n += `| ${C[e]} | ${t.has(e) ? "✓" : ""} |\n`;
177
178
  return n;
178
179
  }
179
180
  //#endregion
180
- export { S as CONNECTOR_ACTION_NAME_MAP, b as connectorConfigSchema, D as constructConnectorCategoryConfig, O as constructConnectorUsageConfig, E as determineConnectorUsageId, k as getConnectorActionsTable };
181
+ export { C as CONNECTOR_ACTION_NAME_MAP, x as connectorConfigSchema, O as constructConnectorCategoryConfig, k as constructConnectorUsageConfig, D as determineConnectorUsageId, A as getConnectorActionsTable };
@@ -1,5 +1,5 @@
1
- import { c as e, d as t, i as n, o as r, r as i } from "./componentConfig.schema-BRbvCPIW.js";
2
- import { t as a } from "./moduleConfig.schema-CRVOuOCJ.js";
1
+ import { c as e, d as t, i as n, o as r, r as i } from "./componentConfig.schema-CK_0vKEB.js";
2
+ import { t as a } from "./moduleConfig.schema-Cd6AU1nb.js";
3
3
  //#region src/component/module/cookbook/cookbookConfig.schema.ts
4
4
  var o = n(["list"]), s = t({
5
5
  ...a,
@@ -1,5 +1,5 @@
1
- import { c as e, d as t, i as n, o as r, r as i } from "./componentConfig.schema-BRbvCPIW.js";
2
- import { t as a } from "./moduleConfig.schema-CRVOuOCJ.js";
1
+ import { c as e, d as t, i as n, o as r, r as i } from "./componentConfig.schema-CK_0vKEB.js";
2
+ import { t as a } from "./moduleConfig.schema-Cd6AU1nb.js";
3
3
  //#region src/component/module/presenter/presenterConfig.schema.ts
4
4
  var o = n([
5
5
  "list",
@@ -1,4 +1,4 @@
1
- import { d as e, i as t, l as n, m as r, t as i } from "./componentConfig.schema-BRbvCPIW.js";
1
+ import { d as e, i as t, l as n, m as r, t as i } from "./componentConfig.schema-CK_0vKEB.js";
2
2
  //#region src/component/module/moduleConfig.schema.ts
3
3
  var a = t([
4
4
  "app",
@@ -9,14 +9,14 @@ var a = t([
9
9
  "tool"
10
10
  ]), o = {
11
11
  ...i,
12
+ vendorAccountURL: n(r()),
13
+ vendorDocumentationURL: n(r()),
14
+ vendorHomeURL: n(r()),
12
15
  version: r()
13
16
  };
14
17
  e({
15
18
  ...o,
16
- typeId: a,
17
- vendorAccountURL: n(r()),
18
- vendorDocumentationURL: n(r()),
19
- vendorHomeURL: n(r())
19
+ typeId: a
20
20
  });
21
21
  //#endregion
22
22
  export { o as t };
@@ -18,6 +18,7 @@ export declare const connectorUsageConfigSchema: import('valibot').ObjectSchema<
18
18
  }, undefined>;
19
19
  export declare const connectorConfigSchema: import('valibot').ObjectSchema<{
20
20
  readonly typeId: import('valibot').LiteralSchema<"connector", undefined>;
21
+ readonly actionNames: import('valibot').ArraySchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"abortOperation", undefined>, import('valibot').LiteralSchema<"auditObjectContent", undefined>, import('valibot').LiteralSchema<"createObject", undefined>, import('valibot').LiteralSchema<"describeConnection", undefined>, import('valibot').LiteralSchema<"dropObject", undefined>, import('valibot').LiteralSchema<"findObject", undefined>, import('valibot').LiteralSchema<"getInfo", undefined>, import('valibot').LiteralSchema<"getReadableStream", undefined>, import('valibot').LiteralSchema<"getRecord", undefined>, import('valibot').LiteralSchema<"listNodes", undefined>, import('valibot').LiteralSchema<"previewObject", undefined>, import('valibot').LiteralSchema<"removeRecords", undefined>, import('valibot').LiteralSchema<"retrieveChunks", undefined>, import('valibot').LiteralSchema<"retrieveRecords", undefined>, import('valibot').LiteralSchema<"upsertRecords", undefined>], undefined>, undefined>;
21
22
  readonly category: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
22
23
  readonly label: import('valibot').ObjectSchema<{
23
24
  readonly en: import('valibot').StringSchema<undefined>;
@@ -44,6 +45,9 @@ export declare const connectorConfigSchema: import('valibot').ObjectSchema<{
44
45
  }, undefined>;
45
46
  }, undefined>, undefined>;
46
47
  readonly usageId: import('valibot').NullableSchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"bidirectional", undefined>, import('valibot').LiteralSchema<"destination", undefined>, import('valibot').LiteralSchema<"source", undefined>], undefined>, undefined>;
48
+ readonly vendorAccountURL: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
49
+ readonly vendorDocumentationURL: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
50
+ readonly vendorHomeURL: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
47
51
  readonly version: import('valibot').StringSchema<undefined>;
48
52
  readonly firstCreatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
49
53
  readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
@@ -18,6 +18,9 @@ export declare const cookbookConfigSchema: import('valibot').ObjectSchema<{
18
18
  readonly icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
19
19
  readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
20
20
  }, undefined>, undefined>;
21
+ readonly vendorAccountURL: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
22
+ readonly vendorDocumentationURL: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
23
+ readonly vendorHomeURL: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
21
24
  readonly version: import('valibot').StringSchema<undefined>;
22
25
  readonly firstCreatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
23
26
  readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
@@ -1,5 +1,8 @@
1
1
  export declare const moduleTypeIdSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"engine", undefined>, import('valibot').LiteralSchema<"connector", undefined>, import('valibot').LiteralSchema<"cookbook", undefined>, import('valibot').LiteralSchema<"presenter", undefined>, import('valibot').LiteralSchema<"tool", undefined>], undefined>;
2
2
  export declare const moduleConfigCoreFields: {
3
+ vendorAccountURL: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
4
+ vendorDocumentationURL: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
5
+ vendorHomeURL: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
3
6
  version: import('valibot').StringSchema<undefined>;
4
7
  firstCreatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
5
8
  lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
@@ -18,6 +18,9 @@ export declare const presenterConfigSchema: import('valibot').ObjectSchema<{
18
18
  readonly icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
19
19
  readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
20
20
  }, undefined>, undefined>;
21
+ readonly vendorAccountURL: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
22
+ readonly vendorDocumentationURL: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
23
+ readonly vendorHomeURL: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
21
24
  readonly version: import('valibot').StringSchema<undefined>;
22
25
  readonly firstCreatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
23
26
  readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-shared",
3
- "version": "0.3.774",
3
+ "version": "0.3.776",
4
4
  "private": false,
5
5
  "description": "Common constants, types and utilities used across all DPUse projects.",
6
6
  "license": "MIT",
@@ -147,17 +147,17 @@
147
147
  "test": "node -e \"import('@dpuse/dpuse-development').then(m => m.testProject())\""
148
148
  },
149
149
  "devDependencies": {
150
- "@dpuse/dpuse-development": "^0.3.703",
150
+ "@dpuse/dpuse-development": "^0.3.705",
151
151
  "@dpuse/eslint-config-dpuse": "^1.0.113",
152
152
  "@types/node": "^26.2.0",
153
153
  "eslint": "^10.8.1",
154
- "file-type": "^22.0.1",
154
+ "file-type": "^22.0.2",
155
155
  "prettier": "^3.9.6",
156
156
  "sonda": "^0.14.0",
157
157
  "typescript": "^6.0.3",
158
158
  "valibot": "^1.4.2",
159
- "vite": "^8.2.1",
159
+ "vite": "^8.2.2",
160
160
  "vite-plugin-dts": "^5.0.3",
161
- "vitest": "^4.1.10"
161
+ "vitest": "^4.1.11"
162
162
  }
163
163
  }