@genesislcap/expression-builder 14.278.3 → 14.280.0

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.
@@ -155,6 +155,255 @@
155
155
  }
156
156
  ]
157
157
  },
158
+ {
159
+ "kind": "javascript-module",
160
+ "path": "src/utils/data-model.ts",
161
+ "declarations": [
162
+ {
163
+ "kind": "function",
164
+ "name": "groupToModelGroup",
165
+ "return": {
166
+ "type": {
167
+ "text": "ModelGroup"
168
+ }
169
+ },
170
+ "parameters": [
171
+ {
172
+ "name": "group",
173
+ "type": {
174
+ "text": "Group"
175
+ }
176
+ },
177
+ {
178
+ "name": "provider",
179
+ "type": {
180
+ "text": "MetadataProvider"
181
+ }
182
+ }
183
+ ],
184
+ "description": "Converts a Group to a ModelGroup (adds required metadata)"
185
+ },
186
+ {
187
+ "kind": "function",
188
+ "name": "modelGroupToGroup",
189
+ "return": {
190
+ "type": {
191
+ "text": ""
192
+ }
193
+ },
194
+ "parameters": [
195
+ {
196
+ "name": "modelGroup",
197
+ "type": {
198
+ "text": "ModelGroup"
199
+ },
200
+ "description": "The internal ModelGroup to convert."
201
+ }
202
+ ],
203
+ "description": "Converts a ModelGroup (internal data structure) to a public Group structure.\nThis function recursively processes the rules within the group."
204
+ },
205
+ {
206
+ "kind": "function",
207
+ "name": "modelRuleToRule",
208
+ "return": {
209
+ "type": {
210
+ "text": ""
211
+ }
212
+ },
213
+ "parameters": [
214
+ {
215
+ "name": "modelRule",
216
+ "type": {
217
+ "text": "ModelRule"
218
+ },
219
+ "description": "The internal ModelRule to convert."
220
+ }
221
+ ],
222
+ "description": "Converts a ModelRule (internal data structure) to a public Rule structure."
223
+ }
224
+ ],
225
+ "exports": [
226
+ {
227
+ "kind": "js",
228
+ "name": "groupToModelGroup",
229
+ "declaration": {
230
+ "name": "groupToModelGroup",
231
+ "module": "src/utils/data-model.ts"
232
+ }
233
+ },
234
+ {
235
+ "kind": "js",
236
+ "name": "modelGroupToGroup",
237
+ "declaration": {
238
+ "name": "modelGroupToGroup",
239
+ "module": "src/utils/data-model.ts"
240
+ }
241
+ },
242
+ {
243
+ "kind": "js",
244
+ "name": "modelRuleToRule",
245
+ "declaration": {
246
+ "name": "modelRuleToRule",
247
+ "module": "src/utils/data-model.ts"
248
+ }
249
+ }
250
+ ]
251
+ },
252
+ {
253
+ "kind": "javascript-module",
254
+ "path": "src/utils/formatting.ts",
255
+ "declarations": [
256
+ {
257
+ "kind": "function",
258
+ "name": "formatDateString",
259
+ "parameters": [
260
+ {
261
+ "name": "date",
262
+ "type": {
263
+ "text": "Date"
264
+ }
265
+ }
266
+ ],
267
+ "description": "Gets the string representation from a `Date` which is the format a `date` input uses.\n`yyyy-mm-dd`.\nUses UTC methods to ensure consistent output regardless of timezone.\n\nUsed to convert a javascript date object into the required string format expected by the expression builder."
268
+ },
269
+ {
270
+ "kind": "function",
271
+ "name": "formatDateTimeString",
272
+ "parameters": [
273
+ {
274
+ "name": "date",
275
+ "type": {
276
+ "text": "Date"
277
+ }
278
+ }
279
+ ],
280
+ "description": "Gets the string representation from a `Date` which is the format a `datetime-local` input uses.\n`yyyy-mm-ddThh:mm:ss`.\nUses UTC methods to ensure consistent output regardless of timezone.\n\nUsed to convert a javascript date object into the required string format expected by the expression builder."
281
+ }
282
+ ],
283
+ "exports": [
284
+ {
285
+ "kind": "js",
286
+ "name": "formatDateString",
287
+ "declaration": {
288
+ "name": "formatDateString",
289
+ "module": "src/utils/formatting.ts"
290
+ }
291
+ },
292
+ {
293
+ "kind": "js",
294
+ "name": "formatDateTimeString",
295
+ "declaration": {
296
+ "name": "formatDateTimeString",
297
+ "module": "src/utils/formatting.ts"
298
+ }
299
+ }
300
+ ]
301
+ },
302
+ {
303
+ "kind": "javascript-module",
304
+ "path": "src/utils/index.ts",
305
+ "declarations": [],
306
+ "exports": [
307
+ {
308
+ "kind": "js",
309
+ "name": "*",
310
+ "declaration": {
311
+ "name": "*",
312
+ "package": "./data-model"
313
+ }
314
+ },
315
+ {
316
+ "kind": "js",
317
+ "name": "*",
318
+ "declaration": {
319
+ "name": "*",
320
+ "package": "./formatting"
321
+ }
322
+ },
323
+ {
324
+ "kind": "js",
325
+ "name": "*",
326
+ "declaration": {
327
+ "name": "*",
328
+ "package": "./misc"
329
+ }
330
+ }
331
+ ]
332
+ },
333
+ {
334
+ "kind": "javascript-module",
335
+ "path": "src/utils/misc.ts",
336
+ "declarations": [
337
+ {
338
+ "kind": "function",
339
+ "name": "processOptGroups",
340
+ "return": {
341
+ "type": {
342
+ "text": "(T | { optgroup: string | null; xs: T[] })[]"
343
+ }
344
+ },
345
+ "parameters": [
346
+ {
347
+ "name": "xs",
348
+ "type": {
349
+ "text": "T[]"
350
+ }
351
+ }
352
+ ]
353
+ },
354
+ {
355
+ "kind": "function",
356
+ "name": "applyCustomStyles",
357
+ "return": {
358
+ "type": {
359
+ "text": "void"
360
+ }
361
+ },
362
+ "parameters": [
363
+ {
364
+ "name": "component",
365
+ "type": {
366
+ "text": "HTMLElement"
367
+ },
368
+ "description": "The web component instance"
369
+ },
370
+ {
371
+ "name": "styles",
372
+ "type": {
373
+ "text": "Styles | undefined | null"
374
+ },
375
+ "description": "The styles configuration object"
376
+ },
377
+ {
378
+ "name": "styleKey",
379
+ "type": {
380
+ "text": "keyof NonNullable<Styles['customStyles']>"
381
+ },
382
+ "description": "The key in styles.customStyles to use for custom styles"
383
+ }
384
+ ],
385
+ "description": "Utility function to add custom styles to a web component's shadow root"
386
+ }
387
+ ],
388
+ "exports": [
389
+ {
390
+ "kind": "js",
391
+ "name": "processOptGroups",
392
+ "declaration": {
393
+ "name": "processOptGroups",
394
+ "module": "src/utils/misc.ts"
395
+ }
396
+ },
397
+ {
398
+ "kind": "js",
399
+ "name": "applyCustomStyles",
400
+ "declaration": {
401
+ "name": "applyCustomStyles",
402
+ "module": "src/utils/misc.ts"
403
+ }
404
+ }
405
+ ]
406
+ },
158
407
  {
159
408
  "kind": "javascript-module",
160
409
  "path": "src/main/events.ts",
@@ -704,255 +953,6 @@
704
953
  }
705
954
  ]
706
955
  },
707
- {
708
- "kind": "javascript-module",
709
- "path": "src/utils/data-model.ts",
710
- "declarations": [
711
- {
712
- "kind": "function",
713
- "name": "groupToModelGroup",
714
- "return": {
715
- "type": {
716
- "text": "ModelGroup"
717
- }
718
- },
719
- "parameters": [
720
- {
721
- "name": "group",
722
- "type": {
723
- "text": "Group"
724
- }
725
- },
726
- {
727
- "name": "provider",
728
- "type": {
729
- "text": "MetadataProvider"
730
- }
731
- }
732
- ],
733
- "description": "Converts a Group to a ModelGroup (adds required metadata)"
734
- },
735
- {
736
- "kind": "function",
737
- "name": "modelGroupToGroup",
738
- "return": {
739
- "type": {
740
- "text": ""
741
- }
742
- },
743
- "parameters": [
744
- {
745
- "name": "modelGroup",
746
- "type": {
747
- "text": "ModelGroup"
748
- },
749
- "description": "The internal ModelGroup to convert."
750
- }
751
- ],
752
- "description": "Converts a ModelGroup (internal data structure) to a public Group structure.\nThis function recursively processes the rules within the group."
753
- },
754
- {
755
- "kind": "function",
756
- "name": "modelRuleToRule",
757
- "return": {
758
- "type": {
759
- "text": ""
760
- }
761
- },
762
- "parameters": [
763
- {
764
- "name": "modelRule",
765
- "type": {
766
- "text": "ModelRule"
767
- },
768
- "description": "The internal ModelRule to convert."
769
- }
770
- ],
771
- "description": "Converts a ModelRule (internal data structure) to a public Rule structure."
772
- }
773
- ],
774
- "exports": [
775
- {
776
- "kind": "js",
777
- "name": "groupToModelGroup",
778
- "declaration": {
779
- "name": "groupToModelGroup",
780
- "module": "src/utils/data-model.ts"
781
- }
782
- },
783
- {
784
- "kind": "js",
785
- "name": "modelGroupToGroup",
786
- "declaration": {
787
- "name": "modelGroupToGroup",
788
- "module": "src/utils/data-model.ts"
789
- }
790
- },
791
- {
792
- "kind": "js",
793
- "name": "modelRuleToRule",
794
- "declaration": {
795
- "name": "modelRuleToRule",
796
- "module": "src/utils/data-model.ts"
797
- }
798
- }
799
- ]
800
- },
801
- {
802
- "kind": "javascript-module",
803
- "path": "src/utils/formatting.ts",
804
- "declarations": [
805
- {
806
- "kind": "function",
807
- "name": "formatDateString",
808
- "parameters": [
809
- {
810
- "name": "date",
811
- "type": {
812
- "text": "Date"
813
- }
814
- }
815
- ],
816
- "description": "Gets the string representation from a `Date` which is the format a `date` input uses.\n`yyyy-mm-dd`.\nUses UTC methods to ensure consistent output regardless of timezone.\n\nUsed to convert a javascript date object into the required string format expected by the expression builder."
817
- },
818
- {
819
- "kind": "function",
820
- "name": "formatDateTimeString",
821
- "parameters": [
822
- {
823
- "name": "date",
824
- "type": {
825
- "text": "Date"
826
- }
827
- }
828
- ],
829
- "description": "Gets the string representation from a `Date` which is the format a `datetime-local` input uses.\n`yyyy-mm-ddThh:mm:ss`.\nUses UTC methods to ensure consistent output regardless of timezone.\n\nUsed to convert a javascript date object into the required string format expected by the expression builder."
830
- }
831
- ],
832
- "exports": [
833
- {
834
- "kind": "js",
835
- "name": "formatDateString",
836
- "declaration": {
837
- "name": "formatDateString",
838
- "module": "src/utils/formatting.ts"
839
- }
840
- },
841
- {
842
- "kind": "js",
843
- "name": "formatDateTimeString",
844
- "declaration": {
845
- "name": "formatDateTimeString",
846
- "module": "src/utils/formatting.ts"
847
- }
848
- }
849
- ]
850
- },
851
- {
852
- "kind": "javascript-module",
853
- "path": "src/utils/index.ts",
854
- "declarations": [],
855
- "exports": [
856
- {
857
- "kind": "js",
858
- "name": "*",
859
- "declaration": {
860
- "name": "*",
861
- "package": "./data-model"
862
- }
863
- },
864
- {
865
- "kind": "js",
866
- "name": "*",
867
- "declaration": {
868
- "name": "*",
869
- "package": "./formatting"
870
- }
871
- },
872
- {
873
- "kind": "js",
874
- "name": "*",
875
- "declaration": {
876
- "name": "*",
877
- "package": "./misc"
878
- }
879
- }
880
- ]
881
- },
882
- {
883
- "kind": "javascript-module",
884
- "path": "src/utils/misc.ts",
885
- "declarations": [
886
- {
887
- "kind": "function",
888
- "name": "processOptGroups",
889
- "return": {
890
- "type": {
891
- "text": "(T | { optgroup: string | null; xs: T[] })[]"
892
- }
893
- },
894
- "parameters": [
895
- {
896
- "name": "xs",
897
- "type": {
898
- "text": "T[]"
899
- }
900
- }
901
- ]
902
- },
903
- {
904
- "kind": "function",
905
- "name": "applyCustomStyles",
906
- "return": {
907
- "type": {
908
- "text": "void"
909
- }
910
- },
911
- "parameters": [
912
- {
913
- "name": "component",
914
- "type": {
915
- "text": "HTMLElement"
916
- },
917
- "description": "The web component instance"
918
- },
919
- {
920
- "name": "styles",
921
- "type": {
922
- "text": "Styles | undefined | null"
923
- },
924
- "description": "The styles configuration object"
925
- },
926
- {
927
- "name": "styleKey",
928
- "type": {
929
- "text": "keyof NonNullable<Styles['customStyles']>"
930
- },
931
- "description": "The key in styles.customStyles to use for custom styles"
932
- }
933
- ],
934
- "description": "Utility function to add custom styles to a web component's shadow root"
935
- }
936
- ],
937
- "exports": [
938
- {
939
- "kind": "js",
940
- "name": "processOptGroups",
941
- "declaration": {
942
- "name": "processOptGroups",
943
- "module": "src/utils/misc.ts"
944
- }
945
- },
946
- {
947
- "kind": "js",
948
- "name": "applyCustomStyles",
949
- "declaration": {
950
- "name": "applyCustomStyles",
951
- "module": "src/utils/misc.ts"
952
- }
953
- }
954
- ]
955
- },
956
956
  {
957
957
  "kind": "javascript-module",
958
958
  "path": "src/types/index.ts",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/expression-builder",
3
3
  "description": "Genesis Foundation Expression Builder",
4
- "version": "14.278.3",
4
+ "version": "14.280.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/expression-builder.d.ts",
@@ -59,5 +59,5 @@
59
59
  "access": "public"
60
60
  },
61
61
  "customElements": "dist/custom-elements.json",
62
- "gitHead": "4260edc21556ef0d65f67142ca75774c05384054"
62
+ "gitHead": "7e89766c4e599c7eea739cd24de3be1e65357472"
63
63
  }