mdt-client 1.0.25 → 1.0.26
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/tsconfig.tsbuildinfo +87 -35
- package/package.json +1 -1
- package/types/components/dropdown/menu/item/dropdownItemWrapOptions.d.ts +15 -0
- package/types/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +27 -0
- package/types/components/icon/iconOptions.d.ts +1 -0
- package/types/components/processPrincipalsList/ProcessPrincipalsListItem.d.ts +5 -0
- package/types/helpers/types.d.ts +13 -0
- package/types/helpers/zone/IZone.d.ts +8 -0
- package/types/services/customModules/facades/Form/IFormControlFacade.d.ts +11 -1
- package/types/services/customModules/facades/IAuthFacade.d.ts +2 -1
- package/types/services/customModules/facades/utils/IUiComponentsFacade.d.ts +20 -1
- package/types/services/customModules/facades/utils/IUiFacade.d.ts +1 -9
- package/types/views/form/formTypes.d.ts +4 -0
|
@@ -171,6 +171,11 @@
|
|
|
171
171
|
"signature": "f8aff2bf967a91877f7566e97616985fd07302810651344ab1ef6fa0b2b6c5e8",
|
|
172
172
|
"affectsGlobalScope": false
|
|
173
173
|
},
|
|
174
|
+
"../types/common/record.d.ts": {
|
|
175
|
+
"version": "8a1fc6dd5220efc1691e8a13990de9a8eba658931648db0feb4c29ab4724d6ba",
|
|
176
|
+
"signature": "8a1fc6dd5220efc1691e8a13990de9a8eba658931648db0feb4c29ab4724d6ba",
|
|
177
|
+
"affectsGlobalScope": false
|
|
178
|
+
},
|
|
174
179
|
"../types/common/mdtobject.d.ts": {
|
|
175
180
|
"version": "0c9c6bdf802480aa0e0c4d0153a1c9990fe8e214ddb4045f09f132901549fc11",
|
|
176
181
|
"signature": "0c9c6bdf802480aa0e0c4d0153a1c9990fe8e214ddb4045f09f132901549fc11",
|
|
@@ -186,16 +191,6 @@
|
|
|
186
191
|
"signature": "574f34c9276469e9e5fcf68db96579d237d9d4c3bd5d7331fb252f9db6c4c611",
|
|
187
192
|
"affectsGlobalScope": false
|
|
188
193
|
},
|
|
189
|
-
"../types/services/api/basequery.d.ts": {
|
|
190
|
-
"version": "1e68667ac31cf80dd7ace942b2ec5a9fe26188381260343e76e8f3325e4e6c69",
|
|
191
|
-
"signature": "1e68667ac31cf80dd7ace942b2ec5a9fe26188381260343e76e8f3325e4e6c69",
|
|
192
|
-
"affectsGlobalScope": false
|
|
193
|
-
},
|
|
194
|
-
"../types/services/api/query.d.ts": {
|
|
195
|
-
"version": "3b9b60123628da7037fa0b05606b8a15b0b2960675669e60b0c567ace3e720d8",
|
|
196
|
-
"signature": "3b9b60123628da7037fa0b05606b8a15b0b2960675669e60b0c567ace3e720d8",
|
|
197
|
-
"affectsGlobalScope": false
|
|
198
|
-
},
|
|
199
194
|
"../types/services/api/apirequestoptions.d.ts": {
|
|
200
195
|
"version": "98cc0e3e39e9cc5426681b68a0c97f9148fdade6d241723681100068b9f2b838",
|
|
201
196
|
"signature": "98cc0e3e39e9cc5426681b68a0c97f9148fdade6d241723681100068b9f2b838",
|
|
@@ -206,24 +201,24 @@
|
|
|
206
201
|
"signature": "a821ade398b2bdbf39d856836a2ea74a0296d90530c790477d1c6d678f7c2829",
|
|
207
202
|
"affectsGlobalScope": false
|
|
208
203
|
},
|
|
204
|
+
"../types/common/field.d.ts": {
|
|
205
|
+
"version": "9449f0b251fa8ce6007b20d66caf1c764db1d35a2d5ced9dc5b226aef650533b",
|
|
206
|
+
"signature": "9449f0b251fa8ce6007b20d66caf1c764db1d35a2d5ced9dc5b226aef650533b",
|
|
207
|
+
"affectsGlobalScope": false
|
|
208
|
+
},
|
|
209
209
|
"../types/common/table.d.ts": {
|
|
210
210
|
"version": "1261e4273f25ed18348b5f07e98e432fcd4b92083b5c2ca2c5cd495a96917c81",
|
|
211
211
|
"signature": "1261e4273f25ed18348b5f07e98e432fcd4b92083b5c2ca2c5cd495a96917c81",
|
|
212
212
|
"affectsGlobalScope": false
|
|
213
213
|
},
|
|
214
|
-
"../types/
|
|
215
|
-
"version": "
|
|
216
|
-
"signature": "
|
|
217
|
-
"affectsGlobalScope": false
|
|
218
|
-
},
|
|
219
|
-
"../types/common/field.d.ts": {
|
|
220
|
-
"version": "9449f0b251fa8ce6007b20d66caf1c764db1d35a2d5ced9dc5b226aef650533b",
|
|
221
|
-
"signature": "9449f0b251fa8ce6007b20d66caf1c764db1d35a2d5ced9dc5b226aef650533b",
|
|
214
|
+
"../types/services/api/query.d.ts": {
|
|
215
|
+
"version": "3b9b60123628da7037fa0b05606b8a15b0b2960675669e60b0c567ace3e720d8",
|
|
216
|
+
"signature": "3b9b60123628da7037fa0b05606b8a15b0b2960675669e60b0c567ace3e720d8",
|
|
222
217
|
"affectsGlobalScope": false
|
|
223
218
|
},
|
|
224
|
-
"../types/
|
|
225
|
-
"version": "
|
|
226
|
-
"signature": "
|
|
219
|
+
"../types/services/api/basequery.d.ts": {
|
|
220
|
+
"version": "1e68667ac31cf80dd7ace942b2ec5a9fe26188381260343e76e8f3325e4e6c69",
|
|
221
|
+
"signature": "1e68667ac31cf80dd7ace942b2ec5a9fe26188381260343e76e8f3325e4e6c69",
|
|
227
222
|
"affectsGlobalScope": false
|
|
228
223
|
},
|
|
229
224
|
"../types/datasources/fetchresult.d.ts": {
|
|
@@ -236,24 +231,29 @@
|
|
|
236
231
|
"signature": "f566bc53a8e212b63c473ee564c2c40519a2e913564a82a15cf388fe80c55e07",
|
|
237
232
|
"affectsGlobalScope": false
|
|
238
233
|
},
|
|
234
|
+
"../types/views/form/controls/monacoeditor/jsonschemas/button.schema.d.ts": {
|
|
235
|
+
"version": "13b6abcb82e1318e50e35233276a5939ba076d7faaa5547b1957dd1282f09fe7",
|
|
236
|
+
"signature": "13b6abcb82e1318e50e35233276a5939ba076d7faaa5547b1957dd1282f09fe7",
|
|
237
|
+
"affectsGlobalScope": false
|
|
238
|
+
},
|
|
239
239
|
"../types/services/custommodules/facades/form/iformfacade.d.ts": {
|
|
240
240
|
"version": "d7fb6939e6e046dbbbcf81608f776a4c58fc1565d54ddc5d3c5bc9c34a438fb2",
|
|
241
241
|
"signature": "d7fb6939e6e046dbbbcf81608f776a4c58fc1565d54ddc5d3c5bc9c34a438fb2",
|
|
242
242
|
"affectsGlobalScope": false
|
|
243
243
|
},
|
|
244
244
|
"../types/services/custommodules/facades/utils/iuifacade.d.ts": {
|
|
245
|
-
"version": "
|
|
246
|
-
"signature": "
|
|
245
|
+
"version": "7eeb66eeb1dc327313887029d6adcc1a3f550606d04b8c15bfec5a03cca851dd",
|
|
246
|
+
"signature": "7eeb66eeb1dc327313887029d6adcc1a3f550606d04b8c15bfec5a03cca851dd",
|
|
247
247
|
"affectsGlobalScope": false
|
|
248
248
|
},
|
|
249
249
|
"../types/services/custommodules/facades/form/iformcontrolfacade.d.ts": {
|
|
250
|
-
"version": "
|
|
251
|
-
"signature": "
|
|
250
|
+
"version": "093ade625914c9bb88523f8ddee210e42910b93852cb6da03b763df68cd6ced1",
|
|
251
|
+
"signature": "093ade625914c9bb88523f8ddee210e42910b93852cb6da03b763df68cd6ced1",
|
|
252
252
|
"affectsGlobalScope": false
|
|
253
253
|
},
|
|
254
254
|
"../types/services/custommodules/facades/iauthfacade.d.ts": {
|
|
255
|
-
"version": "
|
|
256
|
-
"signature": "
|
|
255
|
+
"version": "3ec11027a8264420bbb144d4c6f87733cd54621495491fad5bd897d994695624",
|
|
256
|
+
"signature": "3ec11027a8264420bbb144d4c6f87733cd54621495491fad5bd897d994695624",
|
|
257
257
|
"affectsGlobalScope": false
|
|
258
258
|
},
|
|
259
259
|
"../types/services/moduledata.d.ts": {
|
|
@@ -282,8 +282,8 @@
|
|
|
282
282
|
"affectsGlobalScope": false
|
|
283
283
|
},
|
|
284
284
|
"../types/helpers/types.d.ts": {
|
|
285
|
-
"version": "
|
|
286
|
-
"signature": "
|
|
285
|
+
"version": "246747379d7349ac0ed8155861d6a41d51dd1c383b509cd24cc32f1e09fcb235",
|
|
286
|
+
"signature": "246747379d7349ac0ed8155861d6a41d51dd1c383b509cd24cc32f1e09fcb235",
|
|
287
287
|
"affectsGlobalScope": false
|
|
288
288
|
},
|
|
289
289
|
"../types/views/list/ilistview.d.ts": {
|
|
@@ -326,14 +326,29 @@
|
|
|
326
326
|
"signature": "7068fd0ef33e49ad8a2a5ae994eda56115ac37e0accc57337ef14b53ea6e6acd",
|
|
327
327
|
"affectsGlobalScope": false
|
|
328
328
|
},
|
|
329
|
+
"../types/components/dropdown/menuactionitem/dropdownmenuitemoptions.d.ts": {
|
|
330
|
+
"version": "9c05665a3705a580617c8c27f813ac1e021e79300a0561b7dc2457c586e7cb57",
|
|
331
|
+
"signature": "9c05665a3705a580617c8c27f813ac1e021e79300a0561b7dc2457c586e7cb57",
|
|
332
|
+
"affectsGlobalScope": false
|
|
333
|
+
},
|
|
334
|
+
"../types/components/dropdown/menu/item/dropdownitemwrapoptions.d.ts": {
|
|
335
|
+
"version": "1c45a4a69fa79d15f0ef5dcd185a71fb3b2ed14ef34117dd97919f7c895ea16f",
|
|
336
|
+
"signature": "1c45a4a69fa79d15f0ef5dcd185a71fb3b2ed14ef34117dd97919f7c895ea16f",
|
|
337
|
+
"affectsGlobalScope": false
|
|
338
|
+
},
|
|
339
|
+
"../types/components/processprincipalslist/processprincipalslistitem.d.ts": {
|
|
340
|
+
"version": "b3cc0c5d32a5a00b7288f31b6c23e629be4bea459f43af9608d93728c759899c",
|
|
341
|
+
"signature": "b3cc0c5d32a5a00b7288f31b6c23e629be4bea459f43af9608d93728c759899c",
|
|
342
|
+
"affectsGlobalScope": false
|
|
343
|
+
},
|
|
329
344
|
"../types/helpers/formattedtext.d.ts": {
|
|
330
345
|
"version": "3d1dbde8821d5f021175e34686d51201f71b6caa14f592e6971ca33a49cf2b0b",
|
|
331
346
|
"signature": "3d1dbde8821d5f021175e34686d51201f71b6caa14f592e6971ca33a49cf2b0b",
|
|
332
347
|
"affectsGlobalScope": false
|
|
333
348
|
},
|
|
334
349
|
"../types/components/icon/iconoptions.d.ts": {
|
|
335
|
-
"version": "
|
|
336
|
-
"signature": "
|
|
350
|
+
"version": "204c03a88f15e8846a52f956a678a01e154de4da60d7a5069b97442a15365726",
|
|
351
|
+
"signature": "204c03a88f15e8846a52f956a678a01e154de4da60d7a5069b97442a15365726",
|
|
337
352
|
"affectsGlobalScope": false
|
|
338
353
|
},
|
|
339
354
|
"../../node_modules/@floating-ui/core/src/computeposition.d.ts": {
|
|
@@ -412,8 +427,8 @@
|
|
|
412
427
|
"affectsGlobalScope": false
|
|
413
428
|
},
|
|
414
429
|
"../types/services/custommodules/facades/utils/iuicomponentsfacade.d.ts": {
|
|
415
|
-
"version": "
|
|
416
|
-
"signature": "
|
|
430
|
+
"version": "acad0614b1b2b4f342f61cdfb1a8df39c96fa42138817a29b6caf2d9059e7915",
|
|
431
|
+
"signature": "acad0614b1b2b4f342f61cdfb1a8df39c96fa42138817a29b6caf2d9059e7915",
|
|
417
432
|
"affectsGlobalScope": false
|
|
418
433
|
},
|
|
419
434
|
"../types/helpers/formatoptions.d.ts": {
|
|
@@ -441,11 +456,21 @@
|
|
|
441
456
|
"signature": "8c9a20d8916d939f8629c33f2c74814b2b1f1ff03f658cf682caad3907ff4520",
|
|
442
457
|
"affectsGlobalScope": false
|
|
443
458
|
},
|
|
459
|
+
"../types/helpers/zone/izone.d.ts": {
|
|
460
|
+
"version": "30733681d6b76beb20ca91f71152941df3dcb896fcd2635459fded595650b660",
|
|
461
|
+
"signature": "30733681d6b76beb20ca91f71152941df3dcb896fcd2635459fded595650b660",
|
|
462
|
+
"affectsGlobalScope": false
|
|
463
|
+
},
|
|
444
464
|
"../types/views/controls/control.d.ts": {
|
|
445
465
|
"version": "8e8bfcd0db961c91287c20d15060c8ad4206e27e7aa9dfe3a4de855d0b5e8e46",
|
|
446
466
|
"signature": "8e8bfcd0db961c91287c20d15060c8ad4206e27e7aa9dfe3a4de855d0b5e8e46",
|
|
447
467
|
"affectsGlobalScope": false
|
|
448
468
|
},
|
|
469
|
+
"../types/views/form/formtypes.d.ts": {
|
|
470
|
+
"version": "90ad81d8b456bccfff8a4d4d2a440d76d6c035f7a1cbd7b1da96dadd275e01aa",
|
|
471
|
+
"signature": "90ad81d8b456bccfff8a4d4d2a440d76d6c035f7a1cbd7b1da96dadd275e01aa",
|
|
472
|
+
"affectsGlobalScope": false
|
|
473
|
+
},
|
|
449
474
|
"../../node_modules/@babel/types/lib/index.d.ts": {
|
|
450
475
|
"version": "272c2dac4baaf7fdd2d7efeef0fa2547af54cc21883c5e138b8c4d1661697a54",
|
|
451
476
|
"signature": "272c2dac4baaf7fdd2d7efeef0fa2547af54cc21883c5e138b8c4d1661697a54",
|
|
@@ -1214,6 +1239,10 @@
|
|
|
1214
1239
|
"../types/common/record.d.ts",
|
|
1215
1240
|
"../types/security/permissionlevel.d.ts"
|
|
1216
1241
|
],
|
|
1242
|
+
"../types/components/dropdown/menu/item/dropdownitemwrapoptions.d.ts": [
|
|
1243
|
+
"../types/components/dropdown/menuactionitem/dropdownmenuitemoptions.d.ts",
|
|
1244
|
+
"../types/helpers/types.d.ts"
|
|
1245
|
+
],
|
|
1217
1246
|
"../types/components/icon/iconoptions.d.ts": [
|
|
1218
1247
|
"../node_modules/@types/mithril/index.d.ts",
|
|
1219
1248
|
"../types/helpers/formattedtext.d.ts"
|
|
@@ -1225,6 +1254,10 @@
|
|
|
1225
1254
|
"../types/helpers/types.d.ts": [
|
|
1226
1255
|
"../node_modules/@types/mithril/index.d.ts"
|
|
1227
1256
|
],
|
|
1257
|
+
"../types/helpers/zone/izone.d.ts": [
|
|
1258
|
+
"../node_modules/@types/mithril/index.d.ts",
|
|
1259
|
+
"../types/helpers/types.d.ts"
|
|
1260
|
+
],
|
|
1228
1261
|
"../types/security/permissionlevel.d.ts": [
|
|
1229
1262
|
"../types/common/mdtfield.d.ts",
|
|
1230
1263
|
"../types/common/mdtobject.d.ts",
|
|
@@ -1244,6 +1277,7 @@
|
|
|
1244
1277
|
"../types/services/custommodules/facades/form/iformcontrolfacade.d.ts": [
|
|
1245
1278
|
"../types/services/custommodules/facades/form/iformfacade.d.ts",
|
|
1246
1279
|
"../types/services/custommodules/facades/schema/iobjectfacade.d.ts",
|
|
1280
|
+
"../types/services/custommodules/facades/utils/iapifacade.d.ts",
|
|
1247
1281
|
"../types/services/custommodules/facades/utils/iuifacade.d.ts"
|
|
1248
1282
|
],
|
|
1249
1283
|
"../types/services/custommodules/facades/form/iformfacade.d.ts": [
|
|
@@ -1318,12 +1352,14 @@
|
|
|
1318
1352
|
],
|
|
1319
1353
|
"../types/services/custommodules/facades/utils/iuicomponentsfacade.d.ts": [
|
|
1320
1354
|
"../node_modules/@types/mithril/index.d.ts",
|
|
1355
|
+
"../types/components/dropdown/menu/item/dropdownitemwrapoptions.d.ts",
|
|
1321
1356
|
"../types/components/icon/iconoptions.d.ts",
|
|
1357
|
+
"../types/components/processprincipalslist/processprincipalslistitem.d.ts",
|
|
1358
|
+
"../types/helpers/types.d.ts",
|
|
1322
1359
|
"../types/services/custommodules/facades/form/iformfacade.d.ts",
|
|
1323
1360
|
"../types/services/dropdown/idropdownmanager.d.ts"
|
|
1324
1361
|
],
|
|
1325
1362
|
"../types/services/custommodules/facades/utils/iuifacade.d.ts": [
|
|
1326
|
-
"../node_modules/@types/mithril/index.d.ts",
|
|
1327
1363
|
"../types/services/custommodules/facades/form/iformfacade.d.ts"
|
|
1328
1364
|
],
|
|
1329
1365
|
"../types/services/custommodules/facades/utils/iutilsfacade.d.ts": [
|
|
@@ -1836,6 +1872,10 @@
|
|
|
1836
1872
|
"../types/common/record.d.ts",
|
|
1837
1873
|
"../types/security/permissionlevel.d.ts"
|
|
1838
1874
|
],
|
|
1875
|
+
"../types/components/dropdown/menu/item/dropdownitemwrapoptions.d.ts": [
|
|
1876
|
+
"../types/components/dropdown/menuactionitem/dropdownmenuitemoptions.d.ts",
|
|
1877
|
+
"../types/helpers/types.d.ts"
|
|
1878
|
+
],
|
|
1839
1879
|
"../types/components/icon/iconoptions.d.ts": [
|
|
1840
1880
|
"../node_modules/@types/mithril/index.d.ts",
|
|
1841
1881
|
"../types/helpers/formattedtext.d.ts"
|
|
@@ -1847,6 +1887,10 @@
|
|
|
1847
1887
|
"../types/helpers/types.d.ts": [
|
|
1848
1888
|
"../node_modules/@types/mithril/index.d.ts"
|
|
1849
1889
|
],
|
|
1890
|
+
"../types/helpers/zone/izone.d.ts": [
|
|
1891
|
+
"../node_modules/@types/mithril/index.d.ts",
|
|
1892
|
+
"../types/helpers/types.d.ts"
|
|
1893
|
+
],
|
|
1850
1894
|
"../types/security/permissionlevel.d.ts": [
|
|
1851
1895
|
"../types/common/mdtfield.d.ts",
|
|
1852
1896
|
"../types/common/mdtobject.d.ts",
|
|
@@ -1866,6 +1910,7 @@
|
|
|
1866
1910
|
"../types/services/custommodules/facades/form/iformcontrolfacade.d.ts": [
|
|
1867
1911
|
"../types/services/custommodules/facades/form/iformfacade.d.ts",
|
|
1868
1912
|
"../types/services/custommodules/facades/schema/iobjectfacade.d.ts",
|
|
1913
|
+
"../types/services/custommodules/facades/utils/iapifacade.d.ts",
|
|
1869
1914
|
"../types/services/custommodules/facades/utils/iuifacade.d.ts"
|
|
1870
1915
|
],
|
|
1871
1916
|
"../types/services/custommodules/facades/form/iformfacade.d.ts": [
|
|
@@ -1940,12 +1985,14 @@
|
|
|
1940
1985
|
],
|
|
1941
1986
|
"../types/services/custommodules/facades/utils/iuicomponentsfacade.d.ts": [
|
|
1942
1987
|
"../node_modules/@types/mithril/index.d.ts",
|
|
1988
|
+
"../types/components/dropdown/menu/item/dropdownitemwrapoptions.d.ts",
|
|
1943
1989
|
"../types/components/icon/iconoptions.d.ts",
|
|
1990
|
+
"../types/components/processprincipalslist/processprincipalslistitem.d.ts",
|
|
1991
|
+
"../types/helpers/types.d.ts",
|
|
1944
1992
|
"../types/services/custommodules/facades/form/iformfacade.d.ts",
|
|
1945
1993
|
"../types/services/dropdown/idropdownmanager.d.ts"
|
|
1946
1994
|
],
|
|
1947
1995
|
"../types/services/custommodules/facades/utils/iuifacade.d.ts": [
|
|
1948
|
-
"../node_modules/@types/mithril/index.d.ts",
|
|
1949
1996
|
"../types/services/custommodules/facades/form/iformfacade.d.ts"
|
|
1950
1997
|
],
|
|
1951
1998
|
"../types/services/custommodules/facades/utils/iutilsfacade.d.ts": [
|
|
@@ -2449,13 +2496,17 @@
|
|
|
2449
2496
|
"../types/common/mdtobject.d.ts",
|
|
2450
2497
|
"../types/common/record.d.ts",
|
|
2451
2498
|
"../types/common/table.d.ts",
|
|
2499
|
+
"../types/components/dropdown/menu/item/dropdownitemwrapoptions.d.ts",
|
|
2500
|
+
"../types/components/dropdown/menuactionitem/dropdownmenuitemoptions.d.ts",
|
|
2452
2501
|
"../types/components/icon/iconoptions.d.ts",
|
|
2453
2502
|
"../types/components/popover/ipopoverbase.d.ts",
|
|
2503
|
+
"../types/components/processprincipalslist/processprincipalslistitem.d.ts",
|
|
2454
2504
|
"../types/components/tooltip/controllers/tooltipattributes.d.ts",
|
|
2455
2505
|
"../types/datasources/fetchresult.d.ts",
|
|
2456
2506
|
"../types/helpers/formatoptions.d.ts",
|
|
2457
2507
|
"../types/helpers/formattedtext.d.ts",
|
|
2458
2508
|
"../types/helpers/types.d.ts",
|
|
2509
|
+
"../types/helpers/zone/izone.d.ts",
|
|
2459
2510
|
"../types/security/permissionlevel.d.ts",
|
|
2460
2511
|
"../types/services/api/apirequestoptions.d.ts",
|
|
2461
2512
|
"../types/services/api/basequery.d.ts",
|
|
@@ -2488,6 +2539,7 @@
|
|
|
2488
2539
|
"../types/services/moduledata.d.ts",
|
|
2489
2540
|
"../types/views/controls/control.d.ts",
|
|
2490
2541
|
"../types/views/form/controls/monacoeditor/jsonschemas/button.schema.d.ts",
|
|
2542
|
+
"../types/views/form/formtypes.d.ts",
|
|
2491
2543
|
"../types/views/list/ilistview.d.ts",
|
|
2492
2544
|
"../types/views/list/schema/listpageoptions.schema.d.ts",
|
|
2493
2545
|
"../../node_modules/@babel/parser/typings/babel-parser.d.ts",
|
package/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ViewElement } from "../../../../helpers/types";
|
|
2
|
+
import { DropdownMenuItemBaseOptions, DropdownMenuItemOptions, DropdownMenuItemWithChildrenOptions } from "../../menuActionItem/dropdownMenuItemOptions";
|
|
3
|
+
export interface DropdownItemBaseOptions {
|
|
4
|
+
className?: string;
|
|
5
|
+
idx?: number;
|
|
6
|
+
}
|
|
7
|
+
export interface DropdownItemOptions<T extends DropdownMenuItemBaseOptions = DropdownMenuItemBaseOptions> extends DropdownItemBaseOptions {
|
|
8
|
+
focused?: boolean;
|
|
9
|
+
actionItemOptions: T;
|
|
10
|
+
}
|
|
11
|
+
export declare type DropdownBaseItemOptions = DropdownItemOptions<DropdownMenuItemOptions>;
|
|
12
|
+
export declare type DropdownItemWithMoreOptions = DropdownItemOptions<DropdownMenuItemWithChildrenOptions>;
|
|
13
|
+
export interface DropdownItemWithCustomContentOptions extends DropdownItemBaseOptions {
|
|
14
|
+
content: ViewElement;
|
|
15
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FormattedText } from "mdtScripts/helpers/formattedText";
|
|
2
|
+
import { CSSClassName, ViewElement, Valued } from "mdtScripts/helpers/types";
|
|
3
|
+
export interface DropdownMenuItemBaseOptions {
|
|
4
|
+
icon?: Valued<string>;
|
|
5
|
+
title: Valued<string>;
|
|
6
|
+
additionalTitle?: string;
|
|
7
|
+
tooltip?: Valued<FormattedText>;
|
|
8
|
+
execute?: (e?: Event) => void;
|
|
9
|
+
visible?: () => boolean;
|
|
10
|
+
enabled?: () => boolean;
|
|
11
|
+
selected?: Valued<boolean>;
|
|
12
|
+
className?: CSSClassName;
|
|
13
|
+
zone?: DropdownMenuItemZones;
|
|
14
|
+
}
|
|
15
|
+
interface DropdownMenuItemZones {
|
|
16
|
+
right: () => ViewElement;
|
|
17
|
+
}
|
|
18
|
+
export interface DropdownMenuItemOptions extends DropdownMenuItemBaseOptions {
|
|
19
|
+
rightCaret?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface DropdownMenuItemWithChildrenOptions extends DropdownMenuItemBaseOptions {
|
|
22
|
+
moreBtn?: MoreButton;
|
|
23
|
+
}
|
|
24
|
+
interface MoreButton {
|
|
25
|
+
execute: (e?: Event) => void;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="mithril" />
|
|
2
2
|
import { FormattedText } from "../../helpers/formattedText";
|
|
3
|
+
export declare type Icon = string;
|
|
3
4
|
export interface IconOptions {
|
|
4
5
|
size?: "2xs" | "xs" | "sm" | "lg" | "xl" | "2xl" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "7x" | "8x" | "9x" | "10x";
|
|
5
6
|
fixedWidth?: boolean;
|
package/types/helpers/types.d.ts
CHANGED
|
@@ -17,4 +17,17 @@ export interface Notifier {
|
|
|
17
17
|
}
|
|
18
18
|
export declare type ViewElement = _mithril.MithrilVirtualElement | _mithril.MithrilVirtualElement[] | string;
|
|
19
19
|
export declare type CommandEvent = Event | _mithril.MithrilEvent;
|
|
20
|
+
export declare type CSSClassName = string;
|
|
21
|
+
export declare type MithrilControl = ViewControl | ContentControl;
|
|
22
|
+
interface ViewControl {
|
|
23
|
+
$view(): _mithril.MithrilVirtualElement | string;
|
|
24
|
+
}
|
|
25
|
+
interface ContentControl {
|
|
26
|
+
content: any;
|
|
27
|
+
}
|
|
28
|
+
export declare type Markdown = string;
|
|
29
|
+
export declare type ColorStyle = "default" | "primary" | "success" | "info" | "warning" | "danger" | "fatal";
|
|
30
|
+
export declare type ButtonStyle = ColorStyle;
|
|
31
|
+
export declare type ObjectCode = string;
|
|
32
|
+
export declare type Valued<T> = T | (() => T);
|
|
20
33
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="mithril" />
|
|
2
|
+
import { MithrilControl } from "../types";
|
|
3
|
+
export interface IZone {
|
|
4
|
+
getZone(): MithrilControl[];
|
|
5
|
+
remove(content: MithrilControl): void;
|
|
6
|
+
push(content: MithrilControl): void;
|
|
7
|
+
render(): _mithril.MithrilVirtualElement[];
|
|
8
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { FormZones } from "mdtScripts/views/form/formTypes";
|
|
1
2
|
import { IObjectFacade } from "../schema/IObjectFacade";
|
|
3
|
+
import { RecordId } from "../utils/IApiFacade";
|
|
2
4
|
import { ParentCtrl } from "../utils/IUiFacade";
|
|
3
5
|
import { ButtonFacade } from "./IFormFacade";
|
|
4
6
|
export declare type IFormFieldOptionsConfig = {
|
|
@@ -18,6 +20,8 @@ export interface IFormControlFacade extends ParentCtrl {
|
|
|
18
20
|
getContext(key: string): any;
|
|
19
21
|
/** Установить контекстный параметр формы */
|
|
20
22
|
setContext(key: string, value: any): void;
|
|
23
|
+
/** Получить ID записи */
|
|
24
|
+
getRecordId(): RecordId;
|
|
21
25
|
/** Проверка, что запись в форме новая */
|
|
22
26
|
isNewRecord(): boolean;
|
|
23
27
|
/** Получить или установить значение для поля формы */
|
|
@@ -30,18 +34,24 @@ export interface IFormControlFacade extends ParentCtrl {
|
|
|
30
34
|
onSave<T = {
|
|
31
35
|
[field: string]: any;
|
|
32
36
|
}>(callback: (record: T) => void): void;
|
|
37
|
+
/** Подписаться на событие закрытия формы */
|
|
38
|
+
onClose(callback: () => void): void;
|
|
33
39
|
/** Подписаться на событие создания макета формы */
|
|
34
40
|
onLayoutCreated(callback: () => void): void;
|
|
35
41
|
/** Установить команду на форму */
|
|
36
|
-
addCommand(command: ButtonFacade): void;
|
|
42
|
+
addCommand(command: ButtonFacade, isExtended?: boolean): void;
|
|
37
43
|
/** Установить настройки для полей формы */
|
|
38
44
|
setFieldOptions(options: IFormFieldOptionsConfig): void;
|
|
39
45
|
/** Установить настройки для компонента формы */
|
|
40
46
|
setControlOptions(findControl: (col: any) => boolean, controlOptions: any): any;
|
|
41
47
|
/** Изменить свойства существующей кнопки */
|
|
42
48
|
updateCommand(findCondition: () => boolean, command: Partial<ButtonFacade>): void;
|
|
49
|
+
/** Повторно инициализировать форму */
|
|
50
|
+
reinit(): void;
|
|
43
51
|
/** Сохранить форму */
|
|
44
52
|
save(): void;
|
|
45
53
|
/** Открыть конструктор формы */
|
|
46
54
|
openDesigner(): void;
|
|
55
|
+
/** Получить зоны */
|
|
56
|
+
getZones(): FormZones;
|
|
47
57
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MithrilControl } from "mdtScripts/helpers/types";
|
|
2
|
+
import { IType } from "./utils/IUiFacade";
|
|
2
3
|
export interface IAuthFacade {
|
|
3
4
|
disableFormsProvider(): void;
|
|
4
5
|
disableProvider(control: IType<MithrilControl>): void;
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
/// <reference types="mithril" />
|
|
2
|
-
import {
|
|
2
|
+
import { DropdownBaseItemOptions } from "../../../../components/dropdown/menu/item/dropdownItemWrapOptions";
|
|
3
|
+
import { ProcessPrincipalsListItem } from "../../../../components/processPrincipalsList/ProcessPrincipalsListItem";
|
|
4
|
+
import { Markdown } from "../../../../helpers/types";
|
|
5
|
+
import { Icon, IconOptions } from "../../../../components/icon/iconOptions";
|
|
3
6
|
import { IDropdownManagerClass } from "../../../../services/dropdown/IDropDownManager";
|
|
4
7
|
import { ButtonFacade } from "../Form/IFormFacade";
|
|
5
8
|
export interface IUiComponentsFacade {
|
|
6
9
|
button(button: ButtonFacade, translate?: boolean): _mithril.MithrilVirtualElement;
|
|
7
10
|
icon(code: string, options?: IconOptions): _mithril.MithrilVirtualElement;
|
|
11
|
+
processFormBlock(options: IProcessFormBlockOptions): _mithril.MithrilVirtualElement;
|
|
8
12
|
DropdownManager: IDropdownManagerClass;
|
|
13
|
+
dropdownItem(options: DropdownBaseItemOptions): _mithril.MithrilVirtualElement;
|
|
14
|
+
}
|
|
15
|
+
export interface IProcessFormBlockOptions {
|
|
16
|
+
title: string;
|
|
17
|
+
subtitle: string;
|
|
18
|
+
titleTooltip: string;
|
|
19
|
+
subtitleTooltip: string;
|
|
20
|
+
icon?: Icon;
|
|
21
|
+
description?: Markdown;
|
|
22
|
+
principals?: ProcessPrincipalsListItem[];
|
|
23
|
+
principalsTooltip?: string;
|
|
24
|
+
principalsTextError?: string;
|
|
25
|
+
principalsOnclick?: (item: ProcessPrincipalsListItem) => void;
|
|
26
|
+
historyAction?: ButtonFacade;
|
|
27
|
+
actions?: ButtonFacade[];
|
|
9
28
|
}
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { MithrilControl } from "mdtScripts/helpers/types";
|
|
2
2
|
import { ButtonFacade } from "../Form/IFormFacade";
|
|
3
3
|
export declare type onModalResizeCallback = (data: IModalSizingState) => void;
|
|
4
|
-
export declare type MithrilControl = ViewControl | ContentControl;
|
|
5
4
|
export interface IType<T> {
|
|
6
5
|
new (...args: any[]): T;
|
|
7
6
|
}
|
|
8
|
-
interface ViewControl {
|
|
9
|
-
$view(): _mithril.MithrilVirtualElement | string;
|
|
10
|
-
}
|
|
11
|
-
interface ContentControl {
|
|
12
|
-
content: any;
|
|
13
|
-
}
|
|
14
7
|
export interface ParentCtrl {
|
|
15
8
|
getViewControl(): MithrilControl;
|
|
16
9
|
}
|
|
@@ -67,4 +60,3 @@ export interface IModalSizingState {
|
|
|
67
60
|
/** Высота */
|
|
68
61
|
height: number;
|
|
69
62
|
}
|
|
70
|
-
export {};
|