@steedos-widgets/ckeditor 6.3.11-beta.10 → 6.3.11-beta.12

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.
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import './CKEditor.css';
3
- export declare const AmisCKEditor: ({ config, ...props }: {
4
- [x: string]: any;
5
- config: any;
6
- }) => JSX.Element;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import './CKEditor.css';
3
- export declare const AmisCKEditorCommercial: ({ config, data: amisData, value, onChange: amisOnChange, dispatchEvent: amisDispatchEvent, ...props }: {
4
- [x: string]: any;
5
- config: any;
6
- data: any;
7
- value?: string;
8
- onChange: any;
9
- dispatchEvent: any;
10
- }) => JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './CKEditor';
2
- export * from './CKEditorCommercial';
package/dist/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './components';
package/dist/meta.d.ts DELETED
@@ -1,9 +0,0 @@
1
- declare const _default: {
2
- componentList: {
3
- title: string;
4
- icon: string;
5
- children: any[];
6
- }[];
7
- components: any[];
8
- };
9
- export default _default;
package/dist/meta.js DELETED
@@ -1,239 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.BuilderCKEditorMeta = factory());
5
- })(this, (function () { 'use strict';
6
-
7
- /******************************************************************************
8
- Copyright (c) Microsoft Corporation.
9
-
10
- Permission to use, copy, modify, and/or distribute this software for any
11
- purpose with or without fee is hereby granted.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
- PERFORMANCE OF THIS SOFTWARE.
20
- ***************************************************************************** */
21
-
22
- var __assign = function() {
23
- __assign = Object.assign || function __assign(t) {
24
- for (var s, i = 1, n = arguments.length; i < n; i++) {
25
- s = arguments[i];
26
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
27
- }
28
- return t;
29
- };
30
- return __assign.apply(this, arguments);
31
- };
32
-
33
- var config$1 = {
34
- group: "华炎魔方-原子组件",
35
- componentName: "AmisCKEditor",
36
- title: "CKEditor",
37
- docUrl: "",
38
- screenshot: "",
39
- npm: {
40
- package: "@steedos-widgets/ckeditor",
41
- version: "{{version}}",
42
- exportName: "AmisCKEditor",
43
- main: "",
44
- destructuring: true,
45
- subName: ""
46
- },
47
- props: [],
48
- preview: {},
49
- targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
50
- engines: ["amis"],
51
- // settings for amis.
52
- amis: {
53
- name: 'ckeditor',
54
- icon: "fa-fw fa fa-list-alt"
55
- }
56
- };
57
- var CKEditor = __assign(__assign({}, config$1), { snippets: [
58
- {
59
- title: config$1.title,
60
- screenshot: "",
61
- schema: {
62
- componentName: config$1.componentName,
63
- props: config$1.preview
64
- }
65
- }
66
- ], amis: {
67
- render: {
68
- type: config$1.amis.name,
69
- usage: "formitem",
70
- weight: 1,
71
- framework: "react"
72
- },
73
- plugin: {
74
- rendererName: config$1.amis.name,
75
- $schema: '/schemas/UnkownSchema.json',
76
- name: config$1.title,
77
- description: config$1.title,
78
- tags: [config$1.group],
79
- order: -9999,
80
- icon: config$1.amis.icon,
81
- scaffold: {
82
- type: config$1.amis.name,
83
- config: {},
84
- },
85
- previewSchema: {
86
- type: config$1.amis.name,
87
- },
88
- panelTitle: "设置",
89
- panelControls: [
90
- {
91
- type: "text",
92
- name: "className",
93
- label: "CSS类名",
94
- value: "bg-gray-100 border-b sm:rounded sm:border border-gray-300 p-4 mb-4"
95
- },
96
- {
97
- type: "editor",
98
- "language": "json",
99
- name: "config",
100
- label: "CKEditor 配置",
101
- pipeOut: function (value) {
102
- try {
103
- return value ? JSON.parse(value) : null;
104
- }
105
- catch (e) {
106
- }
107
- return value;
108
- }
109
- },
110
- {
111
- type: "editor",
112
- "language": "javascript",
113
- name: "dataFilter",
114
- label: "数据加工",
115
- description: "如果后端没有直接返回 CKEditor 配置,可以自己写一段函数来包装。\
116
- 签名:(config, CKEditor, data) => config \
117
- "
118
- },
119
- ],
120
- events: [{}],
121
- },
122
- } });
123
-
124
- var config = {
125
- group: "华炎魔方-原子组件",
126
- componentName: "AmisCKEditorCommercial",
127
- title: "CKEditor Commercial",
128
- docUrl: "",
129
- screenshot: "",
130
- npm: {
131
- package: "@steedos-widgets/ckeditor",
132
- version: "{{version}}",
133
- exportName: "AmisCKEditorCommercial",
134
- main: "",
135
- destructuring: true,
136
- subName: ""
137
- },
138
- props: [],
139
- preview: {},
140
- targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
141
- engines: ["amis"],
142
- // settings for amis.
143
- amis: {
144
- name: 'ckeditor-commercial',
145
- icon: "fa-fw fa fa-list-alt"
146
- }
147
- };
148
- var CKEditorCommercial = __assign(__assign({}, config), { snippets: [
149
- {
150
- title: config.title,
151
- screenshot: "",
152
- schema: {
153
- componentName: config.componentName,
154
- props: config.preview
155
- }
156
- }
157
- ], amis: {
158
- render: {
159
- type: config.amis.name,
160
- usage: "formitem",
161
- weight: 1,
162
- framework: "react"
163
- },
164
- plugin: {
165
- rendererName: config.amis.name,
166
- $schema: '/schemas/UnkownSchema.json',
167
- name: config.title,
168
- description: config.title,
169
- tags: [config.group],
170
- order: -9999,
171
- icon: config.amis.icon,
172
- scaffold: {
173
- type: config.amis.name,
174
- config: {
175
- licenseKey: "UEg5WEh3R3ZaL2EwLzZBY1dHSGR5NGhMVCtNYUVHQStwZTFoM0VRVzNlN2h5YWRtcHJmWXk3RDZoU0hmLU1qQXlOREExTURNPQ=="
176
- },
177
- },
178
- previewSchema: {
179
- type: config.amis.name,
180
- },
181
- panelTitle: "设置",
182
- panelControls: [
183
- {
184
- type: "text",
185
- name: "className",
186
- label: "CSS类名",
187
- value: "bg-gray-100 border-b sm:rounded sm:border border-gray-300 p-4 mb-4"
188
- },
189
- {
190
- type: "editor",
191
- "language": "json",
192
- name: "config",
193
- label: "CKEditor 配置",
194
- pipeOut: function (value) {
195
- try {
196
- return value ? JSON.parse(value) : null;
197
- }
198
- catch (e) {
199
- }
200
- return value;
201
- }
202
- },
203
- {
204
- type: "editor",
205
- "language": "javascript",
206
- name: "dataFilter",
207
- label: "数据加工",
208
- description: "如果后端没有直接返回 CKEditor 配置,可以自己写一段函数来包装。\
209
- 签名:(config, CKEditor, data) => config \
210
- "
211
- },
212
- ],
213
- events: [{}],
214
- },
215
- } });
216
-
217
- /*
218
- * @Author: baozhoutao@steedos.com
219
- * @Date: 2022-08-31 16:32:35
220
- * @LastEditors: baozhoutao@steedos.com
221
- * @LastEditTime: 2022-09-01 18:46:29
222
- * @Description:
223
- */
224
- var components = [CKEditor, CKEditorCommercial];
225
- var componentList = [
226
- {
227
- title: "华炎魔方",
228
- icon: "",
229
- children: [CKEditor, CKEditorCommercial]
230
- }
231
- ];
232
- var meta = {
233
- componentList: componentList,
234
- components: components
235
- };
236
-
237
- return meta;
238
-
239
- }));
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import './CKEditor.css';
3
- export declare const AmisCKEditor: ({ config, ...props }: {
4
- [x: string]: any;
5
- config: any;
6
- }) => JSX.Element;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import './CKEditor.css';
3
- export declare const AmisCKEditorCommercial: ({ config, data: amisData, value, onChange: amisOnChange, dispatchEvent: amisDispatchEvent, ...props }: {
4
- [x: string]: any;
5
- config: any;
6
- data: any;
7
- value?: string;
8
- onChange: any;
9
- dispatchEvent: any;
10
- }) => JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './CKEditor';
2
- export * from './CKEditorCommercial';
@@ -1 +0,0 @@
1
- export * from './components';
@@ -1,9 +0,0 @@
1
- declare const _default: {
2
- componentList: {
3
- title: string;
4
- icon: string;
5
- children: any[];
6
- }[];
7
- components: any[];
8
- };
9
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;