@uzum-tech/ui 1.9.1 → 1.10.1

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 (149) hide show
  1. package/dist/index.js +5316 -804
  2. package/dist/index.prod.js +12 -3
  3. package/es/_internal/scrollbar/src/Scrollbar.js +19 -38
  4. package/es/auto-complete/src/AutoComplete.d.ts +1 -1
  5. package/es/cascader/src/Cascader.d.ts +1 -1
  6. package/es/chat/src/ChatListItems.js +16 -1
  7. package/es/chat/src/ChatParts/MainArea.js +31 -21
  8. package/es/components.d.ts +2 -0
  9. package/es/components.js +2 -0
  10. package/es/config-provider/src/internal-interface.d.ts +4 -0
  11. package/es/crop/index.d.ts +3 -0
  12. package/es/crop/index.js +1 -0
  13. package/es/crop/src/Crop.d.ts +222 -0
  14. package/es/crop/src/Crop.js +157 -0
  15. package/es/crop/src/interface.d.ts +6 -0
  16. package/es/crop/src/interface.js +7 -0
  17. package/es/crop/src/styles/index.cssr.d.ts +2 -0
  18. package/es/crop/src/styles/index.cssr.js +333 -0
  19. package/es/crop/styles/_common.d.ts +4 -0
  20. package/es/crop/styles/_common.js +3 -0
  21. package/es/crop/styles/dark.d.ts +3 -0
  22. package/es/crop/styles/dark.js +9 -0
  23. package/es/crop/styles/index.d.ts +3 -0
  24. package/es/crop/styles/index.js +2 -0
  25. package/es/crop/styles/light.d.ts +14 -0
  26. package/es/crop/styles/light.js +14 -0
  27. package/es/date-picker/src/panel/panelMonth.d.ts +1 -1
  28. package/es/date-picker/src/panel/panelYear.d.ts +1 -1
  29. package/es/dynamic-tags/src/DynamicTags.d.ts +30 -0
  30. package/es/dynamic-tags/styles/light.d.ts +3 -0
  31. package/es/infinite-scroll/src/InfiniteScroll.d.ts +16 -0
  32. package/es/infinite-scroll/src/InfiniteScroll.js +45 -12
  33. package/es/input/src/Input.d.ts +1 -1
  34. package/es/input-number/src/InputNumber.d.ts +1 -1
  35. package/es/legacy-transfer/src/Transfer.d.ts +1 -1
  36. package/es/modal-fullscreen/index.d.ts +2 -0
  37. package/es/modal-fullscreen/index.js +1 -0
  38. package/es/modal-fullscreen/src/ModalFull.d.ts +953 -0
  39. package/es/modal-fullscreen/src/ModalFull.js +250 -0
  40. package/es/modal-fullscreen/src/interface.d.ts +0 -0
  41. package/es/modal-fullscreen/src/interface.js +1 -0
  42. package/es/modal-fullscreen/src/styles/index.cssr.d.ts +2 -0
  43. package/es/modal-fullscreen/src/styles/index.cssr.js +85 -0
  44. package/es/modal-fullscreen/styles/_common.d.ts +12 -0
  45. package/es/modal-fullscreen/styles/_common.js +11 -0
  46. package/es/modal-fullscreen/styles/dark.d.ts +3 -0
  47. package/es/modal-fullscreen/styles/dark.js +14 -0
  48. package/es/modal-fullscreen/styles/index.d.ts +3 -0
  49. package/es/modal-fullscreen/styles/index.js +2 -0
  50. package/es/modal-fullscreen/styles/light.d.ts +100 -0
  51. package/es/modal-fullscreen/styles/light.js +19 -0
  52. package/es/rate/src/Rate.d.ts +1 -1
  53. package/es/select/src/Select.d.ts +1 -1
  54. package/es/slider/src/Slider.d.ts +1 -1
  55. package/es/switch/src/Switch.d.ts +1 -1
  56. package/es/tag/index.d.ts +2 -0
  57. package/es/tag/index.js +1 -0
  58. package/es/tag/src/Tag.d.ts +40 -0
  59. package/es/tag/src/Tag.js +3 -0
  60. package/es/tag/src/TagGroup.d.ts +644 -0
  61. package/es/tag/src/TagGroup.js +109 -0
  62. package/es/tag/src/styles/index.cssr.d.ts +1 -0
  63. package/es/tag/src/styles/index.cssr.js +8 -1
  64. package/es/tag/styles/light.d.ts +3 -0
  65. package/es/tag/styles/light.js +5 -0
  66. package/es/themes/dark.js +5 -1
  67. package/es/themes/light.js +5 -1
  68. package/es/time-picker/src/TimePicker.d.ts +1 -1
  69. package/es/transfer/src/Transfer.d.ts +1 -1
  70. package/es/tree-select/src/TreeSelect.d.ts +1 -1
  71. package/es/version.d.ts +1 -1
  72. package/es/version.js +1 -1
  73. package/es/virtual-list/index.d.ts +1 -1
  74. package/es/virtual-list/index.js +1 -1
  75. package/lib/_internal/scrollbar/src/Scrollbar.js +19 -38
  76. package/lib/auto-complete/src/AutoComplete.d.ts +1 -1
  77. package/lib/cascader/src/Cascader.d.ts +1 -1
  78. package/lib/chat/src/ChatListItems.js +16 -1
  79. package/lib/chat/src/ChatParts/MainArea.js +31 -21
  80. package/lib/components.d.ts +2 -0
  81. package/lib/components.js +2 -0
  82. package/lib/config-provider/src/internal-interface.d.ts +4 -0
  83. package/lib/crop/index.d.ts +3 -0
  84. package/lib/crop/index.js +9 -0
  85. package/lib/crop/src/Crop.d.ts +222 -0
  86. package/lib/crop/src/Crop.js +163 -0
  87. package/lib/crop/src/interface.d.ts +6 -0
  88. package/lib/crop/src/interface.js +10 -0
  89. package/lib/crop/src/styles/index.cssr.d.ts +2 -0
  90. package/lib/crop/src/styles/index.cssr.js +338 -0
  91. package/lib/crop/styles/_common.d.ts +4 -0
  92. package/lib/crop/styles/_common.js +5 -0
  93. package/lib/crop/styles/dark.d.ts +3 -0
  94. package/lib/crop/styles/dark.js +11 -0
  95. package/lib/crop/styles/index.d.ts +3 -0
  96. package/lib/crop/styles/index.js +10 -0
  97. package/lib/crop/styles/light.d.ts +14 -0
  98. package/lib/crop/styles/light.js +21 -0
  99. package/lib/date-picker/src/panel/panelMonth.d.ts +1 -1
  100. package/lib/date-picker/src/panel/panelYear.d.ts +1 -1
  101. package/lib/dynamic-tags/src/DynamicTags.d.ts +30 -0
  102. package/lib/dynamic-tags/styles/light.d.ts +3 -0
  103. package/lib/infinite-scroll/src/InfiniteScroll.d.ts +16 -0
  104. package/lib/infinite-scroll/src/InfiniteScroll.js +44 -11
  105. package/lib/input/src/Input.d.ts +1 -1
  106. package/lib/input-number/src/InputNumber.d.ts +1 -1
  107. package/lib/legacy-transfer/src/Transfer.d.ts +1 -1
  108. package/lib/modal-fullscreen/index.d.ts +2 -0
  109. package/lib/modal-fullscreen/index.js +9 -0
  110. package/lib/modal-fullscreen/src/ModalFull.d.ts +953 -0
  111. package/lib/modal-fullscreen/src/ModalFull.js +256 -0
  112. package/lib/modal-fullscreen/src/interface.d.ts +0 -0
  113. package/lib/modal-fullscreen/src/interface.js +1 -0
  114. package/lib/modal-fullscreen/src/styles/index.cssr.d.ts +2 -0
  115. package/lib/modal-fullscreen/src/styles/index.cssr.js +90 -0
  116. package/lib/modal-fullscreen/styles/_common.d.ts +12 -0
  117. package/lib/modal-fullscreen/styles/_common.js +13 -0
  118. package/lib/modal-fullscreen/styles/dark.d.ts +3 -0
  119. package/lib/modal-fullscreen/styles/dark.js +16 -0
  120. package/lib/modal-fullscreen/styles/index.d.ts +3 -0
  121. package/lib/modal-fullscreen/styles/index.js +10 -0
  122. package/lib/modal-fullscreen/styles/light.d.ts +100 -0
  123. package/lib/modal-fullscreen/styles/light.js +26 -0
  124. package/lib/rate/src/Rate.d.ts +1 -1
  125. package/lib/select/src/Select.d.ts +1 -1
  126. package/lib/slider/src/Slider.d.ts +1 -1
  127. package/lib/switch/src/Switch.d.ts +1 -1
  128. package/lib/tag/index.d.ts +2 -0
  129. package/lib/tag/index.js +3 -1
  130. package/lib/tag/src/Tag.d.ts +40 -0
  131. package/lib/tag/src/Tag.js +3 -0
  132. package/lib/tag/src/TagGroup.d.ts +644 -0
  133. package/lib/tag/src/TagGroup.js +112 -0
  134. package/lib/tag/src/styles/index.cssr.d.ts +1 -0
  135. package/lib/tag/src/styles/index.cssr.js +9 -1
  136. package/lib/tag/styles/light.d.ts +3 -0
  137. package/lib/tag/styles/light.js +5 -0
  138. package/lib/themes/dark.js +5 -1
  139. package/lib/themes/light.js +5 -1
  140. package/lib/time-picker/src/TimePicker.d.ts +1 -1
  141. package/lib/transfer/src/Transfer.d.ts +1 -1
  142. package/lib/tree-select/src/TreeSelect.d.ts +1 -1
  143. package/lib/version.d.ts +1 -1
  144. package/lib/version.js +1 -1
  145. package/lib/virtual-list/index.d.ts +1 -1
  146. package/lib/virtual-list/index.js +2 -2
  147. package/package.json +7 -6
  148. package/volar.d.ts +4 -0
  149. package/web-types.json +387 -1
package/web-types.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "@uzum-tech/ui",
5
- "version": "1.9.1",
5
+ "version": "1.10.1",
6
6
  "js-types-syntax": "typescript",
7
7
  "contributions": {
8
8
  "html": {
@@ -7875,6 +7875,11 @@
7875
7875
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/infinite-scroll",
7876
7876
  "type": "number"
7877
7877
  },
7878
+ {
7879
+ "name": "top-distance",
7880
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/infinite-scroll",
7881
+ "type": "number"
7882
+ },
7878
7883
  {
7879
7884
  "name": "scrollbar-props",
7880
7885
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/infinite-scroll",
@@ -7886,6 +7891,10 @@
7886
7891
  {
7887
7892
  "name": "load",
7888
7893
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/infinite-scroll"
7894
+ },
7895
+ {
7896
+ "name": "load-top",
7897
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/infinite-scroll"
7889
7898
  }
7890
7899
  ]
7891
7900
  }
@@ -10497,6 +10506,114 @@
10497
10506
  ]
10498
10507
  }
10499
10508
  },
10509
+ {
10510
+ "name": "UModalFullscreen",
10511
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen",
10512
+ "source": {
10513
+ "symbol": "UModalFullscreen"
10514
+ },
10515
+ "slots": [],
10516
+ "attributes": [],
10517
+ "props": [
10518
+ {
10519
+ "name": "to",
10520
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen",
10521
+ "type": "string | object"
10522
+ },
10523
+ {
10524
+ "name": "show",
10525
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen",
10526
+ "type": "boolean"
10527
+ },
10528
+ {
10529
+ "name": "z-index",
10530
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen",
10531
+ "type": "number"
10532
+ },
10533
+ {
10534
+ "name": "title",
10535
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen",
10536
+ "type": "string"
10537
+ },
10538
+ {
10539
+ "name": "subtitle",
10540
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen",
10541
+ "type": "string"
10542
+ },
10543
+ {
10544
+ "name": "background-image",
10545
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen",
10546
+ "type": "string"
10547
+ },
10548
+ {
10549
+ "name": "fixed",
10550
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen",
10551
+ "type": "boolean"
10552
+ },
10553
+ {
10554
+ "name": "display-directive",
10555
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen",
10556
+ "type": "string"
10557
+ },
10558
+ {
10559
+ "name": "transform-origin",
10560
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen",
10561
+ "type": "string"
10562
+ },
10563
+ {
10564
+ "name": "auto-focus",
10565
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen",
10566
+ "type": "boolean"
10567
+ },
10568
+ {
10569
+ "name": "trap-focus",
10570
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen",
10571
+ "type": "boolean"
10572
+ },
10573
+ {
10574
+ "name": "close-on-esc",
10575
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen",
10576
+ "type": "boolean"
10577
+ },
10578
+ {
10579
+ "name": "block-scroll",
10580
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen",
10581
+ "type": "boolean"
10582
+ }
10583
+ ],
10584
+ "js": {
10585
+ "events": [
10586
+ {
10587
+ "name": "esc",
10588
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen"
10589
+ },
10590
+ {
10591
+ "name": "close",
10592
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen"
10593
+ },
10594
+ {
10595
+ "name": "after-enter",
10596
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen"
10597
+ },
10598
+ {
10599
+ "name": "before-leave",
10600
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen"
10601
+ },
10602
+ {
10603
+ "name": "after-leave",
10604
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen"
10605
+ },
10606
+ {
10607
+ "name": "update-show",
10608
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen"
10609
+ },
10610
+ {
10611
+ "name": "update-show",
10612
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/modal-fullscreen"
10613
+ }
10614
+ ]
10615
+ }
10616
+ },
10500
10617
  {
10501
10618
  "name": "UNotificationProvider",
10502
10619
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/notification",
@@ -14314,6 +14431,13 @@
14314
14431
  "description": "Whether the tag has border.",
14315
14432
  "default": "true"
14316
14433
  },
14434
+ {
14435
+ "name": "value",
14436
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/tag",
14437
+ "type": "string | number | boolean",
14438
+ "description": "Value of the tag, used with `u-tag-group`.",
14439
+ "default": "undefined"
14440
+ },
14317
14441
  {
14318
14442
  "name": "checked",
14319
14443
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/tag",
@@ -14400,6 +14524,77 @@
14400
14524
  ]
14401
14525
  }
14402
14526
  },
14527
+ {
14528
+ "name": "UTagGroup",
14529
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/tag",
14530
+ "source": {
14531
+ "symbol": "UTagGroup"
14532
+ },
14533
+ "slots": [
14534
+ {
14535
+ "name": "default",
14536
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/tag",
14537
+ "description": "Tags in the group."
14538
+ }
14539
+ ],
14540
+ "attributes": [],
14541
+ "props": [
14542
+ {
14543
+ "name": "value",
14544
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/tag",
14545
+ "type": "string | number | boolean | null",
14546
+ "description": "Selected value in controlled mode.",
14547
+ "default": "undefined"
14548
+ },
14549
+ {
14550
+ "name": "default-value",
14551
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/tag",
14552
+ "type": "string | number | boolean | null",
14553
+ "description": "Default selected value.",
14554
+ "default": "null"
14555
+ },
14556
+ {
14557
+ "name": "size",
14558
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/tag",
14559
+ "type": "'small' | 'medium' | 'large'",
14560
+ "description": "Size of tags in the group. Also affects default gap if gap prop is not set.",
14561
+ "default": "'medium'"
14562
+ },
14563
+ {
14564
+ "name": "gap",
14565
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/tag",
14566
+ "type": "string | number",
14567
+ "description": "Gap between tags. When it's a number, it will be converted to px. If not set, uses theme value based on size (small: 4px, medium: 8px, large: 12px).",
14568
+ "default": "undefined"
14569
+ },
14570
+ {
14571
+ "name": "disabled",
14572
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/tag",
14573
+ "type": "boolean",
14574
+ "description": "Whether tags in the group are disabled.",
14575
+ "default": "false"
14576
+ }
14577
+ ],
14578
+ "js": {
14579
+ "events": [
14580
+ {
14581
+ "name": "update-value",
14582
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/tag"
14583
+ },
14584
+ {
14585
+ "name": "update-value",
14586
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/tag"
14587
+ },
14588
+ {
14589
+ "name": "update:value",
14590
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/tag",
14591
+ "type": "(value: string | number | boolean) => void",
14592
+ "description": "Value change callback.",
14593
+ "default": "undefined"
14594
+ }
14595
+ ]
14596
+ }
14597
+ },
14403
14598
  {
14404
14599
  "name": "UThing",
14405
14600
  "description": "When you want to describe a thing, use thing. If you find it doesn't fit you demand, write one by yourself.\n\nI wish there is a way to build all kinds of frequently used layout inside a component. It takes me some time to figure out that the component already exist, the brower itself.",
@@ -17222,6 +17417,98 @@
17222
17417
  "events": []
17223
17418
  }
17224
17419
  },
17420
+ {
17421
+ "name": "UVirtualList",
17422
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list",
17423
+ "source": {
17424
+ "symbol": "UVirtualList"
17425
+ },
17426
+ "slots": [],
17427
+ "attributes": [],
17428
+ "props": [
17429
+ {
17430
+ "name": "scrollbar-props",
17431
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list",
17432
+ "type": "object"
17433
+ },
17434
+ {
17435
+ "name": "items",
17436
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list",
17437
+ "type": "Array"
17438
+ },
17439
+ {
17440
+ "name": "item-size",
17441
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list",
17442
+ "type": "number"
17443
+ },
17444
+ {
17445
+ "name": "item-resizable",
17446
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list",
17447
+ "type": "boolean"
17448
+ },
17449
+ {
17450
+ "name": "items-style",
17451
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list",
17452
+ "type": "string | object"
17453
+ },
17454
+ {
17455
+ "name": "visible-items-tag",
17456
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list",
17457
+ "type": "string | object"
17458
+ },
17459
+ {
17460
+ "name": "visible-items-props",
17461
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list",
17462
+ "type": "object"
17463
+ },
17464
+ {
17465
+ "name": "ignore-item-resize",
17466
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list",
17467
+ "type": "boolean"
17468
+ },
17469
+ {
17470
+ "name": "default-scroll-key",
17471
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list",
17472
+ "type": "number | string"
17473
+ },
17474
+ {
17475
+ "name": "default-scroll-index",
17476
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list",
17477
+ "type": "number"
17478
+ },
17479
+ {
17480
+ "name": "key-field",
17481
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list",
17482
+ "type": "string"
17483
+ },
17484
+ {
17485
+ "name": "padding-top",
17486
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list",
17487
+ "type": "number | string"
17488
+ },
17489
+ {
17490
+ "name": "padding-bottom",
17491
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list",
17492
+ "type": "number | string"
17493
+ }
17494
+ ],
17495
+ "js": {
17496
+ "events": [
17497
+ {
17498
+ "name": "scroll",
17499
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list"
17500
+ },
17501
+ {
17502
+ "name": "wheel",
17503
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list"
17504
+ },
17505
+ {
17506
+ "name": "resize",
17507
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/virtual-list"
17508
+ }
17509
+ ]
17510
+ }
17511
+ },
17225
17512
  {
17226
17513
  "name": "UWatermark",
17227
17514
  "description": "Watermark.",
@@ -17731,6 +18018,105 @@
17731
18018
  "js": {
17732
18019
  "events": []
17733
18020
  }
18021
+ },
18022
+ {
18023
+ "name": "UCrop",
18024
+ "description": "",
18025
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/crop",
18026
+ "source": {
18027
+ "symbol": "UCrop"
18028
+ },
18029
+ "slots": [],
18030
+ "attributes": [],
18031
+ "props": [
18032
+ {
18033
+ "name": "src",
18034
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/crop",
18035
+ "type": "string",
18036
+ "description": "Path to image",
18037
+ "default": "undefined"
18038
+ },
18039
+ {
18040
+ "name": "wrapper-width",
18041
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/crop",
18042
+ "type": "number | string",
18043
+ "description": "Wrapper width",
18044
+ "default": "auto"
18045
+ },
18046
+ {
18047
+ "name": "wrapper-height",
18048
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/crop",
18049
+ "type": "number | string",
18050
+ "description": "Wrapper height",
18051
+ "default": "auto"
18052
+ },
18053
+ {
18054
+ "name": "view-mode",
18055
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/crop",
18056
+ "type": "number",
18057
+ "description": "Define the view mode of the cropper.",
18058
+ "default": "0"
18059
+ },
18060
+ {
18061
+ "name": "drag-mode",
18062
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/crop",
18063
+ "type": "string",
18064
+ "description": "Define the dragging mode of the cropper.",
18065
+ "default": "none"
18066
+ },
18067
+ {
18068
+ "name": "aspect-ratio",
18069
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/crop",
18070
+ "type": "number",
18071
+ "description": "Define the fixed aspect ratio of the crop box. By default, the crop box has a free ratio.",
18072
+ "default": "NaN"
18073
+ },
18074
+ {
18075
+ "name": "background",
18076
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/crop",
18077
+ "type": "boolean",
18078
+ "description": "Show the grid background of the container.",
18079
+ "default": "true"
18080
+ },
18081
+ {
18082
+ "name": "circle-shape",
18083
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/crop",
18084
+ "type": "boolean",
18085
+ "description": "Crop the image into a circle.",
18086
+ "default": "false"
18087
+ },
18088
+ {
18089
+ "name": "zoomable",
18090
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/crop",
18091
+ "type": "boolean",
18092
+ "description": "Enable to zoom the image.",
18093
+ "default": "false"
18094
+ },
18095
+ {
18096
+ "name": "cropper-theme-color",
18097
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/crop",
18098
+ "type": "string",
18099
+ "description": "Color theme.",
18100
+ "default": "#fff"
18101
+ },
18102
+ {
18103
+ "name": "cancel-button-text",
18104
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/crop",
18105
+ "type": "string",
18106
+ "description": "Cancel button text.",
18107
+ "default": "Cancel"
18108
+ },
18109
+ {
18110
+ "name": "confirm-button-text",
18111
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/crop",
18112
+ "type": "string",
18113
+ "description": "Confirm button text.",
18114
+ "default": "Save"
18115
+ }
18116
+ ],
18117
+ "js": {
18118
+ "events": []
18119
+ }
17734
18120
  }
17735
18121
  ]
17736
18122
  }