@squiz/resource-browser 3.3.11 → 3.3.13
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/CHANGELOG.md +93 -79
- package/build.js +1 -1
- package/jest.config.ts +3 -0
- package/lib/BrowseToSource/BrowseToSource.js +18 -8
- package/lib/MainContainer/MainContainer.js +17 -7
- package/lib/Plugin/Plugin.js +17 -7
- package/lib/ResourceBrowserContext/AuthProvider.js +17 -7
- package/lib/ResourceBrowserContext/ResourceBrowserContext.js +17 -7
- package/lib/ResourceBrowserInlineButton/ResourceBrowserInlineButton.js +17 -7
- package/lib/SourceDropdown/SourceDropdown.js +18 -8
- package/lib/SourceDropdownContainer/SourceDropdownContainer.js +1 -1
- package/lib/index.css +1615 -477
- package/lib/index.js +17 -7
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/lib/types.d.ts +2 -2
- package/lib/types.js +1 -1
- package/package.json +30 -30
- package/src/__mocks__/jestPolyfills.ts +5 -0
- package/src/index.scss +2 -2
- package/src/types.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,158 +1,172 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.3.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c975bca: Update dependencies for those outdated ones across packages, and resolve the vulnerability issues.
|
|
8
|
+
- Updated dependencies [c975bca]
|
|
9
|
+
- @squiz/resource-browser-ui-lib@1.2.8
|
|
10
|
+
|
|
11
|
+
## 3.3.12
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- ddff161: Updated @squiz/resource-browser-ui-lib package
|
|
16
|
+
|
|
3
17
|
## 3.3.11
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
6
20
|
|
|
7
|
-
-
|
|
21
|
+
- 6c4d5b3: Support for proxying all dam requests
|
|
8
22
|
|
|
9
23
|
## 3.3.10
|
|
10
24
|
|
|
11
25
|
### Patch Changes
|
|
12
26
|
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
27
|
+
- 8d3c8e0: source alias support
|
|
28
|
+
- Updated dependencies [8d3c8e0]
|
|
29
|
+
- @squiz/resource-browser-ui-lib@1.2.6
|
|
16
30
|
|
|
17
31
|
## 3.3.9
|
|
18
32
|
|
|
19
33
|
### Patch Changes
|
|
20
34
|
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
35
|
+
- 53de26d: add ref support and modal state change callback
|
|
36
|
+
- Updated dependencies [53de26d]
|
|
37
|
+
- @squiz/resource-browser-ui-lib@1.2.5
|
|
24
38
|
|
|
25
39
|
## 3.3.8
|
|
26
40
|
|
|
27
41
|
### Patch Changes
|
|
28
42
|
|
|
29
|
-
-
|
|
43
|
+
- 5d6b825: Update generic-browser-lib to 1.67.5 which adds the Content Template icon and updates the Content Page icon
|
|
30
44
|
|
|
31
45
|
## 3.3.7
|
|
32
46
|
|
|
33
47
|
### Patch Changes
|
|
34
48
|
|
|
35
|
-
-
|
|
49
|
+
- cbf0348: enable the resource picker for MatrixAssetURI in resource browser
|
|
36
50
|
|
|
37
51
|
## 3.3.6
|
|
38
52
|
|
|
39
53
|
### Patch Changes
|
|
40
54
|
|
|
41
|
-
-
|
|
55
|
+
- bd748ea: Better support for AssetBank resources
|
|
42
56
|
|
|
43
57
|
## 3.3.5
|
|
44
58
|
|
|
45
59
|
### Patch Changes
|
|
46
60
|
|
|
47
|
-
-
|
|
61
|
+
- 856a08e: Support AssetBank resources
|
|
48
62
|
|
|
49
63
|
## 3.3.4
|
|
50
64
|
|
|
51
65
|
### Patch Changes
|
|
52
66
|
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
67
|
+
- f115dfb: Version fix. Asset bank 401 fix for xml response
|
|
68
|
+
- 4bdb412: Add classes to resource picker elements
|
|
69
|
+
- Updated dependencies [f115dfb]
|
|
70
|
+
- Updated dependencies [4bdb412]
|
|
71
|
+
- @squiz/resource-browser-ui-lib@1.2.4
|
|
58
72
|
|
|
59
73
|
## 3.3.1
|
|
60
74
|
|
|
61
75
|
### Patch Changes
|
|
62
76
|
|
|
63
|
-
-
|
|
64
|
-
-
|
|
65
|
-
-
|
|
77
|
+
- c8240b6: Minor styling updates
|
|
78
|
+
- Updated dependencies [c8240b6]
|
|
79
|
+
- @squiz/resource-browser-ui-lib@1.2.1
|
|
66
80
|
|
|
67
81
|
## 3.3.0
|
|
68
82
|
|
|
69
83
|
### Minor Changes
|
|
70
84
|
|
|
71
|
-
-
|
|
85
|
+
- 9e6268d: Allow users to restrict plugin usage
|
|
72
86
|
|
|
73
87
|
## 3.2.3
|
|
74
88
|
|
|
75
89
|
### Patch Changes
|
|
76
90
|
|
|
77
|
-
-
|
|
91
|
+
- fe57830: fix for refresh token clering by other plugins
|
|
78
92
|
|
|
79
93
|
## 3.2.2
|
|
80
94
|
|
|
81
95
|
### Patch Changes
|
|
82
96
|
|
|
83
|
-
-
|
|
84
|
-
-
|
|
97
|
+
- 168c317: Pass all preselected info to resolvers, dam resolve variant
|
|
98
|
+
- 168c317: Added optional extra fields to pass dam variant information
|
|
85
99
|
|
|
86
100
|
## 3.2.1
|
|
87
101
|
|
|
88
102
|
### Patch Changes
|
|
89
103
|
|
|
90
|
-
-
|
|
104
|
+
- a64f8ae: Derive plugin synchronously from source to avoid stale state
|
|
91
105
|
|
|
92
106
|
## 3.2.0
|
|
93
107
|
|
|
94
108
|
### Minor Changes
|
|
95
109
|
|
|
96
|
-
-
|
|
110
|
+
- ce4521d: Outdated token fix
|
|
97
111
|
|
|
98
112
|
## 3.1.2
|
|
99
113
|
|
|
100
114
|
### Patch Changes
|
|
101
115
|
|
|
102
|
-
-
|
|
103
|
-
-
|
|
116
|
+
- c1ebb09: format scope as expected for oAuth calls (space delimited)
|
|
117
|
+
- 213ea12: change plugin render comparison to type not object ref
|
|
104
118
|
|
|
105
119
|
## 3.1.1
|
|
106
120
|
|
|
107
121
|
### Patch Changes
|
|
108
122
|
|
|
109
|
-
-
|
|
123
|
+
- 1ce2636: dont render select preview if switched to different source
|
|
110
124
|
|
|
111
125
|
## 3.1.0
|
|
112
126
|
|
|
113
127
|
### Patch Changes
|
|
114
128
|
|
|
115
|
-
-
|
|
116
|
-
-
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
-
|
|
120
|
-
-
|
|
121
|
-
-
|
|
122
|
-
-
|
|
123
|
-
-
|
|
124
|
-
-
|
|
125
|
-
-
|
|
126
|
-
-
|
|
127
|
-
-
|
|
129
|
+
- a89fb2d: Updated the peer dependencies and dependencies so that we use the deps published by Matrix'
|
|
130
|
+
- a89fb2d: Updated title for modal to be sentence case when displayed
|
|
131
|
+
- a89fb2d: Changed background colour of hovered source on source selector
|
|
132
|
+
- a89fb2d: Updated modal to use sds button, removed scroll bar from search panel
|
|
133
|
+
- 6503eba: clean selected mode on modal close
|
|
134
|
+
- a89fb2d: Version control via changesets added
|
|
135
|
+
- Updated dependencies [70ed1a8]
|
|
136
|
+
- Updated dependencies [9bcc4d2]
|
|
137
|
+
- Updated dependencies [a89fb2d]
|
|
138
|
+
- Updated dependencies [a065ca7]
|
|
139
|
+
- Updated dependencies [7a6a6fc]
|
|
140
|
+
- Updated dependencies [a89fb2d]
|
|
141
|
+
- @squiz/resource-browser-ui-lib@1.0.0
|
|
128
142
|
|
|
129
143
|
## 3.1.0-rc.4
|
|
130
144
|
|
|
131
145
|
### Patch Changes
|
|
132
146
|
|
|
133
|
-
-
|
|
147
|
+
- 6503eba: clean selected mode on modal close
|
|
134
148
|
|
|
135
149
|
## 3.1.0-rc.3
|
|
136
150
|
|
|
137
151
|
### Patch Changes
|
|
138
152
|
|
|
139
|
-
-
|
|
153
|
+
- 020d957: Updated the peer dependencies and dependencies so that we use the deps published by Matrix'
|
|
140
154
|
|
|
141
155
|
## 3.1.0-rc.2
|
|
142
156
|
|
|
143
157
|
### Patch Changes
|
|
144
158
|
|
|
145
|
-
-
|
|
146
|
-
-
|
|
159
|
+
- 1cfe0fe: Updated title for modal to be sentence case when displayed
|
|
160
|
+
- f28383e: Changed background colour of hovered source on source selector
|
|
147
161
|
|
|
148
162
|
## 3.1.0-rc.1
|
|
149
163
|
|
|
150
164
|
### Patch Changes
|
|
151
165
|
|
|
152
|
-
-
|
|
153
|
-
-
|
|
154
|
-
-
|
|
155
|
-
-
|
|
166
|
+
- Updated modal to use sds button, removed scroll bar from search panel
|
|
167
|
+
- ce9ae92: Version control via changesets added
|
|
168
|
+
- Updated dependencies [ce9ae92]
|
|
169
|
+
- @squiz/resource-browser-ui-lib@1.0.0-rc.8
|
|
156
170
|
|
|
157
171
|
All notable changes to this project will be documented in this file.
|
|
158
172
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
@@ -161,7 +175,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
161
175
|
|
|
162
176
|
### Features
|
|
163
177
|
|
|
164
|
-
-
|
|
178
|
+
- **prodam-489:** close modal hover and mobile input with fix ([135c695](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/135c695bdcc1c5d6cbbd26d850e402d3cc208a8a))
|
|
165
179
|
|
|
166
180
|
## [3.0.1-rc.7](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/compare/@squiz/resource-browser@3.0.1-rc.6...@squiz/resource-browser@3.0.1-rc.7) (2024-12-13)
|
|
167
181
|
|
|
@@ -199,7 +213,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
199
213
|
|
|
200
214
|
### Features
|
|
201
215
|
|
|
202
|
-
-
|
|
216
|
+
- **prodam-346:** implement new top bar in matrix plugin ([b962c6f](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/b962c6fc7d2c7a1d05d90fa57d149eabdfbee5b9))
|
|
203
217
|
|
|
204
218
|
## [3.0.1-pre-alpha.1](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/compare/@squiz/resource-browser@3.0.0-pre-alpha.0...@squiz/resource-browser@3.0.1-pre-alpha.1) (2024-11-19)
|
|
205
219
|
|
|
@@ -213,7 +227,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
213
227
|
|
|
214
228
|
### Features
|
|
215
229
|
|
|
216
|
-
-
|
|
230
|
+
- **prodam-346:** implement new top bar in matrix plugin ([b962c6f](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/b962c6fc7d2c7a1d05d90fa57d149eabdfbee5b9))
|
|
217
231
|
|
|
218
232
|
## [3.0.0] Manual entry
|
|
219
233
|
|
|
@@ -271,21 +285,21 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
271
285
|
|
|
272
286
|
### Bug Fixes
|
|
273
287
|
|
|
274
|
-
-
|
|
288
|
+
- wip hooks fix ([274701c](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/274701c0874888430d8dcdaecfb6e5a8efe4a98f))
|
|
275
289
|
|
|
276
290
|
# [2.4.0-rc.0](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/compare/@squiz/resource-browser@2.3.0-rc.0...@squiz/resource-browser@2.4.0-rc.0) (2024-06-13)
|
|
277
291
|
|
|
278
292
|
### Features
|
|
279
293
|
|
|
280
|
-
-
|
|
294
|
+
- **PRODAM-161:** updated versions ([8ed02b5](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/8ed02b5aa5b818c27a0d23d98cbbee468e4e559e))
|
|
281
295
|
|
|
282
296
|
# [2.3.0-rc.0](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/compare/@squiz/resource-browser@2.2.1...@squiz/resource-browser@2.3.0-rc.0) (2024-06-13)
|
|
283
297
|
|
|
284
298
|
### Features
|
|
285
299
|
|
|
286
|
-
-
|
|
287
|
-
-
|
|
288
|
-
-
|
|
300
|
+
- **PRODAM-161:** lint ([7bc6f21](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/7bc6f2112a0364efb6c7e6e56c1fcfac61dc1086))
|
|
301
|
+
- **PRODAM-161:** linting ([afef928](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/afef928ac5a3fd05693f44995c144548e44b4392))
|
|
302
|
+
- **PRODAM-161:** route resource fetch tru internal api ([3073a7a](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/3073a7a34b8700f63f3b60070c489a7476c62122))
|
|
289
303
|
|
|
290
304
|
## [2.2.1](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/compare/@squiz/resource-browser@2.2.1-rc.0...@squiz/resource-browser@2.2.1) (2024-06-11)
|
|
291
305
|
|
|
@@ -299,7 +313,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
299
313
|
|
|
300
314
|
### Features
|
|
301
315
|
|
|
302
|
-
-
|
|
316
|
+
- **PRODAM:92:** auth provider ([3c7136d](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/3c7136da5f5ef148f713ad6a39f5d2328eaff4c7))
|
|
303
317
|
|
|
304
318
|
## [2.1.10-rc.0](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/compare/@squiz/resource-browser@2.1.9-rc.0...@squiz/resource-browser@2.1.10-rc.0) (2024-06-06)
|
|
305
319
|
|
|
@@ -345,7 +359,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
345
359
|
|
|
346
360
|
### Features
|
|
347
361
|
|
|
348
|
-
-
|
|
362
|
+
- **prodam-133:** add source dropdown to rb wrapper ([a258b0f](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/a258b0febebca94aad1885f602d6a10a323ab95f))
|
|
349
363
|
|
|
350
364
|
## [2.0.9-rc.0](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/compare/@squiz/resource-browser-v2@2.0.8-rc.0...@squiz/resource-browser-v2@2.0.9-rc.0) (2024-05-13)
|
|
351
365
|
|
|
@@ -389,72 +403,72 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
389
403
|
|
|
390
404
|
### Patch Changes
|
|
391
405
|
|
|
392
|
-
-
|
|
406
|
+
- 9e4cad8: Fixed minor issue with finding best matched lineage in resource browser
|
|
393
407
|
|
|
394
408
|
## 1.67.0
|
|
395
409
|
|
|
396
410
|
### Minor Changes
|
|
397
411
|
|
|
398
|
-
-
|
|
412
|
+
- 5fa9b39: Updated resource browser to allow replacing the previously selected resource. Replacing will open the resource browser to the location where the resource resides.
|
|
399
413
|
|
|
400
414
|
### Patch Changes
|
|
401
415
|
|
|
402
|
-
-
|
|
403
|
-
-
|
|
404
|
-
-
|
|
405
|
-
-
|
|
416
|
+
- Updated dependencies [5fa9b39]
|
|
417
|
+
- Updated dependencies [5fa9b39]
|
|
418
|
+
- @squiz/dx-json-schema-lib@1.67.0
|
|
419
|
+
- @squiz/generic-browser-lib@1.66.0
|
|
406
420
|
|
|
407
421
|
## 1.66.3
|
|
408
422
|
|
|
409
423
|
### Patch Changes
|
|
410
424
|
|
|
411
|
-
-
|
|
425
|
+
- 8421756: Selected image assets in the resource browser will now display the actual image instead of just the image asset icon if they have a URL specified
|
|
412
426
|
|
|
413
427
|
## 1.66.2
|
|
414
428
|
|
|
415
429
|
### Patch Changes
|
|
416
430
|
|
|
417
|
-
-
|
|
431
|
+
- 6d41052: Added white background to resource picker input to avoid it inheriting the background colour of its parent element.
|
|
418
432
|
|
|
419
433
|
## 1.66.1
|
|
420
434
|
|
|
421
435
|
### Patch Changes
|
|
422
436
|
|
|
423
|
-
-
|
|
424
|
-
|
|
437
|
+
- 81c7cba: Image asset previews will now display the image if there is a URL in the returned resource data
|
|
438
|
+
Also fixes a bug around the selected resource name not having break-word applied so the filename was not wrapping as expected
|
|
425
439
|
|
|
426
440
|
## 1.66.0
|
|
427
441
|
|
|
428
442
|
### Minor Changes
|
|
429
443
|
|
|
430
|
-
-
|
|
444
|
+
- 5032c38: Added content page asset icon.
|
|
431
445
|
|
|
432
446
|
### Patch Changes
|
|
433
447
|
|
|
434
|
-
-
|
|
435
|
-
-
|
|
448
|
+
- Updated dependencies [5032c38]
|
|
449
|
+
- @squiz/generic-browser-lib@1.65.0
|
|
436
450
|
|
|
437
451
|
## 1.65.0
|
|
438
452
|
|
|
439
453
|
### Minor Changes
|
|
440
454
|
|
|
441
|
-
-
|
|
455
|
+
- ac68ec6: Unpinned Squiz dependencies, they should now be following semver.
|
|
442
456
|
|
|
443
457
|
### Patch Changes
|
|
444
458
|
|
|
445
|
-
-
|
|
446
|
-
-
|
|
459
|
+
- Updated dependencies [ac68ec6]
|
|
460
|
+
- @squiz/dx-json-schema-lib@1.65.0
|
|
447
461
|
|
|
448
462
|
## 1.64.1
|
|
449
463
|
|
|
450
464
|
### Patch Changes
|
|
451
465
|
|
|
452
|
-
-
|
|
453
|
-
-
|
|
454
|
-
-
|
|
466
|
+
- Updated dependencies [e717e6e]
|
|
467
|
+
- @squiz/generic-browser-lib@1.64.0
|
|
468
|
+
- @squiz/dx-json-schema-lib@1.64.0
|
|
455
469
|
|
|
456
470
|
## 1.64.0
|
|
457
471
|
|
|
458
472
|
### Minor Changes
|
|
459
473
|
|
|
460
|
-
-
|
|
474
|
+
- e7d4c0f: Updated disabled styling for component-editing-ui & resource browser
|
package/build.js
CHANGED
package/jest.config.ts
CHANGED
|
@@ -21,9 +21,12 @@ const config: Config = {
|
|
|
21
21
|
testPathIgnorePatterns: ['/lib/', `/node_modules/`],
|
|
22
22
|
maxWorkers: 1,
|
|
23
23
|
moduleNameMapper: {
|
|
24
|
+
// @squiz/sds charts use ESM-only Highcharts packages that Jest cannot parse, use the mock sds ships for this
|
|
25
|
+
'^@highcharts/react(/.*)?$': '<rootDir>/../../node_modules/@squiz/sds/dist/cjs/Testing/Mocks/highcharts-react.js',
|
|
24
26
|
'^.+\\.(css|scss)$': '<rootDir>/src/__mocks__/styleMock.ts',
|
|
25
27
|
'^@squiz/resource-browser-ui-lib$': '<rootDir>/../resource-browser-ui-lib/src/index',
|
|
26
28
|
},
|
|
29
|
+
setupFiles: ['<rootDir>/src/__mocks__/jestPolyfills.ts'],
|
|
27
30
|
setupFilesAfterEnv: ['@testing-library/jest-dom/extend-expect'],
|
|
28
31
|
};
|
|
29
32
|
|
|
@@ -15,14 +15,25 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.default = BrowseToSource;
|
|
26
37
|
const react_1 = __importStar(require("react"));
|
|
27
38
|
const generic_browser_lib_1 = require("@squiz/generic-browser-lib");
|
|
28
39
|
const react_aria_1 = require("react-aria");
|
|
@@ -73,4 +84,3 @@ function BrowseToSource({ sources, selectedSource, onSourceSelect, className = '
|
|
|
73
84
|
isSelectedSource && (react_1.default.createElement(generic_browser_lib_1.Icon, { icon: 'selected', "aria-label": "selected", className: "absolute right-4" })))));
|
|
74
85
|
}))))));
|
|
75
86
|
}
|
|
76
|
-
exports.default = BrowseToSource;
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
package/lib/Plugin/Plugin.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.PluginRender = void 0;
|
|
27
37
|
const react_1 = __importStar(require("react"));
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.AuthProvider = exports.useAuthContext = exports.AuthContext = void 0;
|
|
27
37
|
const react_1 = __importStar(require("react"));
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -15,14 +15,25 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.default = SourceDropdown;
|
|
26
37
|
const react_1 = __importStar(require("react"));
|
|
27
38
|
const generic_browser_lib_1 = require("@squiz/generic-browser-lib");
|
|
28
39
|
const react_aria_1 = require("react-aria");
|
|
@@ -69,4 +80,3 @@ function SourceDropdown({ sources, selectedSource, onSourceSelect, }) {
|
|
|
69
80
|
isSelectedSource && (react_1.default.createElement(generic_browser_lib_1.Icon, { icon: 'selected', "aria-label": "selected", className: "absolute right-4" })))));
|
|
70
81
|
}))));
|
|
71
82
|
}
|
|
72
|
-
exports.default = SourceDropdown;
|