@dignite-ng/expand.cms 3.0.0-rc.21 → 3.0.0-rc.23
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/esm2022/lib/components/admin/entries/create.component.mjs +5 -3
- package/esm2022/lib/components/admin/entries/entries.component.mjs +24 -16
- package/esm2022/lib/components/admin/fields/fields.component.mjs +10 -2
- package/esm2022/lib/components/admin/sections/sections.component.mjs +10 -2
- package/esm2022/lib/components/dynamic-form/entry/entry-config.mjs +2 -9
- package/esm2022/lib/components/dynamic-form/entry/entry-control.component.mjs +11 -8
- package/esm2022/lib/components/dynamic-form/entry/entry-search.component.mjs +3 -3
- package/esm2022/lib/constants/styles.mjs +5 -5
- package/esm2022/lib/services/appent-content.mjs +2 -2
- package/esm2022/lib/services/cms-api.service.mjs +8 -7
- package/fesm2022/dignite-ng-expand.cms.mjs +69 -47
- package/fesm2022/dignite-ng-expand.cms.mjs.map +1 -1
- package/lib/components/admin/entries/create.component.d.ts +5 -5
- package/lib/components/admin/entries/entries.component.d.ts +2 -1
- package/lib/components/admin/fields/fields.component.d.ts +1 -0
- package/lib/components/admin/sections/sections.component.d.ts +2 -1
- package/lib/components/dynamic-form/entry/entry-config.d.ts +0 -1
- package/lib/components/dynamic-form/entry/entry-control.component.d.ts +2 -2
- package/lib/constants/styles.d.ts +1 -1
- package/package.json +6 -6
|
@@ -22,13 +22,13 @@ export declare class CreateComponent implements OnInit {
|
|
|
22
22
|
/**表单实体 */
|
|
23
23
|
formEntity: FormGroup | undefined;
|
|
24
24
|
/**语言 */
|
|
25
|
-
cultureName: string;
|
|
25
|
+
cultureName: string | any;
|
|
26
26
|
/**条目类型id */
|
|
27
|
-
entryTypeId: string;
|
|
27
|
+
entryTypeId: string | any;
|
|
28
28
|
/**版块id */
|
|
29
|
-
sectionId: string;
|
|
29
|
+
sectionId: string | any;
|
|
30
30
|
/**条目版本id */
|
|
31
|
-
entryVersionId: string;
|
|
31
|
+
entryVersionId: string | any;
|
|
32
32
|
/**条目信息 */
|
|
33
33
|
entryInfo: any;
|
|
34
34
|
/**是否草稿控件*/
|
|
@@ -40,7 +40,7 @@ export declare class CreateComponent implements OnInit {
|
|
|
40
40
|
getEntryInfo(): Promise<unknown>;
|
|
41
41
|
/**提交 */
|
|
42
42
|
save(): void;
|
|
43
|
-
isSubmit: boolean;
|
|
43
|
+
isSubmit: boolean | any;
|
|
44
44
|
/**点击提交 */
|
|
45
45
|
clickSubmit(type: any): void;
|
|
46
46
|
/**返回上一页 */
|
|
@@ -92,10 +92,11 @@ export declare class EntriesComponent implements OnInit {
|
|
|
92
92
|
filters: GetEntriesInput;
|
|
93
93
|
maxResultCount: number;
|
|
94
94
|
hookToQuery(): void;
|
|
95
|
+
scrollToTop(): void;
|
|
95
96
|
/**删除条目 */
|
|
96
97
|
deletefield(row: any): void;
|
|
97
98
|
drop(event: any): void;
|
|
98
|
-
isexpanded: boolean;
|
|
99
|
+
isexpanded: boolean | any;
|
|
99
100
|
/**高级筛选切换 */
|
|
100
101
|
expandedChange(event: any): void;
|
|
101
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntriesComponent, never>;
|
|
@@ -25,12 +25,13 @@ export declare class SectionsComponent implements OnInit {
|
|
|
25
25
|
data: PagedResultDto<SectionDto>;
|
|
26
26
|
filters: GetSectionsInput;
|
|
27
27
|
hookToQuery(): void;
|
|
28
|
+
scrollToTop(): void;
|
|
28
29
|
ngOnInit(): Promise<void>;
|
|
29
30
|
siteIdChange(): void;
|
|
30
31
|
/**表单 */
|
|
31
32
|
formEntity: FormGroup | undefined;
|
|
32
33
|
/**弹窗状态 */
|
|
33
|
-
isVisibleOpen: boolean;
|
|
34
|
+
isVisibleOpen: boolean | any;
|
|
34
35
|
/**弹窗回调 */
|
|
35
36
|
visibleChange(event: any): void;
|
|
36
37
|
/**创建 */
|
|
@@ -2,9 +2,9 @@ import { ElementRef } from '@angular/core';
|
|
|
2
2
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class EntryControlComponent {
|
|
5
|
-
constructor();
|
|
6
5
|
private fb;
|
|
7
6
|
private _EntryAdminService;
|
|
7
|
+
private _LocalizationService;
|
|
8
8
|
/**表单实体 */
|
|
9
9
|
_entity: FormGroup | any;
|
|
10
10
|
set entity(v: any);
|
|
@@ -16,7 +16,7 @@ export declare class EntryControlComponent {
|
|
|
16
16
|
set parentFiledName(v: any);
|
|
17
17
|
/**父级字段名称,用于为表单设置控件赋值 */
|
|
18
18
|
_selected: any;
|
|
19
|
-
set selected(v: any);
|
|
19
|
+
set selected(v: any[]);
|
|
20
20
|
/**语言 */
|
|
21
21
|
_culture: any;
|
|
22
22
|
set culture(v: any);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "\n.lpx-content-container .lpx-content{min-height:calc(100vh - 34px);padding:1.25em 2em 1.25em}h1,h2,h3,h4,h5,h6{color:inherit}.lpx-settings .lpx-context-menu{overflow:auto}\na {\n text-decoration: unset;\n}\n\n\n:root select{\n
|
|
1
|
+
declare const _default: "\n.lpx-content-container .lpx-content{min-height:calc(100vh - 34px);padding:1.25em 2em 1.25em}h1,h2,h3,h4,h5,h6{color:inherit}.lpx-settings .lpx-context-menu{overflow:auto}\na {\n text-decoration: unset;\n}\n\n\n// :root select{\n// cursor: pointer; /* this will show the pointer when hovering */\n// } \n// .cdk-global-overlay-wrapper, .cdk-overlay-container {pointer-events: none;top: 0;left: 0;height: 100%;width: 100% }.cdk-overlay-container {position: fixed;z-index: 1000 }.cdk-overlay-container:empty {display: none }.cdk-global-overlay-wrapper, .cdk-overlay-connected-position-bounding-box, .cdk-overlay-pane {position: absolute;z-index: 1000;display: flex }.cdk-overlay-pane {pointer-events: auto;box-sizing: border-box;max-width: 100%;max-height: 100% }.cdk-overlay-backdrop {position: absolute;top: 0;bottom: 0;left: 0;right: 0;z-index: 1000;pointer-events: auto;transition: opacity .4s cubic-bezier(.25, .8, .25, 1);opacity: 0 }.cdk-overlay-backdrop.cdk-overlay-backdrop-showing {opacity: 1 }.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {opacity: .6 }.cdk-overlay-dark-backdrop {background: rgba(0, 0, 0, .32) }.cdk-overlay-transparent-backdrop {transition: visibility 1ms linear, opacity 1ms linear;visibility: hidden;opacity: 1 }.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {opacity: 0;visibility: visible }.cdk-overlay-backdrop-noop-animation {transition: none }.cdk-overlay-connected-position-bounding-box {flex-direction: column;min-width: 1px;min-height: 1px }.cdk-global-scrollblock {position: fixed;width: 100%;overflow-y: scroll }.cdk-visually-hidden {border: 0;clip: rect(0 0 0 0);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;outline: 0;-webkit-appearance: none;-moz-appearance: none }.nz-overlay-transparent-backdrop, .nz-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {opacity: 0 }.ant-select, .ant-select-dropdown {margin: 0;line-height: 1.5715;box-sizing: border-box;font-feature-settings: 'tnum';list-style: none }.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottom, .ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomLeft, .ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomRight, .ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottom, .ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomLeft, .ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomRight, .ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-bottomLeft, .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-bottomLeft {animation-name: antSlideUpIn }.ant-select-dropdown.ant-select-tree-dropdown {top: 100%;left: 0;position: relative;width: 100%;margin-top: 4px;margin-bottom: 4px;overflow: auto }.ant-select-dropdown-hidden, .ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete, .ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye, .ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info::before {display: none }.ant-select-dropdown {top: 100%;left: 0;position: relative;width: 100%;margin-top: 4px;margin-bottom: 4px;display: block }.ant-select-dropdown .cdk-virtual-scroll-content-wrapper {right: 0 }.ant-select-dropdown .full-width {contain: initial }.ant-select-dropdown .full-width .cdk-virtual-scroll-content-wrapper {position: static }.ant-select-dropdown .full-width .cdk-virtual-scroll-spacer {position: absolute;top: 0;width: 1px }.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft, .ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft {animation-name: antSlideDownIn }.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-bottomLeft {animation-name: antSlideUpOut }.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-topLeft {animation-name: antSlideDownOut }\n\n/*** 表单验证样式 start */\n.was-validated .form-control:invalid, .form-control.is-invalid{\n border-color: #c00d49 !important;\n}\n/*** 表单验证样式 end */\n";
|
|
2
2
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dignite-ng/expand.cms",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.23",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"pinyin-pro": "^3.26.0",
|
|
11
|
-
"@dignite-ng/expand.core": "~3.0.0-rc.
|
|
12
|
-
"@dignite-ng/expand.dynamic-form": "~3.0.0-rc.
|
|
13
|
-
"@dignite-ng/expand.regionalization-management": "~3.0.0-rc.
|
|
14
|
-
"@dignite-ng/expand.ck-editor": "~3.0.0-rc.
|
|
15
|
-
"@dignite-ng/expand.file-explorer": "~3.0.0-rc.
|
|
11
|
+
"@dignite-ng/expand.core": "~3.0.0-rc.23",
|
|
12
|
+
"@dignite-ng/expand.dynamic-form": "~3.0.0-rc.23",
|
|
13
|
+
"@dignite-ng/expand.regionalization-management": "~3.0.0-rc.23",
|
|
14
|
+
"@dignite-ng/expand.ck-editor": "~3.0.0-rc.23",
|
|
15
|
+
"@dignite-ng/expand.file-explorer": "~3.0.0-rc.23",
|
|
16
16
|
"tslib": "^2.0.0"
|
|
17
17
|
},
|
|
18
18
|
"publishConfig": {
|