eservices-core 1.0.382 → 1.0.384
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/dist/hooks/use-form-action.d.ts +8 -0
- package/dist/hooks/use-form-label.d.ts +8 -0
- package/dist/hooks/use-form-metadata.d.ts +2 -0
- package/dist/hooks/use-form-request-data.d.ts +13 -0
- package/dist/index.d.ts +10 -1
- package/dist/index.js +167 -3
- package/dist/services/presentation-service.d.ts +9 -0
- package/package.json +4 -4
- package/dist/classes/EventEmitter.d.ts +0 -20
- package/dist/services/MetadataService.d.ts +0 -5
- package/dist/widgets/communication/widget-communication-head.vue.d.ts +0 -19
- package/dist/widgets/communication/widget-communication-message.vue.d.ts +0 -4
- package/dist/widgets/forms/naomi/WidgetFormImage.vue.d.ts +0 -22
- package/dist/widgets/interface/index.d.ts +0 -13
- package/dist/widgets/interface/naomi/InterfaceNavigationRow.vue.d.ts +0 -19
- package/dist/widgets/interface/naomi/WidgetInterfaceNavigation.vue.d.ts +0 -13
- package/dist/widgets/interface/naomi/WidgetInterfaceUserCard.vue.d.ts +0 -25
- package/dist/widgets/interface/naomi/WidgetInterfaceUserPopup/WidgetInterfaceUserPopup.vue.d.ts +0 -37
- package/dist/widgets/interface/naomi/WidgetInterfaceUserPopup/WidgetInterfaceUserPopupEvent.vue.d.ts +0 -27
- package/dist/widgets/interface/naomi/index.d.ts +0 -6
- package/dist/widgets/interface/naomi/useInterfaceNavigation.d.ts +0 -6
- package/dist/widgets/tables/table-with-form/WidgetTableController.vue.d.ts +0 -13
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Form } from "jenesius-vue-form";
|
|
2
|
+
export default function useFormRequestData(form: Form, options: {
|
|
3
|
+
fields: string | string[];
|
|
4
|
+
}): {
|
|
5
|
+
formShadowState: {
|
|
6
|
+
ready: boolean;
|
|
7
|
+
show: boolean;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export interface IShadowState {
|
|
11
|
+
ready: boolean;
|
|
12
|
+
show: boolean;
|
|
13
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ import WidgetNotFound from "./widgets/notFound/WidgetNotFound.vue";
|
|
|
24
24
|
import InterfaceContainer from "./widgets/interface/interface-container.vue";
|
|
25
25
|
import WidgetCard from "./widgets/cards/widget-card.vue";
|
|
26
26
|
import WidgetWizard from "./widgets/wizard/WidgetWizard.vue";
|
|
27
|
+
import WidgetMultiButton from "./widgets/buttons/multi-button/WidgetMultiButton.vue";
|
|
27
28
|
import authService from "./services/AuthService";
|
|
28
29
|
import dataService from "./services/data-service";
|
|
29
30
|
import { CommunicationService as communicationService } from "./services/communication-service";
|
|
@@ -39,6 +40,10 @@ import NotificationSystem from "./classes/NotificationSystem";
|
|
|
39
40
|
import { clickOutside, requestHandler } from "./utils";
|
|
40
41
|
import valuesToUpperCase from "./utils/values-to-upper-case";
|
|
41
42
|
import { prettyDate, prettyDateWithTime } from "./utils/prettyDate";
|
|
43
|
+
import useFormMetadata from "./hooks/use-form-metadata";
|
|
44
|
+
import useFormAction from "./hooks/use-form-action";
|
|
45
|
+
import useFormLabel from "./hooks/use-form-label";
|
|
46
|
+
import useFormRequestData from "./hooks/use-form-request-data";
|
|
42
47
|
export { StylesInterface };
|
|
43
48
|
export interface NavigationRecordRow {
|
|
44
49
|
title: string;
|
|
@@ -89,6 +94,10 @@ clickOutside,
|
|
|
89
94
|
requestHandler, useSocket, setupSocket };
|
|
90
95
|
export { ApplicationManager, NotificationSystem, Table, CoreError, List, ProcessWrap, ListCell };
|
|
91
96
|
export { fileService, processWizardService, viewService, authService, dataService, communicationService, metadataService };
|
|
97
|
+
/**
|
|
98
|
+
* HOOKS
|
|
99
|
+
* */
|
|
100
|
+
export { useFormMetadata, useFormAction, useFormLabel, useFormRequestData };
|
|
92
101
|
/**
|
|
93
102
|
* All components binding with VueComponents must have name started with Widget.
|
|
94
103
|
* */
|
|
@@ -97,7 +106,7 @@ export { WidgetNotificationSystem, WidgetForm, ModalValidation, WidgetTable, Wid
|
|
|
97
106
|
* @deprecated We must use own WidgetIcon in custom project. Rewrite WidgetIcon to CoreIcon and use only inside Core
|
|
98
107
|
* components.
|
|
99
108
|
* */
|
|
100
|
-
Icon as WidgetIcon, WidgetCard, WidgetWizard };
|
|
109
|
+
Icon as WidgetIcon, WidgetCard, WidgetWizard, WidgetMultiButton };
|
|
101
110
|
declare const utils: {
|
|
102
111
|
clickOutside: typeof _utils.clickOutside;
|
|
103
112
|
requestHandler: typeof _utils.requestHandler;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* eservices-core v1.0.
|
|
2
|
+
* eservices-core v1.0.384
|
|
3
3
|
* (c) 2022 ESERVICES
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
@@ -1376,7 +1376,7 @@ styleInject(css_248z$O);
|
|
|
1376
1376
|
script$T.__scopeId = "data-v-5f6b3e5d";
|
|
1377
1377
|
script$T.__file = "core/widgets/spinner/WidgetSpinner.vue";
|
|
1378
1378
|
|
|
1379
|
-
const _hoisted_1$N = { class: "widget-button-wrap" };
|
|
1379
|
+
const _hoisted_1$N = { class: "widget-button-wrap widget-multi-button" };
|
|
1380
1380
|
const _hoisted_2$v = { class: "multi-button" };
|
|
1381
1381
|
const _hoisted_3$o = { class: "widget-button-list" };
|
|
1382
1382
|
const _hoisted_4$i = ["onClick"];
|
|
@@ -1450,7 +1450,7 @@ var script$S = /*#__PURE__*/ vue.defineComponent({
|
|
|
1450
1450
|
}
|
|
1451
1451
|
});
|
|
1452
1452
|
|
|
1453
|
-
var css_248z$N = "\n.widget-button-wrap[data-v-161d0584]{\r\n\r\n
|
|
1453
|
+
var css_248z$N = "\n.widget-button-wrap[data-v-161d0584] {\r\n\r\n --button-size: 40px;\r\n\r\n max-height: var(--button-size);\r\n z-index: 1;\r\n position: relative;\r\n\r\n cursor: pointer;\r\n width: fit-content;\n}\n.multi-button[data-v-161d0584] {\r\n display: flex;\r\n background-color: #3949AB;\r\n\r\n border-radius: 20px;\r\n overflow: hidden;\n}\n.button__content[data-v-161d0584] {\r\n max-height: 40px;\r\n min-width: 80px;\r\n transition: 0.2s;\r\n overflow: hidden;\n}\n.button__content_active[data-v-161d0584] {\r\n max-height: 200px;\n}\n.button__content-title[data-v-161d0584] {\r\n white-space: nowrap;\r\n font-size: 14px;\r\n line-height: 20px;\r\n padding: 10px 10px 10px 20px;\r\n color: white;\r\n margin: 0;\r\n\r\n transition: background-color 0.2s;\n}\n.button__content-title[data-v-161d0584]:hover {\r\n background-color: #223296;\n}\n.button__toggle_active[data-v-161d0584] {\r\n transform: rotate(180deg);\n}\n.button__side[data-v-161d0584] {\r\n min-width: var(--button-size);\n}\n.button__size-toggle[data-v-161d0584] {\r\n height: var(--button-size);\n}\n.button__size-toggle[data-v-161d0584] {\r\n cursor: pointer;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n transition: transform 0.1s, background-color 0.2s;\r\n color: white;\n}\n.button__size-toggle[data-v-161d0584]:hover {\r\n background-color: #223296;\n}\n.button__toggle-icon[data-v-161d0584] {\r\n height: 16px;\n}\n.button__size-progress[data-v-161d0584] {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n height: var(--button-size);\n}\r\n";
|
|
1454
1454
|
styleInject(css_248z$N);
|
|
1455
1455
|
|
|
1456
1456
|
script$S.__scopeId = "data-v-161d0584";
|
|
@@ -6630,6 +6630,165 @@ function valuesToUpperCase(values) {
|
|
|
6630
6630
|
}, {});
|
|
6631
6631
|
}
|
|
6632
6632
|
|
|
6633
|
+
function useFormMetadata(form, rules, id) {
|
|
6634
|
+
form.on(jenesiusVueForm.Form.EVENT_READ, () => {
|
|
6635
|
+
if (!form.name)
|
|
6636
|
+
return;
|
|
6637
|
+
metadataService.get(form.name, rules, id)
|
|
6638
|
+
.then(res => {
|
|
6639
|
+
console.group('Disabled elements');
|
|
6640
|
+
res.fields.forEach(field => {
|
|
6641
|
+
field.canSet ? form.enable(field.name) : form.disable(field.name);
|
|
6642
|
+
if (!field.canSet)
|
|
6643
|
+
console.log(field.name);
|
|
6644
|
+
});
|
|
6645
|
+
console.groupEnd();
|
|
6646
|
+
})
|
|
6647
|
+
.catch(() => {
|
|
6648
|
+
NotificationSystem.add('error', `Can't read form's metadata.`);
|
|
6649
|
+
});
|
|
6650
|
+
});
|
|
6651
|
+
}
|
|
6652
|
+
|
|
6653
|
+
function useFormAction(form) {
|
|
6654
|
+
const actions = vue.reactive([]);
|
|
6655
|
+
function update(status, id) {
|
|
6656
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6657
|
+
if (!status)
|
|
6658
|
+
return;
|
|
6659
|
+
const data = (yield ActionService.get({ criterion: status })).data;
|
|
6660
|
+
actions.splice(0, actions.length);
|
|
6661
|
+
actions.push(...data.map((obj) => {
|
|
6662
|
+
const { title, url } = obj;
|
|
6663
|
+
return {
|
|
6664
|
+
title,
|
|
6665
|
+
callback: () => {
|
|
6666
|
+
const fn = () => Request(url, {
|
|
6667
|
+
method: "POST",
|
|
6668
|
+
body: JSON.stringify({
|
|
6669
|
+
keys: {
|
|
6670
|
+
Id: id
|
|
6671
|
+
}
|
|
6672
|
+
}),
|
|
6673
|
+
headers: {
|
|
6674
|
+
'Content-Type': 'application/json',
|
|
6675
|
+
},
|
|
6676
|
+
})
|
|
6677
|
+
.then(() => form.read());
|
|
6678
|
+
return requestHandler(fn, { throw: false });
|
|
6679
|
+
}
|
|
6680
|
+
};
|
|
6681
|
+
}));
|
|
6682
|
+
});
|
|
6683
|
+
}
|
|
6684
|
+
return {
|
|
6685
|
+
actions,
|
|
6686
|
+
update
|
|
6687
|
+
};
|
|
6688
|
+
}
|
|
6689
|
+
|
|
6690
|
+
class PresentationService {
|
|
6691
|
+
static url() {
|
|
6692
|
+
return `/close-api/presentation`;
|
|
6693
|
+
}
|
|
6694
|
+
static getStatuses(entity, code) {
|
|
6695
|
+
return fetch(`${PresentationService.url()}/status/${entity}/${code}`).then(res => res.json());
|
|
6696
|
+
}
|
|
6697
|
+
}
|
|
6698
|
+
|
|
6699
|
+
function useFormLabel(form) {
|
|
6700
|
+
const label = vue.reactive({
|
|
6701
|
+
title: "Loading",
|
|
6702
|
+
type: "wait"
|
|
6703
|
+
});
|
|
6704
|
+
function update(code) {
|
|
6705
|
+
if (!form.name)
|
|
6706
|
+
return;
|
|
6707
|
+
if (!Number.isInteger(code))
|
|
6708
|
+
return;
|
|
6709
|
+
return PresentationService.getStatuses(form.name, code)
|
|
6710
|
+
.then(data => {
|
|
6711
|
+
label.type = data.type;
|
|
6712
|
+
label.title = data.name;
|
|
6713
|
+
});
|
|
6714
|
+
}
|
|
6715
|
+
form.on(jenesiusVueForm.Form.EVENT_READ, data => {
|
|
6716
|
+
var _a, _b;
|
|
6717
|
+
const { code, name } = {
|
|
6718
|
+
code: (_a = data.Status) === null || _a === void 0 ? void 0 : _a.Code,
|
|
6719
|
+
name: (_b = data.Status) === null || _b === void 0 ? void 0 : _b.Name
|
|
6720
|
+
};
|
|
6721
|
+
if (!form.name)
|
|
6722
|
+
return void console.log(`Form without name.`);
|
|
6723
|
+
if (!Number.isInteger(code) && !name)
|
|
6724
|
+
return void console.log(`Undefined code or name is Status prop.`);
|
|
6725
|
+
return PresentationService.getStatuses(form.name, code)
|
|
6726
|
+
.then(data => {
|
|
6727
|
+
label.type = data.type;
|
|
6728
|
+
label.title = name;
|
|
6729
|
+
});
|
|
6730
|
+
});
|
|
6731
|
+
return { label, update };
|
|
6732
|
+
}
|
|
6733
|
+
|
|
6734
|
+
function useFormRequestData(form, options) {
|
|
6735
|
+
const route = vueRouter.useRoute();
|
|
6736
|
+
const id = vue.computed(() => Number(route.params.id));
|
|
6737
|
+
const formShadowState = vue.reactive({
|
|
6738
|
+
ready: false,
|
|
6739
|
+
show: false
|
|
6740
|
+
});
|
|
6741
|
+
vue.watch(() => id.value, () => {
|
|
6742
|
+
formShadowState.ready = false;
|
|
6743
|
+
});
|
|
6744
|
+
// Reading data after id.value updated
|
|
6745
|
+
vue.watch(() => id.value, () => {
|
|
6746
|
+
if (!Number.isInteger(id.value))
|
|
6747
|
+
return;
|
|
6748
|
+
form.read();
|
|
6749
|
+
}, { immediate: true });
|
|
6750
|
+
form.read = utils.requestHandler.bind(null, () => Promise.resolve()
|
|
6751
|
+
.then(() => {
|
|
6752
|
+
if (!form.name)
|
|
6753
|
+
throw new Error(`Form without entity name. Please set form.name`);
|
|
6754
|
+
return dataService.readById(form.name, id.value, {
|
|
6755
|
+
fields: options.fields,
|
|
6756
|
+
});
|
|
6757
|
+
})
|
|
6758
|
+
.then(utils.valuesToUpperCase)
|
|
6759
|
+
.then(values => {
|
|
6760
|
+
if (Number.isInteger(values.Version))
|
|
6761
|
+
form.version = values.Version;
|
|
6762
|
+
form.setValues(values);
|
|
6763
|
+
formShadowState.show = true;
|
|
6764
|
+
return values;
|
|
6765
|
+
})
|
|
6766
|
+
.catch(err => {
|
|
6767
|
+
if (Object.prototype.hasOwnProperty.call(err, "status")) {
|
|
6768
|
+
if ([403, 404].includes(err.status))
|
|
6769
|
+
formShadowState.show = false;
|
|
6770
|
+
}
|
|
6771
|
+
throw err;
|
|
6772
|
+
})
|
|
6773
|
+
.finally(() => {
|
|
6774
|
+
formShadowState.ready = true;
|
|
6775
|
+
}));
|
|
6776
|
+
form.save = utils.requestHandler.bind(null, () => Promise.resolve()
|
|
6777
|
+
.then(() => {
|
|
6778
|
+
if (!form.name)
|
|
6779
|
+
throw new Error(`Form without entity name. Please set form.name`);
|
|
6780
|
+
return dataService.updateById(form.name, id.value, form.changes, { version: form.version });
|
|
6781
|
+
})
|
|
6782
|
+
.then(response => {
|
|
6783
|
+
if (Number.isInteger(response.Version))
|
|
6784
|
+
form.version = response.Version;
|
|
6785
|
+
}));
|
|
6786
|
+
form.on(jenesiusVueForm.Form.EVENT_SAVE, form.read.bind(form));
|
|
6787
|
+
return {
|
|
6788
|
+
formShadowState
|
|
6789
|
+
};
|
|
6790
|
+
}
|
|
6791
|
+
|
|
6633
6792
|
const utils = {
|
|
6634
6793
|
clickOutside,
|
|
6635
6794
|
requestHandler,
|
|
@@ -6664,6 +6823,7 @@ exports.WidgetIcon = script$15;
|
|
|
6664
6823
|
exports.WidgetImage = script$i;
|
|
6665
6824
|
exports.WidgetInterfaceContainer = script$4;
|
|
6666
6825
|
exports.WidgetList = script$H;
|
|
6826
|
+
exports.WidgetMultiButton = script$S;
|
|
6667
6827
|
exports.WidgetNotFound = script$h;
|
|
6668
6828
|
exports.WidgetNotificationSystem = script$x;
|
|
6669
6829
|
exports.WidgetSection = script$m;
|
|
@@ -6681,6 +6841,10 @@ exports.metadataService = metadataService;
|
|
|
6681
6841
|
exports.processWizardService = processWizardService;
|
|
6682
6842
|
exports.requestHandler = requestHandler;
|
|
6683
6843
|
exports.setupSocket = setupSocket;
|
|
6844
|
+
exports.useFormAction = useFormAction;
|
|
6845
|
+
exports.useFormLabel = useFormLabel;
|
|
6846
|
+
exports.useFormMetadata = useFormMetadata;
|
|
6847
|
+
exports.useFormRequestData = useFormRequestData;
|
|
6684
6848
|
exports.useSocket = useSocket;
|
|
6685
6849
|
exports.utils = utils;
|
|
6686
6850
|
exports.viewService = viewService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eservices-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.384",
|
|
4
4
|
"description": "Core library",
|
|
5
5
|
"author": "",
|
|
6
6
|
"scripts": {
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"date-and-time": "^2.0.1",
|
|
51
|
-
"jenesius-vue-form": "^2.
|
|
51
|
+
"jenesius-vue-form": "^2.1.5",
|
|
52
52
|
"jenesius-vue-modal": "^1.5.0",
|
|
53
|
+
"socket.io-client": "^4.5.2",
|
|
53
54
|
"vue": "^3.0.0",
|
|
54
|
-
"vue-router": "^4.0.12"
|
|
55
|
-
"socket.io-client": "^4.5.2"
|
|
55
|
+
"vue-router": "^4.0.12"
|
|
56
56
|
},
|
|
57
57
|
"license": "ISC",
|
|
58
58
|
"repository": {
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare type Callback = (v: void | any) => void | Promise<any>;
|
|
2
|
-
interface EventEmitterInterface {
|
|
3
|
-
emit: (event: string, data?: any) => Promise<any>;
|
|
4
|
-
on: (event: string, callback: Callback) => void;
|
|
5
|
-
}
|
|
6
|
-
declare class EventEmitter implements EventEmitterInterface {
|
|
7
|
-
eventsState: {
|
|
8
|
-
[name: string]: Array<Callback>;
|
|
9
|
-
};
|
|
10
|
-
availableNames: Array<string> | null;
|
|
11
|
-
constructor(names?: Array<string>);
|
|
12
|
-
emit(event: string, data?: any): Promise<any>;
|
|
13
|
-
/**
|
|
14
|
-
* @param {String} event
|
|
15
|
-
* @param {Function} callback
|
|
16
|
-
*/
|
|
17
|
-
on(event: string, callback: Callback): void;
|
|
18
|
-
setAvailableEventNames(names: Array<string>): void;
|
|
19
|
-
}
|
|
20
|
-
export default EventEmitter;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
title: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
handleCreate: {
|
|
7
|
-
type: FunctionConstructor;
|
|
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
|
-
title?: unknown;
|
|
14
|
-
handleCreate?: unknown;
|
|
15
|
-
} & {
|
|
16
|
-
title: unknown;
|
|
17
|
-
handleCreate: unknown;
|
|
18
|
-
} & {}>, {}>;
|
|
19
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
|
-
[key: string]: any;
|
|
3
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
|
|
4
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
image: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
required: false;
|
|
5
|
-
};
|
|
6
|
-
icon: {
|
|
7
|
-
type: StringConstructor;
|
|
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<import("vue").ExtractPropTypes<{
|
|
13
|
-
image: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
required: false;
|
|
16
|
-
};
|
|
17
|
-
icon: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
required: false;
|
|
20
|
-
};
|
|
21
|
-
}>>, {}>;
|
|
22
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
default: {
|
|
3
|
-
ContainerInterface: 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
|
-
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<{} & {} & {}>, {}>;
|
|
5
|
-
WidgetInterfaceNotification: 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<{} & {} & {}>, {}>;
|
|
6
|
-
};
|
|
7
|
-
naomi: {
|
|
8
|
-
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<{} & {} & {}>, {}>;
|
|
9
|
-
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<{} & {} & {}>, {}>;
|
|
10
|
-
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<{} & {} & {}>, {}>;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
item: {
|
|
3
|
-
type: any;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
sub: {
|
|
7
|
-
type: BooleanConstructor;
|
|
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
|
-
item?: unknown;
|
|
14
|
-
sub?: unknown;
|
|
15
|
-
} & {
|
|
16
|
-
item: any;
|
|
17
|
-
sub: boolean;
|
|
18
|
-
} & {}>, {}>;
|
|
19
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
config: {
|
|
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
|
-
config?: unknown;
|
|
10
|
-
} & {
|
|
11
|
-
config: any;
|
|
12
|
-
} & {}>, {}>;
|
|
13
|
-
export default _default;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
title: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
image: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
interfaceWorker: {
|
|
11
|
-
type: any;
|
|
12
|
-
required: true;
|
|
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
|
-
title?: unknown;
|
|
18
|
-
image?: unknown;
|
|
19
|
-
interfaceWorker?: unknown;
|
|
20
|
-
} & {
|
|
21
|
-
title: unknown;
|
|
22
|
-
image: unknown;
|
|
23
|
-
interfaceWorker: any;
|
|
24
|
-
} & {}>, {}>;
|
|
25
|
-
export default _default;
|
package/dist/widgets/interface/naomi/WidgetInterfaceUserPopup/WidgetInterfaceUserPopup.vue.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
name: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
id: {
|
|
7
|
-
type: NumberConstructor;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
photo: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
interfaceWorker: {
|
|
15
|
-
type: any;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
config: {
|
|
19
|
-
type: ArrayConstructor;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
25
|
-
name?: unknown;
|
|
26
|
-
id?: unknown;
|
|
27
|
-
photo?: unknown;
|
|
28
|
-
interfaceWorker?: unknown;
|
|
29
|
-
config?: unknown;
|
|
30
|
-
} & {
|
|
31
|
-
name: unknown;
|
|
32
|
-
id: unknown;
|
|
33
|
-
photo: unknown;
|
|
34
|
-
interfaceWorker: any;
|
|
35
|
-
config: unknown;
|
|
36
|
-
} & {}>, {}>;
|
|
37
|
-
export default _default;
|
package/dist/widgets/interface/naomi/WidgetInterfaceUserPopup/WidgetInterfaceUserPopupEvent.vue.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
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;
|
|
@@ -1,6 +0,0 @@
|
|
|
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;
|
|
@@ -1,13 +0,0 @@
|
|
|
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;
|