pangea-lib 2.11.58 → 2.11.59

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/dist/main.es.js CHANGED
@@ -17702,12 +17702,12 @@ const L8 = /* @__PURE__ */ b2(B71, [["__scopeId", "data-v-c0ae234c"]]), E71 = {
17702
17702
  }
17703
17703
  }, W71 = {
17704
17704
  // alert
17705
- Alert: E71,
17705
+ alert: E71,
17706
17706
  // components
17707
- PgaDatePicker: $71,
17708
- PgaModal: I71,
17707
+ pgaDatePicker: $71,
17708
+ pgaModal: I71,
17709
17709
  // notifications
17710
- Notifications: Y71
17710
+ notifications: Y71
17711
17711
  };
17712
17712
  function q71(e, c) {
17713
17713
  return E8(
@@ -17755,7 +17755,7 @@ const { getLanguage: yh1, setLanguage: Lh1, useI18n: X7 } = U71("pga-i18n", "es"
17755
17755
  }),
17756
17756
  emits: /* @__PURE__ */ E6(["accept"], ["update:modelValue"]),
17757
17757
  setup(e, { emit: c }) {
17758
- const a = A0(e, "modelValue"), t = c, n = X7("PgaModal");
17758
+ const a = A0(e, "modelValue"), t = c, n = X7("pgaModal");
17759
17759
  return (i, r) => a.value ? (P(), q("div", {
17760
17760
  key: 0,
17761
17761
  class: "modal",
@@ -17799,7 +17799,7 @@ const { getLanguage: yh1, setLanguage: Lh1, useI18n: X7 } = U71("pga-i18n", "es"
17799
17799
  ], 32)) : e1("", !0);
17800
17800
  }
17801
17801
  });
17802
- const K71 = /* @__PURE__ */ b2(X71, [["__scopeId", "data-v-08ee3fa2"]]), J71 = { class: "selector-container" }, ee1 = { class: "selector" }, ce1 = ["onClick"], ae1 = /* @__PURE__ */ O1({
17802
+ const K71 = /* @__PURE__ */ b2(X71, [["__scopeId", "data-v-92c285ca"]]), J71 = { class: "selector-container" }, ee1 = { class: "selector" }, ce1 = ["onClick"], ae1 = /* @__PURE__ */ O1({
17803
17803
  __name: "PgaSelector",
17804
17804
  props: /* @__PURE__ */ E6({
17805
17805
  label: { type: [String, Function] },
@@ -32851,15 +32851,15 @@ const Ds1 = /* @__PURE__ */ O1({
32851
32851
  emits: ["update:modelValue"],
32852
32852
  setup(e) {
32853
32853
  d6((i) => ({
32854
- "3fe0d92f": y(t).input.fontSize,
32855
- "4a5e1c10": y(t).input.borderColor,
32856
- cfc606c6: y(t).input.borderRadius,
32857
- "58aa10f8": y(t).input.color,
32858
- dfc66c94: y(t).input.backgroundColor,
32859
- "28295b5c": y(t).input.backgroundColorDisabled,
32860
- "525dedc0": y(t).input.borderColorFocus
32854
+ "34f7013c": y(t).input.fontSize,
32855
+ "79dabae5": y(t).input.borderColor,
32856
+ "4b675d60": y(t).input.borderRadius,
32857
+ "4c453631": y(t).input.color,
32858
+ dbe357ba: y(t).input.backgroundColor,
32859
+ "71d61fbf": y(t).input.backgroundColorDisabled,
32860
+ e2c49e1a: y(t).input.borderColorFocus
32861
32861
  }));
32862
- const c = A0(e, "modelValue"), a = X7("PgaDatePicker"), { formOptions: t } = g0(S4()), n = o1(!1);
32862
+ const c = A0(e, "modelValue"), a = X7("pgaDatePicker"), { formOptions: t } = g0(S4()), n = o1(!1);
32863
32863
  return (i, r) => (P(), P1(K8, {
32864
32864
  label: i.label,
32865
32865
  withLabelSpace: i.withLabelSpace,
@@ -32887,7 +32887,7 @@ const Ds1 = /* @__PURE__ */ O1({
32887
32887
  }, 8, ["label", "withLabelSpace", "errors", "grow"]));
32888
32888
  }
32889
32889
  });
32890
- const Fs1 = /* @__PURE__ */ b2(Ds1, [["__scopeId", "data-v-3b92a8b4"]]), Os1 = { class: "input-container" }, Rs1 = ["type", "placeholder", "step", "disabled"], Bs1 = /* @__PURE__ */ O1({
32890
+ const Fs1 = /* @__PURE__ */ b2(Ds1, [["__scopeId", "data-v-b0988483"]]), Os1 = { class: "input-container" }, Rs1 = ["type", "placeholder", "step", "disabled"], Bs1 = /* @__PURE__ */ O1({
32891
32891
  __name: "PgaInput",
32892
32892
  props: /* @__PURE__ */ E6({
32893
32893
  type: { default: "text" },
@@ -33183,7 +33183,7 @@ function so1() {
33183
33183
  const oo1 = { class: "notifications" }, lo1 = /* @__PURE__ */ O1({
33184
33184
  __name: "Notifications",
33185
33185
  setup(e) {
33186
- const c = X7("Notifications"), { notificationsOptions: a } = g0(S4()), { notifications: t } = g0(i6());
33186
+ const c = X7("notifications"), { notificationsOptions: a } = g0(S4()), { notifications: t } = g0(i6());
33187
33187
  return (n, i) => (P(), q("div", oo1, [
33188
33188
  t2(CM, { name: "notifications--transition-group" }, {
33189
33189
  default: B1(() => [
@@ -33215,7 +33215,7 @@ const oo1 = { class: "notifications" }, lo1 = /* @__PURE__ */ O1({
33215
33215
  ]));
33216
33216
  }
33217
33217
  });
33218
- const fo1 = /* @__PURE__ */ b2(lo1, [["__scopeId", "data-v-3072ae47"]]);
33218
+ const fo1 = /* @__PURE__ */ b2(lo1, [["__scopeId", "data-v-28934dee"]]);
33219
33219
  function uo1() {
33220
33220
  const e = document.createElement("div");
33221
33221
  document.body.appendChild(e), U9({
@@ -33232,7 +33232,7 @@ const ho1 = { class: "alert" }, do1 = { class: "alert--content" }, mo1 = ["textC
33232
33232
  handleCloseFn: { type: Function }
33233
33233
  },
33234
33234
  setup(e) {
33235
- const c = j9.directive, a = X7("Alert");
33235
+ const c = j9.directive, a = X7("alert");
33236
33236
  return (t, n) => (P(), q("div", ho1, [
33237
33237
  T6((P(), q("div", do1, [
33238
33238
  t2(B3, {
@@ -33269,7 +33269,7 @@ const ho1 = { class: "alert" }, do1 = { class: "alert--content" }, mo1 = ["textC
33269
33269
  ]));
33270
33270
  }
33271
33271
  });
33272
- const zo1 = /* @__PURE__ */ b2(po1, [["__scopeId", "data-v-ca6a87ce"]]);
33272
+ const zo1 = /* @__PURE__ */ b2(po1, [["__scopeId", "data-v-3b45909b"]]);
33273
33273
  function kh1(e, c) {
33274
33274
  const a = document.createElement("div");
33275
33275
  document.body.appendChild(a);
@@ -1,24 +1,24 @@
1
1
  declare const _default: {
2
- Alert: {
2
+ alert: {
3
3
  es: {
4
4
  alertTitle: string;
5
5
  cancelBtn: string;
6
6
  acceptBtn: string;
7
7
  };
8
8
  };
9
- PgaDatePicker: {
9
+ pgaDatePicker: {
10
10
  es: {
11
11
  cancelBtn: string;
12
12
  selectBtn: string;
13
13
  };
14
14
  };
15
- PgaModal: {
15
+ pgaModal: {
16
16
  es: {
17
17
  cancelBtn: string;
18
18
  acceptBtn: string;
19
19
  };
20
20
  };
21
- Notifications: {
21
+ notifications: {
22
22
  es: {
23
23
  removeAllBtn: string;
24
24
  };
@@ -1,74 +1,74 @@
1
- export declare const getLanguage: () => "es", setLanguage: (language: "es") => void, useI18n: <FN extends "Alert" | "PgaDatePicker" | "PgaModal" | "Notifications", MP extends void | import('pangea-helpers').ExtractPrefixes<{
2
- Alert: {
1
+ export declare const getLanguage: () => "es", setLanguage: (language: "es") => void, useI18n: <FN extends "notifications" | "alert" | "pgaDatePicker" | "pgaModal", MP extends void | import('pangea-helpers').ExtractPrefixes<{
2
+ alert: {
3
3
  es: {
4
4
  alertTitle: string;
5
5
  cancelBtn: string;
6
6
  acceptBtn: string;
7
7
  };
8
8
  };
9
- PgaDatePicker: {
9
+ pgaDatePicker: {
10
10
  es: {
11
11
  cancelBtn: string;
12
12
  selectBtn: string;
13
13
  };
14
14
  };
15
- PgaModal: {
15
+ pgaModal: {
16
16
  es: {
17
17
  cancelBtn: string;
18
18
  acceptBtn: string;
19
19
  };
20
20
  };
21
- Notifications: {
21
+ notifications: {
22
22
  es: {
23
23
  removeAllBtn: string;
24
24
  };
25
25
  };
26
26
  }[FN]["es"]> = void>(fileName: FN, messagesPrefix?: MP) => (messageKey: MP extends void ? Exclude<keyof {
27
- Alert: {
27
+ alert: {
28
28
  es: {
29
29
  alertTitle: string;
30
30
  cancelBtn: string;
31
31
  acceptBtn: string;
32
32
  };
33
33
  };
34
- PgaDatePicker: {
34
+ pgaDatePicker: {
35
35
  es: {
36
36
  cancelBtn: string;
37
37
  selectBtn: string;
38
38
  };
39
39
  };
40
- PgaModal: {
40
+ pgaModal: {
41
41
  es: {
42
42
  cancelBtn: string;
43
43
  acceptBtn: string;
44
44
  };
45
45
  };
46
- Notifications: {
46
+ notifications: {
47
47
  es: {
48
48
  removeAllBtn: string;
49
49
  };
50
50
  };
51
51
  }[FN]["es"], `${string}__${string}`> : MP extends string ? import('pangea-helpers').ExtractSuffixes<{
52
- Alert: {
52
+ alert: {
53
53
  es: {
54
54
  alertTitle: string;
55
55
  cancelBtn: string;
56
56
  acceptBtn: string;
57
57
  };
58
58
  };
59
- PgaDatePicker: {
59
+ pgaDatePicker: {
60
60
  es: {
61
61
  cancelBtn: string;
62
62
  selectBtn: string;
63
63
  };
64
64
  };
65
- PgaModal: {
65
+ pgaModal: {
66
66
  es: {
67
67
  cancelBtn: string;
68
68
  acceptBtn: string;
69
69
  };
70
70
  };
71
- Notifications: {
71
+ notifications: {
72
72
  es: {
73
73
  removeAllBtn: string;
74
74
  };
@@ -7,7 +7,4 @@ export * from './image';
7
7
  export * from './populate';
8
8
  export * from './size';
9
9
  export type Id = any;
10
- export type ConstructorParams<T> = {
11
- [K in keyof T]?: T[K];
12
- };
13
10
  export type TextProp = string | (() => string);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "2.11.58",
4
+ "version": "2.11.59",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea#readme",