eservices-core 1.0.294

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 (108) hide show
  1. package/dist/TEST/index.d.ts +5 -0
  2. package/dist/classes/Action.d.ts +3 -0
  3. package/dist/classes/ApplicationManager.d.ts +41 -0
  4. package/dist/classes/ClassMetadata.d.ts +32 -0
  5. package/dist/classes/Communication.d.ts +4 -0
  6. package/dist/classes/CoreError.d.ts +39 -0
  7. package/dist/classes/ErrorStorageSystem.d.ts +12 -0
  8. package/dist/classes/EventEmitter.d.ts +20 -0
  9. package/dist/classes/Form.d.ts +78 -0
  10. package/dist/classes/InterfaceForm.d.ts +106 -0
  11. package/dist/classes/InterfaceWorker.d.ts +15 -0
  12. package/dist/classes/List.d.ts +63 -0
  13. package/dist/classes/ListWorker.d.ts +2 -0
  14. package/dist/classes/Metadata.d.ts +51 -0
  15. package/dist/classes/ProcessWrap.d.ts +8 -0
  16. package/dist/classes/RenderForm.d.ts +37 -0
  17. package/dist/classes/StepWorker.d.ts +9 -0
  18. package/dist/classes/Table.d.ts +91 -0
  19. package/dist/classes/ViewForm/ViewForm.d.ts +8 -0
  20. package/dist/classes/ViewForm/container-form-element-render.d.ts +1 -0
  21. package/dist/classes/ViewForm/container-form-render.d.ts +1 -0
  22. package/dist/classes/ViewForm/container-render.d.ts +1 -0
  23. package/dist/classes/ViewForm/getInputComponent.d.ts +1 -0
  24. package/dist/classes/ViewForm/render-form-body.d.ts +1 -0
  25. package/dist/classes/ViewForm/render-form-section.d.ts +1 -0
  26. package/dist/classes/ViewForm/render-form.d.ts +2 -0
  27. package/dist/classes/ViewForm/render-input.d.ts +8 -0
  28. package/dist/classes/ViewForm/render.d.ts +8 -0
  29. package/dist/classes/index.d.ts +59 -0
  30. package/dist/config.d.ts +14 -0
  31. package/dist/errors/communication-error.d.ts +7 -0
  32. package/dist/index.d.ts +207 -0
  33. package/dist/index.js +5662 -0
  34. package/dist/init.d.ts +1 -0
  35. package/dist/mixins/index.d.ts +4 -0
  36. package/dist/services/AuthService.d.ts +20 -0
  37. package/dist/services/FileService.d.ts +7 -0
  38. package/dist/services/MetadataService.d.ts +5 -0
  39. package/dist/services/action-service.d.ts +8 -0
  40. package/dist/services/communication-service.d.ts +42 -0
  41. package/dist/services/data-service.d.ts +57 -0
  42. package/dist/services/index.d.ts +11 -0
  43. package/dist/styles/index.d.ts +2 -0
  44. package/dist/styles/types.d.ts +164 -0
  45. package/dist/types/index.d.ts +92 -0
  46. package/dist/types/metadata-types.d.ts +19 -0
  47. package/dist/useMethods/index.d.ts +5 -0
  48. package/dist/useMethods/useInput.d.ts +15 -0
  49. package/dist/utils/GraphQL/index.d.ts +21 -0
  50. package/dist/utils/Journal.d.ts +34 -0
  51. package/dist/utils/Request.d.ts +4 -0
  52. package/dist/utils/clickOutside.d.ts +2 -0
  53. package/dist/utils/firstChapterToLowerCase.d.ts +5 -0
  54. package/dist/utils/getPropFromObject.d.ts +15 -0
  55. package/dist/utils/index.d.ts +9 -0
  56. package/dist/utils/mergeObjects.d.ts +6 -0
  57. package/dist/utils/prettyDate.d.ts +13 -0
  58. package/dist/utils/recursive-object-wrap.d.ts +16 -0
  59. package/dist/utils/requestHandler.d.ts +7 -0
  60. package/dist/utils/runPromiseQueue.d.ts +1 -0
  61. package/dist/widgets/breadcrumbs/widget-breadcrumb-item.vue.d.ts +25 -0
  62. package/dist/widgets/breadcrumbs/widget-breadcrumbs.vue.d.ts +13 -0
  63. package/dist/widgets/buttons/WidgetButton.vue.d.ts +19 -0
  64. package/dist/widgets/buttons/index.d.ts +5 -0
  65. package/dist/widgets/buttons/multi-button/WidgetMultiButton.vue.d.ts +20 -0
  66. package/dist/widgets/communication/communication-chat-message.vue.d.ts +31 -0
  67. package/dist/widgets/communication/communication-chat.vue.d.ts +19 -0
  68. package/dist/widgets/communication/communication-head-create.vue.d.ts +13 -0
  69. package/dist/widgets/communication/communication-head.vue.d.ts +25 -0
  70. package/dist/widgets/communication/communication-input.vue.d.ts +13 -0
  71. package/dist/widgets/communication/widget-communication-head.vue.d.ts +19 -0
  72. package/dist/widgets/communication/widget-communication-message.vue.d.ts +4 -0
  73. package/dist/widgets/communication/widget-communication.vue.d.ts +37 -0
  74. package/dist/widgets/containers/index.d.ts +9 -0
  75. package/dist/widgets/errorSystem/index.d.ts +4 -0
  76. package/dist/widgets/forms/FormSection.vue.d.ts +13 -0
  77. package/dist/widgets/forms/index.d.ts +9 -0
  78. package/dist/widgets/forms/naomi/WidgetForm.vue.d.ts +46 -0
  79. package/dist/widgets/forms/naomi/WidgetFormImage.vue.d.ts +19 -0
  80. package/dist/widgets/forms/naomi/WidgetFormInfo.vue.d.ts +25 -0
  81. package/dist/widgets/icons/index.d.ts +4 -0
  82. package/dist/widgets/index.d.ts +63 -0
  83. package/dist/widgets/inputs/default-style/index.d.ts +7 -0
  84. package/dist/widgets/inputs/index.d.ts +15 -0
  85. package/dist/widgets/inputs/line-style/index.d.ts +4 -0
  86. package/dist/widgets/inputs/naomi-style/index.d.ts +4 -0
  87. package/dist/widgets/interface/default/index.d.ts +6 -0
  88. package/dist/widgets/interface/index.d.ts +13 -0
  89. package/dist/widgets/interface/naomi/InterfaceNavigationRow.vue.d.ts +19 -0
  90. package/dist/widgets/interface/naomi/WidgetInterfaceNavigation.vue.d.ts +13 -0
  91. package/dist/widgets/interface/naomi/WidgetInterfaceUserCard.vue.d.ts +25 -0
  92. package/dist/widgets/interface/naomi/WidgetInterfaceUserPopup/WidgetInterfaceUserPopup.vue.d.ts +37 -0
  93. package/dist/widgets/interface/naomi/WidgetInterfaceUserPopup/WidgetInterfaceUserPopupEvent.vue.d.ts +27 -0
  94. package/dist/widgets/interface/naomi/index.d.ts +6 -0
  95. package/dist/widgets/interface/naomi/useInterfaceNavigation.d.ts +6 -0
  96. package/dist/widgets/spinner/WidgetSpinner.vue.d.ts +13 -0
  97. package/dist/widgets/spinner/index.d.ts +4 -0
  98. package/dist/widgets/tables/WidgetCell.vue.d.ts +16 -0
  99. package/dist/widgets/tables/WidgetList.vue.d.ts +28 -0
  100. package/dist/widgets/tables/WidgetListHead.vue.d.ts +15 -0
  101. package/dist/widgets/tables/getCell.d.ts +4 -0
  102. package/dist/widgets/tables/index.d.ts +6 -0
  103. package/dist/widgets/tables/table-with-form/WidgetTableController.vue.d.ts +13 -0
  104. package/dist/widgets/tables/table-with-form/widget-table-form.vue.d.ts +19 -0
  105. package/dist/widgets/tables/table-with-form/widget-table-row.vue.d.ts +11 -0
  106. package/dist/widgets/tables/table-with-form/widget-table.vue.d.ts +21 -0
  107. package/package.json +65 -0
  108. package/readme.md +39 -0
@@ -0,0 +1,27 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ icon: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ title: {
7
+ type: StringConstructor;
8
+ required: true;
9
+ };
10
+ link: {
11
+ type: any;
12
+ required: false;
13
+ };
14
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
15
+ [key: string]: any;
16
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
17
+ icon?: unknown;
18
+ title?: unknown;
19
+ link?: unknown;
20
+ } & {
21
+ icon: unknown;
22
+ title: unknown;
23
+ link: any;
24
+ } & {}>, {
25
+ link: any;
26
+ }>;
27
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ WidgetInterfaceNavigation: import("vue").DefineComponent<{}, {}, any, Record<string, import("vue").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
3
+ WidgetInterfaceUserPopup: import("vue").DefineComponent<{}, {}, any, Record<string, import("vue").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
4
+ WidgetInterfaceUserCard: import("vue").DefineComponent<{}, {}, any, Record<string, import("vue").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
5
+ };
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare function toggleActiveRow(id: number | null): any;
2
+ declare const _default: () => {
3
+ activeNavigationRow: import("vue").Ref<number>;
4
+ toggleActiveRow: typeof toggleActiveRow;
5
+ };
6
+ export default _default;
@@ -0,0 +1,13 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ color: {
3
+ type: StringConstructor;
4
+ required: false;
5
+ };
6
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
7
+ [key: string]: any;
8
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
9
+ color?: unknown;
10
+ } & {} & {
11
+ color?: unknown;
12
+ }>, {}>;
13
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ WidgetSpinner: import("vue").DefineComponent<{}, {}, any, Record<string, import("vue").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
3
+ };
4
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { ListCell } from "../../classes/List";
2
+ import { ListRowValues } from "../../types";
3
+ interface WidgetCellProps {
4
+ config: ListCell[];
5
+ values: ListRowValues;
6
+ }
7
+ declare const _default: {
8
+ props: {
9
+ config: ArrayConstructor;
10
+ values: ObjectConstructor;
11
+ };
12
+ setup(props: WidgetCellProps): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
13
+ [key: string]: any;
14
+ }>;
15
+ };
16
+ export default _default;
@@ -0,0 +1,28 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ filters: {
3
+ type: any;
4
+ required: false;
5
+ };
6
+ list: {
7
+ type: any;
8
+ required: true;
9
+ };
10
+ listWorker: {
11
+ type: any;
12
+ required: false;
13
+ };
14
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
15
+ [key: string]: any;
16
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
17
+ filters?: unknown;
18
+ list?: unknown;
19
+ listWorker?: unknown;
20
+ } & {
21
+ filters: any;
22
+ list: any;
23
+ listWorker: any;
24
+ } & {}>, {
25
+ filters: any;
26
+ listWorker: any;
27
+ }>;
28
+ export default _default;
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ components: {
3
+ WidgetListHeadSeparator: import("vue").DefineComponent<{}, {}, any, Record<string, import("vue").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
4
+ };
5
+ props: {
6
+ config: ArrayConstructor;
7
+ sort: ObjectConstructor;
8
+ };
9
+ setup(): {
10
+ onScale: (e: MouseEvent) => void;
11
+ refHead: import("vue").Ref<HTMLElement>;
12
+ };
13
+ name: string;
14
+ };
15
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { TableCellInterface, ValuesInterface } from "../../types";
2
+ export default function getCell(config: TableCellInterface[], values: ValuesInterface): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
+ [key: string]: any;
4
+ }>;
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ WidgetList: import("vue").DefineComponent<{}, {}, any, Record<string, import("vue").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
3
+ WidgetTable: import("vue").DefineComponent<{}, {}, any, Record<string, import("vue").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
4
+ WidgetTableController: import("vue").DefineComponent<{}, {}, any, Record<string, import("vue").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
5
+ };
6
+ export default _default;
@@ -0,0 +1,13 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ table: {
3
+ type: any;
4
+ required: true;
5
+ };
6
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
7
+ [key: string]: any;
8
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
9
+ table?: unknown;
10
+ } & {
11
+ table: any;
12
+ } & {}>, {}>;
13
+ export default _default;
@@ -0,0 +1,19 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ table: {
3
+ type: any;
4
+ required: true;
5
+ };
6
+ values: {
7
+ type: any;
8
+ required: true;
9
+ };
10
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
11
+ [key: string]: any;
12
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
13
+ table?: unknown;
14
+ values?: unknown;
15
+ } & {
16
+ table: any;
17
+ values: any;
18
+ } & {}>, {}>;
19
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { Table } from "../../../index";
2
+ declare const _default: {
3
+ props: {
4
+ values: ObjectConstructor;
5
+ table: typeof Table;
6
+ };
7
+ setup(props: any): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
8
+ [key: string]: any;
9
+ }>;
10
+ };
11
+ export default _default;
@@ -0,0 +1,21 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ table: {
3
+ type: any;
4
+ required: true;
5
+ };
6
+ mini: {
7
+ type: BooleanConstructor;
8
+ required: false;
9
+ };
10
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
11
+ [key: string]: any;
12
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
13
+ table?: unknown;
14
+ mini?: unknown;
15
+ } & {
16
+ table: any;
17
+ mini: boolean;
18
+ } & {}>, {
19
+ mini: boolean;
20
+ }>;
21
+ export default _default;
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "eservices-core",
3
+ "version": "1.0.294",
4
+ "description": "----",
5
+ "author": "",
6
+ "scripts": {
7
+ "serve": "vue-cli-service serve",
8
+ "build": "vue-cli-service build",
9
+ "test:unit": "vue-cli-service test:unit",
10
+ "full": "npm run rollup && npm publish",
11
+ "publish": "npm publish",
12
+ "rollup": "rollup -c ./rollup.config.js --environment BABEL_ENV:production",
13
+ "test": "echo \"Error: no test specified\" && exit 1"
14
+ },
15
+ "types": "dist/index.d.ts",
16
+ "main": "dist/index.js",
17
+ "dependencies": {
18
+ "@rollup/plugin-commonjs": "^21.0.1",
19
+ "date-and-time": "^2.0.1",
20
+ "rollup-plugin-styles": "^4.0.0",
21
+ "rollup-plugin-typescript2": "^0.31.1",
22
+ "socket.io": "^4.4.1",
23
+ "socket.io-client": "^4.4.1",
24
+ "tslib": "^2.3.1"
25
+ },
26
+ "devDependencies": {
27
+ "@babel/preset-env": "^7.16.5",
28
+ "@babel/preset-typescript": "^7.16.5",
29
+ "@rollup/plugin-node-resolve": "^13.1.3",
30
+ "@rollup/plugin-typescript": "^8.3.0",
31
+ "@types/date-and-time": "^0.13.0",
32
+ "@types/jest": "^24.9.1",
33
+ "@vue/cli-plugin-typescript": "~4.5.0",
34
+ "@vue/cli-plugin-unit-jest": "~4.5.0",
35
+ "@vue/cli-service": "~4.5.0",
36
+ "@vue/compiler-sfc": "^3.0.0",
37
+ "@vue/test-utils": "^2.0.0-rc.18",
38
+ "babel-jest": "26.6.3",
39
+ "jenesius-vue-modal": "^1.4.7",
40
+ "postcss-import": "^14.0.2",
41
+ "rollup-plugin-filesize": "^9.1.2",
42
+ "rollup-plugin-import-css": "^3.0.2",
43
+ "rollup-plugin-node-resolve": "^5.2.0",
44
+ "rollup-plugin-postcss": "^4.0.2",
45
+ "rollup-plugin-typescript": "^1.0.1",
46
+ "rollup-plugin-vue": "6.0.0",
47
+ "typescript": "~4.1.5",
48
+ "vue-jest": "^5.0.0-alpha.10"
49
+ },
50
+ "peerDependencies": {
51
+ "vue": "^3.0.0",
52
+ "vue-router": "^4.0.0"
53
+ },
54
+ "license": "ISC",
55
+ "repository": {
56
+ "type": "git",
57
+ "url": "https://eBorneo@dev.azure.com/eBorneo/AppRegister/_git/feCore"
58
+ },
59
+ "files": [
60
+ "dist/index.js",
61
+ "dist/**/*.ts",
62
+ "dist/*.ts",
63
+ "readme.md"
64
+ ]
65
+ }
package/readme.md ADDED
@@ -0,0 +1,39 @@
1
+ ## Project
2
+
3
+ ----
4
+
5
+ **frontend** - фронт часть проекта. Основной стэк: Vue(3), Vuex(4),
6
+ VueRouter 4, jenesius-vue-modal.
7
+
8
+ **backend** - web сервер. Основной стэк: NodeJs, Express.
9
+
10
+ -----
11
+
12
+ ## Frontend
13
+
14
+ #### Отладка
15
+
16
+ `npm run serve` - запуск тестовой hot-reload среды на 8080 порту. Подходит
17
+ для теста функционала компоненты
18
+
19
+ `npm run build` - сборка для прода
20
+
21
+ `npm run buildev` - сборк для дев среды.
22
+
23
+ #### FAQ
24
+
25
+ - `console.log` или иные выводы, только для dev среды. В prod
26
+ выносить только еденичный моменты(Загрузка основной информации
27
+ пользователя, установка настроек и т.д)
28
+ - Всё новосозданный функции в папке **CORE** должы иметь JSDOC
29
+
30
+ ## Backend
31
+
32
+ #### Отладка
33
+ `npm run serve` - Запуск на порту 3000
34
+
35
+
36
+
37
+
38
+
39
+