@genesislcap/foundation-ui 14.161.0 → 14.162.1-beta.5eead96.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.
@@ -801,260 +801,6 @@
801
801
  }
802
802
  ]
803
803
  },
804
- {
805
- "kind": "javascript-module",
806
- "path": "src/_common/icons.ts",
807
- "declarations": [
808
- {
809
- "kind": "function",
810
- "name": "closeIcon",
811
- "parameters": [
812
- {
813
- "name": "slot",
814
- "default": "'start'"
815
- }
816
- ]
817
- }
818
- ],
819
- "exports": [
820
- {
821
- "kind": "js",
822
- "name": "closeIcon",
823
- "declaration": {
824
- "name": "closeIcon",
825
- "module": "src/_common/icons.ts"
826
- }
827
- }
828
- ]
829
- },
830
- {
831
- "kind": "javascript-module",
832
- "path": "src/_common/index.ts",
833
- "declarations": [],
834
- "exports": [
835
- {
836
- "kind": "js",
837
- "name": "*",
838
- "declaration": {
839
- "name": "*",
840
- "package": "./icons"
841
- }
842
- }
843
- ]
844
- },
845
- {
846
- "kind": "javascript-module",
847
- "path": "src/_config/index.ts",
848
- "declarations": [],
849
- "exports": [
850
- {
851
- "kind": "js",
852
- "name": "*",
853
- "declaration": {
854
- "name": "*",
855
- "package": "./styles"
856
- }
857
- },
858
- {
859
- "kind": "js",
860
- "name": "*",
861
- "declaration": {
862
- "name": "*",
863
- "package": "./tokens"
864
- }
865
- },
866
- {
867
- "kind": "js",
868
- "name": "*",
869
- "declaration": {
870
- "name": "*",
871
- "package": "./values"
872
- }
873
- }
874
- ]
875
- },
876
- {
877
- "kind": "javascript-module",
878
- "path": "src/accordion/accordion.styles.ts",
879
- "declarations": [
880
- {
881
- "kind": "function",
882
- "name": "foundationAccordionStyles",
883
- "return": {
884
- "type": {
885
- "text": "ElementStyles"
886
- }
887
- },
888
- "parameters": [
889
- {
890
- "name": "context",
891
- "type": {
892
- "text": "ElementDefinitionContext"
893
- }
894
- },
895
- {
896
- "name": "definition",
897
- "type": {
898
- "text": "FoundationElementDefinition"
899
- }
900
- }
901
- ]
902
- }
903
- ],
904
- "exports": [
905
- {
906
- "kind": "js",
907
- "name": "foundationAccordionStyles",
908
- "declaration": {
909
- "name": "foundationAccordionStyles",
910
- "module": "src/accordion/accordion.styles.ts"
911
- }
912
- }
913
- ]
914
- },
915
- {
916
- "kind": "javascript-module",
917
- "path": "src/accordion/accordion.template.ts",
918
- "declarations": [
919
- {
920
- "kind": "function",
921
- "name": "foundationAccordionTemplate",
922
- "return": {
923
- "type": {
924
- "text": "ViewTemplate<Accordion>"
925
- }
926
- },
927
- "parameters": [
928
- {
929
- "name": "context",
930
- "type": {
931
- "text": "ElementDefinitionContext"
932
- }
933
- },
934
- {
935
- "name": "definition",
936
- "type": {
937
- "text": "FoundationElementDefinition"
938
- }
939
- }
940
- ]
941
- }
942
- ],
943
- "exports": [
944
- {
945
- "kind": "js",
946
- "name": "foundationAccordionTemplate",
947
- "declaration": {
948
- "name": "foundationAccordionTemplate",
949
- "module": "src/accordion/accordion.template.ts"
950
- }
951
- }
952
- ]
953
- },
954
- {
955
- "kind": "javascript-module",
956
- "path": "src/accordion/accordion.ts",
957
- "declarations": [
958
- {
959
- "kind": "class",
960
- "description": "",
961
- "name": "Accordion",
962
- "superclass": {
963
- "name": "FASTAccordion",
964
- "package": "@microsoft/fast-foundation"
965
- },
966
- "tagName": "%%prefix%%-accordion",
967
- "customElement": true
968
- },
969
- {
970
- "kind": "variable",
971
- "name": "foundationAccordionShadowOptions",
972
- "type": {
973
- "text": "ShadowRootInit"
974
- },
975
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
976
- },
977
- {
978
- "kind": "variable",
979
- "name": "defaultAccordionConfig",
980
- "type": {
981
- "text": "object"
982
- },
983
- "default": "{}"
984
- },
985
- {
986
- "kind": "variable",
987
- "name": "foundationAccordion",
988
- "description": "The Foundation Accordion",
989
- "privacy": "public"
990
- }
991
- ],
992
- "exports": [
993
- {
994
- "kind": "js",
995
- "name": "Accordion",
996
- "declaration": {
997
- "name": "Accordion",
998
- "module": "src/accordion/accordion.ts"
999
- }
1000
- },
1001
- {
1002
- "kind": "js",
1003
- "name": "foundationAccordionShadowOptions",
1004
- "declaration": {
1005
- "name": "foundationAccordionShadowOptions",
1006
- "module": "src/accordion/accordion.ts"
1007
- }
1008
- },
1009
- {
1010
- "kind": "js",
1011
- "name": "defaultAccordionConfig",
1012
- "declaration": {
1013
- "name": "defaultAccordionConfig",
1014
- "module": "src/accordion/accordion.ts"
1015
- }
1016
- },
1017
- {
1018
- "kind": "js",
1019
- "name": "foundationAccordion",
1020
- "declaration": {
1021
- "name": "foundationAccordion",
1022
- "module": "src/accordion/accordion.ts"
1023
- }
1024
- }
1025
- ]
1026
- },
1027
- {
1028
- "kind": "javascript-module",
1029
- "path": "src/accordion/index.ts",
1030
- "declarations": [],
1031
- "exports": [
1032
- {
1033
- "kind": "js",
1034
- "name": "*",
1035
- "declaration": {
1036
- "name": "*",
1037
- "package": "./accordion.template"
1038
- }
1039
- },
1040
- {
1041
- "kind": "js",
1042
- "name": "*",
1043
- "declaration": {
1044
- "name": "*",
1045
- "package": "./accordion.styles"
1046
- }
1047
- },
1048
- {
1049
- "kind": "js",
1050
- "name": "*",
1051
- "declaration": {
1052
- "name": "*",
1053
- "package": "./accordion"
1054
- }
1055
- }
1056
- ]
1057
- },
1058
804
  {
1059
805
  "kind": "javascript-module",
1060
806
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -4118,6 +3864,219 @@
4118
3864
  }
4119
3865
  ]
4120
3866
  },
3867
+ {
3868
+ "kind": "javascript-module",
3869
+ "path": "src/_config/index.ts",
3870
+ "declarations": [],
3871
+ "exports": [
3872
+ {
3873
+ "kind": "js",
3874
+ "name": "*",
3875
+ "declaration": {
3876
+ "name": "*",
3877
+ "package": "./styles"
3878
+ }
3879
+ },
3880
+ {
3881
+ "kind": "js",
3882
+ "name": "*",
3883
+ "declaration": {
3884
+ "name": "*",
3885
+ "package": "./tokens"
3886
+ }
3887
+ },
3888
+ {
3889
+ "kind": "js",
3890
+ "name": "*",
3891
+ "declaration": {
3892
+ "name": "*",
3893
+ "package": "./values"
3894
+ }
3895
+ }
3896
+ ]
3897
+ },
3898
+ {
3899
+ "kind": "javascript-module",
3900
+ "path": "src/accordion/accordion.styles.ts",
3901
+ "declarations": [
3902
+ {
3903
+ "kind": "function",
3904
+ "name": "foundationAccordionStyles",
3905
+ "return": {
3906
+ "type": {
3907
+ "text": "ElementStyles"
3908
+ }
3909
+ },
3910
+ "parameters": [
3911
+ {
3912
+ "name": "context",
3913
+ "type": {
3914
+ "text": "ElementDefinitionContext"
3915
+ }
3916
+ },
3917
+ {
3918
+ "name": "definition",
3919
+ "type": {
3920
+ "text": "FoundationElementDefinition"
3921
+ }
3922
+ }
3923
+ ]
3924
+ }
3925
+ ],
3926
+ "exports": [
3927
+ {
3928
+ "kind": "js",
3929
+ "name": "foundationAccordionStyles",
3930
+ "declaration": {
3931
+ "name": "foundationAccordionStyles",
3932
+ "module": "src/accordion/accordion.styles.ts"
3933
+ }
3934
+ }
3935
+ ]
3936
+ },
3937
+ {
3938
+ "kind": "javascript-module",
3939
+ "path": "src/accordion/accordion.template.ts",
3940
+ "declarations": [
3941
+ {
3942
+ "kind": "function",
3943
+ "name": "foundationAccordionTemplate",
3944
+ "return": {
3945
+ "type": {
3946
+ "text": "ViewTemplate<Accordion>"
3947
+ }
3948
+ },
3949
+ "parameters": [
3950
+ {
3951
+ "name": "context",
3952
+ "type": {
3953
+ "text": "ElementDefinitionContext"
3954
+ }
3955
+ },
3956
+ {
3957
+ "name": "definition",
3958
+ "type": {
3959
+ "text": "FoundationElementDefinition"
3960
+ }
3961
+ }
3962
+ ]
3963
+ }
3964
+ ],
3965
+ "exports": [
3966
+ {
3967
+ "kind": "js",
3968
+ "name": "foundationAccordionTemplate",
3969
+ "declaration": {
3970
+ "name": "foundationAccordionTemplate",
3971
+ "module": "src/accordion/accordion.template.ts"
3972
+ }
3973
+ }
3974
+ ]
3975
+ },
3976
+ {
3977
+ "kind": "javascript-module",
3978
+ "path": "src/accordion/accordion.ts",
3979
+ "declarations": [
3980
+ {
3981
+ "kind": "class",
3982
+ "description": "",
3983
+ "name": "Accordion",
3984
+ "superclass": {
3985
+ "name": "FASTAccordion",
3986
+ "package": "@microsoft/fast-foundation"
3987
+ },
3988
+ "tagName": "%%prefix%%-accordion",
3989
+ "customElement": true
3990
+ },
3991
+ {
3992
+ "kind": "variable",
3993
+ "name": "foundationAccordionShadowOptions",
3994
+ "type": {
3995
+ "text": "ShadowRootInit"
3996
+ },
3997
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3998
+ },
3999
+ {
4000
+ "kind": "variable",
4001
+ "name": "defaultAccordionConfig",
4002
+ "type": {
4003
+ "text": "object"
4004
+ },
4005
+ "default": "{}"
4006
+ },
4007
+ {
4008
+ "kind": "variable",
4009
+ "name": "foundationAccordion",
4010
+ "description": "The Foundation Accordion",
4011
+ "privacy": "public"
4012
+ }
4013
+ ],
4014
+ "exports": [
4015
+ {
4016
+ "kind": "js",
4017
+ "name": "Accordion",
4018
+ "declaration": {
4019
+ "name": "Accordion",
4020
+ "module": "src/accordion/accordion.ts"
4021
+ }
4022
+ },
4023
+ {
4024
+ "kind": "js",
4025
+ "name": "foundationAccordionShadowOptions",
4026
+ "declaration": {
4027
+ "name": "foundationAccordionShadowOptions",
4028
+ "module": "src/accordion/accordion.ts"
4029
+ }
4030
+ },
4031
+ {
4032
+ "kind": "js",
4033
+ "name": "defaultAccordionConfig",
4034
+ "declaration": {
4035
+ "name": "defaultAccordionConfig",
4036
+ "module": "src/accordion/accordion.ts"
4037
+ }
4038
+ },
4039
+ {
4040
+ "kind": "js",
4041
+ "name": "foundationAccordion",
4042
+ "declaration": {
4043
+ "name": "foundationAccordion",
4044
+ "module": "src/accordion/accordion.ts"
4045
+ }
4046
+ }
4047
+ ]
4048
+ },
4049
+ {
4050
+ "kind": "javascript-module",
4051
+ "path": "src/accordion/index.ts",
4052
+ "declarations": [],
4053
+ "exports": [
4054
+ {
4055
+ "kind": "js",
4056
+ "name": "*",
4057
+ "declaration": {
4058
+ "name": "*",
4059
+ "package": "./accordion.template"
4060
+ }
4061
+ },
4062
+ {
4063
+ "kind": "js",
4064
+ "name": "*",
4065
+ "declaration": {
4066
+ "name": "*",
4067
+ "package": "./accordion.styles"
4068
+ }
4069
+ },
4070
+ {
4071
+ "kind": "js",
4072
+ "name": "*",
4073
+ "declaration": {
4074
+ "name": "*",
4075
+ "package": "./accordion"
4076
+ }
4077
+ }
4078
+ ]
4079
+ },
4121
4080
  {
4122
4081
  "kind": "javascript-module",
4123
4082
  "path": "src/avatar/avatar.styles.ts",
@@ -9633,6 +9592,47 @@
9633
9592
  }
9634
9593
  ]
9635
9594
  },
9595
+ {
9596
+ "kind": "javascript-module",
9597
+ "path": "src/_common/icons.ts",
9598
+ "declarations": [
9599
+ {
9600
+ "kind": "function",
9601
+ "name": "closeIcon",
9602
+ "parameters": [
9603
+ {
9604
+ "name": "slot",
9605
+ "default": "'start'"
9606
+ }
9607
+ ]
9608
+ }
9609
+ ],
9610
+ "exports": [
9611
+ {
9612
+ "kind": "js",
9613
+ "name": "closeIcon",
9614
+ "declaration": {
9615
+ "name": "closeIcon",
9616
+ "module": "src/_common/icons.ts"
9617
+ }
9618
+ }
9619
+ ]
9620
+ },
9621
+ {
9622
+ "kind": "javascript-module",
9623
+ "path": "src/_common/index.ts",
9624
+ "declarations": [],
9625
+ "exports": [
9626
+ {
9627
+ "kind": "js",
9628
+ "name": "*",
9629
+ "declaration": {
9630
+ "name": "*",
9631
+ "package": "./icons"
9632
+ }
9633
+ }
9634
+ ]
9635
+ },
9636
9636
  {
9637
9637
  "kind": "javascript-module",
9638
9638
  "path": "src/data-grid/data-grid.styles.ts",
@@ -11205,6 +11205,19 @@
11205
11205
  "module": "src/utils/base-datasource.ts"
11206
11206
  }
11207
11207
  },
11208
+ {
11209
+ "kind": "method",
11210
+ "name": "dataChanged",
11211
+ "parameters": [
11212
+ {
11213
+ "name": "oldValue"
11214
+ }
11215
+ ],
11216
+ "inheritedFrom": {
11217
+ "name": "<local>_BaseDatasource",
11218
+ "module": "src/utils/base-datasource.ts"
11219
+ }
11220
+ },
11208
11221
  {
11209
11222
  "kind": "field",
11210
11223
  "name": "fields",
@@ -25624,6 +25637,19 @@
25624
25637
  "module": "src/utils/base-datasource.ts"
25625
25638
  }
25626
25639
  },
25640
+ {
25641
+ "kind": "method",
25642
+ "name": "dataChanged",
25643
+ "parameters": [
25644
+ {
25645
+ "name": "oldValue"
25646
+ }
25647
+ ],
25648
+ "inheritedFrom": {
25649
+ "name": "<local>_BaseDatasource",
25650
+ "module": "src/utils/base-datasource.ts"
25651
+ }
25652
+ },
25627
25653
  {
25628
25654
  "kind": "field",
25629
25655
  "name": "fields",
@@ -26509,6 +26535,19 @@
26509
26535
  "module": "src/utils/base-datasource.ts"
26510
26536
  }
26511
26537
  },
26538
+ {
26539
+ "kind": "method",
26540
+ "name": "dataChanged",
26541
+ "parameters": [
26542
+ {
26543
+ "name": "oldValue"
26544
+ }
26545
+ ],
26546
+ "inheritedFrom": {
26547
+ "name": "<local>_BaseDatasource",
26548
+ "module": "src/utils/base-datasource.ts"
26549
+ }
26550
+ },
26512
26551
  {
26513
26552
  "kind": "field",
26514
26553
  "name": "fields",
@@ -41294,6 +41333,15 @@
41294
41333
  "text": "any[]"
41295
41334
  }
41296
41335
  },
41336
+ {
41337
+ "kind": "method",
41338
+ "name": "dataChanged",
41339
+ "parameters": [
41340
+ {
41341
+ "name": "oldValue"
41342
+ }
41343
+ ]
41344
+ },
41297
41345
  {
41298
41346
  "kind": "field",
41299
41347
  "name": "fields",
@@ -8,6 +8,7 @@ export declare abstract class BaseDatasource extends FoundationElement {
8
8
  criteria: string;
9
9
  criteriaChanged(oldCriteria: string, newCriteria: string): void;
10
10
  data: any[];
11
+ dataChanged(oldValue: any): void;
11
12
  fields: string;
12
13
  isSnapshot: boolean;
13
14
  maxRows: number;
@@ -1 +1 @@
1
- {"version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AAa;IAKd,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;CAItC"}
@@ -1,6 +1,6 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { Connect, dataServerResultFilter, Datasource, DatasourceDefaults, MessageType, normaliseCriteria, } from '@genesislcap/foundation-comms';
3
- import { attr } from '@microsoft/fast-element';
3
+ import { attr, observable } from '@microsoft/fast-element';
4
4
  import { FoundationElement } from '@microsoft/fast-foundation';
5
5
  import { BehaviorSubject } from 'rxjs';
6
6
  import { logger } from './logger';
@@ -37,6 +37,12 @@ export class BaseDatasource extends FoundationElement {
37
37
  this.fetchGenesisData(withoutFullInit);
38
38
  }
39
39
  }
40
+ dataChanged(oldValue) {
41
+ if (oldValue) {
42
+ this.clearData();
43
+ this.reset();
44
+ }
45
+ }
40
46
  set datasourceConfig(config) {
41
47
  if (config) {
42
48
  Object.keys(config).forEach((key) => {
@@ -193,6 +199,9 @@ __decorate([
193
199
  __decorate([
194
200
  attr
195
201
  ], BaseDatasource.prototype, "criteria", void 0);
202
+ __decorate([
203
+ observable
204
+ ], BaseDatasource.prototype, "data", void 0);
196
205
  __decorate([
197
206
  attr
198
207
  ], BaseDatasource.prototype, "fields", void 0);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "14.161.0",
4
+ "version": "14.162.1-beta.5eead96.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -74,13 +74,13 @@
74
74
  "test:debug": "genx test --debug"
75
75
  },
76
76
  "devDependencies": {
77
- "@genesislcap/foundation-testing": "14.161.0",
78
- "@genesislcap/genx": "14.161.0",
79
- "@genesislcap/rollup-builder": "14.161.0",
80
- "@genesislcap/ts-builder": "14.161.0",
81
- "@genesislcap/uvu-playwright-builder": "14.161.0",
82
- "@genesislcap/vite-builder": "14.161.0",
83
- "@genesislcap/webpack-builder": "14.161.0",
77
+ "@genesislcap/foundation-testing": "14.162.1-beta.5eead96.0",
78
+ "@genesislcap/genx": "14.162.1-beta.5eead96.0",
79
+ "@genesislcap/rollup-builder": "14.162.1-beta.5eead96.0",
80
+ "@genesislcap/ts-builder": "14.162.1-beta.5eead96.0",
81
+ "@genesislcap/uvu-playwright-builder": "14.162.1-beta.5eead96.0",
82
+ "@genesislcap/vite-builder": "14.162.1-beta.5eead96.0",
83
+ "@genesislcap/webpack-builder": "14.162.1-beta.5eead96.0",
84
84
  "copyfiles": "^2.4.1",
85
85
  "rimraf": "^3.0.2",
86
86
  "rxjs": "^7.5.4"
@@ -91,12 +91,12 @@
91
91
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
92
92
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
93
93
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^4.0.0",
94
- "@genesislcap/foundation-comms": "14.161.0",
95
- "@genesislcap/foundation-criteria": "14.161.0",
96
- "@genesislcap/foundation-errors": "14.161.0",
97
- "@genesislcap/foundation-logger": "14.161.0",
98
- "@genesislcap/foundation-notifications": "14.161.0",
99
- "@genesislcap/foundation-utils": "14.161.0",
94
+ "@genesislcap/foundation-comms": "14.162.1-beta.5eead96.0",
95
+ "@genesislcap/foundation-criteria": "14.162.1-beta.5eead96.0",
96
+ "@genesislcap/foundation-errors": "14.162.1-beta.5eead96.0",
97
+ "@genesislcap/foundation-logger": "14.162.1-beta.5eead96.0",
98
+ "@genesislcap/foundation-notifications": "14.162.1-beta.5eead96.0",
99
+ "@genesislcap/foundation-utils": "14.162.1-beta.5eead96.0",
100
100
  "@microsoft/fast-colors": "^5.3.1",
101
101
  "@microsoft/fast-components": "^2.30.6",
102
102
  "@microsoft/fast-element": "^1.12.0",
@@ -118,5 +118,5 @@
118
118
  "access": "public"
119
119
  },
120
120
  "customElements": "dist/custom-elements.json",
121
- "gitHead": "75ef6861f287624c5efcee0f3ca24d1c167102d3"
121
+ "gitHead": "45ffae5f4c0c8eb097866568cd1033f58fa95dc9"
122
122
  }