@pdg/react-form 1.2.12 → 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(
|
|
11177
|
+
var $ = compilerRuntime.c(252);
|
|
11178
11178
|
var ref = t0.ref,
|
|
11179
11179
|
initVariant = t0.variant,
|
|
11180
11180
|
initSize = t0.size,
|
|
@@ -11215,6 +11215,7 @@ function _temp$m() {
|
|
|
11215
11215
|
onRenderItem = t0.onRenderItem,
|
|
11216
11216
|
onRenderTag = t0.onRenderTag,
|
|
11217
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] =
|
|
11723
|
+
$[69] = onGetComponentValue;
|
|
11724
|
+
$[70] = t29;
|
|
11723
11725
|
} else {
|
|
11724
|
-
t29 = $[
|
|
11726
|
+
t29 = $[70];
|
|
11725
11727
|
}
|
|
11726
11728
|
var t30;
|
|
11727
|
-
if ($[
|
|
11729
|
+
if ($[71] !== computedComponentValue_0) {
|
|
11728
11730
|
t30 = [computedComponentValue_0];
|
|
11729
|
-
$[
|
|
11730
|
-
$[
|
|
11731
|
+
$[71] = computedComponentValue_0;
|
|
11732
|
+
$[72] = t30;
|
|
11731
11733
|
} else {
|
|
11732
|
-
t30 = $[
|
|
11734
|
+
t30 = $[72];
|
|
11733
11735
|
}
|
|
11734
11736
|
reactHook.useChanged(t29, t30);
|
|
11735
11737
|
var t31;
|
|
11736
|
-
if ($[
|
|
11738
|
+
if ($[73] === Symbol["for"]("react.memo_cache_sentinel")) {
|
|
11737
11739
|
t31 = function t31() {
|
|
11738
11740
|
setIsOnGetItemLoading(true);
|
|
11739
11741
|
};
|
|
11740
|
-
$[
|
|
11742
|
+
$[73] = t31;
|
|
11741
11743
|
} else {
|
|
11742
|
-
t31 = $[
|
|
11744
|
+
t31 = $[73];
|
|
11743
11745
|
}
|
|
11744
11746
|
var showOnGetItemLoading = t31;
|
|
11745
11747
|
var t32;
|
|
11746
|
-
if ($[
|
|
11748
|
+
if ($[74] === Symbol["for"]("react.memo_cache_sentinel")) {
|
|
11747
11749
|
t32 = function t32() {
|
|
11748
11750
|
setIsOnGetItemLoading(false);
|
|
11749
11751
|
};
|
|
11750
|
-
$[
|
|
11752
|
+
$[74] = t32;
|
|
11751
11753
|
} else {
|
|
11752
|
-
t32 = $[
|
|
11754
|
+
t32 = $[74];
|
|
11753
11755
|
}
|
|
11754
11756
|
var hideOnGetItemLoading = t32;
|
|
11755
11757
|
var t33;
|
|
11756
|
-
if ($[
|
|
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
|
-
$[
|
|
11767
|
-
$[
|
|
11768
|
-
$[
|
|
11769
|
-
$[
|
|
11768
|
+
$[75] = async;
|
|
11769
|
+
$[76] = onLoadItemsRef;
|
|
11770
|
+
$[77] = setItems;
|
|
11771
|
+
$[78] = t33;
|
|
11770
11772
|
} else {
|
|
11771
|
-
t33 = $[
|
|
11773
|
+
t33 = $[78];
|
|
11772
11774
|
}
|
|
11773
11775
|
var t34;
|
|
11774
|
-
if ($[
|
|
11776
|
+
if ($[79] === Symbol["for"]("react.memo_cache_sentinel")) {
|
|
11775
11777
|
t34 = [];
|
|
11776
|
-
$[
|
|
11778
|
+
$[79] = t34;
|
|
11777
11779
|
} else {
|
|
11778
|
-
t34 = $[
|
|
11780
|
+
t34 = $[79];
|
|
11779
11781
|
}
|
|
11780
11782
|
reactHook.useEventEffect(t33, t34);
|
|
11781
11783
|
var t35;
|
|
11782
|
-
if ($[
|
|
11784
|
+
if ($[80] !== getFinalValueRef || $[81] !== updateValue || $[82] !== valueRef) {
|
|
11783
11785
|
t35 = function t35() {
|
|
11784
11786
|
updateValue(getFinalValueRef.current(valueRef.current));
|
|
11785
11787
|
};
|
|
11786
|
-
$[
|
|
11787
|
-
$[
|
|
11788
|
-
$[
|
|
11789
|
-
$[
|
|
11788
|
+
$[80] = getFinalValueRef;
|
|
11789
|
+
$[81] = updateValue;
|
|
11790
|
+
$[82] = valueRef;
|
|
11791
|
+
$[83] = t35;
|
|
11790
11792
|
} else {
|
|
11791
|
-
t35 = $[
|
|
11793
|
+
t35 = $[83];
|
|
11792
11794
|
}
|
|
11793
11795
|
var t36;
|
|
11794
|
-
if ($[
|
|
11796
|
+
if ($[84] !== multiple) {
|
|
11795
11797
|
t36 = [multiple];
|
|
11796
|
-
$[
|
|
11797
|
-
$[
|
|
11798
|
+
$[84] = multiple;
|
|
11799
|
+
$[85] = t36;
|
|
11798
11800
|
} else {
|
|
11799
|
-
t36 = $[
|
|
11801
|
+
t36 = $[85];
|
|
11800
11802
|
}
|
|
11801
11803
|
reactHook.useFirstSkipEffect(t35, t36);
|
|
11802
11804
|
var t37;
|
|
11803
|
-
if ($[
|
|
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
|
-
$[
|
|
11825
|
-
$[
|
|
11826
|
-
$[
|
|
11827
|
-
$[
|
|
11828
|
-
$[
|
|
11829
|
-
$[
|
|
11826
|
+
$[86] = async;
|
|
11827
|
+
$[87] = onAsyncLoadValueItemRef;
|
|
11828
|
+
$[88] = setItems;
|
|
11829
|
+
$[89] = valueItem;
|
|
11830
|
+
$[90] = value_2;
|
|
11831
|
+
$[91] = t37;
|
|
11830
11832
|
} else {
|
|
11831
|
-
t37 = $[
|
|
11833
|
+
t37 = $[91];
|
|
11832
11834
|
}
|
|
11833
11835
|
var t38;
|
|
11834
|
-
if ($[
|
|
11836
|
+
if ($[92] !== async || $[93] !== valueItem || $[94] !== value_2) {
|
|
11835
11837
|
t38 = [async, value_2, valueItem];
|
|
11836
|
-
$[
|
|
11837
|
-
$[
|
|
11838
|
-
$[
|
|
11839
|
-
$[
|
|
11838
|
+
$[92] = async;
|
|
11839
|
+
$[93] = valueItem;
|
|
11840
|
+
$[94] = value_2;
|
|
11841
|
+
$[95] = t38;
|
|
11840
11842
|
} else {
|
|
11841
|
-
t38 = $[
|
|
11843
|
+
t38 = $[95];
|
|
11842
11844
|
}
|
|
11843
11845
|
reactHook.useEventEffect(t37, t38);
|
|
11844
11846
|
var t39;
|
|
11845
|
-
if ($[
|
|
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
|
-
$[
|
|
11886
|
-
$[
|
|
11887
|
-
$[
|
|
11888
|
-
$[
|
|
11889
|
-
$[
|
|
11890
|
-
$[
|
|
11891
|
-
$[
|
|
11892
|
-
$[
|
|
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 = $[
|
|
11896
|
+
t39 = $[103];
|
|
11895
11897
|
}
|
|
11896
11898
|
var t40;
|
|
11897
|
-
if ($[
|
|
11899
|
+
if ($[104] !== async || $[105] !== inputValue) {
|
|
11898
11900
|
t40 = [async, inputValue];
|
|
11899
|
-
$[
|
|
11900
|
-
$[
|
|
11901
|
-
$[
|
|
11901
|
+
$[104] = async;
|
|
11902
|
+
$[105] = inputValue;
|
|
11903
|
+
$[106] = t40;
|
|
11902
11904
|
} else {
|
|
11903
|
-
t40 = $[
|
|
11905
|
+
t40 = $[106];
|
|
11904
11906
|
}
|
|
11905
11907
|
reactHook.useEventEffect(t39, t40);
|
|
11906
11908
|
var t41;
|
|
11907
|
-
if ($[
|
|
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
|
-
$[
|
|
11914
|
+
$[107] = t41;
|
|
11913
11915
|
} else {
|
|
11914
|
-
t41 = $[
|
|
11916
|
+
t41 = $[107];
|
|
11915
11917
|
}
|
|
11916
11918
|
var focus = t41;
|
|
11917
11919
|
var t42;
|
|
11918
|
-
if ($[
|
|
11920
|
+
if ($[108] !== name) {
|
|
11919
11921
|
t42 = function t42() {
|
|
11920
11922
|
return name;
|
|
11921
11923
|
};
|
|
11922
|
-
$[
|
|
11923
|
-
$[
|
|
11924
|
+
$[108] = name;
|
|
11925
|
+
$[109] = t42;
|
|
11924
11926
|
} else {
|
|
11925
|
-
t42 = $[
|
|
11927
|
+
t42 = $[109];
|
|
11926
11928
|
}
|
|
11927
11929
|
var t43;
|
|
11928
|
-
if ($[
|
|
11930
|
+
if ($[110] !== getFinalValueRef || $[111] !== initValueRef) {
|
|
11929
11931
|
t43 = function t43() {
|
|
11930
11932
|
return getFinalValueRef.current(initValueRef.current);
|
|
11931
11933
|
};
|
|
11932
|
-
$[
|
|
11933
|
-
$[
|
|
11934
|
-
$[
|
|
11934
|
+
$[110] = getFinalValueRef;
|
|
11935
|
+
$[111] = initValueRef;
|
|
11936
|
+
$[112] = t43;
|
|
11935
11937
|
} else {
|
|
11936
|
-
t43 = $[
|
|
11938
|
+
t43 = $[112];
|
|
11937
11939
|
}
|
|
11938
11940
|
var t44;
|
|
11939
|
-
if ($[
|
|
11941
|
+
if ($[113] !== initValueRef || $[114] !== updateValue) {
|
|
11940
11942
|
t44 = function t44() {
|
|
11941
11943
|
return updateValue(initValueRef.current);
|
|
11942
11944
|
};
|
|
11943
|
-
$[
|
|
11944
|
-
$[
|
|
11945
|
-
$[
|
|
11945
|
+
$[113] = initValueRef;
|
|
11946
|
+
$[114] = updateValue;
|
|
11947
|
+
$[115] = t44;
|
|
11946
11948
|
} else {
|
|
11947
|
-
t44 = $[
|
|
11949
|
+
t44 = $[115];
|
|
11948
11950
|
}
|
|
11949
11951
|
var t45;
|
|
11950
|
-
if ($[
|
|
11952
|
+
if ($[116] !== valueRef) {
|
|
11951
11953
|
t45 = function t45() {
|
|
11952
11954
|
return valueRef.current;
|
|
11953
11955
|
};
|
|
11954
|
-
$[
|
|
11955
|
-
$[
|
|
11956
|
+
$[116] = valueRef;
|
|
11957
|
+
$[117] = t45;
|
|
11956
11958
|
} else {
|
|
11957
|
-
t45 = $[
|
|
11959
|
+
t45 = $[117];
|
|
11958
11960
|
}
|
|
11959
11961
|
var t46;
|
|
11960
|
-
if ($[
|
|
11962
|
+
if ($[118] !== updateValue) {
|
|
11961
11963
|
t46 = function t46(newValue_4) {
|
|
11962
11964
|
return updateValue(newValue_4);
|
|
11963
11965
|
};
|
|
11964
|
-
$[
|
|
11965
|
-
$[
|
|
11966
|
+
$[118] = updateValue;
|
|
11967
|
+
$[119] = t46;
|
|
11966
11968
|
} else {
|
|
11967
|
-
t46 = $[
|
|
11969
|
+
t46 = $[119];
|
|
11968
11970
|
}
|
|
11969
11971
|
var t47;
|
|
11970
|
-
if ($[
|
|
11972
|
+
if ($[120] !== dataRef) {
|
|
11971
11973
|
t47 = function t47() {
|
|
11972
11974
|
return dataRef.current;
|
|
11973
11975
|
};
|
|
11974
|
-
$[
|
|
11975
|
-
$[
|
|
11976
|
+
$[120] = dataRef;
|
|
11977
|
+
$[121] = t47;
|
|
11976
11978
|
} else {
|
|
11977
|
-
t47 = $[
|
|
11979
|
+
t47 = $[121];
|
|
11978
11980
|
}
|
|
11979
11981
|
var t48;
|
|
11980
|
-
if ($[
|
|
11982
|
+
if ($[122] !== setData) {
|
|
11981
11983
|
t48 = function t48(data_0) {
|
|
11982
11984
|
return setData(data_0);
|
|
11983
11985
|
};
|
|
11984
|
-
$[
|
|
11985
|
-
$[
|
|
11986
|
+
$[122] = setData;
|
|
11987
|
+
$[123] = t48;
|
|
11986
11988
|
} else {
|
|
11987
|
-
t48 = $[
|
|
11989
|
+
t48 = $[123];
|
|
11988
11990
|
}
|
|
11989
11991
|
var t49;
|
|
11990
|
-
if ($[
|
|
11992
|
+
if ($[124] !== exceptValue) {
|
|
11991
11993
|
t49 = function t49() {
|
|
11992
11994
|
return !!exceptValue;
|
|
11993
11995
|
};
|
|
11994
|
-
$[
|
|
11995
|
-
$[
|
|
11996
|
+
$[124] = exceptValue;
|
|
11997
|
+
$[125] = t49;
|
|
11996
11998
|
} else {
|
|
11997
|
-
t49 = $[
|
|
11999
|
+
t49 = $[125];
|
|
11998
12000
|
}
|
|
11999
12001
|
var t50;
|
|
12000
|
-
if ($[
|
|
12002
|
+
if ($[126] !== disabled) {
|
|
12001
12003
|
t50 = function t50() {
|
|
12002
12004
|
return !!disabled;
|
|
12003
12005
|
};
|
|
12004
|
-
$[
|
|
12005
|
-
$[
|
|
12006
|
+
$[126] = disabled;
|
|
12007
|
+
$[127] = t50;
|
|
12006
12008
|
} else {
|
|
12007
|
-
t50 = $[
|
|
12009
|
+
t50 = $[127];
|
|
12008
12010
|
}
|
|
12009
12011
|
var t51;
|
|
12010
|
-
if ($[
|
|
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
|
-
$[
|
|
12016
|
+
$[128] = t51;
|
|
12015
12017
|
} else {
|
|
12016
|
-
t51 = $[
|
|
12018
|
+
t51 = $[128];
|
|
12017
12019
|
}
|
|
12018
12020
|
var t52;
|
|
12019
|
-
if ($[
|
|
12021
|
+
if ($[129] !== hidden) {
|
|
12020
12022
|
t52 = function t52() {
|
|
12021
12023
|
return !!hidden;
|
|
12022
12024
|
};
|
|
12023
|
-
$[
|
|
12024
|
-
$[
|
|
12025
|
+
$[129] = hidden;
|
|
12026
|
+
$[130] = t52;
|
|
12025
12027
|
} else {
|
|
12026
|
-
t52 = $[
|
|
12028
|
+
t52 = $[130];
|
|
12027
12029
|
}
|
|
12028
12030
|
var t53;
|
|
12029
|
-
if ($[
|
|
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
|
-
$[
|
|
12035
|
+
$[131] = t53;
|
|
12034
12036
|
} else {
|
|
12035
|
-
t53 = $[
|
|
12037
|
+
t53 = $[131];
|
|
12036
12038
|
}
|
|
12037
12039
|
var t54;
|
|
12038
|
-
if ($[
|
|
12040
|
+
if ($[132] !== validate || $[133] !== valueRef) {
|
|
12039
12041
|
t54 = function t54() {
|
|
12040
12042
|
return validate(valueRef.current);
|
|
12041
12043
|
};
|
|
12042
|
-
$[
|
|
12043
|
-
$[
|
|
12044
|
-
$[
|
|
12044
|
+
$[132] = validate;
|
|
12045
|
+
$[133] = valueRef;
|
|
12046
|
+
$[134] = t54;
|
|
12045
12047
|
} else {
|
|
12046
|
-
t54 = $[
|
|
12048
|
+
t54 = $[134];
|
|
12047
12049
|
}
|
|
12048
12050
|
var t55;
|
|
12049
|
-
if ($[
|
|
12051
|
+
if ($[135] !== formValueSeparator) {
|
|
12050
12052
|
t55 = function t55() {
|
|
12051
12053
|
return formValueSeparator;
|
|
12052
12054
|
};
|
|
12053
|
-
$[
|
|
12054
|
-
$[
|
|
12055
|
+
$[135] = formValueSeparator;
|
|
12056
|
+
$[136] = t55;
|
|
12055
12057
|
} else {
|
|
12056
|
-
t55 = $[
|
|
12058
|
+
t55 = $[136];
|
|
12057
12059
|
}
|
|
12058
12060
|
var t56;
|
|
12059
|
-
if ($[
|
|
12061
|
+
if ($[137] !== formValueSort) {
|
|
12060
12062
|
t56 = function t56() {
|
|
12061
12063
|
return !!formValueSort;
|
|
12062
12064
|
};
|
|
12063
|
-
$[
|
|
12064
|
-
$[
|
|
12065
|
+
$[137] = formValueSort;
|
|
12066
|
+
$[138] = t56;
|
|
12065
12067
|
} else {
|
|
12066
|
-
t56 = $[
|
|
12068
|
+
t56 = $[138];
|
|
12067
12069
|
}
|
|
12068
12070
|
var t57;
|
|
12069
|
-
if ($[
|
|
12071
|
+
if ($[139] !== itemsRef) {
|
|
12070
12072
|
t57 = function t57() {
|
|
12071
12073
|
return itemsRef.current;
|
|
12072
12074
|
};
|
|
12073
|
-
$[
|
|
12074
|
-
$[
|
|
12075
|
+
$[139] = itemsRef;
|
|
12076
|
+
$[140] = t57;
|
|
12075
12077
|
} else {
|
|
12076
|
-
t57 = $[
|
|
12078
|
+
t57 = $[140];
|
|
12077
12079
|
}
|
|
12078
12080
|
var t58;
|
|
12079
|
-
if ($[
|
|
12081
|
+
if ($[141] !== multiple) {
|
|
12080
12082
|
t58 = function t58() {
|
|
12081
12083
|
return !!multiple;
|
|
12082
12084
|
};
|
|
12083
|
-
$[
|
|
12084
|
-
$[
|
|
12085
|
+
$[141] = multiple;
|
|
12086
|
+
$[142] = t58;
|
|
12085
12087
|
} else {
|
|
12086
|
-
t58 = $[
|
|
12088
|
+
t58 = $[142];
|
|
12087
12089
|
}
|
|
12088
12090
|
var t59;
|
|
12089
|
-
if ($[
|
|
12091
|
+
if ($[143] !== loadingRef) {
|
|
12090
12092
|
t59 = function t59() {
|
|
12091
12093
|
return !!loadingRef.current;
|
|
12092
12094
|
};
|
|
12093
|
-
$[
|
|
12094
|
-
$[
|
|
12095
|
+
$[143] = loadingRef;
|
|
12096
|
+
$[144] = t59;
|
|
12095
12097
|
} else {
|
|
12096
|
-
t59 = $[
|
|
12098
|
+
t59 = $[144];
|
|
12097
12099
|
}
|
|
12098
12100
|
var t60;
|
|
12099
|
-
if ($[
|
|
12101
|
+
if ($[145] !== setLoading) {
|
|
12100
12102
|
t60 = function t60(loading_0) {
|
|
12101
12103
|
return setLoading(loading_0);
|
|
12102
12104
|
};
|
|
12103
|
-
$[
|
|
12104
|
-
$[
|
|
12105
|
+
$[145] = setLoading;
|
|
12106
|
+
$[146] = t60;
|
|
12105
12107
|
} else {
|
|
12106
|
-
t60 = $[
|
|
12108
|
+
t60 = $[146];
|
|
12107
12109
|
}
|
|
12108
12110
|
var t61;
|
|
12109
|
-
if ($[
|
|
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
|
-
$[
|
|
12121
|
-
$[
|
|
12122
|
-
$[
|
|
12123
|
-
$[
|
|
12122
|
+
$[147] = async;
|
|
12123
|
+
$[148] = onLoadItemsRef;
|
|
12124
|
+
$[149] = setItems;
|
|
12125
|
+
$[150] = t61;
|
|
12124
12126
|
} else {
|
|
12125
|
-
t61 = $[
|
|
12127
|
+
t61 = $[150];
|
|
12126
12128
|
}
|
|
12127
12129
|
var t62;
|
|
12128
|
-
if ($[
|
|
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
|
-
$[
|
|
12158
|
-
$[
|
|
12159
|
-
$[
|
|
12160
|
-
$[
|
|
12161
|
-
$[
|
|
12162
|
-
$[
|
|
12163
|
-
$[
|
|
12164
|
-
$[
|
|
12165
|
-
$[
|
|
12166
|
-
$[
|
|
12167
|
-
$[
|
|
12168
|
-
$[
|
|
12169
|
-
$[
|
|
12170
|
-
$[
|
|
12171
|
-
$[
|
|
12172
|
-
$[
|
|
12173
|
-
$[
|
|
12174
|
-
$[
|
|
12175
|
-
$[
|
|
12176
|
-
$[
|
|
12177
|
-
$[
|
|
12178
|
-
} else {
|
|
12179
|
-
t62 = $[
|
|
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 ($[
|
|
12185
|
+
if ($[172] !== id || $[173] !== onAddValueItem) {
|
|
12184
12186
|
t63 = function t63(commands_0) {
|
|
12185
12187
|
return onAddValueItem(id, commands_0);
|
|
12186
12188
|
};
|
|
12187
|
-
$[
|
|
12188
|
-
$[
|
|
12189
|
-
$[
|
|
12189
|
+
$[172] = id;
|
|
12190
|
+
$[173] = onAddValueItem;
|
|
12191
|
+
$[174] = t63;
|
|
12190
12192
|
} else {
|
|
12191
|
-
t63 = $[
|
|
12193
|
+
t63 = $[174];
|
|
12192
12194
|
}
|
|
12193
12195
|
var t64;
|
|
12194
|
-
if ($[
|
|
12196
|
+
if ($[175] !== id || $[176] !== onRemoveValueItem) {
|
|
12195
12197
|
t64 = function t64() {
|
|
12196
12198
|
return onRemoveValueItem(id);
|
|
12197
12199
|
};
|
|
12198
|
-
$[
|
|
12199
|
-
$[
|
|
12200
|
-
$[
|
|
12200
|
+
$[175] = id;
|
|
12201
|
+
$[176] = onRemoveValueItem;
|
|
12202
|
+
$[177] = t64;
|
|
12201
12203
|
} else {
|
|
12202
|
-
t64 = $[
|
|
12204
|
+
t64 = $[177];
|
|
12203
12205
|
}
|
|
12204
12206
|
reactHook.useForwardRef(ref, commands, t63, t64);
|
|
12205
12207
|
var t65;
|
|
12206
|
-
if ($[
|
|
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
|
-
$[
|
|
12251
|
-
$[
|
|
12252
|
-
$[
|
|
12253
|
-
$[
|
|
12254
|
-
$[
|
|
12255
|
-
$[
|
|
12256
|
-
$[
|
|
12257
|
-
$[
|
|
12258
|
-
$[
|
|
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 = $[
|
|
12262
|
+
t65 = $[186];
|
|
12261
12263
|
}
|
|
12262
12264
|
var handleChange = t65;
|
|
12263
12265
|
var t66;
|
|
12264
|
-
if ($[
|
|
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
|
-
$[
|
|
12273
|
-
$[
|
|
12274
|
+
$[187] = getOptionDisabled;
|
|
12275
|
+
$[188] = t66;
|
|
12274
12276
|
} else {
|
|
12275
|
-
t66 = $[
|
|
12277
|
+
t66 = $[188];
|
|
12276
12278
|
}
|
|
12277
12279
|
var handleGetOptionDisabled = t66;
|
|
12278
12280
|
var style;
|
|
12279
|
-
if ($[
|
|
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
|
-
$[
|
|
12290
|
-
$[
|
|
12291
|
-
$[
|
|
12292
|
-
$[
|
|
12291
|
+
$[189] = hidden;
|
|
12292
|
+
$[190] = initStyle;
|
|
12293
|
+
$[191] = width;
|
|
12294
|
+
$[192] = style;
|
|
12293
12295
|
} else {
|
|
12294
|
-
style = $[
|
|
12296
|
+
style = $[192];
|
|
12295
12297
|
}
|
|
12296
12298
|
var t67;
|
|
12297
|
-
if ($[
|
|
12299
|
+
if ($[193] !== items) {
|
|
12298
12300
|
t67 = items || [];
|
|
12299
|
-
$[
|
|
12300
|
-
$[
|
|
12301
|
+
$[193] = items;
|
|
12302
|
+
$[194] = t67;
|
|
12301
12303
|
} else {
|
|
12302
|
-
t67 = $[
|
|
12304
|
+
t67 = $[194];
|
|
12303
12305
|
}
|
|
12304
12306
|
var t68;
|
|
12305
|
-
if ($[
|
|
12307
|
+
if ($[195] !== className) {
|
|
12306
12308
|
t68 = classNames(className, "PFormValueItem", "PFormAutocomplete");
|
|
12307
|
-
$[
|
|
12308
|
-
$[
|
|
12309
|
+
$[195] = className;
|
|
12310
|
+
$[196] = t68;
|
|
12309
12311
|
} else {
|
|
12310
|
-
t68 = $[
|
|
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 ($[
|
|
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
|
-
$[
|
|
12321
|
-
$[
|
|
12322
|
+
$[197] = handleChange;
|
|
12323
|
+
$[198] = t72;
|
|
12322
12324
|
} else {
|
|
12323
|
-
t72 = $[
|
|
12325
|
+
t72 = $[198];
|
|
12324
12326
|
}
|
|
12325
12327
|
var t73;
|
|
12326
|
-
if ($[
|
|
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
|
-
$[
|
|
12333
|
-
$[
|
|
12334
|
+
$[199] = onRenderItem;
|
|
12335
|
+
$[200] = t73;
|
|
12334
12336
|
} else {
|
|
12335
|
-
t73 = $[
|
|
12337
|
+
t73 = $[200];
|
|
12336
12338
|
}
|
|
12337
12339
|
var t74;
|
|
12338
|
-
if ($[
|
|
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
|
-
$[
|
|
12350
|
+
$[201] = t74;
|
|
12349
12351
|
} else {
|
|
12350
|
-
t74 = $[
|
|
12352
|
+
t74 = $[201];
|
|
12351
12353
|
}
|
|
12352
12354
|
var t75;
|
|
12353
|
-
if ($[
|
|
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) {
|
|
@@ -12385,17 +12387,17 @@ function _temp$m() {
|
|
|
12385
12387
|
index: 0
|
|
12386
12388
|
})), onRenderValue(value_6));
|
|
12387
12389
|
} : undefined;
|
|
12388
|
-
$[
|
|
12389
|
-
$[
|
|
12390
|
-
$[
|
|
12391
|
-
$[
|
|
12392
|
-
$[
|
|
12393
|
-
$[
|
|
12390
|
+
$[202] = multiple;
|
|
12391
|
+
$[203] = onRenderTag;
|
|
12392
|
+
$[204] = onRenderValue;
|
|
12393
|
+
$[205] = size;
|
|
12394
|
+
$[206] = variant;
|
|
12395
|
+
$[207] = t75;
|
|
12394
12396
|
} else {
|
|
12395
|
-
t75 = $[
|
|
12397
|
+
t75 = $[207];
|
|
12396
12398
|
}
|
|
12397
12399
|
var t76;
|
|
12398
|
-
if ($[
|
|
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
|
-
$[
|
|
12451
|
-
$[
|
|
12452
|
-
$[
|
|
12453
|
-
$[
|
|
12454
|
-
$[
|
|
12455
|
-
$[
|
|
12456
|
-
$[
|
|
12457
|
-
$[
|
|
12458
|
-
$[
|
|
12459
|
-
$[
|
|
12460
|
-
$[
|
|
12461
|
-
$[
|
|
12462
|
-
$[
|
|
12463
|
-
$[
|
|
12464
|
-
$[
|
|
12465
|
-
$[
|
|
12466
|
-
$[
|
|
12467
|
-
$[
|
|
12468
|
-
$[
|
|
12469
|
-
$[
|
|
12470
|
-
$[
|
|
12471
|
-
} else {
|
|
12472
|
-
t76 = $[
|
|
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 ($[
|
|
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
|
-
$[
|
|
12503
|
-
$[
|
|
12504
|
-
$[
|
|
12505
|
-
$[
|
|
12506
|
-
$[
|
|
12507
|
-
$[
|
|
12508
|
-
$[
|
|
12509
|
-
$[
|
|
12510
|
-
$[
|
|
12511
|
-
$[
|
|
12512
|
-
$[
|
|
12513
|
-
$[
|
|
12514
|
-
$[
|
|
12515
|
-
$[
|
|
12516
|
-
$[
|
|
12517
|
-
$[
|
|
12518
|
-
$[
|
|
12519
|
-
$[
|
|
12520
|
-
$[
|
|
12521
|
-
$[
|
|
12522
|
-
$[
|
|
12523
|
-
$[
|
|
12524
|
-
$[
|
|
12525
|
-
} else {
|
|
12526
|
-
t77 = $[
|
|
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
|
}
|