@ceed/ads 1.3.0 → 1.3.1-next.1
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.cjs +13 -2
- package/dist/index.js +13 -2
- package/framer/index.js +38 -38
- package/package.json +3 -2
package/dist/index.cjs
CHANGED
|
@@ -2901,6 +2901,15 @@ var InfoSign_default = InfoSign;
|
|
|
2901
2901
|
function getTextAlign(props) {
|
|
2902
2902
|
return !props.editMode && ["number", "date", "currency"].includes(props.type || "") ? "end" : "start";
|
|
2903
2903
|
}
|
|
2904
|
+
var DefaultLoadingOverlay = () => /* @__PURE__ */ import_react25.default.createElement(import_joy33.LinearProgress, { value: 8, variant: "plain" });
|
|
2905
|
+
var TextEllipsis = (0, import_joy33.styled)("div", {
|
|
2906
|
+
name: "DataTable",
|
|
2907
|
+
slot: "textEllipsis"
|
|
2908
|
+
})({
|
|
2909
|
+
overflow: "hidden",
|
|
2910
|
+
textOverflow: "ellipsis",
|
|
2911
|
+
whiteSpace: "nowrap"
|
|
2912
|
+
});
|
|
2904
2913
|
var OverlayWrapper = (0, import_joy33.styled)("tr", {
|
|
2905
2914
|
name: "DataTable",
|
|
2906
2915
|
slot: "overlayWrapper"
|
|
@@ -3123,7 +3132,7 @@ var HeadCell = (props) => {
|
|
|
3123
3132
|
},
|
|
3124
3133
|
textAlign === "end" && sortIcon,
|
|
3125
3134
|
textAlign === "end" && infoSign,
|
|
3126
|
-
/* @__PURE__ */ import_react25.default.createElement(
|
|
3135
|
+
/* @__PURE__ */ import_react25.default.createElement(TextEllipsis, null, headerName ?? field, editMode && required && /* @__PURE__ */ import_react25.default.createElement(Asterisk, null, "*")),
|
|
3127
3136
|
textAlign === "start" && infoSign,
|
|
3128
3137
|
textAlign === "start" && sortIcon
|
|
3129
3138
|
),
|
|
@@ -3658,12 +3667,14 @@ function Component(props, apiRef) {
|
|
|
3658
3667
|
// onSortModelChange is used in useDataTableRenderer
|
|
3659
3668
|
initialState: _________,
|
|
3660
3669
|
// initialState is used in useDataTableRenderer
|
|
3670
|
+
getId: ____________,
|
|
3671
|
+
// getId is used in useDataTableRenderer
|
|
3661
3672
|
loading,
|
|
3662
3673
|
slots: {
|
|
3663
3674
|
checkbox: RenderCheckbox = Checkbox_default,
|
|
3664
3675
|
toolbar: Toolbar,
|
|
3665
3676
|
footer: Footer,
|
|
3666
|
-
loadingOverlay: LoadingOverlay =
|
|
3677
|
+
loadingOverlay: LoadingOverlay = DefaultLoadingOverlay
|
|
3667
3678
|
} = {},
|
|
3668
3679
|
slotProps: {
|
|
3669
3680
|
checkbox: checkboxProps = {},
|
package/dist/index.js
CHANGED
|
@@ -2851,6 +2851,15 @@ var InfoSign_default = InfoSign;
|
|
|
2851
2851
|
function getTextAlign(props) {
|
|
2852
2852
|
return !props.editMode && ["number", "date", "currency"].includes(props.type || "") ? "end" : "start";
|
|
2853
2853
|
}
|
|
2854
|
+
var DefaultLoadingOverlay = () => /* @__PURE__ */ React23.createElement(LinearProgress, { value: 8, variant: "plain" });
|
|
2855
|
+
var TextEllipsis = styled12("div", {
|
|
2856
|
+
name: "DataTable",
|
|
2857
|
+
slot: "textEllipsis"
|
|
2858
|
+
})({
|
|
2859
|
+
overflow: "hidden",
|
|
2860
|
+
textOverflow: "ellipsis",
|
|
2861
|
+
whiteSpace: "nowrap"
|
|
2862
|
+
});
|
|
2854
2863
|
var OverlayWrapper = styled12("tr", {
|
|
2855
2864
|
name: "DataTable",
|
|
2856
2865
|
slot: "overlayWrapper"
|
|
@@ -3073,7 +3082,7 @@ var HeadCell = (props) => {
|
|
|
3073
3082
|
},
|
|
3074
3083
|
textAlign === "end" && sortIcon,
|
|
3075
3084
|
textAlign === "end" && infoSign,
|
|
3076
|
-
/* @__PURE__ */ React23.createElement(
|
|
3085
|
+
/* @__PURE__ */ React23.createElement(TextEllipsis, null, headerName ?? field, editMode && required && /* @__PURE__ */ React23.createElement(Asterisk, null, "*")),
|
|
3077
3086
|
textAlign === "start" && infoSign,
|
|
3078
3087
|
textAlign === "start" && sortIcon
|
|
3079
3088
|
),
|
|
@@ -3608,12 +3617,14 @@ function Component(props, apiRef) {
|
|
|
3608
3617
|
// onSortModelChange is used in useDataTableRenderer
|
|
3609
3618
|
initialState: _________,
|
|
3610
3619
|
// initialState is used in useDataTableRenderer
|
|
3620
|
+
getId: ____________,
|
|
3621
|
+
// getId is used in useDataTableRenderer
|
|
3611
3622
|
loading,
|
|
3612
3623
|
slots: {
|
|
3613
3624
|
checkbox: RenderCheckbox = Checkbox_default,
|
|
3614
3625
|
toolbar: Toolbar,
|
|
3615
3626
|
footer: Footer,
|
|
3616
|
-
loadingOverlay: LoadingOverlay =
|
|
3627
|
+
loadingOverlay: LoadingOverlay = DefaultLoadingOverlay
|
|
3617
3628
|
} = {},
|
|
3618
3629
|
slotProps: {
|
|
3619
3630
|
checkbox: checkboxProps = {},
|