@tech_carthagos/page-builder 1.0.27 → 1.0.28
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/{CraftEditor-D2EBrpQi.js → CraftEditor-DSeEURkG.js} +1 -1
- package/dist/{CraftEditor-bE3h6p8p.cjs → CraftEditor-Do2rCE7b.cjs} +1 -1
- package/dist/{index-C_JmCif3.js → index-CDGYhfT7.js} +2551 -2500
- package/dist/index-Co66TNSy.cjs +189 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist-types/user/Container.d.ts +20 -6
- package/dist-types/user/Container.d.ts.map +1 -1
- package/dist-types/user/ContainerOld.d.ts +53 -12
- package/dist-types/user/ContainerOld.d.ts.map +1 -1
- package/dist-types/user/Div.d.ts +20 -6
- package/dist-types/user/Div.d.ts.map +1 -1
- package/dist-types/user/Wrapper.d.ts +20 -6
- package/dist-types/user/Wrapper.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index-Bq79BZ9n.cjs +0 -189
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Co66TNSy.cjs");exports.ApiConfigProvider=e.ApiConfigProvider;exports.DEVICE_ORDER=e.DEVICE_ORDER;exports.DeviceSizeProvider=e.DeviceSizeProvider;exports.EventDataProvider=e.EventDataProvider;exports.PageBuilder=e.PageBuilder;exports.PreviewModal=e.PreviewModal;exports.TEMPLATE_VARIABLES=e.TEMPLATE_VARIABLES;exports.getPlaceholderPaths=e.getPlaceholderPaths;exports.getResponsiveValue=e.getResponsiveValue;exports.hasTemplatePlaceholders=e.hasTemplatePlaceholders;exports.processTemplate=e.processTemplate;exports.useApiConfig=e.useApiConfig;exports.useDeviceSize=e.useDeviceSize;exports.useEventData=e.useEventData;
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a1 as s, a5 as i, X as r, Y as o, $ as t, a0 as l, a9 as v, a8 as P, a4 as E, a7 as d, a6 as p, a2 as D, a3 as c, K as g } from "./index-
|
|
1
|
+
import { a1 as s, a5 as i, X as r, Y as o, $ as t, a0 as l, a9 as v, a8 as P, a4 as E, a7 as d, a6 as p, a2 as D, a3 as c, K as g } from "./index-CDGYhfT7.js";
|
|
2
2
|
export {
|
|
3
3
|
s as ApiConfigProvider,
|
|
4
4
|
i as DEVICE_ORDER,
|
|
@@ -22,12 +22,26 @@ export declare const Container: {
|
|
|
22
22
|
bottom: number;
|
|
23
23
|
left: number;
|
|
24
24
|
};
|
|
25
|
-
width:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
width: {
|
|
26
|
+
type: string;
|
|
27
|
+
};
|
|
28
|
+
height: {
|
|
29
|
+
type: string;
|
|
30
|
+
};
|
|
31
|
+
minHeight: {
|
|
32
|
+
type: string;
|
|
33
|
+
value: number;
|
|
34
|
+
unit: string;
|
|
35
|
+
};
|
|
36
|
+
maxHeight: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
minWidth: {
|
|
40
|
+
type: string;
|
|
41
|
+
};
|
|
42
|
+
maxWidth: {
|
|
43
|
+
type: string;
|
|
44
|
+
};
|
|
31
45
|
display: string;
|
|
32
46
|
flexDirection: string;
|
|
33
47
|
justifyContent: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../src/user/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,eAAO,MAAM,SAAS;sBAAqB,QAAQ
|
|
1
|
+
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../src/user/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,eAAO,MAAM,SAAS;sBAAqB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCA6BpB,IAAI,EAAE;;;CARpC,CAAC"}
|
|
@@ -78,12 +78,31 @@ export namespace Container {
|
|
|
78
78
|
let left_1: number;
|
|
79
79
|
export { left_1 as left };
|
|
80
80
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
namespace width {
|
|
82
|
+
let type: string;
|
|
83
|
+
}
|
|
84
|
+
namespace height {
|
|
85
|
+
let type_1: string;
|
|
86
|
+
export { type_1 as type };
|
|
87
|
+
}
|
|
88
|
+
namespace minHeight {
|
|
89
|
+
let type_2: string;
|
|
90
|
+
export { type_2 as type };
|
|
91
|
+
export let value: number;
|
|
92
|
+
export let unit: string;
|
|
93
|
+
}
|
|
94
|
+
namespace maxHeight {
|
|
95
|
+
let type_3: string;
|
|
96
|
+
export { type_3 as type };
|
|
97
|
+
}
|
|
98
|
+
namespace minWidth {
|
|
99
|
+
let type_4: string;
|
|
100
|
+
export { type_4 as type };
|
|
101
|
+
}
|
|
102
|
+
namespace maxWidth {
|
|
103
|
+
let type_5: string;
|
|
104
|
+
export { type_5 as type };
|
|
105
|
+
}
|
|
87
106
|
let display: string;
|
|
88
107
|
let flexDirection: string;
|
|
89
108
|
let justifyContent: string;
|
|
@@ -131,17 +150,39 @@ export namespace divDefaultProps {
|
|
|
131
150
|
export { left_3 as left };
|
|
132
151
|
}
|
|
133
152
|
export { margin_1 as margin };
|
|
134
|
-
|
|
153
|
+
export namespace width_1 {
|
|
154
|
+
let type_6: string;
|
|
155
|
+
export { type_6 as type };
|
|
156
|
+
}
|
|
135
157
|
export { width_1 as width };
|
|
136
|
-
|
|
158
|
+
export namespace height_1 {
|
|
159
|
+
let type_7: string;
|
|
160
|
+
export { type_7 as type };
|
|
161
|
+
}
|
|
137
162
|
export { height_1 as height };
|
|
138
|
-
|
|
163
|
+
export namespace minHeight_1 {
|
|
164
|
+
let type_8: string;
|
|
165
|
+
export { type_8 as type };
|
|
166
|
+
let value_1: number;
|
|
167
|
+
export { value_1 as value };
|
|
168
|
+
let unit_1: string;
|
|
169
|
+
export { unit_1 as unit };
|
|
170
|
+
}
|
|
139
171
|
export { minHeight_1 as minHeight };
|
|
140
|
-
|
|
172
|
+
export namespace maxHeight_1 {
|
|
173
|
+
let type_9: string;
|
|
174
|
+
export { type_9 as type };
|
|
175
|
+
}
|
|
141
176
|
export { maxHeight_1 as maxHeight };
|
|
142
|
-
|
|
177
|
+
export namespace minWidth_1 {
|
|
178
|
+
let type_10: string;
|
|
179
|
+
export { type_10 as type };
|
|
180
|
+
}
|
|
143
181
|
export { minWidth_1 as minWidth };
|
|
144
|
-
|
|
182
|
+
export namespace maxWidth_1 {
|
|
183
|
+
let type_11: string;
|
|
184
|
+
export { type_11 as type };
|
|
185
|
+
}
|
|
145
186
|
export { maxWidth_1 as maxWidth };
|
|
146
187
|
let display_1: string;
|
|
147
188
|
export { display_1 as display };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContainerOld.d.ts","sourceRoot":"","sources":["../../src/user/ContainerOld.jsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContainerOld.d.ts","sourceRoot":"","sources":["../../src/user/ContainerOld.jsx"],"names":[],"mappings":"AA+FO;;;;;;;;;;;;;;;;;;;;;;;EAmCN;AAEM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA0EN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BM,iGAiLN"}
|
package/dist-types/user/Div.d.ts
CHANGED
|
@@ -57,12 +57,26 @@ export declare const Div: {
|
|
|
57
57
|
bottom: number;
|
|
58
58
|
left: number;
|
|
59
59
|
};
|
|
60
|
-
width:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
60
|
+
width: {
|
|
61
|
+
type: string;
|
|
62
|
+
};
|
|
63
|
+
height: {
|
|
64
|
+
type: string;
|
|
65
|
+
};
|
|
66
|
+
minHeight: {
|
|
67
|
+
type: string;
|
|
68
|
+
value: number;
|
|
69
|
+
unit: string;
|
|
70
|
+
};
|
|
71
|
+
maxHeight: {
|
|
72
|
+
type: string;
|
|
73
|
+
};
|
|
74
|
+
minWidth: {
|
|
75
|
+
type: string;
|
|
76
|
+
};
|
|
77
|
+
maxWidth: {
|
|
78
|
+
type: string;
|
|
79
|
+
};
|
|
66
80
|
display: string;
|
|
67
81
|
flexDirection: string;
|
|
68
82
|
justifyContent: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Div.d.ts","sourceRoot":"","sources":["../../src/user/Div.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,QAAQ,GAAG;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EACJ,MAAM,GACN;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE,MAAM,CAAC,EACH,MAAM,GACN;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC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"}
|
|
@@ -21,12 +21,26 @@ export declare const Wrapper: {
|
|
|
21
21
|
bottom: number;
|
|
22
22
|
left: number;
|
|
23
23
|
};
|
|
24
|
-
width:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
width: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
height: {
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
minHeight: {
|
|
31
|
+
type: string;
|
|
32
|
+
value: number;
|
|
33
|
+
unit: string;
|
|
34
|
+
};
|
|
35
|
+
maxHeight: {
|
|
36
|
+
type: string;
|
|
37
|
+
};
|
|
38
|
+
minWidth: {
|
|
39
|
+
type: string;
|
|
40
|
+
};
|
|
41
|
+
maxWidth: {
|
|
42
|
+
type: string;
|
|
43
|
+
};
|
|
30
44
|
display: string;
|
|
31
45
|
flexDirection: string;
|
|
32
46
|
justifyContent: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wrapper.d.ts","sourceRoot":"","sources":["../../src/user/Wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,eAAe,CAAC;AAG9C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,eAAO,MAAM,OAAO;sBAAqB,QAAQ
|
|
1
|
+
{"version":3,"file":"Wrapper.d.ts","sourceRoot":"","sources":["../../src/user/Wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,eAAe,CAAC;AAG9C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,eAAO,MAAM,OAAO;sBAAqB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCA4BlB,IAAI,EAAE;;;;;;CAPpC,CAAC;AAgBF,eAAe,OAAO,CAAC"}
|