@gemafajarramadhan/dynamic-ui 1.4.63 → 1.4.65

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/index.d.ts DELETED
@@ -1,991 +0,0 @@
1
- import type { DefineComponent, Plugin, App } from 'vue'
2
- import type { ChartData, ChartOptions } from 'chart.js'
3
-
4
- export interface DynamicUIApiConfig {
5
- externalApi: any
6
- }
7
-
8
- export const CardSummary: DefineComponent<{
9
- title: string
10
- value: number
11
- trend?: number
12
- icon: string | any
13
- type?: 'primary' | 'success' | 'warning' | 'info'
14
- format?: 'currency' | 'number'
15
- delay?: number
16
- }>
17
-
18
- export const DashboardActivityCard: DefineComponent<{
19
- title: string
20
- description: string
21
- years: number[]
22
- modelValue: number
23
- data: ChartData<'bar'>
24
- options?: ChartOptions<'bar'>
25
- loading?: boolean
26
- theme?: 'light' | 'dark'
27
- }>
28
-
29
- export interface DashboardInsightItem {
30
- id: string | number
31
- count: number
32
- title: string
33
- description: string
34
- tone: 'primary' | 'warning' | 'danger'
35
- route?: string | Record<string, unknown>
36
- }
37
-
38
- export const DashboardInsightsCard: DefineComponent<{
39
- title: string
40
- description: string
41
- items: DashboardInsightItem[]
42
- loading?: boolean
43
- skeletonCount?: number
44
- }>
45
-
46
- export interface DashboardFeatureItem {
47
- id: string | number
48
- category: string
49
- releaseDate: string
50
- title: string
51
- description: string
52
- }
53
-
54
- export const DashboardFeaturesCard: DefineComponent<{
55
- title: string
56
- description: string
57
- items: DashboardFeatureItem[]
58
- loading?: boolean
59
- skeletonCount?: number
60
- }>
61
-
62
- export const DynamicFormField: DefineComponent<{
63
- field: {
64
- key: string;
65
- component: string;
66
- model: string;
67
- seq?: number;
68
- column?: string;
69
- isHidden?: boolean;
70
- logic?: Record<string, any>;
71
- props?: Record<string, any>;
72
- propsFieldGlobal?: Record<string, any>;
73
- };
74
- modelValue?: any;
75
- formData?: Record<string, any>;
76
- required?: boolean;
77
- options?: any[];
78
- error?: string | null;
79
- dynamicLabels?: {
80
- labelEN?: string;
81
- labelID?: string;
82
- labelKR?: string;
83
- placeholderEN?: string;
84
- placeholderID?: string;
85
- placeholderKR?: string;
86
- } | null;
87
- dynamicLength?: {
88
- minLength?: number | string | null;
89
- maxLength?: number | string | null;
90
- } | null;
91
- baseUrl?: string;
92
- viewOnly?: boolean;
93
- }>
94
-
95
- export const DCodeAutoComplete: DefineComponent<{
96
- modelValue?: any
97
- options?: any[]
98
- label?: string
99
- placeholder?: string
100
- disabled?: boolean
101
- visible?: boolean
102
- skeleton?: boolean
103
- error?: string | null
104
- pageSize?: number
105
- threshold?: number
106
- searchParamName?: string
107
- debounceMs?: number
108
- [key: string]: any
109
- }>
110
-
111
- export const Breadcrumb: DefineComponent<{
112
- items?: any[]
113
- showHomeIcon?: boolean
114
- iconSize?: string
115
- disabled?: boolean
116
- separatorSize?: number
117
- separatorType?: 'chevron' | 'slash'
118
- strokeWidth?: number
119
- visible?: boolean
120
- [key: string]: any
121
- }>
122
-
123
- export const DCodeBadge: DefineComponent<{
124
- text?: string
125
- variant?: 'default' | 'secondary' | 'destructive' | 'outline' | 'success' | 'warning' | 'info' | 'ghost' | 'tonal' | 'pink' | 'purple' | 'dark' | 'light'
126
- size?: 'xs' | 'sm' | 'md' | 'lg'
127
- icon?: string
128
- dot?: boolean
129
- pill?: boolean
130
- color?: string
131
- skeleton?: boolean
132
- visible?: boolean
133
- [key: string]: any
134
- }>
135
-
136
- export const DCodeBeforeAfter: DefineComponent<{
137
- dataBefore: any
138
- dataAfter: any
139
- [key: string]: any
140
- }>
141
-
142
- export const DCodeListLabels: DefineComponent<{
143
- dataBefore?: any
144
- dataAfter?: any
145
- [key: string]: any
146
- }>
147
-
148
- export const DCodeButton: DefineComponent<{
149
- text?: string
150
- variant?: 'default' | 'secondary' | 'destructive' | 'outline' | 'ghost' | 'link' | 'tonal' | 'elevated'
151
- size?: 'default' | 'sm' | 'lg' | 'icon'
152
- tooltip?: string
153
- bgColor?: string
154
- textColor?: string
155
- hoverBgColor?: string
156
- borderColor?: string
157
- disabled?: boolean
158
- type?: 'BUTTON' | 'SUBMIT' | 'RESET' | 'button' | 'submit' | 'reset'
159
- visible?: boolean
160
- skeleton?: boolean
161
- to?: string
162
- icon?: string
163
- iconClass?: string
164
- [key: string]: any
165
- }>
166
-
167
- export const DCodeButtonGroup: DefineComponent<{
168
- buttons?: any[]
169
- items?: any[]
170
- variant?: 'default' | 'secondary' | 'destructive' | 'outline' | 'ghost' | 'link' | 'tonal' | 'elevated'
171
- size?: 'default' | 'sm' | 'lg' | 'icon'
172
- bgColor?: string
173
- textColor?: string
174
- borderColor?: string
175
- rounded?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full'
176
- borderStyle?: 'solid' | 'dashed' | 'dotted' | 'double' | 'none'
177
- orientation?: 'horizontal' | 'vertical'
178
- disabled?: boolean
179
- visible?: boolean
180
- skeleton?: boolean
181
- gap?: string
182
- [key: string]: any
183
- }>
184
-
185
- export const DCodeCard: DefineComponent<{
186
- [key: string]: any
187
- }>
188
-
189
- export const DCodeChart: DefineComponent<{
190
- type: string
191
- width?: number
192
- height?: number
193
- required?: boolean
194
- loading?: boolean
195
- error?: string | null
196
- showInfo?: boolean
197
- responsive?: boolean
198
- maintainAspectRatio?: boolean
199
- theme?: string
200
- colors?: string[]
201
- data?: any
202
- modelValue?: any
203
- options?: any
204
- label?: string
205
- [key: string]: any
206
- }>
207
-
208
- export interface CheckboxItem {
209
- id: string | number
210
- title: string
211
- value?: boolean
212
- disabled?: boolean
213
- indeterminate?: boolean
214
- }
215
-
216
- export const DCodeCheckbox: DefineComponent<{
217
- modelValue?: boolean | string[] | any
218
- label?: string
219
- title?: string
220
- required?: boolean
221
- disabled?: boolean
222
- visible?: boolean
223
- skeleton?: boolean
224
- [key: string]: any
225
- }>
226
-
227
- export const DCodeCardCheckboxList: DefineComponent<{
228
- label?: string
229
- items?: CheckboxItem[]
230
- modelValue?: CheckboxItem[] | (string | number)[]
231
- columns?: 1 | 2 | 3 | 4
232
- skeleton?: boolean
233
- disabled?: boolean
234
- visible?: boolean
235
- apiModule?: string
236
- apiAction?: string
237
- endpoint?: {
238
- apiUrl: string
239
- apiMethod?: string
240
- [key: string]: any
241
- }
242
- itemTitle?: string
243
- itemValue?: string
244
- apiParams?: Record<string, any>
245
- returnArray?: boolean
246
- [key: string]: any
247
- }>
248
-
249
- export const DCodeCurrencyField: DefineComponent<{
250
- modelValue?: number | null
251
- label?: string
252
- placeholder?: string
253
- disabled?: boolean
254
- visible?: boolean
255
- skeleton?: boolean
256
- error?: string | null
257
- currency?: string
258
- [key: string]: any
259
- }>
260
-
261
- export const DCodeDatePicker: DefineComponent<{
262
- modelValue?: string | Date | null
263
- label?: string
264
- placeholder?: string
265
- disabled?: boolean
266
- visible?: boolean
267
- skeleton?: boolean
268
- error?: string | null
269
- format?: string
270
- [key: string]: any
271
- }>
272
-
273
- export const DCodeTimePicker: DefineComponent<{
274
- modelValue?: string | null
275
- label?: string
276
- placeholder?: string
277
- disabled?: boolean
278
- visible?: boolean
279
- skeleton?: boolean
280
- error?: string | null
281
- is24?: boolean
282
- enableSeconds?: boolean
283
- minutesIncrement?: number
284
- [key: string]: any
285
- }>
286
-
287
- export const DCodeDateTimePicker: DefineComponent<{
288
- modelValue?: string | null
289
- label?: string
290
- placeholder?: string
291
- disabled?: boolean
292
- visible?: boolean
293
- skeleton?: boolean
294
- error?: string | null
295
- disablePast?: boolean
296
- maxDaysAhead?: number | null
297
- is24?: boolean
298
- enableSeconds?: boolean
299
- minutesIncrement?: number
300
- [key: string]: any
301
- }>
302
-
303
- export const DCodeDialog: DefineComponent<{
304
- modelValue?: boolean
305
- title?: string
306
- showClose?: boolean
307
- [key: string]: any
308
- }>
309
-
310
- export const DCodeCardSelect: DefineComponent<{
311
- modelValue?: string | number
312
- options?: Array<{
313
- id?: string | number
314
- value: string | number
315
- icon?: string
316
- title?: string
317
- label?: string
318
- description?: string
319
- disabled?: boolean
320
- }>
321
- ariaLabel?: string
322
- layout?: 'grid' | 'list'
323
- [key: string]: any
324
- }>
325
-
326
- export const DCodeSelect: DefineComponent<{
327
- modelValue?: string | number | null
328
- options?: Array<{
329
- value: string | number
330
- label?: string
331
- description?: string
332
- disabled?: boolean
333
- }>
334
- placeholder?: string
335
- searchable?: boolean
336
- searchPlaceholder?: string
337
- clearable?: boolean
338
- disabled?: boolean
339
- readonly?: boolean
340
- ariaLabel?: string
341
- [key: string]: any
342
- }>
343
-
344
- export const DCodeDialogCloseBtn: DefineComponent<{
345
- [key: string]: any
346
- }>
347
-
348
- export const DCodeDrawer: DefineComponent<{
349
- open?: boolean
350
- title?: string
351
- description?: string
352
- widthClass?: string
353
- closeLabel?: string
354
- onClose?: () => void
355
- [key: string]: any
356
- }>
357
-
358
- export const DCodeDropzone: DefineComponent<{
359
- modelValue?: File | File[] | null
360
- label?: string
361
- accept?: string
362
- multiple?: boolean
363
- disabled?: boolean
364
- visible?: boolean
365
- [key: string]: any
366
- }>
367
-
368
- export const DCodeFileField: DefineComponent<{
369
- modelValue?: File | null
370
- label?: string
371
- accept?: string
372
- disabled?: boolean
373
- visible?: boolean
374
- skeleton?: boolean
375
- error?: string | null
376
- [key: string]: any
377
- }>
378
-
379
- export const DCodeFileResult: DefineComponent<{
380
- value?: string | null
381
- label?: string
382
- visible?: boolean
383
- [key: string]: any
384
- }>
385
-
386
- export const DCodePdfViewer: DefineComponent<{
387
- itemValue?: string | null
388
- label?: string
389
- [key: string]: any
390
- }>
391
-
392
- export const DCodeRobotList: DefineComponent<{
393
- title?: string
394
- socketEndpoint?: string
395
- socketParams?: Record<string, any>
396
- modelValue?: any[]
397
- visible?: boolean
398
- [key: string]: any
399
- }>
400
-
401
- export const DCodeIconDropdown: DefineComponent<{
402
- items?: any[]
403
- disabled?: boolean
404
- visible?: boolean
405
- [key: string]: any
406
- }>
407
-
408
- export const DCodeImageCropperDialog: DefineComponent<{
409
- modelValue?: boolean
410
- imageSrc?: string
411
- [key: string]: any
412
- }>
413
-
414
- export const DCodeImageField: DefineComponent<{
415
- modelValue?: string | File | null
416
- label?: string
417
- disabled?: boolean
418
- visible?: boolean
419
- skeleton?: boolean
420
- error?: string | null
421
- [key: string]: any
422
- }>
423
-
424
- export const DCodeImageResult: DefineComponent<{
425
- value?: string | null
426
- label?: string
427
- visible?: boolean
428
- [key: string]: any
429
- }>
430
-
431
- export const DCodeInfiniteAutoComplete: DefineComponent<{
432
- modelValue?: string | number | object | any[] | null | undefined
433
- apiModule?: string
434
- apiAction?: string
435
- apiOptions?: any | (() => any | undefined)
436
- autoFetchOnOpen?: boolean
437
- refreshOnOpen?: boolean
438
- autoFetchOnMount?: boolean
439
- visible?: boolean
440
- clearable?: boolean
441
- disabled?: boolean
442
- skeleton?: boolean
443
- error?: string | null
444
- errorMessage?: string | null
445
- itemTitle?: string | ((item: any) => string)
446
- itemValue?: string | ((item: any) => any)
447
- itemSubtitle?: string | ((item: any) => string)
448
- returnObject?: boolean
449
- endpoint?: {
450
- apiModule?: string
451
- apiAction?: string
452
- apiUrl?: string
453
- apiMethod?: string
454
- }
455
- apiParams?: Record<string, any>
456
- fetchItems?: () => Promise<any[]>
457
- icon?: any
458
- label?: string
459
- placeholder?: string
460
- required?: boolean
461
- inputType?: string
462
- helperText?: string
463
- noResultsText?: string
464
- loadingText?: string
465
- endOfResultsText?: string
466
- pageSize?: number
467
- threshold?: number
468
- debounceMs?: number
469
- [key: string]: any
470
- }>
471
-
472
- export const DCodeLabel: DefineComponent<{
473
- for?: string
474
- required?: boolean
475
- [key: string]: any
476
- }>
477
-
478
- export const DCodeMultiSelect: DefineComponent<{
479
- modelValue?: any[]
480
- options?: any[]
481
- label?: string
482
- placeholder?: string
483
- disabled?: boolean
484
- visible?: boolean
485
- skeleton?: boolean
486
- error?: string | null
487
- [key: string]: any
488
- }>
489
-
490
- export const DCodeOtpInput: DefineComponent<{
491
- modelValue?: string
492
- length?: number
493
- disabled?: boolean
494
- visible?: boolean
495
- [key: string]: any
496
- }>
497
-
498
- export const DCodePermissionMenu: DefineComponent<{
499
- menuList?: any[]
500
- enableParentControl?: boolean
501
- showIcons?: boolean
502
- modelValue?: Array<{ menuId: number; actionsIds: number[] }>
503
- treeData?: any[]
504
- [key: string]: any
505
- }>
506
-
507
- export const DCodeProgress: DefineComponent<{
508
- modelValue?: number
509
- max?: number
510
- label?: string
511
- showValue?: boolean
512
- color?: string
513
- size?: 'sm' | 'md' | 'lg'
514
- striped?: boolean
515
- animated?: boolean
516
- [key: string]: any
517
- }>
518
-
519
- export const DCodeProgressBar: DefineComponent<{
520
- isApiLoading?: boolean
521
- apiProgress?: number
522
- }>
523
-
524
- export const DCodePercentage: DefineComponent<{
525
- value?: number
526
- max?: number
527
- label?: string
528
- caption?: string
529
- showValue?: boolean
530
- variant?: 'bar' | 'circle' | 'donut' | 'semi-circle' | 'radial' | 'steps' | 'bullet'
531
- size?: 'sm' | 'md' | 'lg'
532
- target?: number
533
- stepCount?: number
534
- color?: 'primary' | 'success' | 'warning' | 'danger'
535
- visible?: boolean
536
- [key: string]: any
537
- }>
538
-
539
- export const DCodeRadio: DefineComponent<{
540
- modelValue?: any
541
- value?: any
542
- label?: string
543
- description?: string
544
- disabled?: boolean
545
- required?: boolean
546
- error?: string | null
547
- size?: 'sm' | 'md' | 'lg'
548
- color?: string
549
- name?: string
550
- id?: string
551
- [key: string]: any
552
- }>
553
-
554
- export const DCodeRadioCustom: DefineComponent<{
555
- modelValue?: string | number | boolean
556
- options?: any[]
557
- label?: string
558
- disabled?: boolean
559
- visible?: boolean
560
- [key: string]: any
561
- }>
562
-
563
- export const DCodeSlider: DefineComponent<{
564
- modelValue?: number
565
- label?: string
566
- min?: number
567
- max?: number
568
- step?: number
569
- disabled?: boolean
570
- visible?: boolean
571
- [key: string]: any
572
- }>
573
-
574
- export const DCodeStaticLabel: DefineComponent<{
575
- label?: string
576
- value?: any
577
- icon?: string
578
- color?: "primary" | "success" | "warning" | "danger" | "info" | "secondary" | "dark"
579
- [key: string]: any
580
- }>
581
-
582
- export const DCodeStaticImage: DefineComponent<{
583
- items: any[]
584
- alt?: string
585
- label?: string
586
- aspectRatio?: string
587
- width?: string
588
- height?: string
589
- fit?: "cover" | "contain" | "fill" | "none"
590
- rounded?: boolean
591
- allowPreview?: boolean
592
- columns?: number
593
- gap?: string
594
- [key: string]: any
595
- }>
596
-
597
- export const DCodeSwitch: DefineComponent<{
598
- modelValue?: boolean
599
- label?: string
600
- disabled?: boolean
601
- visible?: boolean
602
- skeleton?: boolean
603
- [key: string]: any
604
- }>
605
-
606
- export const DCodeSegment: DefineComponent<{
607
- modelValue?: string | number
608
- label?: string
609
- title?: string
610
- required?: boolean
611
- disabled?: boolean
612
- readonly?: boolean
613
- size?: 'small' | 'medium' | 'large'
614
- color?: string
615
- layout?: 'default' | 'icon-only' | 'icon-bottom' | 'icon-start' | 'icon-end'
616
- options?: { label?: string; value: string | number; icon?: string; disabled?: boolean }[]
617
- id?: string
618
- skeleton?: boolean
619
- [key: string]: any
620
- }>
621
-
622
- export const DCodeTextField: DefineComponent<{
623
- modelValue?: string | number | null
624
- label?: string
625
- placeholder?: string
626
- clearable?: boolean
627
- hideClearWhenEmpty?: boolean
628
- textCase?: 'none' | 'uppercase' | 'lowercase' | 'titlecase' | 'sentencecase'
629
- applyTextCaseToValue?: boolean
630
- valueType?: 'free' | 'number' | 'letter' | 'letternumber' | 'email' | 'password'
631
- allowSpaces?: boolean
632
- allowChars?: string | string[]
633
- pattern?: RegExp
634
- visible?: boolean
635
- skeleton?: boolean
636
- showCharCount?: boolean
637
- returnNumber?: boolean
638
- error?: string | null
639
- disabled?: boolean
640
- [key: string]: any
641
- }>
642
-
643
- export const DCodeMapField: DefineComponent<{
644
- modelValue?: any
645
- valueFormat?: 'object-lat-lng' | 'object-latitude-longitude' | 'array-lat-lng' | 'array-lng-lat' | 'string'
646
- label?: string
647
- placeholder?: string
648
- disabled?: boolean
649
- readonly?: boolean
650
- visible?: boolean
651
- skeleton?: boolean
652
- error?: string | null
653
- height?: string
654
- zoom?: number
655
- defaultLat?: number
656
- defaultLng?: number
657
- enableSearch?: boolean
658
- enableCurrentLocation?: boolean
659
- enableManualInput?: boolean
660
- searchParamName?: string
661
- debounceMs?: number
662
- [key: string]: any
663
- }>
664
-
665
-
666
- export const DCodeTextarea: DefineComponent<{
667
- modelValue?: string | null
668
- label?: string
669
- placeholder?: string
670
- disabled?: boolean
671
- visible?: boolean
672
- skeleton?: boolean
673
- error?: string | null
674
- [key: string]: any
675
- }>
676
-
677
- export const DCodeTextEditor: DefineComponent<{
678
- modelValue?: string | null
679
- label?: string
680
- error?: string | null
681
- disabled?: boolean
682
- readonly?: boolean
683
- visible?: boolean
684
- skeleton?: boolean
685
- placeholder?: string
686
- height?: string
687
- [key: string]: any
688
- }>
689
-
690
- export const DCodeTimelineWithIcons: DefineComponent<{
691
- items?: any[]
692
- apiUrl?: string
693
- apiModule?: string
694
- apiAction?: string
695
- apiMethod?: string
696
- apiParams?: Record<string, any>
697
- title?: string
698
- orientation?: "VERTICAL" | "HORIZONTAL"
699
- endpoint?: {
700
- apiUrl?: string;
701
- apiMethod?: string;
702
- keyParam?: string[];
703
- }
704
- [key: string]: any
705
- }>
706
-
707
- export const DCodeUploadFile: DefineComponent<{
708
- modelValue?: File | null
709
- label?: string
710
- accept?: string
711
- disabled?: boolean
712
- visible?: boolean
713
- [key: string]: any
714
- }>
715
-
716
- export const DCodeWorkflowDiagram: DefineComponent<{
717
- auditId?: string | number
718
- fetcher?: (params: { auditId: string | number }) => Promise<Blob>
719
- apiModule?: string
720
- apiAction?: string
721
- apiUrl?: string
722
- apiMethod?: string
723
- apiParams?: Record<string, any>
724
- title?: string
725
- height?: string
726
- [key: string]: any
727
- }>
728
-
729
- export const DCodeWorkflowBpmn: DefineComponent<{
730
- xml?: string | null
731
- modelValue?: string | null
732
- title?: string
733
- height?: string
734
- apiUrl?: string
735
- apiModule?: string
736
- apiAction?: string
737
- apiMethod?: string
738
- apiParams?: Record<string, any>
739
- endpoint?: {
740
- apiUrl?: string;
741
- apiMethod?: string;
742
- keyParam?: string[];
743
- model?: string;
744
- }
745
- fetcher?: (params?: any) => Promise<string | Blob>
746
- baseUrl?: string
747
- dummyMode?: boolean
748
- showToolbar?: boolean
749
- allowDownload?: boolean
750
- allowViewCode?: boolean
751
- fitOnLoad?: boolean
752
- zoomOnScroll?: boolean
753
- interactive?: boolean
754
- tokenSimulation?: boolean
755
- [key: string]: any
756
- }>
757
-
758
- export const DCodeWizard: DefineComponent<{
759
- steps?: any[]
760
- modelValue?: number
761
- visible?: boolean
762
- [key: string]: any
763
- }>
764
-
765
- export const DCodeTreePermissions: DefineComponent<{
766
- modelValue?: Array<{ menuId: number; actionsIds: number[] }>
767
- label?: string
768
- required?: boolean
769
- disabled?: boolean
770
- error?: string
771
- treeData?: any[]
772
- [key: string]: any
773
- }>
774
-
775
- export const DCodeDynamicUploadList: DefineComponent<{
776
- modelValue?: any[]
777
- label?: string
778
- labelID?: string
779
- labelEN?: string
780
- labelKR?: string
781
- endpoint?: {
782
- apiModule?: string
783
- apiAction?: string
784
- apiUrl?: string
785
- apiMethod?: string
786
- }
787
- endpointReference?: {
788
- apiModule?: string
789
- apiAction?: string
790
- apiUrl?: string
791
- apiMethod?: string
792
- }
793
- itemTitle?: string
794
- itemValue?: string
795
- baseUrl?: string
796
- disabled?: boolean
797
- visible?: boolean
798
- skeleton?: boolean
799
- error?: string | null
800
- [key: string]: any
801
- }>
802
-
803
- export const DCodeDynamicCollapse: DefineComponent<{
804
- modelValue?: any
805
- label?: string
806
- labelID?: string
807
- labelEN?: string
808
- labelKR?: string
809
- endpointReference?: {
810
- apiModule?: string
811
- apiAction?: string
812
- apiUrl?: string
813
- apiMethod?: string
814
- }
815
- itemTitle?: string
816
- itemValue?: string
817
- items?: any[]
818
- accordion?: boolean
819
- disabled?: boolean
820
- required?: boolean
821
- renderSubForm?: boolean
822
- subLayoutCodeKey?: string
823
- formData?: Record<string, any>
824
- isEditMode?: boolean
825
- layoutMapping?: any
826
- [key: string]: any
827
- }>
828
-
829
- export const MicroDynamicForm: any
830
- export const MicroDynamicDatatable: any
831
-
832
- export const AutoLayoutForm: DefineComponent<{
833
- layoutCode: string
834
- isEditMode?: boolean
835
- model?: Record<string, any>
836
- config?: any
837
- schema?: any
838
- [key: string]: any
839
- }>
840
- export const AutoLayoutDatatable: DefineComponent<{
841
- layoutCode: string
842
- userPermissions?: any
843
- permissionBase?: string
844
- checkPermission?: (permission: string) => boolean
845
- config?: any
846
- schema?: any
847
- [key: string]: any
848
- }>
849
- export const DataTable: DefineComponent<{
850
- columns?: any[]
851
- data?: any[]
852
- perPage?: number
853
- loading?: boolean
854
- hasActions?: boolean
855
- nested?: boolean
856
- apiModule?: string
857
- apiAction?: string
858
- apiMethod?: string
859
- apiUrl?: string
860
- permissionBase?: string
861
- apiParams?: Record<string, any>
862
- configKey?: string
863
- tableConfig?: any
864
- dynamicColumns?: boolean
865
- searchApiEndpoint?: string
866
- enableQuickSearch?: boolean
867
- showPagination?: boolean
868
- ignorePermissions?: boolean
869
- userPermissions?: any
870
- permissionChecker?: (path: string, action: string) => boolean
871
- permissions?: string[]
872
- checkPermission?: (permission: string) => boolean
873
- menuPermissions?: any[]
874
- dummyMode?: boolean
875
- [key: string]: any
876
- }>
877
- export const DataTableComponent: DefineComponent<{
878
- [key: string]: any
879
- }>
880
-
881
- export const DynamicForm: DefineComponent<{
882
- schema: any
883
- dummyMode?: boolean
884
- model?: Record<string, any>
885
- isEditMode?: boolean
886
- loading?: boolean
887
- baseUrl?: string
888
- [key: string]: any
889
- }>
890
-
891
- export const DynamicWizard: DefineComponent<{
892
- schema: any
893
- model?: Record<string, any>
894
- isEditMode?: boolean
895
- loading?: boolean
896
- selectedTokenCore?: any
897
- tokenCores?: any[]
898
- dummyMode?: boolean
899
- router?: any
900
- permissionBase?: string
901
- userPermissions?: any
902
- checkPermission?: (permission: string) => boolean
903
- hideActions?: boolean
904
- [key: string]: any
905
- }>
906
-
907
- export interface SegmentGroupOption {
908
- code: string
909
- display: string
910
- tooltip?: string
911
- }
912
-
913
- export const DCodeSegmentGroup: DefineComponent<{
914
- modelValue: string | null | undefined
915
- options: SegmentGroupOption[]
916
- label?: string
917
- description?: string
918
- disabled?: boolean
919
- }>
920
-
921
- export const Tooltip: DefineComponent<{
922
- [key: string]: any
923
- }>
924
- export const TooltipContent: DefineComponent<{
925
- [key: string]: any
926
- }>
927
- export const TooltipTrigger: DefineComponent<{
928
- [key: string]: any
929
- }>
930
- export const TooltipProvider: DefineComponent<{
931
- [key: string]: any
932
- }>
933
-
934
- export interface MetricBarItem {
935
- id?: string | number
936
- label: string
937
- value: string | number | boolean
938
- type?: 'text' | 'currency' | 'percent' | 'badge'
939
- color?: string
940
- badgeType?: 'success' | 'danger' | 'warning' | 'info' | 'neutral'
941
- badgeText?: string
942
- badgeColor?: string
943
- }
944
-
945
- export const DCodeBarCustom: DefineComponent<{
946
- label?: string
947
- icon?: string
948
- modelValue?: any
949
- border?: boolean
950
- shadow?: boolean
951
- padding?: string
952
- containerClass?: string
953
- /** Tipe format value. Nilai: 'TEXT' | 'DATE' | 'DATETIME' | 'CURRENCY' | 'BOOLEAN' | 'NUMBER' | 'PERCENT' | 'BADGE' */
954
- valueType?: 'TEXT' | 'DATE' | 'DATETIME' | 'CURRENCY' | 'BOOLEAN' | 'NUMBER' | 'PERCENT' | 'BADGE' | string
955
- /** Kode mata uang atau awalan (contoh: 'IDR', 'USD'). Digunakan saat valueType='CURRENCY' */
956
- prefix?: string
957
- /** Akhiran teks (contoh: ' unit', ' kg') */
958
- suffix?: string
959
- /** Locale formatting, default 'id-ID' */
960
- locale?: string
961
- }>
962
-
963
- export const DCodePagination: DefineComponent<{
964
- totalItems: number
965
- currentPage: number
966
- perPage: number
967
- perPageOptions?: number[]
968
- showPerPage?: boolean
969
- showInfo?: boolean
970
- showEdges?: boolean
971
- loading?: boolean
972
- }>
973
-
974
- export function registerLogic(name: string, module: any): void
975
- export function getLogicModule(name: string): any
976
- export function unregisterLogic(name: string): void
977
-
978
- export function cn(...inputs: any[]): string
979
- export function useDynamicForm(props: any, emit: any): any
980
- export interface PaginationStorage {
981
- load(key: string): any | null
982
- save(key: string, data: any): void
983
- clear(): void
984
- }
985
- export function setPaginationStorage(storage: PaginationStorage | null): void
986
- export function clearPaginationCache(): void
987
-
988
- const DynamicUI: {
989
- install: (app: any, options?: DynamicUIApiConfig) => void
990
- }
991
- export default DynamicUI