@fctc/sme-widget-ui 2.6.0 → 2.6.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.
package/dist/index.js CHANGED
@@ -32660,7 +32660,8 @@ var Many2ManyTagField = (props) => {
32660
32660
  domainObject,
32661
32661
  isFetching,
32662
32662
  setIsShowModalMany2Many,
32663
- baseClassName
32663
+ baseClassName,
32664
+ placeholder
32664
32665
  } = props;
32665
32666
  const { t: t3 } = useI18n();
32666
32667
  if (!isForm && !isEditTable) {
@@ -32737,7 +32738,7 @@ var Many2ManyTagField = (props) => {
32737
32738
  },
32738
32739
  onMenuOpen: fetchMoreOptions,
32739
32740
  menuPlacement: "auto",
32740
- placeholder: readonly ? "" : t3("choose_place"),
32741
+ placeholder,
32741
32742
  classNames: isEditTable ? {
32742
32743
  valueContainer: () => "overflow-unset !px-0",
32743
32744
  control: ({ isFocused }) => `widget many2many-tags-widget ${baseClassName} ${isFocused ? "focused" : ""} ${filteredValue?.length === 0 && "no-values"}`,
@@ -33906,7 +33907,8 @@ var Many2OneField = (props) => {
33906
33907
  setIsShowModalMany2Many,
33907
33908
  setInputValue,
33908
33909
  setDomainObject,
33909
- baseClassName
33910
+ baseClassName,
33911
+ placeholder
33910
33912
  } = props;
33911
33913
  const { t: t3 } = useI18n();
33912
33914
  if (!isForm && !isEditTable) {
@@ -33982,7 +33984,7 @@ var Many2OneField = (props) => {
33982
33984
  clearIndicator: () => `m-0 p-0'`,
33983
33985
  menu: () => "z-[99]"
33984
33986
  },
33985
- placeholder: readonly ? "" : t3("choose_place"),
33987
+ placeholder,
33986
33988
  onMenuOpen: fetchMoreOptions,
33987
33989
  onMenuClose: () => {
33988
33990
  const filteredDomain = [...domainObject ?? []]?.filter(
package/dist/index.mjs CHANGED
@@ -32533,7 +32533,8 @@ var Many2ManyTagField = (props) => {
32533
32533
  domainObject,
32534
32534
  isFetching,
32535
32535
  setIsShowModalMany2Many,
32536
- baseClassName
32536
+ baseClassName,
32537
+ placeholder
32537
32538
  } = props;
32538
32539
  const { t: t3 } = useI18n();
32539
32540
  if (!isForm && !isEditTable) {
@@ -32610,7 +32611,7 @@ var Many2ManyTagField = (props) => {
32610
32611
  },
32611
32612
  onMenuOpen: fetchMoreOptions,
32612
32613
  menuPlacement: "auto",
32613
- placeholder: readonly ? "" : t3("choose_place"),
32614
+ placeholder,
32614
32615
  classNames: isEditTable ? {
32615
32616
  valueContainer: () => "overflow-unset !px-0",
32616
32617
  control: ({ isFocused }) => `widget many2many-tags-widget ${baseClassName} ${isFocused ? "focused" : ""} ${filteredValue?.length === 0 && "no-values"}`,
@@ -33779,7 +33780,8 @@ var Many2OneField = (props) => {
33779
33780
  setIsShowModalMany2Many,
33780
33781
  setInputValue,
33781
33782
  setDomainObject,
33782
- baseClassName
33783
+ baseClassName,
33784
+ placeholder
33783
33785
  } = props;
33784
33786
  const { t: t3 } = useI18n();
33785
33787
  if (!isForm && !isEditTable) {
@@ -33855,7 +33857,7 @@ var Many2OneField = (props) => {
33855
33857
  clearIndicator: () => `m-0 p-0'`,
33856
33858
  menu: () => "z-[99]"
33857
33859
  },
33858
- placeholder: readonly ? "" : t3("choose_place"),
33860
+ placeholder,
33859
33861
  onMenuOpen: fetchMoreOptions,
33860
33862
  onMenuClose: () => {
33861
33863
  const filteredDomain = [...domainObject ?? []]?.filter(
package/dist/widgets.js CHANGED
@@ -31909,7 +31909,8 @@ var Many2ManyTagField = (props) => {
31909
31909
  domainObject,
31910
31910
  isFetching,
31911
31911
  setIsShowModalMany2Many,
31912
- baseClassName
31912
+ baseClassName,
31913
+ placeholder
31913
31914
  } = props;
31914
31915
  const { t: t3 } = useI18n();
31915
31916
  if (!isForm && !isEditTable) {
@@ -31986,7 +31987,7 @@ var Many2ManyTagField = (props) => {
31986
31987
  },
31987
31988
  onMenuOpen: fetchMoreOptions,
31988
31989
  menuPlacement: "auto",
31989
- placeholder: readonly ? "" : t3("choose_place"),
31990
+ placeholder,
31990
31991
  classNames: isEditTable ? {
31991
31992
  valueContainer: () => "overflow-unset !px-0",
31992
31993
  control: ({ isFocused }) => `widget many2many-tags-widget ${baseClassName} ${isFocused ? "focused" : ""} ${filteredValue?.length === 0 && "no-values"}`,
@@ -33155,7 +33156,8 @@ var Many2OneField = (props) => {
33155
33156
  setIsShowModalMany2Many,
33156
33157
  setInputValue,
33157
33158
  setDomainObject,
33158
- baseClassName
33159
+ baseClassName,
33160
+ placeholder
33159
33161
  } = props;
33160
33162
  const { t: t3 } = useI18n();
33161
33163
  if (!isForm && !isEditTable) {
@@ -33231,7 +33233,7 @@ var Many2OneField = (props) => {
33231
33233
  clearIndicator: () => `m-0 p-0'`,
33232
33234
  menu: () => "z-[99]"
33233
33235
  },
33234
- placeholder: readonly ? "" : t3("choose_place"),
33236
+ placeholder,
33235
33237
  onMenuOpen: fetchMoreOptions,
33236
33238
  onMenuClose: () => {
33237
33239
  const filteredDomain = [...domainObject ?? []]?.filter(
package/dist/widgets.mjs CHANGED
@@ -31846,7 +31846,8 @@ var Many2ManyTagField = (props) => {
31846
31846
  domainObject,
31847
31847
  isFetching,
31848
31848
  setIsShowModalMany2Many,
31849
- baseClassName
31849
+ baseClassName,
31850
+ placeholder
31850
31851
  } = props;
31851
31852
  const { t: t3 } = useI18n();
31852
31853
  if (!isForm && !isEditTable) {
@@ -31923,7 +31924,7 @@ var Many2ManyTagField = (props) => {
31923
31924
  },
31924
31925
  onMenuOpen: fetchMoreOptions,
31925
31926
  menuPlacement: "auto",
31926
- placeholder: readonly ? "" : t3("choose_place"),
31927
+ placeholder,
31927
31928
  classNames: isEditTable ? {
31928
31929
  valueContainer: () => "overflow-unset !px-0",
31929
31930
  control: ({ isFocused }) => `widget many2many-tags-widget ${baseClassName} ${isFocused ? "focused" : ""} ${filteredValue?.length === 0 && "no-values"}`,
@@ -33092,7 +33093,8 @@ var Many2OneField = (props) => {
33092
33093
  setIsShowModalMany2Many,
33093
33094
  setInputValue,
33094
33095
  setDomainObject,
33095
- baseClassName
33096
+ baseClassName,
33097
+ placeholder
33096
33098
  } = props;
33097
33099
  const { t: t3 } = useI18n();
33098
33100
  if (!isForm && !isEditTable) {
@@ -33168,7 +33170,7 @@ var Many2OneField = (props) => {
33168
33170
  clearIndicator: () => `m-0 p-0'`,
33169
33171
  menu: () => "z-[99]"
33170
33172
  },
33171
- placeholder: readonly ? "" : t3("choose_place"),
33173
+ placeholder,
33172
33174
  onMenuOpen: fetchMoreOptions,
33173
33175
  onMenuClose: () => {
33174
33176
  const filteredDomain = [...domainObject ?? []]?.filter(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",