@uzum-tech/ui 2.1.3 → 2.2.0

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 (111) hide show
  1. package/dist/index.js +1236 -530
  2. package/dist/index.mjs +1232 -531
  3. package/dist/index.prod.js +2 -2
  4. package/dist/index.prod.mjs +2 -2
  5. package/es/_internal/icon/index.d.ts +1 -1
  6. package/es/_internal/icon/index.mjs +1 -1
  7. package/es/_internal/icon/src/UIcon.d.ts +11 -1
  8. package/es/_internal/icon/src/UIcon.mjs +20 -8
  9. package/es/_internal/icon/src/interface.d.ts +11 -4
  10. package/es/_internal/icon/src/interface.mjs +4 -0
  11. package/es/_internal/icon/src/render-icon.d.ts +1 -0
  12. package/es/_internal/icon/src/render-icon.mjs +5 -0
  13. package/es/_internal/icons/SearchOutline.d.ts +2 -0
  14. package/es/_internal/icons/SearchOutline.mjs +18 -0
  15. package/es/_internal/icons/index.d.ts +1 -0
  16. package/es/_internal/icons/index.mjs +1 -0
  17. package/es/_mixins/use-form-item.mjs +5 -0
  18. package/es/_utils/dom/copy-to-clipboard.d.ts +1 -0
  19. package/es/_utils/dom/copy-to-clipboard.mjs +8 -0
  20. package/es/_utils/dom/index.d.ts +1 -0
  21. package/es/_utils/dom/index.mjs +1 -0
  22. package/es/components.d.ts +1169 -76
  23. package/es/components.mjs +4 -1
  24. package/es/config-provider/src/internal-interface.d.ts +4 -0
  25. package/es/data-table/src/use-table-data.d.ts +1 -1
  26. package/es/date-picker/src/DatePicker.mjs +7 -4
  27. package/es/icon/index.d.ts +1 -1
  28. package/es/icon/index.mjs +1 -1
  29. package/es/icon/src/Icon.d.ts +1 -1
  30. package/es/icon/src/Icon.mjs +1 -1
  31. package/es/icon-pack/index.d.ts +5 -0
  32. package/es/icon-pack/index.mjs +3 -0
  33. package/es/icon-pack/src/IconPack.d.ts +1047 -0
  34. package/es/icon-pack/src/IconPack.mjs +300 -0
  35. package/es/icon-pack/src/interface.d.ts +465 -0
  36. package/es/icon-pack/src/interface.mjs +75 -0
  37. package/es/icon-pack/src/styles/index.cssr.d.ts +2 -0
  38. package/es/icon-pack/src/styles/index.cssr.mjs +131 -0
  39. package/es/icon-pack/styles/dark.d.ts +123 -0
  40. package/es/icon-pack/styles/dark.mjs +20 -0
  41. package/es/icon-pack/styles/index.d.ts +3 -0
  42. package/es/icon-pack/styles/index.mjs +2 -0
  43. package/es/icon-pack/styles/light.d.ts +143 -0
  44. package/es/icon-pack/styles/light.mjs +64 -0
  45. package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
  46. package/es/input/src/Input.mjs +3 -1
  47. package/es/pagination/index.d.ts +3 -3
  48. package/es/pagination/index.mjs +2 -1
  49. package/es/pagination/src/Pagination.d.ts +74 -1379
  50. package/es/pagination/src/Pagination.mjs +28 -63
  51. package/es/pagination/src/interface.d.ts +1345 -1
  52. package/es/pagination/src/interface.mjs +68 -1
  53. package/es/themes/dark.mjs +2 -0
  54. package/es/themes/light.mjs +2 -0
  55. package/es/version.d.ts +1 -1
  56. package/es/version.mjs +1 -1
  57. package/lib/_internal/icon/index.d.ts +1 -1
  58. package/lib/_internal/icon/index.js +2 -1
  59. package/lib/_internal/icon/src/UIcon.d.ts +11 -1
  60. package/lib/_internal/icon/src/UIcon.js +17 -6
  61. package/lib/_internal/icon/src/interface.d.ts +11 -4
  62. package/lib/_internal/icon/src/interface.js +1 -1
  63. package/lib/_internal/icon/src/render-icon.d.ts +1 -0
  64. package/lib/_internal/icon/src/render-icon.js +4 -0
  65. package/lib/_internal/icons/SearchOutline.d.ts +2 -0
  66. package/lib/_internal/icons/SearchOutline.js +10 -0
  67. package/lib/_internal/icons/index.d.ts +1 -0
  68. package/lib/_internal/icons/index.js +3 -1
  69. package/lib/_mixins/use-form-item.js +5 -0
  70. package/lib/_utils/dom/copy-to-clipboard.d.ts +1 -0
  71. package/lib/_utils/dom/copy-to-clipboard.js +11 -0
  72. package/lib/_utils/dom/index.d.ts +1 -0
  73. package/lib/_utils/dom/index.js +3 -1
  74. package/lib/components.d.ts +1169 -76
  75. package/lib/components.js +12 -5
  76. package/lib/config-provider/src/internal-interface.d.ts +4 -0
  77. package/lib/data-table/src/use-table-data.d.ts +1 -1
  78. package/lib/date-picker/src/DatePicker.js +5 -4
  79. package/lib/icon/index.d.ts +1 -1
  80. package/lib/icon/index.js +2 -1
  81. package/lib/icon/src/Icon.d.ts +1 -1
  82. package/lib/icon/src/Icon.js +2 -1
  83. package/lib/icon-pack/index.d.ts +5 -0
  84. package/lib/icon-pack/index.js +13 -0
  85. package/lib/icon-pack/src/IconPack.d.ts +1047 -0
  86. package/lib/icon-pack/src/IconPack.js +240 -0
  87. package/lib/icon-pack/src/interface.d.ts +465 -0
  88. package/lib/icon-pack/src/interface.js +49 -0
  89. package/lib/icon-pack/src/styles/index.cssr.d.ts +2 -0
  90. package/lib/icon-pack/src/styles/index.cssr.js +136 -0
  91. package/lib/icon-pack/styles/dark.d.ts +123 -0
  92. package/lib/icon-pack/styles/dark.js +22 -0
  93. package/lib/icon-pack/styles/index.d.ts +3 -0
  94. package/lib/icon-pack/styles/index.js +10 -0
  95. package/lib/icon-pack/styles/light.d.ts +143 -0
  96. package/lib/icon-pack/styles/light.js +46 -0
  97. package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
  98. package/lib/input/src/Input.js +3 -1
  99. package/lib/pagination/index.d.ts +3 -3
  100. package/lib/pagination/index.js +2 -1
  101. package/lib/pagination/src/Pagination.d.ts +74 -1379
  102. package/lib/pagination/src/Pagination.js +27 -40
  103. package/lib/pagination/src/interface.d.ts +1345 -1
  104. package/lib/pagination/src/interface.js +37 -0
  105. package/lib/themes/dark.js +110 -108
  106. package/lib/themes/light.js +110 -108
  107. package/lib/version.d.ts +1 -1
  108. package/lib/version.js +1 -1
  109. package/package.json +1 -1
  110. package/volar.d.ts +1 -0
  111. package/web-types.json +263 -1
package/es/components.mjs CHANGED
@@ -51,6 +51,7 @@ import { UHeatmap as _UHeatmap } from "./heatmap/index.mjs";
51
51
  import { UHighlight as _UHighlight } from "./highlight/index.mjs";
52
52
  import { UIcon as _UIcon } from "./icon/index.mjs";
53
53
  import { UIconBar as _UIconBar, UIconBarItem as _UIconBarItem } from "./icon-bar/index.mjs";
54
+ import { UIconPack as _UIconPack } from "./icon-pack/index.mjs";
54
55
  import { UIconWrapper as _UIconWrapper } from "./icon-wrapper/index.mjs";
55
56
  import { UImage as _UImage, UImageGroup as _UImageGroup, UImagePreview as _UImagePreview } from "./image/index.mjs";
56
57
  import { UInfiniteScroll as _UInfiniteScroll } from "./infinite-scroll/index.mjs";
@@ -237,11 +238,13 @@ export { heatmapDark, heatmapLight, heatmapMockData, heatmapProps } from "./heat
237
238
  export const UHeatmap = wrap(_UHeatmap);
238
239
  export { highlightProps } from "./highlight/index.mjs";
239
240
  export const UHighlight = wrap(_UHighlight);
240
- export { iconProps, renderIcon } from "./icon/index.mjs";
241
+ export { iconProps, renderAsyncIcon, renderIcon } from "./icon/index.mjs";
241
242
  export const UIcon = wrap(_UIcon);
242
243
  export { iconBarItemProps, iconBarProps } from "./icon-bar/index.mjs";
243
244
  export const UIconBar = wrap(_UIconBar);
244
245
  export const UIconBarItem = wrap(_UIconBarItem);
246
+ export { iconPackDark, iconPackLight, iconPackProps } from "./icon-pack/index.mjs";
247
+ export const UIconPack = wrap(_UIconPack);
245
248
  export { iconWrapperProps } from "./icon-wrapper/index.mjs";
246
249
  export const UIconWrapper = wrap(_UIconWrapper);
247
250
  export { imageGroupProps, imagePreviewProps, imageProps } from "./image/index.mjs";
@@ -95,6 +95,8 @@ import type { HeaderProps } from '../../header';
95
95
  import type { HeaderTheme } from '../../header/styles';
96
96
  import type { IconProps } from '../../icon';
97
97
  import type { IconBarTheme } from '../../icon-bar/styles';
98
+ import type { IconPackProps } from '../../icon-pack';
99
+ import type { IconPackTheme } from '../../icon-pack/styles';
98
100
  import type { IconWrapperProps } from '../../icon-wrapper';
99
101
  import type { IconWrapperTheme } from '../../icon-wrapper/styles';
100
102
  import type { IconTheme } from '../../icon/styles';
@@ -298,6 +300,7 @@ export interface GlobalThemeWithoutCommon {
298
300
  ModalFullscreen?: ModalFullscreenTheme;
299
301
  Crop?: CropTheme;
300
302
  IconBar?: IconBarTheme;
303
+ IconPack?: IconPackTheme;
301
304
  QrCode?: QrCodeTheme;
302
305
  InternalSelectMenu?: InternalSelectMenuTheme;
303
306
  InternalSelection?: InternalSelectionTheme;
@@ -355,6 +358,7 @@ export interface GlobalComponentConfig {
355
358
  Form?: FormProps;
356
359
  GradientText?: GradientTextProps;
357
360
  Icon?: IconProps;
361
+ IconPack?: IconPackProps;
358
362
  IconWrapper?: IconWrapperProps;
359
363
  Image?: ImageProps;
360
364
  Input?: InputProps;
@@ -1,4 +1,4 @@
1
- import type { PaginationProps } from '../../pagination/src/Pagination';
1
+ import type { PaginationProps } from '../../pagination';
2
2
  import type { ColumnKey, DataTableSetupProps, FilterState, InternalRowData, RowKey, SortState, TableBaseColumn, TableSelectionColumn, TmNode, UseTableDataDeps } from './interface';
3
3
  export declare function useTableData(props: DataTableSetupProps, { dataRelatedColsRef }: UseTableDataDeps): {
4
4
  treeMateRef: import("vue").ComputedRef<import("treemate").TreeMate<InternalRowData, InternalRowData, InternalRowData>>;
@@ -454,15 +454,18 @@ export default defineComponent({
454
454
  }
455
455
  }
456
456
  function handleClear() {
457
- var _a;
457
+ var _a, _b;
458
+ doUpdateValue(null, {
459
+ doConfirm: false
460
+ });
458
461
  doUpdateShow(false);
459
- (_a = inputInstRef.value) === null || _a === void 0 ? void 0 : _a.deactivate();
462
+ (_b = (_a = inputInstRef.value) === null || _a === void 0 ? void 0 : _a.deactivate) === null || _b === void 0 ? void 0 : _b.call(_a);
460
463
  doClear();
461
464
  }
462
465
  function handlePanelClear() {
463
- var _a;
466
+ var _a, _b;
464
467
  // close will be called inside panel
465
- (_a = inputInstRef.value) === null || _a === void 0 ? void 0 : _a.deactivate();
468
+ (_b = (_a = inputInstRef.value) === null || _a === void 0 ? void 0 : _a.deactivate) === null || _b === void 0 ? void 0 : _b.call(_a);
466
469
  doClear();
467
470
  }
468
471
  function handlePanelTabOut() {
@@ -1,2 +1,2 @@
1
- export { iconProps, renderIcon, UIcon } from './src/Icon';
1
+ export { iconProps, renderAsyncIcon, renderIcon, UIcon } from './src/Icon';
2
2
  export type { IconProps, RenderIconProps } from './src/Icon';
package/es/icon/index.mjs CHANGED
@@ -1 +1 @@
1
- export { iconProps, renderIcon, UIcon } from "./src/Icon.mjs";
1
+ export { iconProps, renderAsyncIcon, renderIcon, UIcon } from "./src/Icon.mjs";
@@ -1,2 +1,2 @@
1
- export { iconProps, renderIcon, UIcon } from '../../_internal/icon';
1
+ export { iconProps, renderAsyncIcon, renderIcon, UIcon } from '../../_internal/icon';
2
2
  export type { Depth, GenericUIcon, IconNameOf, IconProps, RenderIconProps } from '../../_internal/icon';
@@ -1 +1 @@
1
- export { iconProps, renderIcon, UIcon } from "../../_internal/icon/index.mjs";
1
+ export { iconProps, renderAsyncIcon, renderIcon, UIcon } from "../../_internal/icon/index.mjs";
@@ -0,0 +1,5 @@
1
+ export { default as UIconPack } from './src/IconPack';
2
+ export { iconPackProps } from './src/interface';
3
+ export type { IconPackFormatCopy, IconPackFormatGroupLabel, IconPackFormatIconLabel, IconPackGroupData, IconPackIcon, IconPackProps, IconPackValue, OnIconPackCopy, OnIconPackSelect } from './src/interface';
4
+ export { iconPackDark, iconPackLight } from './styles';
5
+ export type { IconPackTheme, IconPackThemeVars } from './styles';
@@ -0,0 +1,3 @@
1
+ export { default as UIconPack } from "./src/IconPack.mjs";
2
+ export { iconPackProps } from "./src/interface.mjs";
3
+ export { iconPackDark, iconPackLight } from "./styles/index.mjs";