@polyv/iar-questionnaire-ui 2.2.0-rc-20260402.1 → 2.2.0
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/index.cjs.js +1 -1
- package/index.es.js +2 -2
- package/index.umd.js +12 -12
- package/normal-questionnaire.cjs.js +2 -2
- package/normal-questionnaire.es.js +126 -126
- package/normal-questionnaire.umd.js +1 -1
- package/package.json +1 -1
- package/questionnaire-dialog.cjs.js +1 -1
- package/questionnaire-dialog.es.js +2 -2
- package/questionnaire-dialog.umd.js +1 -1
- package/questionnaire-filling.cjs.js +1 -1
- package/questionnaire-filling.es.js +2 -2
- package/questionnaire-filling.umd.js +1 -1
- package/questionnaire-list.cjs.js +1 -1
- package/questionnaire-list.es.js +2 -2
- package/questionnaire-list.umd.js +1 -1
- package/questionnaire-rank.cjs.js +1 -1
- package/questionnaire-rank.es.js +2 -2
- package/questionnaire-rank.umd.js +1 -1
- package/questionnaire-statistics.cjs.js +1 -1
- package/questionnaire-statistics.es.js +2 -2
- package/questionnaire-statistics.umd.js +1 -1
|
@@ -2766,18 +2766,18 @@ var K8 = "[object Arguments]";
|
|
|
2766
2766
|
function _c(e) {
|
|
2767
2767
|
return Rr(e) && Dr(e) == K8;
|
|
2768
2768
|
}
|
|
2769
|
-
var wp = Object.prototype, J8 = wp.hasOwnProperty,
|
|
2769
|
+
var wp = Object.prototype, J8 = wp.hasOwnProperty, e9 = wp.propertyIsEnumerable, bp = _c(/* @__PURE__ */ function() {
|
|
2770
2770
|
return arguments;
|
|
2771
2771
|
}()) ? _c : function(e) {
|
|
2772
|
-
return Rr(e) && J8.call(e, "callee") && !
|
|
2772
|
+
return Rr(e) && J8.call(e, "callee") && !e9.call(e, "callee");
|
|
2773
2773
|
};
|
|
2774
|
-
function
|
|
2774
|
+
function t9() {
|
|
2775
2775
|
return !1;
|
|
2776
2776
|
}
|
|
2777
|
-
var _p = typeof exports == "object" && exports && !exports.nodeType && exports, yc = _p && typeof module == "object" && module && !module.nodeType && module,
|
|
2778
|
-
Se[
|
|
2779
|
-
Se[
|
|
2780
|
-
function
|
|
2777
|
+
var _p = typeof exports == "object" && exports && !exports.nodeType && exports, yc = _p && typeof module == "object" && module && !module.nodeType && module, r9 = yc && yc.exports === _p, xc = r9 ? Ct.Buffer : void 0, o9 = xc ? xc.isBuffer : void 0, yp = o9 || t9, i9 = "[object Arguments]", n9 = "[object Array]", a9 = "[object Boolean]", s9 = "[object Date]", l9 = "[object Error]", c9 = "[object Function]", p9 = "[object Map]", u9 = "[object Number]", d9 = "[object Object]", f9 = "[object RegExp]", m9 = "[object Set]", h9 = "[object String]", g9 = "[object WeakMap]", v9 = "[object ArrayBuffer]", w9 = "[object DataView]", b9 = "[object Float32Array]", _9 = "[object Float64Array]", y9 = "[object Int8Array]", x9 = "[object Int16Array]", C9 = "[object Int32Array]", L9 = "[object Uint8Array]", S9 = "[object Uint8ClampedArray]", k9 = "[object Uint16Array]", P9 = "[object Uint32Array]", Se = {};
|
|
2778
|
+
Se[b9] = Se[_9] = Se[y9] = Se[x9] = Se[C9] = Se[L9] = Se[S9] = Se[k9] = Se[P9] = !0;
|
|
2779
|
+
Se[i9] = Se[n9] = Se[v9] = Se[a9] = Se[w9] = Se[s9] = Se[l9] = Se[c9] = Se[p9] = Se[u9] = Se[d9] = Se[f9] = Se[m9] = Se[h9] = Se[g9] = !1;
|
|
2780
|
+
function T9(e) {
|
|
2781
2781
|
return Rr(e) && vp(e.length) && !!Se[Dr(e)];
|
|
2782
2782
|
}
|
|
2783
2783
|
function Es(e) {
|
|
@@ -2785,15 +2785,15 @@ function Es(e) {
|
|
|
2785
2785
|
return e(t);
|
|
2786
2786
|
};
|
|
2787
2787
|
}
|
|
2788
|
-
var xp = typeof exports == "object" && exports && !exports.nodeType && exports, Xo = xp && typeof module == "object" && module && !module.nodeType && module,
|
|
2788
|
+
var xp = typeof exports == "object" && exports && !exports.nodeType && exports, Xo = xp && typeof module == "object" && module && !module.nodeType && module, Q9 = Xo && Xo.exports === xp, ea = Q9 && cp.process, yo = function() {
|
|
2789
2789
|
try {
|
|
2790
2790
|
var e = Xo && Xo.require && Xo.require("util").types;
|
|
2791
2791
|
return e || ea && ea.binding && ea.binding("util");
|
|
2792
2792
|
} catch (t) {
|
|
2793
2793
|
}
|
|
2794
|
-
}(), Cc = yo && yo.isTypedArray,
|
|
2795
|
-
function
|
|
2796
|
-
var r = Or(e), o = !r && bp(e), i = !r && !o && yp(e), n = !r && !o && !i &&
|
|
2794
|
+
}(), Cc = yo && yo.isTypedArray, E9 = Cc ? Es(Cc) : T9;
|
|
2795
|
+
function I9(e, t) {
|
|
2796
|
+
var r = Or(e), o = !r && bp(e), i = !r && !o && yp(e), n = !r && !o && !i && E9(e), a = r || o || i || n, s = a ? X8(e.length, String) : [], l = s.length;
|
|
2797
2797
|
for (var c in e)
|
|
2798
2798
|
a && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
2799
2799
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -2802,63 +2802,63 @@ function I4(e, t) {
|
|
|
2802
2802
|
N8(c, l)) || s.push(c);
|
|
2803
2803
|
return s;
|
|
2804
2804
|
}
|
|
2805
|
-
function
|
|
2805
|
+
function M9(e, t) {
|
|
2806
2806
|
return function(r) {
|
|
2807
2807
|
return e(t(r));
|
|
2808
2808
|
};
|
|
2809
2809
|
}
|
|
2810
|
-
function
|
|
2810
|
+
function A9(e) {
|
|
2811
2811
|
var t = [];
|
|
2812
2812
|
if (e != null)
|
|
2813
2813
|
for (var r in Object(e))
|
|
2814
2814
|
t.push(r);
|
|
2815
2815
|
return t;
|
|
2816
2816
|
}
|
|
2817
|
-
var
|
|
2818
|
-
function
|
|
2817
|
+
var z9 = Object.prototype, D9 = z9.hasOwnProperty;
|
|
2818
|
+
function R9(e) {
|
|
2819
2819
|
if (!Ir(e))
|
|
2820
|
-
return
|
|
2820
|
+
return A9(e);
|
|
2821
2821
|
var t = G8(e), r = [];
|
|
2822
2822
|
for (var o in e)
|
|
2823
|
-
o == "constructor" && (t || !
|
|
2823
|
+
o == "constructor" && (t || !D9.call(e, o)) || r.push(o);
|
|
2824
2824
|
return r;
|
|
2825
2825
|
}
|
|
2826
|
-
function
|
|
2827
|
-
return Z8(e) ?
|
|
2826
|
+
function O9(e) {
|
|
2827
|
+
return Z8(e) ? I9(e) : R9(e);
|
|
2828
2828
|
}
|
|
2829
|
-
var $
|
|
2830
|
-
function
|
|
2829
|
+
var $9 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, V9 = /^\w*$/;
|
|
2830
|
+
function B9(e, t) {
|
|
2831
2831
|
if (Or(e))
|
|
2832
2832
|
return !1;
|
|
2833
2833
|
var r = typeof e;
|
|
2834
|
-
return r == "number" || r == "symbol" || r == "boolean" || e == null || In(e) ? !0 :
|
|
2834
|
+
return r == "number" || r == "symbol" || r == "boolean" || e == null || In(e) ? !0 : V9.test(e) || !$9.test(e) || t != null && e in Object(t);
|
|
2835
2835
|
}
|
|
2836
2836
|
var si = Vr(Object, "create");
|
|
2837
|
-
function
|
|
2837
|
+
function F9() {
|
|
2838
2838
|
this.__data__ = si ? si(null) : {}, this.size = 0;
|
|
2839
2839
|
}
|
|
2840
|
-
function
|
|
2840
|
+
function N9(e) {
|
|
2841
2841
|
var t = this.has(e) && delete this.__data__[e];
|
|
2842
2842
|
return this.size -= t ? 1 : 0, t;
|
|
2843
2843
|
}
|
|
2844
|
-
var
|
|
2845
|
-
function
|
|
2844
|
+
var j9 = "__lodash_hash_undefined__", U9 = Object.prototype, q9 = U9.hasOwnProperty;
|
|
2845
|
+
function W9(e) {
|
|
2846
2846
|
var t = this.__data__;
|
|
2847
2847
|
if (si) {
|
|
2848
2848
|
var r = t[e];
|
|
2849
|
-
return r ===
|
|
2849
|
+
return r === j9 ? void 0 : r;
|
|
2850
2850
|
}
|
|
2851
|
-
return
|
|
2851
|
+
return q9.call(t, e) ? t[e] : void 0;
|
|
2852
2852
|
}
|
|
2853
|
-
var
|
|
2854
|
-
function
|
|
2853
|
+
var H9 = Object.prototype, Z9 = H9.hasOwnProperty;
|
|
2854
|
+
function Y9(e) {
|
|
2855
2855
|
var t = this.__data__;
|
|
2856
|
-
return si ? t[e] !== void 0 :
|
|
2856
|
+
return si ? t[e] !== void 0 : Z9.call(t, e);
|
|
2857
2857
|
}
|
|
2858
|
-
var
|
|
2859
|
-
function
|
|
2858
|
+
var G9 = "__lodash_hash_undefined__";
|
|
2859
|
+
function X9(e, t) {
|
|
2860
2860
|
var r = this.__data__;
|
|
2861
|
-
return this.size += this.has(e) ? 0 : 1, r[e] = si && t === void 0 ?
|
|
2861
|
+
return this.size += this.has(e) ? 0 : 1, r[e] = si && t === void 0 ? G9 : t, this;
|
|
2862
2862
|
}
|
|
2863
2863
|
function Mr(e) {
|
|
2864
2864
|
var t = -1, r = e == null ? 0 : e.length;
|
|
@@ -2867,12 +2867,12 @@ function Mr(e) {
|
|
|
2867
2867
|
this.set(o[0], o[1]);
|
|
2868
2868
|
}
|
|
2869
2869
|
}
|
|
2870
|
-
Mr.prototype.clear =
|
|
2871
|
-
Mr.prototype.delete =
|
|
2872
|
-
Mr.prototype.get =
|
|
2873
|
-
Mr.prototype.has =
|
|
2874
|
-
Mr.prototype.set =
|
|
2875
|
-
function
|
|
2870
|
+
Mr.prototype.clear = F9;
|
|
2871
|
+
Mr.prototype.delete = N9;
|
|
2872
|
+
Mr.prototype.get = W9;
|
|
2873
|
+
Mr.prototype.has = Y9;
|
|
2874
|
+
Mr.prototype.set = X9;
|
|
2875
|
+
function K9() {
|
|
2876
2876
|
this.__data__ = [], this.size = 0;
|
|
2877
2877
|
}
|
|
2878
2878
|
function Mn(e, t) {
|
|
@@ -2881,22 +2881,22 @@ function Mn(e, t) {
|
|
|
2881
2881
|
return r;
|
|
2882
2882
|
return -1;
|
|
2883
2883
|
}
|
|
2884
|
-
var
|
|
2885
|
-
function
|
|
2884
|
+
var J9 = Array.prototype, e4 = J9.splice;
|
|
2885
|
+
function t4(e) {
|
|
2886
2886
|
var t = this.__data__, r = Mn(t, e);
|
|
2887
2887
|
if (r < 0)
|
|
2888
2888
|
return !1;
|
|
2889
2889
|
var o = t.length - 1;
|
|
2890
|
-
return r == o ? t.pop() :
|
|
2890
|
+
return r == o ? t.pop() : e4.call(t, r, 1), --this.size, !0;
|
|
2891
2891
|
}
|
|
2892
|
-
function
|
|
2892
|
+
function r4(e) {
|
|
2893
2893
|
var t = this.__data__, r = Mn(t, e);
|
|
2894
2894
|
return r < 0 ? void 0 : t[r][1];
|
|
2895
2895
|
}
|
|
2896
|
-
function
|
|
2896
|
+
function o4(e) {
|
|
2897
2897
|
return Mn(this.__data__, e) > -1;
|
|
2898
2898
|
}
|
|
2899
|
-
function
|
|
2899
|
+
function i4(e, t) {
|
|
2900
2900
|
var r = this.__data__, o = Mn(r, e);
|
|
2901
2901
|
return o < 0 ? (++this.size, r.push([e, t])) : r[o][1] = t, this;
|
|
2902
2902
|
}
|
|
@@ -2907,38 +2907,38 @@ function Gt(e) {
|
|
|
2907
2907
|
this.set(o[0], o[1]);
|
|
2908
2908
|
}
|
|
2909
2909
|
}
|
|
2910
|
-
Gt.prototype.clear =
|
|
2911
|
-
Gt.prototype.delete =
|
|
2912
|
-
Gt.prototype.get =
|
|
2913
|
-
Gt.prototype.has =
|
|
2914
|
-
Gt.prototype.set =
|
|
2910
|
+
Gt.prototype.clear = K9;
|
|
2911
|
+
Gt.prototype.delete = t4;
|
|
2912
|
+
Gt.prototype.get = r4;
|
|
2913
|
+
Gt.prototype.has = o4;
|
|
2914
|
+
Gt.prototype.set = i4;
|
|
2915
2915
|
var li = Vr(Ct, "Map");
|
|
2916
|
-
function
|
|
2916
|
+
function n4() {
|
|
2917
2917
|
this.size = 0, this.__data__ = {
|
|
2918
2918
|
hash: new Mr(),
|
|
2919
2919
|
map: new (li || Gt)(),
|
|
2920
2920
|
string: new Mr()
|
|
2921
2921
|
};
|
|
2922
2922
|
}
|
|
2923
|
-
function
|
|
2923
|
+
function a4(e) {
|
|
2924
2924
|
var t = typeof e;
|
|
2925
2925
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
2926
2926
|
}
|
|
2927
2927
|
function An(e, t) {
|
|
2928
2928
|
var r = e.__data__;
|
|
2929
|
-
return
|
|
2929
|
+
return a4(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
|
|
2930
2930
|
}
|
|
2931
|
-
function
|
|
2931
|
+
function s4(e) {
|
|
2932
2932
|
var t = An(this, e).delete(e);
|
|
2933
2933
|
return this.size -= t ? 1 : 0, t;
|
|
2934
2934
|
}
|
|
2935
|
-
function
|
|
2935
|
+
function l4(e) {
|
|
2936
2936
|
return An(this, e).get(e);
|
|
2937
2937
|
}
|
|
2938
|
-
function
|
|
2938
|
+
function c4(e) {
|
|
2939
2939
|
return An(this, e).has(e);
|
|
2940
2940
|
}
|
|
2941
|
-
function
|
|
2941
|
+
function p4(e, t) {
|
|
2942
2942
|
var r = An(this, e), o = r.size;
|
|
2943
2943
|
return r.set(e, t), this.size += r.size == o ? 0 : 1, this;
|
|
2944
2944
|
}
|
|
@@ -2949,15 +2949,15 @@ function dr(e) {
|
|
|
2949
2949
|
this.set(o[0], o[1]);
|
|
2950
2950
|
}
|
|
2951
2951
|
}
|
|
2952
|
-
dr.prototype.clear =
|
|
2953
|
-
dr.prototype.delete =
|
|
2954
|
-
dr.prototype.get =
|
|
2955
|
-
dr.prototype.has =
|
|
2956
|
-
dr.prototype.set =
|
|
2957
|
-
var
|
|
2952
|
+
dr.prototype.clear = n4;
|
|
2953
|
+
dr.prototype.delete = s4;
|
|
2954
|
+
dr.prototype.get = l4;
|
|
2955
|
+
dr.prototype.has = c4;
|
|
2956
|
+
dr.prototype.set = p4;
|
|
2957
|
+
var u4 = "Expected a function";
|
|
2958
2958
|
function Is(e, t) {
|
|
2959
2959
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
2960
|
-
throw new TypeError(
|
|
2960
|
+
throw new TypeError(u4);
|
|
2961
2961
|
var r = function() {
|
|
2962
2962
|
var o = arguments, i = t ? t.apply(this, o) : o[0], n = r.cache;
|
|
2963
2963
|
if (n.has(i))
|
|
@@ -2968,24 +2968,24 @@ function Is(e, t) {
|
|
|
2968
2968
|
return r.cache = new (Is.Cache || dr)(), r;
|
|
2969
2969
|
}
|
|
2970
2970
|
Is.Cache = dr;
|
|
2971
|
-
var
|
|
2972
|
-
function
|
|
2971
|
+
var d4 = 500;
|
|
2972
|
+
function f4(e) {
|
|
2973
2973
|
var t = Is(e, function(o) {
|
|
2974
|
-
return r.size ===
|
|
2974
|
+
return r.size === d4 && r.clear(), o;
|
|
2975
2975
|
}), r = t.cache;
|
|
2976
2976
|
return t;
|
|
2977
2977
|
}
|
|
2978
|
-
var
|
|
2978
|
+
var m4 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, h4 = /\\(\\)?/g, g4 = f4(function(e) {
|
|
2979
2979
|
var t = [];
|
|
2980
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(
|
|
2981
|
-
t.push(i ? n.replace(
|
|
2980
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(m4, function(r, o, i, n) {
|
|
2981
|
+
t.push(i ? n.replace(h4, "$1") : o || r);
|
|
2982
2982
|
}), t;
|
|
2983
2983
|
});
|
|
2984
|
-
function
|
|
2984
|
+
function v4(e) {
|
|
2985
2985
|
return e == null ? "" : dp(e);
|
|
2986
2986
|
}
|
|
2987
2987
|
function Ms(e, t) {
|
|
2988
|
-
return Or(e) ? e :
|
|
2988
|
+
return Or(e) ? e : B9(e, t) ? [e] : g4(v4(e));
|
|
2989
2989
|
}
|
|
2990
2990
|
function Cp(e) {
|
|
2991
2991
|
if (typeof e == "string" || In(e))
|
|
@@ -2993,7 +2993,7 @@ function Cp(e) {
|
|
|
2993
2993
|
var t = e + "";
|
|
2994
2994
|
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
2995
2995
|
}
|
|
2996
|
-
function
|
|
2996
|
+
function w4(e, t) {
|
|
2997
2997
|
t = Ms(t, e);
|
|
2998
2998
|
for (var r = 0, o = t.length; e != null && r < o; )
|
|
2999
2999
|
e = e[Cp(t[r++])];
|
|
@@ -3005,60 +3005,60 @@ function As(e, t) {
|
|
|
3005
3005
|
return e;
|
|
3006
3006
|
}
|
|
3007
3007
|
var Lc = Dt ? Dt.isConcatSpreadable : void 0;
|
|
3008
|
-
function
|
|
3008
|
+
function b4(e) {
|
|
3009
3009
|
return Or(e) || bp(e) || !!(Lc && e && e[Lc]);
|
|
3010
3010
|
}
|
|
3011
|
-
function
|
|
3011
|
+
function _4(e, t, r, o, i) {
|
|
3012
3012
|
var n = -1, a = e.length;
|
|
3013
|
-
for (r || (r =
|
|
3013
|
+
for (r || (r = b4), i || (i = []); ++n < a; ) {
|
|
3014
3014
|
var s = e[n];
|
|
3015
3015
|
r(s) ? As(i, s) : i[i.length] = s;
|
|
3016
3016
|
}
|
|
3017
3017
|
return i;
|
|
3018
3018
|
}
|
|
3019
|
-
function
|
|
3019
|
+
function y4(e) {
|
|
3020
3020
|
var t = e == null ? 0 : e.length;
|
|
3021
|
-
return t ?
|
|
3021
|
+
return t ? _4(e) : [];
|
|
3022
3022
|
}
|
|
3023
|
-
function
|
|
3024
|
-
return $8(W8(e, void 0,
|
|
3023
|
+
function x4(e) {
|
|
3024
|
+
return $8(W8(e, void 0, y4), e + "");
|
|
3025
3025
|
}
|
|
3026
|
-
var Lp =
|
|
3027
|
-
function
|
|
3028
|
-
if (!Rr(e) || Dr(e) !=
|
|
3026
|
+
var Lp = M9(Object.getPrototypeOf, Object), C4 = "[object Object]", L4 = Function.prototype, S4 = Object.prototype, Sp = L4.toString, k4 = S4.hasOwnProperty, P4 = Sp.call(Object);
|
|
3027
|
+
function T4(e) {
|
|
3028
|
+
if (!Rr(e) || Dr(e) != C4)
|
|
3029
3029
|
return !1;
|
|
3030
3030
|
var t = Lp(e);
|
|
3031
3031
|
if (t === null)
|
|
3032
3032
|
return !0;
|
|
3033
|
-
var r =
|
|
3034
|
-
return typeof r == "function" && r instanceof r && Sp.call(r) ==
|
|
3033
|
+
var r = k4.call(t, "constructor") && t.constructor;
|
|
3034
|
+
return typeof r == "function" && r instanceof r && Sp.call(r) == P4;
|
|
3035
3035
|
}
|
|
3036
|
-
function
|
|
3036
|
+
function Q4(e, t, r) {
|
|
3037
3037
|
var o = -1, i = e.length;
|
|
3038
3038
|
t < 0 && (t = -t > i ? 0 : i + t), r = r > i ? i : r, r < 0 && (r += i), i = t > r ? 0 : r - t >>> 0, t >>>= 0;
|
|
3039
3039
|
for (var n = Array(i); ++o < i; )
|
|
3040
3040
|
n[o] = e[o + t];
|
|
3041
3041
|
return n;
|
|
3042
3042
|
}
|
|
3043
|
-
function
|
|
3043
|
+
function E4() {
|
|
3044
3044
|
this.__data__ = new Gt(), this.size = 0;
|
|
3045
3045
|
}
|
|
3046
|
-
function
|
|
3046
|
+
function I4(e) {
|
|
3047
3047
|
var t = this.__data__, r = t.delete(e);
|
|
3048
3048
|
return this.size = t.size, r;
|
|
3049
3049
|
}
|
|
3050
|
-
function
|
|
3050
|
+
function M4(e) {
|
|
3051
3051
|
return this.__data__.get(e);
|
|
3052
3052
|
}
|
|
3053
|
-
function
|
|
3053
|
+
function A4(e) {
|
|
3054
3054
|
return this.__data__.has(e);
|
|
3055
3055
|
}
|
|
3056
|
-
var
|
|
3057
|
-
function
|
|
3056
|
+
var z4 = 200;
|
|
3057
|
+
function D4(e, t) {
|
|
3058
3058
|
var r = this.__data__;
|
|
3059
3059
|
if (r instanceof Gt) {
|
|
3060
3060
|
var o = r.__data__;
|
|
3061
|
-
if (!li || o.length <
|
|
3061
|
+
if (!li || o.length < z4 - 1)
|
|
3062
3062
|
return o.push([e, t]), this.size = ++r.size, this;
|
|
3063
3063
|
r = this.__data__ = new dr(o);
|
|
3064
3064
|
}
|
|
@@ -3068,17 +3068,17 @@ function To(e) {
|
|
|
3068
3068
|
var t = this.__data__ = new Gt(e);
|
|
3069
3069
|
this.size = t.size;
|
|
3070
3070
|
}
|
|
3071
|
-
To.prototype.clear =
|
|
3072
|
-
To.prototype.delete =
|
|
3073
|
-
To.prototype.get =
|
|
3074
|
-
To.prototype.has =
|
|
3075
|
-
To.prototype.set =
|
|
3076
|
-
var kp = typeof exports == "object" && exports && !exports.nodeType && exports, Sc = kp && typeof module == "object" && module && !module.nodeType && module,
|
|
3071
|
+
To.prototype.clear = E4;
|
|
3072
|
+
To.prototype.delete = I4;
|
|
3073
|
+
To.prototype.get = M4;
|
|
3074
|
+
To.prototype.has = A4;
|
|
3075
|
+
To.prototype.set = D4;
|
|
3076
|
+
var kp = typeof exports == "object" && exports && !exports.nodeType && exports, Sc = kp && typeof module == "object" && module && !module.nodeType && module, R4 = Sc && Sc.exports === kp, kc = R4 ? Ct.Buffer : void 0;
|
|
3077
3077
|
kc && kc.allocUnsafe;
|
|
3078
|
-
function
|
|
3078
|
+
function O4(e, t) {
|
|
3079
3079
|
return e.slice();
|
|
3080
3080
|
}
|
|
3081
|
-
function $
|
|
3081
|
+
function $4(e, t) {
|
|
3082
3082
|
for (var r = -1, o = e == null ? 0 : e.length, i = 0, n = []; ++r < o; ) {
|
|
3083
3083
|
var a = e[r];
|
|
3084
3084
|
t(a, r, e) && (n[i++] = a);
|
|
@@ -3088,44 +3088,44 @@ function $9(e, t) {
|
|
|
3088
3088
|
function Pp() {
|
|
3089
3089
|
return [];
|
|
3090
3090
|
}
|
|
3091
|
-
var
|
|
3092
|
-
return e == null ? [] : (e = Object(e), $
|
|
3093
|
-
return
|
|
3091
|
+
var V4 = Object.prototype, B4 = V4.propertyIsEnumerable, Pc = Object.getOwnPropertySymbols, F4 = Pc ? function(e) {
|
|
3092
|
+
return e == null ? [] : (e = Object(e), $4(Pc(e), function(t) {
|
|
3093
|
+
return B4.call(e, t);
|
|
3094
3094
|
}));
|
|
3095
|
-
} : Pp,
|
|
3095
|
+
} : Pp, N4 = Object.getOwnPropertySymbols, j4 = N4 ? function(e) {
|
|
3096
3096
|
for (var t = []; e; )
|
|
3097
|
-
As(t,
|
|
3097
|
+
As(t, F4(e)), e = Lp(e);
|
|
3098
3098
|
return t;
|
|
3099
3099
|
} : Pp;
|
|
3100
|
-
function
|
|
3100
|
+
function U4(e, t, r) {
|
|
3101
3101
|
var o = t(e);
|
|
3102
3102
|
return Or(e) ? o : As(o, r(e));
|
|
3103
3103
|
}
|
|
3104
3104
|
function Tp(e) {
|
|
3105
|
-
return
|
|
3105
|
+
return U4(e, O9, j4);
|
|
3106
3106
|
}
|
|
3107
|
-
var qa = Vr(Ct, "DataView"), Wa = Vr(Ct, "Promise"), Ha = Vr(Ct, "Set"), Tc = "[object Map]",
|
|
3107
|
+
var qa = Vr(Ct, "DataView"), Wa = Vr(Ct, "Promise"), Ha = Vr(Ct, "Set"), Tc = "[object Map]", q4 = "[object Object]", Qc = "[object Promise]", Ec = "[object Set]", Ic = "[object WeakMap]", Mc = "[object DataView]", W4 = $r(qa), H4 = $r(li), Z4 = $r(Wa), Y4 = $r(Ha), G4 = $r(Ua), Nt = Dr;
|
|
3108
3108
|
(qa && Nt(new qa(new ArrayBuffer(1))) != Mc || li && Nt(new li()) != Tc || Wa && Nt(Wa.resolve()) != Qc || Ha && Nt(new Ha()) != Ec || Ua && Nt(new Ua()) != Ic) && (Nt = function(e) {
|
|
3109
|
-
var t = Dr(e), r = t ==
|
|
3109
|
+
var t = Dr(e), r = t == q4 ? e.constructor : void 0, o = r ? $r(r) : "";
|
|
3110
3110
|
if (o)
|
|
3111
3111
|
switch (o) {
|
|
3112
|
-
case
|
|
3112
|
+
case W4:
|
|
3113
3113
|
return Mc;
|
|
3114
|
-
case
|
|
3114
|
+
case H4:
|
|
3115
3115
|
return Tc;
|
|
3116
|
-
case
|
|
3116
|
+
case Z4:
|
|
3117
3117
|
return Qc;
|
|
3118
|
-
case
|
|
3118
|
+
case Y4:
|
|
3119
3119
|
return Ec;
|
|
3120
|
-
case
|
|
3120
|
+
case G4:
|
|
3121
3121
|
return Ic;
|
|
3122
3122
|
}
|
|
3123
3123
|
return t;
|
|
3124
3124
|
});
|
|
3125
|
-
var
|
|
3126
|
-
function
|
|
3125
|
+
var X4 = Object.prototype, K4 = X4.hasOwnProperty;
|
|
3126
|
+
function J4(e) {
|
|
3127
3127
|
var t = e.length, r = new e.constructor(t);
|
|
3128
|
-
return t && typeof e[0] == "string" &&
|
|
3128
|
+
return t && typeof e[0] == "string" && K4.call(e, "index") && (r.index = e.index, r.input = e.input), r;
|
|
3129
3129
|
}
|
|
3130
3130
|
var Ac = Ct.Uint8Array;
|
|
3131
3131
|
function zs(e) {
|
|
@@ -3202,11 +3202,11 @@ function Ki(e, t, r, o, i, n) {
|
|
|
3202
3202
|
return e;
|
|
3203
3203
|
var s = Or(e);
|
|
3204
3204
|
if (s)
|
|
3205
|
-
a =
|
|
3205
|
+
a = J4(e);
|
|
3206
3206
|
else {
|
|
3207
3207
|
var l = Nt(e), c = l == Ep || l == D7;
|
|
3208
3208
|
if (yp(e))
|
|
3209
|
-
return
|
|
3209
|
+
return O4(e);
|
|
3210
3210
|
if (l == Ip || l == Qp || c && !i)
|
|
3211
3211
|
a = {};
|
|
3212
3212
|
else {
|
|
@@ -3284,7 +3284,7 @@ function o5(e) {
|
|
|
3284
3284
|
return t ? e[t - 1] : void 0;
|
|
3285
3285
|
}
|
|
3286
3286
|
function i5(e, t) {
|
|
3287
|
-
return t.length < 2 ? e :
|
|
3287
|
+
return t.length < 2 ? e : w4(e, Q4(t, 0, -1));
|
|
3288
3288
|
}
|
|
3289
3289
|
function Ap(e) {
|
|
3290
3290
|
return e == null;
|
|
@@ -3293,9 +3293,9 @@ function n5(e, t) {
|
|
|
3293
3293
|
return t = Ms(t, e), e = i5(e, t), e == null || delete e[Cp(o5(t))];
|
|
3294
3294
|
}
|
|
3295
3295
|
function a5(e) {
|
|
3296
|
-
return
|
|
3296
|
+
return T4(e) ? void 0 : e;
|
|
3297
3297
|
}
|
|
3298
|
-
var s5 = 1, l5 = 2, c5 = 4, p5 =
|
|
3298
|
+
var s5 = 1, l5 = 2, c5 = 4, p5 = x4(function(e, t) {
|
|
3299
3299
|
var r = {};
|
|
3300
3300
|
if (e == null)
|
|
3301
3301
|
return r;
|
|
@@ -30754,8 +30754,8 @@ const wB = fB.exports;
|
|
|
30754
30754
|
console.log(
|
|
30755
30755
|
"%c@polyv/iar-questionnaire-ui",
|
|
30756
30756
|
"background:#409EFF;padding: 2px 6px;border-radius: 3px;color: #fff",
|
|
30757
|
-
"[version: 2.2.0
|
|
30758
|
-
"[buildTime: 2026-04-
|
|
30757
|
+
"[version: 2.2.0]",
|
|
30758
|
+
"[buildTime: 2026-04-03 07:30:32]"
|
|
30759
30759
|
);
|
|
30760
30760
|
export {
|
|
30761
30761
|
wB as default
|
|
@@ -1110,4 +1110,4 @@ ${Pi(r)}`),o}})}function N0(e){const t=Object.keys(e),r=t.filter(i=>{var n;retur
|
|
|
1110
1110
|
/>
|
|
1111
1111
|
</g>
|
|
1112
1112
|
</svg>
|
|
1113
|
-
`),_V=c.defineComponent({__name:"question-star",setup(e){const{answerValue:t,isDisabled:r,emitInput:o}=Zt();function i(a){return a+1<=c.unref(t)}function n(a){if(r.value)return;const s=a+1;if(c.unref(t)===s){o(0);return}o(s)}return{__sfc:!0,answerValue:t,isDisabled:r,emitInput:o,isActive:i,onClickItem:n,QuestionInfo:Nr,QuestionnaireIconStar:bV}}});var yV=function(){var t=this,r=t._self._c,o=t._self._setupProxy;return r("div",{staticClass:"plv-iar-questionnaire__question-star"},[r(o.QuestionInfo,{attrs:{"show-type":!1}}),r("div",{staticClass:"plv-iar-questionnaire__question-star__list"},t._l(Array(5),function(i,n){return r(o.QuestionnaireIconStar,{key:n,staticClass:"plv-iar-questionnaire__question-star__item",class:{"is-active":o.isActive(n),"is-disabled":o.isDisabled},on:{click:function(a){return o.onClickItem(n)}}})}),1)],1)},xV=[],CV=ct(_V,yV,xV);const LV=CV.exports,SV=c.defineComponent({__name:"question-vote",setup(e){const{question:t,answerValue:r,emitInput:o,isDisabled:i,showStatistics:n}=Zt();function a(s){o(s)}return{__sfc:!0,question:t,answerValue:r,emitInput:o,isDisabled:i,showStatistics:n,onRadioInput:a,PwcRadio:gi,PwcRadioGroup:Pn,QuestionInfo:Nr,getOptionText:yi}}});var kV=function(){var t=this,r=t._self._c,o=t._self._setupProxy;return r("div",{staticClass:"plv-iar-questionnaire__question-vote"},[r(o.QuestionInfo),r(o.PwcRadioGroup,{attrs:{value:o.answerValue},on:{input:o.onRadioInput}},t._l(o.question.options,function(i,n){return r("div",{key:n,staticClass:"plv-iar-questionnaire__question-option__item"},[r(o.PwcRadio,{staticClass:"plv-iar-questionnaire__question-option__item__content",attrs:{"radio-value":i.id,"show-background":"",disabled:o.isDisabled}},[r("span",[t._v(t._s(o.getOptionText(i)))])]),o.showStatistics?r("div",{staticClass:"plv-iar-questionnaire__question-option__item__statistics"},[t._v(" "+t._s(i.answerCount)+"人("+t._s(i.answerPercent)+"%) ")]):t._e()],1)}),0)],1)},PV=[],TV=ct(SV,kV,PV);const QV=TV.exports,EV=c.defineComponent({__name:"question-item",props:P$(),emits:T$(),setup(e,{expose:t,emit:r}){const o=e,{QuestionItemType:i}=al(),{injectData:n,isError:a,errorMessage:s,questionType:l,wrapRef:p}=Q$({props:o,emit:r});return t(n),{__sfc:!0,props:o,emit:r,QuestionItemType:i,injectData:n,isError:a,errorMessage:s,questionType:l,wrapRef:p,QuestionCheckbox:N$,QuestionFill:Y$,QuestionJudgement:H$,QuestionQuestion:iV,QuestionRadio:cV,QuestionScor:mV,QuestionStar:LV,QuestionVote:QV}}});var MV=function(){var t=this,r=t._self._c,o=t._self._setupProxy;return r("div",{ref:"wrapRef",staticClass:"plv-iar-questionnaire__question-item"},[o.questionType===o.QuestionItemType.Radio?r(o.QuestionRadio):o.questionType===o.QuestionItemType.CheckBox?r(o.QuestionCheckbox):o.questionType===o.QuestionItemType.Question?r(o.QuestionQuestion):o.questionType===o.QuestionItemType.Judgement?r(o.QuestionJudgement):o.questionType===o.QuestionItemType.Star?r(o.QuestionStar):o.questionType===o.QuestionItemType.Scor?r(o.QuestionScor):o.questionType===o.QuestionItemType.Fill?r(o.QuestionFill):o.questionType===o.QuestionItemType.Vote?r(o.QuestionVote):t._e(),o.isError?r("div",{staticClass:"plv-iar-questionnaire__question-item__error-message"},[t._v(" "+t._s(o.errorMessage)+" ")]):t._e()],1)},IV=[],AV=ct(EV,MV,IV);const zV=AV.exports,DV=c.defineComponent({__name:"normal-questionnaire",props:X(O({},w$()),{questionnaireData:v.object()}),emits:{submit:q()},setup(e,{emit:t}){const r=e,{questionnaireTarget:o}=b$({props:r}),{$t:i}=pr(),{toast:n}=Qt(),a=c.computed(()=>{var b;return((b=r.questionnaireData)==null?void 0:b.questions)||[]}),{answer:s,isFinishQuestionnaire:l,getSubmitAnswer:p}=k$({questions:a,questionnaireTarget:o}),u=c.ref(-1),d=c.computed(()=>{var g;const b=u.value;return(g=a.value[b])==null?void 0:g.questionId});c.watch(()=>r.questionnaireData,()=>{a.value.length?u.value=0:u.value=-1},{immediate:!0});function m(){u.value<=0||(u.value-=1)}function f(){if(u.value>=a.value.length-1){if(!l.value){n.error(i("questionnaire.finishError"));return}const b=p();t("submit",b);return}u.value+=1}const w=c.computed(()=>u.value>=a.value.length-1?i("common.submit"):i("questionnaire.nextQuestion")),h=c.computed(()=>u.value>=a.value.length-1?!l.value:!1);return{__sfc:!0,props:r,emit:t,questionnaireTarget:o,$t:i,toast:n,questions:a,answer:s,isFinishQuestionnaire:l,getSubmitAnswer:p,currentIndex:u,currentQuestionId:d,toPrev:m,toNext:f,nextText:w,nextDisabled:h,PwcButton:Ve,QuestionItem:zV}}});var RV=function(){var t=this,r=t._self._c,o=t._self._setupProxy;return t.questionnaireData?r("div",{staticClass:"plv-iar-normal-questionnaire"},[r("div",{staticClass:"plv-iar-normal-questionnaire__title"},[t._v(t._s(t.questionnaireData.questionnaireTitle))]),o.currentQuestionId?r("div",{staticClass:"plv-iar-normal-questionnaire__body"},[r("div",{staticClass:"plv-iar-normal-questionnaire__panel"},[r("div",{staticClass:"plv-iar-normal-questionnaire__index plv-font-din-pro-regular"},[t._v(" "+t._s(o.currentIndex+1)),r("span",[t._v("/"+t._s(o.questions.length))])]),r(o.QuestionItem,{key:o.currentQuestionId,attrs:{question:o.questions[o.currentIndex]},model:{value:o.answer[o.currentQuestionId],callback:function(i){t.$set(o.answer,o.currentQuestionId,i)},expression:"answer[currentQuestionId]"}})],1)]):t._e(),r("div",{staticClass:"plv-iar-normal-questionnaire__control"},[r(o.PwcButton,{staticClass:"plv-iar-normal-questionnaire__control__btn",attrs:{outline:"",disabled:o.currentIndex<=0},on:{click:o.toPrev}},[t._v(" "+t._s(o.$t("questionnaire.prevQuestion"))+" ")]),r(o.PwcButton,{staticClass:"plv-iar-normal-questionnaire__control__btn",attrs:{disabled:o.nextDisabled},on:{click:o.toNext}},[t._v(" "+t._s(o.nextText)+" ")])],1)]):t._e()},OV=[],$V=ct(DV,RV,OV);return $V.exports});console.log("%c@polyv/iar-questionnaire-ui","background:#409EFF;padding: 2px 6px;border-radius: 3px;color: #fff","[version: 2.2.0
|
|
1113
|
+
`),_V=c.defineComponent({__name:"question-star",setup(e){const{answerValue:t,isDisabled:r,emitInput:o}=Zt();function i(a){return a+1<=c.unref(t)}function n(a){if(r.value)return;const s=a+1;if(c.unref(t)===s){o(0);return}o(s)}return{__sfc:!0,answerValue:t,isDisabled:r,emitInput:o,isActive:i,onClickItem:n,QuestionInfo:Nr,QuestionnaireIconStar:bV}}});var yV=function(){var t=this,r=t._self._c,o=t._self._setupProxy;return r("div",{staticClass:"plv-iar-questionnaire__question-star"},[r(o.QuestionInfo,{attrs:{"show-type":!1}}),r("div",{staticClass:"plv-iar-questionnaire__question-star__list"},t._l(Array(5),function(i,n){return r(o.QuestionnaireIconStar,{key:n,staticClass:"plv-iar-questionnaire__question-star__item",class:{"is-active":o.isActive(n),"is-disabled":o.isDisabled},on:{click:function(a){return o.onClickItem(n)}}})}),1)],1)},xV=[],CV=ct(_V,yV,xV);const LV=CV.exports,SV=c.defineComponent({__name:"question-vote",setup(e){const{question:t,answerValue:r,emitInput:o,isDisabled:i,showStatistics:n}=Zt();function a(s){o(s)}return{__sfc:!0,question:t,answerValue:r,emitInput:o,isDisabled:i,showStatistics:n,onRadioInput:a,PwcRadio:gi,PwcRadioGroup:Pn,QuestionInfo:Nr,getOptionText:yi}}});var kV=function(){var t=this,r=t._self._c,o=t._self._setupProxy;return r("div",{staticClass:"plv-iar-questionnaire__question-vote"},[r(o.QuestionInfo),r(o.PwcRadioGroup,{attrs:{value:o.answerValue},on:{input:o.onRadioInput}},t._l(o.question.options,function(i,n){return r("div",{key:n,staticClass:"plv-iar-questionnaire__question-option__item"},[r(o.PwcRadio,{staticClass:"plv-iar-questionnaire__question-option__item__content",attrs:{"radio-value":i.id,"show-background":"",disabled:o.isDisabled}},[r("span",[t._v(t._s(o.getOptionText(i)))])]),o.showStatistics?r("div",{staticClass:"plv-iar-questionnaire__question-option__item__statistics"},[t._v(" "+t._s(i.answerCount)+"人("+t._s(i.answerPercent)+"%) ")]):t._e()],1)}),0)],1)},PV=[],TV=ct(SV,kV,PV);const QV=TV.exports,EV=c.defineComponent({__name:"question-item",props:P$(),emits:T$(),setup(e,{expose:t,emit:r}){const o=e,{QuestionItemType:i}=al(),{injectData:n,isError:a,errorMessage:s,questionType:l,wrapRef:p}=Q$({props:o,emit:r});return t(n),{__sfc:!0,props:o,emit:r,QuestionItemType:i,injectData:n,isError:a,errorMessage:s,questionType:l,wrapRef:p,QuestionCheckbox:N$,QuestionFill:Y$,QuestionJudgement:H$,QuestionQuestion:iV,QuestionRadio:cV,QuestionScor:mV,QuestionStar:LV,QuestionVote:QV}}});var MV=function(){var t=this,r=t._self._c,o=t._self._setupProxy;return r("div",{ref:"wrapRef",staticClass:"plv-iar-questionnaire__question-item"},[o.questionType===o.QuestionItemType.Radio?r(o.QuestionRadio):o.questionType===o.QuestionItemType.CheckBox?r(o.QuestionCheckbox):o.questionType===o.QuestionItemType.Question?r(o.QuestionQuestion):o.questionType===o.QuestionItemType.Judgement?r(o.QuestionJudgement):o.questionType===o.QuestionItemType.Star?r(o.QuestionStar):o.questionType===o.QuestionItemType.Scor?r(o.QuestionScor):o.questionType===o.QuestionItemType.Fill?r(o.QuestionFill):o.questionType===o.QuestionItemType.Vote?r(o.QuestionVote):t._e(),o.isError?r("div",{staticClass:"plv-iar-questionnaire__question-item__error-message"},[t._v(" "+t._s(o.errorMessage)+" ")]):t._e()],1)},IV=[],AV=ct(EV,MV,IV);const zV=AV.exports,DV=c.defineComponent({__name:"normal-questionnaire",props:X(O({},w$()),{questionnaireData:v.object()}),emits:{submit:q()},setup(e,{emit:t}){const r=e,{questionnaireTarget:o}=b$({props:r}),{$t:i}=pr(),{toast:n}=Qt(),a=c.computed(()=>{var b;return((b=r.questionnaireData)==null?void 0:b.questions)||[]}),{answer:s,isFinishQuestionnaire:l,getSubmitAnswer:p}=k$({questions:a,questionnaireTarget:o}),u=c.ref(-1),d=c.computed(()=>{var g;const b=u.value;return(g=a.value[b])==null?void 0:g.questionId});c.watch(()=>r.questionnaireData,()=>{a.value.length?u.value=0:u.value=-1},{immediate:!0});function m(){u.value<=0||(u.value-=1)}function f(){if(u.value>=a.value.length-1){if(!l.value){n.error(i("questionnaire.finishError"));return}const b=p();t("submit",b);return}u.value+=1}const w=c.computed(()=>u.value>=a.value.length-1?i("common.submit"):i("questionnaire.nextQuestion")),h=c.computed(()=>u.value>=a.value.length-1?!l.value:!1);return{__sfc:!0,props:r,emit:t,questionnaireTarget:o,$t:i,toast:n,questions:a,answer:s,isFinishQuestionnaire:l,getSubmitAnswer:p,currentIndex:u,currentQuestionId:d,toPrev:m,toNext:f,nextText:w,nextDisabled:h,PwcButton:Ve,QuestionItem:zV}}});var RV=function(){var t=this,r=t._self._c,o=t._self._setupProxy;return t.questionnaireData?r("div",{staticClass:"plv-iar-normal-questionnaire"},[r("div",{staticClass:"plv-iar-normal-questionnaire__title"},[t._v(t._s(t.questionnaireData.questionnaireTitle))]),o.currentQuestionId?r("div",{staticClass:"plv-iar-normal-questionnaire__body"},[r("div",{staticClass:"plv-iar-normal-questionnaire__panel"},[r("div",{staticClass:"plv-iar-normal-questionnaire__index plv-font-din-pro-regular"},[t._v(" "+t._s(o.currentIndex+1)),r("span",[t._v("/"+t._s(o.questions.length))])]),r(o.QuestionItem,{key:o.currentQuestionId,attrs:{question:o.questions[o.currentIndex]},model:{value:o.answer[o.currentQuestionId],callback:function(i){t.$set(o.answer,o.currentQuestionId,i)},expression:"answer[currentQuestionId]"}})],1)]):t._e(),r("div",{staticClass:"plv-iar-normal-questionnaire__control"},[r(o.PwcButton,{staticClass:"plv-iar-normal-questionnaire__control__btn",attrs:{outline:"",disabled:o.currentIndex<=0},on:{click:o.toPrev}},[t._v(" "+t._s(o.$t("questionnaire.prevQuestion"))+" ")]),r(o.PwcButton,{staticClass:"plv-iar-normal-questionnaire__control__btn",attrs:{disabled:o.nextDisabled},on:{click:o.toNext}},[t._v(" "+t._s(o.nextText)+" ")])],1)]):t._e()},OV=[],$V=ct(DV,RV,OV);return $V.exports});console.log("%c@polyv/iar-questionnaire-ui","background:#409EFF;padding: 2px 6px;border-radius: 3px;color: #fff","[version: 2.2.0]","[buildTime: 2026-04-03 07:30:32]");
|