ngx-axis-appforge 0.0.44 → 0.0.45
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/axis-components/button/index.d.ts +1 -0
- package/axis-components/dropdown/design/index.d.ts +5 -0
- package/axis-components/dropdown/index.d.ts +25 -0
- package/axis-components/menu/design/index.d.ts +5 -0
- package/axis-components/menu/index.d.ts +43 -0
- package/axis-components/tree-selector/index.d.ts +8 -8
- package/axis-components-covers/dropdown.svg +39 -0
- package/axis-components-covers/menu.svg +17 -0
- package/core/index.d.ts +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs +6 -2
- package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-button.mjs +3 -2
- package/fesm2022/ngx-axis-appforge-axis-components-button.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-cytoscape-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-cytoscape-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-dropdown-design.mjs +178 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dropdown-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs +55 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs +356 -0
- package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-menu.mjs +98 -0
- package/fesm2022/ngx-axis-appforge-axis-components-menu.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-select.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-select.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-table.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-table.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-timer-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-timer-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs +4 -4
- package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-transfer.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-transfer.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs +3 -3
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs +8 -5
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs +2 -2
- package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-axis-components.mjs +124 -1
- package/fesm2022/ngx-axis-appforge-axis-components.mjs.map +1 -1
- package/fesm2022/ngx-axis-appforge-core.mjs +15 -9
- package/fesm2022/ngx-axis-appforge-core.mjs.map +1 -1
- package/package.json +135 -119
|
@@ -5,6 +5,7 @@ import { NzModalService } from 'ng-zorro-antd/modal';
|
|
|
5
5
|
declare class ButtonOptions extends BaseOptions {
|
|
6
6
|
readonly title: _angular_core.WritableSignal<string>;
|
|
7
7
|
readonly icon: _angular_core.WritableSignal<any>;
|
|
8
|
+
readonly iconPosition: _angular_core.WritableSignal<"left" | "right">;
|
|
8
9
|
readonly confirm: _angular_core.WritableSignal<boolean>;
|
|
9
10
|
readonly confirmType: _angular_core.WritableSignal<"modal" | "pop">;
|
|
10
11
|
readonly confirmText: _angular_core.WritableSignal<string>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { BaseOptions, Base, EventHandlerOptions } from 'ngx-axis-appforge/core';
|
|
3
|
+
import { NzContextMenuService } from 'ng-zorro-antd/dropdown';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
|
|
6
|
+
declare class DropdownOptions extends BaseOptions {
|
|
7
|
+
readonly trigger: _angular_core.WritableSignal<"click" | "hover" | "contextMenu">;
|
|
8
|
+
readonly disabled: _angular_core.WritableSignal<boolean>;
|
|
9
|
+
readonly placement: _angular_core.WritableSignal<"bottomLeft" | "bottomCenter" | "bottomRight" | "topLeft" | "topCenter" | "topRight">;
|
|
10
|
+
readonly menu: _angular_core.WritableSignal<any>;
|
|
11
|
+
readonly child: _angular_core.WritableSignal<any>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare class Dropdown extends Base<DropdownOptions> {
|
|
15
|
+
private contextMenu;
|
|
16
|
+
constructor(contextMenu: NzContextMenuService);
|
|
17
|
+
options: DropdownOptions;
|
|
18
|
+
readonly visible: _angular_core.ModelSignal<boolean>;
|
|
19
|
+
onContextMenu(event: MouseEvent, menu: any): void;
|
|
20
|
+
onEvents(e: EventHandlerOptions<any>): Observable<boolean> | undefined;
|
|
21
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Dropdown, never>;
|
|
22
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Dropdown, "axis-dropdown", never, { "visible": { "alias": "visible"; "required": false; "isSignal": true; }; }, { "visible": "visibleChange"; }, never, never, true, never>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export { Dropdown };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { BaseOptions, TriggeEventsOptions, Base } from 'ngx-axis-appforge/core';
|
|
3
|
+
import { NzSubMenuComponent } from 'ng-zorro-antd/menu';
|
|
4
|
+
import { NzModalService } from 'ng-zorro-antd/modal';
|
|
5
|
+
|
|
6
|
+
declare class MenuOptions extends BaseOptions {
|
|
7
|
+
readonly mode: _angular_core.WritableSignal<"vertical" | "horizontal" | "inline">;
|
|
8
|
+
readonly theme: _angular_core.WritableSignal<"light" | "dark">;
|
|
9
|
+
readonly selectable: _angular_core.WritableSignal<boolean>;
|
|
10
|
+
readonly inlineCollapsed: _angular_core.WritableSignal<boolean>;
|
|
11
|
+
readonly inlineIndent: _angular_core.WritableSignal<number>;
|
|
12
|
+
readonly items: _angular_core.WritableSignal<any[]>;
|
|
13
|
+
}
|
|
14
|
+
declare class MenuItemOptions {
|
|
15
|
+
readonly inuse: _angular_core.WritableSignal<boolean>;
|
|
16
|
+
readonly type: _angular_core.WritableSignal<"item" | "submenu" | "group" | "divider">;
|
|
17
|
+
readonly disabled: _angular_core.WritableSignal<boolean>;
|
|
18
|
+
readonly title: _angular_core.WritableSignal<string>;
|
|
19
|
+
readonly icon: _angular_core.WritableSignal<any>;
|
|
20
|
+
readonly code: _angular_core.WritableSignal<string>;
|
|
21
|
+
readonly danger: _angular_core.WritableSignal<boolean>;
|
|
22
|
+
readonly confirm: _angular_core.WritableSignal<boolean>;
|
|
23
|
+
readonly confirmText: _angular_core.WritableSignal<string>;
|
|
24
|
+
readonly placement: _angular_core.WritableSignal<"bottomLeft" | "bottomCenter" | "bottomRight" | "topLeft" | "topCenter" | "topRight">;
|
|
25
|
+
readonly triggerSubMenuAction: _angular_core.WritableSignal<"hover" | "click">;
|
|
26
|
+
readonly children: _angular_core.WritableSignal<any[]>;
|
|
27
|
+
readonly triggeEvents: _angular_core.WritableSignal<TriggeEventsOptions | undefined>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class Menu extends Base<MenuOptions> {
|
|
31
|
+
private modal;
|
|
32
|
+
constructor(modal: NzModalService);
|
|
33
|
+
options: MenuOptions;
|
|
34
|
+
readonly childrenMap: _angular_core.Signal<Map<any, MenuItemOptions[]>>;
|
|
35
|
+
private buildChildrenMap;
|
|
36
|
+
private bindItems;
|
|
37
|
+
menuClick(itemOpt: MenuItemOptions, submenus: NzSubMenuComponent[]): void;
|
|
38
|
+
doClick(itemOpt: MenuItemOptions, submenus: NzSubMenuComponent[]): void;
|
|
39
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Menu, never>;
|
|
40
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Menu, "axis-menu", never, {}, {}, never, never, true, never>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { Menu };
|
|
@@ -32,14 +32,14 @@ declare class TreeSelectorOptions extends ValueAccessOptions {
|
|
|
32
32
|
readonly menus: _angular_core.WritableSignal<TreeNodeMenuOptions[]>;
|
|
33
33
|
}
|
|
34
34
|
declare class TreeNodeMenuOptions {
|
|
35
|
-
inuse: _angular_core.WritableSignal<boolean>;
|
|
36
|
-
title: _angular_core.WritableSignal<string>;
|
|
37
|
-
icon: _angular_core.WritableSignal<any>;
|
|
38
|
-
danger: _angular_core.WritableSignal<boolean>;
|
|
39
|
-
confirm: _angular_core.WritableSignal<boolean>;
|
|
40
|
-
confirmText: _angular_core.WritableSignal<string>;
|
|
41
|
-
disabled: _angular_core.WritableSignal<boolean>;
|
|
42
|
-
triggeEvents: _angular_core.WritableSignal<TriggeEventsOptions | undefined>;
|
|
35
|
+
readonly inuse: _angular_core.WritableSignal<boolean>;
|
|
36
|
+
readonly title: _angular_core.WritableSignal<string>;
|
|
37
|
+
readonly icon: _angular_core.WritableSignal<any>;
|
|
38
|
+
readonly danger: _angular_core.WritableSignal<boolean>;
|
|
39
|
+
readonly confirm: _angular_core.WritableSignal<boolean>;
|
|
40
|
+
readonly confirmText: _angular_core.WritableSignal<string>;
|
|
41
|
+
readonly disabled: _angular_core.WritableSignal<boolean>;
|
|
42
|
+
readonly triggeEvents: _angular_core.WritableSignal<TriggeEventsOptions | undefined>;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
declare class TreeSelector extends ValueAccess<TreeSelectorOptions> {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="120px" height="96px" viewBox="0 0 120 96" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>Dropdown</title>
|
|
4
|
+
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="Dropdown" transform="translate(-334.000000, -14.000000)">
|
|
6
|
+
<g transform="translate(334.000000, 14.000000)">
|
|
7
|
+
<g id="Navigation/DropdownMenu" transform="translate(0.000000, 24.000000)">
|
|
8
|
+
<g id="9.Box/1.Cards/3.Shadow" fill-rule="nonzero">
|
|
9
|
+
<g id="Z/Shape/RectangleRC/2px/RC-A">
|
|
10
|
+
<rect id="BG/fill" fill="#FFFFFF" x="1" y="1" width="118" height="70" rx="1"></rect>
|
|
11
|
+
<rect id="outline" stroke="#000000" stroke-width="1" opacity="0.15" x="0.5" y="0.5" width="119" height="71" rx="2"></rect>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
<g id="2.Navigation/Dropdown/MenuRow/2.Highlight" transform="translate(0.000000, 4.000000)">
|
|
15
|
+
<g id="Z/Shape/Rectangle" stroke-width="1" fill-rule="evenodd">
|
|
16
|
+
<rect id="BG/fill" fill="#FFFFFF" fill-rule="nonzero" x="1" y="1" width="118" height="30"></rect>
|
|
17
|
+
<rect id="outline" opacity="0.15" fill-rule="nonzero" x="0" y="0" width="120" height="32"></rect>
|
|
18
|
+
</g>
|
|
19
|
+
<text id="✏️Text" opacity="0.65" font-family="PingFangSC-Regular, PingFang SC" font-size="14" font-weight="normal" line-spacing="22" fill="#000000">
|
|
20
|
+
<tspan x="12" y="20">Menu item</tspan>
|
|
21
|
+
</text>
|
|
22
|
+
</g>
|
|
23
|
+
<g id="2.Navigation/Dropdown/MenuRow/1.-Clickable-#" transform="translate(0.000000, 36.000000)" font-family="PingFangSC-Regular, PingFang SC" font-size="14" font-weight="normal" line-spacing="22" opacity="0.65">
|
|
24
|
+
<text id="✏️Text"></text>
|
|
25
|
+
</g>
|
|
26
|
+
</g>
|
|
27
|
+
<text id="||||||||||||||||||||" font-family="PingFangSC-Regular, PingFang SC" font-size="14" font-weight="normal" line-spacing="22" fill="#1890FF">
|
|
28
|
+
<tspan x="0" y="15">|||||||||||||||||||||||</tspan>
|
|
29
|
+
</text>
|
|
30
|
+
<g id="down" transform="translate(71.000000, 4.000000)" fill-rule="nonzero">
|
|
31
|
+
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="14" height="14"></rect>
|
|
32
|
+
<path d="M12.0859375,3.5 L11.0605469,3.5 C10.9908203,3.5 10.9251953,3.53417969 10.8841797,3.59023438 L7,8.94414063 L3.11582031,3.59023438 C3.07480469,3.53417969 3.00917969,3.5 2.93945312,3.5 L1.9140625,3.5 C1.82519531,3.5 1.77324219,3.60117187 1.82519531,3.67363281 L6.64589844,10.3195313 C6.82089844,10.5601563 7.17910156,10.5601563 7.35273438,10.3195313 L12.1734375,3.67363281 C12.2267578,3.60117187 12.1748047,3.5 12.0859375,3.5 Z" id="路径" fill="#1890FF"></path>
|
|
33
|
+
</g>
|
|
34
|
+
<rect id="矩形复制-55备份-7" fill="#EBEBEB" x="12" y="36" width="96" height="16"></rect>
|
|
35
|
+
<rect id="矩形复制-55备份-8" fill="#EBEBEB" x="12" y="69" width="96" height="16"></rect>
|
|
36
|
+
</g>
|
|
37
|
+
</g>
|
|
38
|
+
</g>
|
|
39
|
+
</svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="80px" height="104px" viewBox="0 0 80 104" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>Menu</title>
|
|
4
|
+
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="Ant-Design-组件缩略图" transform="translate(-622.000000, -332.000000)">
|
|
6
|
+
<g id="Menu" transform="translate(622.000000, 332.000000)">
|
|
7
|
+
<rect id="矩形复制-41" fill="#F5F5F5" x="0" y="0" width="80" height="104"></rect>
|
|
8
|
+
<rect id="矩形" fill="#BAE7FF" x="0" y="28" width="78" height="24"></rect>
|
|
9
|
+
<rect id="矩形复制-51" fill="#F5F5F5" style="mix-blend-mode: multiply;" x="10" y="12" width="34" height="8"></rect>
|
|
10
|
+
<rect id="矩形复制-53" fill="#F5F5F5" style="mix-blend-mode: multiply;" x="10" y="60" width="34" height="8"></rect>
|
|
11
|
+
<rect id="矩形复制-54" fill="#F5F5F5" style="mix-blend-mode: multiply;" x="10" y="84" width="34" height="8"></rect>
|
|
12
|
+
<rect id="矩形" fill="#1890FF" x="77" y="28" width="3" height="24"></rect>
|
|
13
|
+
<rect id="矩形复制-52" fill="#1890FF" x="18" y="36" width="34" height="8"></rect>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
|
+
</g>
|
|
17
|
+
</svg>
|
package/core/index.d.ts
CHANGED
|
@@ -145,6 +145,7 @@ declare abstract class Base<T extends BaseOptions> implements OnDestroy, AfterVi
|
|
|
145
145
|
triggeEvents(trigger: string, tempDataSource?: any, triggeEvents?: TriggeEventsOptions, scope?: ScopeDirective): Observable<boolean>;
|
|
146
146
|
triggeEvent(e: EventHandlerOptions<unknown>, scope?: ScopeDirective): Observable<boolean>;
|
|
147
147
|
getScope(): ScopeDirective | null;
|
|
148
|
+
runFn(fnstr: any, args?: any): any;
|
|
148
149
|
ngOnDestroy(): void;
|
|
149
150
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Base<any>, never>;
|
|
150
151
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Base<any>, never, never, {}, {}, never, never, true, never>;
|
|
@@ -127,11 +127,11 @@ class Setting extends FunFieldValueBase {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
130
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: Setting, isStandalone: true, selector: "axis-design-text-setting", inputs: { offsetX: { classPropertyName: "offsetX", publicName: "offsetX", isSignal: true, isRequired: false, transformFunction: null }, offsetY: { classPropertyName: "offsetY", publicName: "offsetY", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { offsetX: "offsetXChange", offsetY: "offsetYChange", color: "colorChange" }, usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7C7B\u578B\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"type\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"badge\" nzLabel=\"\u5FBD\u6807\"></nz-option>\n <nz-option nzValue=\"status\" nzLabel=\"\u72B6\u6001\"></nz-option>\n <nz-option nzValue=\"ribbon\" nzLabel=\"\u7F0E\u5E26\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u989C\u8272\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field [(ngModel)]=\"color\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setColorFormValue()\">\n <nz-color-picker nzDefaultValue=\"#00000000\" ngModel [ngModelOptions]=\"{standalone:true}\"\n nzAllowClear></nz-color-picker>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n @if (formValue()?.type.funMode || formValue()?.type.originValue === 'badge') {\n <nz-collapse-panel nzHeader=\"\u5FBD\u6807\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5C0F\u7EA2\u70B9\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"dot\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6570\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"count\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5927\u6570\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"overflowCount\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u96F6\u503C\u663E\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showZero\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u4F4D\u7F6E\u504F\u79FB\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-space-compact nzBlock>\n <nz-input-number [(ngModel)]=\"offsetX\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>x:</span>\n </nz-input-number>\n <nz-input-number [(ngModel)]=\"offsetY\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>y:</span>\n </nz-input-number>\n <button nz-button nzSize=\"small\" nzType=\"link\" nzDanger (click)=\"resetOffset()\">\n <nz-icon nzType=\"delete\"></nz-icon>\n </button>\n </nz-space-compact>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u63D0\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"status\") {\n <nz-collapse-panel nzHeader=\"\u72B6\u6001\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u72B6\u6001\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"status\" editTip=\"success-\u6210\u529F processing-\u5904\u7406\u4E2D default-\u9ED8\u8BA4 error-\u9519\u8BEF warning-\u8B66\u544A\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"success\" nzLabel=\"\u6210\u529F\"></nz-option>\n <nz-option nzValue=\"processing\" nzLabel=\"\u5904\u7406\u4E2D\"></nz-option>\n <nz-option nzValue=\"default\" nzLabel=\"\u9ED8\u8BA4\"></nz-option>\n <nz-option nzValue=\"error\" nzLabel=\"\u9519\u8BEF\"></nz-option>\n <nz-option nzValue=\"warning\" nzLabel=\"\u8B66\u544A\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"ribbon\") {\n <nz-collapse-panel nzHeader=\"\u7F0E\u5E26\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u4F4D\u7F6E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placement\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"start\">\u5934\u90E8</label>\n <label nz-radio-button nzValue=\"end\">\u5C3E\u90E8</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i4.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition"], exportAs: ["nzCollapse"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i5.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i6.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i7.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBordered", "nzKeyboard", "nzControls"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "directive", type: i6.NzInputPrefixDirective, selector: "[nzInputPrefix]" }, { kind: "ngmodule", type: NzColorPickerModule }, { kind: "component", type: i8.NzColorPickerComponent, selector: "nz-color-picker", inputs: ["nzFormat", "nzValue", "nzSize", "nzDefaultValue", "nzTrigger", "nzTitle", "nzFlipFlop", "nzShowText", "nzOpen", "nzAllowClear", "nzDisabled", "nzDisabledAlpha"], outputs: ["nzOnChange", "nzOnFormatChange", "nzOnClear", "nzOnOpenChange"], exportAs: ["nzColorPicker"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i9.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i9.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i10.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i10.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }, { kind: "ngmodule", type: NzSpaceModule }, { kind: "component", type: i11.NzSpaceCompactComponent, selector: "nz-space-compact", inputs: ["nzBlock", "nzDirection", "nzSize"], exportAs: ["nzSpaceCompact"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i12.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i13.ɵNzTransitionPatchDirective, selector: "[nz-button], [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i14.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
130
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: Setting, isStandalone: true, selector: "axis-design-badge-setting", inputs: { offsetX: { classPropertyName: "offsetX", publicName: "offsetX", isSignal: true, isRequired: false, transformFunction: null }, offsetY: { classPropertyName: "offsetY", publicName: "offsetY", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { offsetX: "offsetXChange", offsetY: "offsetYChange", color: "colorChange" }, usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7C7B\u578B\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"type\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"badge\" nzLabel=\"\u5FBD\u6807\"></nz-option>\n <nz-option nzValue=\"status\" nzLabel=\"\u72B6\u6001\"></nz-option>\n <nz-option nzValue=\"ribbon\" nzLabel=\"\u7F0E\u5E26\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u989C\u8272\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field [(ngModel)]=\"color\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setColorFormValue()\">\n <nz-color-picker nzDefaultValue=\"#00000000\" ngModel [ngModelOptions]=\"{standalone:true}\"\n nzAllowClear></nz-color-picker>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n @if (formValue()?.type.funMode || formValue()?.type.originValue === 'badge') {\n <nz-collapse-panel nzHeader=\"\u5FBD\u6807\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5C0F\u7EA2\u70B9\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"dot\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6570\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"count\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5927\u6570\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"overflowCount\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u96F6\u503C\u663E\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showZero\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u4F4D\u7F6E\u504F\u79FB\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-space-compact nzBlock>\n <nz-input-number [(ngModel)]=\"offsetX\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>x:</span>\n </nz-input-number>\n <nz-input-number [(ngModel)]=\"offsetY\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>y:</span>\n </nz-input-number>\n <button nz-button nzSize=\"small\" nzType=\"link\" nzDanger (click)=\"resetOffset()\">\n <nz-icon nzType=\"delete\"></nz-icon>\n </button>\n </nz-space-compact>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u63D0\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"status\") {\n <nz-collapse-panel nzHeader=\"\u72B6\u6001\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u72B6\u6001\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"status\" editTip=\"success-\u6210\u529F processing-\u5904\u7406\u4E2D default-\u9ED8\u8BA4 error-\u9519\u8BEF warning-\u8B66\u544A\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"success\" nzLabel=\"\u6210\u529F\"></nz-option>\n <nz-option nzValue=\"processing\" nzLabel=\"\u5904\u7406\u4E2D\"></nz-option>\n <nz-option nzValue=\"default\" nzLabel=\"\u9ED8\u8BA4\"></nz-option>\n <nz-option nzValue=\"error\" nzLabel=\"\u9519\u8BEF\"></nz-option>\n <nz-option nzValue=\"warning\" nzLabel=\"\u8B66\u544A\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"ribbon\") {\n <nz-collapse-panel nzHeader=\"\u7F0E\u5E26\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u4F4D\u7F6E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placement\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"start\">\u5934\u90E8</label>\n <label nz-radio-button nzValue=\"end\">\u5C3E\u90E8</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i4.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon", "nzCollapsible"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition", "nzSize"], exportAs: ["nzCollapse"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i5.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i6.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i7.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBordered", "nzKeyboard", "nzControls"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "directive", type: i6.NzInputPrefixDirective, selector: "[nzInputPrefix]" }, { kind: "ngmodule", type: NzColorPickerModule }, { kind: "component", type: i8.NzColorPickerComponent, selector: "nz-color-picker", inputs: ["nzFormat", "nzValue", "nzSize", "nzDefaultValue", "nzTrigger", "nzTitle", "nzFlipFlop", "nzShowText", "nzOpen", "nzAllowClear", "nzDisabled", "nzDisabledAlpha"], outputs: ["nzOnChange", "nzOnFormatChange", "nzOnClear", "nzOnOpenChange"], exportAs: ["nzColorPicker"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i9.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i9.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i10.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i10.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzPrefix", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }, { kind: "ngmodule", type: NzSpaceModule }, { kind: "component", type: i11.NzSpaceCompactComponent, selector: "nz-space-compact", inputs: ["nzBlock", "nzDirection", "nzSize"], exportAs: ["nzSpaceCompact"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i12.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i13.ɵNzTransitionPatchDirective, selector: "[nz-button], [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i14.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
131
131
|
}
|
|
132
132
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: Setting, decorators: [{
|
|
133
133
|
type: Component,
|
|
134
|
-
args: [{ selector: 'axis-design-
|
|
134
|
+
args: [{ selector: 'axis-design-badge-setting', imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, BaseDesignSetting, FunField, NzSwitchModule, NzInputModule, NzInputNumberModule, NzColorPickerModule, NzRadioModule, NzSelectModule, NzSpaceModule, NzButtonModule, NzIconModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7C7B\u578B\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"type\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"badge\" nzLabel=\"\u5FBD\u6807\"></nz-option>\n <nz-option nzValue=\"status\" nzLabel=\"\u72B6\u6001\"></nz-option>\n <nz-option nzValue=\"ribbon\" nzLabel=\"\u7F0E\u5E26\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u989C\u8272\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field [(ngModel)]=\"color\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setColorFormValue()\">\n <nz-color-picker nzDefaultValue=\"#00000000\" ngModel [ngModelOptions]=\"{standalone:true}\"\n nzAllowClear></nz-color-picker>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n @if (formValue()?.type.funMode || formValue()?.type.originValue === 'badge') {\n <nz-collapse-panel nzHeader=\"\u5FBD\u6807\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5C0F\u7EA2\u70B9\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"dot\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6570\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"count\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5927\u6570\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"overflowCount\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u96F6\u503C\u663E\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showZero\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u4F4D\u7F6E\u504F\u79FB\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-space-compact nzBlock>\n <nz-input-number [(ngModel)]=\"offsetX\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>x:</span>\n </nz-input-number>\n <nz-input-number [(ngModel)]=\"offsetY\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>y:</span>\n </nz-input-number>\n <button nz-button nzSize=\"small\" nzType=\"link\" nzDanger (click)=\"resetOffset()\">\n <nz-icon nzType=\"delete\"></nz-icon>\n </button>\n </nz-space-compact>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u63D0\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"status\") {\n <nz-collapse-panel nzHeader=\"\u72B6\u6001\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u72B6\u6001\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"status\" editTip=\"success-\u6210\u529F processing-\u5904\u7406\u4E2D default-\u9ED8\u8BA4 error-\u9519\u8BEF warning-\u8B66\u544A\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"success\" nzLabel=\"\u6210\u529F\"></nz-option>\n <nz-option nzValue=\"processing\" nzLabel=\"\u5904\u7406\u4E2D\"></nz-option>\n <nz-option nzValue=\"default\" nzLabel=\"\u9ED8\u8BA4\"></nz-option>\n <nz-option nzValue=\"error\" nzLabel=\"\u9519\u8BEF\"></nz-option>\n <nz-option nzValue=\"warning\" nzLabel=\"\u8B66\u544A\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"ribbon\") {\n <nz-collapse-panel nzHeader=\"\u7F0E\u5E26\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u4F4D\u7F6E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placement\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"start\">\u5934\u90E8</label>\n <label nz-radio-button nzValue=\"end\">\u5C3E\u90E8</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>" }]
|
|
135
135
|
}] });
|
|
136
136
|
|
|
137
137
|
const Config = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-axis-appforge-axis-components-badge-design.mjs","sources":["../../../axis-components/badge/design/setting/setting.ts","../../../axis-components/badge/design/setting/setting.html","../../../axis-components/badge/design/config.ts","../../../axis-components/badge/design/ngx-axis-appforge-axis-components-badge-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, model } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\nimport { NzColorPickerModule } from 'ng-zorro-antd/color-picker';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzInputNumberModule } from 'ng-zorro-antd/input-number';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { NzSelectModule } from 'ng-zorro-antd/select';\nimport { NzSpaceModule } from 'ng-zorro-antd/space';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, FormValidators, FunField, FunFieldOptions, FunFieldValueBase } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-text-setting',\n imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, BaseDesignSetting, FunField, NzSwitchModule, NzInputModule, NzInputNumberModule, NzColorPickerModule, NzRadioModule, NzSelectModule, NzSpaceModule, NzButtonModule, NzIconModule],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n ...baseFbConfig,\n type: [undefined, FormValidators.requiredFun],\n color: [],\n count: [],\n showDot: [undefined, FormValidators.requiredFun],\n dot: [undefined, FormValidators.requiredFun],\n overflowCount: [],\n showZero: [undefined, FormValidators.requiredFun],\n size: [undefined, FormValidators.requiredFun],\n status: [undefined, FormValidators.requiredFun],\n text: [],\n title: [],\n offset: [],\n placement: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n type: {\n defaultValue: \"badge\"\n },\n color: {\n defaultValue: undefined\n },\n count: {\n defaultValue: null\n },\n showDot: {\n defaultValue: true\n },\n dot: {\n defaultValue: false\n },\n overflowCount: {\n defaultValue: undefined\n },\n showZero: {\n defaultValue: false\n },\n size: {\n defaultValue: \"default\"\n },\n status: {\n defaultValue: \"default\"\n },\n text: {\n defaultValue: \"\"\n },\n title: {\n defaultValue: \"\"\n },\n placement: {\n defaultValue: \"end\"\n },\n };\n\n override reset(value?: any): void {\n super.reset(value);\n if (this.formValue()?.color) {\n this.color.set(this.formValue().color);\n }\n if (this.formValue()?.offset) {\n this.offsetX.set(this.formValue().offset[0]);\n this.offsetY.set(this.formValue().offset[1]);\n }\n }\n\n readonly offsetX = model<number | null>(null);\n readonly offsetY = model<number | null>(null);\n readonly color = model<any>({ funMode: false });\n\n setColorFormValue() {\n if (!this.color().funMode && this.color().originValue?.endsWith(\"00\")) {\n this.fg.patchValue({\n color: { ...this.color(), originValue: null }\n });\n } else {\n this.fg.patchValue({\n color: this.color()\n });\n }\n }\n\n resetOffset() {\n this.offsetX.set(null);\n this.offsetY.set(null);\n this.setOffsetFormValue();\n }\n\n setOffsetFormValue() {\n if (this.offsetX() != null || this.offsetY() != null) {\n this.fg.patchValue({\n offset: [this.offsetX() ?? 0, this.offsetY() ?? 0]\n });\n } else {\n this.fg.patchValue({\n offset: null\n });\n }\n }\n}\n","<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"基本设置\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 类型\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"type\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"badge\" nzLabel=\"徽标\"></nz-option>\n <nz-option nzValue=\"status\" nzLabel=\"状态\"></nz-option>\n <nz-option nzValue=\"ribbon\" nzLabel=\"缎带\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 颜色\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field [(ngModel)]=\"color\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setColorFormValue()\">\n <nz-color-picker nzDefaultValue=\"#00000000\" ngModel [ngModelOptions]=\"{standalone:true}\"\n nzAllowClear></nz-color-picker>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n @if (formValue()?.type.funMode || formValue()?.type.originValue === 'badge') {\n <nz-collapse-panel nzHeader=\"徽标\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 小红点\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"dot\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 大小\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"small\">小</label>\n <label nz-radio-button nzValue=\"default\">大</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 数值\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"count\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 最大数值\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"overflowCount\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 零值显示\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showZero\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 位置偏移\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-space-compact nzBlock>\n <nz-input-number [(ngModel)]=\"offsetX\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>x:</span>\n </nz-input-number>\n <nz-input-number [(ngModel)]=\"offsetY\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>y:</span>\n </nz-input-number>\n <button nz-button nzSize=\"small\" nzType=\"link\" nzDanger (click)=\"resetOffset()\">\n <nz-icon nzType=\"delete\"></nz-icon>\n </button>\n </nz-space-compact>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 提示\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"status\") {\n <nz-collapse-panel nzHeader=\"状态\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 状态\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"status\" editTip=\"success-成功 processing-处理中 default-默认 error-错误 warning-警告\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"success\" nzLabel=\"成功\"></nz-option>\n <nz-option nzValue=\"processing\" nzLabel=\"处理中\"></nz-option>\n <nz-option nzValue=\"default\" nzLabel=\"默认\"></nz-option>\n <nz-option nzValue=\"error\" nzLabel=\"错误\"></nz-option>\n <nz-option nzValue=\"warning\" nzLabel=\"警告\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 文本\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"ribbon\") {\n <nz-collapse-panel nzHeader=\"缎带\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 位置\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placement\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"start\">头部</label>\n <label nz-radio-button nzValue=\"end\">尾部</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 文本\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { Setting } from \"./setting/setting\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"徽标\",\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n let name;\n switch (nextInfo.currentObject.type) {\n case \"status\":\n name = \"状态\";\n break;\n case \"ribbon\":\n name = \"缎带\";\n break;\n default:\n name = \"徽标\";\n }\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: name,\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n canDrop: true,\n dropType: \"component\",\n dropObj: nextInfo.currentObject,\n defaultDropIndex: \"child\",\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: Setting,\n contextMenu: SimpleMenu,\n icon: \"heart\",\n children: []\n }),\n next: [{\n parentId: nextInfo.currentObject.id,\n parentObject: nextInfo.currentObject,\n indexOfParent: \"child\",\n scopeId: nextInfo.scopeId\n }]\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {\n [options.id]: { element }\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBM,MAAO,OAAQ,SAAQ,iBAAiB,CAAA;AAEnC,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AAC5C,QAAA,GAAG,YAAY;AACf,QAAA,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC7C,QAAA,KAAK,EAAE,EAAE;AACT,QAAA,KAAK,EAAE,EAAE;AACT,QAAA,OAAO,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAChD,QAAA,GAAG,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC5C,QAAA,aAAa,EAAE,EAAE;AACjB,QAAA,QAAQ,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AACjD,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AAE,OAAO;AACb,gBAAA,QAAQ,EAAE;aACb,CAAC;AACF,YAAA,IAAI,EAAE,CAAC;AACH,oBAAA,QAAQ,EAAE,QAAQ,CAAC,aAAa,CAAC,EAAE;oBACnC,YAAY,EAAE,QAAQ,CAAC,aAAa;AACpC,oBAAA,aAAa,EAAE,OAAO;oBACtB,OAAO,EAAE,QAAQ,CAAC;iBACrB;SACJ;KACJ;IACD,uBAAuB,CAAC,OAAoB,EAAE,OAAY,EAAA;QACtD,OAAO;AACH,YAAA,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO;SAC1B;KACJ;;;AClDL;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ngx-axis-appforge-axis-components-badge-design.mjs","sources":["../../../axis-components/badge/design/setting/setting.ts","../../../axis-components/badge/design/setting/setting.html","../../../axis-components/badge/design/config.ts","../../../axis-components/badge/design/ngx-axis-appforge-axis-components-badge-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, model } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\nimport { NzColorPickerModule } from 'ng-zorro-antd/color-picker';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzInputNumberModule } from 'ng-zorro-antd/input-number';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { NzSelectModule } from 'ng-zorro-antd/select';\nimport { NzSpaceModule } from 'ng-zorro-antd/space';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, FormValidators, FunField, FunFieldOptions, FunFieldValueBase } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-badge-setting',\n imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, BaseDesignSetting, FunField, NzSwitchModule, NzInputModule, NzInputNumberModule, NzColorPickerModule, NzRadioModule, NzSelectModule, NzSpaceModule, NzButtonModule, NzIconModule],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n ...baseFbConfig,\n type: [undefined, FormValidators.requiredFun],\n color: [],\n count: [],\n showDot: [undefined, FormValidators.requiredFun],\n dot: [undefined, FormValidators.requiredFun],\n overflowCount: [],\n showZero: [undefined, FormValidators.requiredFun],\n size: [undefined, FormValidators.requiredFun],\n status: [undefined, FormValidators.requiredFun],\n text: [],\n title: [],\n offset: [],\n placement: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n type: {\n defaultValue: \"badge\"\n },\n color: {\n defaultValue: undefined\n },\n count: {\n defaultValue: null\n },\n showDot: {\n defaultValue: true\n },\n dot: {\n defaultValue: false\n },\n overflowCount: {\n defaultValue: undefined\n },\n showZero: {\n defaultValue: false\n },\n size: {\n defaultValue: \"default\"\n },\n status: {\n defaultValue: \"default\"\n },\n text: {\n defaultValue: \"\"\n },\n title: {\n defaultValue: \"\"\n },\n placement: {\n defaultValue: \"end\"\n },\n };\n\n override reset(value?: any): void {\n super.reset(value);\n if (this.formValue()?.color) {\n this.color.set(this.formValue().color);\n }\n if (this.formValue()?.offset) {\n this.offsetX.set(this.formValue().offset[0]);\n this.offsetY.set(this.formValue().offset[1]);\n }\n }\n\n readonly offsetX = model<number | null>(null);\n readonly offsetY = model<number | null>(null);\n readonly color = model<any>({ funMode: false });\n\n setColorFormValue() {\n if (!this.color().funMode && this.color().originValue?.endsWith(\"00\")) {\n this.fg.patchValue({\n color: { ...this.color(), originValue: null }\n });\n } else {\n this.fg.patchValue({\n color: this.color()\n });\n }\n }\n\n resetOffset() {\n this.offsetX.set(null);\n this.offsetY.set(null);\n this.setOffsetFormValue();\n }\n\n setOffsetFormValue() {\n if (this.offsetX() != null || this.offsetY() != null) {\n this.fg.patchValue({\n offset: [this.offsetX() ?? 0, this.offsetY() ?? 0]\n });\n } else {\n this.fg.patchValue({\n offset: null\n });\n }\n }\n}\n","<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"基本设置\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 类型\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"type\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"badge\" nzLabel=\"徽标\"></nz-option>\n <nz-option nzValue=\"status\" nzLabel=\"状态\"></nz-option>\n <nz-option nzValue=\"ribbon\" nzLabel=\"缎带\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 颜色\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field [(ngModel)]=\"color\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setColorFormValue()\">\n <nz-color-picker nzDefaultValue=\"#00000000\" ngModel [ngModelOptions]=\"{standalone:true}\"\n nzAllowClear></nz-color-picker>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n @if (formValue()?.type.funMode || formValue()?.type.originValue === 'badge') {\n <nz-collapse-panel nzHeader=\"徽标\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 小红点\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"dot\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 大小\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"small\">小</label>\n <label nz-radio-button nzValue=\"default\">大</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 数值\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"count\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.dot.funMode || !formValue()?.dot.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 最大数值\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"overflowCount\">\n <nz-input-number style=\"width: 100%;\" [nzMin]=\"0\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 零值显示\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showZero\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 位置偏移\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-space-compact nzBlock>\n <nz-input-number [(ngModel)]=\"offsetX\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>x:</span>\n </nz-input-number>\n <nz-input-number [(ngModel)]=\"offsetY\" [ngModelOptions]=\"{standalone:true}\"\n (ngModelChange)=\"setOffsetFormValue()\">\n <span nzInputPrefix>y:</span>\n </nz-input-number>\n <button nz-button nzSize=\"small\" nzType=\"link\" nzDanger (click)=\"resetOffset()\">\n <nz-icon nzType=\"delete\"></nz-icon>\n </button>\n </nz-space-compact>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 提示\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"status\") {\n <nz-collapse-panel nzHeader=\"状态\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 状态\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"status\" editTip=\"success-成功 processing-处理中 default-默认 error-错误 warning-警告\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"success\" nzLabel=\"成功\"></nz-option>\n <nz-option nzValue=\"processing\" nzLabel=\"处理中\"></nz-option>\n <nz-option nzValue=\"default\" nzLabel=\"默认\"></nz-option>\n <nz-option nzValue=\"error\" nzLabel=\"错误\"></nz-option>\n <nz-option nzValue=\"warning\" nzLabel=\"警告\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 文本\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }@else if (formValue()?.type.funMode || formValue()?.type.originValue === \"ribbon\") {\n <nz-collapse-panel nzHeader=\"缎带\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 位置\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placement\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"start\">头部</label>\n <label nz-radio-button nzValue=\"end\">尾部</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 文本\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"text\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n }\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { Setting } from \"./setting/setting\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"徽标\",\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n let name;\n switch (nextInfo.currentObject.type) {\n case \"status\":\n name = \"状态\";\n break;\n case \"ribbon\":\n name = \"缎带\";\n break;\n default:\n name = \"徽标\";\n }\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: name,\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n canDrop: true,\n dropType: \"component\",\n dropObj: nextInfo.currentObject,\n defaultDropIndex: \"child\",\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: Setting,\n contextMenu: SimpleMenu,\n icon: \"heart\",\n children: []\n }),\n next: [{\n parentId: nextInfo.currentObject.id,\n parentObject: nextInfo.currentObject,\n indexOfParent: \"child\",\n scopeId: nextInfo.scopeId\n }]\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {\n [options.id]: { element }\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\n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