@uzum-tech/ui 2.4.8 → 2.4.10

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.js CHANGED
@@ -125368,6 +125368,7 @@ img.ProseMirror-separator {
125368
125368
  inline: Boolean,
125369
125369
  labelWidth: [Number, String],
125370
125370
  labelAlign: String,
125371
+ ellipsisLabel: Boolean,
125371
125372
  labelPlacement: {
125372
125373
  type: String,
125373
125374
  default: "top"
@@ -126644,8 +126645,10 @@ img.ProseMirror-separator {
126644
126645
  grid-area: mark;
126645
126646
  user-select: none;
126646
126647
  -webkit-user-select: none;
126647
- visibility: hidden;
126648
- `)]), cB("form-item-blank", `
126648
+ visibility: hidden;
126649
+ `), cE("text", [cM("ellipsis", `
126650
+ width: 100%;
126651
+ `)])]), cB("form-item-blank", `
126649
126652
  grid-area: blank;
126650
126653
  min-height: var(--u-blank-height);
126651
126654
  `), cM("auto-label-width", [cB("form-item-label", "white-space: nowrap;")]), cM("left-labelled", `
@@ -126678,7 +126681,8 @@ img.ProseMirror-separator {
126678
126681
  "text mark"
126679
126682
  "text .";
126680
126683
  `), cE("text", `
126681
- grid-area: text;
126684
+ grid-area: text;
126685
+ min-width: 0;
126682
126686
  `), cE("asterisk", `
126683
126687
  grid-area: mark;
126684
126688
  align-self: end;
@@ -126781,6 +126785,10 @@ img.ProseMirror-separator {
126781
126785
  if (UForm?.props.labelAlign) return UForm.props.labelAlign;
126782
126786
  return void 0;
126783
126787
  });
126788
+ const mergedEllipsisLabelRef = vue.computed(() => {
126789
+ if (props.ellipsisLabel !== void 0) return props.ellipsisLabel;
126790
+ return UForm?.props.ellipsisLabel ?? false;
126791
+ });
126784
126792
  const mergedLabelStyleRef = vue.computed(() => {
126785
126793
  return [props.labelProps?.style, props.labelStyle, {
126786
126794
  width: mergedLabelWidthRef.value
@@ -126838,6 +126846,7 @@ img.ProseMirror-separator {
126838
126846
  mergedValidationStatus: mergedValidationStatusRef,
126839
126847
  mergedShowFeedback: mergedShowFeedbackRef,
126840
126848
  mergedShowLabel: mergedShowLabelRef,
126849
+ mergedEllipsisLabel: mergedEllipsisLabelRef,
126841
126850
  isAutoLabelWidth: isAutoLabelWidthRef
126842
126851
  };
126843
126852
  }
@@ -126910,6 +126919,10 @@ img.ProseMirror-separator {
126910
126919
  const formItemProps = {
126911
126920
  ...useTheme.props,
126912
126921
  label: String,
126922
+ ellipsisLabel: {
126923
+ type: Boolean,
126924
+ default: void 0
126925
+ },
126913
126926
  labelWidth: [Number, String],
126914
126927
  labelStyle: [String, Object],
126915
126928
  labelAlign: String,
@@ -127314,7 +127327,16 @@ img.ProseMirror-separator {
127314
127327
  const labelText = this.$slots.label ? this.$slots.label() : this.label;
127315
127328
  if (!labelText)
127316
127329
  return null;
127317
- const textNode = /* @__PURE__ */ vue.h("span", { class: `${mergedClsPrefix}-form-item-label__text` }, labelText);
127330
+ const textNode = /* @__PURE__ */ vue.h(
127331
+ "span",
127332
+ {
127333
+ class: [
127334
+ `${mergedClsPrefix}-form-item-label__text`,
127335
+ this.mergedEllipsisLabel && `${mergedClsPrefix}-form-item-label__text--ellipsis`
127336
+ ]
127337
+ },
127338
+ this.mergedEllipsisLabel ? /* @__PURE__ */ vue.h(_UEllipsis, null, { default: () => labelText }) : labelText
127339
+ );
127318
127340
  const markNode = renderedShowRequireMark ? /* @__PURE__ */ vue.h("span", { class: `${mergedClsPrefix}-form-item-label__asterisk` }, mergedRequireMarkPlacement !== "left" ? "\xA0*" : "*\xA0") : mergedRequireMarkPlacement === "right-hanging" && /* @__PURE__ */ vue.h(
127319
127341
  "span",
127320
127342
  {
@@ -155327,7 +155349,7 @@ ${icon.label}`.toLowerCase()
155327
155349
  });
155328
155350
  }
155329
155351
 
155330
- var version = "2.4.8";
155352
+ var version = "2.4.10";
155331
155353
 
155332
155354
  function create({
155333
155355
  componentPrefix = "U",
package/dist/index.mjs CHANGED
@@ -125364,6 +125364,7 @@ const formProps = {
125364
125364
  inline: Boolean,
125365
125365
  labelWidth: [Number, String],
125366
125366
  labelAlign: String,
125367
+ ellipsisLabel: Boolean,
125367
125368
  labelPlacement: {
125368
125369
  type: String,
125369
125370
  default: "top"
@@ -126640,8 +126641,10 @@ var style$I = cB("form-item", `
126640
126641
  grid-area: mark;
126641
126642
  user-select: none;
126642
126643
  -webkit-user-select: none;
126643
- visibility: hidden;
126644
- `)]), cB("form-item-blank", `
126644
+ visibility: hidden;
126645
+ `), cE("text", [cM("ellipsis", `
126646
+ width: 100%;
126647
+ `)])]), cB("form-item-blank", `
126645
126648
  grid-area: blank;
126646
126649
  min-height: var(--u-blank-height);
126647
126650
  `), cM("auto-label-width", [cB("form-item-label", "white-space: nowrap;")]), cM("left-labelled", `
@@ -126674,7 +126677,8 @@ var style$I = cB("form-item", `
126674
126677
  "text mark"
126675
126678
  "text .";
126676
126679
  `), cE("text", `
126677
- grid-area: text;
126680
+ grid-area: text;
126681
+ min-width: 0;
126678
126682
  `), cE("asterisk", `
126679
126683
  grid-area: mark;
126680
126684
  align-self: end;
@@ -126777,6 +126781,10 @@ function formItemMisc(props) {
126777
126781
  if (UForm?.props.labelAlign) return UForm.props.labelAlign;
126778
126782
  return void 0;
126779
126783
  });
126784
+ const mergedEllipsisLabelRef = computed(() => {
126785
+ if (props.ellipsisLabel !== void 0) return props.ellipsisLabel;
126786
+ return UForm?.props.ellipsisLabel ?? false;
126787
+ });
126780
126788
  const mergedLabelStyleRef = computed(() => {
126781
126789
  return [props.labelProps?.style, props.labelStyle, {
126782
126790
  width: mergedLabelWidthRef.value
@@ -126834,6 +126842,7 @@ function formItemMisc(props) {
126834
126842
  mergedValidationStatus: mergedValidationStatusRef,
126835
126843
  mergedShowFeedback: mergedShowFeedbackRef,
126836
126844
  mergedShowLabel: mergedShowLabelRef,
126845
+ mergedEllipsisLabel: mergedEllipsisLabelRef,
126837
126846
  isAutoLabelWidth: isAutoLabelWidthRef
126838
126847
  };
126839
126848
  }
@@ -126906,6 +126915,10 @@ function findInputValue(vnodes) {
126906
126915
  const formItemProps = {
126907
126916
  ...useTheme.props,
126908
126917
  label: String,
126918
+ ellipsisLabel: {
126919
+ type: Boolean,
126920
+ default: void 0
126921
+ },
126909
126922
  labelWidth: [Number, String],
126910
126923
  labelStyle: [String, Object],
126911
126924
  labelAlign: String,
@@ -127310,7 +127323,16 @@ var _UFormItem = defineComponent({
127310
127323
  const labelText = this.$slots.label ? this.$slots.label() : this.label;
127311
127324
  if (!labelText)
127312
127325
  return null;
127313
- const textNode = /* @__PURE__ */ h$1("span", { class: `${mergedClsPrefix}-form-item-label__text` }, labelText);
127326
+ const textNode = /* @__PURE__ */ h$1(
127327
+ "span",
127328
+ {
127329
+ class: [
127330
+ `${mergedClsPrefix}-form-item-label__text`,
127331
+ this.mergedEllipsisLabel && `${mergedClsPrefix}-form-item-label__text--ellipsis`
127332
+ ]
127333
+ },
127334
+ this.mergedEllipsisLabel ? /* @__PURE__ */ h$1(_UEllipsis, null, { default: () => labelText }) : labelText
127335
+ );
127314
127336
  const markNode = renderedShowRequireMark ? /* @__PURE__ */ h$1("span", { class: `${mergedClsPrefix}-form-item-label__asterisk` }, mergedRequireMarkPlacement !== "left" ? "\xA0*" : "*\xA0") : mergedRequireMarkPlacement === "right-hanging" && /* @__PURE__ */ h$1(
127315
127337
  "span",
127316
127338
  {
@@ -155323,7 +155345,7 @@ function useThemeVars() {
155323
155345
  });
155324
155346
  }
155325
155347
 
155326
- var version = "2.4.8";
155348
+ var version = "2.4.10";
155327
155349
 
155328
155350
  function create({
155329
155351
  componentPrefix = "U",