orak-util-ts 0.0.12 → 0.0.14
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/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +16 -1
- package/dist/index.mjs +16 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -88,11 +88,14 @@ declare class FiCol {
|
|
|
88
88
|
lnCode?: number;
|
|
89
89
|
boEditorOnlyNumber?: boolean;
|
|
90
90
|
boWhereField?: boolean;
|
|
91
|
+
static bui(txFieldName: string, txHeader: string): FiCol;
|
|
91
92
|
}
|
|
92
93
|
|
|
93
94
|
declare class FiKeybean {
|
|
94
95
|
mapData: Map<string, any>;
|
|
95
96
|
fiPut(txKey: string, value: any): FiKeybean;
|
|
97
|
+
fiGetAsStringNtn(txKey: string | undefined): string;
|
|
98
|
+
fiGet(txKey: string | undefined): any;
|
|
96
99
|
constructor();
|
|
97
100
|
}
|
|
98
101
|
|
package/dist/index.d.ts
CHANGED
|
@@ -88,11 +88,14 @@ declare class FiCol {
|
|
|
88
88
|
lnCode?: number;
|
|
89
89
|
boEditorOnlyNumber?: boolean;
|
|
90
90
|
boWhereField?: boolean;
|
|
91
|
+
static bui(txFieldName: string, txHeader: string): FiCol;
|
|
91
92
|
}
|
|
92
93
|
|
|
93
94
|
declare class FiKeybean {
|
|
94
95
|
mapData: Map<string, any>;
|
|
95
96
|
fiPut(txKey: string, value: any): FiKeybean;
|
|
97
|
+
fiGetAsStringNtn(txKey: string | undefined): string;
|
|
98
|
+
fiGet(txKey: string | undefined): any;
|
|
96
99
|
constructor();
|
|
97
100
|
}
|
|
98
101
|
|
package/dist/index.js
CHANGED
|
@@ -110,7 +110,7 @@ var OreLog = class {
|
|
|
110
110
|
};
|
|
111
111
|
|
|
112
112
|
// src/FiCol.ts
|
|
113
|
-
var FiCol = class {
|
|
113
|
+
var FiCol = class _FiCol {
|
|
114
114
|
ofcTxFieldName;
|
|
115
115
|
ofcTxHeader;
|
|
116
116
|
txLabel;
|
|
@@ -205,6 +205,12 @@ var FiCol = class {
|
|
|
205
205
|
// fnValidate?:Function;
|
|
206
206
|
boEditorOnlyNumber;
|
|
207
207
|
boWhereField;
|
|
208
|
+
static bui(txFieldName, txHeader) {
|
|
209
|
+
let fiCol = new _FiCol();
|
|
210
|
+
fiCol.ofcTxFieldName = txFieldName;
|
|
211
|
+
fiCol.ofcTxHeader = txHeader;
|
|
212
|
+
return fiCol;
|
|
213
|
+
}
|
|
208
214
|
};
|
|
209
215
|
|
|
210
216
|
// src/FiKeybean.ts
|
|
@@ -214,6 +220,15 @@ var FiKeybean = class {
|
|
|
214
220
|
this.mapData.set(txKey, value);
|
|
215
221
|
return this;
|
|
216
222
|
}
|
|
223
|
+
fiGetAsStringNtn(txKey) {
|
|
224
|
+
if (txKey == void 0) return "";
|
|
225
|
+
if (this.mapData.has(txKey)) return this.mapData.get(txKey).toString();
|
|
226
|
+
return "";
|
|
227
|
+
}
|
|
228
|
+
fiGet(txKey) {
|
|
229
|
+
if (txKey == void 0) return void 0;
|
|
230
|
+
return this.mapData.get(txKey);
|
|
231
|
+
}
|
|
217
232
|
constructor() {
|
|
218
233
|
}
|
|
219
234
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -77,7 +77,7 @@ var OreLog = class {
|
|
|
77
77
|
};
|
|
78
78
|
|
|
79
79
|
// src/FiCol.ts
|
|
80
|
-
var FiCol = class {
|
|
80
|
+
var FiCol = class _FiCol {
|
|
81
81
|
ofcTxFieldName;
|
|
82
82
|
ofcTxHeader;
|
|
83
83
|
txLabel;
|
|
@@ -172,6 +172,12 @@ var FiCol = class {
|
|
|
172
172
|
// fnValidate?:Function;
|
|
173
173
|
boEditorOnlyNumber;
|
|
174
174
|
boWhereField;
|
|
175
|
+
static bui(txFieldName, txHeader) {
|
|
176
|
+
let fiCol = new _FiCol();
|
|
177
|
+
fiCol.ofcTxFieldName = txFieldName;
|
|
178
|
+
fiCol.ofcTxHeader = txHeader;
|
|
179
|
+
return fiCol;
|
|
180
|
+
}
|
|
175
181
|
};
|
|
176
182
|
|
|
177
183
|
// src/FiKeybean.ts
|
|
@@ -181,6 +187,15 @@ var FiKeybean = class {
|
|
|
181
187
|
this.mapData.set(txKey, value);
|
|
182
188
|
return this;
|
|
183
189
|
}
|
|
190
|
+
fiGetAsStringNtn(txKey) {
|
|
191
|
+
if (txKey == void 0) return "";
|
|
192
|
+
if (this.mapData.has(txKey)) return this.mapData.get(txKey).toString();
|
|
193
|
+
return "";
|
|
194
|
+
}
|
|
195
|
+
fiGet(txKey) {
|
|
196
|
+
if (txKey == void 0) return void 0;
|
|
197
|
+
return this.mapData.get(txKey);
|
|
198
|
+
}
|
|
184
199
|
constructor() {
|
|
185
200
|
}
|
|
186
201
|
};
|