ire-preview 1.0.3 → 2.0.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.
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ data: any;
3
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
4
+ data: any;
5
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ 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,23 @@
1
+ declare function __VLS_template(): {
2
+ slots: {
3
+ header?(_: {}): any;
4
+ default?(_: {}): 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
+ hoverdData: any;
12
+ type?: any;
13
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
14
+ hoverdData: any;
15
+ type?: any;
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,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,15 @@
1
+ import { BlockItem, FlatItem, FloorItem } from '../../../types/DemoTypes';
2
+ declare const _default: import('vue').DefineComponent<{
3
+ block: BlockItem;
4
+ flats: FlatItem[];
5
+ floors: FloorItem[];
6
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
7
+ changeComponent: (flow: "" | "flat" | "floor" | "block" | "project", hoveredData: any) => any;
8
+ }, string, import('vue').PublicProps, Readonly<{
9
+ block: BlockItem;
10
+ flats: FlatItem[];
11
+ floors: FloorItem[];
12
+ }> & Readonly<{
13
+ onChangeComponent?: ((flow: "" | "flat" | "floor" | "block" | "project", hoveredData: any) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ 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,17 @@
1
+ import { 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
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
8
+ changeComponent: (flow: "" | "flat" | "floor" | "block" | "project", hoveredData: any) => any;
9
+ }, string, import('vue').PublicProps, Readonly<{
10
+ flats: FlatItem[] | undefined;
11
+ floor: FloorItem;
12
+ floors: FloorItem[];
13
+ blocks?: BlockItem[];
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,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: "" | "flat" | "floor" | "block" | "tooltip", 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: "" | "flat" | "floor" | "block" | "tooltip", 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,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,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,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,2 @@
1
+ import { Project } from './components';
2
+ export { Project };
@@ -0,0 +1,223 @@
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
+ };
106
+ flats?: FlatItem[];
107
+ created_at: string;
108
+ updated_at: string;
109
+ }
110
+ export interface BlockInterface {
111
+ data: FloorItem[];
112
+ page: number;
113
+ per_page: number;
114
+ total: number;
115
+ }
116
+ export interface BlockItem {
117
+ id: string;
118
+ title: string;
119
+ conf: "reserved" | "sold";
120
+ block_image: imageInterface[];
121
+ svg: string;
122
+ project_id: number;
123
+ polygon_data: PolygonDataCollection[];
124
+ img_contain: boolean;
125
+ counts?: {
126
+ available?: number;
127
+ reserved?: number;
128
+ sold?: number;
129
+ };
130
+ created_at: string;
131
+ updated_at: string;
132
+ }
133
+ export interface PolygonDataCollection {
134
+ id: string;
135
+ key: string;
136
+ type: "flat" | "floor" | "block" | "tooltip" | "";
137
+ }
138
+ export interface selectDataItem {
139
+ title: string;
140
+ value: string;
141
+ isLinked?: boolean;
142
+ type?: "" | "flat" | "floor" | "block" | "tooltip";
143
+ }
144
+ export interface FlatsInterface {
145
+ data: FlatItem[];
146
+ page: number;
147
+ per_page: number;
148
+ total: number;
149
+ }
150
+ export interface FlatItem {
151
+ id: string;
152
+ type_id: string | null;
153
+ flat_number: string;
154
+ project_id: string;
155
+ conf: string | null;
156
+ floor_number: string;
157
+ price: string;
158
+ offer_price: string;
159
+ block_id?: string | null;
160
+ type?: TypeItem;
161
+ created_at: string;
162
+ updated_at: string;
163
+ }
164
+ export interface TypeInterface {
165
+ data: TypeItem[];
166
+ page: number;
167
+ per_page: number;
168
+ total: number;
169
+ }
170
+ export interface TypeItem {
171
+ id: string;
172
+ title: string;
173
+ teaser: string;
174
+ project_id: string;
175
+ image_2d?: imageInterface[] | null;
176
+ image_3d?: imageInterface[] | null;
177
+ gallery?: imageInterface[] | null;
178
+ area_m2: string;
179
+ rooms_count: string;
180
+ created_at: string;
181
+ updated_at: string;
182
+ }
183
+ export interface ProjectMeta {
184
+ id?: number;
185
+ project_id: number;
186
+ meta_key: string;
187
+ meta_value: string | number;
188
+ }
189
+ export interface ShortcodeData {
190
+ flats: FlatItem[];
191
+ floors: FloorItem[];
192
+ blocks: BlockItem[];
193
+ project: ProjectInterface;
194
+ types: TypeItem[];
195
+ meta: ProjectMeta[];
196
+ actions: ActionItem[];
197
+ }
198
+ export interface ActionInterface {
199
+ data: ActionItem[];
200
+ page: number;
201
+ per_page: number;
202
+ total: number;
203
+ }
204
+ export interface ActionItem {
205
+ id: string;
206
+ title: string;
207
+ data: ActionData;
208
+ created_at: string;
209
+ updated_at: string;
210
+ }
211
+ export interface ActionData {
212
+ url: string;
213
+ script: string;
214
+ targetBlank: boolean;
215
+ actionType: string;
216
+ modalObject: ModalObject;
217
+ }
218
+ export interface ModalObject {
219
+ title: string;
220
+ description: string;
221
+ modalImage: null | imageInterface[];
222
+ }
223
+ export {};
package/dist/styles.css CHANGED
@@ -1 +1 @@
1
- *,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-pink-500{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}.text-orange-200{--tw-text-opacity: 1;color:rgb(254 215 170 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}
1
+ *,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.ire-pointer-events-none{pointer-events:none}.ire-fixed{position:fixed}.ire-absolute{position:absolute}.ire-relative{position:relative}.ire-sticky{position:sticky}.\!ire-bottom-10{bottom:2.5rem!important}.\!ire-right-10{right:2.5rem!important}.ire-left-0{left:0}.ire-right-2\.5{right:.625rem}.ire-right-full{right:100%}.ire-top-0{top:0}.ire-top-2\.5{top:.625rem}.ire-z-\[99999\]{z-index:99999}.ire-z-\[999\]{z-index:999}.ire-mx-3{margin-left:.75rem;margin-right:.75rem}.ire-my-2{margin-top:.5rem;margin-bottom:.5rem}.\!ire-mt-2{margin-top:.5rem!important}.ire-mb-3{margin-bottom:.75rem}.ire-ml-1{margin-left:.25rem}.ire-ml-4{margin-left:1rem}.ire-mt-1{margin-top:.25rem}.ire-mt-5{margin-top:1.25rem}.ire-inline-block{display:inline-block}.ire-flex{display:flex}.ire-hidden{display:none}.ire-h-10{height:2.5rem}.ire-h-5{height:1.25rem}.ire-h-\[400px\]{height:400px}.ire-h-\[48px\]{height:48px}.ire-h-fit{height:-moz-fit-content;height:fit-content}.ire-h-full{height:100%}.ire-max-h-\[80\%\]{max-height:80%}.ire-w-10{width:2.5rem}.ire-w-5{width:1.25rem}.ire-w-6{width:1.5rem}.ire-w-fit{width:-moz-fit-content;width:fit-content}.ire-w-full{width:100%}.ire-min-w-3{min-width:.75rem}.ire-min-w-36{min-width:9rem}.ire-min-w-\[150px\]{min-width:150px}.ire-min-w-full{min-width:100%}.ire-max-w-\[200px\]{max-width:200px}.-ire-translate-x-1{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ire-translate-x-3{--tw-translate-x: .75rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ire-rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ire-cursor-auto{cursor:auto}.ire-cursor-default{cursor:default}.ire-cursor-pointer{cursor:pointer}.ire-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ire-appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.ire-flex-row-reverse{flex-direction:row-reverse}.ire-flex-col{flex-direction:column}.ire-items-start{align-items:flex-start}.ire-items-center{align-items:center}.ire-justify-center{justify-content:center}.ire-justify-between{justify-content:space-between}.ire-gap-1{gap:.25rem}.ire-gap-2{gap:.5rem}.ire-gap-3{gap:.75rem}.ire-gap-5{gap:1.25rem}.ire-overflow-hidden{overflow:hidden}.ire-overflow-y-auto{overflow-y:auto}.ire-rounded-full{border-radius:9999px}.ire-rounded-lg{border-radius:.5rem}.ire-rounded-none{border-radius:0}.ire-rounded-l-sm{border-top-left-radius:.125rem;border-bottom-left-radius:.125rem}.ire-border{border-width:1px}.ire-border-b{border-bottom-width:1px}.ire-border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.ire-border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.ire-border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.ire-border-b-gray-200{--tw-border-opacity: 1;border-bottom-color:rgb(229 231 235 / var(--tw-border-opacity))}.ire-bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.ire-bg-black\/40{background-color:#0006}.ire-bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.ire-bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.ire-bg-primary{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.ire-bg-transparent{background-color:transparent}.ire-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.\!ire-stroke-white{stroke:#fff!important}.ire-object-contain{-o-object-fit:contain;object-fit:contain}.ire-object-cover{-o-object-fit:cover;object-fit:cover}.ire-object-top{-o-object-position:top;object-position:top}.ire-p-1{padding:.25rem}.ire-p-2{padding:.5rem}.ire-p-3{padding:.75rem}.ire-p-4{padding:1rem}.ire-p-5{padding:1.25rem}.ire-p-6{padding:1.5rem}.ire-px-4{padding-left:1rem;padding-right:1rem}.ire-px-7{padding-left:1.75rem;padding-right:1.75rem}.ire-py-2{padding-top:.5rem;padding-bottom:.5rem}.ire-py-3{padding-top:.75rem;padding-bottom:.75rem}.ire-py-4{padding-top:1rem;padding-bottom:1rem}.ire-pl-3{padding-left:.75rem}.ire-pr-8{padding-right:2rem}.ire-pt-1{padding-top:.25rem}.ire-pt-\[50\%\]{padding-top:50%}.ire-text-center{text-align:center}.\!ire-text-2xl{font-size:1.5rem!important;line-height:2rem!important}.\!ire-text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.\!ire-text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.\!ire-text-sm{font-size:.875rem!important;line-height:1.25rem!important}.\!ire-text-xs{font-size:.75rem!important;line-height:1rem!important}.ire-text-sm{font-size:.875rem;line-height:1.25rem}.ire-font-bold{font-weight:700}.ire-font-light{font-weight:300}.ire-font-semibold{font-weight:600}.ire-uppercase{text-transform:uppercase}.ire-capitalize{text-transform:capitalize}.ire-text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.ire-text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.ire-text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.ire-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.ire-line-through{text-decoration-line:line-through}.ire-shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ire-transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ire-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ire-duration-300{transition-duration:.3s}.ire-ease-linear{transition-timing-function:linear}.label{margin-bottom:.25rem!important;font-size:.75rem;line-height:1rem;text-transform:capitalize;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.canvas path{stroke:var(--stroke-color);stroke-width:var(--stroke-width)}.ire-fade-in-out-enter-from,.ire-fade-in-out-leave-to{opacity:0}.ire-fade-in-out-enter-active,.ire-fade-in-out-leave-active{transition:.3s ease-in-out}.ire-fade-in-out-enter-to,.ire-fade-in-out-leave-from{opacity:1}.placeholder\:ire-text-slate-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.placeholder\:ire-text-slate-400::placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.hover\:ire-border-slate-400:hover{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.hover\:ire-bg-black:hover{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.hover\:ire-bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:ire-bg-primary:hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.hover\:ire-text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.focus\:ire-border-slate-400:focus{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.focus\:ire-shadow-md:focus{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:ire-outline-none:focus{outline:2px solid transparent;outline-offset:2px}@media (min-width: 1024px){.lg\:ire-block{display:block}.lg\:ire-h-96{height:24rem}.lg\:ire-w-96{width:24rem}.lg\:ire-w-auto{width:auto}.lg\:ire-min-w-\[250px\]{min-width:250px}.lg\:ire-min-w-\[500px\]{min-width:500px}.lg\:ire-flex-row{flex-direction:row}.lg\:ire-gap-20{gap:5rem}.lg\:\!ire-text-balance{text-wrap:balance!important}.lg\:ire-p-32{padding:8rem}.lg\:ire-px-0{padding-left:0;padding-right:0}.lg\:ire-px-5{padding-left:1.25rem;padding-right:1.25rem}.lg\:ire-py-2{padding-top:.5rem;padding-bottom:.5rem}.lg\:\!ire-text-xl{font-size:1.25rem!important;line-height:1.75rem!important}}.\[\&_a\]\:ire-cursor-pointer a{cursor:pointer}.\[\&_a\]\:ire-text-\[\#2980b9\] a{--tw-text-opacity: 1;color:rgb(41 128 185 / var(--tw-text-opacity))}.\[\&_a\]\:ire-underline a{text-decoration-line:underline}.\[\&_g\[conf\=reserved\]_path\]\:ire-fill-\[var\(--reserved-color\)\] g[conf=reserved] path{fill:var(--reserved-color)}.\[\&_g\[conf\=sold\]_path\]\:ire-fill-\[var\(--sold-color\)\] g[conf=sold] path{fill:var(--sold-color)}.\[\&_path\]\:ire-cursor-pointer path{cursor:pointer}.\[\&_path\]\:ire-fill-\[var\(--path-color\)\] path{fill:var(--path-color)}.\[\&_path\]\:ire-fill-gray-400 path{fill:#9ca3af}.\[\&_path\]\:\!ire-stroke-white path{stroke:#fff!important}.\[\&_path\]\:ire-stroke-black path{stroke:#000}.\[\&_path\]\:\!ire-transition-all path{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.\[\&_path\]\:ire-transition-all path{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.\[\&_path\]\:hover\:ire-fill-white:hover path{fill:#fff}.hover\:\[\&_path\]\:ire-fill-\[var\(--path-hover-color\)\] path:hover{fill:var(--path-hover-color)}.hover\:\[\&_path\]\:ire-fill-\[var\(--reserved-color\)\] path:hover{fill:var(--reserved-color)}.hover\:\[\&_path\]\:ire-fill-\[var\(--sold-color\)\] path:hover{fill:var(--sold-color)}.ire-group:hover .group-hover\:\[\&_path\]\:ire-fill-white path{fill:#fff}.ire-group:hover .group-hover\:\[\&_path\]\:ire-stroke-white path{stroke:#fff}.\[\&_svg\]\:ire-h-3 svg{height:.75rem}.\[\&_svg\]\:ire-w-3 svg{width:.75rem}.\[\&_ul\]\:ire-flex ul{display:flex}.\[\&_ul\]\:ire-columns-1 ul{-moz-columns:1;columns:1}.\[\&_ul\]\:ire-flex-col ul{flex-direction:column}.\[\&_ul\]\:ire-gap-2 ul{gap:.5rem}.\[\&_ul_li\]\:ire-relative ul li{position:relative}.\[\&_ul_li\]\:ire-pl-\[20px\] ul li{padding-left:20px}.\[\&_ul_li\]\:after\:ire-absolute ul li:after{content:var(--tw-content);position:absolute}.\[\&_ul_li\]\:after\:ire-left-2 ul li:after{content:var(--tw-content);left:.5rem}.\[\&_ul_li\]\:after\:ire-top-\[10px\] ul li:after{content:var(--tw-content);top:10px}.\[\&_ul_li\]\:after\:ire-h-\[4px\] ul li:after{content:var(--tw-content);height:4px}.\[\&_ul_li\]\:after\:ire-w-\[4px\] ul li:after{content:var(--tw-content);width:4px}.\[\&_ul_li\]\:after\:ire-rounded-\[50\%\] ul li:after{content:var(--tw-content);border-radius:50%}.\[\&_ul_li\]\:after\:ire-bg-black ul li:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}
package/dist/styles.d.ts CHANGED
@@ -1 +1 @@
1
- export { }
1
+ export {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ire-preview",
3
- "version": "1.0.3",
3
+ "version": "2.0.0",
4
4
  "type": "module",
5
5
  "emitDeclarationOnly": true,
6
6
  "declaration": true,
@@ -11,9 +11,11 @@
11
11
  "exports": {
12
12
  ".": {
13
13
  "import": "./dist/lib.es.js",
14
- "require": "./dist/lib.umd.js"
14
+ "require": "./dist/lib.umd.js",
15
+ "types": "./dist/index.d.ts"
15
16
  },
16
- "./dist/styles.css": "./dist/styles.css"
17
+ "./dist/styles.css": "./dist/styles.css",
18
+ "./dist/index.d.ts": "./dist/index.d.ts"
17
19
  },
18
20
  "files": [
19
21
  "dist"