pangea-lib 4.0.280 → 4.0.282

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.
@@ -1,4 +1,4 @@
1
- import { Size, Icon } from '../types';
1
+ import { Icon, Size } from '../types';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
4
  icon: Icon;
@@ -43,9 +43,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
43
43
  align: string;
44
44
  color: string;
45
45
  }>>>, {
46
+ type: ButtonType;
46
47
  size: ButtonSize;
47
48
  color: string;
48
- type: ButtonType;
49
49
  align: Align;
50
50
  }, {}>, {
51
51
  default?(_: {}): any;
@@ -1,9 +1,9 @@
1
- import { StrOrFn, InputError } from '../../../types';
1
+ import { StrOrFn, InputError, Icon } from '../../../types';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<{
4
4
  modelValue: {
5
5
  required: true;
6
- type: import('vue').PropType<import('@fortawesome/fontawesome-common-types').IconName>;
6
+ type: import('vue').PropType<Icon>;
7
7
  };
8
8
  label: {
9
9
  type: import('vue').PropType<StrOrFn>;
@@ -35,7 +35,7 @@ declare const _default: import('vue').DefineComponent<{
35
35
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
36
36
  modelValue: {
37
37
  required: true;
38
- type: import('vue').PropType<import('@fortawesome/fontawesome-common-types').IconName>;
38
+ type: import('vue').PropType<Icon>;
39
39
  };
40
40
  label: {
41
41
  type: import('vue').PropType<StrOrFn>;
@@ -14,13 +14,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
14
14
  info: {
15
15
  type: import('vue').PropType<StrOrFn>;
16
16
  };
17
- label: {
18
- type: import('vue').PropType<StrOrFn>;
19
- };
20
17
  type: {
21
18
  type: import('vue').PropType<PropsType>;
22
19
  default: string;
23
20
  };
21
+ label: {
22
+ type: import('vue').PropType<StrOrFn>;
23
+ };
24
24
  disabled: {
25
25
  type: import('vue').PropType<boolean>;
26
26
  };
@@ -51,8 +51,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
51
51
  }, {
52
52
  focus: typeof focus;
53
53
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
54
- change: (newValue: ModelValue) => void;
55
54
  enter: () => void;
55
+ change: (newValue: ModelValue) => void;
56
56
  valueCleared: () => void;
57
57
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
58
58
  modelValue: {
@@ -65,13 +65,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
65
65
  info: {
66
66
  type: import('vue').PropType<StrOrFn>;
67
67
  };
68
- label: {
69
- type: import('vue').PropType<StrOrFn>;
70
- };
71
68
  type: {
72
69
  type: import('vue').PropType<PropsType>;
73
70
  default: string;
74
71
  };
72
+ label: {
73
+ type: import('vue').PropType<StrOrFn>;
74
+ };
75
75
  disabled: {
76
76
  type: import('vue').PropType<boolean>;
77
77
  };
@@ -100,8 +100,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
100
100
  type: import('vue').PropType<boolean>;
101
101
  };
102
102
  }>> & {
103
- onEnter?: () => any;
104
103
  onChange?: (newValue: ModelValue) => any;
104
+ onEnter?: () => any;
105
105
  onValueCleared?: () => any;
106
106
  }, {
107
107
  type: PropsType;
@@ -1,4 +1,4 @@
1
- export declare const useI18n: <FN extends "authHelpers" | "datetime" | "alert" | "apiConnectionsError" | "apiConnectionsSuccess" | "pgaButton" | "pgaCalendar" | "pgaDisplay" | "pgaEditor" | "pgaFile" | "pgaForm" | "pgaLayout" | "pgaModal" | "pgaTable" | "notifications" | "validations", MP extends ({
1
+ export declare const useI18n: <FN extends "alert" | "authHelpers" | "datetime" | "apiConnectionsError" | "apiConnectionsSuccess" | "pgaButton" | "pgaCalendar" | "pgaDisplay" | "pgaEditor" | "pgaFile" | "pgaForm" | "pgaLayout" | "pgaModal" | "pgaTable" | "notifications" | "validations", MP extends ({
2
2
  authHelpers: {
3
3
  es: {
4
4
  successfulLogout: string;
@@ -1,6 +1,6 @@
1
- import { IconName as FontawesomeIconName } from '@fortawesome/fontawesome-svg-core';
2
-
3
- type IconType = 'fas' | 'far' | 'fab';
4
- export type IconName = FontawesomeIconName;
5
- export type Icon = IconName | [IconType, IconName];
1
+ import type * as LucideIcons from '@lucide/vue';
2
+ type Digit = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
3
+ type KebabCase<S extends string> = S extends `${infer L}${infer R}` ? R extends Uncapitalize<R> ? R extends `${Digit}${infer _}` ? `${Lowercase<L>}-${KebabCase<R>}` : `${Lowercase<L>}${KebabCase<R>}` : `${Lowercase<L>}-${KebabCase<Uncapitalize<R>>}` : S;
4
+ type LucideIconNames = Exclude<keyof typeof LucideIcons, 'LUCIDE_CONTEXT' | 'setLucideProps' | 'useLucideProps' | 'createLucideIcon' | 'Icon'>;
5
+ export type Icon = KebabCase<LucideIconNames>;
6
6
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "4.0.280",
4
+ "version": "4.0.282",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea-lib#readme",
@@ -37,11 +37,7 @@
37
37
  "deploy": "node deploy.js"
38
38
  },
39
39
  "dependencies": {
40
- "@fortawesome/fontawesome-svg-core": "6.5.1",
41
- "@fortawesome/free-brands-svg-icons": "6.5.1",
42
- "@fortawesome/free-regular-svg-icons": "6.5.1",
43
- "@fortawesome/free-solid-svg-icons": "6.5.1",
44
- "@fortawesome/vue-fontawesome": "3.0.5",
40
+ "@lucide/vue": "1.14.0",
45
41
  "@vuelidate/core": "2.0.3",
46
42
  "@vuelidate/validators": "2.0.4",
47
43
  "@vuepic/vue-datepicker": "8.6.0",