@v1nt1248/3nclient-lib 0.0.16 → 0.0.19

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 (39) hide show
  1. package/README.md +44 -4
  2. package/dist/components/ui3n-emoji.vue.d.ts +8 -1
  3. package/dist/components/ui3n-list.vue.d.ts +1 -1
  4. package/dist/components/ui3n-virtual-scroll.vue.d.ts +1 -1
  5. package/dist/constants/emoticons.d.ts +4 -649
  6. package/dist/libs/index.d.ts +2 -1
  7. package/dist/libs/serialization-for-ipc/protobuf-type.d.ts +1 -1
  8. package/dist/libs/serialization-for-ipc/types.d.ts +3 -0
  9. package/dist/libs/sqlite-on-3nstorage/types.d.ts +0 -1
  10. package/dist/stories/Ui3nButton.stories.d.ts +203 -0
  11. package/dist/stories/Ui3nDialog.stories.d.ts +41 -0
  12. package/dist/stories/Ui3nDropFiles.stories.d.ts +140 -0
  13. package/dist/stories/Ui3nEmoji.stories.d.ts +39 -0
  14. package/dist/stories/Ui3nIcon.stories.d.ts +80 -0
  15. package/dist/stories/Ui3nInput.stories.d.ts +456 -0
  16. package/dist/stories/Ui3nList.stories.d.ts +29 -0
  17. package/dist/stories/data/data-to-list.d.ts +8 -0
  18. package/dist/stories/data/icons.d.ts +1 -0
  19. package/dist/style.css +1 -1
  20. package/dist/ui-3n-lib.js +9487 -10373
  21. package/package.json +24 -7
  22. package/src/components/ui3n-button.vue +20 -4
  23. package/src/components/ui3n-drop-files.vue +34 -11
  24. package/src/components/ui3n-emoji.vue +34 -14
  25. package/src/components/ui3n-input.vue +3 -2
  26. package/src/components/ui3n-list.vue +1 -1
  27. package/src/libs/index.ts +0 -11
  28. package/src/libs/ipc-service-caller.ts +0 -121
  29. package/src/libs/ipc-service.ts +0 -422
  30. package/src/libs/serialization-for-ipc/copy-json.ts +0 -55
  31. package/src/libs/serialization-for-ipc/json-ipc.proto.d.ts +0 -432
  32. package/src/libs/serialization-for-ipc/json-ipc.proto.js +0 -1093
  33. package/src/libs/serialization-for-ipc/json-n-binary.ts +0 -275
  34. package/src/libs/serialization-for-ipc/protobuf-type.ts +0 -61
  35. package/src/libs/sqlite-on-3nstorage/deferred.ts +0 -32
  36. package/src/libs/sqlite-on-3nstorage/index.ts +0 -292
  37. package/src/libs/sqlite-on-3nstorage/sqljs.js +0 -225
  38. package/src/libs/sqlite-on-3nstorage/synced.ts +0 -194
  39. package/src/libs/sqlite-on-3nstorage/types.ts +0 -279
package/README.md CHANGED
@@ -1,9 +1,49 @@
1
- # Library for 3NWeb clients (Vue + Typescript)
1
+ # Library (Vue3 + Typescript + Vite)
2
+
3
+ Components, directives and plugins for Vue3 projects and some helpers methods.
4
+ Storybook is used for documentation and demo.
5
+
6
+ For demo and development - `yarn storybook` or `npm run storybook`.
7
+ You can run the project as `yarn dev` or `npm run dev` if you don't want to use Storybook.
2
8
 
3
- ## Constants
4
9
  ## Components
10
+ - Ui3nButton
11
+ - Ui3nIcon
12
+ - Ui3nInput
13
+ - Ui3nText
14
+ - Ui3nEmoji
15
+ - Ui3nMenu
16
+ - Ui3nDroopFiles
17
+ - Ui3nList
18
+ - Ui3nVirtualScroll
19
+ - Ui3nNotification
20
+ - Ui3nDialog
21
+ - Ui3nTable
22
+
5
23
  ## Directives
24
+ - Ui3nHtml
25
+ - Ui3nClickOutside
26
+
6
27
  ## Plugins
28
+ - icons
29
+ - i18n
30
+ - dialogs
31
+ - notifications
32
+ - vue-bus
33
+
7
34
  ## Store plugins
8
- ## Services
9
- ## Helpers
35
+ - store-i18n
36
+ - store-dialogs
37
+ - store-notifications
38
+ - store-vue-bus
39
+
40
+ ## Constants
41
+ - emoticons
42
+ - mailReg
43
+
44
+ ## Libs
45
+ - ipc-service
46
+ - ipc-service-caller
47
+ - sqlite-on-3nstorage
48
+
49
+ ## Tools
@@ -13,9 +13,11 @@ declare const _default: import("vue").DefineComponent<{
13
13
  };
14
14
  size: {
15
15
  type: import("vue").PropType<string | number>;
16
+ default: number;
16
17
  };
17
18
  readonly: {
18
19
  type: import("vue").PropType<boolean>;
20
+ default: boolean;
19
21
  };
20
22
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
23
  click: (value: Event) => void;
@@ -26,11 +28,16 @@ declare const _default: import("vue").DefineComponent<{
26
28
  };
27
29
  size: {
28
30
  type: import("vue").PropType<string | number>;
31
+ default: number;
29
32
  };
30
33
  readonly: {
31
34
  type: import("vue").PropType<boolean>;
35
+ default: boolean;
32
36
  };
33
37
  }>> & {
34
38
  onClick?: ((value: Event) => any) | undefined;
35
- }, {}, {}>;
39
+ }, {
40
+ size: string | number;
41
+ readonly: boolean;
42
+ }, {}>;
36
43
  export default _default;
@@ -25,7 +25,7 @@ declare const _default: <T extends {
25
25
  attrs: any;
26
26
  slots: Ui3nListSlots<T>;
27
27
  emit: Ui3nListEmits<T>;
28
- }, "slots" | "emit" | "attrs"> | undefined, __VLS_setup?: Promise<{
28
+ }, "attrs" | "slots" | "emit"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
29
29
  props: Ui3nListProps<T>;
30
30
  expose(exposed: {}): void;
31
31
  attrs: any;
@@ -14,7 +14,7 @@ declare const _default: <T extends {
14
14
  attrs: any;
15
15
  slots: Ui3nVirtualScrollSlots<T>;
16
16
  emit: any;
17
- }, "slots" | "emit" | "attrs"> | undefined, __VLS_setup?: Promise<{
17
+ }, "attrs" | "slots" | "emit"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
18
18
  props: Ui3nVirtualScrollProps<T>;
19
19
  expose(exposed: {}): void;
20
20
  attrs: any;