@pnp/spfx-controls-react 3.26.0-beta.3528624 → 3.26.0-beta.3602687

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.
@@ -15653,9 +15653,9 @@
15653
15653
  "index": 599
15654
15654
  },
15655
15655
  "region": {
15656
- "startLine": 68,
15656
+ "startLine": 71,
15657
15657
  "startColumn": 26,
15658
- "endLine": 68,
15658
+ "endLine": 71,
15659
15659
  "endColumn": 29
15660
15660
  }
15661
15661
  }
@@ -15683,9 +15683,9 @@
15683
15683
  "index": 599
15684
15684
  },
15685
15685
  "region": {
15686
- "startLine": 152,
15686
+ "startLine": 155,
15687
15687
  "startColumn": 29,
15688
- "endLine": 152,
15688
+ "endLine": 155,
15689
15689
  "endColumn": 32
15690
15690
  }
15691
15691
  }
@@ -15713,9 +15713,9 @@
15713
15713
  "index": 599
15714
15714
  },
15715
15715
  "region": {
15716
- "startLine": 155,
15716
+ "startLine": 158,
15717
15717
  "startColumn": 30,
15718
- "endLine": 155,
15718
+ "endLine": 158,
15719
15719
  "endColumn": 33
15720
15720
  }
15721
15721
  }
@@ -15743,9 +15743,9 @@
15743
15743
  "index": 599
15744
15744
  },
15745
15745
  "region": {
15746
- "startLine": 162,
15746
+ "startLine": 165,
15747
15747
  "startColumn": 29,
15748
- "endLine": 162,
15748
+ "endLine": 165,
15749
15749
  "endColumn": 32
15750
15750
  }
15751
15751
  }
@@ -15773,9 +15773,9 @@
15773
15773
  "index": 599
15774
15774
  },
15775
15775
  "region": {
15776
- "startLine": 163,
15776
+ "startLine": 166,
15777
15777
  "startColumn": 30,
15778
- "endLine": 163,
15778
+ "endLine": 166,
15779
15779
  "endColumn": 33
15780
15780
  }
15781
15781
  }
@@ -15803,9 +15803,9 @@
15803
15803
  "index": 599
15804
15804
  },
15805
15805
  "region": {
15806
- "startLine": 184,
15806
+ "startLine": 187,
15807
15807
  "startColumn": 29,
15808
- "endLine": 184,
15808
+ "endLine": 187,
15809
15809
  "endColumn": 32
15810
15810
  }
15811
15811
  }
@@ -15833,9 +15833,9 @@
15833
15833
  "index": 599
15834
15834
  },
15835
15835
  "region": {
15836
- "startLine": 215,
15836
+ "startLine": 218,
15837
15837
  "startColumn": 53,
15838
- "endLine": 215,
15838
+ "endLine": 218,
15839
15839
  "endColumn": 56
15840
15840
  }
15841
15841
  }
@@ -15863,9 +15863,9 @@
15863
15863
  "index": 599
15864
15864
  },
15865
15865
  "region": {
15866
- "startLine": 295,
15866
+ "startLine": 298,
15867
15867
  "startColumn": 32,
15868
- "endLine": 295,
15868
+ "endLine": 298,
15869
15869
  "endColumn": 35
15870
15870
  }
15871
15871
  }
@@ -15893,9 +15893,9 @@
15893
15893
  "index": 599
15894
15894
  },
15895
15895
  "region": {
15896
- "startLine": 295,
15896
+ "startLine": 298,
15897
15897
  "startColumn": 40,
15898
- "endLine": 295,
15898
+ "endLine": 298,
15899
15899
  "endColumn": 43
15900
15900
  }
15901
15901
  }
@@ -15923,9 +15923,9 @@
15923
15923
  "index": 599
15924
15924
  },
15925
15925
  "region": {
15926
- "startLine": 308,
15926
+ "startLine": 311,
15927
15927
  "startColumn": 30,
15928
- "endLine": 308,
15928
+ "endLine": 311,
15929
15929
  "endColumn": 33
15930
15930
  }
15931
15931
  }
@@ -15953,9 +15953,9 @@
15953
15953
  "index": 599
15954
15954
  },
15955
15955
  "region": {
15956
- "startLine": 308,
15956
+ "startLine": 311,
15957
15957
  "startColumn": 36,
15958
- "endLine": 308,
15958
+ "endLine": 311,
15959
15959
  "endColumn": 39
15960
15960
  }
15961
15961
  }
@@ -15983,9 +15983,9 @@
15983
15983
  "index": 599
15984
15984
  },
15985
15985
  "region": {
15986
- "startLine": 309,
15986
+ "startLine": 312,
15987
15987
  "startColumn": 21,
15988
- "endLine": 309,
15988
+ "endLine": 312,
15989
15989
  "endColumn": 24
15990
15990
  }
15991
15991
  }
@@ -16013,9 +16013,9 @@
16013
16013
  "index": 599
16014
16014
  },
16015
16015
  "region": {
16016
- "startLine": 351,
16016
+ "startLine": 354,
16017
16017
  "startColumn": 24,
16018
- "endLine": 351,
16018
+ "endLine": 354,
16019
16019
  "endColumn": 27
16020
16020
  }
16021
16021
  }
@@ -16043,9 +16043,9 @@
16043
16043
  "index": 599
16044
16044
  },
16045
16045
  "region": {
16046
- "startLine": 351,
16046
+ "startLine": 354,
16047
16047
  "startColumn": 30,
16048
- "endLine": 351,
16048
+ "endLine": 354,
16049
16049
  "endColumn": 33
16050
16050
  }
16051
16051
  }
@@ -16073,9 +16073,9 @@
16073
16073
  "index": 599
16074
16074
  },
16075
16075
  "region": {
16076
- "startLine": 383,
16076
+ "startLine": 386,
16077
16077
  "startColumn": 44,
16078
- "endLine": 383,
16078
+ "endLine": 386,
16079
16079
  "endColumn": 47
16080
16080
  }
16081
16081
  }
@@ -16103,9 +16103,9 @@
16103
16103
  "index": 599
16104
16104
  },
16105
16105
  "region": {
16106
- "startLine": 391,
16106
+ "startLine": 394,
16107
16107
  "startColumn": 21,
16108
- "endLine": 391,
16108
+ "endLine": 394,
16109
16109
  "endColumn": 24
16110
16110
  }
16111
16111
  }
@@ -16133,9 +16133,9 @@
16133
16133
  "index": 599
16134
16134
  },
16135
16135
  "region": {
16136
- "startLine": 397,
16136
+ "startLine": 400,
16137
16137
  "startColumn": 21,
16138
- "endLine": 397,
16138
+ "endLine": 400,
16139
16139
  "endColumn": 24
16140
16140
  }
16141
16141
  }
@@ -16163,9 +16163,9 @@
16163
16163
  "index": 599
16164
16164
  },
16165
16165
  "region": {
16166
- "startLine": 481,
16166
+ "startLine": 484,
16167
16167
  "startColumn": 29,
16168
- "endLine": 481,
16168
+ "endLine": 484,
16169
16169
  "endColumn": 32
16170
16170
  }
16171
16171
  }
@@ -16193,9 +16193,9 @@
16193
16193
  "index": 599
16194
16194
  },
16195
16195
  "region": {
16196
- "startLine": 481,
16196
+ "startLine": 484,
16197
16197
  "startColumn": 77,
16198
- "endLine": 481,
16198
+ "endLine": 484,
16199
16199
  "endColumn": 80
16200
16200
  }
16201
16201
  }
@@ -16223,9 +16223,9 @@
16223
16223
  "index": 599
16224
16224
  },
16225
16225
  "region": {
16226
- "startLine": 499,
16226
+ "startLine": 502,
16227
16227
  "startColumn": 57,
16228
- "endLine": 499,
16228
+ "endLine": 502,
16229
16229
  "endColumn": 60
16230
16230
  }
16231
16231
  }
@@ -16253,9 +16253,9 @@
16253
16253
  "index": 599
16254
16254
  },
16255
16255
  "region": {
16256
- "startLine": 499,
16256
+ "startLine": 502,
16257
16257
  "startColumn": 85,
16258
- "endLine": 499,
16258
+ "endLine": 502,
16259
16259
  "endColumn": 88
16260
16260
  }
16261
16261
  }
@@ -16283,9 +16283,9 @@
16283
16283
  "index": 599
16284
16284
  },
16285
16285
  "region": {
16286
- "startLine": 519,
16286
+ "startLine": 522,
16287
16287
  "startColumn": 57,
16288
- "endLine": 519,
16288
+ "endLine": 522,
16289
16289
  "endColumn": 60
16290
16290
  }
16291
16291
  }
@@ -16313,9 +16313,9 @@
16313
16313
  "index": 599
16314
16314
  },
16315
16315
  "region": {
16316
- "startLine": 519,
16316
+ "startLine": 522,
16317
16317
  "startColumn": 85,
16318
- "endLine": 519,
16318
+ "endLine": 522,
16319
16319
  "endColumn": 88
16320
16320
  }
16321
16321
  }
@@ -16343,9 +16343,9 @@
16343
16343
  "index": 599
16344
16344
  },
16345
16345
  "region": {
16346
- "startLine": 524,
16346
+ "startLine": 527,
16347
16347
  "startColumn": 19,
16348
- "endLine": 524,
16348
+ "endLine": 527,
16349
16349
  "endColumn": 22
16350
16350
  }
16351
16351
  }
@@ -16373,9 +16373,9 @@
16373
16373
  "index": 599
16374
16374
  },
16375
16375
  "region": {
16376
- "startLine": 552,
16376
+ "startLine": 555,
16377
16377
  "startColumn": 44,
16378
- "endLine": 552,
16378
+ "endLine": 555,
16379
16379
  "endColumn": 47
16380
16380
  }
16381
16381
  }
@@ -16403,9 +16403,9 @@
16403
16403
  "index": 599
16404
16404
  },
16405
16405
  "region": {
16406
- "startLine": 623,
16406
+ "startLine": 626,
16407
16407
  "startColumn": 23,
16408
- "endLine": 623,
16408
+ "endLine": 626,
16409
16409
  "endColumn": 26
16410
16410
  }
16411
16411
  }
@@ -107,7 +107,7 @@
107
107
  "scriptResources": {
108
108
  "controls-test-web-part": {
109
109
  "type": "path",
110
- "path": "controls-test-web-part_33cc38300561757dab4a.js"
110
+ "path": "controls-test-web-part_291a4b64ab4e20b011ad.js"
111
111
  },
112
112
  "react": {
113
113
  "type": "component",
@@ -14,7 +14,7 @@
14
14
  "scriptResources": {
15
15
  "ootb-fields-field-customizer": {
16
16
  "type": "path",
17
- "path": "ootb-fields-field-customizer_8df28c496efbe9aa2948.js"
17
+ "path": "ootb-fields-field-customizer_4d5a38262cd122a59524.js"
18
18
  },
19
19
  "react": {
20
20
  "type": "component",
@@ -14,7 +14,7 @@
14
14
  "scriptResources": {
15
15
  "controls-test-form-customizer": {
16
16
  "type": "path",
17
- "path": "controls-test-form-customizer_e126d524329949712b26.js"
17
+ "path": "controls-test-form-customizer_ce2f107eb83f2d0a6575.js"
18
18
  },
19
19
  "react": {
20
20
  "type": "component",
@@ -10,4 +10,44 @@ jest.mock("@microsoft/decorators", () => {
10
10
  }
11
11
  }
12
12
  });
13
+
14
+ jest.mock('chart.js', () => {
15
+ class MockChart {
16
+ static defaults = {
17
+ global: {
18
+ title: {},
19
+ legend: {
20
+ labels: {}
21
+ },
22
+ tooltips: {},
23
+ defaultFontColor: '',
24
+ defaultFontFamily: '',
25
+ defaultFontSize: 0
26
+ },
27
+ scale: {
28
+ gridLines: {
29
+ color: ''
30
+ }
31
+ }
32
+ };
33
+
34
+ constructor(canvas) {
35
+ this.canvas = canvas;
36
+ this.destroy = jest.fn();
37
+ this.update = jest.fn();
38
+ this.render = jest.fn();
39
+ this.stop = jest.fn();
40
+ this.clear = jest.fn();
41
+ this.toBase64Image = jest.fn();
42
+ this.getDatasetAtEvent = jest.fn().mockReturnValue([]);
43
+ this.getElementAtEvent = jest.fn().mockReturnValue([]);
44
+ this.getElementsAtEvent = jest.fn().mockReturnValue([]);
45
+ }
46
+ }
47
+
48
+ return {
49
+ Chart: MockChart
50
+ };
51
+ });
52
+
13
53
  DEBUG = true;