fan-standard-comp 3.2.10 → 3.2.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.
- package/dist/fan-standard-comp.umd.js +150 -150
- package/es/FormComp/FieldComponent/RefactorTreeSelect.d.ts +4 -0
- package/es/FormComp/FieldComponent/RefactorTreeSelect.js +96 -202
- package/es/FormComp/FieldComponent/index.js +1 -1
- package/es/RefactorTree/util.d.ts +4 -3
- package/es/RefactorTree/util.js +52 -8
- package/es/hooks/use-language.d.ts +2 -0
- package/es/hooks/use-language.js +44 -0
- package/es/hooks/use-throttle.d.ts +1 -0
- package/es/hooks/use-throttle.js +33 -0
- package/es/locales/bn-BD/settings.d.ts +34 -0
- package/es/locales/bn-BD/settings.js +36 -0
- package/es/locales/bn-BD.d.ts +35 -0
- package/es/locales/bn-BD.js +4 -0
- package/es/locales/en-US/settings.d.ts +34 -0
- package/es/locales/en-US/settings.js +36 -0
- package/es/locales/en-US.d.ts +35 -0
- package/es/locales/en-US.js +4 -0
- package/es/locales/fa-IR/settings.d.ts +34 -0
- package/es/locales/fa-IR/settings.js +36 -0
- package/es/locales/fa-IR.d.ts +35 -0
- package/es/locales/fa-IR.js +4 -0
- package/es/locales/id-ID/settings.d.ts +34 -0
- package/es/locales/id-ID/settings.js +36 -0
- package/es/locales/id-ID.d.ts +35 -0
- package/es/locales/id-ID.js +4 -0
- package/es/locales/ja-JP/settings.d.ts +33 -0
- package/es/locales/ja-JP/settings.js +35 -0
- package/es/locales/ja-JP.d.ts +34 -0
- package/es/locales/ja-JP.js +4 -0
- package/es/locales/pt-BR/settings.d.ts +34 -0
- package/es/locales/pt-BR/settings.js +36 -0
- package/es/locales/pt-BR.d.ts +35 -0
- package/es/locales/pt-BR.js +4 -0
- package/es/locales/zh-CN/settings.d.ts +34 -0
- package/es/locales/zh-CN/settings.js +36 -0
- package/es/locales/zh-CN.d.ts +35 -0
- package/es/locales/zh-CN.js +4 -0
- package/es/locales/zh-TW/settings.d.ts +34 -0
- package/es/locales/zh-TW/settings.js +36 -0
- package/es/locales/zh-TW.d.ts +34 -0
- package/es/locales/zh-TW.js +2 -0
- package/es/utils/getParentNodes.d.ts +109 -0
- package/es/utils/getParentNodes.js +119 -20
- package/lib/FormComp/FieldComponent/RefactorTreeSelect.d.ts +4 -0
- package/lib/FormComp/FieldComponent/RefactorTreeSelect.js +94 -199
- package/lib/FormComp/FieldComponent/index.js +1 -1
- package/lib/RefactorTree/util.d.ts +4 -3
- package/lib/RefactorTree/util.js +51 -9
- package/lib/hooks/use-language.d.ts +2 -0
- package/lib/hooks/use-language.js +51 -0
- package/lib/hooks/use-throttle.d.ts +1 -0
- package/lib/hooks/use-throttle.js +38 -0
- package/lib/locales/bn-BD/settings.d.ts +34 -0
- package/lib/locales/bn-BD/settings.js +42 -0
- package/lib/locales/bn-BD.d.ts +35 -0
- package/lib/locales/bn-BD.js +11 -0
- package/lib/locales/en-US/settings.d.ts +34 -0
- package/lib/locales/en-US/settings.js +42 -0
- package/lib/locales/en-US.d.ts +35 -0
- package/lib/locales/en-US.js +11 -0
- package/lib/locales/fa-IR/settings.d.ts +34 -0
- package/lib/locales/fa-IR/settings.js +42 -0
- package/lib/locales/fa-IR.d.ts +35 -0
- package/lib/locales/fa-IR.js +11 -0
- package/lib/locales/id-ID/settings.d.ts +34 -0
- package/lib/locales/id-ID/settings.js +42 -0
- package/lib/locales/id-ID.d.ts +35 -0
- package/lib/locales/id-ID.js +11 -0
- package/lib/locales/ja-JP/settings.d.ts +33 -0
- package/lib/locales/ja-JP/settings.js +41 -0
- package/lib/locales/ja-JP.d.ts +34 -0
- package/lib/locales/ja-JP.js +11 -0
- package/lib/locales/pt-BR/settings.d.ts +34 -0
- package/lib/locales/pt-BR/settings.js +42 -0
- package/lib/locales/pt-BR.d.ts +35 -0
- package/lib/locales/pt-BR.js +11 -0
- package/lib/locales/zh-CN/settings.d.ts +34 -0
- package/lib/locales/zh-CN/settings.js +42 -0
- package/lib/locales/zh-CN.d.ts +35 -0
- package/lib/locales/zh-CN.js +11 -0
- package/lib/locales/zh-TW/settings.d.ts +34 -0
- package/lib/locales/zh-TW/settings.js +42 -0
- package/lib/locales/zh-TW.d.ts +34 -0
- package/lib/locales/zh-TW.js +9 -0
- package/lib/utils/getParentNodes.d.ts +109 -0
- package/lib/utils/getParentNodes.js +118 -22
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'field.input.placeholder': string;
|
|
3
|
+
'field.inputNumber.placeholder': string;
|
|
4
|
+
'field.select.placeholder': string;
|
|
5
|
+
'field.select.search.placeholder': string;
|
|
6
|
+
'field.calendar.placeholder': string;
|
|
7
|
+
'field.mentions.input.placeholder': string;
|
|
8
|
+
'field.mentions.select.placeholder': string;
|
|
9
|
+
'field.upload.select': string;
|
|
10
|
+
'field.upload.import': string;
|
|
11
|
+
'filed.upload.limit.tips': string;
|
|
12
|
+
'filed.upload.limit.tips.prefix': string;
|
|
13
|
+
'filed.upload.limit.tips.postfix': string;
|
|
14
|
+
'filed.upload.fileType.tips': string;
|
|
15
|
+
'filed.varTemplate.enter': string;
|
|
16
|
+
'filed.varTemplate.words': string;
|
|
17
|
+
'field.expand': string;
|
|
18
|
+
'field.collapse': string;
|
|
19
|
+
'filter.submit': string;
|
|
20
|
+
'filter.reset': string;
|
|
21
|
+
'table.order': string;
|
|
22
|
+
'table.column.action': string;
|
|
23
|
+
'table.pagination.unit': string;
|
|
24
|
+
'table.pagination.total': string;
|
|
25
|
+
'global.confirm.text': string;
|
|
26
|
+
'global.reset.text': string;
|
|
27
|
+
'global.cancel.text': string;
|
|
28
|
+
'global.empty.text': string;
|
|
29
|
+
'global.prev.text': string;
|
|
30
|
+
'global.next.text': string;
|
|
31
|
+
'global.more.text': string;
|
|
32
|
+
'global.delete.confirm': string;
|
|
33
|
+
};
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = exports.default = {
|
|
8
|
+
// 筛选
|
|
9
|
+
'field.input.placeholder': '请输入',
|
|
10
|
+
'field.inputNumber.placeholder': '请输入数字',
|
|
11
|
+
'field.select.placeholder': '请选择',
|
|
12
|
+
'field.select.search.placeholder': '请输入选择',
|
|
13
|
+
'field.calendar.placeholder': '请选择',
|
|
14
|
+
'field.mentions.input.placeholder': '请输入',
|
|
15
|
+
'field.mentions.select.placeholder': '选择',
|
|
16
|
+
'field.upload.select': '点击选择',
|
|
17
|
+
'field.upload.import': '点击上传',
|
|
18
|
+
'filed.upload.limit.tips': '文件大小不能超过 ',
|
|
19
|
+
'filed.upload.limit.tips.prefix': '文件大小',
|
|
20
|
+
'filed.upload.limit.tips.postfix': '超过限制',
|
|
21
|
+
'filed.upload.fileType.tips': '文件类型不支持',
|
|
22
|
+
'filed.varTemplate.enter': '您已录入',
|
|
23
|
+
'filed.varTemplate.words': '个字',
|
|
24
|
+
'field.expand': '展开',
|
|
25
|
+
'field.collapse': '收起',
|
|
26
|
+
'filter.submit': '查询',
|
|
27
|
+
'filter.reset': '重置',
|
|
28
|
+
// 表格
|
|
29
|
+
'table.order': '序号',
|
|
30
|
+
'table.column.action': '操作',
|
|
31
|
+
'table.pagination.unit': '条',
|
|
32
|
+
'table.pagination.total': '共',
|
|
33
|
+
// 通用
|
|
34
|
+
'global.confirm.text': '确定',
|
|
35
|
+
'global.reset.text': '重置',
|
|
36
|
+
'global.cancel.text': '取消',
|
|
37
|
+
'global.empty.text': '暂无数据',
|
|
38
|
+
'global.prev.text': '上一步',
|
|
39
|
+
'global.next.text': '下一步',
|
|
40
|
+
'global.more.text': '更多',
|
|
41
|
+
'global.delete.confirm': '确定要删除'
|
|
42
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'field.input.placeholder': string;
|
|
3
|
+
'field.inputNumber.placeholder': string;
|
|
4
|
+
'field.select.placeholder': string;
|
|
5
|
+
'field.select.search.placeholder': string;
|
|
6
|
+
'field.calendar.placeholder': string;
|
|
7
|
+
'field.mentions.input.placeholder': string;
|
|
8
|
+
'field.mentions.select.placeholder': string;
|
|
9
|
+
'field.upload.select': string;
|
|
10
|
+
'field.upload.import': string;
|
|
11
|
+
'filed.upload.limit.tips': string;
|
|
12
|
+
'filed.upload.limit.tips.prefix': string;
|
|
13
|
+
'filed.upload.limit.tips.postfix': string;
|
|
14
|
+
'filed.upload.fileType.tips': string;
|
|
15
|
+
'filed.varTemplate.enter': string;
|
|
16
|
+
'filed.varTemplate.words': string;
|
|
17
|
+
'field.expand': string;
|
|
18
|
+
'field.collapse': string;
|
|
19
|
+
'filter.submit': string;
|
|
20
|
+
'filter.reset': string;
|
|
21
|
+
'table.order': string;
|
|
22
|
+
'table.column.action': string;
|
|
23
|
+
'table.pagination.unit': string;
|
|
24
|
+
'table.pagination.total': string;
|
|
25
|
+
'global.confirm.text': string;
|
|
26
|
+
'global.reset.text': string;
|
|
27
|
+
'global.cancel.text': string;
|
|
28
|
+
'global.empty.text': string;
|
|
29
|
+
'global.prev.text': string;
|
|
30
|
+
'global.next.text': string;
|
|
31
|
+
'global.more.text': string;
|
|
32
|
+
'global.delete.confirm': string;
|
|
33
|
+
'navBar.lang': string;
|
|
34
|
+
};
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _settings = _interopRequireDefault(require("./pt-BR/settings"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
var _default = exports.default = Object.assign({
|
|
10
|
+
'navBar.lang': 'Idiomas'
|
|
11
|
+
}, _settings.default);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'field.input.placeholder': string;
|
|
3
|
+
'field.inputNumber.placeholder': string;
|
|
4
|
+
'field.select.placeholder': string;
|
|
5
|
+
'field.select.search.placeholder': string;
|
|
6
|
+
'field.calendar.placeholder': string;
|
|
7
|
+
'field.mentions.input.placeholder': string;
|
|
8
|
+
'field.mentions.select.placeholder': string;
|
|
9
|
+
'field.upload.select': string;
|
|
10
|
+
'field.upload.import': string;
|
|
11
|
+
'filed.upload.limit.tips': string;
|
|
12
|
+
'filed.upload.limit.tips.prefix': string;
|
|
13
|
+
'filed.upload.limit.tips.postfix': string;
|
|
14
|
+
'filed.upload.fileType.tips': string;
|
|
15
|
+
'filed.varTemplate.enter': string;
|
|
16
|
+
'filed.varTemplate.words': string;
|
|
17
|
+
'field.expand': string;
|
|
18
|
+
'field.collapse': string;
|
|
19
|
+
'filter.submit': string;
|
|
20
|
+
'filter.reset': string;
|
|
21
|
+
'table.order': string;
|
|
22
|
+
'table.column.action': string;
|
|
23
|
+
'table.pagination.unit': string;
|
|
24
|
+
'table.pagination.total': string;
|
|
25
|
+
'global.confirm.text': string;
|
|
26
|
+
'global.reset.text': string;
|
|
27
|
+
'global.cancel.text': string;
|
|
28
|
+
'global.empty.text': string;
|
|
29
|
+
'global.prev.text': string;
|
|
30
|
+
'global.next.text': string;
|
|
31
|
+
'global.more.text': string;
|
|
32
|
+
'global.delete.confirm': string;
|
|
33
|
+
};
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = exports.default = {
|
|
8
|
+
// 筛选
|
|
9
|
+
'field.input.placeholder': '请输入',
|
|
10
|
+
'field.inputNumber.placeholder': '请输入数字',
|
|
11
|
+
'field.select.placeholder': '请选择',
|
|
12
|
+
'field.select.search.placeholder': '请输入选择',
|
|
13
|
+
'field.calendar.placeholder': '请选择',
|
|
14
|
+
'field.mentions.input.placeholder': '请输入',
|
|
15
|
+
'field.mentions.select.placeholder': '选择',
|
|
16
|
+
'field.upload.select': '点击选择',
|
|
17
|
+
'field.upload.import': '点击上传',
|
|
18
|
+
'filed.upload.limit.tips': '文件大小不能超过 ',
|
|
19
|
+
'filed.upload.limit.tips.prefix': '文件大小',
|
|
20
|
+
'filed.upload.limit.tips.postfix': '超过限制',
|
|
21
|
+
'filed.upload.fileType.tips': '文件类型不支持',
|
|
22
|
+
'filed.varTemplate.enter': '您已录入',
|
|
23
|
+
'filed.varTemplate.words': '个字',
|
|
24
|
+
'field.expand': '展开',
|
|
25
|
+
'field.collapse': '收起',
|
|
26
|
+
'filter.submit': '查询',
|
|
27
|
+
'filter.reset': '重置',
|
|
28
|
+
// 表格
|
|
29
|
+
'table.order': '序号',
|
|
30
|
+
'table.column.action': '操作',
|
|
31
|
+
'table.pagination.unit': '条',
|
|
32
|
+
'table.pagination.total': '共',
|
|
33
|
+
// 通用
|
|
34
|
+
'global.confirm.text': '确定',
|
|
35
|
+
'global.reset.text': '重置',
|
|
36
|
+
'global.cancel.text': '取消',
|
|
37
|
+
'global.empty.text': '暂无数据',
|
|
38
|
+
'global.prev.text': '上一步',
|
|
39
|
+
'global.next.text': '下一步',
|
|
40
|
+
'global.more.text': '更多',
|
|
41
|
+
'global.delete.confirm': '确定要删除'
|
|
42
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'field.input.placeholder': string;
|
|
3
|
+
'field.inputNumber.placeholder': string;
|
|
4
|
+
'field.select.placeholder': string;
|
|
5
|
+
'field.select.search.placeholder': string;
|
|
6
|
+
'field.calendar.placeholder': string;
|
|
7
|
+
'field.mentions.input.placeholder': string;
|
|
8
|
+
'field.mentions.select.placeholder': string;
|
|
9
|
+
'field.upload.select': string;
|
|
10
|
+
'field.upload.import': string;
|
|
11
|
+
'filed.upload.limit.tips': string;
|
|
12
|
+
'filed.upload.limit.tips.prefix': string;
|
|
13
|
+
'filed.upload.limit.tips.postfix': string;
|
|
14
|
+
'filed.upload.fileType.tips': string;
|
|
15
|
+
'filed.varTemplate.enter': string;
|
|
16
|
+
'filed.varTemplate.words': string;
|
|
17
|
+
'field.expand': string;
|
|
18
|
+
'field.collapse': string;
|
|
19
|
+
'filter.submit': string;
|
|
20
|
+
'filter.reset': string;
|
|
21
|
+
'table.order': string;
|
|
22
|
+
'table.column.action': string;
|
|
23
|
+
'table.pagination.unit': string;
|
|
24
|
+
'table.pagination.total': string;
|
|
25
|
+
'global.confirm.text': string;
|
|
26
|
+
'global.reset.text': string;
|
|
27
|
+
'global.cancel.text': string;
|
|
28
|
+
'global.empty.text': string;
|
|
29
|
+
'global.prev.text': string;
|
|
30
|
+
'global.next.text': string;
|
|
31
|
+
'global.more.text': string;
|
|
32
|
+
'global.delete.confirm': string;
|
|
33
|
+
'navBar.lang': string;
|
|
34
|
+
};
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _settings = _interopRequireDefault(require("./zh-CN/settings"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
var _default = exports.default = Object.assign({
|
|
10
|
+
'navBar.lang': '语言'
|
|
11
|
+
}, _settings.default);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'field.input.placeholder': string;
|
|
3
|
+
'field.inputNumber.placeholder': string;
|
|
4
|
+
'field.select.placeholder': string;
|
|
5
|
+
'field.select.search.placeholder': string;
|
|
6
|
+
'field.calendar.placeholder': string;
|
|
7
|
+
'field.mentions.input.placeholder': string;
|
|
8
|
+
'field.mentions.select.placeholder': string;
|
|
9
|
+
'field.upload.select': string;
|
|
10
|
+
'field.upload.import': string;
|
|
11
|
+
'filed.upload.limit.tips': string;
|
|
12
|
+
'filed.upload.limit.tips.prefix': string;
|
|
13
|
+
'filed.upload.limit.tips.postfix': string;
|
|
14
|
+
'filed.upload.fileType.tips': string;
|
|
15
|
+
'filed.varTemplate.enter': string;
|
|
16
|
+
'filed.varTemplate.words': string;
|
|
17
|
+
'field.expand': string;
|
|
18
|
+
'field.collapse': string;
|
|
19
|
+
'filter.submit': string;
|
|
20
|
+
'filter.reset': string;
|
|
21
|
+
'table.order': string;
|
|
22
|
+
'table.column.action': string;
|
|
23
|
+
'table.pagination.unit': string;
|
|
24
|
+
'table.pagination.total': string;
|
|
25
|
+
'global.confirm.text': string;
|
|
26
|
+
'global.reset.text': string;
|
|
27
|
+
'global.cancel.text': string;
|
|
28
|
+
'global.empty.text': string;
|
|
29
|
+
'global.prev.text': string;
|
|
30
|
+
'global.next.text': string;
|
|
31
|
+
'global.more.text': string;
|
|
32
|
+
'global.delete.confirm': string;
|
|
33
|
+
};
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = exports.default = {
|
|
8
|
+
// 筛选
|
|
9
|
+
'field.input.placeholder': '请输入',
|
|
10
|
+
'field.inputNumber.placeholder': '请输入数字',
|
|
11
|
+
'field.select.placeholder': '请选择',
|
|
12
|
+
'field.select.search.placeholder': '请输入选择',
|
|
13
|
+
'field.calendar.placeholder': '请选择',
|
|
14
|
+
'field.mentions.input.placeholder': '请输入',
|
|
15
|
+
'field.mentions.select.placeholder': '选择',
|
|
16
|
+
'field.upload.select': '点击选择',
|
|
17
|
+
'field.upload.import': '点击上传',
|
|
18
|
+
'filed.upload.limit.tips': '文件大小不能超过 ',
|
|
19
|
+
'filed.upload.limit.tips.prefix': '文件大小',
|
|
20
|
+
'filed.upload.limit.tips.postfix': '超过限制',
|
|
21
|
+
'filed.upload.fileType.tips': '文件类型不支持',
|
|
22
|
+
'filed.varTemplate.enter': '您已录入',
|
|
23
|
+
'filed.varTemplate.words': '个字',
|
|
24
|
+
'field.expand': '展开',
|
|
25
|
+
'field.collapse': '收起',
|
|
26
|
+
'filter.submit': '查询',
|
|
27
|
+
'filter.reset': '重置',
|
|
28
|
+
// 表格
|
|
29
|
+
'table.order': '序号',
|
|
30
|
+
'table.column.action': '操作',
|
|
31
|
+
'table.pagination.unit': '条',
|
|
32
|
+
'table.pagination.total': '共',
|
|
33
|
+
// 通用
|
|
34
|
+
'global.confirm.text': '确定',
|
|
35
|
+
'global.reset.text': '重置',
|
|
36
|
+
'global.cancel.text': '取消',
|
|
37
|
+
'global.empty.text': '暂无数据',
|
|
38
|
+
'global.prev.text': '上一步',
|
|
39
|
+
'global.next.text': '下一步',
|
|
40
|
+
'global.more.text': '更多',
|
|
41
|
+
'global.delete.confirm': '确定要删除'
|
|
42
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'field.input.placeholder': string;
|
|
3
|
+
'field.inputNumber.placeholder': string;
|
|
4
|
+
'field.select.placeholder': string;
|
|
5
|
+
'field.select.search.placeholder': string;
|
|
6
|
+
'field.calendar.placeholder': string;
|
|
7
|
+
'field.mentions.input.placeholder': string;
|
|
8
|
+
'field.mentions.select.placeholder': string;
|
|
9
|
+
'field.upload.select': string;
|
|
10
|
+
'field.upload.import': string;
|
|
11
|
+
'filed.upload.limit.tips': string;
|
|
12
|
+
'filed.upload.limit.tips.prefix': string;
|
|
13
|
+
'filed.upload.limit.tips.postfix': string;
|
|
14
|
+
'filed.upload.fileType.tips': string;
|
|
15
|
+
'filed.varTemplate.enter': string;
|
|
16
|
+
'filed.varTemplate.words': string;
|
|
17
|
+
'field.expand': string;
|
|
18
|
+
'field.collapse': string;
|
|
19
|
+
'filter.submit': string;
|
|
20
|
+
'filter.reset': string;
|
|
21
|
+
'table.order': string;
|
|
22
|
+
'table.column.action': string;
|
|
23
|
+
'table.pagination.unit': string;
|
|
24
|
+
'table.pagination.total': string;
|
|
25
|
+
'global.confirm.text': string;
|
|
26
|
+
'global.reset.text': string;
|
|
27
|
+
'global.cancel.text': string;
|
|
28
|
+
'global.empty.text': string;
|
|
29
|
+
'global.prev.text': string;
|
|
30
|
+
'global.next.text': string;
|
|
31
|
+
'global.more.text': string;
|
|
32
|
+
'global.delete.confirm': string;
|
|
33
|
+
};
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _settings = _interopRequireDefault(require("./zh-TW/settings"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
var _default = exports.default = Object.assign({}, _settings.default);
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description 递归查看父级节点数据集合及当前节点数据
|
|
3
|
+
* @params {Array} list 当前需要过滤查看的数据集合、
|
|
4
|
+
* @params {String/Array} nodeKey 当前用于查找匹配数据的标识值
|
|
5
|
+
* @params {Object} params 指定当前数据中,筛选对应子集合字段名及匹配标识值字段名
|
|
6
|
+
* (childrenParam:指当前子集合数据字段名(字符串表示单个,数组表示当前多个子集合字段名),keyParam: 指当前匹配标识值字段名)
|
|
7
|
+
* @params {Object} extra
|
|
8
|
+
*
|
|
9
|
+
* @result {Array} nodeParent 当前传入nodeKey值所有上级别父级数据对象数组集合(倒序排列,根节点在最后一条)
|
|
10
|
+
* @result {Array} parentKeys 当前传入nodeKey值所有上级别父级数据关键字数据集合(keyParam)(倒序排列,根节点在最后一条)
|
|
11
|
+
* @result {Array} matchNode 当前传入nodeKey值所在的数据对象集合
|
|
12
|
+
* */
|
|
13
|
+
export declare const getParentNodes: (list: any[], nodeKey: string | number, params?: {
|
|
14
|
+
childrenParam: string;
|
|
15
|
+
keyParam: string;
|
|
16
|
+
}, extraProps?: any) => {
|
|
17
|
+
nodeParent: any[];
|
|
18
|
+
parentKeys: any[];
|
|
19
|
+
matchNode: any[];
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @description 递归查找指定节点的所有子菜单与子功能集合
|
|
23
|
+
* @params {Array} childNode 当前需要过滤查看的子数据集合、
|
|
24
|
+
* @params {Object} params 指定当前数据中,筛选对应子集合字段名及匹配标识值字段名
|
|
25
|
+
* (childrenParam:指当前子集合数据字段名(字符串表示单个,数组表示当前多个子集合字段名),keyParam: 指当前匹配标识值字段名)
|
|
26
|
+
* @params {Object} extra
|
|
27
|
+
*
|
|
28
|
+
* @result {Array} childKeys 所有子项的id
|
|
29
|
+
* @result {Array} nodeChildren 当前传入nodeKey值所在的数据对象集合
|
|
30
|
+
* */
|
|
31
|
+
export declare const getChildrenNodes: (childNode: any, params?: {
|
|
32
|
+
childrenParam: string;
|
|
33
|
+
keyParam: string;
|
|
34
|
+
}) => {
|
|
35
|
+
childKeys: any[];
|
|
36
|
+
nodeChildren: any[];
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @description 查找指定节点或节点集合的完整路径数据
|
|
40
|
+
* @params {Array} list 查询的数据源
|
|
41
|
+
* @params {Array | String | Number} nodeKey 需要查询的key集合
|
|
42
|
+
* @params {Object} params 指定当前数据中,筛选对应子集合字段名及匹配标识值字段名
|
|
43
|
+
* (childrenParam:指当前子集合数据字段名(字符串表示单个,数组表示当前多个子集合字段名),keyParam: 指当前匹配标识值字段名)
|
|
44
|
+
*
|
|
45
|
+
* @result {Array} 所有匹配到的层级数据(如果nodeKey是数组,则返回的节点集合会分别按顺序存到数组内
|
|
46
|
+
*
|
|
47
|
+
* */
|
|
48
|
+
export declare const getNodePaths: (list: any, nodeKey: any, params?: {
|
|
49
|
+
childrenParam: string;
|
|
50
|
+
keyParam: string;
|
|
51
|
+
}, extraProps?: any) => any[];
|
|
52
|
+
/**
|
|
53
|
+
* @description 查找节点数据:点击获取对应ID的完整数据(即从树数据中深层查找与ID值相匹配的相关数据对象)
|
|
54
|
+
*
|
|
55
|
+
* @param [array] list 需要过滤的数据
|
|
56
|
+
* @param [string] key 指定过滤的key值
|
|
57
|
+
* @param [Object] optionName 指定value与children相关字段名
|
|
58
|
+
*
|
|
59
|
+
* @data list:<array:[{ value: '', label: '', children: []}]> 列表数据格式
|
|
60
|
+
*/
|
|
61
|
+
export declare const getNode: (list: any[], key?: string | number, optionName?: {
|
|
62
|
+
value: string;
|
|
63
|
+
children: string;
|
|
64
|
+
}) => {};
|
|
65
|
+
/**
|
|
66
|
+
* 数组转树形结构
|
|
67
|
+
* @param {array} list 被转换的数组
|
|
68
|
+
* @param {number|string} root 根节点(最外层节点)的 id
|
|
69
|
+
* @param {object} params 字段值(默认 { keyParam: 'id', parentParam: 'parentId' })
|
|
70
|
+
* @return array
|
|
71
|
+
*/
|
|
72
|
+
export declare const arrayToTree: (list: any, rootId: any, { keyParam, parentParam, childrenParam }?: {
|
|
73
|
+
keyParam?: string;
|
|
74
|
+
parentParam?: string;
|
|
75
|
+
childrenParam?: string;
|
|
76
|
+
}) => any[];
|
|
77
|
+
/**
|
|
78
|
+
* 多根树转换成数组
|
|
79
|
+
* @param {array} tree 被转换的树(仅限于只有一个根的树
|
|
80
|
+
* @return array
|
|
81
|
+
*/
|
|
82
|
+
export declare const convertToArray: (tree: any, { keyParam, parentParam, childrenParam }?: {
|
|
83
|
+
keyParam?: string;
|
|
84
|
+
parentParam?: string;
|
|
85
|
+
childrenParam?: string;
|
|
86
|
+
}) => any[];
|
|
87
|
+
/**
|
|
88
|
+
* 树过滤(默认按名称过滤,也可按指定的字段名过滤)
|
|
89
|
+
* @param {array} list 需要过滤的树
|
|
90
|
+
* @param {string | number} nodeKey 需要筛选的名称(默认搜索名称,如果需要指定其他字段值,则参数传object
|
|
91
|
+
* @param {object} params 指定当前数据中,筛选对应子集合字段名及匹配标识值字段名
|
|
92
|
+
* @value { childrenParam: 'children', keyParam: 'name' } childrenParam:指当前子集合数据字段名,keyParam: 指当前匹配标识值字段名)
|
|
93
|
+
*
|
|
94
|
+
* @return array 返回新的数组
|
|
95
|
+
* */
|
|
96
|
+
export declare const filterTreeNodes: (list: any[], nodeKey: string | number, params?: {
|
|
97
|
+
childrenParam: string;
|
|
98
|
+
keyParam: string;
|
|
99
|
+
}) => any;
|
|
100
|
+
/**
|
|
101
|
+
* @param {Array} data 树数组数据
|
|
102
|
+
* @param {Number} level 起始层级序号
|
|
103
|
+
* @param {Number} level 起始层级序号
|
|
104
|
+
* @param {Array} parentIndexPath 父级序号集合
|
|
105
|
+
* @param {Array} parentNamePath 父级名称集合
|
|
106
|
+
* @param {Object} optionName 指定字段名 {children: '', label: '', title: '', name: ''}
|
|
107
|
+
* @param {Object} extra 扩展配置 {separator: '/'}
|
|
108
|
+
* */
|
|
109
|
+
export declare const addTreeLevels: (data: any, level: number, parentIndexPath: any[], parentNamePath: any[], optionName: any, extra: any) => any[];
|