@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260704091052 → 0.8.1-dev.20260706110649

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 (43) hide show
  1. package/dist/CopyButton-UPJPMJUB.mjs +57 -0
  2. package/dist/DateTimeViewClient-R3M6ISVK.mjs +16 -0
  3. package/dist/DateViewClient-VLTRN47D.mjs +9 -0
  4. package/dist/{chunk-SDNYBQSI.mjs → HlsPlayer-57543DTW.mjs} +3 -2
  5. package/dist/HlsPlayer-5AWFZ2P6.mjs +601 -0
  6. package/dist/IframeClient-RGJFZ5P2.mjs +98 -0
  7. package/dist/InputControlClient-NJV6B65M.mjs +604 -0
  8. package/dist/InputControlClient-OQDLYA4S.mjs +604 -0
  9. package/dist/InputControlClient-TW664WIJ.mjs +602 -0
  10. package/dist/{LinkNodeButton-WDDPNYWI.mjs → LinkNodeButton-FUL3J5HR.mjs} +6 -5
  11. package/dist/LinkNodeButton-IGJOGOKI.mjs +362 -0
  12. package/dist/LinkNodeButton-ZONM74OO.mjs +174 -0
  13. package/dist/Pagination-6OFACRMQ.mjs +229 -0
  14. package/dist/Pagination-FSYLYKUA.mjs +181 -0
  15. package/dist/Pagination-YCD5CU2L.mjs +183 -0
  16. package/dist/Slider-554BKC7N.mjs +322 -0
  17. package/dist/Slider-PEIVH6A5.mjs +320 -0
  18. package/dist/chunk-2GSYECIS.mjs +109 -0
  19. package/dist/chunk-3GWLDT7C.mjs +204 -0
  20. package/dist/chunk-3R4VVVNK.mjs +903 -0
  21. package/dist/chunk-47HD7QP7.mjs +199 -0
  22. package/dist/chunk-56HSDML5.mjs +22 -0
  23. package/dist/chunk-67IG5NBU.mjs +200 -0
  24. package/dist/chunk-7ZFZLN56.mjs +903 -0
  25. package/dist/chunk-CM7LUGCH.mjs +107 -0
  26. package/dist/chunk-IKIXEQPV.mjs +198 -0
  27. package/dist/chunk-IMNQO57B.mjs +25 -0
  28. package/dist/chunk-R2HV35IB.mjs +201 -0
  29. package/dist/chunk-SPRVN5IM.mjs +118 -0
  30. package/dist/chunk-TVL6KVD5.mjs +229 -0
  31. package/dist/chunk-WEV5U33G.mjs +207 -0
  32. package/dist/chunk-YG6FKKQJ.mjs +900 -0
  33. package/dist/index.d.mts +57 -170
  34. package/dist/index.d.ts +57 -170
  35. package/dist/index.js +3938 -3807
  36. package/dist/index.mjs +588 -2922
  37. package/dist/server.d.mts +72 -0
  38. package/dist/server.d.ts +72 -0
  39. package/dist/server.js +5126 -0
  40. package/dist/server.mjs +2698 -0
  41. package/package.json +18 -4
  42. package/dist/HlsPlayer-DZNDKG2P.mjs +0 -7
  43. package/dist/chunk-DOKQUUH3.mjs +0 -414
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as React from 'react';
2
+ import React__default from 'react';
3
3
 
4
4
  interface ViewControlProps {
5
5
  value?: any;
@@ -13,7 +13,7 @@ interface ViewControlProps {
13
13
  session?: any;
14
14
  }
15
15
 
16
- declare const ViewControl: React.FC<ViewControlProps>;
16
+ declare const ViewControl: (props: ViewControlProps) => React__default.JSX.Element;
17
17
 
18
18
  declare const ViewControlTypes: {
19
19
  lineText: string;
@@ -35,14 +35,36 @@ declare const ViewControlTypes: {
35
35
  aiGeneratedSummary: string;
36
36
  };
37
37
 
38
- interface InputCallbackValues$1<T> {
38
+ declare const InputControl: any;
39
+
40
+ declare const InputControlType: {
41
+ lineTextInput: string;
42
+ multilineTextInput: string;
43
+ emailInput: string;
44
+ moneyInput: string;
45
+ select: string;
46
+ percentageInput: string;
47
+ asset: string;
48
+ phoneInput: string;
49
+ numberInput: string;
50
+ checkboxInput: string;
51
+ otpInput: string;
52
+ datetimeInput: string;
53
+ timeInput: string;
54
+ colorInput: string;
55
+ selectWithSearchInput: string;
56
+ selectWithSearchPanel: string;
57
+ booleanSelect: string;
58
+ };
59
+
60
+ interface InputCallbackValues<T> {
39
61
  name: keyof T;
40
62
  value: T[keyof T];
41
63
  index?: number;
42
64
  groupKey?: string;
43
65
  }
44
- interface InputChangeCallback$1<T> {
45
- (updatedValues: InputCallbackValues$1<T>): void;
66
+ interface InputChangeCallback<T> {
67
+ (updatedValues: InputCallbackValues<T>): void;
46
68
  }
47
69
 
48
70
  interface ActionResponse$1<T> {
@@ -69,7 +91,7 @@ interface SingleResponse<T> {
69
91
  result?: T;
70
92
  }
71
93
 
72
- interface ServiceClientInterface$1 {
94
+ interface ServiceClientInterface {
73
95
  baseUrl: string;
74
96
  session: any;
75
97
  post(path: string, data: any): Promise<ActionResponse$1<any>>;
@@ -81,15 +103,15 @@ interface ServiceClientInterface$1 {
81
103
  }): Promise<SingleResponse<T>>;
82
104
  }
83
105
 
84
- interface InputControlProps$1 {
106
+ interface InputControlProps {
85
107
  name: string;
86
108
  value?: string | null | number | boolean | undefined;
87
109
  defaultValue?: string | number | readonly string[] | undefined;
88
110
  index?: number;
89
111
  groupKey?: string;
90
112
  controlType: string;
91
- callback?: InputChangeCallback$1<any>;
92
- serviceClient?: ServiceClientInterface$1;
113
+ callback?: InputChangeCallback<any>;
114
+ serviceClient?: ServiceClientInterface;
93
115
  disable?: boolean;
94
116
  dataSourceDependsOn?: string;
95
117
  dependentValue?: string;
@@ -127,28 +149,6 @@ interface InputControlProps$1 {
127
149
  };
128
150
  }
129
151
 
130
- declare const InputControl: React.ForwardRefExoticComponent<InputControlProps$1 & React.RefAttributes<HTMLDivElement>>;
131
-
132
- declare const InputControlType: {
133
- lineTextInput: string;
134
- multilineTextInput: string;
135
- emailInput: string;
136
- moneyInput: string;
137
- select: string;
138
- percentageInput: string;
139
- asset: string;
140
- phoneInput: string;
141
- numberInput: string;
142
- checkboxInput: string;
143
- otpInput: string;
144
- datetimeInput: string;
145
- timeInput: string;
146
- colorInput: string;
147
- selectWithSearchInput: string;
148
- selectWithSearchPanel: string;
149
- booleanSelect: string;
150
- };
151
-
152
152
  interface Session {
153
153
  cid: string;
154
154
  contactId?: number;
@@ -175,14 +175,14 @@ interface PageBodyRendererProps {
175
175
  breadcrumb?: string;
176
176
  donotApplyContainerClass?: boolean;
177
177
  donotApplyContainerLargeClass?: boolean;
178
- serviceClient?: ServiceClientInterface$1;
178
+ serviceClient?: ServiceClientInterface;
179
179
  assetBaseUrl?: string;
180
180
  device?: string;
181
- widgetRenderer?: any;
181
+ widgetRenderer?: React__default.ComponentType<any>;
182
182
  }
183
- declare const PageBodyRenderer: React.FC<PageBodyRendererProps>;
183
+ declare const PageBodyRenderer: (props: PageBodyRendererProps) => React__default.JSX.Element;
184
184
 
185
- declare const Toast: () => react_jsx_runtime.JSX.Element;
185
+ declare const Toast: () => React__default.JSX.Element;
186
186
 
187
187
  declare class ToastService {
188
188
  private static showToast;
@@ -195,9 +195,9 @@ declare class ToastService {
195
195
  static close(): void;
196
196
  }
197
197
 
198
- declare const LineTextInput: React.FC<InputControlProps$1>;
198
+ declare const LineTextInput: React__default.FC<InputControlProps>;
199
199
 
200
- declare const MultilineTextInput: React.FC<InputControlProps$1>;
200
+ declare const MultilineTextInput: React__default.FC<InputControlProps>;
201
201
 
202
202
  declare enum StyleTypes {
203
203
  Solid = "Primary",
@@ -215,7 +215,7 @@ interface ButtonProps<T> {
215
215
  onValidate?: () => Promise<boolean>;
216
216
  onClick?: () => Promise<ActionResponse<T>>;
217
217
  showToast?: boolean;
218
- children: React.ReactNode;
218
+ children: React__default.ReactNode;
219
219
  ButtonType?: StyleTypes;
220
220
  className?: string;
221
221
  hideProgressIndicator?: boolean;
@@ -223,29 +223,29 @@ interface ButtonProps<T> {
223
223
  confirmationMessage?: string;
224
224
  disabled?: boolean;
225
225
  }
226
- declare const Button: React.FC<ButtonProps<any>>;
226
+ declare const Button: React__default.FC<ButtonProps<any>>;
227
227
 
228
- declare const MoneyInput: React.FC<InputControlProps$1>;
228
+ declare const MoneyInput: React__default.FC<InputControlProps>;
229
229
 
230
- declare const PercentageInput: React.FC<InputControlProps$1>;
230
+ declare const PercentageInput: React__default.FC<InputControlProps>;
231
231
 
232
- declare const PhoneInput: React.FC<InputControlProps$1>;
232
+ declare const PhoneInput: React__default.FC<InputControlProps>;
233
233
 
234
- declare const NumberInput: React.FC<InputControlProps$1>;
234
+ declare const NumberInput: React__default.FC<InputControlProps>;
235
235
 
236
- declare const CheckboxInput: React.FC<InputControlProps$1>;
236
+ declare const CheckboxInput: React__default.FC<InputControlProps>;
237
237
 
238
- declare const OtpInput: React.FC<InputControlProps$1>;
238
+ declare const OtpInput: React__default.FC<InputControlProps>;
239
239
 
240
- declare const DateTimeInput: React.FC<InputControlProps$1>;
240
+ declare const DateTimeInput: React__default.FC<InputControlProps>;
241
241
 
242
- declare const ColorInput: React.FC<InputControlProps$1>;
242
+ declare const ColorInput: React__default.FC<InputControlProps>;
243
243
 
244
- declare const BooleanSelect: React.FC<InputControlProps$1>;
244
+ declare const BooleanSelect: React__default.FC<InputControlProps>;
245
245
 
246
- declare const EmailInput: React.FC<InputControlProps$1>;
246
+ declare const EmailInput: React__default.FC<InputControlProps>;
247
247
 
248
- declare const TimeInput: React.FC<InputControlProps$1>;
248
+ declare const TimeInput: React__default.FC<InputControlProps>;
249
249
 
250
250
  interface TabItem {
251
251
  tabTitle: string;
@@ -257,14 +257,14 @@ interface NavigationTabsV2Props {
257
257
  tabs: TabItem[];
258
258
  params?: Record<string, any>;
259
259
  }
260
- declare const NavigationTabsV2: React.FC<NavigationTabsV2Props>;
260
+ declare const NavigationTabsV2: React__default.FC<NavigationTabsV2Props>;
261
261
 
262
262
  interface DataListConfiguration<T> {
263
263
  title?: string;
264
264
  columns: DataListColumn[];
265
265
  filters?: FilterColumn[];
266
266
  path: string;
267
- serviceClient?: ServiceClientInterface$1;
267
+ serviceClient?: ServiceClientInterface;
268
268
  query?: {
269
269
  [key: string]: string;
270
270
  };
@@ -297,7 +297,7 @@ interface FilterColumn {
297
297
  dataKeyFieldName: string;
298
298
  dataTypeCode: string;
299
299
  }
300
- declare const DataList: React.FC<DataListConfiguration<any>>;
300
+ declare const DataList: (props: DataListConfiguration<any>) => React__default.JSX.Element;
301
301
 
302
302
  interface SiteFormData {
303
303
  siteFormId: number;
@@ -398,88 +398,6 @@ interface SiteFormDataFormSectionRowElementData {
398
398
  helpText?: string;
399
399
  autoFocus?: boolean;
400
400
  }
401
- interface DataFormSection {
402
- isDeleted?: boolean;
403
- name?: string;
404
- sectionTitle?: string;
405
- sectionRows: SectionRow[];
406
- isChildSection?: boolean;
407
- visible?: string;
408
- relationshipType?: "one-to-many" | "one-to-one";
409
- dynamicBehavior?: any[];
410
- childSections?: DataFormSection[];
411
- readonly?: boolean;
412
- }
413
- interface SectionRow {
414
- visible?: string;
415
- grow?: boolean;
416
- elements: InputControlProps[];
417
- }
418
- interface InputControlProps {
419
- name: string;
420
- value?: string | null | number | boolean | undefined;
421
- defaultValue?: string | number | readonly string[] | undefined;
422
- index?: number;
423
- groupKey?: string;
424
- controlType: string;
425
- callback?: InputChangeCallback<any>;
426
- serviceClient?: ServiceClientInterface;
427
- disable?: boolean;
428
- dataSourceDependsOn?: string;
429
- dependentValue?: string;
430
- dataSource?: string | any;
431
- dataKeyFieldName?: string;
432
- dataTextFieldName?: string;
433
- dataset?: any[];
434
- assetsUploadPath?: string;
435
- entityType?: string;
436
- showAsLink?: boolean;
437
- linkUrlSegment?: string;
438
- uploadInSharedLocation?: boolean;
439
- prefix?: string;
440
- inputClasses?: string;
441
- createFields?: any[];
442
- isTenantColor?: boolean;
443
- onChange?: (value: string | number | boolean | null) => void;
444
- onBlur?: () => void;
445
- attributes?: {
446
- pattern?: string;
447
- maxLength?: number;
448
- minLength?: number;
449
- maxValue?: number;
450
- minValue?: number;
451
- readOnly?: boolean;
452
- disable?: boolean;
453
- label?: string;
454
- hintText?: string;
455
- placeholder?: string;
456
- required?: boolean;
457
- errorMessage?: string;
458
- helpText?: string;
459
- autoFocus?: boolean;
460
- heading?: string;
461
- };
462
- }
463
- interface InputChangeCallback<T> {
464
- (updatedValues: InputCallbackValues<T>): void;
465
- }
466
- interface InputCallbackValues<T> {
467
- name: keyof T;
468
- value: T[keyof T];
469
- index?: number;
470
- groupKey?: string;
471
- }
472
- interface ServiceClientInterface {
473
- baseUrl: string;
474
- session: Session;
475
- post(path: string, data: any): Promise<ActionResponse$1<any>>;
476
- get(path: string, params?: {
477
- [key: string]: any;
478
- }): Promise<QueryResponse<any>>;
479
- getSingle<T>(path: string, params?: {
480
- [key: string]: any;
481
- }): Promise<SingleResponse<T>>;
482
- }
483
401
 
484
402
  interface DataListRendererProps {
485
403
  formDefinition: SiteFormData;
@@ -491,44 +409,13 @@ interface DataListRendererProps {
491
409
  path: string;
492
410
  widgetProps?: any;
493
411
  }
494
- declare const DataListRenderer: ({ formDefinition, apiBaseUrl, session, params, tabs, query, path, widgetProps, }: DataListRendererProps) => react_jsx_runtime.JSX.Element;
412
+ declare const DataListRenderer: ({ formDefinition, apiBaseUrl, session, params, tabs, query, path, widgetProps, }: DataListRendererProps) => React__default.JSX.Element;
495
413
 
496
414
  interface FormState<T> {
497
415
  inputValues: T;
498
416
  lastPropertyChanged: string;
499
417
  }
500
418
 
501
- interface FormRules {
502
- onChangeRules?: Array<{
503
- name: string;
504
- getApiEndpoint: string;
505
- apiParams?: Record<string, any>;
506
- updateValues?: Array<{
507
- contextPropName: string;
508
- resultPropName: string;
509
- }>;
510
- triggerCondition?: string;
511
- }>;
512
- }
513
- interface DataFormConfiguration {
514
- title?: string;
515
- dataItem: any;
516
- onClick?: (formState: FormState<any>) => Promise<ActionResponse$1<any>>;
517
- onDelete?: (formState: FormState<any>) => Promise<ActionResponse$1<any>>;
518
- serviceClient?: ServiceClientInterface;
519
- sections?: DataFormSection[];
520
- additionalActions?: AdditionalActions;
521
- rules?: FormRules;
522
- params?: Record<string, any>;
523
- buttonText?: string;
524
- }
525
- interface AdditionalActions {
526
- name: string;
527
- title: string;
528
- onClick?: (formState: FormState<any>) => Promise<ActionResponse$1<any>>;
529
- }
530
- declare const DataForm: React.FC<DataFormConfiguration>;
531
-
532
419
  interface WidgetProps {
533
420
  isPinned?: boolean;
534
421
  widgetCode: string;
@@ -555,6 +442,6 @@ interface DataFormRendererProps {
555
442
  isAddPage: boolean;
556
443
  entityId?: string;
557
444
  }
558
- declare const DataFormRenderer: ({ formDefinition, dataItem, params, tabs, apiBaseUrl, session, widgetProps, onSave, onDelete, onCancelAdd, isAddPage, entityId, }: DataFormRendererProps) => react_jsx_runtime.JSX.Element | null;
445
+ declare const DataFormRenderer: ({ formDefinition, dataItem, params, tabs, apiBaseUrl, session, widgetProps, onSave, onDelete, onCancelAdd, isAddPage, entityId, }: DataFormRendererProps) => React.JSX.Element | null;
559
446
 
560
- export { type ActionResponse$1 as ActionResponse, BooleanSelect, Button, CheckboxInput, ColorInput, DataForm, DataFormRenderer, DataList, DataListRenderer, DateTimeInput, EmailInput, InputControl, type InputControlProps$1 as InputControlProps, InputControlType, LineTextInput, MoneyInput, MultilineTextInput, NavigationTabsV2, NumberInput, OtpInput, PageBodyRenderer, PercentageInput, PhoneInput, StyleTypes, TimeInput, Toast, ToastService, ViewControl, type ViewControlProps, ViewControlTypes };
447
+ export { type ActionResponse$1 as ActionResponse, BooleanSelect, Button, CheckboxInput, ColorInput, DataFormRenderer, DataList, DataListRenderer, DateTimeInput, EmailInput, InputControl, type InputControlProps, InputControlType, LineTextInput, MoneyInput, MultilineTextInput, NavigationTabsV2, NumberInput, OtpInput, PageBodyRenderer, PercentageInput, PhoneInput, StyleTypes, TimeInput, Toast, ToastService, ViewControl, type ViewControlProps, ViewControlTypes };