@uzum-tech/ui 2.4.7 → 2.4.9

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 (52) hide show
  1. package/dist/index.js +225 -75
  2. package/dist/index.mjs +225 -75
  3. package/dist/index.prod.js +2 -2
  4. package/dist/index.prod.mjs +3 -3
  5. package/es/components.d.ts +82 -10
  6. package/es/dynamic-tags/index.d.ts +3 -3
  7. package/es/dynamic-tags/index.mjs +2 -1
  8. package/es/dynamic-tags/src/DynamicTags.d.ts +74 -1177
  9. package/es/dynamic-tags/src/DynamicTags.mjs +150 -107
  10. package/es/dynamic-tags/src/interface.d.ts +1146 -6
  11. package/es/dynamic-tags/src/interface.mjs +34 -1
  12. package/es/dynamic-tags/src/styles/index.cssr.mjs +35 -3
  13. package/es/dynamic-tags/styles/dark.mjs +4 -2
  14. package/es/dynamic-tags/styles/light.d.ts +2 -0
  15. package/es/dynamic-tags/styles/light.mjs +4 -2
  16. package/es/form/src/Form.d.ts +4 -0
  17. package/es/form/src/Form.mjs +1 -0
  18. package/es/form/src/FormItem.d.ts +15 -1
  19. package/es/form/src/FormItem.mjs +8 -1
  20. package/es/form/src/FormItemCol.d.ts +14 -1
  21. package/es/form/src/FormItemGridItem.d.ts +14 -1
  22. package/es/form/src/FormItemRow.d.ts +13 -0
  23. package/es/form/src/styles/form-item.cssr.mjs +2 -1
  24. package/es/form/src/utils.d.ts +1 -0
  25. package/es/form/src/utils.mjs +6 -0
  26. package/es/version.d.ts +1 -1
  27. package/es/version.mjs +1 -1
  28. package/lib/components.d.ts +82 -10
  29. package/lib/dynamic-tags/index.d.ts +3 -3
  30. package/lib/dynamic-tags/index.js +3 -2
  31. package/lib/dynamic-tags/src/DynamicTags.d.ts +74 -1177
  32. package/lib/dynamic-tags/src/DynamicTags.js +142 -77
  33. package/lib/dynamic-tags/src/interface.d.ts +1146 -6
  34. package/lib/dynamic-tags/src/interface.js +24 -0
  35. package/lib/dynamic-tags/src/styles/index.cssr.js +34 -2
  36. package/lib/dynamic-tags/styles/dark.js +4 -2
  37. package/lib/dynamic-tags/styles/light.d.ts +2 -0
  38. package/lib/dynamic-tags/styles/light.js +4 -2
  39. package/lib/form/src/Form.d.ts +4 -0
  40. package/lib/form/src/Form.js +1 -1
  41. package/lib/form/src/FormItem.d.ts +15 -1
  42. package/lib/form/src/FormItem.js +6 -2
  43. package/lib/form/src/FormItemCol.d.ts +14 -1
  44. package/lib/form/src/FormItemGridItem.d.ts +14 -1
  45. package/lib/form/src/FormItemRow.d.ts +13 -0
  46. package/lib/form/src/styles/form-item.cssr.js +2 -1
  47. package/lib/form/src/utils.d.ts +1 -0
  48. package/lib/form/src/utils.js +7 -0
  49. package/lib/version.d.ts +1 -1
  50. package/lib/version.js +1 -1
  51. package/package.json +1 -1
  52. package/web-types.json +31 -1
@@ -1,2 +1,26 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.dynamicTagsProps = void 0;
7
+ const _mixins_1 = require("../../_mixins");
8
+ const common_props_1 = __importDefault(require("../../tag/src/common-props"));
9
+ exports.dynamicTagsProps = Object.assign(Object.assign(Object.assign({}, _mixins_1.useTheme.props), common_props_1.default), { size: {
10
+ type: String,
11
+ default: 'medium'
12
+ }, closable: {
13
+ type: Boolean,
14
+ default: true
15
+ }, draggable: {
16
+ type: Boolean,
17
+ default: false
18
+ }, defaultValue: {
19
+ type: Array,
20
+ default: () => []
21
+ }, value: Array, inputStyle: [String, Object], inputProps: Object, max: Number, tagStyle: [String, Object], renderTag: Function, onCreate: {
22
+ type: Function,
23
+ default: (label) => label
24
+ }, 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array],
25
+ // deprecated
26
+ onChange: [Function, Array] });
@@ -5,7 +5,39 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  const cssr_1 = require("../../../_utils/cssr");
7
7
  // vars:
8
- // --input-width
8
+ // --u-input-width
9
+ // --u-dragging-opacity
10
+ // --u-drop-indicator-color
9
11
  exports.default = (0, cssr_1.cB)('dynamic-tags', [(0, cssr_1.cB)('input', {
10
12
  minWidth: 'var(--u-input-width)'
11
- })]);
13
+ }), (0, cssr_1.cE)('tag-wrapper', `
14
+ display: flex;
15
+ position: relative;
16
+ cursor: default;
17
+ `, [(0, cssr_1.c)('& > *', `
18
+ cursor: inherit;
19
+ `)]), (0, cssr_1.cE)('tag', [(0, cssr_1.cM)('draggable', `
20
+ cursor: grab;
21
+ user-select: none;
22
+ `), (0, cssr_1.cM)('dragging', `
23
+ opacity: var(--u-dragging-opacity);
24
+ cursor: grabbing;
25
+ `), (0, cssr_1.cM)('drop-before', [(0, cssr_1.c)('&::before', `
26
+ content: '';
27
+ position: absolute;
28
+ top: 0;
29
+ bottom: 0;
30
+ left: -5px;
31
+ width: 2px;
32
+ border-radius: 2px;
33
+ background-color: var(--u-drop-indicator-color);
34
+ `)]), (0, cssr_1.cM)('drop-after', [(0, cssr_1.c)('&::after', `
35
+ content: '';
36
+ position: absolute;
37
+ top: 0;
38
+ bottom: 0;
39
+ right: -5px;
40
+ width: 2px;
41
+ border-radius: 2px;
42
+ background-color: var(--u-drop-indicator-color);
43
+ `)])])]);
@@ -14,9 +14,11 @@ const dynamicTagsDark = {
14
14
  Tag: styles_4.tagDark,
15
15
  Space: styles_3.spaceDark
16
16
  },
17
- self() {
17
+ self(vars) {
18
18
  return {
19
- inputWidth: '64px'
19
+ inputWidth: '64px',
20
+ draggingOpacity: '0.5',
21
+ dropIndicatorColor: vars.elementsPrimary
20
22
  };
21
23
  }
22
24
  };
@@ -1,5 +1,7 @@
1
1
  declare const dynamicTagsLight: import("../../_mixins").Theme<"DynamicTags", {
2
2
  inputWidth: string;
3
+ draggingOpacity: string;
4
+ dropIndicatorColor: string;
3
5
  }, {
4
6
  Input: import("../../_mixins").Theme<"Input", {
5
7
  paddingTiny: string;
@@ -15,9 +15,11 @@ const dynamicTagsLight = (0, _mixins_1.createTheme)({
15
15
  Tag: styles_4.tagLight,
16
16
  Space: styles_3.spaceLight
17
17
  },
18
- self() {
18
+ self(vars) {
19
19
  return {
20
- inputWidth: '64px'
20
+ inputWidth: '64px',
21
+ draggingOpacity: '0.5',
22
+ dropIndicatorColor: vars.elementsPrimary
21
23
  };
22
24
  }
23
25
  });
@@ -5,6 +5,7 @@ export declare const formProps: {
5
5
  readonly inline: BooleanConstructor;
6
6
  readonly labelWidth: PropType<number | string>;
7
7
  readonly labelAlign: PropType<LabelAlign>;
8
+ readonly ellipsisLabel: BooleanConstructor;
8
9
  readonly labelPlacement: {
9
10
  readonly type: PropType<LabelPlacement>;
10
11
  readonly default: "top";
@@ -143,6 +144,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
143
144
  readonly inline: BooleanConstructor;
144
145
  readonly labelWidth: PropType<number | string>;
145
146
  readonly labelAlign: PropType<LabelAlign>;
147
+ readonly ellipsisLabel: BooleanConstructor;
146
148
  readonly labelPlacement: {
147
149
  readonly type: PropType<LabelPlacement>;
148
150
  readonly default: "top";
@@ -280,6 +282,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
280
282
  readonly inline: BooleanConstructor;
281
283
  readonly labelWidth: PropType<number | string>;
282
284
  readonly labelAlign: PropType<LabelAlign>;
285
+ readonly ellipsisLabel: BooleanConstructor;
283
286
  readonly labelPlacement: {
284
287
  readonly type: PropType<LabelPlacement>;
285
288
  readonly default: "top";
@@ -416,6 +419,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
416
419
  readonly disabled: boolean;
417
420
  readonly inline: boolean;
418
421
  readonly labelPlacement: LabelPlacement;
422
+ readonly ellipsisLabel: boolean;
419
423
  readonly model: Record<string, any>;
420
424
  readonly showRequireMark: boolean | undefined;
421
425
  readonly showFeedback: boolean;
@@ -19,7 +19,7 @@ const _utils_1 = require("../../_utils");
19
19
  const styles_1 = require("../styles");
20
20
  const context_1 = require("./context");
21
21
  const form_cssr_1 = __importDefault(require("./styles/form.cssr"));
22
- exports.formProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { inline: Boolean, labelWidth: [Number, String], labelAlign: String, labelPlacement: {
22
+ exports.formProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { inline: Boolean, labelWidth: [Number, String], labelAlign: String, ellipsisLabel: Boolean, labelPlacement: {
23
23
  type: String,
24
24
  default: 'top'
25
25
  }, model: {
@@ -3,6 +3,10 @@ import type { ExtractPublicPropTypes } from '../../_utils';
3
3
  import type { FormItemRule, LabelAlign, LabelPlacement } from './interface';
4
4
  export declare const formItemProps: {
5
5
  readonly label: StringConstructor;
6
+ readonly ellipsisLabel: {
7
+ readonly type: PropType<boolean | undefined>;
8
+ readonly default: undefined;
9
+ };
6
10
  readonly labelWidth: PropType<string | number>;
7
11
  readonly labelStyle: PropType<CSSProperties | string>;
8
12
  readonly labelAlign: PropType<LabelAlign>;
@@ -143,9 +147,13 @@ export declare const formItemProps: {
143
147
  };
144
148
  export type FormItemSetupProps = ExtractPropTypes<typeof formItemProps>;
145
149
  export type FormItemProps = ExtractPublicPropTypes<typeof formItemProps>;
146
- export declare const formItemPropKeys: ("theme" | "themeOverrides" | "builtinThemeOverrides" | "contentClass" | "contentStyle" | "value" | "size" | "label" | "first" | "labelPlacement" | "labelAlign" | "labelStyle" | "required" | "labelWidth" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "path" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "feedbackClass" | "feedbackStyle" | "labelProps")[];
150
+ export declare const formItemPropKeys: ("theme" | "themeOverrides" | "builtinThemeOverrides" | "contentClass" | "contentStyle" | "value" | "size" | "label" | "first" | "labelPlacement" | "labelAlign" | "labelStyle" | "required" | "labelWidth" | "ellipsisLabel" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "path" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "feedbackClass" | "feedbackStyle" | "labelProps")[];
147
151
  declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
148
152
  readonly label: StringConstructor;
153
+ readonly ellipsisLabel: {
154
+ readonly type: PropType<boolean | undefined>;
155
+ readonly default: undefined;
156
+ };
149
157
  readonly labelWidth: PropType<string | number>;
150
158
  readonly labelStyle: PropType<CSSProperties | string>;
151
159
  readonly labelAlign: PropType<LabelAlign>;
@@ -319,6 +327,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
319
327
  mergedValidationStatus: import("vue").ComputedRef<"warning" | "error" | "success" | undefined>;
320
328
  mergedShowFeedback: import("vue").ComputedRef<boolean>;
321
329
  mergedShowLabel: import("vue").ComputedRef<boolean>;
330
+ mergedEllipsisLabel: import("vue").ComputedRef<boolean>;
322
331
  isAutoLabelWidth: import("vue").ComputedRef<boolean>;
323
332
  labelElementRef: import("vue").Ref<HTMLLabelElement | null, HTMLLabelElement | null>;
324
333
  mergedClsPrefix: import("vue").Ref<string, string>;
@@ -337,6 +346,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
337
346
  reverseColSpace: import("vue").ComputedRef<boolean>;
338
347
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
339
348
  readonly label: StringConstructor;
349
+ readonly ellipsisLabel: {
350
+ readonly type: PropType<boolean | undefined>;
351
+ readonly default: undefined;
352
+ };
340
353
  readonly labelWidth: PropType<string | number>;
341
354
  readonly labelStyle: PropType<CSSProperties | string>;
342
355
  readonly labelAlign: PropType<LabelAlign>;
@@ -478,6 +491,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
478
491
  readonly value: any;
479
492
  readonly first: boolean;
480
493
  readonly required: boolean;
494
+ readonly ellipsisLabel: boolean | undefined;
481
495
  readonly showRequireMark: boolean | undefined;
482
496
  readonly showFeedback: boolean | undefined;
483
497
  readonly showLabel: boolean | undefined;
@@ -19,11 +19,15 @@ const vue_1 = require("vue");
19
19
  const _mixins_1 = require("../../_mixins");
20
20
  const use_form_item_1 = require("../../_mixins/use-form-item");
21
21
  const _utils_1 = require("../../_utils");
22
+ const ellipsis_1 = require("../../ellipsis");
22
23
  const styles_1 = require("../styles");
23
24
  const context_1 = require("./context");
24
25
  const form_item_cssr_1 = __importDefault(require("./styles/form-item.cssr"));
25
26
  const utils_1 = require("./utils");
26
- exports.formItemProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { label: String, labelWidth: [Number, String], labelStyle: [String, Object], labelAlign: String, labelPlacement: String, path: String, first: Boolean, rulePath: String, required: Boolean, showRequireMark: {
27
+ exports.formItemProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { label: String, ellipsisLabel: {
28
+ type: Boolean,
29
+ default: undefined
30
+ }, labelWidth: [Number, String], labelStyle: [String, Object], labelAlign: String, labelPlacement: String, path: String, first: Boolean, rulePath: String, required: Boolean, showRequireMark: {
27
31
  type: Boolean,
28
32
  default: undefined
29
33
  }, requireMarkPlacement: String, showFeedback: {
@@ -367,7 +371,7 @@ exports.default = (0, vue_1.defineComponent)({
367
371
  const labelText = this.$slots.label ? this.$slots.label() : this.label;
368
372
  if (!labelText)
369
373
  return null;
370
- const textNode = ((0, vue_1.h)("span", { class: `${mergedClsPrefix}-form-item-label__text` }, labelText));
374
+ const textNode = ((0, vue_1.h)("span", { class: `${mergedClsPrefix}-form-item-label__text` }, this.mergedEllipsisLabel ? ((0, vue_1.h)(ellipsis_1.UEllipsis, null, { default: () => labelText })) : (labelText)));
371
375
  const markNode = renderedShowRequireMark ? ((0, vue_1.h)("span", { class: `${mergedClsPrefix}-form-item-label__asterisk` }, mergedRequireMarkPlacement !== 'left' ? '\u00A0*' : '*\u00A0')) : (mergedRequireMarkPlacement === 'right-hanging' && ((0, vue_1.h)("span", { class: `${mergedClsPrefix}-form-item-label__asterisk-placeholder` }, '\u00A0*')));
372
376
  const { labelProps } = this;
373
377
  return ((0, vue_1.h)("label", Object.assign({}, labelProps, { class: [
@@ -2,6 +2,10 @@ import type { ExtractPublicPropTypes } from '../../_utils';
2
2
  import type { FormItemInst } from './interface';
3
3
  export declare const formItemColProps: {
4
4
  readonly label: StringConstructor;
5
+ readonly ellipsisLabel: {
6
+ readonly type: import("vue").PropType<boolean | undefined>;
7
+ readonly default: undefined;
8
+ };
5
9
  readonly labelWidth: import("vue").PropType<string | number>;
6
10
  readonly labelStyle: import("vue").PropType<import("vue").CSSProperties | string>;
7
11
  readonly labelAlign: import("vue").PropType<import("./interface").LabelAlign>;
@@ -156,10 +160,14 @@ export declare const formItemColProps: {
156
160
  readonly default: 0;
157
161
  };
158
162
  };
159
- export declare const formItemColPropKeys: ("theme" | "themeOverrides" | "push" | "builtinThemeOverrides" | "contentClass" | "contentStyle" | "value" | "size" | "offset" | "label" | "span" | "first" | "labelPlacement" | "labelAlign" | "labelStyle" | "required" | "labelWidth" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "path" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "feedbackClass" | "feedbackStyle" | "labelProps" | "pull")[];
163
+ export declare const formItemColPropKeys: ("theme" | "themeOverrides" | "push" | "builtinThemeOverrides" | "contentClass" | "contentStyle" | "value" | "size" | "offset" | "label" | "span" | "first" | "labelPlacement" | "labelAlign" | "labelStyle" | "required" | "labelWidth" | "ellipsisLabel" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "path" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "feedbackClass" | "feedbackStyle" | "labelProps" | "pull")[];
160
164
  export type FormItemColProps = ExtractPublicPropTypes<typeof formItemColProps>;
161
165
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
162
166
  readonly label: StringConstructor;
167
+ readonly ellipsisLabel: {
168
+ readonly type: import("vue").PropType<boolean | undefined>;
169
+ readonly default: undefined;
170
+ };
163
171
  readonly labelWidth: import("vue").PropType<string | number>;
164
172
  readonly labelStyle: import("vue").PropType<import("vue").CSSProperties | string>;
165
173
  readonly labelAlign: import("vue").PropType<import("./interface").LabelAlign>;
@@ -332,6 +340,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
332
340
  invalidateLabelWidth: () => void;
333
341
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
334
342
  readonly label: StringConstructor;
343
+ readonly ellipsisLabel: {
344
+ readonly type: import("vue").PropType<boolean | undefined>;
345
+ readonly default: undefined;
346
+ };
335
347
  readonly labelWidth: import("vue").PropType<string | number>;
336
348
  readonly labelStyle: import("vue").PropType<import("vue").CSSProperties | string>;
337
349
  readonly labelAlign: import("vue").PropType<import("./interface").LabelAlign>;
@@ -492,6 +504,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
492
504
  readonly span: import("../../legacy-grid/src/interface").Span;
493
505
  readonly first: boolean;
494
506
  readonly required: boolean;
507
+ readonly ellipsisLabel: boolean | undefined;
495
508
  readonly showRequireMark: boolean | undefined;
496
509
  readonly showFeedback: boolean | undefined;
497
510
  readonly showLabel: boolean | undefined;
@@ -2,6 +2,10 @@ import type { ExtractPublicPropTypes } from '../../_utils';
2
2
  import type { FormItemInst } from './interface';
3
3
  export declare const formItemGiProps: {
4
4
  readonly label: StringConstructor;
5
+ readonly ellipsisLabel: {
6
+ readonly type: import("vue").PropType<boolean | undefined>;
7
+ readonly default: undefined;
8
+ };
5
9
  readonly labelWidth: import("vue").PropType<string | number>;
6
10
  readonly labelStyle: import("vue").PropType<import("vue").CSSProperties | string>;
7
11
  readonly labelAlign: import("vue").PropType<import("./interface").LabelAlign>;
@@ -156,10 +160,14 @@ export declare const formItemGiProps: {
156
160
  readonly default: true;
157
161
  };
158
162
  };
159
- export declare const formItemGiPropKeys: ("theme" | "themeOverrides" | "builtinThemeOverrides" | "contentClass" | "contentStyle" | "value" | "size" | "offset" | "label" | "span" | "suffix" | "first" | "labelPlacement" | "labelAlign" | "labelStyle" | "required" | "labelWidth" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "path" | "privateSpan" | "privateColStart" | "privateShow" | "privateOffset" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "feedbackClass" | "feedbackStyle" | "labelProps")[];
163
+ export declare const formItemGiPropKeys: ("theme" | "themeOverrides" | "builtinThemeOverrides" | "contentClass" | "contentStyle" | "value" | "size" | "offset" | "label" | "span" | "suffix" | "first" | "labelPlacement" | "labelAlign" | "labelStyle" | "required" | "labelWidth" | "ellipsisLabel" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "path" | "privateSpan" | "privateColStart" | "privateShow" | "privateOffset" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "feedbackClass" | "feedbackStyle" | "labelProps")[];
160
164
  export type FormItemGiProps = ExtractPublicPropTypes<typeof formItemGiProps>;
161
165
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
162
166
  readonly label: StringConstructor;
167
+ readonly ellipsisLabel: {
168
+ readonly type: import("vue").PropType<boolean | undefined>;
169
+ readonly default: undefined;
170
+ };
163
171
  readonly labelWidth: import("vue").PropType<string | number>;
164
172
  readonly labelStyle: import("vue").PropType<import("vue").CSSProperties | string>;
165
173
  readonly labelAlign: import("vue").PropType<import("./interface").LabelAlign>;
@@ -332,6 +340,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
332
340
  invalidateLabelWidth: () => void;
333
341
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
334
342
  readonly label: StringConstructor;
343
+ readonly ellipsisLabel: {
344
+ readonly type: import("vue").PropType<boolean | undefined>;
345
+ readonly default: undefined;
346
+ };
335
347
  readonly labelWidth: import("vue").PropType<string | number>;
336
348
  readonly labelStyle: import("vue").PropType<import("vue").CSSProperties | string>;
337
349
  readonly labelAlign: import("vue").PropType<import("./interface").LabelAlign>;
@@ -492,6 +504,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
492
504
  readonly suffix: boolean;
493
505
  readonly first: boolean;
494
506
  readonly required: boolean;
507
+ readonly ellipsisLabel: boolean | undefined;
495
508
  readonly showRequireMark: boolean | undefined;
496
509
  readonly showFeedback: boolean | undefined;
497
510
  readonly showLabel: boolean | undefined;
@@ -1,6 +1,10 @@
1
1
  import type { ExtractPublicPropTypes } from '../../_utils';
2
2
  export declare const formItemRowProps: {
3
3
  label: StringConstructor;
4
+ ellipsisLabel: {
5
+ readonly type: import("vue").PropType<boolean | undefined>;
6
+ readonly default: undefined;
7
+ };
4
8
  labelWidth: import("vue").PropType<string | number>;
5
9
  labelStyle: import("vue").PropType<import("vue").CSSProperties | string>;
6
10
  labelAlign: import("vue").PropType<import("./interface").LabelAlign>;
@@ -164,6 +168,10 @@ export declare const formItemRowProps: {
164
168
  export type FormItemRowProps = ExtractPublicPropTypes<typeof formItemRowProps>;
165
169
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
166
170
  label: StringConstructor;
171
+ ellipsisLabel: {
172
+ readonly type: import("vue").PropType<boolean | undefined>;
173
+ readonly default: undefined;
174
+ };
167
175
  labelWidth: import("vue").PropType<string | number>;
168
176
  labelStyle: import("vue").PropType<import("vue").CSSProperties | string>;
169
177
  labelAlign: import("vue").PropType<import("./interface").LabelAlign>;
@@ -342,6 +350,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
342
350
  invalidateLabelWidth: () => void;
343
351
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
344
352
  label: StringConstructor;
353
+ ellipsisLabel: {
354
+ readonly type: import("vue").PropType<boolean | undefined>;
355
+ readonly default: undefined;
356
+ };
345
357
  labelWidth: import("vue").PropType<string | number>;
346
358
  labelStyle: import("vue").PropType<import("vue").CSSProperties | string>;
347
359
  labelAlign: import("vue").PropType<import("./interface").LabelAlign>;
@@ -508,6 +520,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
508
520
  span: import("../../legacy-grid/src/interface").Span;
509
521
  first: boolean;
510
522
  required: boolean;
523
+ ellipsisLabel: boolean | undefined;
511
524
  showRequireMark: boolean | undefined;
512
525
  showFeedback: boolean | undefined;
513
526
  showLabel: boolean | undefined;
@@ -79,7 +79,8 @@ exports.default = (0, cssr_1.cB)('form-item', `
79
79
  "text mark"
80
80
  "text .";
81
81
  `), (0, cssr_1.cE)('text', `
82
- grid-area: text;
82
+ grid-area: text;
83
+ min-width: 0;
83
84
  `), (0, cssr_1.cE)('asterisk', `
84
85
  grid-area: mark;
85
86
  align-self: end;
@@ -16,6 +16,7 @@ export declare function formItemMisc(props: FormItemSetupProps): {
16
16
  mergedValidationStatus: ComputedRef<"warning" | "error" | "success" | undefined>;
17
17
  mergedShowFeedback: ComputedRef<boolean>;
18
18
  mergedShowLabel: ComputedRef<boolean>;
19
+ mergedEllipsisLabel: ComputedRef<boolean>;
19
20
  isAutoLabelWidth: ComputedRef<boolean>;
20
21
  };
21
22
  export declare function formItemRule(props: FormItemSetupProps): {
@@ -69,6 +69,12 @@ function formItemMisc(props) {
69
69
  return UForm.props.labelAlign;
70
70
  return undefined;
71
71
  });
72
+ const mergedEllipsisLabelRef = (0, vue_1.computed)(() => {
73
+ var _a;
74
+ if (props.ellipsisLabel !== undefined)
75
+ return props.ellipsisLabel;
76
+ return (_a = UForm === null || UForm === void 0 ? void 0 : UForm.props.ellipsisLabel) !== null && _a !== void 0 ? _a : false;
77
+ });
72
78
  const mergedLabelStyleRef = (0, vue_1.computed)(() => {
73
79
  var _a;
74
80
  return [
@@ -130,6 +136,7 @@ function formItemMisc(props) {
130
136
  mergedValidationStatus: mergedValidationStatusRef,
131
137
  mergedShowFeedback: mergedShowFeedbackRef,
132
138
  mergedShowLabel: mergedShowLabelRef,
139
+ mergedEllipsisLabel: mergedEllipsisLabelRef,
133
140
  isAutoLabelWidth: isAutoLabelWidthRef
134
141
  };
135
142
  }
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "2.4.7";
1
+ declare const _default: "2.4.9";
2
2
  export default _default;
package/lib/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '2.4.7';
3
+ exports.default = '2.4.9';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uzum-tech/ui",
3
- "version": "2.4.7",
3
+ "version": "2.4.9",
4
4
  "packageManager": "pnpm@10.33.0",
5
5
  "description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast",
6
6
  "author": {
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": "2.4.7",
5
+ "version": "2.4.9",
6
6
  "js-types-syntax": "typescript",
7
7
  "contributions": {
8
8
  "html": {
@@ -5397,6 +5397,16 @@
5397
5397
  "description": "Whether the tag is disabled.",
5398
5398
  "default": "false"
5399
5399
  },
5400
+ {
5401
+ "name": "draggable",
5402
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/dynamic-tags",
5403
+ "type": "boolean",
5404
+ "description": "Whether tags can be reordered by drag and drop. Doesn't work when `disabled`. With `render-tag`, each custom tag is wrapped in a `div` that receives the drag handlers.",
5405
+ "default": "false",
5406
+ "description-sections": {
5407
+ "since": "2.4.8"
5408
+ }
5409
+ },
5400
5410
  {
5401
5411
  "name": "input-props",
5402
5412
  "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/dynamic-tags",
@@ -6486,6 +6496,16 @@
6486
6496
  "description": "Whether to disable the form.",
6487
6497
  "default": "false"
6488
6498
  },
6499
+ {
6500
+ "name": "ellipsis-label",
6501
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/form",
6502
+ "type": "boolean",
6503
+ "description": "Whether to truncate item labels with an ellipsis and show the full text in a tooltip when they overflow. Can be overridden per form item.",
6504
+ "default": "false",
6505
+ "description-sections": {
6506
+ "since": "2.4.9"
6507
+ }
6508
+ },
6489
6509
  {
6490
6510
  "name": "inline",
6491
6511
  "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/form",
@@ -6650,6 +6670,16 @@
6650
6670
  "description": "Whether to only show the first validation error message.",
6651
6671
  "default": "false"
6652
6672
  },
6673
+ {
6674
+ "name": "ellipsis-label",
6675
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/form",
6676
+ "type": "boolean",
6677
+ "description": "Whether to truncate the label with an ellipsis and show the full text in a tooltip when it overflows. If not set, it will inherit the parent form's `ellipsis-label`.",
6678
+ "default": "undefined",
6679
+ "description-sections": {
6680
+ "since": "2.4.9"
6681
+ }
6682
+ },
6653
6683
  {
6654
6684
  "name": "ignore-path-change",
6655
6685
  "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/form",