@object-ui/plugin-aggrid 3.3.2 → 3.4.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/CHANGELOG.md +14 -0
- package/dist/{AvatarField-CpFxJRdO.js → AvatarField-DuaF__ns.js} +2 -2
- package/dist/FileField-DtvoWRK-.js +214 -0
- package/dist/{GeolocationField-BfhC7QLw.js → GeolocationField-CyzG2dqR.js} +1 -1
- package/dist/ImageCropperDialog-BFlbM7vO.js +153 -0
- package/dist/ImageField-DoXNtXV_.js +145 -0
- package/dist/LookupField-DXGCnQ3q.js +1063 -0
- package/dist/{MasterDetailField-DGUmvg2f.js → MasterDetailField-JpmMudRV.js} +3 -3
- package/dist/{ObjectAgGridImpl-yiHlXYgp.js → ObjectAgGridImpl-Bz5whFec.js} +110 -108
- package/dist/{PasswordField-BJboeBJY.js → PasswordField-40E439oE.js} +1 -1
- package/dist/{QRCodeField-COLyc5iQ.js → QRCodeField-CrRsA1vB.js} +1 -1
- package/dist/{RatingField-B2momIna.js → RatingField-BVkroiQ4.js} +1 -1
- package/dist/{SelectField-oo6vnNhQ.js → SelectField-K-xoVDss.js} +1 -1
- package/dist/{SignatureField-DUgoK09r.js → SignatureField-D0nUx3Cb.js} +1 -1
- package/dist/TextAreaField-j4eJQ66C.js +125 -0
- package/dist/{UserField-eT5njHwQ.js → UserField-LrhYdvnz.js} +1 -1
- package/dist/check-CBAnx5TO.js +7 -0
- package/dist/{createLucideIcon-C_5JZ35b.js → createLucideIcon-BtZxPlua.js} +1 -1
- package/dist/crop-2wjrXKXD.js +10 -0
- package/dist/dist-BcXWTU-8.js +54 -0
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +79 -79
- package/dist/loader-circle-Cxg-xF4u.js +7 -0
- package/dist/{plus-bvZ2f9T_.js → plus-COkdZ2Fh.js} +1 -1
- package/dist/{upload-BdzwEMeV.js → upload-DWhfIa3Y.js} +1 -1
- package/dist/{x-98xe-fYG.js → x-BDi_yYx9.js} +1 -1
- package/package.json +8 -8
- package/dist/FileField-D3mZIrJ1.js +0 -158
- package/dist/ImageField-BZfSFwmJ.js +0 -75
- package/dist/LookupField-Cms1Cu_l.js +0 -1032
- package/dist/TextAreaField-CLzzmPce.js +0 -37
- package/dist/image-DmzU2ETO.js +0 -24
- /package/dist/{AgGridImpl-DJWnS8p3.js → AgGridImpl-DiTsK8F6.js} +0 -0
- /package/dist/{BooleanField-Chphr8cB.js → BooleanField-0QUz5DOy.js} +0 -0
- /package/dist/{CodeField-BWngVIw1.js → CodeField-iTabv7wS.js} +0 -0
- /package/dist/{ColorField-GygyYArR.js → ColorField-R7ZmLj1V.js} +0 -0
- /package/dist/{CurrencyField-O8Pn59RO.js → CurrencyField-CEu2SjEj.js} +0 -0
- /package/dist/{DateField-u6U8wmvI.js → DateField-DoaPu9GV.js} +0 -0
- /package/dist/{DateTimeField-D1z1Ovvy.js → DateTimeField-DcKX54zr.js} +0 -0
- /package/dist/{EmailField-IOcDmGjJ.js → EmailField-eYfpFAtE.js} +0 -0
- /package/dist/{FormulaField-MuyWzQx0.js → FormulaField-DF6-4u2b.js} +0 -0
- /package/dist/{GridField-gN34gk4b.js → GridField-BFlgbp8W.js} +0 -0
- /package/dist/{LocationField-B-zwfw3h.js → LocationField-BeYK6K9V.js} +0 -0
- /package/dist/{NumberField-BV5sKwZ7.js → NumberField-BYuCxbmU.js} +0 -0
- /package/dist/{ObjectField-DJ5s3ciA.js → ObjectField-Dlf_yrMC.js} +0 -0
- /package/dist/{PercentField-DO3be_bL.js → PercentField-BvdQEcfn.js} +0 -0
- /package/dist/{PhoneField-CT6XcO6O.js → PhoneField-CBuoC-vs.js} +0 -0
- /package/dist/{RichTextField-C7qzDPJy.js → RichTextField-DEYNcokk.js} +0 -0
- /package/dist/{SliderField-DrggtBSX.js → SliderField-C2EpGbj8.js} +0 -0
- /package/dist/{SummaryField-DuMsFoY5.js → SummaryField-S6Gt7IDC.js} +0 -0
- /package/dist/{TextField-CZE7SzK4.js → TextField-DccUZtd7.js} +0 -0
- /package/dist/{TimeField-Bha4cayv.js → TimeField-CWbpycPt.js} +0 -0
- /package/dist/{UrlField-Dff4WLlN.js → UrlField-BkPyImh9.js} +0 -0
- /package/dist/{VectorField-BHe8lDOH.js → VectorField-Baa_mHsO.js} +0 -0
- /package/dist/{useFieldTranslation-CfXaJRC4.js → useFieldTranslation-DtLNhrx3.js} +0 -0
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./rolldown-runtime-CkxV0rQ3.js";
|
|
2
|
-
import { t } from "./jsx-runtime-CXSCp6pT.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import { EmptyValue as n, Textarea as r } from "@object-ui/components";
|
|
5
|
-
//#region ../fields/src/widgets/TextAreaField.tsx
|
|
6
|
-
var i = /* @__PURE__ */ e({ TextAreaField: () => o }), a = t();
|
|
7
|
-
function o({ value: e, onChange: t, field: i, readonly: o, errorMessage: s, ...c }) {
|
|
8
|
-
if (o) return /* @__PURE__ */ (0, a.jsx)("div", {
|
|
9
|
-
className: "text-sm whitespace-pre-wrap",
|
|
10
|
-
children: e || /* @__PURE__ */ (0, a.jsx)(n, {})
|
|
11
|
-
});
|
|
12
|
-
let l = i || c.schema, u = l?.rows || 4, d = l?.max_length, { inputType: f, ...p } = c;
|
|
13
|
-
return /* @__PURE__ */ (0, a.jsxs)("div", {
|
|
14
|
-
className: "relative",
|
|
15
|
-
children: [/* @__PURE__ */ (0, a.jsx)(r, {
|
|
16
|
-
...p,
|
|
17
|
-
value: e || "",
|
|
18
|
-
onChange: (e) => t(e.target.value),
|
|
19
|
-
placeholder: l?.placeholder,
|
|
20
|
-
disabled: o || p.disabled,
|
|
21
|
-
rows: u,
|
|
22
|
-
maxLength: d,
|
|
23
|
-
"aria-invalid": !!s
|
|
24
|
-
}), d && /* @__PURE__ */ (0, a.jsxs)("div", {
|
|
25
|
-
className: "absolute bottom-2 right-2 text-xs text-gray-400",
|
|
26
|
-
"aria-live": "polite",
|
|
27
|
-
"aria-label": `Character count: ${(e || "").length} of ${d}`,
|
|
28
|
-
children: [
|
|
29
|
-
(e || "").length,
|
|
30
|
-
"/",
|
|
31
|
-
d
|
|
32
|
-
]
|
|
33
|
-
})]
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
//#endregion
|
|
37
|
-
export { i as n, o as t };
|
package/dist/image-DmzU2ETO.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-C_5JZ35b.js";
|
|
2
|
-
var t = e("image", [
|
|
3
|
-
["rect", {
|
|
4
|
-
width: "18",
|
|
5
|
-
height: "18",
|
|
6
|
-
x: "3",
|
|
7
|
-
y: "3",
|
|
8
|
-
rx: "2",
|
|
9
|
-
ry: "2",
|
|
10
|
-
key: "1m3agn"
|
|
11
|
-
}],
|
|
12
|
-
["circle", {
|
|
13
|
-
cx: "9",
|
|
14
|
-
cy: "9",
|
|
15
|
-
r: "2",
|
|
16
|
-
key: "af1f0g"
|
|
17
|
-
}],
|
|
18
|
-
["path", {
|
|
19
|
-
d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",
|
|
20
|
-
key: "1xmnt7"
|
|
21
|
-
}]
|
|
22
|
-
]);
|
|
23
|
-
//#endregion
|
|
24
|
-
export { t };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|