@pdg/react-form 1.2.11 → 1.2.13

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
@@ -11174,7 +11174,7 @@ _PFormTextEditor.apiKey = '';
11174
11174
  function _temp$m() {
11175
11175
  return "PFormTextEditor";
11176
11176
  }function PFormAutocomplete(t0) {
11177
- var $ = compilerRuntime.c(251);
11177
+ var $ = compilerRuntime.c(252);
11178
11178
  var ref = t0.ref,
11179
11179
  initVariant = t0.variant,
11180
11180
  initSize = t0.size,
@@ -11214,7 +11214,8 @@ function _temp$m() {
11214
11214
  onAsyncLoadValueItem = t0.onAsyncLoadValueItem,
11215
11215
  onRenderItem = t0.onRenderItem,
11216
11216
  onRenderTag = t0.onRenderTag,
11217
- onRednerValue = t0.onRednerValue,
11217
+ onRenderValue = t0.onRenderValue,
11218
+ onGetComponentValue = t0.onGetComponentValue,
11218
11219
  onAddItem = t0.onAddItem,
11219
11220
  getOptionDisabled = t0.getOptionDisabled,
11220
11221
  onChange = t0.onChange,
@@ -11711,49 +11712,50 @@ function _temp$m() {
11711
11712
  componentValue = _useState22[0],
11712
11713
  setComponentValue = _useState22[1];
11713
11714
  var t29;
11714
- if ($[67] !== componentValue || $[68] !== computedComponentValue_0) {
11715
+ if ($[67] !== componentValue || $[68] !== computedComponentValue_0 || $[69] !== onGetComponentValue) {
11715
11716
  t29 = function t29() {
11716
11717
  if (componentValue && computedComponentValue_0 && compare.equal(componentValue, computedComponentValue_0)) ; else {
11717
- setComponentValue(computedComponentValue_0);
11718
+ setComponentValue(onGetComponentValue ? onGetComponentValue(computedComponentValue_0) : computedComponentValue_0);
11718
11719
  }
11719
11720
  };
11720
11721
  $[67] = componentValue;
11721
11722
  $[68] = computedComponentValue_0;
11722
- $[69] = t29;
11723
+ $[69] = onGetComponentValue;
11724
+ $[70] = t29;
11723
11725
  } else {
11724
- t29 = $[69];
11726
+ t29 = $[70];
11725
11727
  }
11726
11728
  var t30;
11727
- if ($[70] !== computedComponentValue_0) {
11729
+ if ($[71] !== computedComponentValue_0) {
11728
11730
  t30 = [computedComponentValue_0];
11729
- $[70] = computedComponentValue_0;
11730
- $[71] = t30;
11731
+ $[71] = computedComponentValue_0;
11732
+ $[72] = t30;
11731
11733
  } else {
11732
- t30 = $[71];
11734
+ t30 = $[72];
11733
11735
  }
11734
11736
  reactHook.useChanged(t29, t30);
11735
11737
  var t31;
11736
- if ($[72] === Symbol["for"]("react.memo_cache_sentinel")) {
11738
+ if ($[73] === Symbol["for"]("react.memo_cache_sentinel")) {
11737
11739
  t31 = function t31() {
11738
11740
  setIsOnGetItemLoading(true);
11739
11741
  };
11740
- $[72] = t31;
11742
+ $[73] = t31;
11741
11743
  } else {
11742
- t31 = $[72];
11744
+ t31 = $[73];
11743
11745
  }
11744
11746
  var showOnGetItemLoading = t31;
11745
11747
  var t32;
11746
- if ($[73] === Symbol["for"]("react.memo_cache_sentinel")) {
11748
+ if ($[74] === Symbol["for"]("react.memo_cache_sentinel")) {
11747
11749
  t32 = function t32() {
11748
11750
  setIsOnGetItemLoading(false);
11749
11751
  };
11750
- $[73] = t32;
11752
+ $[74] = t32;
11751
11753
  } else {
11752
- t32 = $[73];
11754
+ t32 = $[74];
11753
11755
  }
11754
11756
  var hideOnGetItemLoading = t32;
11755
11757
  var t33;
11756
- if ($[74] !== async || $[75] !== onLoadItemsRef || $[76] !== setItems) {
11758
+ if ($[75] !== async || $[76] !== onLoadItemsRef || $[77] !== setItems) {
11757
11759
  t33 = function t33() {
11758
11760
  if (!async && onLoadItemsRef.current) {
11759
11761
  showOnGetItemLoading();
@@ -11763,44 +11765,44 @@ function _temp$m() {
11763
11765
  });
11764
11766
  }
11765
11767
  };
11766
- $[74] = async;
11767
- $[75] = onLoadItemsRef;
11768
- $[76] = setItems;
11769
- $[77] = t33;
11768
+ $[75] = async;
11769
+ $[76] = onLoadItemsRef;
11770
+ $[77] = setItems;
11771
+ $[78] = t33;
11770
11772
  } else {
11771
- t33 = $[77];
11773
+ t33 = $[78];
11772
11774
  }
11773
11775
  var t34;
11774
- if ($[78] === Symbol["for"]("react.memo_cache_sentinel")) {
11776
+ if ($[79] === Symbol["for"]("react.memo_cache_sentinel")) {
11775
11777
  t34 = [];
11776
- $[78] = t34;
11778
+ $[79] = t34;
11777
11779
  } else {
11778
- t34 = $[78];
11780
+ t34 = $[79];
11779
11781
  }
11780
11782
  reactHook.useEventEffect(t33, t34);
11781
11783
  var t35;
11782
- if ($[79] !== getFinalValueRef || $[80] !== updateValue || $[81] !== valueRef) {
11784
+ if ($[80] !== getFinalValueRef || $[81] !== updateValue || $[82] !== valueRef) {
11783
11785
  t35 = function t35() {
11784
11786
  updateValue(getFinalValueRef.current(valueRef.current));
11785
11787
  };
11786
- $[79] = getFinalValueRef;
11787
- $[80] = updateValue;
11788
- $[81] = valueRef;
11789
- $[82] = t35;
11788
+ $[80] = getFinalValueRef;
11789
+ $[81] = updateValue;
11790
+ $[82] = valueRef;
11791
+ $[83] = t35;
11790
11792
  } else {
11791
- t35 = $[82];
11793
+ t35 = $[83];
11792
11794
  }
11793
11795
  var t36;
11794
- if ($[83] !== multiple) {
11796
+ if ($[84] !== multiple) {
11795
11797
  t36 = [multiple];
11796
- $[83] = multiple;
11797
- $[84] = t36;
11798
+ $[84] = multiple;
11799
+ $[85] = t36;
11798
11800
  } else {
11799
- t36 = $[84];
11801
+ t36 = $[85];
11800
11802
  }
11801
11803
  reactHook.useFirstSkipEffect(t35, t36);
11802
11804
  var t37;
11803
- if ($[85] !== async || $[86] !== onAsyncLoadValueItemRef || $[87] !== setItems || $[88] !== valueItem || $[89] !== value_2) {
11805
+ if ($[86] !== async || $[87] !== onAsyncLoadValueItemRef || $[88] !== setItems || $[89] !== valueItem || $[90] !== value_2) {
11804
11806
  t37 = function t37() {
11805
11807
  if (async && onAsyncLoadValueItemRef.current) {
11806
11808
  if (value_2 != null) {
@@ -11821,28 +11823,28 @@ function _temp$m() {
11821
11823
  }
11822
11824
  }
11823
11825
  };
11824
- $[85] = async;
11825
- $[86] = onAsyncLoadValueItemRef;
11826
- $[87] = setItems;
11827
- $[88] = valueItem;
11828
- $[89] = value_2;
11829
- $[90] = t37;
11826
+ $[86] = async;
11827
+ $[87] = onAsyncLoadValueItemRef;
11828
+ $[88] = setItems;
11829
+ $[89] = valueItem;
11830
+ $[90] = value_2;
11831
+ $[91] = t37;
11830
11832
  } else {
11831
- t37 = $[90];
11833
+ t37 = $[91];
11832
11834
  }
11833
11835
  var t38;
11834
- if ($[91] !== async || $[92] !== valueItem || $[93] !== value_2) {
11836
+ if ($[92] !== async || $[93] !== valueItem || $[94] !== value_2) {
11835
11837
  t38 = [async, value_2, valueItem];
11836
- $[91] = async;
11837
- $[92] = valueItem;
11838
- $[93] = value_2;
11839
- $[94] = t38;
11838
+ $[92] = async;
11839
+ $[93] = valueItem;
11840
+ $[94] = value_2;
11841
+ $[95] = t38;
11840
11842
  } else {
11841
- t38 = $[94];
11843
+ t38 = $[95];
11842
11844
  }
11843
11845
  reactHook.useEventEffect(t37, t38);
11844
11846
  var t39;
11845
- if ($[95] !== async || $[96] !== asyncTimeoutRef || $[97] !== componentValue || $[98] !== inputValue || $[99] !== onLoadItems || $[100] !== setAsyncTimeout || $[101] !== setItems) {
11847
+ if ($[96] !== async || $[97] !== asyncTimeoutRef || $[98] !== componentValue || $[99] !== inputValue || $[100] !== onLoadItems || $[101] !== setAsyncTimeout || $[102] !== setItems) {
11846
11848
  t39 = function t39() {
11847
11849
  if (async && onLoadItems) {
11848
11850
  reactHook.clearTimeoutRef(asyncTimeoutRef);
@@ -11882,231 +11884,231 @@ function _temp$m() {
11882
11884
  }
11883
11885
  }
11884
11886
  };
11885
- $[95] = async;
11886
- $[96] = asyncTimeoutRef;
11887
- $[97] = componentValue;
11888
- $[98] = inputValue;
11889
- $[99] = onLoadItems;
11890
- $[100] = setAsyncTimeout;
11891
- $[101] = setItems;
11892
- $[102] = t39;
11887
+ $[96] = async;
11888
+ $[97] = asyncTimeoutRef;
11889
+ $[98] = componentValue;
11890
+ $[99] = inputValue;
11891
+ $[100] = onLoadItems;
11892
+ $[101] = setAsyncTimeout;
11893
+ $[102] = setItems;
11894
+ $[103] = t39;
11893
11895
  } else {
11894
- t39 = $[102];
11896
+ t39 = $[103];
11895
11897
  }
11896
11898
  var t40;
11897
- if ($[103] !== async || $[104] !== inputValue) {
11899
+ if ($[104] !== async || $[105] !== inputValue) {
11898
11900
  t40 = [async, inputValue];
11899
- $[103] = async;
11900
- $[104] = inputValue;
11901
- $[105] = t40;
11901
+ $[104] = async;
11902
+ $[105] = inputValue;
11903
+ $[106] = t40;
11902
11904
  } else {
11903
- t40 = $[105];
11905
+ t40 = $[106];
11904
11906
  }
11905
11907
  reactHook.useEventEffect(t39, t40);
11906
11908
  var t41;
11907
- if ($[106] === Symbol["for"]("react.memo_cache_sentinel")) {
11909
+ if ($[107] === Symbol["for"]("react.memo_cache_sentinel")) {
11908
11910
  t41 = function t41() {
11909
11911
  var _textFieldRef$current;
11910
11912
  (_textFieldRef$current = textFieldRef.current) === null || _textFieldRef$current === void 0 || _textFieldRef$current.focus();
11911
11913
  };
11912
- $[106] = t41;
11914
+ $[107] = t41;
11913
11915
  } else {
11914
- t41 = $[106];
11916
+ t41 = $[107];
11915
11917
  }
11916
11918
  var focus = t41;
11917
11919
  var t42;
11918
- if ($[107] !== name) {
11920
+ if ($[108] !== name) {
11919
11921
  t42 = function t42() {
11920
11922
  return name;
11921
11923
  };
11922
- $[107] = name;
11923
- $[108] = t42;
11924
+ $[108] = name;
11925
+ $[109] = t42;
11924
11926
  } else {
11925
- t42 = $[108];
11927
+ t42 = $[109];
11926
11928
  }
11927
11929
  var t43;
11928
- if ($[109] !== getFinalValueRef || $[110] !== initValueRef) {
11930
+ if ($[110] !== getFinalValueRef || $[111] !== initValueRef) {
11929
11931
  t43 = function t43() {
11930
11932
  return getFinalValueRef.current(initValueRef.current);
11931
11933
  };
11932
- $[109] = getFinalValueRef;
11933
- $[110] = initValueRef;
11934
- $[111] = t43;
11934
+ $[110] = getFinalValueRef;
11935
+ $[111] = initValueRef;
11936
+ $[112] = t43;
11935
11937
  } else {
11936
- t43 = $[111];
11938
+ t43 = $[112];
11937
11939
  }
11938
11940
  var t44;
11939
- if ($[112] !== initValueRef || $[113] !== updateValue) {
11941
+ if ($[113] !== initValueRef || $[114] !== updateValue) {
11940
11942
  t44 = function t44() {
11941
11943
  return updateValue(initValueRef.current);
11942
11944
  };
11943
- $[112] = initValueRef;
11944
- $[113] = updateValue;
11945
- $[114] = t44;
11945
+ $[113] = initValueRef;
11946
+ $[114] = updateValue;
11947
+ $[115] = t44;
11946
11948
  } else {
11947
- t44 = $[114];
11949
+ t44 = $[115];
11948
11950
  }
11949
11951
  var t45;
11950
- if ($[115] !== valueRef) {
11952
+ if ($[116] !== valueRef) {
11951
11953
  t45 = function t45() {
11952
11954
  return valueRef.current;
11953
11955
  };
11954
- $[115] = valueRef;
11955
- $[116] = t45;
11956
+ $[116] = valueRef;
11957
+ $[117] = t45;
11956
11958
  } else {
11957
- t45 = $[116];
11959
+ t45 = $[117];
11958
11960
  }
11959
11961
  var t46;
11960
- if ($[117] !== updateValue) {
11962
+ if ($[118] !== updateValue) {
11961
11963
  t46 = function t46(newValue_4) {
11962
11964
  return updateValue(newValue_4);
11963
11965
  };
11964
- $[117] = updateValue;
11965
- $[118] = t46;
11966
+ $[118] = updateValue;
11967
+ $[119] = t46;
11966
11968
  } else {
11967
- t46 = $[118];
11969
+ t46 = $[119];
11968
11970
  }
11969
11971
  var t47;
11970
- if ($[119] !== dataRef) {
11972
+ if ($[120] !== dataRef) {
11971
11973
  t47 = function t47() {
11972
11974
  return dataRef.current;
11973
11975
  };
11974
- $[119] = dataRef;
11975
- $[120] = t47;
11976
+ $[120] = dataRef;
11977
+ $[121] = t47;
11976
11978
  } else {
11977
- t47 = $[120];
11979
+ t47 = $[121];
11978
11980
  }
11979
11981
  var t48;
11980
- if ($[121] !== setData) {
11982
+ if ($[122] !== setData) {
11981
11983
  t48 = function t48(data_0) {
11982
11984
  return setData(data_0);
11983
11985
  };
11984
- $[121] = setData;
11985
- $[122] = t48;
11986
+ $[122] = setData;
11987
+ $[123] = t48;
11986
11988
  } else {
11987
- t48 = $[122];
11989
+ t48 = $[123];
11988
11990
  }
11989
11991
  var t49;
11990
- if ($[123] !== exceptValue) {
11992
+ if ($[124] !== exceptValue) {
11991
11993
  t49 = function t49() {
11992
11994
  return !!exceptValue;
11993
11995
  };
11994
- $[123] = exceptValue;
11995
- $[124] = t49;
11996
+ $[124] = exceptValue;
11997
+ $[125] = t49;
11996
11998
  } else {
11997
- t49 = $[124];
11999
+ t49 = $[125];
11998
12000
  }
11999
12001
  var t50;
12000
- if ($[125] !== disabled) {
12002
+ if ($[126] !== disabled) {
12001
12003
  t50 = function t50() {
12002
12004
  return !!disabled;
12003
12005
  };
12004
- $[125] = disabled;
12005
- $[126] = t50;
12006
+ $[126] = disabled;
12007
+ $[127] = t50;
12006
12008
  } else {
12007
- t50 = $[126];
12009
+ t50 = $[127];
12008
12010
  }
12009
12011
  var t51;
12010
- if ($[127] === Symbol["for"]("react.memo_cache_sentinel")) {
12012
+ if ($[128] === Symbol["for"]("react.memo_cache_sentinel")) {
12011
12013
  t51 = function t51(disabled_0) {
12012
12014
  return setDisabled(disabled_0);
12013
12015
  };
12014
- $[127] = t51;
12016
+ $[128] = t51;
12015
12017
  } else {
12016
- t51 = $[127];
12018
+ t51 = $[128];
12017
12019
  }
12018
12020
  var t52;
12019
- if ($[128] !== hidden) {
12021
+ if ($[129] !== hidden) {
12020
12022
  t52 = function t52() {
12021
12023
  return !!hidden;
12022
12024
  };
12023
- $[128] = hidden;
12024
- $[129] = t52;
12025
+ $[129] = hidden;
12026
+ $[130] = t52;
12025
12027
  } else {
12026
- t52 = $[129];
12028
+ t52 = $[130];
12027
12029
  }
12028
12030
  var t53;
12029
- if ($[130] === Symbol["for"]("react.memo_cache_sentinel")) {
12031
+ if ($[131] === Symbol["for"]("react.memo_cache_sentinel")) {
12030
12032
  t53 = function t53(hidden_0) {
12031
12033
  return setHidden(hidden_0);
12032
12034
  };
12033
- $[130] = t53;
12035
+ $[131] = t53;
12034
12036
  } else {
12035
- t53 = $[130];
12037
+ t53 = $[131];
12036
12038
  }
12037
12039
  var t54;
12038
- if ($[131] !== validate || $[132] !== valueRef) {
12040
+ if ($[132] !== validate || $[133] !== valueRef) {
12039
12041
  t54 = function t54() {
12040
12042
  return validate(valueRef.current);
12041
12043
  };
12042
- $[131] = validate;
12043
- $[132] = valueRef;
12044
- $[133] = t54;
12044
+ $[132] = validate;
12045
+ $[133] = valueRef;
12046
+ $[134] = t54;
12045
12047
  } else {
12046
- t54 = $[133];
12048
+ t54 = $[134];
12047
12049
  }
12048
12050
  var t55;
12049
- if ($[134] !== formValueSeparator) {
12051
+ if ($[135] !== formValueSeparator) {
12050
12052
  t55 = function t55() {
12051
12053
  return formValueSeparator;
12052
12054
  };
12053
- $[134] = formValueSeparator;
12054
- $[135] = t55;
12055
+ $[135] = formValueSeparator;
12056
+ $[136] = t55;
12055
12057
  } else {
12056
- t55 = $[135];
12058
+ t55 = $[136];
12057
12059
  }
12058
12060
  var t56;
12059
- if ($[136] !== formValueSort) {
12061
+ if ($[137] !== formValueSort) {
12060
12062
  t56 = function t56() {
12061
12063
  return !!formValueSort;
12062
12064
  };
12063
- $[136] = formValueSort;
12064
- $[137] = t56;
12065
+ $[137] = formValueSort;
12066
+ $[138] = t56;
12065
12067
  } else {
12066
- t56 = $[137];
12068
+ t56 = $[138];
12067
12069
  }
12068
12070
  var t57;
12069
- if ($[138] !== itemsRef) {
12071
+ if ($[139] !== itemsRef) {
12070
12072
  t57 = function t57() {
12071
12073
  return itemsRef.current;
12072
12074
  };
12073
- $[138] = itemsRef;
12074
- $[139] = t57;
12075
+ $[139] = itemsRef;
12076
+ $[140] = t57;
12075
12077
  } else {
12076
- t57 = $[139];
12078
+ t57 = $[140];
12077
12079
  }
12078
12080
  var t58;
12079
- if ($[140] !== multiple) {
12081
+ if ($[141] !== multiple) {
12080
12082
  t58 = function t58() {
12081
12083
  return !!multiple;
12082
12084
  };
12083
- $[140] = multiple;
12084
- $[141] = t58;
12085
+ $[141] = multiple;
12086
+ $[142] = t58;
12085
12087
  } else {
12086
- t58 = $[141];
12088
+ t58 = $[142];
12087
12089
  }
12088
12090
  var t59;
12089
- if ($[142] !== loadingRef) {
12091
+ if ($[143] !== loadingRef) {
12090
12092
  t59 = function t59() {
12091
12093
  return !!loadingRef.current;
12092
12094
  };
12093
- $[142] = loadingRef;
12094
- $[143] = t59;
12095
+ $[143] = loadingRef;
12096
+ $[144] = t59;
12095
12097
  } else {
12096
- t59 = $[143];
12098
+ t59 = $[144];
12097
12099
  }
12098
12100
  var t60;
12099
- if ($[144] !== setLoading) {
12101
+ if ($[145] !== setLoading) {
12100
12102
  t60 = function t60(loading_0) {
12101
12103
  return setLoading(loading_0);
12102
12104
  };
12103
- $[144] = setLoading;
12104
- $[145] = t60;
12105
+ $[145] = setLoading;
12106
+ $[146] = t60;
12105
12107
  } else {
12106
- t60 = $[145];
12108
+ t60 = $[146];
12107
12109
  }
12108
12110
  var t61;
12109
- if ($[146] !== async || $[147] !== onLoadItemsRef || $[148] !== setItems) {
12111
+ if ($[147] !== async || $[148] !== onLoadItemsRef || $[149] !== setItems) {
12110
12112
  t61 = function t61() {
12111
12113
  if (!async && onLoadItemsRef.current) {
12112
12114
  showOnGetItemLoading();
@@ -12117,15 +12119,15 @@ function _temp$m() {
12117
12119
  });
12118
12120
  }
12119
12121
  };
12120
- $[146] = async;
12121
- $[147] = onLoadItemsRef;
12122
- $[148] = setItems;
12123
- $[149] = t61;
12122
+ $[147] = async;
12123
+ $[148] = onLoadItemsRef;
12124
+ $[149] = setItems;
12125
+ $[150] = t61;
12124
12126
  } else {
12125
- t61 = $[149];
12127
+ t61 = $[150];
12126
12128
  }
12127
12129
  var t62;
12128
- if ($[150] !== setErrorErrorHelperText || $[151] !== setItems || $[152] !== t42 || $[153] !== t43 || $[154] !== t44 || $[155] !== t45 || $[156] !== t46 || $[157] !== t47 || $[158] !== t48 || $[159] !== t49 || $[160] !== t50 || $[161] !== t52 || $[162] !== t54 || $[163] !== t55 || $[164] !== t56 || $[165] !== t57 || $[166] !== t58 || $[167] !== t59 || $[168] !== t60 || $[169] !== t61) {
12130
+ if ($[151] !== setErrorErrorHelperText || $[152] !== setItems || $[153] !== t42 || $[154] !== t43 || $[155] !== t44 || $[156] !== t45 || $[157] !== t46 || $[158] !== t47 || $[159] !== t48 || $[160] !== t49 || $[161] !== t50 || $[162] !== t52 || $[163] !== t54 || $[164] !== t55 || $[165] !== t56 || $[166] !== t57 || $[167] !== t58 || $[168] !== t59 || $[169] !== t60 || $[170] !== t61) {
12129
12131
  t62 = {
12130
12132
  getType: _temp4,
12131
12133
  getName: t42,
@@ -12154,56 +12156,56 @@ function _temp$m() {
12154
12156
  reloadItems: t61,
12155
12157
  setInputValue: setInputValue
12156
12158
  };
12157
- $[150] = setErrorErrorHelperText;
12158
- $[151] = setItems;
12159
- $[152] = t42;
12160
- $[153] = t43;
12161
- $[154] = t44;
12162
- $[155] = t45;
12163
- $[156] = t46;
12164
- $[157] = t47;
12165
- $[158] = t48;
12166
- $[159] = t49;
12167
- $[160] = t50;
12168
- $[161] = t52;
12169
- $[162] = t54;
12170
- $[163] = t55;
12171
- $[164] = t56;
12172
- $[165] = t57;
12173
- $[166] = t58;
12174
- $[167] = t59;
12175
- $[168] = t60;
12176
- $[169] = t61;
12177
- $[170] = t62;
12178
- } else {
12179
- t62 = $[170];
12159
+ $[151] = setErrorErrorHelperText;
12160
+ $[152] = setItems;
12161
+ $[153] = t42;
12162
+ $[154] = t43;
12163
+ $[155] = t44;
12164
+ $[156] = t45;
12165
+ $[157] = t46;
12166
+ $[158] = t47;
12167
+ $[159] = t48;
12168
+ $[160] = t49;
12169
+ $[161] = t50;
12170
+ $[162] = t52;
12171
+ $[163] = t54;
12172
+ $[164] = t55;
12173
+ $[165] = t56;
12174
+ $[166] = t57;
12175
+ $[167] = t58;
12176
+ $[168] = t59;
12177
+ $[169] = t60;
12178
+ $[170] = t61;
12179
+ $[171] = t62;
12180
+ } else {
12181
+ t62 = $[171];
12180
12182
  }
12181
12183
  var commands = t62;
12182
12184
  var t63;
12183
- if ($[171] !== id || $[172] !== onAddValueItem) {
12185
+ if ($[172] !== id || $[173] !== onAddValueItem) {
12184
12186
  t63 = function t63(commands_0) {
12185
12187
  return onAddValueItem(id, commands_0);
12186
12188
  };
12187
- $[171] = id;
12188
- $[172] = onAddValueItem;
12189
- $[173] = t63;
12189
+ $[172] = id;
12190
+ $[173] = onAddValueItem;
12191
+ $[174] = t63;
12190
12192
  } else {
12191
- t63 = $[173];
12193
+ t63 = $[174];
12192
12194
  }
12193
12195
  var t64;
12194
- if ($[174] !== id || $[175] !== onRemoveValueItem) {
12196
+ if ($[175] !== id || $[176] !== onRemoveValueItem) {
12195
12197
  t64 = function t64() {
12196
12198
  return onRemoveValueItem(id);
12197
12199
  };
12198
- $[174] = id;
12199
- $[175] = onRemoveValueItem;
12200
- $[176] = t64;
12200
+ $[175] = id;
12201
+ $[176] = onRemoveValueItem;
12202
+ $[177] = t64;
12201
12203
  } else {
12202
- t64 = $[176];
12204
+ t64 = $[177];
12203
12205
  }
12204
12206
  reactHook.useForwardRef(ref, commands, t63, t64);
12205
12207
  var t65;
12206
- if ($[177] !== getFinalValueRef || $[178] !== multiple || $[179] !== name || $[180] !== onAddItem || $[181] !== onRequestSearchSubmit || $[182] !== onValueChangeByUser || $[183] !== updateValue || $[184] !== valueRef) {
12208
+ if ($[178] !== getFinalValueRef || $[179] !== multiple || $[180] !== name || $[181] !== onAddItem || $[182] !== onRequestSearchSubmit || $[183] !== onValueChangeByUser || $[184] !== updateValue || $[185] !== valueRef) {
12207
12209
  t65 = function t65(componentValue_0, reason, details) {
12208
12210
  var go = function go() {
12209
12211
  var newValue_5 = undefined;
@@ -12247,21 +12249,21 @@ function _temp$m() {
12247
12249
  go();
12248
12250
  }
12249
12251
  };
12250
- $[177] = getFinalValueRef;
12251
- $[178] = multiple;
12252
- $[179] = name;
12253
- $[180] = onAddItem;
12254
- $[181] = onRequestSearchSubmit;
12255
- $[182] = onValueChangeByUser;
12256
- $[183] = updateValue;
12257
- $[184] = valueRef;
12258
- $[185] = t65;
12252
+ $[178] = getFinalValueRef;
12253
+ $[179] = multiple;
12254
+ $[180] = name;
12255
+ $[181] = onAddItem;
12256
+ $[182] = onRequestSearchSubmit;
12257
+ $[183] = onValueChangeByUser;
12258
+ $[184] = updateValue;
12259
+ $[185] = valueRef;
12260
+ $[186] = t65;
12259
12261
  } else {
12260
- t65 = $[185];
12262
+ t65 = $[186];
12261
12263
  }
12262
12264
  var handleChange = t65;
12263
12265
  var t66;
12264
- if ($[186] !== getOptionDisabled) {
12266
+ if ($[187] !== getOptionDisabled) {
12265
12267
  t66 = function t66(option) {
12266
12268
  if (getOptionDisabled) {
12267
12269
  return option.disabled || getOptionDisabled(option);
@@ -12269,14 +12271,14 @@ function _temp$m() {
12269
12271
  return !!option.disabled;
12270
12272
  }
12271
12273
  };
12272
- $[186] = getOptionDisabled;
12273
- $[187] = t66;
12274
+ $[187] = getOptionDisabled;
12275
+ $[188] = t66;
12274
12276
  } else {
12275
- t66 = $[187];
12277
+ t66 = $[188];
12276
12278
  }
12277
12279
  var handleGetOptionDisabled = t66;
12278
12280
  var style;
12279
- if ($[188] !== hidden || $[189] !== initStyle || $[190] !== width) {
12281
+ if ($[189] !== hidden || $[190] !== initStyle || $[191] !== width) {
12280
12282
  style = _objectSpread2({
12281
12283
  minWidth: 120
12282
12284
  }, initStyle);
@@ -12286,56 +12288,56 @@ function _temp$m() {
12286
12288
  if (width != null) {
12287
12289
  style.width = width;
12288
12290
  }
12289
- $[188] = hidden;
12290
- $[189] = initStyle;
12291
- $[190] = width;
12292
- $[191] = style;
12291
+ $[189] = hidden;
12292
+ $[190] = initStyle;
12293
+ $[191] = width;
12294
+ $[192] = style;
12293
12295
  } else {
12294
- style = $[191];
12296
+ style = $[192];
12295
12297
  }
12296
12298
  var t67;
12297
- if ($[192] !== items) {
12299
+ if ($[193] !== items) {
12298
12300
  t67 = items || [];
12299
- $[192] = items;
12300
- $[193] = t67;
12301
+ $[193] = items;
12302
+ $[194] = t67;
12301
12303
  } else {
12302
- t67 = $[193];
12304
+ t67 = $[194];
12303
12305
  }
12304
12306
  var t68;
12305
- if ($[194] !== className) {
12307
+ if ($[195] !== className) {
12306
12308
  t68 = classNames(className, "PFormValueItem", "PFormAutocomplete");
12307
- $[194] = className;
12308
- $[195] = t68;
12309
+ $[195] = className;
12310
+ $[196] = t68;
12309
12311
  } else {
12310
- t68 = $[195];
12312
+ t68 = $[196];
12311
12313
  }
12312
12314
  var t69 = !width && fullWidth;
12313
12315
  var t70 = componentValue;
12314
12316
  var t71 = loading || isOnGetItemLoading;
12315
12317
  var t72;
12316
- if ($[196] !== handleChange) {
12318
+ if ($[197] !== handleChange) {
12317
12319
  t72 = function t72(e, value_4, reason_0, details_0) {
12318
12320
  return handleChange(value_4, reason_0, details_0);
12319
12321
  };
12320
- $[196] = handleChange;
12321
- $[197] = t72;
12322
+ $[197] = handleChange;
12323
+ $[198] = t72;
12322
12324
  } else {
12323
- t72 = $[197];
12325
+ t72 = $[198];
12324
12326
  }
12325
12327
  var t73;
12326
- if ($[198] !== onRenderItem) {
12328
+ if ($[199] !== onRenderItem) {
12327
12329
  t73 = function t73(props, option_1) {
12328
12330
  return /*#__PURE__*/React.createElement("li", _extends({}, props, {
12329
12331
  key: "".concat(option_1.value)
12330
12332
  }), onRenderItem ? onRenderItem(option_1) : option_1.label);
12331
12333
  };
12332
- $[198] = onRenderItem;
12333
- $[199] = t73;
12334
+ $[199] = onRenderItem;
12335
+ $[200] = t73;
12334
12336
  } else {
12335
- t73 = $[199];
12337
+ t73 = $[200];
12336
12338
  }
12337
12339
  var t74;
12338
- if ($[200] === Symbol["for"]("react.memo_cache_sentinel")) {
12340
+ if ($[201] === Symbol["for"]("react.memo_cache_sentinel")) {
12339
12341
  t74 = function t74(event, newInputValue, reason_1) {
12340
12342
  if (reason_1 === "input") {
12341
12343
  setInputValue(newInputValue);
@@ -12345,12 +12347,12 @@ function _temp$m() {
12345
12347
  }
12346
12348
  }
12347
12349
  };
12348
- $[200] = t74;
12350
+ $[201] = t74;
12349
12351
  } else {
12350
- t74 = $[200];
12352
+ t74 = $[201];
12351
12353
  }
12352
12354
  var t75;
12353
- if ($[201] !== multiple || $[202] !== onRednerValue || $[203] !== onRenderTag || $[204] !== size || $[205] !== variant) {
12355
+ if ($[202] !== multiple || $[203] !== onRenderTag || $[204] !== onRenderValue || $[205] !== size || $[206] !== variant) {
12354
12356
  t75 = multiple ? function (value_5, getItemProps) {
12355
12357
  if (Array.isArray(value_5)) {
12356
12358
  return value_5.map(function (option_2, index) {
@@ -12378,24 +12380,24 @@ function _temp$m() {
12378
12380
  index: 0
12379
12381
  })));
12380
12382
  }
12381
- } : onRednerValue ? function (value_6, getItemProps_0) {
12383
+ } : onRenderValue ? function (value_6, getItemProps_0) {
12382
12384
  return Array.isArray(value_6) ? null : /*#__PURE__*/React.createElement(material.Box, _extends({
12383
12385
  lineHeight: 0
12384
12386
  }, getItemProps_0({
12385
12387
  index: 0
12386
- })), onRednerValue(value_6));
12388
+ })), onRenderValue(value_6));
12387
12389
  } : undefined;
12388
- $[201] = multiple;
12389
- $[202] = onRednerValue;
12390
+ $[202] = multiple;
12390
12391
  $[203] = onRenderTag;
12391
- $[204] = size;
12392
- $[205] = variant;
12393
- $[206] = t75;
12392
+ $[204] = onRenderValue;
12393
+ $[205] = size;
12394
+ $[206] = variant;
12395
+ $[207] = t75;
12394
12396
  } else {
12395
- t75 = $[206];
12397
+ t75 = $[207];
12396
12398
  }
12397
12399
  var t76;
12398
- if ($[207] !== autoFocus || $[208] !== color || $[209] !== disabled || $[210] !== error || $[211] !== errorHelperText || $[212] !== focused || $[213] !== helperText || $[214] !== isOnGetItemLoading || $[215] !== label || $[216] !== labelIcon || $[217] !== labelShrink || $[218] !== loading || $[219] !== name || $[220] !== onBlurRef || $[221] !== onFocusRef || $[222] !== placeholder || $[223] !== readOnly || $[224] !== required || $[225] !== size || $[226] !== variant) {
12400
+ if ($[208] !== autoFocus || $[209] !== color || $[210] !== disabled || $[211] !== error || $[212] !== errorHelperText || $[213] !== focused || $[214] !== helperText || $[215] !== isOnGetItemLoading || $[216] !== label || $[217] !== labelIcon || $[218] !== labelShrink || $[219] !== loading || $[220] !== name || $[221] !== onBlurRef || $[222] !== onFocusRef || $[223] !== placeholder || $[224] !== readOnly || $[225] !== required || $[226] !== size || $[227] !== variant) {
12399
12401
  t76 = function t76(params) {
12400
12402
  var _params$inputProps;
12401
12403
  var slotProps = {
@@ -12447,32 +12449,32 @@ function _temp$m() {
12447
12449
  noFormValueItem: true
12448
12450
  }));
12449
12451
  };
12450
- $[207] = autoFocus;
12451
- $[208] = color;
12452
- $[209] = disabled;
12453
- $[210] = error;
12454
- $[211] = errorHelperText;
12455
- $[212] = focused;
12456
- $[213] = helperText;
12457
- $[214] = isOnGetItemLoading;
12458
- $[215] = label;
12459
- $[216] = labelIcon;
12460
- $[217] = labelShrink;
12461
- $[218] = loading;
12462
- $[219] = name;
12463
- $[220] = onBlurRef;
12464
- $[221] = onFocusRef;
12465
- $[222] = placeholder;
12466
- $[223] = readOnly;
12467
- $[224] = required;
12468
- $[225] = size;
12469
- $[226] = variant;
12470
- $[227] = t76;
12471
- } else {
12472
- t76 = $[227];
12452
+ $[208] = autoFocus;
12453
+ $[209] = color;
12454
+ $[210] = disabled;
12455
+ $[211] = error;
12456
+ $[212] = errorHelperText;
12457
+ $[213] = focused;
12458
+ $[214] = helperText;
12459
+ $[215] = isOnGetItemLoading;
12460
+ $[216] = label;
12461
+ $[217] = labelIcon;
12462
+ $[218] = labelShrink;
12463
+ $[219] = loading;
12464
+ $[220] = name;
12465
+ $[221] = onBlurRef;
12466
+ $[222] = onFocusRef;
12467
+ $[223] = placeholder;
12468
+ $[224] = readOnly;
12469
+ $[225] = required;
12470
+ $[226] = size;
12471
+ $[227] = variant;
12472
+ $[228] = t76;
12473
+ } else {
12474
+ t76 = $[228];
12473
12475
  }
12474
12476
  var t77;
12475
- if ($[228] !== disableClearable || $[229] !== disablePortal || $[230] !== disabled || $[231] !== getLimitTagsText || $[232] !== handleGetOptionDisabled || $[233] !== limitTags || $[234] !== loadingText || $[235] !== multiple || $[236] !== noOptionsText || $[237] !== openOnFocus || $[238] !== readOnly || $[239] !== style || $[240] !== sx || $[241] !== t67 || $[242] !== t68 || $[243] !== t69 || $[244] !== t70 || $[245] !== t71 || $[246] !== t72 || $[247] !== t73 || $[248] !== t75 || $[249] !== t76) {
12477
+ if ($[229] !== disableClearable || $[230] !== disablePortal || $[231] !== disabled || $[232] !== getLimitTagsText || $[233] !== handleGetOptionDisabled || $[234] !== limitTags || $[235] !== loadingText || $[236] !== multiple || $[237] !== noOptionsText || $[238] !== openOnFocus || $[239] !== readOnly || $[240] !== style || $[241] !== sx || $[242] !== t67 || $[243] !== t68 || $[244] !== t69 || $[245] !== t70 || $[246] !== t71 || $[247] !== t72 || $[248] !== t73 || $[249] !== t75 || $[250] !== t76) {
12476
12478
  t77 = /*#__PURE__*/React.createElement(material.Autocomplete, {
12477
12479
  options: t67,
12478
12480
  className: t68,
@@ -12499,31 +12501,31 @@ function _temp$m() {
12499
12501
  renderValue: t75,
12500
12502
  renderInput: t76
12501
12503
  });
12502
- $[228] = disableClearable;
12503
- $[229] = disablePortal;
12504
- $[230] = disabled;
12505
- $[231] = getLimitTagsText;
12506
- $[232] = handleGetOptionDisabled;
12507
- $[233] = limitTags;
12508
- $[234] = loadingText;
12509
- $[235] = multiple;
12510
- $[236] = noOptionsText;
12511
- $[237] = openOnFocus;
12512
- $[238] = readOnly;
12513
- $[239] = style;
12514
- $[240] = sx;
12515
- $[241] = t67;
12516
- $[242] = t68;
12517
- $[243] = t69;
12518
- $[244] = t70;
12519
- $[245] = t71;
12520
- $[246] = t72;
12521
- $[247] = t73;
12522
- $[248] = t75;
12523
- $[249] = t76;
12524
- $[250] = t77;
12525
- } else {
12526
- t77 = $[250];
12504
+ $[229] = disableClearable;
12505
+ $[230] = disablePortal;
12506
+ $[231] = disabled;
12507
+ $[232] = getLimitTagsText;
12508
+ $[233] = handleGetOptionDisabled;
12509
+ $[234] = limitTags;
12510
+ $[235] = loadingText;
12511
+ $[236] = multiple;
12512
+ $[237] = noOptionsText;
12513
+ $[238] = openOnFocus;
12514
+ $[239] = readOnly;
12515
+ $[240] = style;
12516
+ $[241] = sx;
12517
+ $[242] = t67;
12518
+ $[243] = t68;
12519
+ $[244] = t69;
12520
+ $[245] = t70;
12521
+ $[246] = t71;
12522
+ $[247] = t72;
12523
+ $[248] = t73;
12524
+ $[249] = t75;
12525
+ $[250] = t76;
12526
+ $[251] = t77;
12527
+ } else {
12528
+ t77 = $[251];
12527
12529
  }
12528
12530
  return t77;
12529
12531
  }