ire-preview 2.3.17 → 2.4.0
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/index.d.ts +6 -0
- package/dist/lib.es.js +742 -752
- package/dist/src/components/Project.vue.d.ts +8 -0
- package/dist/src/components/demo/form/PreviewSelect.vue.d.ts +21 -0
- package/dist/src/components/demo/layout/MouseTracker.vue.d.ts +18 -0
- package/dist/src/components/demo/layout/PreviewLayout.vue.d.ts +25 -0
- package/dist/src/components/demo/preview/ActionModal.vue.d.ts +7 -0
- package/dist/src/components/demo/preview/BlockPreview.vue.d.ts +17 -0
- package/dist/src/components/demo/preview/FlatPreview.vue.d.ts +13 -0
- package/dist/src/components/demo/preview/FloorPreview.vue.d.ts +19 -0
- package/dist/src/components/demo/preview/Preview.vue.d.ts +6 -0
- package/dist/src/components/demo/preview/ProjectPreview.vue.d.ts +21 -0
- package/dist/src/components/demo/preview/Tooltip_1.vue.d.ts +8 -0
- package/dist/src/components/demo/preview/Tooltip_2.vue.d.ts +10 -0
- package/dist/src/components/demo/preview/Tooltip_3.vue.d.ts +8 -0
- package/dist/src/components/demo/uiComponents/BackButton.vue.d.ts +2 -0
- package/dist/src/components/demo/uiComponents/BaseEditor.vue.d.ts +6 -0
- package/dist/src/components/demo/uiComponents/Button.vue.d.ts +22 -0
- package/dist/src/components/demo/uiComponents/FlatPreviewKeyValue.vue.d.ts +23 -0
- package/dist/src/components/demo/uiComponents/PreviewModal.vue.d.ts +20 -0
- package/dist/src/components/icons/ArrowRight.vue.d.ts +2 -0
- package/dist/src/components/icons/Close.vue.d.ts +2 -0
- package/dist/src/components/icons/FlatIcon.vue.d.ts +2 -0
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/composable/helper.d.ts +4 -0
- package/dist/src/interfaces/index.d.ts +4 -0
- package/dist/src/main.d.ts +5 -0
- package/dist/src/store/useGlobal.d.ts +31 -0
- package/dist/src/types/DemoTypes.d.ts +225 -0
- package/dist/styles.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
data: any;
|
|
3
|
+
translations?: any;
|
|
4
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
5
|
+
data: any;
|
|
6
|
+
translations?: any;
|
|
7
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { selectDataItem } from '../../../types/DemoTypes';
|
|
2
|
+
declare let __VLS_typeProps: {
|
|
3
|
+
data: selectDataItem[];
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
clearable?: boolean;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = {
|
|
10
|
+
modelValue?: any;
|
|
11
|
+
} & typeof __VLS_typeProps;
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (modelValue: any) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
label: string;
|
|
18
|
+
placeholder: string;
|
|
19
|
+
clearable: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
slots: {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
refs: {
|
|
6
|
+
canvasRef: HTMLDivElement;
|
|
7
|
+
};
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
slots: {
|
|
3
|
+
header?(_: {}): any;
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {
|
|
7
|
+
canvasRef: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
13
|
+
hoverdData: any;
|
|
14
|
+
type?: any;
|
|
15
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
16
|
+
hoverdData: any;
|
|
17
|
+
type?: any;
|
|
18
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ActionData } from '../../../types/DemoTypes';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
modalData: ActionData;
|
|
4
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
5
|
+
modalData: ActionData;
|
|
6
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ActionItem, BlockItem, FlatItem, FloorItem } from '../../../types/DemoTypes';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
block: BlockItem;
|
|
4
|
+
flats: FlatItem[];
|
|
5
|
+
floors: FloorItem[];
|
|
6
|
+
actions: ActionItem[] | undefined;
|
|
7
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
changeComponent: (flow: "" | "flat" | "floor" | "block" | "project", hoveredData: any) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
10
|
+
block: BlockItem;
|
|
11
|
+
flats: FlatItem[];
|
|
12
|
+
floors: FloorItem[];
|
|
13
|
+
actions: ActionItem[] | undefined;
|
|
14
|
+
}> & Readonly<{
|
|
15
|
+
onChangeComponent?: ((flow: "" | "flat" | "floor" | "block" | "project", hoveredData: any) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FlatItem, FloorItem } from '../../../types/DemoTypes';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
flat: FlatItem | undefined;
|
|
4
|
+
floors: FloorItem[] | undefined;
|
|
5
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
changeComponent: (flow: "" | "flat" | "floor" | "block" | "project", hoveredData: any) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
8
|
+
flat: FlatItem | undefined;
|
|
9
|
+
floors: FloorItem[] | undefined;
|
|
10
|
+
}> & Readonly<{
|
|
11
|
+
onChangeComponent?: ((flow: "" | "flat" | "floor" | "block" | "project", hoveredData: any) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ActionItem, BlockItem, FlatItem, FloorItem } from '../../../types/DemoTypes';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
flats: FlatItem[] | undefined;
|
|
4
|
+
floor: FloorItem;
|
|
5
|
+
floors: FloorItem[];
|
|
6
|
+
blocks?: BlockItem[];
|
|
7
|
+
actions: ActionItem[] | undefined;
|
|
8
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
|
+
changeComponent: (flow: "" | "flat" | "floor" | "block" | "project", hoveredData: any) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
11
|
+
flats: FlatItem[] | undefined;
|
|
12
|
+
floor: FloorItem;
|
|
13
|
+
floors: FloorItem[];
|
|
14
|
+
blocks?: BlockItem[];
|
|
15
|
+
actions: ActionItem[] | undefined;
|
|
16
|
+
}> & Readonly<{
|
|
17
|
+
onChangeComponent?: ((flow: "" | "flat" | "floor" | "block" | "project", hoveredData: any) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
shortcodeDataProps: any;
|
|
3
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
4
|
+
shortcodeDataProps: any;
|
|
5
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ActionItem, BlockItem, FlatItem, FloorItem, ProjectInterface, ProjectMeta } from '../../../types/DemoTypes';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
project: ProjectInterface | undefined;
|
|
4
|
+
floors: FloorItem[] | undefined;
|
|
5
|
+
blocks: BlockItem[] | undefined;
|
|
6
|
+
flats: FlatItem[] | undefined;
|
|
7
|
+
actions: ActionItem[] | undefined;
|
|
8
|
+
projectMeta: ProjectMeta[] | undefined;
|
|
9
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
10
|
+
changeComponent: (flowComponent: "" | "tooltip" | "flat" | "floor" | "block", hoveredData: any) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
12
|
+
project: ProjectInterface | undefined;
|
|
13
|
+
floors: FloorItem[] | undefined;
|
|
14
|
+
blocks: BlockItem[] | undefined;
|
|
15
|
+
flats: FlatItem[] | undefined;
|
|
16
|
+
actions: ActionItem[] | undefined;
|
|
17
|
+
projectMeta: ProjectMeta[] | undefined;
|
|
18
|
+
}> & Readonly<{
|
|
19
|
+
onChangeComponent?: ((flowComponent: "" | "tooltip" | "flat" | "floor" | "block", hoveredData: any) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
hoveredData: any;
|
|
3
|
+
type: "flat" | "floor" | "block" | "tooltip" | "";
|
|
4
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
5
|
+
hoveredData: any;
|
|
6
|
+
type: "flat" | "floor" | "block" | "tooltip" | "";
|
|
7
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
hoveredData: any;
|
|
3
|
+
type: "flat" | "floor" | "block" | "tooltip" | "";
|
|
4
|
+
mouseTrack?: boolean;
|
|
5
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
6
|
+
hoveredData: any;
|
|
7
|
+
type: "flat" | "floor" | "block" | "tooltip" | "";
|
|
8
|
+
mouseTrack?: boolean;
|
|
9
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
hoveredData: any;
|
|
3
|
+
type: "flat" | "floor" | "block" | "tooltip" | "";
|
|
4
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
5
|
+
hoveredData: any;
|
|
6
|
+
type: "flat" | "floor" | "block" | "tooltip" | "";
|
|
7
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
editor: string | undefined;
|
|
3
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
4
|
+
editor: string | undefined;
|
|
5
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
slots: {
|
|
3
|
+
icon?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
refs: {};
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
10
|
+
title: string;
|
|
11
|
+
active?: boolean;
|
|
12
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
13
|
+
title: string;
|
|
14
|
+
active?: boolean;
|
|
15
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
slots: {
|
|
3
|
+
top?(_: {}): any;
|
|
4
|
+
sufix?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
11
|
+
keyName: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
14
|
+
keyName: string;
|
|
15
|
+
value: string;
|
|
16
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
slots: {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
refs: {};
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
10
|
+
close: () => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
12
|
+
onClose?: (() => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Project } from './Project.vue';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const useGlobalStore: import('pinia').StoreDefinition<"global", Pick<{
|
|
2
|
+
hoverdSvg: import('vue').Ref<any, any>;
|
|
3
|
+
tooltip: import('vue').Ref<string, string>;
|
|
4
|
+
shortcodeData: import('vue').Ref<any, any>;
|
|
5
|
+
translations: import('vue').Ref<any, any>;
|
|
6
|
+
getMetaValue: (metaKey: string) => any;
|
|
7
|
+
openReservedFlat: import('vue').ComputedRef<boolean>;
|
|
8
|
+
openSoldFlat: import('vue').ComputedRef<boolean>;
|
|
9
|
+
priceRounded: import('vue').ComputedRef<boolean>;
|
|
10
|
+
setData: (data: any) => void;
|
|
11
|
+
}, "hoverdSvg" | "tooltip" | "shortcodeData" | "translations">, Pick<{
|
|
12
|
+
hoverdSvg: import('vue').Ref<any, any>;
|
|
13
|
+
tooltip: import('vue').Ref<string, string>;
|
|
14
|
+
shortcodeData: import('vue').Ref<any, any>;
|
|
15
|
+
translations: import('vue').Ref<any, any>;
|
|
16
|
+
getMetaValue: (metaKey: string) => any;
|
|
17
|
+
openReservedFlat: import('vue').ComputedRef<boolean>;
|
|
18
|
+
openSoldFlat: import('vue').ComputedRef<boolean>;
|
|
19
|
+
priceRounded: import('vue').ComputedRef<boolean>;
|
|
20
|
+
setData: (data: any) => void;
|
|
21
|
+
}, "openReservedFlat" | "openSoldFlat" | "priceRounded">, Pick<{
|
|
22
|
+
hoverdSvg: import('vue').Ref<any, any>;
|
|
23
|
+
tooltip: import('vue').Ref<string, string>;
|
|
24
|
+
shortcodeData: import('vue').Ref<any, any>;
|
|
25
|
+
translations: import('vue').Ref<any, any>;
|
|
26
|
+
getMetaValue: (metaKey: string) => any;
|
|
27
|
+
openReservedFlat: import('vue').ComputedRef<boolean>;
|
|
28
|
+
openSoldFlat: import('vue').ComputedRef<boolean>;
|
|
29
|
+
priceRounded: import('vue').ComputedRef<boolean>;
|
|
30
|
+
setData: (data: any) => void;
|
|
31
|
+
}, "getMetaValue" | "setData">>;
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
export interface constants {
|
|
2
|
+
CIRCLE_RADIUS: number;
|
|
3
|
+
HOVER_CIRCLE_RADIUS: number;
|
|
4
|
+
PATH_COLOR: string;
|
|
5
|
+
SELECTED_PATH_COLOR: string;
|
|
6
|
+
NON_SELECTED_PATH_COLOR: string;
|
|
7
|
+
CIRCLE_COLOR: string;
|
|
8
|
+
CIRCLE_HOVER_COLOR: string;
|
|
9
|
+
PREVIEW_PATH_COLOR: string;
|
|
10
|
+
PREVIEW_PATH_HOVER_COLOR: string;
|
|
11
|
+
PREVIEW_RESERVED_COLOR: string;
|
|
12
|
+
PREVIEW_SOLD_COLOR: string;
|
|
13
|
+
PREVIEW_STROKE_COLOR: string;
|
|
14
|
+
PREVIEW_STROKE_WIDTH: number;
|
|
15
|
+
}
|
|
16
|
+
interface Compat {
|
|
17
|
+
item: string;
|
|
18
|
+
meta: string;
|
|
19
|
+
}
|
|
20
|
+
interface Sizes {
|
|
21
|
+
thumbnail: Thumbnail;
|
|
22
|
+
medium: Thumbnail;
|
|
23
|
+
large: Thumbnail;
|
|
24
|
+
full: Thumbnail;
|
|
25
|
+
}
|
|
26
|
+
interface Thumbnail {
|
|
27
|
+
height: number;
|
|
28
|
+
width: number;
|
|
29
|
+
url: string;
|
|
30
|
+
orientation: string;
|
|
31
|
+
}
|
|
32
|
+
interface Nonces {
|
|
33
|
+
update: string;
|
|
34
|
+
delete: string;
|
|
35
|
+
edit: string;
|
|
36
|
+
}
|
|
37
|
+
export interface imageInterface {
|
|
38
|
+
id: number;
|
|
39
|
+
title: string;
|
|
40
|
+
filename: string;
|
|
41
|
+
url: string;
|
|
42
|
+
link: string;
|
|
43
|
+
alt: string;
|
|
44
|
+
author: string;
|
|
45
|
+
description: string;
|
|
46
|
+
caption: string;
|
|
47
|
+
name: string;
|
|
48
|
+
status: string;
|
|
49
|
+
uploadedTo: number;
|
|
50
|
+
date: string;
|
|
51
|
+
modified: string;
|
|
52
|
+
menuOrder: number;
|
|
53
|
+
mime: string;
|
|
54
|
+
type: string;
|
|
55
|
+
subtype: string;
|
|
56
|
+
icon: string;
|
|
57
|
+
dateFormatted: string;
|
|
58
|
+
nonces: Nonces;
|
|
59
|
+
editLink: string;
|
|
60
|
+
meta: boolean;
|
|
61
|
+
authorName: string;
|
|
62
|
+
authorLink: string;
|
|
63
|
+
filesizeInBytes: number;
|
|
64
|
+
filesizeHumanReadable: string;
|
|
65
|
+
context: string;
|
|
66
|
+
originalImageURL: string;
|
|
67
|
+
originalImageName: string;
|
|
68
|
+
height: number;
|
|
69
|
+
width: number;
|
|
70
|
+
orientation: string;
|
|
71
|
+
sizes: Sizes;
|
|
72
|
+
compat: Compat;
|
|
73
|
+
}
|
|
74
|
+
export interface ProjectInterface {
|
|
75
|
+
id: string;
|
|
76
|
+
title: string;
|
|
77
|
+
svg: string;
|
|
78
|
+
project_image: imageInterface[];
|
|
79
|
+
slug: string;
|
|
80
|
+
polygon_data: PolygonDataCollection[];
|
|
81
|
+
created_at: string;
|
|
82
|
+
updated_at: string;
|
|
83
|
+
}
|
|
84
|
+
export interface FloorInterface {
|
|
85
|
+
data: FloorItem[];
|
|
86
|
+
page: number;
|
|
87
|
+
per_page: number;
|
|
88
|
+
total: number;
|
|
89
|
+
}
|
|
90
|
+
export interface FloorItem {
|
|
91
|
+
id: string;
|
|
92
|
+
title: string;
|
|
93
|
+
floor_number: number;
|
|
94
|
+
conf: "reserved" | "sold";
|
|
95
|
+
floor_image: imageInterface[];
|
|
96
|
+
svg: string;
|
|
97
|
+
project_id: number;
|
|
98
|
+
block_id: number;
|
|
99
|
+
polygon_data: PolygonDataCollection[];
|
|
100
|
+
img_contain: boolean;
|
|
101
|
+
counts?: {
|
|
102
|
+
available?: number;
|
|
103
|
+
reserved?: number;
|
|
104
|
+
sold?: number;
|
|
105
|
+
minimum_price?: number;
|
|
106
|
+
};
|
|
107
|
+
flats?: FlatItem[];
|
|
108
|
+
created_at: string;
|
|
109
|
+
updated_at: string;
|
|
110
|
+
}
|
|
111
|
+
export interface BlockInterface {
|
|
112
|
+
data: FloorItem[];
|
|
113
|
+
page: number;
|
|
114
|
+
per_page: number;
|
|
115
|
+
total: number;
|
|
116
|
+
}
|
|
117
|
+
export interface BlockItem {
|
|
118
|
+
id: string;
|
|
119
|
+
title: string;
|
|
120
|
+
conf: "reserved" | "sold";
|
|
121
|
+
block_image: imageInterface[];
|
|
122
|
+
svg: string;
|
|
123
|
+
project_id: number;
|
|
124
|
+
polygon_data: PolygonDataCollection[];
|
|
125
|
+
img_contain: boolean;
|
|
126
|
+
counts?: {
|
|
127
|
+
available?: number;
|
|
128
|
+
reserved?: number;
|
|
129
|
+
sold?: number;
|
|
130
|
+
};
|
|
131
|
+
created_at: string;
|
|
132
|
+
updated_at: string;
|
|
133
|
+
}
|
|
134
|
+
export interface PolygonDataCollection {
|
|
135
|
+
id: string;
|
|
136
|
+
key: string;
|
|
137
|
+
type: "flat" | "floor" | "block" | "tooltip" | "";
|
|
138
|
+
}
|
|
139
|
+
export interface selectDataItem {
|
|
140
|
+
title: string;
|
|
141
|
+
value: string;
|
|
142
|
+
isLinked?: boolean;
|
|
143
|
+
type?: "" | "flat" | "floor" | "block" | "tooltip";
|
|
144
|
+
}
|
|
145
|
+
export interface FlatsInterface {
|
|
146
|
+
data: FlatItem[];
|
|
147
|
+
page: number;
|
|
148
|
+
per_page: number;
|
|
149
|
+
total: number;
|
|
150
|
+
}
|
|
151
|
+
export interface FlatItem {
|
|
152
|
+
id: string;
|
|
153
|
+
type_id: string | null;
|
|
154
|
+
flat_number: string;
|
|
155
|
+
project_id: string;
|
|
156
|
+
conf: string | null;
|
|
157
|
+
floor_number: string;
|
|
158
|
+
price: string;
|
|
159
|
+
offer_price: string;
|
|
160
|
+
block_id?: string | null;
|
|
161
|
+
type?: TypeItem;
|
|
162
|
+
use_type?: boolean;
|
|
163
|
+
created_at: string;
|
|
164
|
+
updated_at: string;
|
|
165
|
+
}
|
|
166
|
+
export interface TypeInterface {
|
|
167
|
+
data: TypeItem[];
|
|
168
|
+
page: number;
|
|
169
|
+
per_page: number;
|
|
170
|
+
total: number;
|
|
171
|
+
}
|
|
172
|
+
export interface TypeItem {
|
|
173
|
+
id: string;
|
|
174
|
+
title: string;
|
|
175
|
+
teaser: string;
|
|
176
|
+
project_id: string;
|
|
177
|
+
image_2d?: imageInterface[] | null;
|
|
178
|
+
image_3d?: imageInterface[] | null;
|
|
179
|
+
gallery?: imageInterface[] | null;
|
|
180
|
+
area_m2: string;
|
|
181
|
+
rooms_count: string;
|
|
182
|
+
created_at: string;
|
|
183
|
+
updated_at: string;
|
|
184
|
+
}
|
|
185
|
+
export interface ProjectMeta {
|
|
186
|
+
id?: number;
|
|
187
|
+
project_id: number;
|
|
188
|
+
meta_key: string;
|
|
189
|
+
meta_value: string | number;
|
|
190
|
+
}
|
|
191
|
+
export interface ShortcodeData {
|
|
192
|
+
flats: FlatItem[];
|
|
193
|
+
floors: FloorItem[];
|
|
194
|
+
blocks: BlockItem[];
|
|
195
|
+
project: ProjectInterface;
|
|
196
|
+
types: TypeItem[];
|
|
197
|
+
meta: ProjectMeta[];
|
|
198
|
+
actions: ActionItem[];
|
|
199
|
+
}
|
|
200
|
+
export interface ActionInterface {
|
|
201
|
+
data: ActionItem[];
|
|
202
|
+
page: number;
|
|
203
|
+
per_page: number;
|
|
204
|
+
total: number;
|
|
205
|
+
}
|
|
206
|
+
export interface ActionItem {
|
|
207
|
+
id: string;
|
|
208
|
+
title: string;
|
|
209
|
+
data: ActionData;
|
|
210
|
+
created_at: string;
|
|
211
|
+
updated_at: string;
|
|
212
|
+
}
|
|
213
|
+
export interface ActionData {
|
|
214
|
+
url: string;
|
|
215
|
+
script: string;
|
|
216
|
+
targetBlank: boolean;
|
|
217
|
+
actionType: string;
|
|
218
|
+
modalObject: ModalObject;
|
|
219
|
+
}
|
|
220
|
+
export interface ModalObject {
|
|
221
|
+
title: string;
|
|
222
|
+
description: string;
|
|
223
|
+
modalImage: null | imageInterface[];
|
|
224
|
+
}
|
|
225
|
+
export {};
|
package/dist/styles.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|