@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260720113207 → 0.8.1-dev.20260721123022

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,110 @@
1
+ "use client";
2
+
3
+ import {
4
+ buttonClasses
5
+ } from "./chunk-IMNQO57B.mjs";
6
+
7
+ // src/components/controls/edit/InputControlType.tsx
8
+ var Constants = {
9
+ pagesize: 10
10
+ };
11
+ var InputControlType = {
12
+ lineTextInput: "text",
13
+ multilineTextInput: "multilinetext",
14
+ emailInput: "email",
15
+ moneyInput: "money",
16
+ select: "select",
17
+ percentageInput: "percentage",
18
+ asset: "asset",
19
+ phoneInput: "phone",
20
+ numberInput: "number",
21
+ checkboxInput: "boolean",
22
+ otpInput: "otp",
23
+ datetimeInput: "datetime",
24
+ timeInput: "time",
25
+ colorInput: "colorInput",
26
+ selectWithSearchInput: "selectWithSearchInput",
27
+ selectWithSearchPanel: "selectWithSearchPanel",
28
+ booleanSelect: "booleanSelect",
29
+ switchInput: "switchInput"
30
+ };
31
+ var InputControlType_default = InputControlType;
32
+
33
+ // src/components/dataForm/Hyperlink.tsx
34
+ import Link from "next/link";
35
+ import { Fragment, jsx } from "react/jsx-runtime";
36
+ function Hyperlink(props) {
37
+ let linkClass = props.linkType ? buttonClasses.get(props.linkType) : buttonClasses.get("Link" /* Link */);
38
+ const target = props?.href?.startsWith("http") ? "_blank" : "_self";
39
+ const additionalProps = {};
40
+ if (target == "_blank") {
41
+ additionalProps.rel = "noopener noreferrer";
42
+ }
43
+ return /* @__PURE__ */ jsx(Fragment, { children: props.href ? /* @__PURE__ */ jsx(
44
+ Link,
45
+ {
46
+ href: props.href,
47
+ prefetch: false,
48
+ className: [linkClass, props.className].filter(Boolean).join(" "),
49
+ ...additionalProps,
50
+ target,
51
+ children: props.children
52
+ }
53
+ ) : props.isHeading ? /* @__PURE__ */ jsx("h5", { className: props.className + "inline-block", children: props.children }) : /* @__PURE__ */ jsx("span", { className: props.className, children: props.children }) });
54
+ }
55
+
56
+ // src/svg/chevron-updown.tsx
57
+ import { jsx as jsx2 } from "react/jsx-runtime";
58
+ var ChevronUpDown = (props) => {
59
+ return /* @__PURE__ */ jsx2("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ jsx2("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9" }) });
60
+ };
61
+ var chevron_updown_default = ChevronUpDown;
62
+
63
+ // src/svg/chevron-down.tsx
64
+ import { jsx as jsx3 } from "react/jsx-runtime";
65
+ var ChevronDown = (props) => {
66
+ return /* @__PURE__ */ jsx3("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ jsx3("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M19.5 8.25l-7.5 7.5-7.5-7.5" }) });
67
+ };
68
+ var chevron_down_default = ChevronDown;
69
+
70
+ // src/svg/chevron-up.tsx
71
+ import { jsx as jsx4 } from "react/jsx-runtime";
72
+ var ChevronUp = (props) => {
73
+ return /* @__PURE__ */ jsx4("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ jsx4("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M4.5 15.75l7.5-7.5 7.5 7.5" }) });
74
+ };
75
+ var chevron_up_default = ChevronUp;
76
+
77
+ // src/svg/plus.tsx
78
+ import { jsx as jsx5 } from "react/jsx-runtime";
79
+ var Plus = (props) => {
80
+ return /* @__PURE__ */ jsx5("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ jsx5("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M12 4.5v15m7.5-7.5h-15" }) });
81
+ };
82
+ var plus_default = Plus;
83
+
84
+ // src/svg/Icons.tsx
85
+ var Icons = {
86
+ chevronUpDown: chevron_updown_default,
87
+ chevronDown: chevron_down_default,
88
+ chevronUp: chevron_up_default,
89
+ plus: plus_default
90
+ };
91
+ var Icons_default = Icons;
92
+
93
+ // src/svg/Icon.tsx
94
+ import { jsx as jsx6 } from "react/jsx-runtime";
95
+ var Icon = ({ name, className, ...props }) => {
96
+ const IconComponent = Icons_default[name];
97
+ if (!IconComponent) {
98
+ console.error(`Icon "${name}" not found.`);
99
+ return null;
100
+ }
101
+ return /* @__PURE__ */ jsx6(IconComponent, { ...props, className });
102
+ };
103
+ var Icon_default = Icon;
104
+
105
+ export {
106
+ Constants,
107
+ InputControlType_default,
108
+ Hyperlink,
109
+ Icon_default
110
+ };
@@ -0,0 +1,201 @@
1
+ "use client";
2
+
3
+ import {
4
+ Constants
5
+ } from "./chunk-FI2KJBK2.mjs";
6
+
7
+ // src/clients/OdataBuilder.tsx
8
+ var OdataBuilder = class {
9
+ constructor(url) {
10
+ this.baseUrl = url;
11
+ this.top = Constants.pagesize.toString();
12
+ this.skip = "0";
13
+ this.keyword = "";
14
+ this.filterBy = "";
15
+ this.orderBy = "";
16
+ }
17
+ // parseSearchParams(ReadonlyUrlSearchParams): DataQuery {
18
+ // this.top = top;
19
+ // return this;
20
+ // }
21
+ setQuery(odata) {
22
+ if (odata) {
23
+ for (const key in odata) {
24
+ if (odata[key] != null && odata[key] != "") {
25
+ if (key == "$skip") {
26
+ this.setSkip(odata[key]);
27
+ }
28
+ if (key == "$filter") {
29
+ this.setFilter(odata[key]);
30
+ }
31
+ if (key == "$top") {
32
+ this.setTop(odata[key]);
33
+ }
34
+ if (key == "$orderby") {
35
+ this.setOrderBy(odata[key]);
36
+ }
37
+ if (key == "searchTerm") {
38
+ this.searchTerm = odata[key];
39
+ }
40
+ if (key == "searchCols") {
41
+ this.searchCols = odata[key];
42
+ }
43
+ }
44
+ }
45
+ }
46
+ return this;
47
+ }
48
+ // parseKeyValuePairs(inputString: string): { [key: string]: string } {
49
+ // return inputString.split('$')
50
+ // .map((pair) => pair.split('='))
51
+ // .reduce((result: { [key: string]: string }, [key, value]) => {
52
+ // if (key && value) {
53
+ // result[key.trim()] = value.trim();
54
+ // }
55
+ // return result;
56
+ // }, {});
57
+ // }
58
+ static getOdataQueryString(obj, defaultOrder) {
59
+ let queryString = "";
60
+ let skip = (obj && obj["$skip"]) ?? "0";
61
+ let top = (obj && obj["$top"]) ?? Constants.pagesize.toString();
62
+ queryString = `$skip=${skip}&$top=${top}&$count=true`;
63
+ if (obj?.["searchTerm"] && obj["searchTerm"].trim() !== "") {
64
+ queryString += `&searchTerm=${encodeURIComponent(obj["searchTerm"])}`;
65
+ }
66
+ if (obj?.["searchCols"] && obj["searchCols"].trim() !== "") {
67
+ queryString += `&searchCols=${encodeURIComponent(obj["searchCols"])}`;
68
+ }
69
+ if (obj) {
70
+ if (obj["$filter"] && obj["$filter"] !== null && obj["$filter"] !== "") {
71
+ queryString = queryString + `&$filter=${encodeURIComponent(obj["$filter"])}`;
72
+ }
73
+ if (obj["$orderby"] && obj["$orderby"] !== null && obj["$orderby"] !== "") {
74
+ queryString = queryString + `&$orderby=${encodeURIComponent(obj["$orderby"])}`;
75
+ } else if (defaultOrder) {
76
+ queryString = queryString + `&$orderby=${encodeURIComponent(defaultOrder)}`;
77
+ }
78
+ } else {
79
+ if (defaultOrder) {
80
+ queryString = queryString + `&$orderby=${encodeURIComponent(defaultOrder)}`;
81
+ }
82
+ }
83
+ return queryString;
84
+ }
85
+ setTop(top) {
86
+ this.top = top;
87
+ return this;
88
+ }
89
+ setSkip(skip) {
90
+ this.skip = skip;
91
+ return this;
92
+ }
93
+ setKeyword(keyword) {
94
+ this.keyword = keyword;
95
+ return this;
96
+ }
97
+ setFilter(filterBy) {
98
+ this.filterBy = filterBy;
99
+ return this;
100
+ }
101
+ setOrderBy(orderBy) {
102
+ this.orderBy = orderBy;
103
+ return this;
104
+ }
105
+ getPageNumber(pageSize) {
106
+ let pageNumber = 1;
107
+ if (this.skip && this.top) {
108
+ const skip = parseInt(this.skip);
109
+ const top = parseInt(this.top);
110
+ if (!isNaN(skip) && !isNaN(top)) {
111
+ pageNumber = skip / pageSize + 1;
112
+ }
113
+ }
114
+ return pageNumber;
115
+ }
116
+ getUrl() {
117
+ let url = `${this.baseUrl}?$skip=${this.skip}&$top=${this.top}&$count=true`;
118
+ if (this.filterBy !== null && this.filterBy !== "") {
119
+ url = url + `&$filter=${encodeURIComponent(this.filterBy)}`;
120
+ }
121
+ if (this.orderBy !== null && this.orderBy !== "") {
122
+ url = url + `&$orderby=${encodeURIComponent(this.orderBy)}`;
123
+ }
124
+ if (this.searchTerm) {
125
+ url += `&searchTerm=${encodeURIComponent(this.searchTerm)}`;
126
+ }
127
+ if (this.searchCols) {
128
+ url += `&searchCols=${encodeURIComponent(this.searchCols)}`;
129
+ }
130
+ console.log(url);
131
+ return url;
132
+ }
133
+ getNewOrderByUrl(orderBy) {
134
+ let url = `${this.baseUrl}?$skip=${0}&$top=${this.top}&$count=true`;
135
+ if (this.filterBy !== null && this.filterBy !== "") {
136
+ url = url + `&$filter=${encodeURIComponent(this.filterBy)}`;
137
+ }
138
+ if (this.searchTerm) {
139
+ url += `&searchTerm=${encodeURIComponent(this.searchTerm)}`;
140
+ }
141
+ if (this.searchCols) {
142
+ url += `&searchCols=${encodeURIComponent(this.searchCols)}`;
143
+ }
144
+ url = url + `&$orderby=${encodeURIComponent(orderBy)}`;
145
+ return url;
146
+ }
147
+ getNewFilterUrl(filterBy) {
148
+ let url = `${this.baseUrl}?$skip=${0}&$top=${this.top}&$count=true`;
149
+ if (filterBy !== null && filterBy !== "") {
150
+ url = url + `&$filter=${encodeURIComponent(filterBy)}`;
151
+ }
152
+ if (this.orderBy !== null && this.orderBy !== "") {
153
+ url = url + `&$orderby=${encodeURIComponent(this.orderBy)}`;
154
+ }
155
+ if (this.searchTerm) {
156
+ url += `&searchTerm=${encodeURIComponent(this.searchTerm)}`;
157
+ }
158
+ if (this.searchCols) {
159
+ url += `&searchCols=${encodeURIComponent(this.searchCols)}`;
160
+ }
161
+ return url;
162
+ }
163
+ getNewPageUrl(page) {
164
+ let skip = page * Constants.pagesize - Constants.pagesize;
165
+ let url = `${this.baseUrl}?$skip=${skip}&$top=${this.top}&$count=true`;
166
+ if (this.filterBy !== null && this.filterBy !== "") {
167
+ url = url + `&$filter=${encodeURIComponent(this.filterBy)}`;
168
+ }
169
+ if (this.orderBy !== null && this.orderBy !== "") {
170
+ url = url + `&$orderby=${encodeURIComponent(this.orderBy)}`;
171
+ }
172
+ if (this.searchTerm) {
173
+ url += `&searchTerm=${encodeURIComponent(this.searchTerm)}`;
174
+ }
175
+ if (this.searchCols) {
176
+ url += `&searchCols=${encodeURIComponent(this.searchCols)}`;
177
+ }
178
+ return url;
179
+ }
180
+ getNewPageSizeUrl(pageSize) {
181
+ const currentPage = this.getPageNumber(
182
+ parseInt(this.top || Constants.pagesize.toString())
183
+ );
184
+ const skip = (currentPage - 1) * pageSize;
185
+ let url = `${this.baseUrl}?$skip=${skip}&$top=${pageSize}&$count=true`;
186
+ if (this.filterBy !== null && this.filterBy !== "") {
187
+ url = url + `&$filter=${encodeURIComponent(this.filterBy)}`;
188
+ }
189
+ if (this.orderBy !== null && this.orderBy !== "") {
190
+ url = url + `&$orderby=${encodeURIComponent(this.orderBy)}`;
191
+ }
192
+ return url;
193
+ }
194
+ getOrderBy() {
195
+ return this.orderBy;
196
+ }
197
+ };
198
+
199
+ export {
200
+ OdataBuilder
201
+ };
@@ -0,0 +1,229 @@
1
+ import {
2
+ buttonClasses
3
+ } from "./chunk-56HSDML5.mjs";
4
+
5
+ // src/components/dataForm/Hyperlink.tsx
6
+ import Link from "next/link";
7
+ import { Fragment, jsx } from "react/jsx-runtime";
8
+ function Hyperlink(props) {
9
+ let linkClass = props.linkType ? buttonClasses.get(props.linkType) : buttonClasses.get("Link" /* Link */);
10
+ const target = props?.href?.startsWith("http") ? "_blank" : "_self";
11
+ const additionalProps = {};
12
+ if (target == "_blank") {
13
+ additionalProps.rel = "noopener noreferrer";
14
+ }
15
+ return /* @__PURE__ */ jsx(Fragment, { children: props.href ? /* @__PURE__ */ jsx(
16
+ Link,
17
+ {
18
+ href: props.href,
19
+ prefetch: false,
20
+ className: [linkClass, props.className].filter(Boolean).join(" "),
21
+ ...additionalProps,
22
+ target,
23
+ children: props.children
24
+ }
25
+ ) : props.isHeading ? /* @__PURE__ */ jsx("h5", { className: props.className + "inline-block", children: props.children }) : /* @__PURE__ */ jsx("span", { className: props.className, children: props.children }) });
26
+ }
27
+
28
+ // src/components/controls/edit/InputControlType.tsx
29
+ var Constants = {
30
+ pagesize: 10
31
+ };
32
+
33
+ // src/clients/OdataBuilder.tsx
34
+ var OdataBuilder = class {
35
+ constructor(url) {
36
+ this.baseUrl = url;
37
+ this.top = Constants.pagesize.toString();
38
+ this.skip = "0";
39
+ this.keyword = "";
40
+ this.filterBy = "";
41
+ this.orderBy = "";
42
+ }
43
+ // parseSearchParams(ReadonlyUrlSearchParams): DataQuery {
44
+ // this.top = top;
45
+ // return this;
46
+ // }
47
+ setQuery(odata) {
48
+ if (odata) {
49
+ for (const key in odata) {
50
+ if (odata[key] != null && odata[key] != "") {
51
+ if (key == "$skip") {
52
+ this.setSkip(odata[key]);
53
+ }
54
+ if (key == "$filter") {
55
+ this.setFilter(odata[key]);
56
+ }
57
+ if (key == "$top") {
58
+ this.setTop(odata[key]);
59
+ }
60
+ if (key == "$orderby") {
61
+ this.setOrderBy(odata[key]);
62
+ }
63
+ if (key == "searchTerm") {
64
+ this.searchTerm = odata[key];
65
+ }
66
+ if (key == "searchCols") {
67
+ this.searchCols = odata[key];
68
+ }
69
+ }
70
+ }
71
+ }
72
+ return this;
73
+ }
74
+ // parseKeyValuePairs(inputString: string): { [key: string]: string } {
75
+ // return inputString.split('$')
76
+ // .map((pair) => pair.split('='))
77
+ // .reduce((result: { [key: string]: string }, [key, value]) => {
78
+ // if (key && value) {
79
+ // result[key.trim()] = value.trim();
80
+ // }
81
+ // return result;
82
+ // }, {});
83
+ // }
84
+ static getOdataQueryString(obj, defaultOrder) {
85
+ let queryString = "";
86
+ let skip = (obj && obj["$skip"]) ?? "0";
87
+ let top = (obj && obj["$top"]) ?? Constants.pagesize.toString();
88
+ queryString = `$skip=${skip}&$top=${top}&$count=true`;
89
+ if (obj?.["searchTerm"] && obj["searchTerm"].trim() !== "") {
90
+ queryString += `&searchTerm=${encodeURIComponent(obj["searchTerm"])}`;
91
+ }
92
+ if (obj?.["searchCols"] && obj["searchCols"].trim() !== "") {
93
+ queryString += `&searchCols=${encodeURIComponent(obj["searchCols"])}`;
94
+ }
95
+ if (obj) {
96
+ if (obj["$filter"] && obj["$filter"] !== null && obj["$filter"] !== "") {
97
+ queryString = queryString + `&$filter=${encodeURIComponent(obj["$filter"])}`;
98
+ }
99
+ if (obj["$orderby"] && obj["$orderby"] !== null && obj["$orderby"] !== "") {
100
+ queryString = queryString + `&$orderby=${encodeURIComponent(obj["$orderby"])}`;
101
+ } else if (defaultOrder) {
102
+ queryString = queryString + `&$orderby=${encodeURIComponent(defaultOrder)}`;
103
+ }
104
+ } else {
105
+ if (defaultOrder) {
106
+ queryString = queryString + `&$orderby=${encodeURIComponent(defaultOrder)}`;
107
+ }
108
+ }
109
+ return queryString;
110
+ }
111
+ setTop(top) {
112
+ this.top = top;
113
+ return this;
114
+ }
115
+ setSkip(skip) {
116
+ this.skip = skip;
117
+ return this;
118
+ }
119
+ setKeyword(keyword) {
120
+ this.keyword = keyword;
121
+ return this;
122
+ }
123
+ setFilter(filterBy) {
124
+ this.filterBy = filterBy;
125
+ return this;
126
+ }
127
+ setOrderBy(orderBy) {
128
+ this.orderBy = orderBy;
129
+ return this;
130
+ }
131
+ getPageNumber(pageSize) {
132
+ let pageNumber = 1;
133
+ if (this.skip && this.top) {
134
+ const skip = parseInt(this.skip);
135
+ const top = parseInt(this.top);
136
+ if (!isNaN(skip) && !isNaN(top)) {
137
+ pageNumber = skip / pageSize + 1;
138
+ }
139
+ }
140
+ return pageNumber;
141
+ }
142
+ getUrl() {
143
+ let url = `${this.baseUrl}?$skip=${this.skip}&$top=${this.top}&$count=true`;
144
+ if (this.filterBy !== null && this.filterBy !== "") {
145
+ url = url + `&$filter=${encodeURIComponent(this.filterBy)}`;
146
+ }
147
+ if (this.orderBy !== null && this.orderBy !== "") {
148
+ url = url + `&$orderby=${encodeURIComponent(this.orderBy)}`;
149
+ }
150
+ if (this.searchTerm) {
151
+ url += `&searchTerm=${encodeURIComponent(this.searchTerm)}`;
152
+ }
153
+ if (this.searchCols) {
154
+ url += `&searchCols=${encodeURIComponent(this.searchCols)}`;
155
+ }
156
+ console.log(url);
157
+ return url;
158
+ }
159
+ getNewOrderByUrl(orderBy) {
160
+ let url = `${this.baseUrl}?$skip=${0}&$top=${this.top}&$count=true`;
161
+ if (this.filterBy !== null && this.filterBy !== "") {
162
+ url = url + `&$filter=${encodeURIComponent(this.filterBy)}`;
163
+ }
164
+ if (this.searchTerm) {
165
+ url += `&searchTerm=${encodeURIComponent(this.searchTerm)}`;
166
+ }
167
+ if (this.searchCols) {
168
+ url += `&searchCols=${encodeURIComponent(this.searchCols)}`;
169
+ }
170
+ url = url + `&$orderby=${encodeURIComponent(orderBy)}`;
171
+ return url;
172
+ }
173
+ getNewFilterUrl(filterBy) {
174
+ let url = `${this.baseUrl}?$skip=${0}&$top=${this.top}&$count=true`;
175
+ if (filterBy !== null && filterBy !== "") {
176
+ url = url + `&$filter=${encodeURIComponent(filterBy)}`;
177
+ }
178
+ if (this.orderBy !== null && this.orderBy !== "") {
179
+ url = url + `&$orderby=${encodeURIComponent(this.orderBy)}`;
180
+ }
181
+ if (this.searchTerm) {
182
+ url += `&searchTerm=${encodeURIComponent(this.searchTerm)}`;
183
+ }
184
+ if (this.searchCols) {
185
+ url += `&searchCols=${encodeURIComponent(this.searchCols)}`;
186
+ }
187
+ return url;
188
+ }
189
+ getNewPageUrl(page) {
190
+ let skip = page * Constants.pagesize - Constants.pagesize;
191
+ let url = `${this.baseUrl}?$skip=${skip}&$top=${this.top}&$count=true`;
192
+ if (this.filterBy !== null && this.filterBy !== "") {
193
+ url = url + `&$filter=${encodeURIComponent(this.filterBy)}`;
194
+ }
195
+ if (this.orderBy !== null && this.orderBy !== "") {
196
+ url = url + `&$orderby=${encodeURIComponent(this.orderBy)}`;
197
+ }
198
+ if (this.searchTerm) {
199
+ url += `&searchTerm=${encodeURIComponent(this.searchTerm)}`;
200
+ }
201
+ if (this.searchCols) {
202
+ url += `&searchCols=${encodeURIComponent(this.searchCols)}`;
203
+ }
204
+ return url;
205
+ }
206
+ getNewPageSizeUrl(pageSize) {
207
+ const currentPage = this.getPageNumber(
208
+ parseInt(this.top || Constants.pagesize.toString())
209
+ );
210
+ const skip = (currentPage - 1) * pageSize;
211
+ let url = `${this.baseUrl}?$skip=${skip}&$top=${pageSize}&$count=true`;
212
+ if (this.filterBy !== null && this.filterBy !== "") {
213
+ url = url + `&$filter=${encodeURIComponent(this.filterBy)}`;
214
+ }
215
+ if (this.orderBy !== null && this.orderBy !== "") {
216
+ url = url + `&$orderby=${encodeURIComponent(this.orderBy)}`;
217
+ }
218
+ return url;
219
+ }
220
+ getOrderBy() {
221
+ return this.orderBy;
222
+ }
223
+ };
224
+
225
+ export {
226
+ Hyperlink,
227
+ Constants,
228
+ OdataBuilder
229
+ };
package/dist/index.mjs CHANGED
@@ -1,8 +1,6 @@
1
- "use client";
2
-
3
1
  import {
4
2
  OdataBuilder
5
- } from "./chunk-X3YSXTD2.mjs";
3
+ } from "./chunk-UFKPTMM7.mjs";
6
4
  import {
7
5
  AssetUtility_default,
8
6
  BooleanSelect_default,
@@ -19,22 +17,22 @@ import {
19
17
  PhoneInput_default,
20
18
  SelectWithSearchInput_default,
21
19
  TimeInput_default
22
- } from "./chunk-7ZFZLN56.mjs";
20
+ } from "./chunk-YG6FKKQJ.mjs";
23
21
  import {
24
22
  Constants,
25
23
  Hyperlink,
26
24
  Icon_default,
27
25
  InputControlType_default
28
- } from "./chunk-5GHPW7SJ.mjs";
26
+ } from "./chunk-DBHUCH4B.mjs";
29
27
  import {
30
28
  ServiceClient_default
31
- } from "./chunk-WEV5U33G.mjs";
29
+ } from "./chunk-3GWLDT7C.mjs";
32
30
  import {
33
31
  Button_default,
34
32
  ClientButton_default,
35
33
  ToastService_default
36
- } from "./chunk-JKP4XOZB.mjs";
37
- import "./chunk-IMNQO57B.mjs";
34
+ } from "./chunk-YL6E76X2.mjs";
35
+ import "./chunk-56HSDML5.mjs";
38
36
 
39
37
  // src/components/controls/view/ViewControl.tsx
40
38
  import React13 from "react";
@@ -78,7 +76,7 @@ var NumberView_default = NumberView;
78
76
 
79
77
  // src/components/controls/view/DateView.tsx
80
78
  import dynamic from "next/dynamic";
81
- var DateView = dynamic(() => import("./DateViewClient-VLTRN47D.mjs"), {
79
+ var DateView = dynamic(() => import("./DateViewClient-ELEHLGWS.mjs"), {
82
80
  ssr: false
83
81
  });
84
82
  var DateView_default = DateView;
@@ -133,7 +131,7 @@ import React3 from "react";
133
131
  // src/components/DeviceAssetSelector.tsx
134
132
  import dynamic2 from "next/dynamic";
135
133
  import { jsx as jsx3 } from "react/jsx-runtime";
136
- var HlsPlayer = dynamic2(() => import("./HlsPlayer-5AWFZ2P6.mjs"), { ssr: false });
134
+ var HlsPlayer = dynamic2(() => import("./HlsPlayer-57543DTW.mjs"), { ssr: false });
137
135
  var FORMAT_CLASSES = {
138
136
  center: "justify-center",
139
137
  left: "justify-start",
@@ -368,7 +366,7 @@ var AiGeneratedSummary_default = AiGeneratedSummary;
368
366
 
369
367
  // src/components/controls/view/DateTimeVew.tsx
370
368
  import dynamic3 from "next/dynamic";
371
- var DateTimeView = dynamic3(() => import("./DateTimeViewClient-R3M6ISVK.mjs"), {
369
+ var DateTimeView = dynamic3(() => import("./DateTimeViewClient-22GW4AD7.mjs"), {
372
370
  ssr: false
373
371
  });
374
372
  var DateTimeVew_default = DateTimeView;
@@ -409,7 +407,7 @@ var ViewControl_default = ViewControl;
409
407
 
410
408
  // src/components/controls/edit/InputControl.tsx
411
409
  import dynamic4 from "next/dynamic";
412
- var InputControl = dynamic4(() => import("./InputControlClient-WW2T4W77.mjs"), {
410
+ var InputControl = dynamic4(() => import("./InputControlClient-VUPWEYGB.mjs"), {
413
411
  ssr: false
414
412
  });
415
413
  var InputControl_default = InputControl;
@@ -505,7 +503,7 @@ import React14 from "react";
505
503
  // src/components/pageRenderingEngine/nodes/ImageNode.tsx
506
504
  import dynamic5 from "next/dynamic";
507
505
  import { jsx as jsx17 } from "react/jsx-runtime";
508
- var HlsPlayer2 = dynamic5(() => import("./HlsPlayer-5AWFZ2P6.mjs"), { ssr: false });
506
+ var HlsPlayer2 = dynamic5(() => import("./HlsPlayer-57543DTW.mjs"), { ssr: false });
509
507
  var getNestedValue = (obj, path) => {
510
508
  if (!obj || !path) return void 0;
511
509
  return path.split(".").reduce((current, key) => {
@@ -613,7 +611,7 @@ var ImageNode_default = ImageNode;
613
611
  // src/components/pageRenderingEngine/nodes/LinkNode.tsx
614
612
  import dynamic6 from "next/dynamic";
615
613
  import { Fragment, jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
616
- var LinkNodeButton = dynamic6(() => import("./LinkNodeButton-LX3KKGZY.mjs"), {
614
+ var LinkNodeButton = dynamic6(() => import("./LinkNodeButton-XA7Z5IDR.mjs"), {
617
615
  ssr: false
618
616
  });
619
617
  function getNestedValue2(obj, path) {
@@ -1048,7 +1046,7 @@ var QuoteNode_default = QuoteNode;
1048
1046
  import React20 from "react";
1049
1047
  import dynamic7 from "next/dynamic";
1050
1048
  import { jsx as jsx27, jsxs as jsxs9 } from "react/jsx-runtime";
1051
- var CopyButton = dynamic7(() => import("./CopyButton-UPJPMJUB.mjs"), {
1049
+ var CopyButton = dynamic7(() => import("./CopyButton-XONTQQW7.mjs"), {
1052
1050
  ssr: false,
1053
1051
  // optional: fallback UI while loading
1054
1052
  loading: () => /* @__PURE__ */ jsx27("span", { className: "text-gray-400 text-xs", children: "Copy" })
@@ -1191,7 +1189,7 @@ import React22 from "react";
1191
1189
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
1192
1190
  import dynamic8 from "next/dynamic";
1193
1191
  import { jsx as jsx30 } from "react/jsx-runtime";
1194
- var IframeClient = dynamic8(() => import("./IframeClient-RGJFZ5P2.mjs"), {
1192
+ var IframeClient = dynamic8(() => import("./IframeClient-J22NMEVY.mjs"), {
1195
1193
  ssr: false
1196
1194
  });
1197
1195
  var EmbedNode = (props) => {
@@ -1427,7 +1425,7 @@ var NoDataFound_default = NoDataFound;
1427
1425
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
1428
1426
  import dynamic9 from "next/dynamic";
1429
1427
  import { Fragment as Fragment5, jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
1430
- var HlsPlayer3 = dynamic9(() => import("./HlsPlayer-5AWFZ2P6.mjs"), { ssr: false });
1428
+ var HlsPlayer3 = dynamic9(() => import("./HlsPlayer-57543DTW.mjs"), { ssr: false });
1431
1429
  var deviceToMediaQuery = (device) => {
1432
1430
  switch (device) {
1433
1431
  case "lg":
@@ -2242,8 +2240,8 @@ var DocumentNode_default = DocumentNode;
2242
2240
 
2243
2241
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
2244
2242
  import { jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
2245
- var Pagination = dynamic10(() => import("./Pagination-T7YN2OMV.mjs"), { ssr: true });
2246
- var Slider = dynamic10(() => import("./Slider-554BKC7N.mjs"), {
2243
+ var Pagination = dynamic10(() => import("./Pagination-NCJCOYHF.mjs"), { ssr: true });
2244
+ var Slider = dynamic10(() => import("./Slider-PEIVH6A5.mjs"), {
2247
2245
  ssr: false
2248
2246
  });
2249
2247
  function toCamelCase(str) {
@@ -4281,3 +4279,5 @@ export {
4281
4279
  ViewControl_default as ViewControl,
4282
4280
  ViewControlTypes_default as ViewControlTypes
4283
4281
  };
4282
+ ontrolTypes
4283
+ };