ire-preview 3.2.31 → 3.2.33

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 (61) hide show
  1. package/dist/lib.es.js +40 -36
  2. package/dist/styles.css +1 -1
  3. package/package.json +1 -1
  4. package/dist/index.d.ts +0 -6
  5. package/dist/src/components/demo/form/Input.vue.d.ts +0 -30
  6. package/dist/src/components/demo/form/PreviewSelect.vue.d.ts +0 -21
  7. package/dist/src/components/demo/layout/MouseTracker.vue.d.ts +0 -21
  8. package/dist/src/components/demo/layout/PreviewLayout.vue.d.ts +0 -26
  9. package/dist/src/components/demo/layout/ShortcodeWrapper.vue.d.ts +0 -17
  10. package/dist/src/components/demo/preview/ActionModal.vue.d.ts +0 -6
  11. package/dist/src/components/demo/preview/BlockPreview.vue.d.ts +0 -15
  12. package/dist/src/components/demo/preview/FlatPreview.vue.d.ts +0 -11
  13. package/dist/src/components/demo/preview/FloorPreview.vue.d.ts +0 -16
  14. package/dist/src/components/demo/preview/Preview.vue.d.ts +0 -2
  15. package/dist/src/components/demo/preview/ProjectPreview.vue.d.ts +0 -17
  16. package/dist/src/components/demo/preview/tooltips/Tooltip_1.vue.d.ts +0 -6
  17. package/dist/src/components/demo/preview/tooltips/Tooltip_2.vue.d.ts +0 -7
  18. package/dist/src/components/demo/preview/tooltips/Tooltip_3.vue.d.ts +0 -6
  19. package/dist/src/components/demo/uiComponents/BackButton.vue.d.ts +0 -2
  20. package/dist/src/components/demo/uiComponents/Badge.vue.d.ts +0 -6
  21. package/dist/src/components/demo/uiComponents/BaseEditor.vue.d.ts +0 -5
  22. package/dist/src/components/demo/uiComponents/Button.vue.d.ts +0 -23
  23. package/dist/src/components/demo/uiComponents/Filters.vue.d.ts +0 -12
  24. package/dist/src/components/demo/uiComponents/FlatCard.vue.d.ts +0 -10
  25. package/dist/src/components/demo/uiComponents/FlatModalImage.vue.d.ts +0 -6
  26. package/dist/src/components/demo/uiComponents/FlatPreviewKeyValue.vue.d.ts +0 -22
  27. package/dist/src/components/demo/uiComponents/FlatsTable.vue.d.ts +0 -12
  28. package/dist/src/components/demo/uiComponents/PreviewModal.vue.d.ts +0 -21
  29. package/dist/src/components/demo/uiComponents/ReservationForm.vue.d.ts +0 -10
  30. package/dist/src/components/demo/uiComponents/table/Column.vue.d.ts +0 -2
  31. package/dist/src/components/demo/uiComponents/table/Table.vue.d.ts +0 -9
  32. package/dist/src/components/demo/uiComponents/table/TableAction.vue.d.ts +0 -10
  33. package/dist/src/components/demo/uiComponents/table/TableCol.vue.d.ts +0 -6
  34. package/dist/src/components/icons/ArrowRight.vue.d.ts +0 -2
  35. package/dist/src/components/icons/ClipBoard.vue.d.ts +0 -2
  36. package/dist/src/components/icons/Close.vue.d.ts +0 -2
  37. package/dist/src/components/icons/ContactIcon.vue.d.ts +0 -2
  38. package/dist/src/components/icons/Correct.vue.d.ts +0 -2
  39. package/dist/src/components/icons/Cube3d.vue.d.ts +0 -2
  40. package/dist/src/components/icons/DownloadIcon.vue.d.ts +0 -2
  41. package/dist/src/components/icons/FlatIcon.vue.d.ts +0 -2
  42. package/dist/src/components/icons/GridIcon.vue.d.ts +0 -2
  43. package/dist/src/components/icons/Logo.vue.d.ts +0 -2
  44. package/dist/src/components/icons/MagnifyIcon.vue.d.ts +0 -2
  45. package/dist/src/components/icons/MoneyBag.vue.d.ts +0 -2
  46. package/dist/src/components/icons/Placeholder.vue.d.ts +0 -2
  47. package/dist/src/components/icons/SortingArrow.vue.d.ts +0 -2
  48. package/dist/src/components/icons/SortingArrowAsc.vue.d.ts +0 -2
  49. package/dist/src/components/icons/TableIcon.vue.d.ts +0 -2
  50. package/dist/src/composable/helper.d.ts +0 -11
  51. package/dist/src/composable/useScroll.d.ts +0 -3
  52. package/dist/src/interfaces/components.d.ts +0 -218
  53. package/dist/src/interfaces/index.d.ts +0 -11
  54. package/dist/src/main.d.ts +0 -5
  55. package/dist/src/shortcodes/FlatsList.vue.d.ts +0 -11
  56. package/dist/src/shortcodes/Project.vue.d.ts +0 -6
  57. package/dist/src/shortcodes/index.d.ts +0 -2
  58. package/dist/src/store/useGlobal.d.ts +0 -71
  59. package/dist/src/types/DemoTypes.d.ts +0 -238
  60. package/dist/src/utils/axios.d.ts +0 -2
  61. package/dist/styles.d.ts +0 -1
@@ -1,218 +0,0 @@
1
- import { TableFieldsType } from '../types/DemoTypes';
2
- interface Compat {
3
- item: string;
4
- meta: string;
5
- }
6
- interface Sizes {
7
- thumbnail: Thumbnail;
8
- medium: Thumbnail;
9
- large: Thumbnail;
10
- full: Thumbnail;
11
- }
12
- interface Thumbnail {
13
- height: number;
14
- width: number;
15
- url: string;
16
- orientation: string;
17
- }
18
- interface Nonces {
19
- update: string;
20
- delete: string;
21
- edit: string;
22
- }
23
- export interface imageInterface {
24
- id: number;
25
- title: string;
26
- filename: string;
27
- url: string;
28
- link: string;
29
- alt: string;
30
- author: string;
31
- description: string;
32
- caption: string;
33
- name: string;
34
- status: string;
35
- uploadedTo: number;
36
- date: string;
37
- modified: string;
38
- menuOrder: number;
39
- mime: string;
40
- type: string;
41
- subtype: string;
42
- icon: string;
43
- dateFormatted: string;
44
- nonces: Nonces;
45
- editLink: string;
46
- meta: boolean;
47
- authorName: string;
48
- authorLink: string;
49
- filesizeInBytes: number;
50
- filesizeHumanReadable: string;
51
- context: string;
52
- originalImageURL: string;
53
- originalImageName: string;
54
- height: number;
55
- width: number;
56
- orientation: string;
57
- sizes: Sizes;
58
- compat: Compat;
59
- }
60
- export interface ProjectInterface {
61
- id: string;
62
- title: string;
63
- svg: string;
64
- project_image: imageInterface[];
65
- slug: string;
66
- polygon_data: PolygonDataCollection[];
67
- created_at: string;
68
- updated_at: string;
69
- }
70
- export interface FloorInterface {
71
- data: FloorItem[];
72
- page: number;
73
- per_page: number;
74
- total: number;
75
- }
76
- export interface FloorItem {
77
- id: string;
78
- title: string;
79
- floor_number: number;
80
- conf: "reserved" | "sold";
81
- floor_image: imageInterface[];
82
- svg: string;
83
- project_id: number;
84
- block_id: number;
85
- polygon_data: PolygonDataCollection[];
86
- counts?: {
87
- available?: number;
88
- reserved?: number;
89
- sold?: number;
90
- };
91
- flats?: FlatItem[];
92
- created_at: string;
93
- updated_at: string;
94
- }
95
- export interface BlockInterface {
96
- data: FloorItem[];
97
- page: number;
98
- per_page: number;
99
- total: number;
100
- }
101
- export interface BlockItem {
102
- id: string;
103
- title: string;
104
- conf: "reserved" | "sold";
105
- block_image: imageInterface[];
106
- svg: string;
107
- project_id: number;
108
- polygon_data: PolygonDataCollection[];
109
- counts?: {
110
- available?: number;
111
- reserved?: number;
112
- sold?: number;
113
- };
114
- created_at: string;
115
- updated_at: string;
116
- }
117
- export interface PolygonDataCollection {
118
- id: string;
119
- key: string;
120
- type: "flat" | "floor" | "block" | "tooltip" | "";
121
- }
122
- export interface selectDataItem {
123
- title: string;
124
- value: string;
125
- isLinked?: boolean;
126
- isDisabled?: boolean;
127
- type?: "" | "flat" | "floor" | "block" | "tooltip";
128
- }
129
- export interface FlatsInterface {
130
- data: FlatItem[];
131
- page: number;
132
- per_page: number;
133
- total: number;
134
- }
135
- export interface FlatItem {
136
- id: string;
137
- type_id: string | null;
138
- flat_number: string;
139
- project_id: string;
140
- conf: string | null;
141
- click_action: string;
142
- follow_link: string;
143
- floor_id: string;
144
- request_price: boolean;
145
- price: string;
146
- offer_price: string;
147
- block_id?: string | null;
148
- type?: TypeItem;
149
- use_type?: boolean;
150
- created_at: string;
151
- updated_at: string;
152
- }
153
- export interface TypeInterface {
154
- data: TypeItem[];
155
- page: number;
156
- per_page: number;
157
- total: number;
158
- }
159
- export interface TypeItem {
160
- id: string;
161
- title: string;
162
- teaser: string;
163
- project_id: string;
164
- image_2d?: imageInterface[] | null;
165
- image_3d?: imageInterface[] | null;
166
- files?: imageInterface[] | null;
167
- area_m2: string;
168
- rooms_count: string;
169
- other: {
170
- key: string;
171
- value: string;
172
- }[];
173
- created_at: string;
174
- updated_at: string;
175
- }
176
- export interface ProjectMeta {
177
- id?: number;
178
- project_id: number;
179
- meta_key: string;
180
- meta_value: string | number;
181
- }
182
- export interface ShortcodeData {
183
- flats: FlatItem[];
184
- floors: FloorItem[];
185
- blocks: BlockItem[];
186
- project: ProjectInterface;
187
- types: TypeItem[];
188
- meta: ProjectMeta[];
189
- actions: ActionItem[];
190
- tableFields: TableFieldsType[];
191
- tableContactUrl: string;
192
- }
193
- export interface ActionInterface {
194
- data: ActionItem[];
195
- page: number;
196
- per_page: number;
197
- total: number;
198
- }
199
- export interface ActionItem {
200
- id: string;
201
- title: string;
202
- data: ActionData;
203
- created_at: string;
204
- updated_at: string;
205
- }
206
- export interface ActionData {
207
- url: string;
208
- script: string;
209
- targetBlank: boolean;
210
- actionType: string;
211
- modalObject: ModalObject;
212
- }
213
- export interface ModalObject {
214
- title: string;
215
- description: string;
216
- modalImage: null | imageInterface[];
217
- }
218
- export {};
@@ -1,11 +0,0 @@
1
- interface Meta {
2
- meta_key: string;
3
- meta_value: string;
4
- }
5
- interface IrePlagin {
6
- nonce: string;
7
- ajax_url: string;
8
- translations: object;
9
- is_premium: boolean;
10
- is_gold: boolean;
11
- }
@@ -1,5 +0,0 @@
1
- import { Project, FlatsList } from './shortcodes';
2
- import { Plugin } from 'vue';
3
- declare const IrePreview: Plugin;
4
- export default IrePreview;
5
- export { Project, FlatsList };
@@ -1,11 +0,0 @@
1
- type __VLS_Props = {
2
- data: any;
3
- irePlugin: IrePlagin;
4
- perPage?: string;
5
- fromListView?: boolean;
6
- layout: "mixed" | "table" | "grid";
7
- };
8
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
9
- flatsContainer: HTMLDivElement;
10
- }, HTMLDivElement>;
11
- export default _default;
@@ -1,6 +0,0 @@
1
- type __VLS_Props = {
2
- data: any;
3
- irePlugin: IrePlagin;
4
- };
5
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
- export default _default;
@@ -1,2 +0,0 @@
1
- export { default as Project } from './Project.vue';
2
- export { default as FlatsList } from './FlatsList.vue';
@@ -1,71 +0,0 @@
1
- import { FlatItem, ShortcodeData } from '../types/DemoTypes';
2
- export declare const useGlobalStore: import('pinia').StoreDefinition<"global", Pick<{
3
- hoverdSvg: import('vue').Ref<any, any>;
4
- tooltip: import('vue').Ref<string, string>;
5
- shortcodeData: import('vue').Ref<ShortcodeData | undefined, ShortcodeData | undefined>;
6
- irePlaginWp: import('vue').Ref<IrePlagin | undefined, IrePlagin | undefined>;
7
- flats: import('vue').ComputedRef<FlatItem[]>;
8
- getMetaValue: (metaKey: string) => string | number;
9
- openReservedFlat: import('vue').ComputedRef<boolean>;
10
- openSoldFlat: import('vue').ComputedRef<boolean>;
11
- priceRounded: import('vue').ComputedRef<boolean>;
12
- translations: import('vue').ComputedRef<object | undefined>;
13
- cssVariables: import('vue').ComputedRef<{
14
- "--reserved-color": string | number;
15
- "--sold-color": string | number;
16
- "--path-hover-color": string | number;
17
- "--path-color": string | number;
18
- "--stroke-color": string | number;
19
- "--primary-color": string | number;
20
- "--stroke-width": string;
21
- "--border-radius": string;
22
- }>;
23
- setData: (data: any) => void;
24
- setIrePlaginWp: (val: IrePlagin) => void;
25
- }, "tooltip" | "hoverdSvg" | "shortcodeData" | "irePlaginWp">, Pick<{
26
- hoverdSvg: import('vue').Ref<any, any>;
27
- tooltip: import('vue').Ref<string, string>;
28
- shortcodeData: import('vue').Ref<ShortcodeData | undefined, ShortcodeData | undefined>;
29
- irePlaginWp: import('vue').Ref<IrePlagin | undefined, IrePlagin | undefined>;
30
- flats: import('vue').ComputedRef<FlatItem[]>;
31
- getMetaValue: (metaKey: string) => string | number;
32
- openReservedFlat: import('vue').ComputedRef<boolean>;
33
- openSoldFlat: import('vue').ComputedRef<boolean>;
34
- priceRounded: import('vue').ComputedRef<boolean>;
35
- translations: import('vue').ComputedRef<object | undefined>;
36
- cssVariables: import('vue').ComputedRef<{
37
- "--reserved-color": string | number;
38
- "--sold-color": string | number;
39
- "--path-hover-color": string | number;
40
- "--path-color": string | number;
41
- "--stroke-color": string | number;
42
- "--primary-color": string | number;
43
- "--stroke-width": string;
44
- "--border-radius": string;
45
- }>;
46
- setData: (data: any) => void;
47
- setIrePlaginWp: (val: IrePlagin) => void;
48
- }, "flats" | "openReservedFlat" | "openSoldFlat" | "priceRounded" | "translations" | "cssVariables">, Pick<{
49
- hoverdSvg: import('vue').Ref<any, any>;
50
- tooltip: import('vue').Ref<string, string>;
51
- shortcodeData: import('vue').Ref<ShortcodeData | undefined, ShortcodeData | undefined>;
52
- irePlaginWp: import('vue').Ref<IrePlagin | undefined, IrePlagin | undefined>;
53
- flats: import('vue').ComputedRef<FlatItem[]>;
54
- getMetaValue: (metaKey: string) => string | number;
55
- openReservedFlat: import('vue').ComputedRef<boolean>;
56
- openSoldFlat: import('vue').ComputedRef<boolean>;
57
- priceRounded: import('vue').ComputedRef<boolean>;
58
- translations: import('vue').ComputedRef<object | undefined>;
59
- cssVariables: import('vue').ComputedRef<{
60
- "--reserved-color": string | number;
61
- "--sold-color": string | number;
62
- "--path-hover-color": string | number;
63
- "--path-color": string | number;
64
- "--stroke-color": string | number;
65
- "--primary-color": string | number;
66
- "--stroke-width": string;
67
- "--border-radius": string;
68
- }>;
69
- setData: (data: any) => void;
70
- setIrePlaginWp: (val: IrePlagin) => void;
71
- }, "getMetaValue" | "setData" | "setIrePlaginWp">>;
@@ -1,238 +0,0 @@
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_id: string;
158
- request_price: string;
159
- price: string;
160
- offer_price: string;
161
- block_id?: string | null;
162
- type?: TypeItem;
163
- use_type?: boolean;
164
- files?: imageInterface[] | null;
165
- created_at: string;
166
- updated_at: string;
167
- }
168
- export interface TypeInterface {
169
- data: TypeItem[];
170
- page: number;
171
- per_page: number;
172
- total: number;
173
- }
174
- export interface TypeItem {
175
- id: string;
176
- title: string;
177
- teaser: string;
178
- project_id: string;
179
- image_2d?: imageInterface[] | null;
180
- image_3d?: imageInterface[] | null;
181
- gallery?: imageInterface[] | null;
182
- area_m2: string;
183
- other: any;
184
- rooms_count: string;
185
- created_at: string;
186
- updated_at: string;
187
- }
188
- export interface ProjectMeta {
189
- id?: number;
190
- project_id: number;
191
- meta_key: string;
192
- meta_value: string | number;
193
- }
194
- export interface ShortcodeData {
195
- flats: FlatItem[];
196
- floors: FloorItem[];
197
- blocks: BlockItem[];
198
- project: ProjectInterface;
199
- types: TypeItem[];
200
- meta: ProjectMeta[];
201
- actions: ActionItem[];
202
- configs: {
203
- tableFields: TableFieldsType[];
204
- tableContactUrl: string;
205
- hasTableOneColumn: boolean;
206
- };
207
- }
208
- export interface TableFieldsType {
209
- field: string;
210
- header: string;
211
- sortable: boolean;
212
- }
213
- export interface ActionInterface {
214
- data: ActionItem[];
215
- page: number;
216
- per_page: number;
217
- total: number;
218
- }
219
- export interface ActionItem {
220
- id: string;
221
- title: string;
222
- data: ActionData;
223
- created_at: string;
224
- updated_at: string;
225
- }
226
- export interface ActionData {
227
- url: string;
228
- script: string;
229
- targetBlank: boolean;
230
- actionType: string;
231
- modalObject: ModalObject;
232
- }
233
- export interface ModalObject {
234
- title: string;
235
- description: string;
236
- modalImage: null | imageInterface[];
237
- }
238
- export {};
@@ -1,2 +0,0 @@
1
- declare const createAxios: () => import('axios').AxiosInstance;
2
- export default createAxios;
package/dist/styles.d.ts DELETED
@@ -1 +0,0 @@
1
- export {}