cic-kit 0.0.24 → 0.0.26
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 +2 -2
- package/dist/cic-kit.css +1 -1
- package/dist/cmp/AppConfig.d.ts +33 -0
- package/dist/cmp/Modal/Modal.vue.d.ts +2 -2
- package/dist/cmp/cicKitStore.d.ts +180 -0
- package/dist/cmp/input/Code/FieldCode.vue.d.ts +3 -3
- package/dist/cmp/input/Gender/FieldGender.vue.d.ts +1 -1
- package/dist/cmp/input/PhoneNumber/FieldPhoneNumber.vue.d.ts +1 -1
- package/dist/cmp/input/Tag/FieldColorTag.vue.d.ts +1 -1
- package/dist/cmp/input/Tiptap/FieldTiptap.vue.d.ts +1 -1
- package/dist/cmp/notification/pushMsg.d.ts +0 -1
- package/dist/cmp/offCanvas/OffcanvasCmp.vue.d.ts +3 -3
- package/dist/cmp/timestamp/parseTimestamp.d.ts +1 -1
- package/dist/index.cjs +86 -86
- package/dist/index.d.ts +5 -2
- package/dist/index.mjs +44522 -44344
- package/package.json +3 -2
- package/dist/cmp/checkVersionPkg/checkVersionPkg.d.ts +0 -1
- package/dist/models/AppConfig.d.ts +0 -18
- package/dist/stores/appConfigStore.d.ts +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cic-kit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -68,9 +68,10 @@
|
|
|
68
68
|
"sass": "^1.77.0",
|
|
69
69
|
"typescript": "~5.9.3",
|
|
70
70
|
"vite": "^7.2.4",
|
|
71
|
+
"vite-plugin-pwa": "^1.2.0",
|
|
71
72
|
"vue-tsc": "^3.1.4"
|
|
72
73
|
},
|
|
73
74
|
"publishConfig": {
|
|
74
75
|
"access": "public"
|
|
75
76
|
}
|
|
76
|
-
}
|
|
77
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function checkVersionPkg(): Promise<void>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FirestoreModel, type Timestampble } from '../cmp/firebase/FirestoreModel';
|
|
2
|
-
export interface AppConfigData extends Partial<Timestampble> {
|
|
3
|
-
id: string;
|
|
4
|
-
lastVersion: string;
|
|
5
|
-
}
|
|
6
|
-
export declare class AppConfig extends FirestoreModel<AppConfigData> {
|
|
7
|
-
static collectionName: string;
|
|
8
|
-
protected localStorageKey(): string;
|
|
9
|
-
lastVersion: string;
|
|
10
|
-
constructor(data: AppConfigData);
|
|
11
|
-
toData(): AppConfigData;
|
|
12
|
-
checkVersionAndUpdate(): Promise<any>;
|
|
13
|
-
compareVersions(version?: string): number;
|
|
14
|
-
isValidVersion(v: string): boolean;
|
|
15
|
-
versionVsLocalPackageJson(): 'equal' | 'next' | 'previous';
|
|
16
|
-
updateApp(): void;
|
|
17
|
-
setLastVersion(version?: string): void;
|
|
18
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type Reactive } from 'vue';
|
|
2
|
-
import { AppConfig, type AppConfigData } from '../models/AppConfig';
|
|
3
|
-
import { FirestoreStore } from '../cmp/firebase/FirestoreStore';
|
|
4
|
-
declare class AppConfigStore extends FirestoreStore<AppConfig, AppConfigData> {
|
|
5
|
-
constructor();
|
|
6
|
-
getAppConfig(): Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
export declare const appConfigStore: Reactive<AppConfigStore>;
|
|
9
|
-
export {};
|