amotify 0.0.10 → 0.0.12

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 (38) hide show
  1. package/@types/fn.tsx +184 -184
  2. package/dist/amotify.js +1 -328
  3. package/dist/amotify.min.css +24 -12724
  4. package/package.json +3 -3
  5. package/src/@reactPacks/reactProduction@18.2.0.js +79 -0
  6. package/src/@reactPacks/reactRouterDomProduction@18.2.0.js +31 -0
  7. package/src/atoms/Various/parts.tsx +3 -2
  8. package/src/functions/Button/_.tsx +3 -0
  9. package/src/functions/Cropper/parts.tsx +1 -1
  10. package/src/functions/Input/Chips/Selector.tsx +2 -2
  11. package/src/functions/Input/DigitCharacters.tsx +2 -2
  12. package/src/functions/Input/File/_.tsx +1 -1
  13. package/src/functions/Input/List/_.tsx +3 -3
  14. package/src/functions/Input/Segmented/_.tsx +8 -0
  15. package/src/functions/Input/Select/_.tsx +2 -2
  16. package/src/functions/Input/Slider/_.tsx +5 -5
  17. package/src/functions/Input/Switch/_.tsx +2 -2
  18. package/src/functions/Input/Text.tsx +2 -2
  19. package/src/functions/Input/TextArea.tsx +2 -2
  20. package/src/functions/Input/Time/Picker.tsx +1 -1
  21. package/src/functions/Input/Time/_.tsx +4 -4
  22. package/src/functions/Input/Time/style.module.scss +1 -1
  23. package/src/functions/Input/_.tsx +22 -8
  24. package/src/functions/Input/core.tsx +3 -1
  25. package/src/functions/Loader/corner.tsx +6 -4
  26. package/src/functions/Loader/parts.tsx +0 -1
  27. package/src/functions/Loader/style.module.scss +1 -1
  28. package/src/functions/Sheet/parts.tsx +31 -16
  29. package/src/functions/Table/Data/parts.tsx +1 -0
  30. package/src/functions/Table/Normal/parts.tsx +1 -0
  31. package/src/functions/Table/_.tsx +8 -1
  32. package/src/functions/Tooltips/parts.tsx +2 -2
  33. package/src/global/LaunchReactApplication.tsx +1 -2
  34. package/src/global/styleConverter.tsx +24 -1
  35. package/src/launch.tsx +1 -1
  36. package/src/preload.tsx +20 -1
  37. package/src/templates/PlayGround/parts.tsx +9 -1
  38. package/webpack.config.js +5 -5
package/@types/fn.tsx CHANGED
@@ -1,4 +1,4 @@
1
- export {}
1
+ export { }
2
2
  declare global {
3
3
  namespace amotify {
4
4
  namespace fn {
@@ -8,14 +8,14 @@ declare global {
8
8
  TabBar: React.FC<TabBar.Params>
9
9
  Plate: React.FC<Plate.Params>
10
10
  SwipeView: React.FC<SwipeView.Params>
11
-
11
+
12
12
  PageRouter: React.FC<PageRouter.RouterProps>
13
-
13
+
14
14
  PageNotFound: React.FC<{}>
15
-
15
+
16
16
  RootViewController: RootViewController.Methods
17
17
  }
18
-
18
+
19
19
  namespace PageViewController {
20
20
  type Params = {
21
21
  viewIndex: number
@@ -25,7 +25,7 @@ declare global {
25
25
  }
26
26
  }
27
27
  }
28
-
28
+
29
29
  namespace TabBar {
30
30
  type Params = {
31
31
  tabIndex: number
@@ -33,19 +33,19 @@ declare global {
33
33
  onTabChange?: {
34
34
  ( index: number ): void
35
35
  }
36
-
36
+
37
37
  componentDidMount?: {
38
38
  (): void
39
39
  }
40
40
  } & amotifyBasicElement
41
41
  }
42
-
42
+
43
43
  namespace Plate {
44
44
  type Params = {
45
45
  size?: 'XS' | 'S' | 'R' | 'L' | 'XL' | 'MAX'
46
46
  } & atoms.BoxInput
47
47
  }
48
-
48
+
49
49
  namespace SwipeView {
50
50
  type Params = amotifyBasicElement & {
51
51
  slideIndex?: number
@@ -65,7 +65,7 @@ declare global {
65
65
  }
66
66
  }
67
67
  }
68
-
68
+
69
69
  namespace PageRouter {
70
70
  type RoutesProps = {
71
71
  path: string
@@ -89,7 +89,7 @@ declare global {
89
89
  pages: RoutesProps[]
90
90
  } & Callbacks
91
91
  }
92
-
92
+
93
93
  namespace RootViewController {
94
94
  type Methods = {
95
95
  Base: React.FC<RootViewController.BaseParams>
@@ -106,13 +106,13 @@ declare global {
106
106
  Bar: React.FC<atoms.BoxInput>
107
107
  }
108
108
  }
109
-
109
+
110
110
  type BaseParams = atoms.BoxInput & {
111
111
  topNavigation?: ReactElement
112
112
  sideNavigation?: ReactElement
113
113
  footerNavigation?: ReactElement
114
114
  }
115
-
115
+
116
116
  type ButtonParams = Buttons.ButtonInput & Buttons.Tones.Clear & {
117
117
  uri?: string
118
118
  uriGroup?: ( string | RegExp ) | ( string | RegExp )[]
@@ -122,19 +122,19 @@ declare global {
122
122
  namespace Tables {
123
123
  type Methods = {
124
124
  Comps: CompsMethods
125
-
125
+
126
126
  Normal: ( props: Normal.Params ) => JSX.Element
127
127
  Data: Data.Methods
128
128
  Drag: ( props: Drag.Params ) => JSX.Element
129
129
  Spread: () => JSX.Element
130
130
  }
131
-
131
+
132
132
  type CompsMethods = {
133
133
  Table: React.FC<TableParams>
134
134
  Head: React.FC<TableHeadParams>
135
135
  Body: React.FC<TableBodyParams>
136
136
  Row: React.FC<TRParams>
137
-
137
+
138
138
  TH: React.FC<TableCellParams>
139
139
  TD: React.FC<TableCellParams>
140
140
  RightIndicator: Uni.CellParams
@@ -144,17 +144,17 @@ declare global {
144
144
  Info: any
145
145
  Paging: any
146
146
  }
147
-
148
- type TableParams = amotifyBasicElement & React.TableHTMLAttributes<HTMLTableElement>
149
- type TableHeadParams = amotifyBasicElement & React.TableHTMLAttributes<HTMLTableSectionElement>
150
- type TableBodyParams = amotifyBasicElement & React.TableHTMLAttributes<HTMLTableSectionElement>
147
+
148
+ type customTableHTMLAttributes<T> = Omit<React.TableHTMLAttributes<T>,'border'>
149
+ type TableParams = amotifyBasicElement & customTableHTMLAttributes<HTMLTableElement>
150
+ type TableHeadParams = amotifyBasicElement & customTableHTMLAttributes<HTMLTableSectionElement>
151
+ type TableBodyParams = amotifyBasicElement & customTableHTMLAttributes<HTMLTableSectionElement>
151
152
  type TRParams = amotifyBasicElement & React.HTMLAttributes<HTMLTableRowElement>
152
153
  type TableCellParams = amotifyBasicElement & React.ThHTMLAttributes<HTMLTableCellElement>
153
-
154
-
154
+
155
155
  type Types = 'normal' | 'data' | 'drag' | 'spread'
156
156
  type Tones = 'border' | 'cellBorder' | 'rowBorder' | 'plain' | 'auto'
157
-
157
+
158
158
  type OnRowClick = {
159
159
  ( rowIDOrIndex: any,event: React.MouseEvent<HTMLTableRowElement,MouseEvent> ): void
160
160
  }
@@ -168,7 +168,7 @@ declare global {
168
168
  isHeader: boolean
169
169
  isBody: boolean
170
170
  }
171
-
171
+
172
172
  namespace Uni {
173
173
  type CellParams = TableCellParams & {
174
174
  type?: 'th' | 'td'
@@ -182,7 +182,7 @@ declare global {
182
182
  cellStylesCallback?: {
183
183
  ( params: StylesCallbackInput ): amotifyUniStyleParams
184
184
  }
185
-
185
+
186
186
  className?: string
187
187
  } & amotifyUniStyleParams
188
188
  }
@@ -192,11 +192,11 @@ declare global {
192
192
  type BodyRowParams = CellParams[] & {
193
193
  rowID?: string | number
194
194
  }
195
-
195
+
196
196
  type Params = Uni.Params & {
197
197
  head: HeadRowParams | false
198
198
  rows: BodyRowParams[]
199
-
199
+
200
200
  onRowClick?: OnRowClick
201
201
  }
202
202
  }
@@ -206,11 +206,11 @@ declare global {
206
206
  type BodyRowParams = CellParams[] & {
207
207
  rowID?: any
208
208
  }
209
-
209
+
210
210
  type Params = Uni.Params & {
211
211
  head: HeadRowParams | false
212
212
  rows: BodyRowParams[]
213
-
213
+
214
214
  onOrderChanged: {
215
215
  ( orderList: any[] ): void
216
216
  }
@@ -225,7 +225,7 @@ declare global {
225
225
  }
226
226
  type HeadRowParams = CellParams[]
227
227
  type BodyRowParams = Array<CellParams> & ArrayObjectParams
228
-
228
+
229
229
  type ArrayObjectParams = {
230
230
  rowID?: any
231
231
  __sys4SearchKey?: string
@@ -233,13 +233,13 @@ declare global {
233
233
  filtered?: boolean
234
234
  currentPage?: boolean
235
235
  }
236
-
236
+
237
237
  type Params = Uni.Params & {
238
238
  tableID?: string
239
239
  head: HeadRowParams
240
240
  rows: BodyRowParams[]
241
241
  onRowClick?: OnRowClick
242
-
242
+
243
243
  eventID?: string
244
244
  checker?: boolean
245
245
  searchKeyword?: string
@@ -249,7 +249,7 @@ declare global {
249
249
  pageRowLength: number
250
250
  noRecords?: ReactElement
251
251
  }
252
-
252
+
253
253
  type Methods = {
254
254
  ( props: Data.Params ): JSX.Element
255
255
  } & FNs & Comps
@@ -270,7 +270,7 @@ declare global {
270
270
  lengthSelect: number[]
271
271
  }>
272
272
  }
273
-
273
+
274
274
  type useStatusOutput = {
275
275
  tableComponentDidMount: boolean
276
276
  totalRows: number
@@ -293,7 +293,7 @@ declare global {
293
293
  currentPageIndex: number
294
294
  }
295
295
  }
296
-
296
+
297
297
  type FilterColumnsProps = {
298
298
  index: number
299
299
  keyword: string
@@ -302,7 +302,7 @@ declare global {
302
302
  type OrderParams = [ number,'ASC' | 'DESC' ]
303
303
  }
304
304
  namespace Spread {
305
-
305
+
306
306
  }
307
307
  }
308
308
  namespace Input {
@@ -314,19 +314,19 @@ declare global {
314
314
  DigitCharacters: ( params: DigitCharacters.PlainParams ) => JSX.Element
315
315
  Time: Time.Methods
316
316
  Select: ( params: Select.PlainParams ) => JSX.Element
317
-
317
+
318
318
  Radio: ( props: List.PlainParams ) => JSX.Element
319
319
  Checkbox: ( props: List.PlainParams ) => JSX.Element
320
320
  Checker: ( params: Checker.PlainParams ) => JSX.Element
321
-
321
+
322
322
  Chips: Chips.Methods
323
323
  Search: ( params: Search.PlainParams ) => JSX.Element
324
324
  File: Filer.Methods
325
325
  Slider: ( params: Slider.PlainParams ) => JSX.Element
326
326
  Switch: ( params: Switch.PlainParams ) => JSX.Element
327
-
327
+
328
328
  Segmented: Segmented.Types
329
-
329
+
330
330
  Comps: {
331
331
  RequiredSign: React.FC<amotify.atoms.SpanProps>
332
332
  OmitSign: React.FC<amotify.atoms.SpanProps>
@@ -336,24 +336,24 @@ declare global {
336
336
  RightIcon: React.FC<IndicatorParams>
337
337
  }
338
338
  }
339
-
339
+
340
340
  type WrapperParams = atoms.BoxInput & {
341
341
  label?: ReactElement
342
342
  labelStyles?: amotifyUniStyleParams
343
343
  required?: boolean | 'plain' | 'omit'
344
344
  }
345
-
345
+
346
346
  type UniParams = {
347
347
  name?: string
348
348
  form?: string
349
-
349
+
350
350
  statusID?: string
351
351
  componentID?: string
352
-
352
+
353
353
  override?: 'force' | 'beforeModified' | 'never'
354
-
354
+
355
355
  required?: boolean
356
-
356
+
357
357
  checkValidationAtFirst?: boolean
358
358
  onValidate?: Validation.OnValidate
359
359
  onUpdateValue?: OnUpdateValue
@@ -371,15 +371,15 @@ declare global {
371
371
  eventType: Validation.EventType
372
372
  } ): void
373
373
  }
374
-
374
+
375
375
  type BoxToneTypes = 'border' | 'cloud' | 'bottomBorder' | 'plain'
376
-
376
+
377
377
  namespace Hidden {
378
378
  type PlainParams = React.DOMAttributes<HTMLInputElement> & {
379
379
  componentID?: string
380
380
  name?: string
381
381
  form?: string
382
-
382
+
383
383
  id?: string
384
384
  value?: string | number | plainObject
385
385
  }
@@ -403,38 +403,38 @@ declare global {
403
403
  JPY: ( props: PlainParams ) => JSX.Element
404
404
  }
405
405
  }
406
-
406
+
407
407
  type RestrictTypes = 'text' | 'number' | 'digitNumber' | 'tel' | 'email' | 'url' | 'fileName' | 'password' | 'postal' | 'creditCard'
408
-
408
+
409
409
  type PlainParams = CoreParams & React.DOMAttributes<HTMLInputElement> & {
410
410
  tone?: BoxToneTypes
411
-
411
+
412
412
  tabIndex?: number
413
413
  id?: string
414
-
414
+
415
415
  disabled?: boolean
416
-
416
+
417
417
  min?: number | null
418
418
  max?: number | null
419
419
  maxLength?: number | null
420
-
421
- enableFormSubmit?: boolean
422
-
420
+
421
+ enable_form_submit?: boolean
422
+
423
423
  autoComplete?: 'off' | 'none' | string
424
424
  autoCapitalize?: 'off' | 'none' | string
425
-
425
+
426
426
  clearButton?: boolean
427
-
427
+
428
428
  value?: string | number
429
-
429
+
430
430
  placeholder?: string
431
-
431
+
432
432
  leftIndicator?: ReactElement | false
433
433
  rightIndicator?: ReactElement | false
434
434
  leftIcon?: ReactElement | false
435
435
  rightIcon?: ReactElement | false
436
436
  }
437
-
437
+
438
438
  type OriginParams = PlainParams & {
439
439
  restrict?: RestrictTypes
440
440
  }
@@ -442,18 +442,18 @@ declare global {
442
442
  namespace TextArea {
443
443
  type PlainParams = CoreParams & React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
444
444
  tone?: BoxToneTypes
445
-
445
+
446
446
  tabIndex?: number
447
447
  id?: string
448
-
448
+
449
449
  disabled?: boolean
450
-
451
- enableFormSubmit?: boolean
452
-
450
+
451
+ enable_form_submit?: boolean
452
+
453
453
  value?: string | number
454
-
454
+
455
455
  placeholder?: string
456
-
456
+
457
457
  leftIndicator?: ReactElement | false
458
458
  rightIndicator?: ReactElement | false
459
459
  leftIcon?: ReactElement | false
@@ -463,18 +463,18 @@ declare global {
463
463
  namespace DigitCharacters {
464
464
  type PlainParams = CoreParams & React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>,HTMLInputElement> & {
465
465
  tone?: BoxToneTypes
466
-
466
+
467
467
  combineInput?: boolean
468
468
  digits: number
469
469
  numericOnly?: boolean
470
-
470
+
471
471
  tabIndex?: number
472
472
  id?: string
473
-
474
- enableFormSubmit?: boolean
475
-
473
+
474
+ enable_form_submit?: boolean
475
+
476
476
  value?: string | number
477
-
477
+
478
478
  listStyles?: amotifyUniStyleParams
479
479
  }
480
480
  }
@@ -492,7 +492,7 @@ declare global {
492
492
  }
493
493
  fn: FNTypes
494
494
  }
495
-
495
+
496
496
  type FNTypes = {
497
497
  picker: {
498
498
  launch( params: PickerParams & Omit<Tooltips.Params,'content'> ): void
@@ -501,25 +501,25 @@ declare global {
501
501
  }
502
502
  type EraTypes = 'clock' | 'year' | 'meiji' | 'taisho' | 'shouwa' | 'heisei' | 'reiwa'
503
503
  type RestrictTypes = 'clock' | 'date' | 'week' | 'month' | 'year' | 'dates' | 'months' | 'dateWareki'
504
-
504
+
505
505
  type PlainParams = CoreParams & React.DOMAttributes<HTMLInputElement> & {
506
506
  tone?: BoxToneTypes
507
-
507
+
508
508
  tabIndex?: number
509
509
  id?: string
510
-
510
+
511
511
  disabled?: boolean
512
-
513
- enableFormSubmit?: boolean
514
-
512
+
513
+ enable_form_submit?: boolean
514
+
515
515
  value?: string | [ string,string ]
516
516
  min?: string
517
517
  max?: string
518
-
518
+
519
519
  leftIndicator?: ReactElement | false
520
520
  rightIndicator?: ReactElement | false
521
521
  }
522
-
522
+
523
523
  type OriginParams = PlainParams & {
524
524
  restrict: RestrictTypes
525
525
  era?: EraTypes
@@ -528,18 +528,18 @@ declare global {
528
528
  value?: string
529
529
  defaultEra?: 'year' | 'wareki'
530
530
  }
531
-
531
+
532
532
  type PeriodParams = Omit<PlainParams,'value'> & {
533
533
  value?: [ string,string ]
534
534
  }
535
-
535
+
536
536
  type RangeProps = {
537
537
  type: 'hour' | 'minute' | 'date' | 'month' | 'year' | 'week' | 'dateWareki'
538
538
  from: number
539
539
  length: number
540
540
  region?: number
541
541
  }
542
-
542
+
543
543
  type PickerParams = {
544
544
  tipsID?: string
545
545
  restrict: RestrictTypes
@@ -552,33 +552,33 @@ declare global {
552
552
  namespace Select {
553
553
  type PlainParams = CoreParams & React.DOMAttributes<HTMLSelectElement> & {
554
554
  tone?: BoxToneTypes
555
-
555
+
556
556
  tabIndex?: number
557
-
557
+
558
558
  id?: string
559
-
559
+
560
560
  disabled?: boolean
561
-
562
- enableFormSubmit?: boolean
563
-
561
+
562
+ enable_form_submit?: boolean
563
+
564
564
  value?: ValueProps
565
565
  options: OptionProps[]
566
-
566
+
567
567
  placeholder?: string
568
-
568
+
569
569
  leftIndicator?: ReactElement | false
570
570
  rightIndicator?: ReactElement | false
571
-
571
+
572
572
  enableUnSelected?: boolean
573
-
573
+
574
574
  rightIconStyles?: amotifyUniStyleParams
575
-
575
+
576
576
  leftIcon?: ReactElement | false
577
577
  rightIcon?: ReactElement | false
578
578
  }
579
-
579
+
580
580
  type ValueProps = string | number | boolean | plainObject | void | null
581
-
581
+
582
582
  type OptionProps = {
583
583
  value: ValueProps
584
584
  label: string
@@ -587,33 +587,33 @@ declare global {
587
587
  }
588
588
  namespace List {
589
589
  type ListToneTypes = 'border' | 'cloud' | 'vivid' | 'normal' | 'plain'
590
-
590
+
591
591
  type Methods = {
592
592
  Radio: ( props: PlainParams ) => JSX.Element
593
593
  Checkbox: ( props: PlainParams ) => JSX.Element
594
594
  }
595
-
595
+
596
596
  type PlainParams = CoreParams & {
597
597
  tone?: ListToneTypes
598
598
  icon?: boolean
599
-
599
+
600
600
  tabIndex?: number
601
601
  id?: string
602
-
602
+
603
603
  iconType?: 'radio' | 'checkbox'
604
604
  minSelect?: number
605
-
606
- enableFormSubmit?: boolean
607
-
605
+
606
+ enable_form_submit?: boolean
607
+
608
608
  disabled?: boolean
609
609
  value?: any | any[]
610
610
  options: OptionParams[]
611
-
611
+
612
612
  hideInput?: boolean
613
-
613
+
614
614
  leftIndicator?: ReactElement | false
615
615
  rightIndicator?: ReactElement | false
616
-
616
+
617
617
  cellStyles?: amotifyUniStyleParams
618
618
  cellClassName?: string
619
619
  cellCheckedStyles?: amotifyUniStyleParams
@@ -624,7 +624,7 @@ declare global {
624
624
  type: 'radio' | 'checkbox' | 'checker'
625
625
  tone: ListToneTypes
626
626
  }
627
-
627
+
628
628
  type OptionParams = {
629
629
  value: any
630
630
  label: ReactElement
@@ -638,27 +638,27 @@ declare global {
638
638
  type Methods = React.FC<PlainParams> & {
639
639
  fn: FNs
640
640
  }
641
-
641
+
642
642
  type PlainParams = CoreParams & {
643
643
  tabIndex?: number
644
-
644
+
645
645
  id?: string
646
-
646
+
647
647
  disabled?: boolean
648
-
648
+
649
649
  value?: OptionParams[]
650
650
  limit?: number
651
-
651
+
652
652
  selectorGravityPoint?: number
653
-
653
+
654
654
  defaultOptions?: OptionParams[]
655
655
  onDynamicSearch?: onDynamicSearch
656
-
656
+
657
657
  leftIndicator?: ReactElement | false
658
658
  rightIndicator?: ReactElement | false
659
659
  rightIcon?: ReactElement | false
660
660
  leftIcon?: ReactElement | false
661
-
661
+
662
662
  SelectedCellComponent?: SelectedCellComponentInput
663
663
  SelectorCellComponent?: SelectorCellComponentInput
664
664
  AddButtonComponent?: AddButtonComponentInput
@@ -689,7 +689,7 @@ declare global {
689
689
  selected: OptionParams[]
690
690
  openCallback(): void
691
691
  }>
692
-
692
+
693
693
  type OpenSelectorInput = {
694
694
  parent: Jsmin.Args
695
695
  selectorID: string
@@ -709,7 +709,7 @@ declare global {
709
709
  onClosed(): void
710
710
  SelectorCellComponent?: SelectorCellComponentInput
711
711
  }
712
-
712
+
713
713
  type FNs = {
714
714
  openSelector( params: OpenSelectorInput ): void
715
715
  closeSelector( selectorID: string ): void
@@ -722,21 +722,21 @@ declare global {
722
722
  }
723
723
  namespace Filer {
724
724
  type Methods = React.FC<PlainParams> & FNs
725
-
725
+
726
726
  type PlainParams = CoreParams & React.DOMAttributes<HTMLInputElement> & {
727
727
  tone?: BoxToneTypes
728
728
  tabIndex?: number
729
-
729
+
730
730
  id?: string
731
731
  disabled?: boolean
732
-
732
+
733
733
  value?: CustomFile[]
734
734
  limit?: number
735
-
735
+
736
736
  fileNameEdit?: boolean
737
737
  systemOnly?: boolean
738
738
  accept?: AcceptTypes
739
-
739
+
740
740
  cellStyles?: amotifyUniStyleParams
741
741
  cellClassName?: string
742
742
  }
@@ -744,7 +744,7 @@ declare global {
744
744
  id: string
745
745
  }
746
746
  type AcceptTypes = 'image' | string
747
-
747
+
748
748
  type FNs = {
749
749
  fn: {
750
750
  openDialog( params: {
@@ -757,15 +757,15 @@ declare global {
757
757
  namespace Slider {
758
758
  type PlainParams = CoreParams & React.DOMAttributes<HTMLInputElement> & {
759
759
  tabIndex?: number
760
-
760
+
761
761
  id?: string
762
-
762
+
763
763
  disabled?: boolean
764
-
764
+
765
765
  value?: number
766
-
766
+
767
767
  color?: ColorTypes
768
-
768
+
769
769
  min: number
770
770
  max: number
771
771
  step: number
@@ -774,12 +774,12 @@ declare global {
774
774
  custom?: LegendsCallback
775
775
  showAlways?: boolean
776
776
  }
777
-
778
- enableFormSubmit?: boolean
777
+
778
+ enable_form_submit?: boolean
779
779
  }
780
-
780
+
781
781
  type ColorTypes = amotify.ThemeColorTypes | 'theme' | 'posi' | 'nega' | 'warn'
782
-
782
+
783
783
  type LegendsCallback = {
784
784
  ( value: number ): ReactElement
785
785
  }
@@ -787,18 +787,18 @@ declare global {
787
787
  namespace Switch {
788
788
  type PlainParams = UniParams & React.DOMAttributes<HTMLInputElement> & {
789
789
  color?: ColorTypes
790
-
790
+
791
791
  id?: string
792
792
  tabIndex?: number
793
-
793
+
794
794
  appearance?: 'material' | 'applely'
795
795
  disabled?: boolean
796
796
  value?: boolean
797
797
  icon?: string
798
-
799
- enableFormSubmit?: boolean
798
+
799
+ enable_form_submit?: boolean
800
800
  }
801
-
801
+
802
802
  type ColorTypes = amotify.ThemeColorTypes | 'theme' | 'posi' | 'nega' | 'warn'
803
803
  }
804
804
  namespace Segmented {
@@ -806,38 +806,38 @@ declare global {
806
806
  type Types = {
807
807
  Auto: ( params: Params ) => JSX.Element
808
808
  Normal: ( params: Params ) => JSX.Element
809
-
809
+
810
810
  Cloud: ( params: Params ) => JSX.Element
811
811
  Cloud2: ( params: Params ) => JSX.Element
812
812
  Cloud3: ( params: Params ) => JSX.Element
813
-
813
+
814
814
  Border: ( params: Params ) => JSX.Element
815
815
  Border2: ( params: Params ) => JSX.Element
816
816
  BottomLine: ( params: Params ) => JSX.Element
817
817
  }
818
-
818
+
819
819
  type Params = List.PlainParams
820
820
  type ListParams = List.OptionParams[]
821
821
  }
822
822
  namespace Checker {
823
823
  type PlainParams = CoreParams & {
824
824
  label: ReactElement
825
-
825
+
826
826
  id?: string
827
827
  tabIndex?: number
828
-
828
+
829
829
  disabled?: boolean
830
830
  value?: boolean
831
-
832
- enableFormSubmit?: boolean
833
-
831
+
832
+ enable_form_submit?: boolean
833
+
834
834
  cellStyles?: amotifyUniStyleParams
835
835
  cellClassName?: string
836
836
  cellCheckedStyles?: amotifyUniStyleParams
837
837
  cellCheckedClassName?: string
838
838
  }
839
839
  }
840
-
840
+
841
841
  namespace Status {
842
842
  type Plain = {
843
843
  componentID: string
@@ -888,22 +888,22 @@ declare global {
888
888
  } ): Promise<Result>
889
889
  }
890
890
  }
891
-
891
+
892
892
  type IndicatorParams = amotifyUniStyleParams & {
893
893
  tone?: BoxToneTypes
894
894
  className?: string
895
895
  children: ReactElement
896
896
  }
897
897
  }
898
-
898
+
899
899
  namespace Buttons {
900
900
  type Methods = SeedTypes & {}
901
-
901
+
902
902
  type Seeds = 'Button' | 'Label' | 'Anchor'
903
903
  type Tones = 'Plain' | 'Link' | 'Normal' | 'Border' | 'Prime' | 'Sub' | 'Clear' | 'FillToBorder' | 'BorderToFill'
904
904
  type Sizes = 'XS' | 'S' | 'R' | 'L'
905
905
  type Colors = 'theme' | 'posi' | 'nega' | 'warn' | 'cloud' | 'trans' | 'white' | 'plain'
906
-
906
+
907
907
  type SeedTypes = {
908
908
  Button: ToneTypes<ButtonInput>
909
909
  Label: ToneTypes<LabelInput>
@@ -912,10 +912,10 @@ declare global {
912
912
  type ToneTypes<T> = {
913
913
  Plain: React.FC<T>
914
914
  Link: React.FC<T>
915
-
915
+
916
916
  Normal: SizeTypes<T>
917
917
  Border: SizeTypes<T>
918
-
918
+
919
919
  Prime: SizeTypes<T & Tones.Prime>
920
920
  Sub: SizeTypes<T & Tones.Sub>
921
921
  Clear: SizeTypes<T & Tones.Clear>
@@ -928,7 +928,7 @@ declare global {
928
928
  R: React.FC<T>
929
929
  L: React.FC<T>
930
930
  }
931
-
931
+
932
932
  namespace Tones {
933
933
  type Plain = {}
934
934
  type Link = {}
@@ -940,8 +940,8 @@ declare global {
940
940
  type FillToBorder = { color?: Colors }
941
941
  type BorderToFill = { color?: Colors }
942
942
  }
943
-
944
-
943
+
944
+
945
945
  type UniParams = amotifyBasicElement & {
946
946
  tabIndex?: number
947
947
  children?: ReactElement
@@ -954,7 +954,7 @@ declare global {
954
954
  activeClassName?: string
955
955
  }
956
956
  type delegateClickEventProps = 'auxEnter' | 'enter' | 'space'
957
-
957
+
958
958
  type ButtonInput = UniParams & {
959
959
  submitOption?: {
960
960
  formName: string
@@ -977,14 +977,14 @@ declare global {
977
977
  namespace Sheet {
978
978
  type Methods = {
979
979
  open( params: Params ): void
980
-
980
+
981
981
  refresh( params: Params,open: boolean ): void
982
982
  resize( params: {
983
983
  sheetID: string
984
984
  size: SizeParams
985
985
  } ): void
986
986
  reposition( sheetID: string ): void
987
-
987
+
988
988
  close( key: string,eventType?: 'escape' | 'pageTransit' ): void
989
989
  closeGroup( keyGroup: string ): void
990
990
  closeAll( pageTransit?: boolean ): void
@@ -992,9 +992,9 @@ declare global {
992
992
  Body: React.FC<atoms.BoxInput>
993
993
  }
994
994
  }
995
-
995
+
996
996
  type Params = NormalParams | EdgeParams | CustomParams | ImageParams | Bottom.Params
997
-
997
+
998
998
  type UniParams = {
999
999
  sheetID?: string
1000
1000
  sheetGroups?: string | string[]
@@ -1002,13 +1002,13 @@ declare global {
1002
1002
  (): JSX.Element
1003
1003
  }
1004
1004
  overwrap?: boolean
1005
- closeOption?: CloseOptions
1006
- holdState?: boolean
1007
-
1005
+ close_option?: CloseOptions
1006
+ hold_state?: boolean
1007
+
1008
1008
  openAfter?(): void
1009
1009
  closeAfter?(): void
1010
1010
  } & amotifyBasicElement
1011
-
1011
+
1012
1012
  type SizeParams = 'S' | 'R' | 'L' | '2L' | '3L' | 'MAX'
1013
1013
  type CloseOptions = {
1014
1014
  pageTransit?: boolean
@@ -1026,22 +1026,22 @@ declare global {
1026
1026
  'normal.bottomLeft' |
1027
1027
  'normal.bottomCenter' |
1028
1028
  'normal.bottomRight' |
1029
-
1029
+
1030
1030
  'drawer.left' | 'drawer.right' | 'drawer.bottom' |
1031
-
1031
+
1032
1032
  'custom' |
1033
1033
  'image'
1034
-
1034
+
1035
1035
  type NormalParams = UniParams & {
1036
1036
  type: SheetTypes
1037
1037
  size?: SizeParams
1038
1038
  }
1039
-
1039
+
1040
1040
  type EdgeParams = UniParams & {
1041
1041
  type: SheetTypes
1042
1042
  size?: SizeParams
1043
1043
  }
1044
-
1044
+
1045
1045
  type CustomParams = UniParams & {
1046
1046
  type: 'custom'
1047
1047
  parent: Jsmin.Args
@@ -1058,7 +1058,7 @@ declare global {
1058
1058
  size: Sizes
1059
1059
  sizeChanged?( size: Sizes ): void
1060
1060
  baseStyles?: amotifyUniStyleParams
1061
- closeOption?: CloseOptions & {
1061
+ close_option?: CloseOptions & {
1062
1062
  swipeDown?: boolean
1063
1063
  }
1064
1064
  }
@@ -1074,22 +1074,22 @@ declare global {
1074
1074
  Body: React.FC<atoms.BoxInput>
1075
1075
  }
1076
1076
  }
1077
-
1077
+
1078
1078
  type Params = {
1079
1079
  tipsID?: string
1080
1080
  tipsGroups?: string | string[]
1081
1081
  parent: Jsmin.Args
1082
1082
  gravityPoint?: number
1083
- closeOption?: Sheet.CloseOptions
1083
+ close_option?: Sheet.CloseOptions
1084
+ hold_state?: boolean
1084
1085
  content: ReactElement | {
1085
1086
  (): JSX.Element
1086
1087
  }
1087
- holdState?: boolean
1088
1088
  openAfter?(): void
1089
1089
  closeAfter?(): void
1090
1090
  } & amotifyBasicElement
1091
1091
  }
1092
-
1092
+
1093
1093
  namespace SnackBar {
1094
1094
  type Methods = {
1095
1095
  __memoryID: string
@@ -1111,7 +1111,7 @@ declare global {
1111
1111
  }
1112
1112
  namespace Loader {
1113
1113
  type Methods = ColorTypes & FNs
1114
-
1114
+
1115
1115
  type ColorTypes = {
1116
1116
  Theme: SizeTypes<CompInput>
1117
1117
  Posi: SizeTypes<CompInput>
@@ -1127,15 +1127,15 @@ declare global {
1127
1127
  XL: React.FC<T>
1128
1128
  MAX: React.FC<T>
1129
1129
  }
1130
-
1130
+
1131
1131
  type Sizes = 'S' | 'R' | 'L' | 'XL' | 'MAX'
1132
1132
  type Colors = 'theme' | 'posi' | 'nega' | 'warn' | 'white' | 'cloud'
1133
-
1133
+
1134
1134
  type CompInput = amotifyUniStyleParams & {
1135
1135
  showInitial?: boolean
1136
1136
  loaderID?: string
1137
1137
  }
1138
-
1138
+
1139
1139
  type FNs = {
1140
1140
  __memoryID: string
1141
1141
  fn: {
@@ -1164,7 +1164,7 @@ declare global {
1164
1164
  ( files: Input.Filer.CustomFile[] ): void
1165
1165
  }
1166
1166
  }
1167
-
1167
+
1168
1168
  type DevelopParams = {
1169
1169
  size: 'S' | 'R' | 'L'
1170
1170
  maxSize?: number
@@ -1191,7 +1191,7 @@ declare global {
1191
1191
  // }>
1192
1192
  }
1193
1193
  }
1194
-
1194
+
1195
1195
  type Methods = {
1196
1196
  Table: amotify.fn.Tables.Methods
1197
1197
  Layout: amotify.fn.Layout.Methods