@burdenoff/microfe-headshotmarketing 2026.1102.1 → 2026.1107.2
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/generated/wspace-operations.d.ts +575 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -1
- package/dist/generated/wspace-operations.js +606 -345
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +10195 -158
- package/dist/generated/wspace-types.d.ts.map +1 -1
- package/dist/generated/wspace-types.js +10 -6
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/headshotmarketing/hooks/useToast.js +25 -0
- package/dist/headshotmarketing/hooks/useToast.js.map +1 -0
- package/dist/headshotmarketing/pages/HomeMonthlyGoals.d.ts +9 -0
- package/dist/headshotmarketing/pages/HomeMonthlyGoals.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/HomeMonthlyGoals.js +266 -0
- package/dist/headshotmarketing/pages/HomeMonthlyGoals.js.map +1 -0
- package/dist/headshotmarketing/pages/HomePage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/HomePage.js +299 -298
- package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +171 -465
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/ReportsPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js +541 -550
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/analyticsView.d.ts +153 -0
- package/dist/headshotmarketing/pages/analytics/analyticsView.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/analytics/analyticsView.js +371 -0
- package/dist/headshotmarketing/pages/analytics/analyticsView.js.map +1 -0
- package/dist/headshotmarketing/pages/analytics/analyticsWidgets.d.ts +83 -0
- package/dist/headshotmarketing/pages/analytics/analyticsWidgets.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/analytics/analyticsWidgets.js +592 -0
- package/dist/headshotmarketing/pages/analytics/analyticsWidgets.js.map +1 -0
- package/dist/headshotmarketing/pages/analytics/reportDraft.d.ts +40 -0
- package/dist/headshotmarketing/pages/analytics/reportDraft.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/analytics/reportDraft.js +66 -0
- package/dist/headshotmarketing/pages/analytics/reportDraft.js.map +1 -0
- package/dist/headshotmarketing/pages/analytics/useAnalyticsData.d.ts +23 -0
- package/dist/headshotmarketing/pages/analytics/useAnalyticsData.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/analytics/useAnalyticsData.js +68 -0
- package/dist/headshotmarketing/pages/analytics/useAnalyticsData.js.map +1 -0
- package/dist/headshotmarketing/utils/analyticsMapper.js +3 -42
- package/dist/headshotmarketing/utils/analyticsMapper.js.map +1 -1
- package/dist/headshotmarketing/utils/dashboardHome.d.ts +91 -0
- package/dist/headshotmarketing/utils/dashboardHome.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/dashboardHome.js +94 -0
- package/dist/headshotmarketing/utils/dashboardHome.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +1 -1
- package/package.json +1 -1
- package/dist/node_modules/lodash/_arrayEach.js +0 -14
- package/dist/node_modules/lodash/_arrayEach.js.map +0 -1
- package/dist/node_modules/lodash/_assignValue.js +0 -17
- package/dist/node_modules/lodash/_assignValue.js.map +0 -1
- package/dist/node_modules/lodash/_baseAssign.js +0 -16
- package/dist/node_modules/lodash/_baseAssign.js.map +0 -1
- package/dist/node_modules/lodash/_baseAssignIn.js +0 -16
- package/dist/node_modules/lodash/_baseAssignIn.js.map +0 -1
- package/dist/node_modules/lodash/_baseClone.js +0 -64
- package/dist/node_modules/lodash/_baseClone.js.map +0 -1
- package/dist/node_modules/lodash/_baseCreate.js +0 -21
- package/dist/node_modules/lodash/_baseCreate.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsMap.js +0 -16
- package/dist/node_modules/lodash/_baseIsMap.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsSet.js +0 -16
- package/dist/node_modules/lodash/_baseIsSet.js.map +0 -1
- package/dist/node_modules/lodash/_baseKeysIn.js +0 -20
- package/dist/node_modules/lodash/_baseKeysIn.js.map +0 -1
- package/dist/node_modules/lodash/_baseUnset.js +0 -26
- package/dist/node_modules/lodash/_baseUnset.js.map +0 -1
- package/dist/node_modules/lodash/_cloneArrayBuffer.js +0 -16
- package/dist/node_modules/lodash/_cloneArrayBuffer.js.map +0 -1
- package/dist/node_modules/lodash/_cloneBuffer.js +0 -17
- package/dist/node_modules/lodash/_cloneBuffer.js.map +0 -1
- package/dist/node_modules/lodash/_cloneDataView.js +0 -16
- package/dist/node_modules/lodash/_cloneDataView.js.map +0 -1
- package/dist/node_modules/lodash/_cloneRegExp.js +0 -15
- package/dist/node_modules/lodash/_cloneRegExp.js.map +0 -1
- package/dist/node_modules/lodash/_cloneSymbol.js +0 -15
- package/dist/node_modules/lodash/_cloneSymbol.js.map +0 -1
- package/dist/node_modules/lodash/_cloneTypedArray.js +0 -16
- package/dist/node_modules/lodash/_cloneTypedArray.js.map +0 -1
- package/dist/node_modules/lodash/_copyArray.js +0 -15
- package/dist/node_modules/lodash/_copyArray.js.map +0 -1
- package/dist/node_modules/lodash/_copyObject.js +0 -22
- package/dist/node_modules/lodash/_copyObject.js.map +0 -1
- package/dist/node_modules/lodash/_copySymbols.js +0 -16
- package/dist/node_modules/lodash/_copySymbols.js.map +0 -1
- package/dist/node_modules/lodash/_copySymbolsIn.js +0 -16
- package/dist/node_modules/lodash/_copySymbolsIn.js.map +0 -1
- package/dist/node_modules/lodash/_customOmitClone.js +0 -15
- package/dist/node_modules/lodash/_customOmitClone.js.map +0 -1
- package/dist/node_modules/lodash/_flatRest.js +0 -17
- package/dist/node_modules/lodash/_flatRest.js.map +0 -1
- package/dist/node_modules/lodash/_getAllKeysIn.js +0 -17
- package/dist/node_modules/lodash/_getAllKeysIn.js.map +0 -1
- package/dist/node_modules/lodash/_getSymbolsIn.js +0 -18
- package/dist/node_modules/lodash/_getSymbolsIn.js.map +0 -1
- package/dist/node_modules/lodash/_initCloneArray.js +0 -15
- package/dist/node_modules/lodash/_initCloneArray.js.map +0 -1
- package/dist/node_modules/lodash/_initCloneByTag.js +0 -40
- package/dist/node_modules/lodash/_initCloneByTag.js.map +0 -1
- package/dist/node_modules/lodash/_initCloneObject.js +0 -17
- package/dist/node_modules/lodash/_initCloneObject.js.map +0 -1
- package/dist/node_modules/lodash/_nativeKeysIn.js +0 -15
- package/dist/node_modules/lodash/_nativeKeysIn.js.map +0 -1
- package/dist/node_modules/lodash/_parent.js +0 -16
- package/dist/node_modules/lodash/_parent.js.map +0 -1
- package/dist/node_modules/lodash/flatten.js +0 -15
- package/dist/node_modules/lodash/flatten.js.map +0 -1
- package/dist/node_modules/lodash/isMap.js +0 -14
- package/dist/node_modules/lodash/isMap.js.map +0 -1
- package/dist/node_modules/lodash/isSet.js +0 -14
- package/dist/node_modules/lodash/isSet.js.map +0 -1
- package/dist/node_modules/lodash/keysIn.js +0 -17
- package/dist/node_modules/lodash/keysIn.js.map +0 -1
- package/dist/node_modules/lodash/omit.js +0 -28
- package/dist/node_modules/lodash/omit.js.map +0 -1
- package/dist/node_modules/recharts/es6/chart/FunnelChart.js +0 -15
- package/dist/node_modules/recharts/es6/chart/FunnelChart.js.map +0 -1
- package/dist/node_modules/recharts/es6/numberAxis/Funnel.js +0 -370
- package/dist/node_modules/recharts/es6/numberAxis/Funnel.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/FunnelUtils.js +0 -81
- package/dist/node_modules/recharts/es6/util/FunnelUtils.js.map +0 -1
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require__cloneArrayBuffer as t } from "./_cloneArrayBuffer.js";
|
|
3
|
-
import { require__cloneDataView as n } from "./_cloneDataView.js";
|
|
4
|
-
import { require__cloneRegExp as r } from "./_cloneRegExp.js";
|
|
5
|
-
import { require__cloneSymbol as i } from "./_cloneSymbol.js";
|
|
6
|
-
import { require__cloneTypedArray as a } from "./_cloneTypedArray.js";
|
|
7
|
-
//#region node_modules/lodash/_initCloneByTag.js
|
|
8
|
-
var o = /* @__PURE__ */ e(((e, o) => {
|
|
9
|
-
var s = t(), c = n(), l = r(), u = i(), d = a(), f = "[object Boolean]", p = "[object Date]", m = "[object Map]", h = "[object Number]", g = "[object RegExp]", _ = "[object Set]", v = "[object String]", y = "[object Symbol]", b = "[object ArrayBuffer]", x = "[object DataView]", S = "[object Float32Array]", C = "[object Float64Array]", w = "[object Int8Array]", T = "[object Int16Array]", E = "[object Int32Array]", D = "[object Uint8Array]", O = "[object Uint8ClampedArray]", k = "[object Uint16Array]", A = "[object Uint32Array]";
|
|
10
|
-
function j(e, t, n) {
|
|
11
|
-
var r = e.constructor;
|
|
12
|
-
switch (t) {
|
|
13
|
-
case b: return s(e);
|
|
14
|
-
case f:
|
|
15
|
-
case p: return new r(+e);
|
|
16
|
-
case x: return c(e, n);
|
|
17
|
-
case S:
|
|
18
|
-
case C:
|
|
19
|
-
case w:
|
|
20
|
-
case T:
|
|
21
|
-
case E:
|
|
22
|
-
case D:
|
|
23
|
-
case O:
|
|
24
|
-
case k:
|
|
25
|
-
case A: return d(e, n);
|
|
26
|
-
case m: return new r();
|
|
27
|
-
case h:
|
|
28
|
-
case v: return new r(e);
|
|
29
|
-
case g: return l(e);
|
|
30
|
-
case _: return new r();
|
|
31
|
-
case y: return u(e);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
o.exports = j;
|
|
35
|
-
}));
|
|
36
|
-
//#endregion
|
|
37
|
-
export default o();
|
|
38
|
-
export { o as require__initCloneByTag };
|
|
39
|
-
|
|
40
|
-
//# sourceMappingURL=_initCloneByTag.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_initCloneByTag.js","names":[],"sources":["../../../node_modules/lodash/_initCloneByTag.js"],"sourcesContent":["var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nmodule.exports = initCloneByTag;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;CAAA,IAAI,IAAA,GAAA,EACA,IAAA,GAAA,EACA,IAAA,GAAA,EACA,IAAA,GAAA,EACA,IAAA,GAAA,EAGA,IAAU,oBACV,IAAU,iBACV,IAAS,gBACT,IAAY,mBACZ,IAAY,mBACZ,IAAS,gBACT,IAAY,mBACZ,IAAY,mBAEZ,IAAiB,wBACjB,IAAc,qBACd,IAAa,yBACb,IAAa,yBACb,IAAU,sBACV,IAAW,uBACX,IAAW,uBACX,IAAW,uBACX,IAAkB,8BAClB,IAAY,wBACZ,IAAY;CAchB,SAAS,EAAe,GAAQ,GAAK,GAAQ;EAC3C,IAAI,IAAO,EAAO;AAClB,UAAQ,GAAR;GACE,KAAK,EACH,QAAO,EAAiB,EAAO;GAEjC,KAAK;GACL,KAAK,EACH,QAAO,IAAI,EAAK,CAAC,EAAO;GAE1B,KAAK,EACH,QAAO,EAAc,GAAQ,EAAO;GAEtC,KAAK;GAAY,KAAK;GACtB,KAAK;GAAS,KAAK;GAAU,KAAK;GAClC,KAAK;GAAU,KAAK;GAAiB,KAAK;GAAW,KAAK,EACxD,QAAO,EAAgB,GAAQ,EAAO;GAExC,KAAK,EACH,QAAO,IAAI,GAAI;GAEjB,KAAK;GACL,KAAK,EACH,QAAO,IAAI,EAAK,EAAO;GAEzB,KAAK,EACH,QAAO,EAAY,EAAO;GAE5B,KAAK,EACH,QAAO,IAAI,GAAI;GAEjB,KAAK,EACH,QAAO,EAAY,EAAO;;;AAIhC,GAAO,UAAU"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require__isPrototype as t } from "./_isPrototype.js";
|
|
3
|
-
import { require__getPrototype as n } from "./_getPrototype.js";
|
|
4
|
-
import { require__baseCreate as r } from "./_baseCreate.js";
|
|
5
|
-
//#region node_modules/lodash/_initCloneObject.js
|
|
6
|
-
var i = /* @__PURE__ */ e(((e, i) => {
|
|
7
|
-
var a = r(), o = n(), s = t();
|
|
8
|
-
function c(e) {
|
|
9
|
-
return typeof e.constructor == "function" && !s(e) ? a(o(e)) : {};
|
|
10
|
-
}
|
|
11
|
-
i.exports = c;
|
|
12
|
-
}));
|
|
13
|
-
//#endregion
|
|
14
|
-
export default i();
|
|
15
|
-
export { i as require__initCloneObject };
|
|
16
|
-
|
|
17
|
-
//# sourceMappingURL=_initCloneObject.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_initCloneObject.js","names":[],"sources":["../../../node_modules/lodash/_initCloneObject.js"],"sourcesContent":["var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;CAAA,IAAI,IAAA,GAAA,EACA,IAAA,GAAA,EACA,IAAA,GAAA;CASJ,SAAS,EAAgB,GAAQ;AAC/B,SAAQ,OAAO,EAAO,eAAe,cAAc,CAAC,EAAY,EAAO,GACnE,EAAW,EAAa,EAAO,CAAC,GAChC,EAAE;;AAGR,GAAO,UAAU"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region node_modules/lodash/_nativeKeysIn.js
|
|
3
|
-
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
-
function n(e) {
|
|
5
|
-
var t = [];
|
|
6
|
-
if (e != null) for (var n in Object(e)) t.push(n);
|
|
7
|
-
return t;
|
|
8
|
-
}
|
|
9
|
-
t.exports = n;
|
|
10
|
-
}));
|
|
11
|
-
//#endregion
|
|
12
|
-
export default t();
|
|
13
|
-
export { t as require__nativeKeysIn };
|
|
14
|
-
|
|
15
|
-
//# sourceMappingURL=_nativeKeysIn.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_nativeKeysIn.js","names":[],"sources":["../../../node_modules/lodash/_nativeKeysIn.js"],"sourcesContent":["/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n"],"x_google_ignoreList":[0],"mappings":";;;CASA,SAAS,EAAa,GAAQ;EAC5B,IAAI,IAAS,EAAE;AACf,MAAI,KAAU,KACZ,MAAK,IAAI,KAAO,OAAO,EAAO,CAC5B,GAAO,KAAK,EAAI;AAGpB,SAAO;;AAGT,GAAO,UAAU"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require__baseGet as t } from "./_baseGet.js";
|
|
3
|
-
import { require__baseSlice as n } from "./_baseSlice.js";
|
|
4
|
-
//#region node_modules/lodash/_parent.js
|
|
5
|
-
var r = /* @__PURE__ */ e(((e, r) => {
|
|
6
|
-
var i = t(), a = n();
|
|
7
|
-
function o(e, t) {
|
|
8
|
-
return t.length < 2 ? e : i(e, a(t, 0, -1));
|
|
9
|
-
}
|
|
10
|
-
r.exports = o;
|
|
11
|
-
}));
|
|
12
|
-
//#endregion
|
|
13
|
-
export default r();
|
|
14
|
-
export { r as require__parent };
|
|
15
|
-
|
|
16
|
-
//# sourceMappingURL=_parent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_parent.js","names":[],"sources":["../../../node_modules/lodash/_parent.js"],"sourcesContent":["var baseGet = require('./_baseGet'),\n baseSlice = require('./_baseSlice');\n\n/**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\nfunction parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n}\n\nmodule.exports = parent;\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAAA,IAAI,IAAA,GAAA,EACA,IAAA,GAAA;CAUJ,SAAS,EAAO,GAAQ,GAAM;AAC5B,SAAO,EAAK,SAAS,IAAI,IAAS,EAAQ,GAAQ,EAAU,GAAM,GAAG,GAAG,CAAC;;AAG3E,GAAO,UAAU"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require__baseFlatten as t } from "./_baseFlatten.js";
|
|
3
|
-
//#region node_modules/lodash/flatten.js
|
|
4
|
-
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
|
-
var r = t();
|
|
6
|
-
function i(e) {
|
|
7
|
-
return e != null && e.length ? r(e, 1) : [];
|
|
8
|
-
}
|
|
9
|
-
n.exports = i;
|
|
10
|
-
}));
|
|
11
|
-
//#endregion
|
|
12
|
-
export default n();
|
|
13
|
-
export { n as require_flatten };
|
|
14
|
-
|
|
15
|
-
//# sourceMappingURL=flatten.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flatten.js","names":[],"sources":["../../../node_modules/lodash/flatten.js"],"sourcesContent":["var baseFlatten = require('./_baseFlatten');\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n"],"x_google_ignoreList":[0],"mappings":";;;;CAAA,IAAI,IAAA,GAAA;CAgBJ,SAAS,EAAQ,GAAO;AAEtB,SADa,KAAS,QAAW,EAAM,SACvB,EAAY,GAAO,EAAE,GAAG,EAAE;;AAG5C,GAAO,UAAU"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require__baseUnary as t } from "./_baseUnary.js";
|
|
3
|
-
import { require__nodeUtil as n } from "./_nodeUtil.js";
|
|
4
|
-
import { require__baseIsMap as r } from "./_baseIsMap.js";
|
|
5
|
-
//#region node_modules/lodash/isMap.js
|
|
6
|
-
var i = /* @__PURE__ */ e(((e, i) => {
|
|
7
|
-
var a = r(), o = t(), s = n(), c = s && s.isMap;
|
|
8
|
-
i.exports = c ? o(c) : a;
|
|
9
|
-
}));
|
|
10
|
-
//#endregion
|
|
11
|
-
export default i();
|
|
12
|
-
export { i as require_isMap };
|
|
13
|
-
|
|
14
|
-
//# sourceMappingURL=isMap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isMap.js","names":[],"sources":["../../../node_modules/lodash/isMap.js"],"sourcesContent":["var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;CAAA,IAAI,IAAA,GAAA,EACA,IAAA,GAAA,EACA,IAAA,GAAA,EAGA,IAAY,KAAY,EAAS;AAqBrC,GAAO,UAFK,IAAY,EAAU,EAAU,GAAG"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require__baseUnary as t } from "./_baseUnary.js";
|
|
3
|
-
import { require__nodeUtil as n } from "./_nodeUtil.js";
|
|
4
|
-
import { require__baseIsSet as r } from "./_baseIsSet.js";
|
|
5
|
-
//#region node_modules/lodash/isSet.js
|
|
6
|
-
var i = /* @__PURE__ */ e(((e, i) => {
|
|
7
|
-
var a = r(), o = t(), s = n(), c = s && s.isSet;
|
|
8
|
-
i.exports = c ? o(c) : a;
|
|
9
|
-
}));
|
|
10
|
-
//#endregion
|
|
11
|
-
export default i();
|
|
12
|
-
export { i as require_isSet };
|
|
13
|
-
|
|
14
|
-
//# sourceMappingURL=isSet.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isSet.js","names":[],"sources":["../../../node_modules/lodash/isSet.js"],"sourcesContent":["var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;CAAA,IAAI,IAAA,GAAA,EACA,IAAA,GAAA,EACA,IAAA,GAAA,EAGA,IAAY,KAAY,EAAS;AAqBrC,GAAO,UAFK,IAAY,EAAU,EAAU,GAAG"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require__arrayLikeKeys as t } from "./_arrayLikeKeys.js";
|
|
3
|
-
import { require_isArrayLike as n } from "./isArrayLike.js";
|
|
4
|
-
import { require__baseKeysIn as r } from "./_baseKeysIn.js";
|
|
5
|
-
//#region node_modules/lodash/keysIn.js
|
|
6
|
-
var i = /* @__PURE__ */ e(((e, i) => {
|
|
7
|
-
var a = t(), o = r(), s = n();
|
|
8
|
-
function c(e) {
|
|
9
|
-
return s(e) ? a(e, !0) : o(e);
|
|
10
|
-
}
|
|
11
|
-
i.exports = c;
|
|
12
|
-
}));
|
|
13
|
-
//#endregion
|
|
14
|
-
export default i();
|
|
15
|
-
export { i as require_keysIn };
|
|
16
|
-
|
|
17
|
-
//# sourceMappingURL=keysIn.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keysIn.js","names":[],"sources":["../../../node_modules/lodash/keysIn.js"],"sourcesContent":["var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;CAAA,IAAI,IAAA,GAAA,EACA,IAAA,GAAA,EACA,IAAA,GAAA;CAyBJ,SAAS,EAAO,GAAQ;AACtB,SAAO,EAAY,EAAO,GAAG,EAAc,GAAQ,GAAK,GAAG,EAAW,EAAO;;AAG/E,GAAO,UAAU"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require__arrayMap as t } from "./_arrayMap.js";
|
|
3
|
-
import { require__castPath as n } from "./_castPath.js";
|
|
4
|
-
import { require__copyObject as r } from "./_copyObject.js";
|
|
5
|
-
import { require__getAllKeysIn as i } from "./_getAllKeysIn.js";
|
|
6
|
-
import { require__baseClone as a } from "./_baseClone.js";
|
|
7
|
-
import { require__baseUnset as o } from "./_baseUnset.js";
|
|
8
|
-
import { require__customOmitClone as s } from "./_customOmitClone.js";
|
|
9
|
-
import { require__flatRest as c } from "./_flatRest.js";
|
|
10
|
-
//#region node_modules/lodash/omit.js
|
|
11
|
-
var l = /* @__PURE__ */ e(((e, l) => {
|
|
12
|
-
var u = t(), d = a(), f = o(), p = n(), m = r(), h = s(), g = c(), _ = i(), v = 1, y = 2, b = 4;
|
|
13
|
-
l.exports = g(function(e, t) {
|
|
14
|
-
var n = {};
|
|
15
|
-
if (e == null) return n;
|
|
16
|
-
var r = !1;
|
|
17
|
-
t = u(t, function(t) {
|
|
18
|
-
return t = p(t, e), r ||= t.length > 1, t;
|
|
19
|
-
}), m(e, _(e), n), r && (n = d(n, v | y | b, h));
|
|
20
|
-
for (var i = t.length; i--;) f(n, t[i]);
|
|
21
|
-
return n;
|
|
22
|
-
});
|
|
23
|
-
}));
|
|
24
|
-
//#endregion
|
|
25
|
-
export default l();
|
|
26
|
-
export { l as require_omit };
|
|
27
|
-
|
|
28
|
-
//# sourceMappingURL=omit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"omit.js","names":[],"sources":["../../../node_modules/lodash/omit.js"],"sourcesContent":["var arrayMap = require('./_arrayMap'),\n baseClone = require('./_baseClone'),\n baseUnset = require('./_baseUnset'),\n castPath = require('./_castPath'),\n copyObject = require('./_copyObject'),\n customOmitClone = require('./_customOmitClone'),\n flatRest = require('./_flatRest'),\n getAllKeysIn = require('./_getAllKeysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\nvar omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n});\n\nmodule.exports = omit;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;CAAA,IAAI,IAAA,GAAA,EACA,IAAA,GAAA,EACA,IAAA,GAAA,EACA,IAAA,GAAA,EACA,IAAA,GAAA,EACA,IAAA,GAAA,EACA,IAAA,GAAA,EACA,IAAA,GAAA,EAGA,IAAkB,GAClB,IAAkB,GAClB,IAAqB;AA4CzB,GAAO,UAtBI,EAAS,SAAS,GAAQ,GAAO;EAC1C,IAAI,IAAS,EAAE;AACf,MAAI,KAAU,KACZ,QAAO;EAET,IAAI,IAAS;AAOb,EANA,IAAQ,EAAS,GAAO,SAAS,GAAM;AAGrC,UAFA,IAAO,EAAS,GAAM,EAAO,EAC7B,AAAW,MAAS,EAAK,SAAS,GAC3B;IACP,EACF,EAAW,GAAQ,EAAa,EAAO,EAAE,EAAO,EAC5C,MACF,IAAS,EAAU,GAAQ,IAAkB,IAAkB,GAAoB,EAAgB;AAGrG,OADA,IAAI,IAAS,EAAM,QACZ,KACL,GAAU,GAAQ,EAAM,GAAQ;AAElC,SAAO;GACP"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { generateCategoricalChart as e } from "./generateCategoricalChart.js";
|
|
2
|
-
import { Funnel as t } from "../numberAxis/Funnel.js";
|
|
3
|
-
//#region node_modules/recharts/es6/chart/FunnelChart.js
|
|
4
|
-
var n = e({
|
|
5
|
-
chartName: "FunnelChart",
|
|
6
|
-
GraphicalChild: t,
|
|
7
|
-
validateTooltipEventTypes: ["item"],
|
|
8
|
-
defaultTooltipEventType: "item",
|
|
9
|
-
axisComponents: [],
|
|
10
|
-
defaultProps: { layout: "centric" }
|
|
11
|
-
});
|
|
12
|
-
//#endregion
|
|
13
|
-
export { n as FunnelChart };
|
|
14
|
-
|
|
15
|
-
//# sourceMappingURL=FunnelChart.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FunnelChart.js","names":[],"sources":["../../../../../node_modules/recharts/es6/chart/FunnelChart.js"],"sourcesContent":["/**\n * @fileOverview Funnel Chart\n */\nimport { generateCategoricalChart } from './generateCategoricalChart';\nimport { Funnel } from '../numberAxis/Funnel';\nexport var FunnelChart = generateCategoricalChart({\n chartName: 'FunnelChart',\n GraphicalChild: Funnel,\n validateTooltipEventTypes: ['item'],\n defaultTooltipEventType: 'item',\n axisComponents: [],\n defaultProps: {\n layout: 'centric'\n }\n});"],"x_google_ignoreList":[0],"mappings":";;;AAKA,IAAW,IAAc,EAAyB;CAChD,WAAW;CACX,gBAAgB;CAChB,2BAA2B,CAAC,OAAO;CACnC,yBAAyB;CACzB,gBAAgB,EAAE;CAClB,cAAc,EACZ,QAAQ,WACT;CACF,CAAC"}
|
|
@@ -1,370 +0,0 @@
|
|
|
1
|
-
import { __toESM as e } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import t from "../../../clsx/dist/clsx.js";
|
|
3
|
-
import { require_isFunction as n } from "../../../lodash/isFunction.js";
|
|
4
|
-
import { require_isString as r } from "../../../lodash/isString.js";
|
|
5
|
-
import { require_isNumber as i } from "../../../lodash/isNumber.js";
|
|
6
|
-
import { interpolateNumber as a } from "../util/DataUtils.js";
|
|
7
|
-
import { adaptEventsOfChild as o } from "../util/types.js";
|
|
8
|
-
import { filterProps as s, findAllByType as c } from "../util/ReactUtils.js";
|
|
9
|
-
import { Layer as l } from "../container/Layer.js";
|
|
10
|
-
import { Global as u } from "../util/Global.js";
|
|
11
|
-
import { Cell as d } from "../component/Cell.js";
|
|
12
|
-
import { require_isEqual as f } from "../../../lodash/isEqual.js";
|
|
13
|
-
import { getValueByDataKey as p } from "../util/ChartUtils.js";
|
|
14
|
-
import { LabelList as m } from "../component/LabelList.js";
|
|
15
|
-
import h from "../../../react-smooth/es6/index.js";
|
|
16
|
-
import { require_omit as g } from "../../../lodash/omit.js";
|
|
17
|
-
import { FunnelTrapezoid as _ } from "../util/FunnelUtils.js";
|
|
18
|
-
import v, { PureComponent as y } from "react";
|
|
19
|
-
//#region node_modules/recharts/es6/numberAxis/Funnel.js
|
|
20
|
-
var b = /* @__PURE__ */ e(n()), x = /* @__PURE__ */ e(i()), S = /* @__PURE__ */ e(r()), C = /* @__PURE__ */ e(g()), w = /* @__PURE__ */ e(f()), T;
|
|
21
|
-
function E(e, t) {
|
|
22
|
-
return j(e) || A(e, t) || O(e, t) || D();
|
|
23
|
-
}
|
|
24
|
-
function D() {
|
|
25
|
-
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
26
|
-
}
|
|
27
|
-
function O(e, t) {
|
|
28
|
-
if (e) {
|
|
29
|
-
if (typeof e == "string") return k(e, t);
|
|
30
|
-
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
31
|
-
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
32
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return k(e, t);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
function k(e, t) {
|
|
36
|
-
(t == null || t > e.length) && (t = e.length);
|
|
37
|
-
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
38
|
-
return r;
|
|
39
|
-
}
|
|
40
|
-
function A(e, t) {
|
|
41
|
-
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
42
|
-
if (n != null) {
|
|
43
|
-
var r, i, a, o, s = [], c = !0, l = !1;
|
|
44
|
-
try {
|
|
45
|
-
if (a = (n = n.call(e)).next, t === 0) {
|
|
46
|
-
if (Object(n) !== n) return;
|
|
47
|
-
c = !1;
|
|
48
|
-
} else for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
|
|
49
|
-
} catch (e) {
|
|
50
|
-
l = !0, i = e;
|
|
51
|
-
} finally {
|
|
52
|
-
try {
|
|
53
|
-
if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
|
|
54
|
-
} finally {
|
|
55
|
-
if (l) throw i;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
return s;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
function j(e) {
|
|
62
|
-
if (Array.isArray(e)) return e;
|
|
63
|
-
}
|
|
64
|
-
function M(e) {
|
|
65
|
-
"@babel/helpers - typeof";
|
|
66
|
-
return M = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
67
|
-
return typeof e;
|
|
68
|
-
} : function(e) {
|
|
69
|
-
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
70
|
-
}, M(e);
|
|
71
|
-
}
|
|
72
|
-
function N() {
|
|
73
|
-
return N = Object.assign ? Object.assign.bind() : function(e) {
|
|
74
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
75
|
-
var n = arguments[t];
|
|
76
|
-
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
77
|
-
}
|
|
78
|
-
return e;
|
|
79
|
-
}, N.apply(this, arguments);
|
|
80
|
-
}
|
|
81
|
-
function P(e, t) {
|
|
82
|
-
var n = Object.keys(e);
|
|
83
|
-
if (Object.getOwnPropertySymbols) {
|
|
84
|
-
var r = Object.getOwnPropertySymbols(e);
|
|
85
|
-
t && (r = r.filter(function(t) {
|
|
86
|
-
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
87
|
-
})), n.push.apply(n, r);
|
|
88
|
-
}
|
|
89
|
-
return n;
|
|
90
|
-
}
|
|
91
|
-
function F(e) {
|
|
92
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
93
|
-
var n = arguments[t] == null ? {} : arguments[t];
|
|
94
|
-
t % 2 ? P(Object(n), !0).forEach(function(t) {
|
|
95
|
-
K(e, t, n[t]);
|
|
96
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P(Object(n)).forEach(function(t) {
|
|
97
|
-
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
return e;
|
|
101
|
-
}
|
|
102
|
-
function I(e, t) {
|
|
103
|
-
if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
|
|
104
|
-
}
|
|
105
|
-
function L(e, t) {
|
|
106
|
-
for (var n = 0; n < t.length; n++) {
|
|
107
|
-
var r = t[n];
|
|
108
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, q(r.key), r);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
function R(e, t, n) {
|
|
112
|
-
return t && L(e.prototype, t), n && L(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
113
|
-
}
|
|
114
|
-
function z(e, t, n) {
|
|
115
|
-
return t = U(t), B(e, H() ? Reflect.construct(t, n || [], U(e).constructor) : t.apply(e, n));
|
|
116
|
-
}
|
|
117
|
-
function B(e, t) {
|
|
118
|
-
if (t && (M(t) === "object" || typeof t == "function")) return t;
|
|
119
|
-
if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
|
|
120
|
-
return V(e);
|
|
121
|
-
}
|
|
122
|
-
function V(e) {
|
|
123
|
-
if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
124
|
-
return e;
|
|
125
|
-
}
|
|
126
|
-
function H() {
|
|
127
|
-
try {
|
|
128
|
-
var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
129
|
-
} catch {}
|
|
130
|
-
return (H = function() {
|
|
131
|
-
return !!e;
|
|
132
|
-
})();
|
|
133
|
-
}
|
|
134
|
-
function U(e) {
|
|
135
|
-
return U = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
|
|
136
|
-
return e.__proto__ || Object.getPrototypeOf(e);
|
|
137
|
-
}, U(e);
|
|
138
|
-
}
|
|
139
|
-
function W(e, t) {
|
|
140
|
-
if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
|
|
141
|
-
e.prototype = Object.create(t && t.prototype, { constructor: {
|
|
142
|
-
value: e,
|
|
143
|
-
writable: !0,
|
|
144
|
-
configurable: !0
|
|
145
|
-
} }), Object.defineProperty(e, "prototype", { writable: !1 }), t && G(e, t);
|
|
146
|
-
}
|
|
147
|
-
function G(e, t) {
|
|
148
|
-
return G = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
|
|
149
|
-
return e.__proto__ = t, e;
|
|
150
|
-
}, G(e, t);
|
|
151
|
-
}
|
|
152
|
-
function K(e, t, n) {
|
|
153
|
-
return t = q(t), t in e ? Object.defineProperty(e, t, {
|
|
154
|
-
value: n,
|
|
155
|
-
enumerable: !0,
|
|
156
|
-
configurable: !0,
|
|
157
|
-
writable: !0
|
|
158
|
-
}) : e[t] = n, e;
|
|
159
|
-
}
|
|
160
|
-
function q(e) {
|
|
161
|
-
var t = J(e, "string");
|
|
162
|
-
return M(t) == "symbol" ? t : t + "";
|
|
163
|
-
}
|
|
164
|
-
function J(e, t) {
|
|
165
|
-
if (M(e) != "object" || !e) return e;
|
|
166
|
-
var n = e[Symbol.toPrimitive];
|
|
167
|
-
if (n !== void 0) {
|
|
168
|
-
var r = n.call(e, t || "default");
|
|
169
|
-
if (M(r) != "object") return r;
|
|
170
|
-
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
171
|
-
}
|
|
172
|
-
return (t === "string" ? String : Number)(e);
|
|
173
|
-
}
|
|
174
|
-
var Y = /* @__PURE__ */ function(e) {
|
|
175
|
-
function n() {
|
|
176
|
-
var e;
|
|
177
|
-
I(this, n);
|
|
178
|
-
var t = [...arguments];
|
|
179
|
-
return e = z(this, n, [].concat(t)), K(e, "state", { isAnimationFinished: !1 }), K(e, "handleAnimationEnd", function() {
|
|
180
|
-
var t = e.props.onAnimationEnd;
|
|
181
|
-
e.setState({ isAnimationFinished: !0 }), (0, b.default)(t) && t();
|
|
182
|
-
}), K(e, "handleAnimationStart", function() {
|
|
183
|
-
var t = e.props.onAnimationStart;
|
|
184
|
-
e.setState({ isAnimationFinished: !1 }), (0, b.default)(t) && t();
|
|
185
|
-
}), e;
|
|
186
|
-
}
|
|
187
|
-
return W(n, e), R(n, [
|
|
188
|
-
{
|
|
189
|
-
key: "isActiveIndex",
|
|
190
|
-
value: function(e) {
|
|
191
|
-
var t = this.props.activeIndex;
|
|
192
|
-
return Array.isArray(t) ? t.indexOf(e) !== -1 : e === t;
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
key: "renderTrapezoidsStatically",
|
|
197
|
-
value: function(e) {
|
|
198
|
-
var t = this, n = this.props, r = n.shape, i = n.activeShape;
|
|
199
|
-
return e.map(function(e, n) {
|
|
200
|
-
var a = t.isActiveIndex(n) ? i : r, s = F(F({}, e), {}, {
|
|
201
|
-
isActive: t.isActiveIndex(n),
|
|
202
|
-
stroke: e.stroke
|
|
203
|
-
});
|
|
204
|
-
return /* @__PURE__ */ v.createElement(l, N({ className: "recharts-funnel-trapezoid" }, o(t.props, e, n), {
|
|
205
|
-
key: `trapezoid-${e?.x}-${e?.y}-${e?.name}-${e?.value}`,
|
|
206
|
-
role: "img"
|
|
207
|
-
}), /* @__PURE__ */ v.createElement(_, N({ option: a }, s)));
|
|
208
|
-
});
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
key: "renderTrapezoidsWithAnimation",
|
|
213
|
-
value: function() {
|
|
214
|
-
var e = this, t = this.props, n = t.trapezoids, r = t.isAnimationActive, i = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.animationId, u = this.state.prevTrapezoids;
|
|
215
|
-
return /* @__PURE__ */ v.createElement(h, {
|
|
216
|
-
begin: i,
|
|
217
|
-
duration: o,
|
|
218
|
-
isActive: r,
|
|
219
|
-
easing: s,
|
|
220
|
-
from: { t: 0 },
|
|
221
|
-
to: { t: 1 },
|
|
222
|
-
key: `funnel-${c}`,
|
|
223
|
-
onAnimationStart: this.handleAnimationStart,
|
|
224
|
-
onAnimationEnd: this.handleAnimationEnd
|
|
225
|
-
}, function(t) {
|
|
226
|
-
var r = t.t, i = n.map(function(e, t) {
|
|
227
|
-
var n = u && u[t];
|
|
228
|
-
if (n) {
|
|
229
|
-
var i = a(n.x, e.x), o = a(n.y, e.y), s = a(n.upperWidth, e.upperWidth), c = a(n.lowerWidth, e.lowerWidth), l = a(n.height, e.height);
|
|
230
|
-
return F(F({}, e), {}, {
|
|
231
|
-
x: i(r),
|
|
232
|
-
y: o(r),
|
|
233
|
-
upperWidth: s(r),
|
|
234
|
-
lowerWidth: c(r),
|
|
235
|
-
height: l(r)
|
|
236
|
-
});
|
|
237
|
-
}
|
|
238
|
-
var d = a(e.x + e.upperWidth / 2, e.x), f = a(e.y + e.height / 2, e.y), p = a(0, e.upperWidth), m = a(0, e.lowerWidth), h = a(0, e.height);
|
|
239
|
-
return F(F({}, e), {}, {
|
|
240
|
-
x: d(r),
|
|
241
|
-
y: f(r),
|
|
242
|
-
upperWidth: p(r),
|
|
243
|
-
lowerWidth: m(r),
|
|
244
|
-
height: h(r)
|
|
245
|
-
});
|
|
246
|
-
});
|
|
247
|
-
return /* @__PURE__ */ v.createElement(l, null, e.renderTrapezoidsStatically(i));
|
|
248
|
-
});
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
key: "renderTrapezoids",
|
|
253
|
-
value: function() {
|
|
254
|
-
var e = this.props, t = e.trapezoids, n = e.isAnimationActive, r = this.state.prevTrapezoids;
|
|
255
|
-
return n && t && t.length && (!r || !(0, w.default)(r, t)) ? this.renderTrapezoidsWithAnimation() : this.renderTrapezoidsStatically(t);
|
|
256
|
-
}
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
key: "render",
|
|
260
|
-
value: function() {
|
|
261
|
-
var e = this.props, n = e.hide, r = e.trapezoids, i = e.className, a = e.isAnimationActive, o = this.state.isAnimationFinished;
|
|
262
|
-
if (n || !r || !r.length) return null;
|
|
263
|
-
var s = t("recharts-trapezoids", i);
|
|
264
|
-
return /* @__PURE__ */ v.createElement(l, { className: s }, this.renderTrapezoids(), (!a || o) && m.renderCallByParent(this.props, r));
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
], [{
|
|
268
|
-
key: "getDerivedStateFromProps",
|
|
269
|
-
value: function(e, t) {
|
|
270
|
-
return e.animationId === t.prevAnimationId ? e.trapezoids === t.curTrapezoids ? null : { curTrapezoids: e.trapezoids } : {
|
|
271
|
-
prevAnimationId: e.animationId,
|
|
272
|
-
curTrapezoids: e.trapezoids,
|
|
273
|
-
prevTrapezoids: t.curTrapezoids
|
|
274
|
-
};
|
|
275
|
-
}
|
|
276
|
-
}]);
|
|
277
|
-
}(y);
|
|
278
|
-
T = Y, K(Y, "displayName", "Funnel"), K(Y, "defaultProps", {
|
|
279
|
-
stroke: "#fff",
|
|
280
|
-
fill: "#808080",
|
|
281
|
-
legendType: "rect",
|
|
282
|
-
labelLine: !0,
|
|
283
|
-
hide: !1,
|
|
284
|
-
isAnimationActive: !u.isSsr,
|
|
285
|
-
animationBegin: 400,
|
|
286
|
-
animationDuration: 1500,
|
|
287
|
-
animationEasing: "ease",
|
|
288
|
-
nameKey: "name",
|
|
289
|
-
lastShapeType: "triangle"
|
|
290
|
-
}), K(Y, "getRealFunnelData", function(e) {
|
|
291
|
-
var t = e.props, n = t.data, r = t.children, i = s(e.props, !1), a = c(r, d);
|
|
292
|
-
return n && n.length ? n.map(function(e, t) {
|
|
293
|
-
return F(F(F({ payload: e }, i), e), a && a[t] && a[t].props);
|
|
294
|
-
}) : a && a.length ? a.map(function(e) {
|
|
295
|
-
return F(F({}, i), e.props);
|
|
296
|
-
}) : [];
|
|
297
|
-
}), K(Y, "getRealWidthHeight", function(e, t) {
|
|
298
|
-
var n = e.props.width, r = t.width, i = t.height, a = t.left, o = t.right, s = t.top, c = t.bottom, l = i, u = r;
|
|
299
|
-
return (0, x.default)(n) ? u = n : (0, S.default)(n) && (u = u * parseFloat(n) / 100), {
|
|
300
|
-
realWidth: u - a - o - 50,
|
|
301
|
-
realHeight: l - c - s,
|
|
302
|
-
offsetX: (r - u) / 2,
|
|
303
|
-
offsetY: (i - l) / 2
|
|
304
|
-
};
|
|
305
|
-
}), K(Y, "getComposedData", function(e) {
|
|
306
|
-
var t = e.item, n = e.offset, r = T.getRealFunnelData(t), i = t.props, a = i.dataKey, o = i.nameKey, s = i.tooltipType, c = i.lastShapeType, l = i.reversed, u = n.left, d = n.top, f = T.getRealWidthHeight(t, n), m = f.realHeight, h = f.realWidth, g = f.offsetX, _ = f.offsetY, v = Math.max.apply(null, r.map(function(e) {
|
|
307
|
-
return p(e, a, 0);
|
|
308
|
-
})), y = r.length, b = m / y, x = {
|
|
309
|
-
x: n.left,
|
|
310
|
-
y: n.top,
|
|
311
|
-
width: n.width,
|
|
312
|
-
height: n.height
|
|
313
|
-
}, S = r.map(function(e, t) {
|
|
314
|
-
var n = p(e, a, 0), i = p(e, o, t), l = n, f;
|
|
315
|
-
if (t !== y - 1) f = p(r[t + 1], a, 0), f instanceof Array && (f = E(f, 1)[0]);
|
|
316
|
-
else if (n instanceof Array && n.length === 2) {
|
|
317
|
-
var m = E(n, 2);
|
|
318
|
-
l = m[0], f = m[1];
|
|
319
|
-
} else f = c === "rectangle" ? l : 0;
|
|
320
|
-
var S = (v - l) * h / (2 * v) + d + 25 + g, w = b * t + u + _, T = l / v * h, D = f / v * h, O = [{
|
|
321
|
-
name: i,
|
|
322
|
-
value: l,
|
|
323
|
-
payload: e,
|
|
324
|
-
dataKey: a,
|
|
325
|
-
type: s
|
|
326
|
-
}], k = {
|
|
327
|
-
x: S + T / 2,
|
|
328
|
-
y: w + b / 2
|
|
329
|
-
};
|
|
330
|
-
return F(F({
|
|
331
|
-
x: S,
|
|
332
|
-
y: w,
|
|
333
|
-
width: Math.max(T, D),
|
|
334
|
-
upperWidth: T,
|
|
335
|
-
lowerWidth: D,
|
|
336
|
-
height: b,
|
|
337
|
-
name: i,
|
|
338
|
-
val: l,
|
|
339
|
-
tooltipPayload: O,
|
|
340
|
-
tooltipPosition: k
|
|
341
|
-
}, (0, C.default)(e, "width")), {}, {
|
|
342
|
-
payload: e,
|
|
343
|
-
parentViewBox: x,
|
|
344
|
-
labelViewBox: {
|
|
345
|
-
x: S + (T - D) / 4,
|
|
346
|
-
y: w,
|
|
347
|
-
width: Math.abs(T - D) / 2 + Math.min(T, D),
|
|
348
|
-
height: b
|
|
349
|
-
}
|
|
350
|
-
});
|
|
351
|
-
});
|
|
352
|
-
return l && (S = S.map(function(e, t) {
|
|
353
|
-
var n = e.y - t * b + (y - 1 - t) * b;
|
|
354
|
-
return F(F({}, e), {}, {
|
|
355
|
-
upperWidth: e.lowerWidth,
|
|
356
|
-
lowerWidth: e.upperWidth,
|
|
357
|
-
x: e.x - (e.lowerWidth - e.upperWidth) / 2,
|
|
358
|
-
y: e.y - t * b + (y - 1 - t) * b,
|
|
359
|
-
tooltipPosition: F(F({}, e.tooltipPosition), {}, { y: n + b / 2 }),
|
|
360
|
-
labelViewBox: F(F({}, e.labelViewBox), {}, { y: n })
|
|
361
|
-
});
|
|
362
|
-
})), {
|
|
363
|
-
trapezoids: S,
|
|
364
|
-
data: r
|
|
365
|
-
};
|
|
366
|
-
});
|
|
367
|
-
//#endregion
|
|
368
|
-
export { Y as Funnel };
|
|
369
|
-
|
|
370
|
-
//# sourceMappingURL=Funnel.js.map
|