@licklist/design 0.72.72-dev.2 → 0.72.72-dev.3
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/auth/Router.d.ts.map +1 -1
- package/dist/auth/Router.js +18 -14
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -3
- package/package.json +1 -1
- package/src/auth/Router.tsx +19 -19
- package/src/index.ts +0 -1
- package/yarn.lock +120 -120
- package/dist/header/BookeditHeader.d.ts +0 -12
- package/dist/header/BookeditHeader.d.ts.map +0 -1
- package/dist/header/BookeditHeader.js +0 -21
- package/dist/header/Header.d.ts +0 -24
- package/dist/header/Header.d.ts.map +0 -1
- package/dist/header/Header.js +0 -81
- package/dist/header/elements/CompanySelector.d.ts +0 -11
- package/dist/header/elements/CompanySelector.d.ts.map +0 -1
- package/dist/header/elements/CompanySelector.js +0 -36
- package/dist/header/elements/index.d.ts +0 -3
- package/dist/header/elements/index.d.ts.map +0 -1
- package/dist/header/index.d.ts +0 -6
- package/dist/header/index.d.ts.map +0 -1
- package/src/header/BookeditHeader.tsx +0 -34
- package/src/header/Header.stories.tsx +0 -72
- package/src/header/Header.tsx +0 -107
- package/src/header/elements/CompanySelector.tsx +0 -47
- package/src/header/elements/Elements.stories.tsx +0 -33
- package/src/header/elements/index.ts +0 -3
- package/src/header/index.ts +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Router.d.ts","sourceRoot":"","sources":["../../src/auth/Router.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"Router.d.ts","sourceRoot":"","sources":["../../src/auth/Router.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIjC,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAA;CACnC;AAED,iBAAS,MAAM,CAAC,KAAK,EAAE,WAAW,2CA0BjC;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
package/dist/auth/Router.js
CHANGED
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { useEffect } from 'react';
|
|
3
2
|
import { Router as Router$1 } from 'react-router-dom';
|
|
4
|
-
import App from '@licklist/plugins/dist/services/App/App';
|
|
5
3
|
import history from '@licklist/plugins/dist/services/History/History';
|
|
6
4
|
|
|
7
5
|
function Router(props) {
|
|
8
6
|
var children = props.children;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
7
|
+
// uncomment if necessary to debug history
|
|
8
|
+
// useEffect(() => {
|
|
9
|
+
// if (App.isDevelopment()) {
|
|
10
|
+
// console.info('initial history is: ', JSON.stringify(history, null, 2))
|
|
11
|
+
// history.listen((location, action) => {
|
|
12
|
+
// if (!location) {
|
|
13
|
+
// return
|
|
14
|
+
// }
|
|
15
|
+
// console.info(
|
|
16
|
+
// `The current URL is ${location.pathname}${location.search}${location.hash}`,
|
|
17
|
+
// )
|
|
18
|
+
// console.info(
|
|
19
|
+
// `The last navigation action was ${action}`,
|
|
20
|
+
// JSON.stringify(history, null, 2),
|
|
21
|
+
// )
|
|
22
|
+
// })
|
|
23
|
+
// }
|
|
24
|
+
// }, [])
|
|
21
25
|
// TODO fix issue react router types
|
|
22
26
|
// @ts-expect-error
|
|
23
27
|
return /*#__PURE__*/ jsx(Router$1, {
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,2BAA2B,CAAA;AACzC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,2BAA2B,CAAA;AACzC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,oBAAoB,CAAA;AAClC,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,wBAAwB,CAAA;AACtC,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,YAAY,CAAA;AAC1B,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -29,9 +29,6 @@ export { EventCardSkeleton } from './events/event-card/EventCardSkeleton.js';
|
|
|
29
29
|
export { EventStatisticModal } from './events/event-statistic-modal/EventStatisticModal.js';
|
|
30
30
|
export { EventVenueMap } from './events/event-venue-map/EventVenueMap.js';
|
|
31
31
|
export { FileUpload } from './file-upload/FileUpload.js';
|
|
32
|
-
export { default as BookeditHeader } from './header/BookeditHeader.js';
|
|
33
|
-
export { default as Header } from './header/Header.js';
|
|
34
|
-
export { default as CompanySelector } from './header/elements/CompanySelector.js';
|
|
35
32
|
export { Example, ExampleContent, ExampleToggle } from './help/example/Example.js';
|
|
36
33
|
export { HelpPopover } from './help/popover/HelpPopover.js';
|
|
37
34
|
export { EventBookingForm } from './iframe/event/event-booking-form/EventBookingForm.js';
|
package/package.json
CHANGED
package/src/auth/Router.tsx
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ReactNode
|
|
1
|
+
import { ReactNode } from 'react'
|
|
2
2
|
import { Router as BrowserRouter } from 'react-router-dom'
|
|
3
|
-
import App from '@licklist/plugins/dist/services/App/App'
|
|
4
3
|
import history from '@licklist/plugins/dist/services/History/History'
|
|
5
4
|
|
|
6
5
|
export interface RouterProps {
|
|
@@ -10,24 +9,25 @@ export interface RouterProps {
|
|
|
10
9
|
function Router(props: RouterProps) {
|
|
11
10
|
const { children } = props
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
// uncomment if necessary to debug history
|
|
13
|
+
// useEffect(() => {
|
|
14
|
+
// if (App.isDevelopment()) {
|
|
15
|
+
// console.info('initial history is: ', JSON.stringify(history, null, 2))
|
|
16
|
+
// history.listen((location, action) => {
|
|
17
|
+
// if (!location) {
|
|
18
|
+
// return
|
|
19
|
+
// }
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}, [])
|
|
21
|
+
// console.info(
|
|
22
|
+
// `The current URL is ${location.pathname}${location.search}${location.hash}`,
|
|
23
|
+
// )
|
|
24
|
+
// console.info(
|
|
25
|
+
// `The last navigation action was ${action}`,
|
|
26
|
+
// JSON.stringify(history, null, 2),
|
|
27
|
+
// )
|
|
28
|
+
// })
|
|
29
|
+
// }
|
|
30
|
+
// }, [])
|
|
31
31
|
|
|
32
32
|
// TODO fix issue react router types
|
|
33
33
|
// @ts-expect-error
|
package/src/index.ts
CHANGED
package/yarn.lock
CHANGED
|
@@ -3165,13 +3165,13 @@ __metadata:
|
|
|
3165
3165
|
linkType: hard
|
|
3166
3166
|
|
|
3167
3167
|
"@react-aria/ssr@npm:^3.1.0":
|
|
3168
|
-
version: 3.9.
|
|
3169
|
-
resolution: "@react-aria/ssr@npm:3.9.
|
|
3168
|
+
version: 3.9.8
|
|
3169
|
+
resolution: "@react-aria/ssr@npm:3.9.8"
|
|
3170
3170
|
dependencies:
|
|
3171
3171
|
"@swc/helpers": "npm:^0.5.0"
|
|
3172
3172
|
peerDependencies:
|
|
3173
3173
|
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1
|
|
3174
|
-
checksum: 10c0/
|
|
3174
|
+
checksum: 10c0/848cac34f8584477ab6c91686ab447c7f7eee997e0b1771cc71298d15a4dd0400ce7b899ad8c1603a72d59a72f24a390964133693a3ba602828801d4dacc3f45
|
|
3175
3175
|
languageName: node
|
|
3176
3176
|
linkType: hard
|
|
3177
3177
|
|
|
@@ -3191,22 +3191,22 @@ __metadata:
|
|
|
3191
3191
|
linkType: hard
|
|
3192
3192
|
|
|
3193
3193
|
"@react-stately/utils@npm:^3.2.2":
|
|
3194
|
-
version: 3.10.
|
|
3195
|
-
resolution: "@react-stately/utils@npm:3.10.
|
|
3194
|
+
version: 3.10.6
|
|
3195
|
+
resolution: "@react-stately/utils@npm:3.10.6"
|
|
3196
3196
|
dependencies:
|
|
3197
3197
|
"@swc/helpers": "npm:^0.5.0"
|
|
3198
3198
|
peerDependencies:
|
|
3199
3199
|
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1
|
|
3200
|
-
checksum: 10c0/
|
|
3200
|
+
checksum: 10c0/09403746285a3866765c04bed5f2505e0bdbb971bdeb2eedee31ebf5bad3d0c0c0cef9d0dd5852fc6c58f6b552cbc90364eb32403245dfc04dc22c5e2fbfbe32
|
|
3201
3201
|
languageName: node
|
|
3202
3202
|
linkType: hard
|
|
3203
3203
|
|
|
3204
3204
|
"@react-types/shared@npm:^3.9.0":
|
|
3205
|
-
version: 3.
|
|
3206
|
-
resolution: "@react-types/shared@npm:3.
|
|
3205
|
+
version: 3.29.0
|
|
3206
|
+
resolution: "@react-types/shared@npm:3.29.0"
|
|
3207
3207
|
peerDependencies:
|
|
3208
3208
|
react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1
|
|
3209
|
-
checksum: 10c0/
|
|
3209
|
+
checksum: 10c0/a629e4fe9ce9062de603a1e01ae90a999b07f1367143f3b66921c8a0c8e59d90a528263be74d930162ed4a78a725a253c48b6f3b00a85767549e86cac4cc8218
|
|
3210
3210
|
languageName: node
|
|
3211
3211
|
linkType: hard
|
|
3212
3212
|
|
|
@@ -3303,142 +3303,142 @@ __metadata:
|
|
|
3303
3303
|
languageName: node
|
|
3304
3304
|
linkType: hard
|
|
3305
3305
|
|
|
3306
|
-
"@rollup/rollup-android-arm-eabi@npm:4.
|
|
3307
|
-
version: 4.
|
|
3308
|
-
resolution: "@rollup/rollup-android-arm-eabi@npm:4.
|
|
3306
|
+
"@rollup/rollup-android-arm-eabi@npm:4.40.0":
|
|
3307
|
+
version: 4.40.0
|
|
3308
|
+
resolution: "@rollup/rollup-android-arm-eabi@npm:4.40.0"
|
|
3309
3309
|
conditions: os=android & cpu=arm
|
|
3310
3310
|
languageName: node
|
|
3311
3311
|
linkType: hard
|
|
3312
3312
|
|
|
3313
|
-
"@rollup/rollup-android-arm64@npm:4.
|
|
3314
|
-
version: 4.
|
|
3315
|
-
resolution: "@rollup/rollup-android-arm64@npm:4.
|
|
3313
|
+
"@rollup/rollup-android-arm64@npm:4.40.0":
|
|
3314
|
+
version: 4.40.0
|
|
3315
|
+
resolution: "@rollup/rollup-android-arm64@npm:4.40.0"
|
|
3316
3316
|
conditions: os=android & cpu=arm64
|
|
3317
3317
|
languageName: node
|
|
3318
3318
|
linkType: hard
|
|
3319
3319
|
|
|
3320
|
-
"@rollup/rollup-darwin-arm64@npm:4.
|
|
3321
|
-
version: 4.
|
|
3322
|
-
resolution: "@rollup/rollup-darwin-arm64@npm:4.
|
|
3320
|
+
"@rollup/rollup-darwin-arm64@npm:4.40.0":
|
|
3321
|
+
version: 4.40.0
|
|
3322
|
+
resolution: "@rollup/rollup-darwin-arm64@npm:4.40.0"
|
|
3323
3323
|
conditions: os=darwin & cpu=arm64
|
|
3324
3324
|
languageName: node
|
|
3325
3325
|
linkType: hard
|
|
3326
3326
|
|
|
3327
|
-
"@rollup/rollup-darwin-x64@npm:4.
|
|
3328
|
-
version: 4.
|
|
3329
|
-
resolution: "@rollup/rollup-darwin-x64@npm:4.
|
|
3327
|
+
"@rollup/rollup-darwin-x64@npm:4.40.0":
|
|
3328
|
+
version: 4.40.0
|
|
3329
|
+
resolution: "@rollup/rollup-darwin-x64@npm:4.40.0"
|
|
3330
3330
|
conditions: os=darwin & cpu=x64
|
|
3331
3331
|
languageName: node
|
|
3332
3332
|
linkType: hard
|
|
3333
3333
|
|
|
3334
|
-
"@rollup/rollup-freebsd-arm64@npm:4.
|
|
3335
|
-
version: 4.
|
|
3336
|
-
resolution: "@rollup/rollup-freebsd-arm64@npm:4.
|
|
3334
|
+
"@rollup/rollup-freebsd-arm64@npm:4.40.0":
|
|
3335
|
+
version: 4.40.0
|
|
3336
|
+
resolution: "@rollup/rollup-freebsd-arm64@npm:4.40.0"
|
|
3337
3337
|
conditions: os=freebsd & cpu=arm64
|
|
3338
3338
|
languageName: node
|
|
3339
3339
|
linkType: hard
|
|
3340
3340
|
|
|
3341
|
-
"@rollup/rollup-freebsd-x64@npm:4.
|
|
3342
|
-
version: 4.
|
|
3343
|
-
resolution: "@rollup/rollup-freebsd-x64@npm:4.
|
|
3341
|
+
"@rollup/rollup-freebsd-x64@npm:4.40.0":
|
|
3342
|
+
version: 4.40.0
|
|
3343
|
+
resolution: "@rollup/rollup-freebsd-x64@npm:4.40.0"
|
|
3344
3344
|
conditions: os=freebsd & cpu=x64
|
|
3345
3345
|
languageName: node
|
|
3346
3346
|
linkType: hard
|
|
3347
3347
|
|
|
3348
|
-
"@rollup/rollup-linux-arm-gnueabihf@npm:4.
|
|
3349
|
-
version: 4.
|
|
3350
|
-
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.
|
|
3348
|
+
"@rollup/rollup-linux-arm-gnueabihf@npm:4.40.0":
|
|
3349
|
+
version: 4.40.0
|
|
3350
|
+
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.40.0"
|
|
3351
3351
|
conditions: os=linux & cpu=arm & libc=glibc
|
|
3352
3352
|
languageName: node
|
|
3353
3353
|
linkType: hard
|
|
3354
3354
|
|
|
3355
|
-
"@rollup/rollup-linux-arm-musleabihf@npm:4.
|
|
3356
|
-
version: 4.
|
|
3357
|
-
resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.
|
|
3355
|
+
"@rollup/rollup-linux-arm-musleabihf@npm:4.40.0":
|
|
3356
|
+
version: 4.40.0
|
|
3357
|
+
resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.40.0"
|
|
3358
3358
|
conditions: os=linux & cpu=arm & libc=musl
|
|
3359
3359
|
languageName: node
|
|
3360
3360
|
linkType: hard
|
|
3361
3361
|
|
|
3362
|
-
"@rollup/rollup-linux-arm64-gnu@npm:4.
|
|
3363
|
-
version: 4.
|
|
3364
|
-
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.
|
|
3362
|
+
"@rollup/rollup-linux-arm64-gnu@npm:4.40.0":
|
|
3363
|
+
version: 4.40.0
|
|
3364
|
+
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.40.0"
|
|
3365
3365
|
conditions: os=linux & cpu=arm64 & libc=glibc
|
|
3366
3366
|
languageName: node
|
|
3367
3367
|
linkType: hard
|
|
3368
3368
|
|
|
3369
|
-
"@rollup/rollup-linux-arm64-musl@npm:4.
|
|
3370
|
-
version: 4.
|
|
3371
|
-
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.
|
|
3369
|
+
"@rollup/rollup-linux-arm64-musl@npm:4.40.0":
|
|
3370
|
+
version: 4.40.0
|
|
3371
|
+
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.40.0"
|
|
3372
3372
|
conditions: os=linux & cpu=arm64 & libc=musl
|
|
3373
3373
|
languageName: node
|
|
3374
3374
|
linkType: hard
|
|
3375
3375
|
|
|
3376
|
-
"@rollup/rollup-linux-loongarch64-gnu@npm:4.
|
|
3377
|
-
version: 4.
|
|
3378
|
-
resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.
|
|
3376
|
+
"@rollup/rollup-linux-loongarch64-gnu@npm:4.40.0":
|
|
3377
|
+
version: 4.40.0
|
|
3378
|
+
resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.40.0"
|
|
3379
3379
|
conditions: os=linux & cpu=loong64 & libc=glibc
|
|
3380
3380
|
languageName: node
|
|
3381
3381
|
linkType: hard
|
|
3382
3382
|
|
|
3383
|
-
"@rollup/rollup-linux-powerpc64le-gnu@npm:4.
|
|
3384
|
-
version: 4.
|
|
3385
|
-
resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.
|
|
3383
|
+
"@rollup/rollup-linux-powerpc64le-gnu@npm:4.40.0":
|
|
3384
|
+
version: 4.40.0
|
|
3385
|
+
resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.40.0"
|
|
3386
3386
|
conditions: os=linux & cpu=ppc64 & libc=glibc
|
|
3387
3387
|
languageName: node
|
|
3388
3388
|
linkType: hard
|
|
3389
3389
|
|
|
3390
|
-
"@rollup/rollup-linux-riscv64-gnu@npm:4.
|
|
3391
|
-
version: 4.
|
|
3392
|
-
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.
|
|
3390
|
+
"@rollup/rollup-linux-riscv64-gnu@npm:4.40.0":
|
|
3391
|
+
version: 4.40.0
|
|
3392
|
+
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.40.0"
|
|
3393
3393
|
conditions: os=linux & cpu=riscv64 & libc=glibc
|
|
3394
3394
|
languageName: node
|
|
3395
3395
|
linkType: hard
|
|
3396
3396
|
|
|
3397
|
-
"@rollup/rollup-linux-riscv64-musl@npm:4.
|
|
3398
|
-
version: 4.
|
|
3399
|
-
resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.
|
|
3397
|
+
"@rollup/rollup-linux-riscv64-musl@npm:4.40.0":
|
|
3398
|
+
version: 4.40.0
|
|
3399
|
+
resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.40.0"
|
|
3400
3400
|
conditions: os=linux & cpu=riscv64 & libc=musl
|
|
3401
3401
|
languageName: node
|
|
3402
3402
|
linkType: hard
|
|
3403
3403
|
|
|
3404
|
-
"@rollup/rollup-linux-s390x-gnu@npm:4.
|
|
3405
|
-
version: 4.
|
|
3406
|
-
resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.
|
|
3404
|
+
"@rollup/rollup-linux-s390x-gnu@npm:4.40.0":
|
|
3405
|
+
version: 4.40.0
|
|
3406
|
+
resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.40.0"
|
|
3407
3407
|
conditions: os=linux & cpu=s390x & libc=glibc
|
|
3408
3408
|
languageName: node
|
|
3409
3409
|
linkType: hard
|
|
3410
3410
|
|
|
3411
|
-
"@rollup/rollup-linux-x64-gnu@npm:4.
|
|
3412
|
-
version: 4.
|
|
3413
|
-
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.
|
|
3411
|
+
"@rollup/rollup-linux-x64-gnu@npm:4.40.0":
|
|
3412
|
+
version: 4.40.0
|
|
3413
|
+
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.40.0"
|
|
3414
3414
|
conditions: os=linux & cpu=x64 & libc=glibc
|
|
3415
3415
|
languageName: node
|
|
3416
3416
|
linkType: hard
|
|
3417
3417
|
|
|
3418
|
-
"@rollup/rollup-linux-x64-musl@npm:4.
|
|
3419
|
-
version: 4.
|
|
3420
|
-
resolution: "@rollup/rollup-linux-x64-musl@npm:4.
|
|
3418
|
+
"@rollup/rollup-linux-x64-musl@npm:4.40.0":
|
|
3419
|
+
version: 4.40.0
|
|
3420
|
+
resolution: "@rollup/rollup-linux-x64-musl@npm:4.40.0"
|
|
3421
3421
|
conditions: os=linux & cpu=x64 & libc=musl
|
|
3422
3422
|
languageName: node
|
|
3423
3423
|
linkType: hard
|
|
3424
3424
|
|
|
3425
|
-
"@rollup/rollup-win32-arm64-msvc@npm:4.
|
|
3426
|
-
version: 4.
|
|
3427
|
-
resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.
|
|
3425
|
+
"@rollup/rollup-win32-arm64-msvc@npm:4.40.0":
|
|
3426
|
+
version: 4.40.0
|
|
3427
|
+
resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.40.0"
|
|
3428
3428
|
conditions: os=win32 & cpu=arm64
|
|
3429
3429
|
languageName: node
|
|
3430
3430
|
linkType: hard
|
|
3431
3431
|
|
|
3432
|
-
"@rollup/rollup-win32-ia32-msvc@npm:4.
|
|
3433
|
-
version: 4.
|
|
3434
|
-
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.
|
|
3432
|
+
"@rollup/rollup-win32-ia32-msvc@npm:4.40.0":
|
|
3433
|
+
version: 4.40.0
|
|
3434
|
+
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.40.0"
|
|
3435
3435
|
conditions: os=win32 & cpu=ia32
|
|
3436
3436
|
languageName: node
|
|
3437
3437
|
linkType: hard
|
|
3438
3438
|
|
|
3439
|
-
"@rollup/rollup-win32-x64-msvc@npm:4.
|
|
3440
|
-
version: 4.
|
|
3441
|
-
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.
|
|
3439
|
+
"@rollup/rollup-win32-x64-msvc@npm:4.40.0":
|
|
3440
|
+
version: 4.40.0
|
|
3441
|
+
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.40.0"
|
|
3442
3442
|
conditions: os=win32 & cpu=x64
|
|
3443
3443
|
languageName: node
|
|
3444
3444
|
linkType: hard
|
|
@@ -5092,11 +5092,11 @@ __metadata:
|
|
|
5092
5092
|
linkType: hard
|
|
5093
5093
|
|
|
5094
5094
|
"@swc/helpers@npm:^0.5.0":
|
|
5095
|
-
version: 0.5.
|
|
5096
|
-
resolution: "@swc/helpers@npm:0.5.
|
|
5095
|
+
version: 0.5.17
|
|
5096
|
+
resolution: "@swc/helpers@npm:0.5.17"
|
|
5097
5097
|
dependencies:
|
|
5098
5098
|
tslib: "npm:^2.8.0"
|
|
5099
|
-
checksum: 10c0/
|
|
5099
|
+
checksum: 10c0/fe1f33ebb968558c5a0c595e54f2e479e4609bff844f9ca9a2d1ffd8dd8504c26f862a11b031f48f75c95b0381c2966c3dd156e25942f90089badd24341e7dbb
|
|
5100
5100
|
languageName: node
|
|
5101
5101
|
linkType: hard
|
|
5102
5102
|
|
|
@@ -5699,11 +5699,11 @@ __metadata:
|
|
|
5699
5699
|
linkType: hard
|
|
5700
5700
|
|
|
5701
5701
|
"@types/node@npm:*":
|
|
5702
|
-
version: 22.14.
|
|
5703
|
-
resolution: "@types/node@npm:22.14.
|
|
5702
|
+
version: 22.14.1
|
|
5703
|
+
resolution: "@types/node@npm:22.14.1"
|
|
5704
5704
|
dependencies:
|
|
5705
5705
|
undici-types: "npm:~6.21.0"
|
|
5706
|
-
checksum: 10c0/
|
|
5706
|
+
checksum: 10c0/d49c4d00403b1c2348cf0701b505fd636d80aabe18102105998dc62fdd36dcaf911e73c7a868c48c21c1022b825c67b475b65b1222d84b704d8244d152bb7f86
|
|
5707
5707
|
languageName: node
|
|
5708
5708
|
linkType: hard
|
|
5709
5709
|
|
|
@@ -6530,9 +6530,9 @@ __metadata:
|
|
|
6530
6530
|
linkType: hard
|
|
6531
6531
|
|
|
6532
6532
|
"abbrev@npm:^3.0.0":
|
|
6533
|
-
version: 3.0.
|
|
6534
|
-
resolution: "abbrev@npm:3.0.
|
|
6535
|
-
checksum: 10c0/
|
|
6533
|
+
version: 3.0.1
|
|
6534
|
+
resolution: "abbrev@npm:3.0.1"
|
|
6535
|
+
checksum: 10c0/21ba8f574ea57a3106d6d35623f2c4a9111d9ee3e9a5be47baed46ec2457d2eac46e07a5c4a60186f88cb98abbe3e24f2d4cca70bc2b12f1692523e2209a9ccf
|
|
6536
6536
|
languageName: node
|
|
6537
6537
|
linkType: hard
|
|
6538
6538
|
|
|
@@ -8078,9 +8078,9 @@ __metadata:
|
|
|
8078
8078
|
linkType: hard
|
|
8079
8079
|
|
|
8080
8080
|
"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001109, caniuse-lite@npm:^1.0.30001125, caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001688":
|
|
8081
|
-
version: 1.0.
|
|
8082
|
-
resolution: "caniuse-lite@npm:1.0.
|
|
8083
|
-
checksum: 10c0/
|
|
8081
|
+
version: 1.0.30001713
|
|
8082
|
+
resolution: "caniuse-lite@npm:1.0.30001713"
|
|
8083
|
+
checksum: 10c0/f5468abfe73ce30e29cc8bde2ea67df2aab69032bdd93345e0640efefb76b7901c84fe1d28d591a797e65fe52fc24cae97060bb5552f9f9740322aff95ce2f9d
|
|
8084
8084
|
languageName: node
|
|
8085
8085
|
linkType: hard
|
|
8086
8086
|
|
|
@@ -9867,9 +9867,9 @@ __metadata:
|
|
|
9867
9867
|
linkType: hard
|
|
9868
9868
|
|
|
9869
9869
|
"electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.5.73":
|
|
9870
|
-
version: 1.5.
|
|
9871
|
-
resolution: "electron-to-chromium@npm:1.5.
|
|
9872
|
-
checksum: 10c0/
|
|
9870
|
+
version: 1.5.136
|
|
9871
|
+
resolution: "electron-to-chromium@npm:1.5.136"
|
|
9872
|
+
checksum: 10c0/6a207e397638b0428b31c87d409a73f6bd953598cb7359ee4c3c175e645c3ae0cc99fc5128eaca19e2f1052200fd016eb4bb1012a55e5824eb1dce85b0396184
|
|
9873
9873
|
languageName: node
|
|
9874
9874
|
linkType: hard
|
|
9875
9875
|
|
|
@@ -16897,13 +16897,13 @@ __metadata:
|
|
|
16897
16897
|
linkType: hard
|
|
16898
16898
|
|
|
16899
16899
|
"prosemirror-commands@npm:^1.0.0, prosemirror-commands@npm:^1.2.1, prosemirror-commands@npm:^1.3.1":
|
|
16900
|
-
version: 1.7.
|
|
16901
|
-
resolution: "prosemirror-commands@npm:1.7.
|
|
16900
|
+
version: 1.7.1
|
|
16901
|
+
resolution: "prosemirror-commands@npm:1.7.1"
|
|
16902
16902
|
dependencies:
|
|
16903
16903
|
prosemirror-model: "npm:^1.0.0"
|
|
16904
16904
|
prosemirror-state: "npm:^1.0.0"
|
|
16905
16905
|
prosemirror-transform: "npm:^1.10.2"
|
|
16906
|
-
checksum: 10c0/
|
|
16906
|
+
checksum: 10c0/4884ea7a66b79b51e72bb2ef358284d70e9a071deb4cbfab3dd8ee3449e9a0e34cb391d92f487c013d3716b823fc5568ad5e409a9444b3630ae0b87617c2fca1
|
|
16907
16907
|
languageName: node
|
|
16908
16908
|
linkType: hard
|
|
16909
16909
|
|
|
@@ -16985,7 +16985,7 @@ __metadata:
|
|
|
16985
16985
|
languageName: node
|
|
16986
16986
|
linkType: hard
|
|
16987
16987
|
|
|
16988
|
-
"prosemirror-model@npm:^1.0.0, prosemirror-model@npm:^1.16.1, prosemirror-model@npm:^1.18.1, prosemirror-model@npm:^1.20.0, prosemirror-model@npm:^1.21.0, prosemirror-model@npm:^1.
|
|
16988
|
+
"prosemirror-model@npm:^1.0.0, prosemirror-model@npm:^1.16.1, prosemirror-model@npm:^1.18.1, prosemirror-model@npm:^1.20.0, prosemirror-model@npm:^1.21.0, prosemirror-model@npm:^1.25.0":
|
|
16989
16989
|
version: 1.25.0
|
|
16990
16990
|
resolution: "prosemirror-model@npm:1.25.0"
|
|
16991
16991
|
dependencies:
|
|
@@ -17026,15 +17026,15 @@ __metadata:
|
|
|
17026
17026
|
linkType: hard
|
|
17027
17027
|
|
|
17028
17028
|
"prosemirror-tables@npm:^1.3.0":
|
|
17029
|
-
version: 1.
|
|
17030
|
-
resolution: "prosemirror-tables@npm:1.
|
|
17029
|
+
version: 1.7.0
|
|
17030
|
+
resolution: "prosemirror-tables@npm:1.7.0"
|
|
17031
17031
|
dependencies:
|
|
17032
17032
|
prosemirror-keymap: "npm:^1.2.2"
|
|
17033
|
-
prosemirror-model: "npm:^1.
|
|
17033
|
+
prosemirror-model: "npm:^1.25.0"
|
|
17034
17034
|
prosemirror-state: "npm:^1.4.3"
|
|
17035
|
-
prosemirror-transform: "npm:^1.10.
|
|
17036
|
-
prosemirror-view: "npm:^1.
|
|
17037
|
-
checksum: 10c0/
|
|
17035
|
+
prosemirror-transform: "npm:^1.10.3"
|
|
17036
|
+
prosemirror-view: "npm:^1.39.1"
|
|
17037
|
+
checksum: 10c0/e4c42234761a53d7de010c34cc2aa7261e24757d5fdab69a27ee026ac3b33b6eede941d7f82ac3328919259e50f25f835c5a54cd4a6af3c2fd2d8d249e0888ea
|
|
17038
17038
|
languageName: node
|
|
17039
17039
|
linkType: hard
|
|
17040
17040
|
|
|
@@ -17052,7 +17052,7 @@ __metadata:
|
|
|
17052
17052
|
languageName: node
|
|
17053
17053
|
linkType: hard
|
|
17054
17054
|
|
|
17055
|
-
"prosemirror-transform@npm:^1.0.0, prosemirror-transform@npm:^1.1.0, prosemirror-transform@npm:^1.10.2, prosemirror-transform@npm:^1.3.3, prosemirror-transform@npm:^1.7.0, prosemirror-transform@npm:^1.7.3":
|
|
17055
|
+
"prosemirror-transform@npm:^1.0.0, prosemirror-transform@npm:^1.1.0, prosemirror-transform@npm:^1.10.2, prosemirror-transform@npm:^1.10.3, prosemirror-transform@npm:^1.3.3, prosemirror-transform@npm:^1.7.0, prosemirror-transform@npm:^1.7.3":
|
|
17056
17056
|
version: 1.10.3
|
|
17057
17057
|
resolution: "prosemirror-transform@npm:1.10.3"
|
|
17058
17058
|
dependencies:
|
|
@@ -17061,7 +17061,7 @@ __metadata:
|
|
|
17061
17061
|
languageName: node
|
|
17062
17062
|
linkType: hard
|
|
17063
17063
|
|
|
17064
|
-
"prosemirror-view@npm:^1.0.0, prosemirror-view@npm:^1.1.0, prosemirror-view@npm:^1.23.6, prosemirror-view@npm:^1.27.0, prosemirror-view@npm:^1.28.2, prosemirror-view@npm:^1.31.0, prosemirror-view@npm:^1.
|
|
17064
|
+
"prosemirror-view@npm:^1.0.0, prosemirror-view@npm:^1.1.0, prosemirror-view@npm:^1.23.6, prosemirror-view@npm:^1.27.0, prosemirror-view@npm:^1.28.2, prosemirror-view@npm:^1.31.0, prosemirror-view@npm:^1.39.1":
|
|
17065
17065
|
version: 1.39.1
|
|
17066
17066
|
resolution: "prosemirror-view@npm:1.39.1"
|
|
17067
17067
|
dependencies:
|
|
@@ -18907,29 +18907,29 @@ __metadata:
|
|
|
18907
18907
|
linkType: hard
|
|
18908
18908
|
|
|
18909
18909
|
"rollup@npm:^4.13.0":
|
|
18910
|
-
version: 4.
|
|
18911
|
-
resolution: "rollup@npm:4.
|
|
18912
|
-
dependencies:
|
|
18913
|
-
"@rollup/rollup-android-arm-eabi": "npm:4.
|
|
18914
|
-
"@rollup/rollup-android-arm64": "npm:4.
|
|
18915
|
-
"@rollup/rollup-darwin-arm64": "npm:4.
|
|
18916
|
-
"@rollup/rollup-darwin-x64": "npm:4.
|
|
18917
|
-
"@rollup/rollup-freebsd-arm64": "npm:4.
|
|
18918
|
-
"@rollup/rollup-freebsd-x64": "npm:4.
|
|
18919
|
-
"@rollup/rollup-linux-arm-gnueabihf": "npm:4.
|
|
18920
|
-
"@rollup/rollup-linux-arm-musleabihf": "npm:4.
|
|
18921
|
-
"@rollup/rollup-linux-arm64-gnu": "npm:4.
|
|
18922
|
-
"@rollup/rollup-linux-arm64-musl": "npm:4.
|
|
18923
|
-
"@rollup/rollup-linux-loongarch64-gnu": "npm:4.
|
|
18924
|
-
"@rollup/rollup-linux-powerpc64le-gnu": "npm:4.
|
|
18925
|
-
"@rollup/rollup-linux-riscv64-gnu": "npm:4.
|
|
18926
|
-
"@rollup/rollup-linux-riscv64-musl": "npm:4.
|
|
18927
|
-
"@rollup/rollup-linux-s390x-gnu": "npm:4.
|
|
18928
|
-
"@rollup/rollup-linux-x64-gnu": "npm:4.
|
|
18929
|
-
"@rollup/rollup-linux-x64-musl": "npm:4.
|
|
18930
|
-
"@rollup/rollup-win32-arm64-msvc": "npm:4.
|
|
18931
|
-
"@rollup/rollup-win32-ia32-msvc": "npm:4.
|
|
18932
|
-
"@rollup/rollup-win32-x64-msvc": "npm:4.
|
|
18910
|
+
version: 4.40.0
|
|
18911
|
+
resolution: "rollup@npm:4.40.0"
|
|
18912
|
+
dependencies:
|
|
18913
|
+
"@rollup/rollup-android-arm-eabi": "npm:4.40.0"
|
|
18914
|
+
"@rollup/rollup-android-arm64": "npm:4.40.0"
|
|
18915
|
+
"@rollup/rollup-darwin-arm64": "npm:4.40.0"
|
|
18916
|
+
"@rollup/rollup-darwin-x64": "npm:4.40.0"
|
|
18917
|
+
"@rollup/rollup-freebsd-arm64": "npm:4.40.0"
|
|
18918
|
+
"@rollup/rollup-freebsd-x64": "npm:4.40.0"
|
|
18919
|
+
"@rollup/rollup-linux-arm-gnueabihf": "npm:4.40.0"
|
|
18920
|
+
"@rollup/rollup-linux-arm-musleabihf": "npm:4.40.0"
|
|
18921
|
+
"@rollup/rollup-linux-arm64-gnu": "npm:4.40.0"
|
|
18922
|
+
"@rollup/rollup-linux-arm64-musl": "npm:4.40.0"
|
|
18923
|
+
"@rollup/rollup-linux-loongarch64-gnu": "npm:4.40.0"
|
|
18924
|
+
"@rollup/rollup-linux-powerpc64le-gnu": "npm:4.40.0"
|
|
18925
|
+
"@rollup/rollup-linux-riscv64-gnu": "npm:4.40.0"
|
|
18926
|
+
"@rollup/rollup-linux-riscv64-musl": "npm:4.40.0"
|
|
18927
|
+
"@rollup/rollup-linux-s390x-gnu": "npm:4.40.0"
|
|
18928
|
+
"@rollup/rollup-linux-x64-gnu": "npm:4.40.0"
|
|
18929
|
+
"@rollup/rollup-linux-x64-musl": "npm:4.40.0"
|
|
18930
|
+
"@rollup/rollup-win32-arm64-msvc": "npm:4.40.0"
|
|
18931
|
+
"@rollup/rollup-win32-ia32-msvc": "npm:4.40.0"
|
|
18932
|
+
"@rollup/rollup-win32-x64-msvc": "npm:4.40.0"
|
|
18933
18933
|
"@types/estree": "npm:1.0.7"
|
|
18934
18934
|
fsevents: "npm:~2.3.2"
|
|
18935
18935
|
dependenciesMeta:
|
|
@@ -18977,7 +18977,7 @@ __metadata:
|
|
|
18977
18977
|
optional: true
|
|
18978
18978
|
bin:
|
|
18979
18979
|
rollup: dist/bin/rollup
|
|
18980
|
-
checksum: 10c0/
|
|
18980
|
+
checksum: 10c0/90aa57487d4a9a7de1a47bf42a6091f83f1cb7fe1814650dfec278ab8ddae5736b86535d4c766493517720f334dfd4aa0635405ca8f4f36ed8d3c0f875f2a801
|
|
18981
18981
|
languageName: node
|
|
18982
18982
|
linkType: hard
|
|
18983
18983
|
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { NavigationItem } from './Header';
|
|
3
|
-
interface Props {
|
|
4
|
-
children?: ReactNode | ReactNode[];
|
|
5
|
-
href?: string;
|
|
6
|
-
leftNavs?: ReactNode | ReactNode[];
|
|
7
|
-
navItems?: NavigationItem[];
|
|
8
|
-
renderMobileNavigation?: (navigationItems: NavigationItem[]) => ReactNode;
|
|
9
|
-
}
|
|
10
|
-
declare function BookeditHeader({ children, href, leftNavs, navItems, renderMobileNavigation, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default BookeditHeader;
|
|
12
|
-
//# sourceMappingURL=BookeditHeader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BookeditHeader.d.ts","sourceRoot":"","sources":["../../src/header/BookeditHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGjC,OAAe,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEjD,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAA;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAA;IAClC,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAA;IAC3B,sBAAsB,CAAC,EAAE,CAAC,eAAe,EAAE,cAAc,EAAE,KAAK,SAAS,CAAA;CAC1E;AAED,iBAAS,cAAc,CAAC,EACtB,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,sBAAsB,GACvB,EAAE,KAAK,2CAYP;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { ReactComponent as SvgBookedit } from '../assets/logo/bookedit.svg.js';
|
|
3
|
-
import Logo from '../logo/Logo.js';
|
|
4
|
-
import Header from './Header.js';
|
|
5
|
-
|
|
6
|
-
function BookeditHeader(param) {
|
|
7
|
-
var children = param.children, href = param.href, leftNavs = param.leftNavs, navItems = param.navItems, renderMobileNavigation = param.renderMobileNavigation;
|
|
8
|
-
return /*#__PURE__*/ jsx(Header, {
|
|
9
|
-
logo: /*#__PURE__*/ jsx(Logo, {
|
|
10
|
-
logo: /*#__PURE__*/ jsx(SvgBookedit, {}),
|
|
11
|
-
className: "mt-auto mr-0 mr-sm-3"
|
|
12
|
-
}),
|
|
13
|
-
href: href,
|
|
14
|
-
leftNavs: leftNavs,
|
|
15
|
-
navItems: navItems,
|
|
16
|
-
renderMobileNavigation: renderMobileNavigation,
|
|
17
|
-
children: children
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { BookeditHeader as default };
|
package/dist/header/Header.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export type NavigationItem = {
|
|
3
|
-
href: string;
|
|
4
|
-
label: string;
|
|
5
|
-
pathname: string[];
|
|
6
|
-
} | {
|
|
7
|
-
label: string;
|
|
8
|
-
links: {
|
|
9
|
-
href: string;
|
|
10
|
-
label: string;
|
|
11
|
-
pathname: string[];
|
|
12
|
-
}[];
|
|
13
|
-
};
|
|
14
|
-
type Props = {
|
|
15
|
-
children?: ReactNode | ReactNode[];
|
|
16
|
-
href?: string;
|
|
17
|
-
logo?: ReactNode;
|
|
18
|
-
leftNavs?: ReactNode | ReactNode[];
|
|
19
|
-
navItems?: NavigationItem[];
|
|
20
|
-
renderMobileNavigation?: (navigationItems: NavigationItem[]) => ReactNode;
|
|
21
|
-
};
|
|
22
|
-
declare function Header({ children, href, logo, leftNavs, navItems, renderMobileNavigation, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export default Header;
|
|
24
|
-
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../src/header/Header.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKjC,MAAM,MAAM,cAAc,GACtB;IACE,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,EAAE,CAAA;CACnB,GACD;IACE,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE,MAAM,CAAA;QACb,QAAQ,EAAE,MAAM,EAAE,CAAA;KACnB,EAAE,CAAA;CACJ,CAAA;AAEL,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAA;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAA;IAClC,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAA;IAC3B,sBAAsB,CAAC,EAAE,CAAC,eAAe,EAAE,cAAc,EAAE,KAAK,SAAS,CAAA;CAC1E,CAAA;AAED,iBAAS,MAAM,CAAC,EACd,QAAQ,EACR,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,sBAAsB,GACvB,EAAE,KAAK,2CAmEP;AAED,eAAe,MAAM,CAAA"}
|
package/dist/header/Header.js
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
-
import { Accordion } from '@mantine/core';
|
|
3
|
-
import Nav from 'react-bootstrap/Nav';
|
|
4
|
-
import Navbar from 'react-bootstrap/Navbar';
|
|
5
|
-
import { NavLink } from 'react-router-dom';
|
|
6
|
-
|
|
7
|
-
function Header(param) {
|
|
8
|
-
var children = param.children, href = param.href, logo = param.logo, leftNavs = param.leftNavs, navItems = param.navItems, renderMobileNavigation = param.renderMobileNavigation;
|
|
9
|
-
return /*#__PURE__*/ jsxs(Navbar, {
|
|
10
|
-
className: "header",
|
|
11
|
-
variant: "light",
|
|
12
|
-
collapseOnSelect: true,
|
|
13
|
-
expand: false,
|
|
14
|
-
bg: "none",
|
|
15
|
-
children: [
|
|
16
|
-
/*#__PURE__*/ jsxs("div", {
|
|
17
|
-
className: "header-logo-container",
|
|
18
|
-
children: [
|
|
19
|
-
/*#__PURE__*/ jsx(Navbar.Brand, {
|
|
20
|
-
href: href,
|
|
21
|
-
className: "p-0",
|
|
22
|
-
children: logo
|
|
23
|
-
}),
|
|
24
|
-
(navItems === null || navItems === void 0 ? void 0 : navItems.length) && /*#__PURE__*/ jsx(Fragment, {
|
|
25
|
-
children: /*#__PURE__*/ jsx(Navbar.Toggle, {
|
|
26
|
-
"aria-controls": "header-navbar-nav",
|
|
27
|
-
className: "d-block d-md-none ml-2 border-0"
|
|
28
|
-
})
|
|
29
|
-
})
|
|
30
|
-
]
|
|
31
|
-
}),
|
|
32
|
-
/*#__PURE__*/ jsx(Nav, {
|
|
33
|
-
className: "mr-auto my-auto",
|
|
34
|
-
children: leftNavs
|
|
35
|
-
}),
|
|
36
|
-
/*#__PURE__*/ jsx("div", {
|
|
37
|
-
className: "user-section ml-3 my-auto",
|
|
38
|
-
children: children
|
|
39
|
-
}),
|
|
40
|
-
(navItems === null || navItems === void 0 ? void 0 : navItems.length) && /*#__PURE__*/ jsx(Navbar.Collapse, {
|
|
41
|
-
id: "header-navbar-nav",
|
|
42
|
-
children: renderMobileNavigation ? renderMobileNavigation(navItems) : /*#__PURE__*/ jsx(Nav, {
|
|
43
|
-
className: "mr-auto",
|
|
44
|
-
children: navItems.map(function(item) {
|
|
45
|
-
if ('links' in item) {
|
|
46
|
-
return /*#__PURE__*/ jsx(Accordion, {
|
|
47
|
-
defaultValue: "Apples",
|
|
48
|
-
children: /*#__PURE__*/ jsxs(Accordion.Item, {
|
|
49
|
-
value: item.label,
|
|
50
|
-
children: [
|
|
51
|
-
/*#__PURE__*/ jsx(Accordion.Control, {
|
|
52
|
-
children: item.label
|
|
53
|
-
}),
|
|
54
|
-
item.links.map(function(subItem) {
|
|
55
|
-
return /*#__PURE__*/ jsx(Accordion.Panel, {
|
|
56
|
-
children: /*#__PURE__*/ jsx(Nav.Item, {
|
|
57
|
-
children: /*#__PURE__*/ jsx(NavLink, {
|
|
58
|
-
exact: true,
|
|
59
|
-
to: subItem.href,
|
|
60
|
-
className: "nav-link",
|
|
61
|
-
children: subItem.label
|
|
62
|
-
})
|
|
63
|
-
}, "".concat(subItem.label, "-").concat(subItem.href))
|
|
64
|
-
}, subItem.href + subItem.label);
|
|
65
|
-
})
|
|
66
|
-
]
|
|
67
|
-
})
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
return /*#__PURE__*/ jsx(Nav.Link, {
|
|
71
|
-
href: item.href,
|
|
72
|
-
children: item.label
|
|
73
|
-
}, "".concat(item.href).concat(item.label));
|
|
74
|
-
})
|
|
75
|
-
})
|
|
76
|
-
})
|
|
77
|
-
]
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export { Header as default };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface CompanySelectorProps {
|
|
2
|
-
value: number;
|
|
3
|
-
list: {
|
|
4
|
-
id: number;
|
|
5
|
-
title: string;
|
|
6
|
-
}[];
|
|
7
|
-
onChange: (e: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
8
|
-
}
|
|
9
|
-
declare function CompanySelector({ value, list, onChange }: CompanySelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default CompanySelector;
|
|
11
|
-
//# sourceMappingURL=CompanySelector.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CompanySelector.d.ts","sourceRoot":"","sources":["../../../src/header/elements/CompanySelector.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACrC,QAAQ,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;CAC5D;AAED,iBAAS,eAAe,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CAmCvE;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { isEmpty } from 'lodash';
|
|
3
|
-
import { Form } from 'react-bootstrap';
|
|
4
|
-
|
|
5
|
-
function CompanySelector(param) {
|
|
6
|
-
var value = param.value, list = param.list, onChange = param.onChange;
|
|
7
|
-
var hasItems = !isEmpty(list);
|
|
8
|
-
var hasOneItem = list.length === 1;
|
|
9
|
-
return /*#__PURE__*/ jsxs("div", {
|
|
10
|
-
className: "header-company-selector-container",
|
|
11
|
-
children: [
|
|
12
|
-
hasOneItem && /*#__PURE__*/ jsx("span", {
|
|
13
|
-
className: "company-selector-item company-selector-item__disabled",
|
|
14
|
-
children: list[0].title
|
|
15
|
-
}),
|
|
16
|
-
hasItems && !hasOneItem && /*#__PURE__*/ jsx(Form.Group, {
|
|
17
|
-
className: "m-0",
|
|
18
|
-
children: /*#__PURE__*/ jsx(Form.Control, {
|
|
19
|
-
className: "header-company-selector",
|
|
20
|
-
defaultValue: value,
|
|
21
|
-
as: "select",
|
|
22
|
-
onChange: onChange,
|
|
23
|
-
children: hasItems && list.map(function(item) {
|
|
24
|
-
return /*#__PURE__*/ jsx("option", {
|
|
25
|
-
className: "company-selector-item",
|
|
26
|
-
value: item.id,
|
|
27
|
-
children: item.title
|
|
28
|
-
}, item.id);
|
|
29
|
-
})
|
|
30
|
-
})
|
|
31
|
-
})
|
|
32
|
-
]
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export { CompanySelector as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/header/elements/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,mBAAmB,CAAA;AAE/C,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
package/dist/header/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/header/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,kBAAkB,CAAA;AAC7C,OAAO,MAAM,MAAM,UAAU,CAAA;AAE7B,cAAc,YAAY,CAAA;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,CAAA;AACjC,YAAY,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react'
|
|
2
|
-
import { ReactComponent as LogoSvg } from '../assets/logo/bookedit.svg'
|
|
3
|
-
import Logo from '../logo/Logo'
|
|
4
|
-
import Header, { NavigationItem } from './Header'
|
|
5
|
-
|
|
6
|
-
interface Props {
|
|
7
|
-
children?: ReactNode | ReactNode[]
|
|
8
|
-
href?: string
|
|
9
|
-
leftNavs?: ReactNode | ReactNode[]
|
|
10
|
-
navItems?: NavigationItem[]
|
|
11
|
-
renderMobileNavigation?: (navigationItems: NavigationItem[]) => ReactNode
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
function BookeditHeader({
|
|
15
|
-
children,
|
|
16
|
-
href,
|
|
17
|
-
leftNavs,
|
|
18
|
-
navItems,
|
|
19
|
-
renderMobileNavigation,
|
|
20
|
-
}: Props) {
|
|
21
|
-
return (
|
|
22
|
-
<Header
|
|
23
|
-
logo={<Logo logo={<LogoSvg />} className='mt-auto mr-0 mr-sm-3' />}
|
|
24
|
-
href={href}
|
|
25
|
-
leftNavs={leftNavs}
|
|
26
|
-
navItems={navItems}
|
|
27
|
-
renderMobileNavigation={renderMobileNavigation}
|
|
28
|
-
>
|
|
29
|
-
{children}
|
|
30
|
-
</Header>
|
|
31
|
-
)
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export default BookeditHeader
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import StyledButton from '../static/StyledButton'
|
|
3
|
-
import BookeditHeader from './BookeditHeader'
|
|
4
|
-
import CompanySelector from './elements/CompanySelector'
|
|
5
|
-
import { NavigationItem } from './Header'
|
|
6
|
-
|
|
7
|
-
const providerNavItems: NavigationItem[] = [
|
|
8
|
-
{ href: `/profile`, label: 'profile', pathname: [] },
|
|
9
|
-
{ href: `/events`, label: 'events', pathname: [] },
|
|
10
|
-
{ href: `/sales`, label: 'salesAndEnquiries', pathname: [] },
|
|
11
|
-
{ href: `/product-sets`, label: 'productSets', pathname: [] },
|
|
12
|
-
{ href: `/affiliates`, label: 'affiliates', pathname: [] },
|
|
13
|
-
{ href: `/product-groups`, label: 'productGroups', pathname: [] },
|
|
14
|
-
{ href: '/#', label: 'loyalty', pathname: [] },
|
|
15
|
-
{ href: '/#', label: 'emailAndSms', pathname: [] },
|
|
16
|
-
{ href: '/#', label: 'followersAndProfiles', pathname: [] },
|
|
17
|
-
]
|
|
18
|
-
|
|
19
|
-
export default {
|
|
20
|
-
title: 'Header',
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export const Bookedit = () => (
|
|
24
|
-
<BookeditHeader navItems={providerNavItems}>
|
|
25
|
-
<StyledButton size='sm' className='rounded-pill mr-2'>
|
|
26
|
-
Login
|
|
27
|
-
</StyledButton>
|
|
28
|
-
<StyledButton
|
|
29
|
-
size='sm'
|
|
30
|
-
className='rounded-pill'
|
|
31
|
-
variant='outline-secondary'
|
|
32
|
-
>
|
|
33
|
-
Sign up
|
|
34
|
-
</StyledButton>
|
|
35
|
-
</BookeditHeader>
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
Bookedit.story = {
|
|
39
|
-
parameters: {
|
|
40
|
-
info: `
|
|
41
|
-
Bookedit header component
|
|
42
|
-
`,
|
|
43
|
-
},
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export const BookeditWithElements = () => (
|
|
47
|
-
<BookeditHeader
|
|
48
|
-
leftNavs={
|
|
49
|
-
<div className='header-elements'>
|
|
50
|
-
<CompanySelector
|
|
51
|
-
value={1}
|
|
52
|
-
list={[
|
|
53
|
-
{ id: 1, title: 'Company #1' },
|
|
54
|
-
{ id: 2, title: 'Company #2' },
|
|
55
|
-
]}
|
|
56
|
-
onChange={() => null}
|
|
57
|
-
/>
|
|
58
|
-
</div>
|
|
59
|
-
}
|
|
60
|
-
navItems={providerNavItems}
|
|
61
|
-
/>
|
|
62
|
-
)
|
|
63
|
-
|
|
64
|
-
BookeditWithElements.story = {
|
|
65
|
-
name: 'Bookedit with elements',
|
|
66
|
-
|
|
67
|
-
parameters: {
|
|
68
|
-
info: `
|
|
69
|
-
Bookedit header component
|
|
70
|
-
`,
|
|
71
|
-
},
|
|
72
|
-
}
|
package/src/header/Header.tsx
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { Accordion } from '@mantine/core'
|
|
2
|
-
import { ReactNode } from 'react'
|
|
3
|
-
import Nav from 'react-bootstrap/Nav'
|
|
4
|
-
import Navbar from 'react-bootstrap/Navbar'
|
|
5
|
-
import { NavLink } from 'react-router-dom'
|
|
6
|
-
|
|
7
|
-
export type NavigationItem =
|
|
8
|
-
| {
|
|
9
|
-
href: string
|
|
10
|
-
label: string
|
|
11
|
-
pathname: string[]
|
|
12
|
-
}
|
|
13
|
-
| {
|
|
14
|
-
label: string
|
|
15
|
-
links: {
|
|
16
|
-
href: string
|
|
17
|
-
label: string
|
|
18
|
-
pathname: string[]
|
|
19
|
-
}[]
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
type Props = {
|
|
23
|
-
children?: ReactNode | ReactNode[]
|
|
24
|
-
href?: string
|
|
25
|
-
logo?: ReactNode
|
|
26
|
-
leftNavs?: ReactNode | ReactNode[]
|
|
27
|
-
navItems?: NavigationItem[]
|
|
28
|
-
renderMobileNavigation?: (navigationItems: NavigationItem[]) => ReactNode
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function Header({
|
|
32
|
-
children,
|
|
33
|
-
href,
|
|
34
|
-
logo,
|
|
35
|
-
leftNavs,
|
|
36
|
-
navItems,
|
|
37
|
-
renderMobileNavigation,
|
|
38
|
-
}: Props) {
|
|
39
|
-
return (
|
|
40
|
-
<Navbar
|
|
41
|
-
className='header'
|
|
42
|
-
variant='light'
|
|
43
|
-
collapseOnSelect
|
|
44
|
-
expand={false}
|
|
45
|
-
bg='none'
|
|
46
|
-
>
|
|
47
|
-
<div className='header-logo-container'>
|
|
48
|
-
<Navbar.Brand href={href} className='p-0'>
|
|
49
|
-
{logo}
|
|
50
|
-
</Navbar.Brand>
|
|
51
|
-
{navItems?.length && (
|
|
52
|
-
<>
|
|
53
|
-
<Navbar.Toggle
|
|
54
|
-
aria-controls='header-navbar-nav'
|
|
55
|
-
className='d-block d-md-none ml-2 border-0'
|
|
56
|
-
/>
|
|
57
|
-
</>
|
|
58
|
-
)}
|
|
59
|
-
</div>
|
|
60
|
-
<Nav className='mr-auto my-auto'>{leftNavs}</Nav>
|
|
61
|
-
<div className='user-section ml-3 my-auto'>{children}</div>
|
|
62
|
-
{navItems?.length && (
|
|
63
|
-
<Navbar.Collapse id='header-navbar-nav'>
|
|
64
|
-
{renderMobileNavigation ? (
|
|
65
|
-
renderMobileNavigation(navItems)
|
|
66
|
-
) : (
|
|
67
|
-
<Nav className='mr-auto'>
|
|
68
|
-
{navItems.map((item) => {
|
|
69
|
-
if ('links' in item) {
|
|
70
|
-
return (
|
|
71
|
-
<Accordion defaultValue='Apples'>
|
|
72
|
-
<Accordion.Item value={item.label}>
|
|
73
|
-
<Accordion.Control>{item.label}</Accordion.Control>
|
|
74
|
-
{item.links.map((subItem) => (
|
|
75
|
-
<Accordion.Panel key={subItem.href + subItem.label}>
|
|
76
|
-
<Nav.Item key={`${subItem.label}-${subItem.href}`}>
|
|
77
|
-
{/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */}
|
|
78
|
-
{/* @ts-ignore */}
|
|
79
|
-
<NavLink
|
|
80
|
-
exact
|
|
81
|
-
to={subItem.href}
|
|
82
|
-
className='nav-link'
|
|
83
|
-
>
|
|
84
|
-
{subItem.label}
|
|
85
|
-
</NavLink>
|
|
86
|
-
</Nav.Item>
|
|
87
|
-
</Accordion.Panel>
|
|
88
|
-
))}
|
|
89
|
-
</Accordion.Item>
|
|
90
|
-
</Accordion>
|
|
91
|
-
)
|
|
92
|
-
}
|
|
93
|
-
return (
|
|
94
|
-
<Nav.Link href={item.href} key={`${item.href}${item.label}`}>
|
|
95
|
-
{item.label}
|
|
96
|
-
</Nav.Link>
|
|
97
|
-
)
|
|
98
|
-
})}
|
|
99
|
-
</Nav>
|
|
100
|
-
)}
|
|
101
|
-
</Navbar.Collapse>
|
|
102
|
-
)}
|
|
103
|
-
</Navbar>
|
|
104
|
-
)
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
export default Header
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { isEmpty } from 'lodash'
|
|
2
|
-
import { Form } from 'react-bootstrap'
|
|
3
|
-
|
|
4
|
-
export interface CompanySelectorProps {
|
|
5
|
-
value: number
|
|
6
|
-
list: { id: number; title: string }[]
|
|
7
|
-
onChange: (e: React.ChangeEvent<HTMLSelectElement>) => void
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
function CompanySelector({ value, list, onChange }: CompanySelectorProps) {
|
|
11
|
-
const hasItems = !isEmpty(list)
|
|
12
|
-
const hasOneItem = list.length === 1
|
|
13
|
-
|
|
14
|
-
return (
|
|
15
|
-
<div className='header-company-selector-container'>
|
|
16
|
-
{hasOneItem && (
|
|
17
|
-
<span className='company-selector-item company-selector-item__disabled'>
|
|
18
|
-
{list[0].title}
|
|
19
|
-
</span>
|
|
20
|
-
)}
|
|
21
|
-
|
|
22
|
-
{hasItems && !hasOneItem && (
|
|
23
|
-
<Form.Group className='m-0'>
|
|
24
|
-
<Form.Control
|
|
25
|
-
className='header-company-selector'
|
|
26
|
-
defaultValue={value}
|
|
27
|
-
as='select'
|
|
28
|
-
onChange={onChange}
|
|
29
|
-
>
|
|
30
|
-
{hasItems &&
|
|
31
|
-
list.map((item) => (
|
|
32
|
-
<option
|
|
33
|
-
className='company-selector-item'
|
|
34
|
-
key={item.id}
|
|
35
|
-
value={item.id}
|
|
36
|
-
>
|
|
37
|
-
{item.title}
|
|
38
|
-
</option>
|
|
39
|
-
))}
|
|
40
|
-
</Form.Control>
|
|
41
|
-
</Form.Group>
|
|
42
|
-
)}
|
|
43
|
-
</div>
|
|
44
|
-
)
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export default CompanySelector
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react'
|
|
2
|
-
import {
|
|
3
|
-
CompanySelectorProps,
|
|
4
|
-
default as CompanySelectorComponent,
|
|
5
|
-
} from './CompanySelector'
|
|
6
|
-
|
|
7
|
-
export default {
|
|
8
|
-
title: 'Header/Elements',
|
|
9
|
-
} as Meta
|
|
10
|
-
|
|
11
|
-
export const CompanySelector: Story<CompanySelectorProps> = (args) => {
|
|
12
|
-
return <CompanySelectorComponent {...args} />
|
|
13
|
-
}
|
|
14
|
-
CompanySelector.args = {
|
|
15
|
-
value: 1,
|
|
16
|
-
list: [
|
|
17
|
-
{ id: 1, title: 'Company #1' },
|
|
18
|
-
{ id: 2, title: 'Company #2' },
|
|
19
|
-
{ id: 3, title: 'Company #3' },
|
|
20
|
-
],
|
|
21
|
-
onChange: (e) => console.info(e),
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export const CompanySelectorWithOneItem: Story<CompanySelectorProps> = (
|
|
25
|
-
args,
|
|
26
|
-
) => {
|
|
27
|
-
return <CompanySelectorComponent {...args} />
|
|
28
|
-
}
|
|
29
|
-
CompanySelectorWithOneItem.args = {
|
|
30
|
-
value: 1,
|
|
31
|
-
list: [{ id: 1, title: 'Company #1' }],
|
|
32
|
-
onChange: (e) => console.info(e),
|
|
33
|
-
}
|