nira-falcon 0.1.53 → 0.1.55

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.
@@ -4,6 +4,7 @@ type ColumnTypeText = {
4
4
  key: string;
5
5
  type: COLUMNS_TYPES.TEXT;
6
6
  label: string;
7
+ width?: number;
7
8
  copyToClipboard?: boolean;
8
9
  editable?: boolean;
9
10
  active?: boolean;
@@ -16,6 +17,7 @@ type ColumnTypeShamsiDate = {
16
17
  key: string;
17
18
  type: COLUMNS_TYPES.SHAMSI_DATE;
18
19
  label: string;
20
+ width?: number;
19
21
  copyToClipboard?: boolean;
20
22
  editable?: boolean;
21
23
  active?: boolean;
@@ -27,6 +29,7 @@ type ColumnTypeDate = {
27
29
  key: string;
28
30
  type: COLUMNS_TYPES.DATE;
29
31
  label: string;
32
+ width?: number;
30
33
  copyToClipboard?: boolean;
31
34
  editable?: boolean;
32
35
  active?: boolean;
@@ -38,6 +41,7 @@ type ColumnTypeSelector = {
38
41
  key: string;
39
42
  type: COLUMNS_TYPES.SELECTOR;
40
43
  label: string;
44
+ width?: number;
41
45
  active?: boolean;
42
46
  data: {
43
47
  key: string;
@@ -49,6 +53,7 @@ type ColumnTypeSelectorEditable = {
49
53
  key: string;
50
54
  type: COLUMNS_TYPES.SELECTOR;
51
55
  label: string;
56
+ width?: number;
52
57
  active?: boolean;
53
58
  data: {
54
59
  key: string;
@@ -62,6 +67,7 @@ type ColumnTypeStatus = {
62
67
  key: string;
63
68
  type: COLUMNS_TYPES.STATUS | COLUMNS_TYPES.STATUS_ACTIVE;
64
69
  label: string;
70
+ width?: number;
65
71
  active?: boolean;
66
72
  editable?: boolean;
67
73
  };
@@ -69,6 +75,7 @@ type ColumnTypeColor = {
69
75
  key: string;
70
76
  type: COLUMNS_TYPES.COLOR;
71
77
  label: string;
78
+ width?: number;
72
79
  active?: boolean;
73
80
  editable?: boolean;
74
81
  };
@@ -76,6 +83,7 @@ export type ColumnTypeAction = {
76
83
  key: string;
77
84
  type: COLUMNS_TYPES.ACTION;
78
85
  label: string;
86
+ width?: number;
79
87
  active?: boolean;
80
88
  title: string;
81
89
  };
@@ -84,6 +92,7 @@ export type ColumnTypeActionButtons = {
84
92
  type: COLUMNS_TYPES.ACTION_BUTTONS;
85
93
  label: string;
86
94
  active?: boolean;
95
+ width?: number;
87
96
  data: {
88
97
  key: string;
89
98
  title: string;
@@ -94,6 +103,7 @@ export type ColumnTypeNumber = {
94
103
  key: string;
95
104
  type: COLUMNS_TYPES.NUMBER;
96
105
  label: string;
106
+ width?: number;
97
107
  copyToClipboard?: boolean;
98
108
  editable?: boolean;
99
109
  active?: boolean;
@@ -115,6 +125,7 @@ export type ColumnTypePelak = {
115
125
  key: string;
116
126
  type: COLUMNS_TYPES.PELAK;
117
127
  label: string;
128
+ width?: number;
118
129
  active?: boolean;
119
130
  };
120
131
  export type ColumnTypeDetailViewerForReport = {
@@ -122,6 +133,7 @@ export type ColumnTypeDetailViewerForReport = {
122
133
  type: COLUMNS_TYPES.NUMBER;
123
134
  label: string;
124
135
  active?: boolean;
136
+ width?: number;
125
137
  data?: {
126
138
  detailViewers: string[];
127
139
  keyType: string;
@@ -133,6 +145,7 @@ export type ColumnTypeRowSelector = {
133
145
  type: COLUMNS_TYPES.ROW_SELECTOR;
134
146
  label: string;
135
147
  active?: boolean;
148
+ width?: number;
136
149
  data: {
137
150
  key: string;
138
151
  };
@@ -141,6 +154,7 @@ export type ColumnTypeMultiColumn = {
141
154
  key: string;
142
155
  type: COLUMNS_TYPES.MULTI_COLUMN;
143
156
  label: string;
157
+ width?: number;
144
158
  active?: boolean;
145
159
  columns: {
146
160
  key: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nira-falcon",
3
- "version": "0.1.53",
3
+ "version": "0.1.55",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",
@@ -23,4 +23,4 @@
23
23
  "default": "./fesm2022/nira-falcon.mjs"
24
24
  }
25
25
  }
26
- }
26
+ }