pangea-lib 2.11.721 → 2.11.723

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.
@@ -54,10 +54,8 @@ declare const _default: {
54
54
  };
55
55
  pgaLoginForm: {
56
56
  es: {
57
- inputLabelUsername: string;
58
- inputLabelPassword: string;
59
- inputValidationErrorUsernameRequired: string;
60
- inputValidationErrorPasswordRequired: string;
57
+ usernameLabel: string;
58
+ passwordLabel: string;
61
59
  loginBtn: string;
62
60
  };
63
61
  };
@@ -1,12 +1,15 @@
1
- import { App } from 'vue';
1
+ import { App as AppType, Component } from 'vue';
2
+ import { default as App } from './App.vue';
2
3
  import { PartialDeep } from 'pangea-helpers';
3
4
  import { PangeaOptions, Routes } from './types';
4
5
 
5
6
  type InstallConfig = {
6
7
  routes?: Routes;
8
+ components?: Record<string, Component>;
7
9
  };
8
- declare function install(app: App, userOptions?: PartialDeep<PangeaOptions>, config?: InstallConfig): void;
10
+ declare function install(app: AppType, userOptions?: PartialDeep<PangeaOptions>, config?: InstallConfig): void;
9
11
  export default install;
12
+ export { App };
10
13
  export * from './alert';
11
14
  export * from './api-connections';
12
15
  export * from './composables';
@@ -15,7 +15,7 @@ export declare const useNotificationsStore: import('pinia').StoreDefinition<"pga
15
15
  [Symbol.dispose]: () => void;
16
16
  };
17
17
  }[]>;
18
- }, "currentId" | "notifications">>, Pick<{
18
+ }, "notifications" | "currentId">>, Pick<{
19
19
  currentId: import('vue').Ref<number>;
20
20
  notifications: import('vue').Ref<{
21
21
  id: number;
@@ -1,3 +1,10 @@
1
1
  export declare const refs: {
2
+ readonly stringLengths: {
3
+ readonly extraShort: 50;
4
+ readonly short: 100;
5
+ readonly medium: 250;
6
+ readonly long: 500;
7
+ readonly extraLong: 1000;
8
+ };
2
9
  readonly delayTime: 300;
3
10
  };
@@ -150,7 +150,7 @@ export declare const useOptionsStore: import('pinia').StoreDefinition<"pga-optio
150
150
  setLanguage: (newLanguage: Language) => void;
151
151
  setTheme: (newTheme: Theme) => void;
152
152
  changeTheme: () => void;
153
- }, "language" | "options" | "theme">>, Pick<{
153
+ }, "options" | "language" | "theme">>, Pick<{
154
154
  options: import('vue').Ref<{
155
155
  app: {
156
156
  name: string;
@@ -299,7 +299,7 @@ export declare const useOptionsStore: import('pinia').StoreDefinition<"pga-optio
299
299
  setLanguage: (newLanguage: Language) => void;
300
300
  setTheme: (newTheme: Theme) => void;
301
301
  changeTheme: () => void;
302
- }, "image" | "button" | "layout" | "notifications" | "app" | "ids" | "colors" | "form" | "stores" | "i18n">, Pick<{
302
+ }, "app" | "layout" | "ids" | "colors" | "button" | "form" | "image" | "notifications" | "stores" | "i18n">, Pick<{
303
303
  options: import('vue').Ref<{
304
304
  app: {
305
305
  name: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "2.11.721",
4
+ "version": "2.11.723",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea#readme",
@@ -1 +0,0 @@
1
- export declare function installNotifications(): void;