nira-falcon 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/core-date-picker/core-date-picker.component.mjs +1 -1
- package/esm2022/lib/core-input/core-input.component.mjs +81 -7
- package/esm2022/lib/core-table/core-column-selector/core-column-selector.component.mjs +2 -2
- package/esm2022/lib/core-table/core-table/core-table.component.mjs +3 -3
- package/esm2022/lib/core-table/core-table-card-manager/core-table-card-manager.component.mjs +2 -2
- package/esm2022/lib/core-table/core-table-column-manager/core-table-column-manager.component.mjs +2 -2
- package/esm2022/lib/core-table/core-table-no-content/core-table-no-content.label.mjs +1 -1
- package/esm2022/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.mjs +2 -2
- package/esm2022/utils/directives/detail-viewer-manager.directive.mjs +2 -2
- package/esm2022/utils/directives/table-detail-viewer-manager.directive.mjs +2 -2
- package/fesm2022/nira-falcon.mjs +376 -187
- package/fesm2022/nira-falcon.mjs.map +1 -1
- package/lib/core-input/core-input.component.d.ts +11 -2
- package/lib/core-table/core-column-selector/core-column-selector.component.d.ts +1 -1
- package/lib/core-table/core-table/core-table.component.d.ts +1 -1
- package/lib/core-table/core-table-card-manager/core-table-card-manager.component.d.ts +1 -1
- package/lib/core-table/core-table-column-manager/core-table-column-manager.component.d.ts +1 -1
- package/lib/core-table/core-table-no-content/core-table-no-content.label.d.ts +1 -1
- package/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.d.ts +1 -1
- package/package.json +1 -1
- package/esm2022/utils/types.mjs +0 -2
- package/utils/types.d.ts +0 -10
|
@@ -6,12 +6,21 @@ export declare class CoreInputComponent {
|
|
|
6
6
|
inputType: InputType;
|
|
7
7
|
isDisable: boolean;
|
|
8
8
|
set type(value: InputType);
|
|
9
|
+
canShowWordifyFa: boolean;
|
|
10
|
+
canSplitNumber: boolean;
|
|
11
|
+
canHighlightBackground: boolean;
|
|
12
|
+
maxLength: number;
|
|
9
13
|
inputFormControl: FormControl;
|
|
10
14
|
set disable(value: boolean);
|
|
11
15
|
placeholder: string;
|
|
12
16
|
onChange: EventEmitter<string>;
|
|
13
|
-
|
|
17
|
+
onBlurEmit: EventEmitter<string>;
|
|
18
|
+
change(event: any): void;
|
|
19
|
+
onPaste(event: any): void;
|
|
20
|
+
onBlur(): void;
|
|
21
|
+
onKeyPress(): boolean;
|
|
22
|
+
formatPrice(event: any): void;
|
|
14
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoreInputComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CoreInputComponent, "core-input", never, { "type": { "alias": "type"; "required": false; }; "inputFormControl": { "alias": "inputFormControl"; "required": false; }; "disable": { "alias": "disable"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "onChange": "onChange"; }, never, never, false, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CoreInputComponent, "core-input", never, { "type": { "alias": "type"; "required": false; }; "canShowWordifyFa": { "alias": "canShowWordifyFa"; "required": false; }; "canSplitNumber": { "alias": "canSplitNumber"; "required": false; }; "canHighlightBackground": { "alias": "canHighlightBackground"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "inputFormControl": { "alias": "inputFormControl"; "required": false; }; "disable": { "alias": "disable"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "onChange": "onChange"; "onBlurEmit": "onBlurEmit"; }, never, never, false, never>;
|
|
16
25
|
}
|
|
17
26
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
|
-
import { MenuItem } from '
|
|
3
|
+
import { MenuItem } from '../../falconTypes';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CoreColumnSelectorComponent<T> {
|
|
6
6
|
private cdr;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { COLUMNS_TYPES } from 'projects/falcon-lib/src/utils/constants';
|
|
3
2
|
import { BehaviorSubject } from 'rxjs';
|
|
4
3
|
import { NgxIndexedDBService } from 'ngx-indexed-db';
|
|
4
|
+
import { COLUMNS_TYPES } from '../../../utils/constants';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CoreTableComponent {
|
|
7
7
|
private dbService;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { NiraSnackBarService } from 'nira-snack-bar';
|
|
3
|
-
import { COLUMNS_TYPES } from '
|
|
3
|
+
import { COLUMNS_TYPES } from '../../../utils/constants';
|
|
4
4
|
import { BehaviorSubject } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CoreTableCardManagerComponent {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { NiraSnackBarService } from 'nira-snack-bar';
|
|
3
|
-
import { COLUMNS_TYPES } from '
|
|
3
|
+
import { COLUMNS_TYPES } from '../../../utils/constants';
|
|
4
4
|
import { BehaviorSubject } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CoreTableColumnManagerComponent {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { COLUMNS_TYPES } from '
|
|
2
|
+
import { COLUMNS_TYPES } from '../../../utils/constants';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class CoreTableShamsiDateComponent {
|
|
5
5
|
data: any;
|
package/package.json
CHANGED
package/esm2022/utils/types.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9mYWxjb24tbGliL3NyYy91dGlscy90eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgVGhlbWVQYWxldHRlID0gJ3NxdWFyZScgfCAncm91bmQnO1xyXG5leHBvcnQgdHlwZSBDb2xvclN0YXRlID1cclxuICB8ICdkZWZhdWx0J1xyXG4gIHwgJ3ByaW1hcnknXHJcbiAgfCAnc3VjY2VzcydcclxuICB8ICd3YXJuaW5nJ1xyXG4gIHwgJ2Rhbmdlcic7XHJcblxyXG5leHBvcnQgdHlwZSBCdXR0b25UeXBlID0gJ2J1dHRvbic7XHJcblxyXG5leHBvcnQgdHlwZSBMYXlvdXRSYWRpb0J1dHRvbnMgPSAncm93JyB8ICdjb2x1bW4nO1xyXG5cclxuZXhwb3J0IHR5cGUgSW5wdXRUeXBlID0gJ251bWJlcicgfCAncGFzc3dvcmQnIHwgJ3RleHQnO1xyXG5cclxuZXhwb3J0IHR5cGUgTWVudUl0ZW08VD4gPSB7XHJcbiAgdGl0bGU6IFQ7XHJcbiAgdmFsdWU6IFQ7XHJcbn07XHJcblxyXG5leHBvcnQgdHlwZSBCdXR0b25TaXplID0gJ3NtYWxsJyB8ICdtZWRpdW0nO1xyXG4iXX0=
|
package/utils/types.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type ThemePalette = 'square' | 'round';
|
|
2
|
-
export type ColorState = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
3
|
-
export type ButtonType = 'button';
|
|
4
|
-
export type LayoutRadioButtons = 'row' | 'column';
|
|
5
|
-
export type InputType = 'number' | 'password' | 'text';
|
|
6
|
-
export type MenuItem<T> = {
|
|
7
|
-
title: T;
|
|
8
|
-
value: T;
|
|
9
|
-
};
|
|
10
|
-
export type ButtonSize = 'small' | 'medium';
|