@apexcura/ui-components 0.0.15-Beta81 → 0.0.15-Beta82
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.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -331,6 +331,7 @@ var CkEditor = (props) => {
|
|
|
331
331
|
const onHandleChange = () => {
|
|
332
332
|
if (editorRef.current) {
|
|
333
333
|
let content = editorRef.current.getContent();
|
|
334
|
+
console.log(content);
|
|
334
335
|
if (props.onChange) {
|
|
335
336
|
props.onChange(content);
|
|
336
337
|
}
|
|
@@ -1229,7 +1230,7 @@ var SwitchElement = (props) => {
|
|
|
1229
1230
|
const onChange = (checked) => {
|
|
1230
1231
|
props.onChange && props.onChange(checked);
|
|
1231
1232
|
};
|
|
1232
|
-
return /* @__PURE__ */ import_react29.default.createElement(import_antd20.Switch, { defaultChecked: true, onChange });
|
|
1233
|
+
return /* @__PURE__ */ import_react29.default.createElement(import_antd20.Switch, { defaultChecked: true, checkedChildren: props.checkedChildren, unCheckedChildren: props.unCheckedChildren, onChange });
|
|
1233
1234
|
};
|
|
1234
1235
|
|
|
1235
1236
|
// src/Components/Upload.tsx
|
package/dist/index.mjs
CHANGED
|
@@ -261,6 +261,7 @@ var CkEditor = (props) => {
|
|
|
261
261
|
const onHandleChange = () => {
|
|
262
262
|
if (editorRef.current) {
|
|
263
263
|
let content = editorRef.current.getContent();
|
|
264
|
+
console.log(content);
|
|
264
265
|
if (props.onChange) {
|
|
265
266
|
props.onChange(content);
|
|
266
267
|
}
|
|
@@ -1159,7 +1160,7 @@ var SwitchElement = (props) => {
|
|
|
1159
1160
|
const onChange = (checked) => {
|
|
1160
1161
|
props.onChange && props.onChange(checked);
|
|
1161
1162
|
};
|
|
1162
|
-
return /* @__PURE__ */ React28.createElement(Switch, { defaultChecked: true, onChange });
|
|
1163
|
+
return /* @__PURE__ */ React28.createElement(Switch, { defaultChecked: true, checkedChildren: props.checkedChildren, unCheckedChildren: props.unCheckedChildren, onChange });
|
|
1163
1164
|
};
|
|
1164
1165
|
|
|
1165
1166
|
// src/Components/Upload.tsx
|