rd-outer-component 0.0.1
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/README.md +24 -0
- package/esm2020/lib/constants/common.constant.mjs +21 -0
- package/esm2020/lib/modules/custom-checkbox/custom-checkbox.component.mjs +72 -0
- package/esm2020/lib/modules/custom-checkbox/custom-checkbox.module.mjs +20 -0
- package/esm2020/lib/modules/custom-checkbox/index.mjs +3 -0
- package/esm2020/lib/modules/custom-date/custom-date.component.mjs +77 -0
- package/esm2020/lib/modules/custom-date/custom-date.module.mjs +20 -0
- package/esm2020/lib/modules/custom-date/index.mjs +3 -0
- package/esm2020/lib/modules/custom-filter/custom-filter-date/custom-filter-date.component.mjs +58 -0
- package/esm2020/lib/modules/custom-filter/custom-filter-input/custom-filter-input.component.mjs +38 -0
- package/esm2020/lib/modules/custom-filter/custom-filter-select/custom-filter-select.component.mjs +58 -0
- package/esm2020/lib/modules/custom-filter/custom-filter.component.mjs +40 -0
- package/esm2020/lib/modules/custom-filter/custom-filter.module.mjs +59 -0
- package/esm2020/lib/modules/custom-filter/custom-filter.types.mjs +7 -0
- package/esm2020/lib/modules/custom-filter/index.mjs +3 -0
- package/esm2020/lib/modules/custom-input/custom-input.component.mjs +227 -0
- package/esm2020/lib/modules/custom-input/custom-input.module.mjs +35 -0
- package/esm2020/lib/modules/custom-input/index.mjs +3 -0
- package/esm2020/lib/modules/custom-input-amount/custom-input-amount.component.mjs +176 -0
- package/esm2020/lib/modules/custom-input-amount/custom-input-amount.module.mjs +35 -0
- package/esm2020/lib/modules/custom-input-amount/index.mjs +3 -0
- package/esm2020/lib/modules/custom-radio/custom-radio.component.mjs +75 -0
- package/esm2020/lib/modules/custom-radio/custom-radio.module.mjs +35 -0
- package/esm2020/lib/modules/custom-radio/index.mjs +3 -0
- package/esm2020/lib/modules/custom-select/custom-select.component.mjs +130 -0
- package/esm2020/lib/modules/custom-select/custom-select.module.mjs +35 -0
- package/esm2020/lib/modules/custom-select/index.mjs +3 -0
- package/esm2020/lib/modules/status-field/index.mjs +3 -0
- package/esm2020/lib/modules/status-field/status-field.component.mjs +28 -0
- package/esm2020/lib/modules/status-field/status-field.module.mjs +18 -0
- package/esm2020/lib/pipes/big-number.pipe.mjs +19 -0
- package/esm2020/lib/pipes/index.mjs +3 -0
- package/esm2020/lib/pipes/pipes.module.mjs +17 -0
- package/esm2020/lib/types/common.enum.mjs +24 -0
- package/esm2020/lib/types/common.type.mjs +2 -0
- package/esm2020/lib/utils/big-number.mjs +42 -0
- package/esm2020/lib/utils/debounce.mjs +15 -0
- package/esm2020/public-api.mjs +15 -0
- package/esm2020/rd-outer-component.mjs +5 -0
- package/fesm2015/rd-outer-component.mjs +1287 -0
- package/fesm2015/rd-outer-component.mjs.map +1 -0
- package/fesm2020/rd-outer-component.mjs +1277 -0
- package/fesm2020/rd-outer-component.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/constants/common.constant.d.ts +19 -0
- package/lib/modules/custom-checkbox/custom-checkbox.component.d.ts +26 -0
- package/lib/modules/custom-checkbox/custom-checkbox.module.d.ts +10 -0
- package/lib/modules/custom-checkbox/index.d.ts +2 -0
- package/lib/modules/custom-date/custom-date.component.d.ts +26 -0
- package/lib/modules/custom-date/custom-date.module.d.ts +10 -0
- package/lib/modules/custom-date/index.d.ts +2 -0
- package/lib/modules/custom-filter/custom-filter-date/custom-filter-date.component.d.ts +20 -0
- package/lib/modules/custom-filter/custom-filter-input/custom-filter-input.component.d.ts +13 -0
- package/lib/modules/custom-filter/custom-filter-select/custom-filter-select.component.d.ts +14 -0
- package/lib/modules/custom-filter/custom-filter.component.d.ts +16 -0
- package/lib/modules/custom-filter/custom-filter.module.d.ts +18 -0
- package/lib/modules/custom-filter/custom-filter.types.d.ts +19 -0
- package/lib/modules/custom-filter/index.d.ts +2 -0
- package/lib/modules/custom-input/custom-input.component.d.ts +46 -0
- package/lib/modules/custom-input/custom-input.module.d.ts +11 -0
- package/lib/modules/custom-input/index.d.ts +2 -0
- package/lib/modules/custom-input-amount/custom-input-amount.component.d.ts +39 -0
- package/lib/modules/custom-input-amount/custom-input-amount.module.d.ts +11 -0
- package/lib/modules/custom-input-amount/index.d.ts +2 -0
- package/lib/modules/custom-radio/custom-radio.component.d.ts +26 -0
- package/lib/modules/custom-radio/custom-radio.module.d.ts +11 -0
- package/lib/modules/custom-radio/index.d.ts +2 -0
- package/lib/modules/custom-select/custom-select.component.d.ts +41 -0
- package/lib/modules/custom-select/custom-select.module.d.ts +11 -0
- package/lib/modules/custom-select/index.d.ts +2 -0
- package/lib/modules/status-field/index.d.ts +2 -0
- package/lib/modules/status-field/status-field.component.d.ts +30 -0
- package/lib/modules/status-field/status-field.module.d.ts +8 -0
- package/lib/pipes/big-number.pipe.d.ts +7 -0
- package/lib/pipes/index.d.ts +2 -0
- package/lib/pipes/pipes.module.d.ts +7 -0
- package/lib/types/common.enum.d.ts +19 -0
- package/lib/types/common.type.d.ts +6 -0
- package/lib/utils/big-number.d.ts +2 -0
- package/lib/utils/debounce.d.ts +1 -0
- package/package.json +34 -0
- package/public-api.d.ts +10 -0
- package/src/lib/assets/img/icon/checkbox.svg +6 -0
- package/src/lib/assets/img/icon/icon-error.svg +5 -0
- package/src/lib/assets/img/status/cancel.svg +4 -0
- package/src/lib/assets/img/status/failed.svg +4 -0
- package/src/lib/assets/img/status/pending.svg +4 -0
- package/src/lib/assets/img/status/returned.svg +4 -0
- package/src/lib/assets/img/status/returning.svg +4 -0
- package/src/lib/assets/img/status/settling.svg +5 -0
- package/src/lib/assets/img/status/submitted.svg +3 -0
- package/src/lib/assets/img/status/success.svg +4 -0
- package/src/lib/assets/img/status/warning.svg +4 -0
- package/src/lib/assets/scss/form-item.scss +200 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./custom-input-amount.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "ng-zorro-antd/input";
|
|
6
|
+
import * as i5 from "ngx-mask";
|
|
7
|
+
export declare class RdInputAmountModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdInputAmountModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RdInputAmountModule, [typeof i1.CustomInputAmountComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i3.FormsModule, typeof i4.NzInputModule, typeof i5.NgxMaskModule], [typeof i1.CustomInputAmountComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RdInputAmountModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { ISelectOption } from '../../types/common.type';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CustomRadioComponent implements ControlValueAccessor {
|
|
6
|
+
private cdr;
|
|
7
|
+
label: string;
|
|
8
|
+
name: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
set options(val: ISelectOption[]);
|
|
11
|
+
get options(): ISelectOption[];
|
|
12
|
+
valueChange: EventEmitter<ISelectOption | undefined>;
|
|
13
|
+
private _rawOptions;
|
|
14
|
+
value: ISelectOption | undefined;
|
|
15
|
+
nativeValue: ISelectOption['value'] | undefined;
|
|
16
|
+
onChange: (value: ISelectOption | undefined) => void;
|
|
17
|
+
onTouched: () => void;
|
|
18
|
+
constructor(cdr: ChangeDetectorRef);
|
|
19
|
+
setDisabledState(isDisabled: boolean): void;
|
|
20
|
+
writeValue(value: ISelectOption): void;
|
|
21
|
+
registerOnChange(fn: any): void;
|
|
22
|
+
registerOnTouched(fn: any): void;
|
|
23
|
+
handleValueChange(value: ISelectOption['value']): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomRadioComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomRadioComponent, "app-rd-radio", never, { "label": "label"; "name": "name"; "disabled": "disabled"; "options": "options"; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./custom-radio.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "ng-zorro-antd/spin";
|
|
6
|
+
import * as i5 from "ng-zorro-antd/radio";
|
|
7
|
+
export declare class RdRadioModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdRadioModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RdRadioModule, [typeof i1.CustomRadioComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.NzSpinModule, typeof i5.NzRadioModule], [typeof i1.CustomRadioComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RdRadioModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { ISelectOption } from '../../types/common.type';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CustomSelectComponent implements ControlValueAccessor {
|
|
6
|
+
private cdr;
|
|
7
|
+
label: string;
|
|
8
|
+
customTpl: any;
|
|
9
|
+
optionTpl: any;
|
|
10
|
+
name: string;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
nzMode: 'multiple' | 'default';
|
|
13
|
+
isCurrency?: boolean;
|
|
14
|
+
currencyUrlMap?: Record<string, string>;
|
|
15
|
+
isLoading: boolean;
|
|
16
|
+
isShowSearch: boolean;
|
|
17
|
+
isRemoteSearch: boolean;
|
|
18
|
+
set options(val: ISelectOption[]);
|
|
19
|
+
get options(): ISelectOption[];
|
|
20
|
+
searchChange: EventEmitter<string>;
|
|
21
|
+
valueChange: EventEmitter<ISelectOption | ISelectOption[]>;
|
|
22
|
+
scrollToBottomEmit: EventEmitter<void>;
|
|
23
|
+
private _rawOptions;
|
|
24
|
+
filteredOptions: ISelectOption[];
|
|
25
|
+
value: ISelectOption | ISelectOption[] | undefined;
|
|
26
|
+
nativeValue: ISelectOption['value'] | ISelectOption['value'][] | undefined;
|
|
27
|
+
searchInput: string;
|
|
28
|
+
onChange: (value: ISelectOption | ISelectOption[] | undefined) => void;
|
|
29
|
+
onTouched: () => void;
|
|
30
|
+
isFocus: boolean;
|
|
31
|
+
constructor(cdr: ChangeDetectorRef);
|
|
32
|
+
setDisabledState(isDisabled: boolean): void;
|
|
33
|
+
writeValue(value: ISelectOption | ISelectOption[]): void;
|
|
34
|
+
registerOnChange(fn: any): void;
|
|
35
|
+
registerOnTouched(fn: any): void;
|
|
36
|
+
handleValueChange(value: ISelectOption['value'] | ISelectOption['value'][]): void;
|
|
37
|
+
onScrollToBottom(): void;
|
|
38
|
+
onSearch(searchValue: string): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomSelectComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomSelectComponent, "app-rd-select", never, { "label": "label"; "customTpl": "customTpl"; "optionTpl": "optionTpl"; "name": "name"; "disabled": "disabled"; "nzMode": "nzMode"; "isCurrency": "isCurrency"; "currencyUrlMap": "currencyUrlMap"; "isLoading": "isLoading"; "isShowSearch": "isShowSearch"; "isRemoteSearch": "isRemoteSearch"; "options": "options"; }, { "searchChange": "searchChange"; "valueChange": "valueChange"; "scrollToBottomEmit": "scrollToBottomEmit"; }, never, never, false, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./custom-select.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "ng-zorro-antd/spin";
|
|
6
|
+
import * as i5 from "ng-zorro-antd/select";
|
|
7
|
+
export declare class RdSelectModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdSelectModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RdSelectModule, [typeof i1.CustomSelectComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.NzSpinModule, typeof i5.NzSelectModule], [typeof i1.CustomSelectComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RdSelectModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ONOFFStatusEnum } from '../../types/common.enum';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class StatusFieldComponent {
|
|
4
|
+
status: ONOFFStatusEnum | string | any;
|
|
5
|
+
text?: string;
|
|
6
|
+
size: 'default' | 'large';
|
|
7
|
+
statusEnum: typeof ONOFFStatusEnum;
|
|
8
|
+
textEnum: {
|
|
9
|
+
PENDING: string;
|
|
10
|
+
SUCCESSFUL: string;
|
|
11
|
+
SUBMITTED: string;
|
|
12
|
+
FAILED: string;
|
|
13
|
+
RETURNING: string;
|
|
14
|
+
RETURNED: string;
|
|
15
|
+
CONVERTING: string;
|
|
16
|
+
SETTLING: string;
|
|
17
|
+
WAITING: string;
|
|
18
|
+
PENDING_DEPOSIT: string;
|
|
19
|
+
SUCCESS: string;
|
|
20
|
+
VERIFYING: string;
|
|
21
|
+
AWAIT_FOR_RECEIVE: string;
|
|
22
|
+
PAYMENT_VERIFYING: string;
|
|
23
|
+
AWAIT_FOR_DECLARATION: string;
|
|
24
|
+
DECLARATION_REVIEW: string;
|
|
25
|
+
CLOSED: string;
|
|
26
|
+
};
|
|
27
|
+
get defaultText(): any;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatusFieldComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StatusFieldComponent, "app-rd-status-field", never, { "status": "status"; "text": "text"; "size": "size"; }, {}, never, never, false, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./status-field.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class RdStatusFieldModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdStatusFieldModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RdStatusFieldModule, [typeof i1.StatusFieldComponent], [typeof i2.CommonModule], [typeof i1.StatusFieldComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RdStatusFieldModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BigNumberPipe implements PipeTransform {
|
|
4
|
+
transform(value: string | number, precision?: number | null, mode?: 'cut' | 'toFixed' | 'keepAll'): string | number;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BigNumberPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<BigNumberPipe, "bigNumber", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./big-number.pipe";
|
|
3
|
+
export declare class PipesModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.BigNumberPipe], never, [typeof i1.BigNumberPipe]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare enum ONOFFStatusEnum {
|
|
2
|
+
PENDING = "PENDING",
|
|
3
|
+
SUCCESSFUL = "SUCCESSFUL",
|
|
4
|
+
SUBMITTED = "SUBMITTED",
|
|
5
|
+
FAILED = "FAILED",
|
|
6
|
+
RETURNING = "RETURNING",
|
|
7
|
+
RETURNED = "RETURNED",
|
|
8
|
+
VERIFYING = "VERIFYING",
|
|
9
|
+
AWAIT_FOR_RECEIVE = "AWAIT_FOR_RECEIVE",
|
|
10
|
+
PAYMENT_VERIFYING = "PAYMENT_VERIFYING",
|
|
11
|
+
AWAIT_FOR_DECLARATION = "AWAIT_FOR_DECLARATION",
|
|
12
|
+
DECLARATION_REVIEW = "DECLARATION_REVIEW",
|
|
13
|
+
CLOSED = "CLOSED",
|
|
14
|
+
CONVERTING = "CONVERTING",
|
|
15
|
+
SETTLING = "SETTLING",
|
|
16
|
+
WAITING = "WAITING",
|
|
17
|
+
PENDING_DEPOSIT = "PENDING_DEPOSIT",
|
|
18
|
+
SUCCESS = "SUCCESS"
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function debounce(delay?: number): MethodDecorator;
|
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rd-outer-component",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^15.2.0",
|
|
6
|
+
"@angular/core": "^15.2.0",
|
|
7
|
+
"ng-zorro-antd": "^15.1.0",
|
|
8
|
+
"ngx-mask": "^13.0.0",
|
|
9
|
+
"big.js": "^6.2.2"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"tslib": "^2.3.0"
|
|
13
|
+
},
|
|
14
|
+
"sideEffects": false,
|
|
15
|
+
"module": "fesm2015/rd-outer-component.mjs",
|
|
16
|
+
"es2020": "fesm2020/rd-outer-component.mjs",
|
|
17
|
+
"esm2020": "esm2020/rd-outer-component.mjs",
|
|
18
|
+
"fesm2020": "fesm2020/rd-outer-component.mjs",
|
|
19
|
+
"fesm2015": "fesm2015/rd-outer-component.mjs",
|
|
20
|
+
"typings": "index.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
"./package.json": {
|
|
23
|
+
"default": "./package.json"
|
|
24
|
+
},
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./index.d.ts",
|
|
27
|
+
"esm2020": "./esm2020/rd-outer-component.mjs",
|
|
28
|
+
"es2020": "./fesm2020/rd-outer-component.mjs",
|
|
29
|
+
"es2015": "./fesm2015/rd-outer-component.mjs",
|
|
30
|
+
"node": "./fesm2015/rd-outer-component.mjs",
|
|
31
|
+
"default": "./fesm2020/rd-outer-component.mjs"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './lib/modules/custom-checkbox';
|
|
2
|
+
export * from './lib/modules/custom-date';
|
|
3
|
+
export * from './lib/modules/custom-input';
|
|
4
|
+
export * from './lib/modules/custom-input-amount';
|
|
5
|
+
export * from './lib/modules/custom-radio';
|
|
6
|
+
export * from './lib/modules/custom-select';
|
|
7
|
+
export * from './lib/modules/custom-filter';
|
|
8
|
+
export * from './lib/modules/status-field';
|
|
9
|
+
export * from './lib/pipes';
|
|
10
|
+
export * from './lib/utils/debounce';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g id="Check box">
|
|
3
|
+
<path d="M0 4C0 1.79086 1.79086 0 4 0H12C14.2091 0 16 1.79086 16 4V12C16 14.2091 14.2091 16 12 16H4C1.79086 16 0 14.2091 0 12V4Z" fill="#367AF6"/>
|
|
4
|
+
<path id="Vector 852" d="M4.3999 8.80005L7.1999 12L11.5999 4.80005" stroke="#F8F9FA" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
</g>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
3
|
+
d="M7.99967 14.6666C11.6816 14.6666 14.6663 11.6818 14.6663 7.99992C14.6663 4.31802 11.6816 1.33325 7.99967 1.33325C4.31778 1.33325 1.33301 4.31802 1.33301 7.99992C1.33301 11.6818 4.31778 14.6666 7.99967 14.6666ZM7.98674 3.91667C8.40095 3.91667 8.73674 4.25245 8.73674 4.66667V8C8.73674 8.41421 8.40095 8.75 7.98674 8.75C7.57252 8.75 7.23674 8.41421 7.23674 8V4.66667C7.23674 4.25245 7.57252 3.91667 7.98674 3.91667ZM7.23674 11.3333C7.23674 10.9191 7.57252 10.5833 7.98674 10.5833H7.9868C8.40102 10.5833 8.7368 10.9191 8.7368 11.3333C8.7368 11.7475 8.40102 12.0833 7.9868 12.0833H7.98674C7.57252 12.0833 7.23674 11.7475 7.23674 11.3333Z"
|
|
4
|
+
fill="#D2152E" />
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M7.99935 13.3332C10.9449 13.3332 13.3327 10.9454 13.3327 7.99984C13.3327 5.05432 10.9449 2.6665 7.99935 2.6665C5.05383 2.6665 2.66602 5.05432 2.66602 7.99984C2.66602 10.9454 5.05383 13.3332 7.99935 13.3332Z" fill="#9CA3AF" stroke="#9CA3AF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M5 8H11" stroke="#F8F9FA" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8.00033 13.3332C10.9458 13.3332 13.3337 10.9454 13.3337 7.99984C13.3337 5.05432 10.9458 2.6665 8.00033 2.6665C5.05481 2.6665 2.66699 5.05432 2.66699 7.99984C2.66699 10.9454 5.05481 13.3332 8.00033 13.3332Z" fill="#D2152E" stroke="#D2152E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M5.66699 5.6665L8.00033 7.99984M8.00033 7.99984L10.3337 10.3332M8.00033 7.99984L10.3337 5.6665M8.00033 7.99984L5.66699 10.3332" stroke="#F8F9FA" stroke-width="1.66667" stroke-linecap="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="8.00008" cy="8.00008" r="5.33333" stroke="#367AF6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M7.33325 5.33325V8.66659H9.99992" stroke="#367AF6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8.00033 13.3332C10.9458 13.3332 13.3337 10.9454 13.3337 7.99984C13.3337 5.05432 10.9458 2.6665 8.00033 2.6665C5.05481 2.6665 2.66699 5.05432 2.66699 7.99984C2.66699 10.9454 5.05481 13.3332 8.00033 13.3332Z" fill="#EA580C" stroke="#EA580C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M5 8H11M5 8L7 6M5 8L7 10" stroke="#F8F9FA" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8.00008 13.3334C10.9456 13.3334 13.3334 10.9456 13.3334 8.00008C13.3334 5.05456 10.9456 2.66675 8.00008 2.66675C5.05456 2.66675 2.66675 5.05456 2.66675 8.00008C2.66675 10.9456 5.05456 13.3334 8.00008 13.3334Z" fill="#925CF6" stroke="#925CF6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M5 8H11M5 8L7 6M5 8L7 10" stroke="#F8F9FA" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M13.3337 7.99984C13.3337 5.28009 11.2979 3.03583 8.66699 2.70777V8.6665V13.2919C11.2979 12.9638 13.3337 10.7196 13.3337 7.99984Z" fill="#925CF6"/>
|
|
3
|
+
<path d="M8.00033 13.3332C8.2261 13.3332 8.4486 13.3191 8.66699 13.2919V8.6665H2.70825C3.03632 11.2974 5.28058 13.3332 8.00033 13.3332Z" fill="#925CF6"/>
|
|
4
|
+
<path d="M8.66699 2.70777C8.4486 2.68053 8.2261 2.6665 8.00033 2.6665C5.05481 2.6665 2.66699 5.05432 2.66699 7.99984C2.66699 8.22561 2.68102 8.44811 2.70825 8.6665M8.66699 2.70777C11.2979 3.03583 13.3337 5.28009 13.3337 7.99984C13.3337 10.7196 11.2979 12.9638 8.66699 13.2919M8.66699 2.70777V8.6665M8.66699 13.2919C8.4486 13.3191 8.2261 13.3332 8.00033 13.3332C5.28058 13.3332 3.03632 11.2974 2.70825 8.6665M8.66699 13.2919V8.6665M2.70825 8.6665H8.66699" stroke="#925CF6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8.00033 13.3332C10.9458 13.3332 13.3337 10.9454 13.3337 7.99984C13.3337 5.05432 10.9458 2.6665 8.00033 2.6665C5.05481 2.6665 2.66699 5.05432 2.66699 7.99984C2.66699 10.9454 5.05481 13.3332 8.00033 13.3332Z" fill="#23CC8B" stroke="#23CC8B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M5.33301 8.33317L7.33301 10.3332L10.6663 5.6665" stroke="#F8F9FA" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.25149 2.96736C7.02868 1.62123 8.97165 1.62123 9.74883 2.96736L14.3933 11.0118C15.1705 12.3579 14.199 14.0406 12.6446 14.0406H3.3557C1.80132 14.0406 0.829842 12.3579 1.60703 11.0118L6.25149 2.96736Z" fill="#EA580C"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.00008 4.16675C8.46032 4.16675 8.83341 4.53984 8.83341 5.00008V8.33341C8.83341 8.79365 8.46032 9.16675 8.00008 9.16675C7.53984 9.16675 7.16675 8.79365 7.16675 8.33341V5.00008C7.16675 4.53984 7.53984 4.16675 8.00008 4.16675ZM8.00008 10.5001C8.46032 10.5001 8.83341 10.8732 8.83341 11.3334V11.6667C8.83341 12.127 8.46032 12.5001 8.00008 12.5001C7.53984 12.5001 7.16675 12.127 7.16675 11.6667V11.3334C7.16675 10.8732 7.53984 10.5001 8.00008 10.5001Z" fill="#F8F9FA"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
.form-item {
|
|
2
|
+
position: relative;
|
|
3
|
+
border-radius: 4px;
|
|
4
|
+
border: 1px solid #e5e7eb;
|
|
5
|
+
background-color: #fff;
|
|
6
|
+
width: 100%;
|
|
7
|
+
margin-top: 16px;
|
|
8
|
+
min-height: 64px;
|
|
9
|
+
|
|
10
|
+
.form-item-select-icon {
|
|
11
|
+
position: absolute;
|
|
12
|
+
right: 12px;
|
|
13
|
+
top: 50%;
|
|
14
|
+
transform: translateY(-50%);
|
|
15
|
+
width: 16px;
|
|
16
|
+
height: 16px;
|
|
17
|
+
pointer-events: none;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&-label {
|
|
21
|
+
position: absolute;
|
|
22
|
+
left: 16px;
|
|
23
|
+
top: 50%;
|
|
24
|
+
transform: translateY(-50%);
|
|
25
|
+
color: #6b7280;
|
|
26
|
+
transition: all 0.3s ease;
|
|
27
|
+
pointer-events: none;
|
|
28
|
+
z-index: 1;
|
|
29
|
+
font-size: 14px;
|
|
30
|
+
font-weight: 500;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&-input {
|
|
34
|
+
color: #030712;
|
|
35
|
+
font-size: 14px;
|
|
36
|
+
width: 100%;
|
|
37
|
+
font-weight: 500;
|
|
38
|
+
padding: 18px 16px;
|
|
39
|
+
|
|
40
|
+
&:focus,
|
|
41
|
+
&:not(:placeholder-shown) {
|
|
42
|
+
top: 10px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.form-item-input:focus ~ .form-item-label,
|
|
47
|
+
.form-item-input:not(:placeholder-shown) ~ .form-item-label {
|
|
48
|
+
top: 16px;
|
|
49
|
+
font-size: 12px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&-select {
|
|
53
|
+
width: 100%;
|
|
54
|
+
|
|
55
|
+
::ng-deep {
|
|
56
|
+
.ant-select-selection-item {
|
|
57
|
+
color: #030712;
|
|
58
|
+
font-size: 14px;
|
|
59
|
+
font-weight: 500;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.selected {
|
|
65
|
+
.form-item-label {
|
|
66
|
+
top: 16px;
|
|
67
|
+
font-size: 12px;
|
|
68
|
+
}
|
|
69
|
+
.form-item-select {
|
|
70
|
+
top: 10px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&.disabled {
|
|
75
|
+
background-color: #f3f4f6;
|
|
76
|
+
border-color: #d1d5db;
|
|
77
|
+
|
|
78
|
+
.form-item-label,
|
|
79
|
+
.form-item-input {
|
|
80
|
+
color: #9ca3af;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
::ng-deep {
|
|
84
|
+
.ant-select-selection-item {
|
|
85
|
+
color: #9ca3af;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&.error {
|
|
91
|
+
border-color: #e51c36;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.form-item-check {
|
|
96
|
+
position: relative;
|
|
97
|
+
background-color: #fff;
|
|
98
|
+
width: 100%;
|
|
99
|
+
margin-top: 16px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.form-item-error {
|
|
103
|
+
color: #d2152e;
|
|
104
|
+
font-size: 12px;
|
|
105
|
+
font-weight: 500;
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
gap: 4px;
|
|
109
|
+
margin-top: 4px;
|
|
110
|
+
|
|
111
|
+
img {
|
|
112
|
+
width: 16px;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.form-number-item {
|
|
117
|
+
position: relative;
|
|
118
|
+
border-radius: 12px;
|
|
119
|
+
padding: 12px 6px;
|
|
120
|
+
background-color: #fff;
|
|
121
|
+
border: 1px solid #e5e7eb;
|
|
122
|
+
width: 100%;
|
|
123
|
+
margin-top: 16px;
|
|
124
|
+
|
|
125
|
+
.item-label {
|
|
126
|
+
color: #6b7280;
|
|
127
|
+
font-size: 12px;
|
|
128
|
+
padding: 0 12px;
|
|
129
|
+
font-weight: 500;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.item-content {
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
font-size: 32px;
|
|
136
|
+
font-weight: 600;
|
|
137
|
+
line-height: 48px;
|
|
138
|
+
color: #9ca3af;
|
|
139
|
+
|
|
140
|
+
&-value {
|
|
141
|
+
flex: 1;
|
|
142
|
+
font-size: 32px;
|
|
143
|
+
font-weight: 600;
|
|
144
|
+
line-height: 48px;
|
|
145
|
+
color: #030712;
|
|
146
|
+
border: none;
|
|
147
|
+
|
|
148
|
+
&:focus,
|
|
149
|
+
&:active,
|
|
150
|
+
&:hover {
|
|
151
|
+
outline: none;
|
|
152
|
+
box-shadow: none;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
::ng-deep {
|
|
156
|
+
.ant-input-number-handler-wrap {
|
|
157
|
+
display: none;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.ant-input-number-input {
|
|
161
|
+
font-size: 32px;
|
|
162
|
+
font-weight: 600;
|
|
163
|
+
line-height: 48px;
|
|
164
|
+
|
|
165
|
+
&::placeholder {
|
|
166
|
+
color: #9ca3af;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&-symbol {
|
|
173
|
+
flex-shrink: 0;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
::ng-deep {
|
|
178
|
+
.item-warning {
|
|
179
|
+
font-weight: 500;
|
|
180
|
+
font-size: 12px;
|
|
181
|
+
color: #6b7280;
|
|
182
|
+
margin-top: 4px;
|
|
183
|
+
padding: 0 12px;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
&.disabled {
|
|
188
|
+
background-color: #f3f4f6;
|
|
189
|
+
border-color: #d1d5db;
|
|
190
|
+
|
|
191
|
+
.item-label,
|
|
192
|
+
.item-content-value {
|
|
193
|
+
color: #9ca3af;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&.error {
|
|
198
|
+
border-color: #e51c36;
|
|
199
|
+
}
|
|
200
|
+
}
|