@updog/data-editor-wc 0.1.22 → 0.1.23
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.js +28 -25
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -8555,22 +8555,22 @@ var T = /* @__PURE__ */ o(((e) => {
|
|
|
8555
8555
|
locale: "en"
|
|
8556
8556
|
});
|
|
8557
8557
|
function O({ translations: e, rtl: t = !1, locale: n = "en", children: r }) {
|
|
8558
|
-
let i = (0, _.useMemo)(() => w(e, n), [e, n])
|
|
8559
|
-
|
|
8560
|
-
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
-
|
|
8558
|
+
let i = (0, _.useMemo)(() => w(e, n), [e, n]), a = (0, _.useMemo)(() => ({
|
|
8559
|
+
t: i,
|
|
8560
|
+
rtl: t,
|
|
8561
|
+
locale: n
|
|
8562
|
+
}), [
|
|
8563
|
+
i,
|
|
8564
|
+
t,
|
|
8565
|
+
n
|
|
8566
|
+
]);
|
|
8567
|
+
return /* @__PURE__ */ (0, E.jsx)(D.Provider, {
|
|
8568
|
+
value: a,
|
|
8569
8569
|
children: r
|
|
8570
8570
|
});
|
|
8571
8571
|
}
|
|
8572
8572
|
function k() {
|
|
8573
|
-
return (0, _.
|
|
8573
|
+
return (0, _.useContext)(D);
|
|
8574
8574
|
}
|
|
8575
8575
|
//#endregion
|
|
8576
8576
|
//#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
@@ -14979,7 +14979,7 @@ var sc = (0, _.createContext)(void 0), cc = sc.Provider, lc = () => {
|
|
|
14979
14979
|
stopPropagationOnTrigger: b
|
|
14980
14980
|
})
|
|
14981
14981
|
});
|
|
14982
|
-
}, _c = (0, _.createContext)({}), vc = () => (0, _.
|
|
14982
|
+
}, _c = (0, _.createContext)({}), vc = () => (0, _.useContext)(_c), yc = () => {
|
|
14983
14983
|
let { activeStep: e } = vc();
|
|
14984
14984
|
return /* @__PURE__ */ (0, E.jsx)("div", {
|
|
14985
14985
|
className: "updog-stepper__content",
|
|
@@ -15050,12 +15050,12 @@ var sc = (0, _.createContext)(void 0), cc = sc.Provider, lc = () => {
|
|
|
15050
15050
|
})
|
|
15051
15051
|
});
|
|
15052
15052
|
}, wc = (e) => {
|
|
15053
|
-
let { steps: t, activeStepIndex: n, className: r } = e, i = t[n]
|
|
15054
|
-
|
|
15055
|
-
|
|
15056
|
-
|
|
15057
|
-
|
|
15058
|
-
|
|
15053
|
+
let { steps: t, activeStepIndex: n, className: r } = e, i = t[n], a = {
|
|
15054
|
+
...e,
|
|
15055
|
+
activeStep: i
|
|
15056
|
+
};
|
|
15057
|
+
return /* @__PURE__ */ (0, E.jsx)(_c.Provider, {
|
|
15058
|
+
value: a,
|
|
15059
15059
|
children: /* @__PURE__ */ (0, E.jsxs)("div", {
|
|
15060
15060
|
className: j("updog-stepper__container", r),
|
|
15061
15061
|
children: [/* @__PURE__ */ (0, E.jsx)(Cc, {}), /* @__PURE__ */ (0, E.jsx)(yc, {})]
|
|
@@ -21815,8 +21815,9 @@ function zd({ columns: e, primaryKey: t, loadData: n, scaleClient: r, onComplete
|
|
|
21815
21815
|
//#region src/context/index.tsx
|
|
21816
21816
|
var Bd = (0, _.createContext)(null);
|
|
21817
21817
|
function Vd({ children: e, ...t }) {
|
|
21818
|
-
|
|
21819
|
-
|
|
21818
|
+
let n = zd(t);
|
|
21819
|
+
return /* @__PURE__ */ (0, E.jsx)(Bd.Provider, {
|
|
21820
|
+
value: n,
|
|
21820
21821
|
children: e
|
|
21821
21822
|
});
|
|
21822
21823
|
}
|
|
@@ -39694,8 +39695,9 @@ function UN() {
|
|
|
39694
39695
|
//#region src/components/Chat/context/index.tsx
|
|
39695
39696
|
var WN = (0, _.createContext)(null);
|
|
39696
39697
|
function GN({ children: e }) {
|
|
39697
|
-
|
|
39698
|
-
|
|
39698
|
+
let t = UN();
|
|
39699
|
+
return /* @__PURE__ */ (0, E.jsx)(WN.Provider, {
|
|
39700
|
+
value: t,
|
|
39699
39701
|
children: e
|
|
39700
39702
|
});
|
|
39701
39703
|
}
|
|
@@ -51297,8 +51299,9 @@ function dB() {
|
|
|
51297
51299
|
//#region src/components/DataUploader/context/index.tsx
|
|
51298
51300
|
var fB = (0, _.createContext)(null);
|
|
51299
51301
|
function pB({ children: e }) {
|
|
51300
|
-
|
|
51301
|
-
|
|
51302
|
+
let t = dB();
|
|
51303
|
+
return /* @__PURE__ */ (0, E.jsx)(fB.Provider, {
|
|
51304
|
+
value: t,
|
|
51302
51305
|
children: e
|
|
51303
51306
|
});
|
|
51304
51307
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@updog/data-editor-wc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.23",
|
|
4
4
|
"description": "Client-side CSV importer and spreadsheet editor SDK as a Web Component. Drop into Vue, Angular, Svelte, or vanilla JS. Import CSV, Excel, JSON; edit 1M+ rows entirely in the browser.",
|
|
5
5
|
"author": "Mikhail Kutateladze <admin@updog.tech>",
|
|
6
6
|
"homepage": "https://updog.tech",
|