cic-kit 0.0.11 → 0.0.15

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.
Files changed (84) hide show
  1. package/README.md +5 -3
  2. package/dist/cic-kit.css +1 -1
  3. package/dist/cmp/Accordion/Accordion.vue.d.ts +25 -0
  4. package/dist/cmp/Avatar/Avatar.vue.d.ts +23 -0
  5. package/dist/cmp/Avatar/AvatarUser.d.ts +51 -0
  6. package/dist/cmp/Avatar/AvatarUserCmp.vue.d.ts +7 -0
  7. package/dist/cmp/Avatar/AvatarUserEditor.vue.d.ts +3 -0
  8. package/dist/cmp/Avatar/AvatarUserPicker.vue.d.ts +16 -0
  9. package/dist/cmp/Avatar/AvatarUserPickerGender.vue.d.ts +18 -0
  10. package/dist/cmp/Btn/Btn.vue.d.ts +34 -0
  11. package/dist/cmp/Btn/BtnGoogleLogin.vue.d.ts +3 -0
  12. package/dist/cmp/Btn/PwaUpdateButton.vue.d.ts +3 -0
  13. package/dist/cmp/Container/ContainerSideTabs.vue.d.ts +120 -0
  14. package/dist/cmp/Container/ContainerSubSettings.vue.d.ts +17 -0
  15. package/dist/cmp/Container/SideTabCmp.vue.d.ts +59 -0
  16. package/dist/cmp/Container/SideTabs.d.ts +13 -0
  17. package/dist/cmp/Container/SideTabsList.vue.d.ts +46 -0
  18. package/dist/cmp/File/FirebaseStrorage.d.ts +61 -0
  19. package/dist/cmp/File/ImgUploader.vue.d.ts +34 -0
  20. package/dist/cmp/Logo/Logo.vue.d.ts +11 -0
  21. package/dist/cmp/Modal/Modal.vue.d.ts +85 -0
  22. package/dist/cmp/ModalDev/HomeViewDev.vue.d.ts +3 -0
  23. package/dist/cmp/ModalDev/ModalDev.vue.d.ts +26 -0
  24. package/dist/cmp/ModalDev/view/AppConfigViewDev.vue.d.ts +3 -0
  25. package/dist/cmp/ModalDev/view/FireStoreDevView.vue.d.ts +7 -0
  26. package/dist/cmp/ModalDev/view/LSViewDev.vue.d.ts +3 -0
  27. package/dist/cmp/ModalDev/view/MsgPushViewDev.vue.d.ts +3 -0
  28. package/dist/cmp/RegisterSW.vue.d.ts +13 -0
  29. package/dist/cmp/checkVersionPkg/checkVersionPkg.d.ts +1 -0
  30. package/dist/cmp/firebase/FirestoreStore.d.ts +2 -2
  31. package/dist/cmp/form-validator/InputValueParser.d.ts +1 -1
  32. package/dist/cmp/header/useChangeHeader.d.ts +2 -0
  33. package/dist/cmp/header/useHeaderExtra.d.ts +2 -0
  34. package/dist/cmp/header/useHideHeader.d.ts +1 -0
  35. package/dist/cmp/input/Gender/FieldGender.vue.d.ts +31 -0
  36. package/dist/cmp/input/PhoneNumber/FieldPhoneNumber.vue.d.ts +37 -0
  37. package/dist/cmp/input/Tag/ColorTag.d.ts +6 -0
  38. package/dist/cmp/input/Tag/ColorTagInput.vue.d.ts +37 -0
  39. package/dist/cmp/input/Tag/TagInput.vue.d.ts +27 -0
  40. package/dist/cmp/input/Tag/colorTagDB/foodPreferenceTags.d.ts +2 -0
  41. package/dist/cmp/input/Text/InputField.vue.d.ts +34 -0
  42. package/dist/cmp/input/Tiptap/TiptapField.vue.d.ts +15 -0
  43. package/dist/cmp/layout/FooterApp.vue.d.ts +3 -0
  44. package/dist/cmp/layout/HeaderApp.vue.d.ts +3 -0
  45. package/dist/cmp/layout/ToolbarTab.vue.d.ts +10 -0
  46. package/dist/cmp/loading/LoaderCmp.vue.d.ts +3 -0
  47. package/dist/cmp/loading/LoadingText.vue.d.ts +3 -0
  48. package/dist/cmp/loading/loadingController.d.ts +8 -0
  49. package/dist/cmp/offCanvas/Offcanvas.vue.d.ts +45 -0
  50. package/dist/cmp/offCanvas/OffcanvasCmp.vue.d.ts +78 -0
  51. package/dist/cmp/offCanvas/useSetOffCanvasTabs.d.ts +2 -0
  52. package/dist/cmp/testUtility/delay.d.ts +5 -0
  53. package/dist/cmp/testUtility/generaColore.d.ts +6 -0
  54. package/dist/cmp/testUtility/generaDate.d.ts +55 -0
  55. package/dist/cmp/testUtility/generaDatiPersonali.d.ts +35 -0
  56. package/dist/cmp/testUtility/generaNumero.d.ts +5 -0
  57. package/dist/cmp/testUtility/generaTesto.d.ts +17 -0
  58. package/dist/cmp/testUtility/pickRandom.d.ts +5 -0
  59. package/dist/cmp/toast/ToastCmp.vue.d.ts +3 -0
  60. package/dist/cmp/toolbar/useChangeToolbar.d.ts +3 -0
  61. package/dist/cmp/useDebounce/useDebounce.d.ts +1 -0
  62. package/dist/cmp/viewer/ObjectDataViewer.vue.d.ts +6 -0
  63. package/dist/defaultViews/ErrorView.vue.d.ts +7 -0
  64. package/dist/defaultViews/user/LoginView.vue.d.ts +3 -0
  65. package/dist/defaultViews/user/RegisterView.vue.d.ts +3 -0
  66. package/dist/defaultViews/user/ResetPasswordView.vue.d.ts +3 -0
  67. package/dist/defaultViews/user/UserView.vue.d.ts +3 -0
  68. package/dist/defaultViews/user/usersettings/UserFormPersonalInfo.vue.d.ts +3 -0
  69. package/dist/defaultViews/user/usersettings/UserFormPersonalInfoTest.vue.d.ts +3 -0
  70. package/dist/index.cjs +20 -20
  71. package/dist/index.d.ts +9 -6
  72. package/dist/index.mjs +9752 -6081
  73. package/dist/models/AppConfig.d.ts +18 -0
  74. package/dist/models/UserPublic.d.ts +27 -0
  75. package/dist/stores/appConfigStore.d.ts +9 -0
  76. package/dist/stores/currentUserStore.d.ts +189 -0
  77. package/dist/stores/store.d.ts +233 -0
  78. package/dist/stores/userPublicStore.d.ts +524 -0
  79. package/docs/Btn.md +26 -0
  80. package/docs/LS.md +27 -0
  81. package/docs/Modal.md +43 -0
  82. package/docs/_.md +0 -0
  83. package/docs/toast.md +29 -0
  84. package/package.json +4 -2
package/docs/toast.md ADDED
@@ -0,0 +1,29 @@
1
+ #### ToastStore
2
+
3
+ Store reattivo per creare, gestire e rimuovere toast (queue + timer).
4
+
5
+ | prop | default | type | utilizzo |
6
+ | ----------------- | ------- | ------------------------------ | -------------------------- |
7
+ | `queue` | `[]` | `Toast[]` | lista toast attivi |
8
+ | `info` | — | `(content, duration?) => void` | toast informativo |
9
+ | `success` | — | `(content, duration?) => void` | toast successo |
10
+ | `warning` | — | `(content, duration?) => void` | toast warning |
11
+ | `error` | — | `(content, duration?) => void` | toast errore (+log in DEV) |
12
+ | `danger` | — | `(content, duration?) => void` | alias di `error` |
13
+ | `primary` | — | `(content, duration?) => void` | variante primary |
14
+ | `secondary` | — | `(content, duration?) => void` | variante secondary |
15
+ | `log` | — | `(content, duration?) => void` | solo DEV, default 5000ms |
16
+ | `logError` | — | `(content, duration?) => void` | solo DEV, default 5000ms |
17
+ | `start` | — | `(toast: Toast) => void` | avvia timer rimozione |
18
+ | `stop` | — | `(toast: Toast) => void` | pausa timer e ricalcolo |
19
+ | `removeToastById` | — | `(id: string) => void` | rimuove per id |
20
+
21
+ ```vue
22
+ <script setup lang="ts">
23
+ import { toast } from "@/stores/toast";
24
+ </script>
25
+
26
+ <template>
27
+ <button type="button" @click="toast.success("Operazione completata")">Mostra toast</button>
28
+ </template>
29
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cic-kit",
3
- "version": "0.0.11",
3
+ "version": "0.0.15",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -21,6 +21,7 @@
21
21
  "src/styles",
22
22
  "src/vue-shim.d.ts",
23
23
  "README.md",
24
+ "docs",
24
25
  "package.json"
25
26
  ],
26
27
  "sideEffects": [
@@ -29,7 +30,8 @@
29
30
  "scripts": {
30
31
  "install:firebase-secrets-cli:online": "npm uninstall firebase-secrets-cli && npm i -D firebase-secrets-cli@latest",
31
32
  "i:f-cli:o": "npm run install:firebase-secrets-cli:online",
32
- "build:types": "tsc -p tsconfig.build.json",
33
+ "build:types-old": "tsc -p tsconfig.build.json",
34
+ "build:types": "vue-tsc -p tsconfig.build.json --declaration --emitDeclarationOnly",
33
35
  "build": "vue-tsc --noEmit && vite build && npm run build:types",
34
36
  "pack": "npm run build && npm pack",
35
37
  "pack-bump": "npm run build && npx cic-bump && npm pack",