@golocalinteractive/golocal-cloud-wrapper 1.0.56 → 1.0.58
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/components/app-sidebar.d.ts.map +1 -1
- package/dist/context/PermissionsContext.d.ts +6 -3
- package/dist/context/PermissionsContext.d.ts.map +1 -1
- package/dist/golocal-cloud-wrapper.css +1 -2
- package/dist/golocal-cloud-wrapper.es.js +9657 -88
- package/dist/golocal-cloud-wrapper.umd.js +182 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/lib/auth/index.d.ts +0 -1
- package/dist/lib/auth/index.d.ts.map +1 -1
- package/package.json +1 -2
- package/dist/golocal-cloud-wrapper.es10.js +0 -66
- package/dist/golocal-cloud-wrapper.es100.js +0 -4
- package/dist/golocal-cloud-wrapper.es101.js +0 -62
- package/dist/golocal-cloud-wrapper.es102.js +0 -77
- package/dist/golocal-cloud-wrapper.es103.js +0 -4
- package/dist/golocal-cloud-wrapper.es104.js +0 -41
- package/dist/golocal-cloud-wrapper.es105.js +0 -4
- package/dist/golocal-cloud-wrapper.es106.js +0 -106
- package/dist/golocal-cloud-wrapper.es107.js +0 -148
- package/dist/golocal-cloud-wrapper.es108.js +0 -28
- package/dist/golocal-cloud-wrapper.es109.js +0 -51
- package/dist/golocal-cloud-wrapper.es11.js +0 -233
- package/dist/golocal-cloud-wrapper.es110.js +0 -25
- package/dist/golocal-cloud-wrapper.es111.js +0 -30
- package/dist/golocal-cloud-wrapper.es112.js +0 -82
- package/dist/golocal-cloud-wrapper.es113.js +0 -125
- package/dist/golocal-cloud-wrapper.es114.js +0 -39
- package/dist/golocal-cloud-wrapper.es115.js +0 -38
- package/dist/golocal-cloud-wrapper.es116.js +0 -7
- package/dist/golocal-cloud-wrapper.es117.js +0 -4
- package/dist/golocal-cloud-wrapper.es118.js +0 -4
- package/dist/golocal-cloud-wrapper.es119.js +0 -4
- package/dist/golocal-cloud-wrapper.es12.js +0 -23
- package/dist/golocal-cloud-wrapper.es120.js +0 -208
- package/dist/golocal-cloud-wrapper.es121.js +0 -145
- package/dist/golocal-cloud-wrapper.es122.js +0 -58
- package/dist/golocal-cloud-wrapper.es123.js +0 -34
- package/dist/golocal-cloud-wrapper.es124.js +0 -4
- package/dist/golocal-cloud-wrapper.es125.js +0 -39
- package/dist/golocal-cloud-wrapper.es126.js +0 -4
- package/dist/golocal-cloud-wrapper.es127.js +0 -4
- package/dist/golocal-cloud-wrapper.es128.js +0 -224
- package/dist/golocal-cloud-wrapper.es129.js +0 -4
- package/dist/golocal-cloud-wrapper.es13.js +0 -24
- package/dist/golocal-cloud-wrapper.es130.js +0 -4
- package/dist/golocal-cloud-wrapper.es131.js +0 -35
- package/dist/golocal-cloud-wrapper.es132.js +0 -4
- package/dist/golocal-cloud-wrapper.es133.js +0 -23
- package/dist/golocal-cloud-wrapper.es134.js +0 -123
- package/dist/golocal-cloud-wrapper.es135.js +0 -469
- package/dist/golocal-cloud-wrapper.es136.js +0 -46
- package/dist/golocal-cloud-wrapper.es137.js +0 -71
- package/dist/golocal-cloud-wrapper.es138.js +0 -66
- package/dist/golocal-cloud-wrapper.es139.js +0 -4
- package/dist/golocal-cloud-wrapper.es14.js +0 -115
- package/dist/golocal-cloud-wrapper.es140.js +0 -27
- package/dist/golocal-cloud-wrapper.es141.js +0 -66
- package/dist/golocal-cloud-wrapper.es142.js +0 -27
- package/dist/golocal-cloud-wrapper.es143.js +0 -5
- package/dist/golocal-cloud-wrapper.es144.js +0 -650
- package/dist/golocal-cloud-wrapper.es145.js +0 -301
- package/dist/golocal-cloud-wrapper.es146.js +0 -90
- package/dist/golocal-cloud-wrapper.es147.js +0 -83
- package/dist/golocal-cloud-wrapper.es148.js +0 -65
- package/dist/golocal-cloud-wrapper.es149.js +0 -1230
- package/dist/golocal-cloud-wrapper.es15.js +0 -641
- package/dist/golocal-cloud-wrapper.es150.js +0 -8
- package/dist/golocal-cloud-wrapper.es151.js +0 -15
- package/dist/golocal-cloud-wrapper.es152.js +0 -139
- package/dist/golocal-cloud-wrapper.es153.js +0 -23
- package/dist/golocal-cloud-wrapper.es154.js +0 -132
- package/dist/golocal-cloud-wrapper.es155.js +0 -19
- package/dist/golocal-cloud-wrapper.es156.js +0 -37
- package/dist/golocal-cloud-wrapper.es157.js +0 -49
- package/dist/golocal-cloud-wrapper.es158.js +0 -10
- package/dist/golocal-cloud-wrapper.es159.js +0 -5
- package/dist/golocal-cloud-wrapper.es16.js +0 -17
- package/dist/golocal-cloud-wrapper.es160.js +0 -35
- package/dist/golocal-cloud-wrapper.es161.js +0 -174
- package/dist/golocal-cloud-wrapper.es162.js +0 -21
- package/dist/golocal-cloud-wrapper.es163.js +0 -4
- package/dist/golocal-cloud-wrapper.es164.js +0 -330
- package/dist/golocal-cloud-wrapper.es165.js +0 -4
- package/dist/golocal-cloud-wrapper.es166.js +0 -34
- package/dist/golocal-cloud-wrapper.es167.js +0 -40
- package/dist/golocal-cloud-wrapper.es168.js +0 -30
- package/dist/golocal-cloud-wrapper.es169.js +0 -62
- package/dist/golocal-cloud-wrapper.es17.js +0 -26
- package/dist/golocal-cloud-wrapper.es170.js +0 -4
- package/dist/golocal-cloud-wrapper.es171.js +0 -340
- package/dist/golocal-cloud-wrapper.es172.js +0 -4
- package/dist/golocal-cloud-wrapper.es173.js +0 -4
- package/dist/golocal-cloud-wrapper.es174.js +0 -4
- package/dist/golocal-cloud-wrapper.es175.js +0 -4
- package/dist/golocal-cloud-wrapper.es176.js +0 -4
- package/dist/golocal-cloud-wrapper.es177.js +0 -24
- package/dist/golocal-cloud-wrapper.es178.js +0 -4
- package/dist/golocal-cloud-wrapper.es179.js +0 -24
- package/dist/golocal-cloud-wrapper.es18.js +0 -5
- package/dist/golocal-cloud-wrapper.es180.js +0 -98
- package/dist/golocal-cloud-wrapper.es181.js +0 -4
- package/dist/golocal-cloud-wrapper.es182.js +0 -46
- package/dist/golocal-cloud-wrapper.es183.js +0 -35
- package/dist/golocal-cloud-wrapper.es184.js +0 -61
- package/dist/golocal-cloud-wrapper.es185.js +0 -4
- package/dist/golocal-cloud-wrapper.es186.js +0 -4
- package/dist/golocal-cloud-wrapper.es187.js +0 -4
- package/dist/golocal-cloud-wrapper.es188.js +0 -23
- package/dist/golocal-cloud-wrapper.es189.js +0 -4
- package/dist/golocal-cloud-wrapper.es19.js +0 -110
- package/dist/golocal-cloud-wrapper.es190.js +0 -4
- package/dist/golocal-cloud-wrapper.es191.js +0 -720
- package/dist/golocal-cloud-wrapper.es192.js +0 -153
- package/dist/golocal-cloud-wrapper.es193.js +0 -166
- package/dist/golocal-cloud-wrapper.es194.js +0 -49
- package/dist/golocal-cloud-wrapper.es195.js +0 -71
- package/dist/golocal-cloud-wrapper.es196.js +0 -25
- package/dist/golocal-cloud-wrapper.es197.js +0 -5
- package/dist/golocal-cloud-wrapper.es198.js +0 -118
- package/dist/golocal-cloud-wrapper.es199.js +0 -16
- package/dist/golocal-cloud-wrapper.es20.js +0 -12
- package/dist/golocal-cloud-wrapper.es200.js +0 -4
- package/dist/golocal-cloud-wrapper.es201.js +0 -429
- package/dist/golocal-cloud-wrapper.es202.js +0 -335
- package/dist/golocal-cloud-wrapper.es203.js +0 -235
- package/dist/golocal-cloud-wrapper.es204.js +0 -38
- package/dist/golocal-cloud-wrapper.es205.js +0 -88
- package/dist/golocal-cloud-wrapper.es206.js +0 -47
- package/dist/golocal-cloud-wrapper.es207.js +0 -13
- package/dist/golocal-cloud-wrapper.es208.js +0 -19
- package/dist/golocal-cloud-wrapper.es209.js +0 -102
- package/dist/golocal-cloud-wrapper.es21.js +0 -185
- package/dist/golocal-cloud-wrapper.es210.js +0 -4
- package/dist/golocal-cloud-wrapper.es211.js +0 -4
- package/dist/golocal-cloud-wrapper.es212.js +0 -24
- package/dist/golocal-cloud-wrapper.es213.js +0 -30
- package/dist/golocal-cloud-wrapper.es214.js +0 -30
- package/dist/golocal-cloud-wrapper.es215.js +0 -34
- package/dist/golocal-cloud-wrapper.es216.js +0 -4
- package/dist/golocal-cloud-wrapper.es217.js +0 -4
- package/dist/golocal-cloud-wrapper.es218.js +0 -48
- package/dist/golocal-cloud-wrapper.es219.js +0 -33
- package/dist/golocal-cloud-wrapper.es22.js +0 -23
- package/dist/golocal-cloud-wrapper.es220.js +0 -30
- package/dist/golocal-cloud-wrapper.es221.js +0 -4
- package/dist/golocal-cloud-wrapper.es222.js +0 -4
- package/dist/golocal-cloud-wrapper.es223.js +0 -78
- package/dist/golocal-cloud-wrapper.es224.js +0 -4
- package/dist/golocal-cloud-wrapper.es225.js +0 -4
- package/dist/golocal-cloud-wrapper.es226.js +0 -4
- package/dist/golocal-cloud-wrapper.es227.js +0 -4
- package/dist/golocal-cloud-wrapper.es228.js +0 -4
- package/dist/golocal-cloud-wrapper.es229.js +0 -24
- package/dist/golocal-cloud-wrapper.es23.js +0 -38
- package/dist/golocal-cloud-wrapper.es230.js +0 -4
- package/dist/golocal-cloud-wrapper.es231.js +0 -4
- package/dist/golocal-cloud-wrapper.es232.js +0 -202
- package/dist/golocal-cloud-wrapper.es233.js +0 -97
- package/dist/golocal-cloud-wrapper.es234.js +0 -4
- package/dist/golocal-cloud-wrapper.es235.js +0 -173
- package/dist/golocal-cloud-wrapper.es236.js +0 -4
- package/dist/golocal-cloud-wrapper.es237.js +0 -21
- package/dist/golocal-cloud-wrapper.es238.js +0 -30
- package/dist/golocal-cloud-wrapper.es239.js +0 -154
- package/dist/golocal-cloud-wrapper.es24.js +0 -16
- package/dist/golocal-cloud-wrapper.es240.js +0 -131
- package/dist/golocal-cloud-wrapper.es241.js +0 -61
- package/dist/golocal-cloud-wrapper.es242.js +0 -42
- package/dist/golocal-cloud-wrapper.es243.js +0 -89
- package/dist/golocal-cloud-wrapper.es244.js +0 -24
- package/dist/golocal-cloud-wrapper.es245.js +0 -19
- package/dist/golocal-cloud-wrapper.es246.js +0 -127
- package/dist/golocal-cloud-wrapper.es247.js +0 -24
- package/dist/golocal-cloud-wrapper.es248.js +0 -33
- package/dist/golocal-cloud-wrapper.es249.js +0 -12
- package/dist/golocal-cloud-wrapper.es25.js +0 -17
- package/dist/golocal-cloud-wrapper.es250.js +0 -24
- package/dist/golocal-cloud-wrapper.es251.js +0 -17
- package/dist/golocal-cloud-wrapper.es252.js +0 -78
- package/dist/golocal-cloud-wrapper.es253.js +0 -19
- package/dist/golocal-cloud-wrapper.es254.js +0 -102
- package/dist/golocal-cloud-wrapper.es255.js +0 -29
- package/dist/golocal-cloud-wrapper.es256.js +0 -151
- package/dist/golocal-cloud-wrapper.es257.js +0 -4
- package/dist/golocal-cloud-wrapper.es258.js +0 -76
- package/dist/golocal-cloud-wrapper.es259.js +0 -92
- package/dist/golocal-cloud-wrapper.es26.js +0 -102
- package/dist/golocal-cloud-wrapper.es260.js +0 -71
- package/dist/golocal-cloud-wrapper.es261.js +0 -124
- package/dist/golocal-cloud-wrapper.es262.js +0 -35
- package/dist/golocal-cloud-wrapper.es263.js +0 -7
- package/dist/golocal-cloud-wrapper.es264.js +0 -23
- package/dist/golocal-cloud-wrapper.es265.js +0 -102
- package/dist/golocal-cloud-wrapper.es266.js +0 -106
- package/dist/golocal-cloud-wrapper.es267.js +0 -4
- package/dist/golocal-cloud-wrapper.es268.js +0 -4
- package/dist/golocal-cloud-wrapper.es269.js +0 -38
- package/dist/golocal-cloud-wrapper.es27.js +0 -45
- package/dist/golocal-cloud-wrapper.es270.js +0 -4
- package/dist/golocal-cloud-wrapper.es271.js +0 -4
- package/dist/golocal-cloud-wrapper.es272.js +0 -4
- package/dist/golocal-cloud-wrapper.es273.js +0 -4
- package/dist/golocal-cloud-wrapper.es274.js +0 -4
- package/dist/golocal-cloud-wrapper.es275.js +0 -4
- package/dist/golocal-cloud-wrapper.es276.js +0 -4
- package/dist/golocal-cloud-wrapper.es277.js +0 -11
- package/dist/golocal-cloud-wrapper.es278.js +0 -29
- package/dist/golocal-cloud-wrapper.es279.js +0 -4
- package/dist/golocal-cloud-wrapper.es28.js +0 -8
- package/dist/golocal-cloud-wrapper.es280.js +0 -4
- package/dist/golocal-cloud-wrapper.es281.js +0 -4
- package/dist/golocal-cloud-wrapper.es282.js +0 -4
- package/dist/golocal-cloud-wrapper.es283.js +0 -5
- package/dist/golocal-cloud-wrapper.es284.js +0 -36
- package/dist/golocal-cloud-wrapper.es285.js +0 -46
- package/dist/golocal-cloud-wrapper.es286.js +0 -55
- package/dist/golocal-cloud-wrapper.es287.js +0 -41
- package/dist/golocal-cloud-wrapper.es288.js +0 -70
- package/dist/golocal-cloud-wrapper.es289.js +0 -20
- package/dist/golocal-cloud-wrapper.es29.js +0 -13
- package/dist/golocal-cloud-wrapper.es290.js +0 -8
- package/dist/golocal-cloud-wrapper.es291.js +0 -4
- package/dist/golocal-cloud-wrapper.es292.js +0 -58
- package/dist/golocal-cloud-wrapper.es293.js +0 -31
- package/dist/golocal-cloud-wrapper.es294.js +0 -6
- package/dist/golocal-cloud-wrapper.es295.js +0 -11
- package/dist/golocal-cloud-wrapper.es296.js +0 -24
- package/dist/golocal-cloud-wrapper.es297.js +0 -32
- package/dist/golocal-cloud-wrapper.es298.js +0 -12
- package/dist/golocal-cloud-wrapper.es299.js +0 -10
- package/dist/golocal-cloud-wrapper.es3.js +0 -22
- package/dist/golocal-cloud-wrapper.es30.js +0 -13
- package/dist/golocal-cloud-wrapper.es300.js +0 -10
- package/dist/golocal-cloud-wrapper.es301.js +0 -159
- package/dist/golocal-cloud-wrapper.es302.js +0 -24
- package/dist/golocal-cloud-wrapper.es303.js +0 -21
- package/dist/golocal-cloud-wrapper.es304.js +0 -16
- package/dist/golocal-cloud-wrapper.es305.js +0 -48
- package/dist/golocal-cloud-wrapper.es306.js +0 -9
- package/dist/golocal-cloud-wrapper.es307.js +0 -37
- package/dist/golocal-cloud-wrapper.es308.js +0 -8
- package/dist/golocal-cloud-wrapper.es309.js +0 -9
- package/dist/golocal-cloud-wrapper.es31.js +0 -299
- package/dist/golocal-cloud-wrapper.es310.js +0 -15
- package/dist/golocal-cloud-wrapper.es32.js +0 -13
- package/dist/golocal-cloud-wrapper.es33.js +0 -13
- package/dist/golocal-cloud-wrapper.es34.js +0 -30
- package/dist/golocal-cloud-wrapper.es35.js +0 -342
- package/dist/golocal-cloud-wrapper.es36.js +0 -16
- package/dist/golocal-cloud-wrapper.es37.js +0 -16
- package/dist/golocal-cloud-wrapper.es38.js +0 -16
- package/dist/golocal-cloud-wrapper.es39.js +0 -491
- package/dist/golocal-cloud-wrapper.es4.js +0 -20
- package/dist/golocal-cloud-wrapper.es40.js +0 -17
- package/dist/golocal-cloud-wrapper.es41.js +0 -4
- package/dist/golocal-cloud-wrapper.es42.js +0 -41
- package/dist/golocal-cloud-wrapper.es43.js +0 -274
- package/dist/golocal-cloud-wrapper.es44.js +0 -4
- package/dist/golocal-cloud-wrapper.es45.js +0 -30
- package/dist/golocal-cloud-wrapper.es46.js +0 -22
- package/dist/golocal-cloud-wrapper.es47.js +0 -16
- package/dist/golocal-cloud-wrapper.es48.js +0 -18
- package/dist/golocal-cloud-wrapper.es49.js +0 -22
- package/dist/golocal-cloud-wrapper.es5.js +0 -12
- package/dist/golocal-cloud-wrapper.es50.js +0 -22
- package/dist/golocal-cloud-wrapper.es51.js +0 -26
- package/dist/golocal-cloud-wrapper.es52.js +0 -22
- package/dist/golocal-cloud-wrapper.es53.js +0 -17
- package/dist/golocal-cloud-wrapper.es54.js +0 -4
- package/dist/golocal-cloud-wrapper.es55.js +0 -4
- package/dist/golocal-cloud-wrapper.es56.js +0 -39
- package/dist/golocal-cloud-wrapper.es57.js +0 -17
- package/dist/golocal-cloud-wrapper.es58.js +0 -2959
- package/dist/golocal-cloud-wrapper.es59.js +0 -417
- package/dist/golocal-cloud-wrapper.es6.js +0 -68
- package/dist/golocal-cloud-wrapper.es60.js +0 -25
- package/dist/golocal-cloud-wrapper.es61.js +0 -28
- package/dist/golocal-cloud-wrapper.es62.js +0 -32
- package/dist/golocal-cloud-wrapper.es63.js +0 -41
- package/dist/golocal-cloud-wrapper.es64.js +0 -20
- package/dist/golocal-cloud-wrapper.es65.js +0 -11
- package/dist/golocal-cloud-wrapper.es66.js +0 -81
- package/dist/golocal-cloud-wrapper.es67.js +0 -14
- package/dist/golocal-cloud-wrapper.es68.js +0 -71
- package/dist/golocal-cloud-wrapper.es69.js +0 -212
- package/dist/golocal-cloud-wrapper.es7.js +0 -16
- package/dist/golocal-cloud-wrapper.es70.js +0 -208
- package/dist/golocal-cloud-wrapper.es71.js +0 -18
- package/dist/golocal-cloud-wrapper.es72.js +0 -129
- package/dist/golocal-cloud-wrapper.es73.js +0 -43
- package/dist/golocal-cloud-wrapper.es74.js +0 -29
- package/dist/golocal-cloud-wrapper.es75.js +0 -11
- package/dist/golocal-cloud-wrapper.es76.js +0 -122
- package/dist/golocal-cloud-wrapper.es77.js +0 -880
- package/dist/golocal-cloud-wrapper.es78.js +0 -288
- package/dist/golocal-cloud-wrapper.es79.js +0 -36
- package/dist/golocal-cloud-wrapper.es8.js +0 -48
- package/dist/golocal-cloud-wrapper.es80.js +0 -12
- package/dist/golocal-cloud-wrapper.es81.js +0 -334
- package/dist/golocal-cloud-wrapper.es82.js +0 -5
- package/dist/golocal-cloud-wrapper.es83.js +0 -8
- package/dist/golocal-cloud-wrapper.es84.js +0 -58
- package/dist/golocal-cloud-wrapper.es85.js +0 -5
- package/dist/golocal-cloud-wrapper.es86.js +0 -104
- package/dist/golocal-cloud-wrapper.es87.js +0 -468
- package/dist/golocal-cloud-wrapper.es88.js +0 -10
- package/dist/golocal-cloud-wrapper.es89.js +0 -6
- package/dist/golocal-cloud-wrapper.es9.js +0 -90
- package/dist/golocal-cloud-wrapper.es90.js +0 -14
- package/dist/golocal-cloud-wrapper.es91.js +0 -17
- package/dist/golocal-cloud-wrapper.es92.js +0 -70
- package/dist/golocal-cloud-wrapper.es93.js +0 -10
- package/dist/golocal-cloud-wrapper.es94.js +0 -227
- package/dist/golocal-cloud-wrapper.es95.js +0 -297
- package/dist/golocal-cloud-wrapper.es96.js +0 -25
- package/dist/golocal-cloud-wrapper.es97.js +0 -39
- package/dist/golocal-cloud-wrapper.es98.js +0 -616
- package/dist/golocal-cloud-wrapper.es99.js +0 -17
- package/dist/lib/auth/getUserData.d.ts +0 -7
- package/dist/lib/auth/getUserData.d.ts.map +0 -1
- package/dist/providers/PermissionsProvider.d.ts +0 -4
- package/dist/providers/PermissionsProvider.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import "./index.css";
|
|
2
2
|
export { GLICloudProvider } from "./providers/GLICloudProvider";
|
|
3
|
-
export {
|
|
4
|
-
export { PermissionsProvider } from "./providers/PermissionsProvider";
|
|
3
|
+
export { PermissionsProvider, usePermissions, } from "./context/PermissionsContext";
|
|
5
4
|
export { ProfileDropdown } from "./components/profile-dropdown";
|
|
6
5
|
export { AppHeader } from "./components/app-header";
|
|
7
6
|
export * from "./components/ui";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,CAAC;AAGrB,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,CAAC;AAGrB,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EACL,mBAAmB,EACnB,cAAc,GACf,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,cAAc,iBAAiB,CAAC"}
|
package/dist/lib/auth/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golocalinteractive/golocal-cloud-wrapper",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.58",
|
|
4
4
|
"description": "A React provider component for Go Local Interactive's cloud services",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "Tanner Barrett, Cody Lacey, Go Local Interactive",
|
|
@@ -69,7 +69,6 @@
|
|
|
69
69
|
"@radix-ui/react-tooltip": "^1.2.7",
|
|
70
70
|
"class-variance-authority": "^0.7.1",
|
|
71
71
|
"clsx": "^2.1.1",
|
|
72
|
-
"jwt-decode": "^4.0.0",
|
|
73
72
|
"lucide-react": "^0.522.0",
|
|
74
73
|
"tailwind-merge": "^3.3.1"
|
|
75
74
|
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./golocal-cloud-wrapper.es18.js";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import { SidebarGroup } from "./golocal-cloud-wrapper.es15.js";
|
|
4
|
-
import { cn } from "./golocal-cloud-wrapper.es28.js";
|
|
5
|
-
import ChevronDown from "./golocal-cloud-wrapper.es29.js";
|
|
6
|
-
import ChevronRight from "./golocal-cloud-wrapper.es30.js";
|
|
7
|
-
function CollapsibleSection({
|
|
8
|
-
title,
|
|
9
|
-
url,
|
|
10
|
-
children,
|
|
11
|
-
defaultOpen = false,
|
|
12
|
-
icon,
|
|
13
|
-
isActive = false,
|
|
14
|
-
className
|
|
15
|
-
}) {
|
|
16
|
-
const [isOpen, setIsOpen] = React.useState(defaultOpen);
|
|
17
|
-
React.useEffect(() => {
|
|
18
|
-
if (isActive) {
|
|
19
|
-
setIsOpen(true);
|
|
20
|
-
}
|
|
21
|
-
}, [isActive]);
|
|
22
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(SidebarGroup, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col", children: [
|
|
23
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-row items-center justify-between", children: [
|
|
24
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
25
|
-
"a",
|
|
26
|
-
{
|
|
27
|
-
href: url,
|
|
28
|
-
className: cn(
|
|
29
|
-
"flex flex-1 cursor-pointer items-center gap-2 rounded-lg p-2 transition-colors hover:bg-gray-100"
|
|
30
|
-
),
|
|
31
|
-
children: [
|
|
32
|
-
icon && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: cn("text-gray-600"), children: icon }),
|
|
33
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: cn("text-gray-600"), children: title })
|
|
34
|
-
]
|
|
35
|
-
}
|
|
36
|
-
),
|
|
37
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
38
|
-
"button",
|
|
39
|
-
{
|
|
40
|
-
type: "button",
|
|
41
|
-
className: "mr-3 rounded-lg p-2 text-gray-500 hover:bg-gray-100 hover:text-gray-700",
|
|
42
|
-
onClick: (e) => {
|
|
43
|
-
e.preventDefault();
|
|
44
|
-
e.stopPropagation();
|
|
45
|
-
setIsOpen(!isOpen);
|
|
46
|
-
},
|
|
47
|
-
"aria-label": isOpen ? "Collapse section" : "Expand section",
|
|
48
|
-
children: isOpen ? /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronDown, { className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRight, { className: "h-4 w-4" })
|
|
49
|
-
}
|
|
50
|
-
)
|
|
51
|
-
] }),
|
|
52
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
53
|
-
"div",
|
|
54
|
-
{
|
|
55
|
-
className: cn(
|
|
56
|
-
"overflow-hidden transition-all",
|
|
57
|
-
isOpen ? "max-h-96" : "max-h-0"
|
|
58
|
-
),
|
|
59
|
-
children
|
|
60
|
-
}
|
|
61
|
-
)
|
|
62
|
-
] }) });
|
|
63
|
-
}
|
|
64
|
-
export {
|
|
65
|
-
CollapsibleSection
|
|
66
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { __exports as useSyncExternalStoreShim_production } from "./golocal-cloud-wrapper.es117.js";
|
|
2
|
-
import React__default from "react";
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* use-sync-external-store-shim.production.js
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
var hasRequiredUseSyncExternalStoreShim_production;
|
|
13
|
-
function requireUseSyncExternalStoreShim_production() {
|
|
14
|
-
if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production;
|
|
15
|
-
hasRequiredUseSyncExternalStoreShim_production = 1;
|
|
16
|
-
var React = React__default;
|
|
17
|
-
function is(x, y) {
|
|
18
|
-
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
19
|
-
}
|
|
20
|
-
var objectIs = "function" === typeof Object.is ? Object.is : is, useState = React.useState, useEffect = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue;
|
|
21
|
-
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
22
|
-
var value = getSnapshot(), _useState = useState({ inst: { value, getSnapshot } }), inst = _useState[0].inst, forceUpdate = _useState[1];
|
|
23
|
-
useLayoutEffect(
|
|
24
|
-
function() {
|
|
25
|
-
inst.value = value;
|
|
26
|
-
inst.getSnapshot = getSnapshot;
|
|
27
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
28
|
-
},
|
|
29
|
-
[subscribe, value, getSnapshot]
|
|
30
|
-
);
|
|
31
|
-
useEffect(
|
|
32
|
-
function() {
|
|
33
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
34
|
-
return subscribe(function() {
|
|
35
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
36
|
-
});
|
|
37
|
-
},
|
|
38
|
-
[subscribe]
|
|
39
|
-
);
|
|
40
|
-
useDebugValue(value);
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
function checkIfSnapshotChanged(inst) {
|
|
44
|
-
var latestGetSnapshot = inst.getSnapshot;
|
|
45
|
-
inst = inst.value;
|
|
46
|
-
try {
|
|
47
|
-
var nextValue = latestGetSnapshot();
|
|
48
|
-
return !objectIs(inst, nextValue);
|
|
49
|
-
} catch (error) {
|
|
50
|
-
return true;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
54
|
-
return getSnapshot();
|
|
55
|
-
}
|
|
56
|
-
var shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
57
|
-
useSyncExternalStoreShim_production.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
|
|
58
|
-
return useSyncExternalStoreShim_production;
|
|
59
|
-
}
|
|
60
|
-
export {
|
|
61
|
-
requireUseSyncExternalStoreShim_production as __require
|
|
62
|
-
};
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { __exports as useSyncExternalStoreShim_development } from "./golocal-cloud-wrapper.es118.js";
|
|
2
|
-
import React__default from "react";
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* use-sync-external-store-shim.development.js
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
var hasRequiredUseSyncExternalStoreShim_development;
|
|
13
|
-
function requireUseSyncExternalStoreShim_development() {
|
|
14
|
-
if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
|
|
15
|
-
hasRequiredUseSyncExternalStoreShim_development = 1;
|
|
16
|
-
"production" !== process.env.NODE_ENV && function() {
|
|
17
|
-
function is(x, y) {
|
|
18
|
-
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
19
|
-
}
|
|
20
|
-
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
21
|
-
didWarnOld18Alpha || void 0 === React.startTransition || (didWarnOld18Alpha = true, console.error(
|
|
22
|
-
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
23
|
-
));
|
|
24
|
-
var value = getSnapshot();
|
|
25
|
-
if (!didWarnUncachedGetSnapshot) {
|
|
26
|
-
var cachedValue = getSnapshot();
|
|
27
|
-
objectIs(value, cachedValue) || (console.error(
|
|
28
|
-
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
29
|
-
), didWarnUncachedGetSnapshot = true);
|
|
30
|
-
}
|
|
31
|
-
cachedValue = useState({
|
|
32
|
-
inst: { value, getSnapshot }
|
|
33
|
-
});
|
|
34
|
-
var inst = cachedValue[0].inst, forceUpdate = cachedValue[1];
|
|
35
|
-
useLayoutEffect(
|
|
36
|
-
function() {
|
|
37
|
-
inst.value = value;
|
|
38
|
-
inst.getSnapshot = getSnapshot;
|
|
39
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
40
|
-
},
|
|
41
|
-
[subscribe, value, getSnapshot]
|
|
42
|
-
);
|
|
43
|
-
useEffect(
|
|
44
|
-
function() {
|
|
45
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
46
|
-
return subscribe(function() {
|
|
47
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
48
|
-
});
|
|
49
|
-
},
|
|
50
|
-
[subscribe]
|
|
51
|
-
);
|
|
52
|
-
useDebugValue(value);
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
55
|
-
function checkIfSnapshotChanged(inst) {
|
|
56
|
-
var latestGetSnapshot = inst.getSnapshot;
|
|
57
|
-
inst = inst.value;
|
|
58
|
-
try {
|
|
59
|
-
var nextValue = latestGetSnapshot();
|
|
60
|
-
return !objectIs(inst, nextValue);
|
|
61
|
-
} catch (error) {
|
|
62
|
-
return true;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
66
|
-
return getSnapshot();
|
|
67
|
-
}
|
|
68
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
69
|
-
var React = React__default, objectIs = "function" === typeof Object.is ? Object.is : is, useState = React.useState, useEffect = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue, didWarnOld18Alpha = false, didWarnUncachedGetSnapshot = false, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
70
|
-
useSyncExternalStoreShim_development.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
|
|
71
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
72
|
-
}();
|
|
73
|
-
return useSyncExternalStoreShim_development;
|
|
74
|
-
}
|
|
75
|
-
export {
|
|
76
|
-
requireUseSyncExternalStoreShim_development as __require
|
|
77
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { __module as server } from "./golocal-cloud-wrapper.es105.js";
|
|
2
|
-
import { __require as requireRequest } from "./golocal-cloud-wrapper.es106.js";
|
|
3
|
-
import { __require as requireResponse } from "./golocal-cloud-wrapper.es107.js";
|
|
4
|
-
import { __require as requireImageResponse } from "./golocal-cloud-wrapper.es108.js";
|
|
5
|
-
import { __require as requireUserAgent } from "./golocal-cloud-wrapper.es109.js";
|
|
6
|
-
import { __require as requireUrlPattern } from "./golocal-cloud-wrapper.es110.js";
|
|
7
|
-
import { __require as requireAfter } from "./golocal-cloud-wrapper.es111.js";
|
|
8
|
-
import { __require as requireConnection } from "./golocal-cloud-wrapper.es112.js";
|
|
9
|
-
import { __require as requireRootParams } from "./golocal-cloud-wrapper.es113.js";
|
|
10
|
-
var hasRequiredServer;
|
|
11
|
-
function requireServer() {
|
|
12
|
-
if (hasRequiredServer) return server.exports;
|
|
13
|
-
hasRequiredServer = 1;
|
|
14
|
-
(function(module, exports) {
|
|
15
|
-
const serverExports = {
|
|
16
|
-
NextRequest: requireRequest().NextRequest,
|
|
17
|
-
NextResponse: requireResponse().NextResponse,
|
|
18
|
-
ImageResponse: requireImageResponse().ImageResponse,
|
|
19
|
-
userAgentFromString: requireUserAgent().userAgentFromString,
|
|
20
|
-
userAgent: requireUserAgent().userAgent,
|
|
21
|
-
URLPattern: requireUrlPattern().URLPattern,
|
|
22
|
-
after: requireAfter().after,
|
|
23
|
-
connection: requireConnection().connection,
|
|
24
|
-
unstable_rootParams: requireRootParams().unstable_rootParams
|
|
25
|
-
};
|
|
26
|
-
module.exports = serverExports;
|
|
27
|
-
exports.NextRequest = serverExports.NextRequest;
|
|
28
|
-
exports.NextResponse = serverExports.NextResponse;
|
|
29
|
-
exports.ImageResponse = serverExports.ImageResponse;
|
|
30
|
-
exports.userAgentFromString = serverExports.userAgentFromString;
|
|
31
|
-
exports.userAgent = serverExports.userAgent;
|
|
32
|
-
exports.URLPattern = serverExports.URLPattern;
|
|
33
|
-
exports.after = serverExports.after;
|
|
34
|
-
exports.connection = serverExports.connection;
|
|
35
|
-
exports.unstable_rootParams = serverExports.unstable_rootParams;
|
|
36
|
-
})(server, server.exports);
|
|
37
|
-
return server.exports;
|
|
38
|
-
}
|
|
39
|
-
export {
|
|
40
|
-
requireServer as __require
|
|
41
|
-
};
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { __exports as request } from "./golocal-cloud-wrapper.es119.js";
|
|
2
|
-
import { __require as requireNextUrl } from "./golocal-cloud-wrapper.es120.js";
|
|
3
|
-
import { __require as requireUtils } from "./golocal-cloud-wrapper.es121.js";
|
|
4
|
-
import { __require as requireError } from "./golocal-cloud-wrapper.es122.js";
|
|
5
|
-
import { __require as requireCookies } from "./golocal-cloud-wrapper.es123.js";
|
|
6
|
-
var hasRequiredRequest;
|
|
7
|
-
function requireRequest() {
|
|
8
|
-
if (hasRequiredRequest) return request;
|
|
9
|
-
hasRequiredRequest = 1;
|
|
10
|
-
(function(exports) {
|
|
11
|
-
Object.defineProperty(exports, "__esModule", {
|
|
12
|
-
value: true
|
|
13
|
-
});
|
|
14
|
-
function _export(target, all) {
|
|
15
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: all[name]
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
_export(exports, {
|
|
21
|
-
INTERNALS: function() {
|
|
22
|
-
return INTERNALS;
|
|
23
|
-
},
|
|
24
|
-
NextRequest: function() {
|
|
25
|
-
return NextRequest;
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
const _nexturl = requireNextUrl();
|
|
29
|
-
const _utils = requireUtils();
|
|
30
|
-
const _error = requireError();
|
|
31
|
-
const _cookies = requireCookies();
|
|
32
|
-
const INTERNALS = Symbol("internal request");
|
|
33
|
-
class NextRequest extends Request {
|
|
34
|
-
constructor(input, init = {}) {
|
|
35
|
-
const url = typeof input !== "string" && "url" in input ? input.url : String(input);
|
|
36
|
-
(0, _utils.validateURL)(url);
|
|
37
|
-
if (process.env.NEXT_RUNTIME !== "edge") {
|
|
38
|
-
if (init.body && init.duplex !== "half") {
|
|
39
|
-
init.duplex = "half";
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
if (input instanceof Request) super(input, init);
|
|
43
|
-
else super(url, init);
|
|
44
|
-
const nextUrl = new _nexturl.NextURL(url, {
|
|
45
|
-
headers: (0, _utils.toNodeOutgoingHttpHeaders)(this.headers),
|
|
46
|
-
nextConfig: init.nextConfig
|
|
47
|
-
});
|
|
48
|
-
this[INTERNALS] = {
|
|
49
|
-
cookies: new _cookies.RequestCookies(this.headers),
|
|
50
|
-
nextUrl,
|
|
51
|
-
url: process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE ? url : nextUrl.toString()
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
[Symbol.for("edge-runtime.inspect.custom")]() {
|
|
55
|
-
return {
|
|
56
|
-
cookies: this.cookies,
|
|
57
|
-
nextUrl: this.nextUrl,
|
|
58
|
-
url: this.url,
|
|
59
|
-
// rest of props come from Request
|
|
60
|
-
bodyUsed: this.bodyUsed,
|
|
61
|
-
cache: this.cache,
|
|
62
|
-
credentials: this.credentials,
|
|
63
|
-
destination: this.destination,
|
|
64
|
-
headers: Object.fromEntries(this.headers),
|
|
65
|
-
integrity: this.integrity,
|
|
66
|
-
keepalive: this.keepalive,
|
|
67
|
-
method: this.method,
|
|
68
|
-
mode: this.mode,
|
|
69
|
-
redirect: this.redirect,
|
|
70
|
-
referrer: this.referrer,
|
|
71
|
-
referrerPolicy: this.referrerPolicy,
|
|
72
|
-
signal: this.signal
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
get cookies() {
|
|
76
|
-
return this[INTERNALS].cookies;
|
|
77
|
-
}
|
|
78
|
-
get nextUrl() {
|
|
79
|
-
return this[INTERNALS].nextUrl;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* @deprecated
|
|
83
|
-
* `page` has been deprecated in favour of `URLPattern`.
|
|
84
|
-
* Read more: https://nextjs.org/docs/messages/middleware-request-page
|
|
85
|
-
*/
|
|
86
|
-
get page() {
|
|
87
|
-
throw new _error.RemovedPageError();
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* @deprecated
|
|
91
|
-
* `ua` has been removed in favour of \`userAgent\` function.
|
|
92
|
-
* Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent
|
|
93
|
-
*/
|
|
94
|
-
get ua() {
|
|
95
|
-
throw new _error.RemovedUAError();
|
|
96
|
-
}
|
|
97
|
-
get url() {
|
|
98
|
-
return this[INTERNALS].url;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
})(request);
|
|
102
|
-
return request;
|
|
103
|
-
}
|
|
104
|
-
export {
|
|
105
|
-
requireRequest as __require
|
|
106
|
-
};
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { __exports as response } from "./golocal-cloud-wrapper.es124.js";
|
|
2
|
-
import { __require as requireCookies } from "./golocal-cloud-wrapper.es123.js";
|
|
3
|
-
import { __require as requireNextUrl } from "./golocal-cloud-wrapper.es120.js";
|
|
4
|
-
import { __require as requireUtils } from "./golocal-cloud-wrapper.es121.js";
|
|
5
|
-
import { __require as requireReflect } from "./golocal-cloud-wrapper.es125.js";
|
|
6
|
-
var hasRequiredResponse;
|
|
7
|
-
function requireResponse() {
|
|
8
|
-
if (hasRequiredResponse) return response;
|
|
9
|
-
hasRequiredResponse = 1;
|
|
10
|
-
(function(exports) {
|
|
11
|
-
Object.defineProperty(exports, "__esModule", {
|
|
12
|
-
value: true
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports, "NextResponse", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function() {
|
|
17
|
-
return NextResponse;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const _cookies = requireCookies();
|
|
21
|
-
const _nexturl = requireNextUrl();
|
|
22
|
-
const _utils = requireUtils();
|
|
23
|
-
const _reflect = requireReflect();
|
|
24
|
-
const _cookies1 = requireCookies();
|
|
25
|
-
const INTERNALS = Symbol("internal response");
|
|
26
|
-
const REDIRECTS = /* @__PURE__ */ new Set([
|
|
27
|
-
301,
|
|
28
|
-
302,
|
|
29
|
-
303,
|
|
30
|
-
307,
|
|
31
|
-
308
|
|
32
|
-
]);
|
|
33
|
-
function handleMiddlewareField(init, headers) {
|
|
34
|
-
var _init_request;
|
|
35
|
-
if (init == null ? void 0 : (_init_request = init.request) == null ? void 0 : _init_request.headers) {
|
|
36
|
-
if (!(init.request.headers instanceof Headers)) {
|
|
37
|
-
throw Object.defineProperty(new Error("request.headers must be an instance of Headers"), "__NEXT_ERROR_CODE", {
|
|
38
|
-
value: "E119",
|
|
39
|
-
enumerable: false,
|
|
40
|
-
configurable: true
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
const keys = [];
|
|
44
|
-
for (const [key, value] of init.request.headers) {
|
|
45
|
-
headers.set("x-middleware-request-" + key, value);
|
|
46
|
-
keys.push(key);
|
|
47
|
-
}
|
|
48
|
-
headers.set("x-middleware-override-headers", keys.join(","));
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
class NextResponse extends Response {
|
|
52
|
-
constructor(body, init = {}) {
|
|
53
|
-
super(body, init);
|
|
54
|
-
const headers = this.headers;
|
|
55
|
-
const cookies = new _cookies1.ResponseCookies(headers);
|
|
56
|
-
const cookiesProxy = new Proxy(cookies, {
|
|
57
|
-
get(target, prop, receiver) {
|
|
58
|
-
switch (prop) {
|
|
59
|
-
case "delete":
|
|
60
|
-
case "set": {
|
|
61
|
-
return (...args) => {
|
|
62
|
-
const result = Reflect.apply(target[prop], target, args);
|
|
63
|
-
const newHeaders = new Headers(headers);
|
|
64
|
-
if (result instanceof _cookies1.ResponseCookies) {
|
|
65
|
-
headers.set("x-middleware-set-cookie", result.getAll().map((cookie) => (0, _cookies.stringifyCookie)(cookie)).join(","));
|
|
66
|
-
}
|
|
67
|
-
handleMiddlewareField(init, newHeaders);
|
|
68
|
-
return result;
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
default:
|
|
72
|
-
return _reflect.ReflectAdapter.get(target, prop, receiver);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
this[INTERNALS] = {
|
|
77
|
-
cookies: cookiesProxy,
|
|
78
|
-
url: init.url ? new _nexturl.NextURL(init.url, {
|
|
79
|
-
headers: (0, _utils.toNodeOutgoingHttpHeaders)(headers),
|
|
80
|
-
nextConfig: init.nextConfig
|
|
81
|
-
}) : void 0
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
[Symbol.for("edge-runtime.inspect.custom")]() {
|
|
85
|
-
return {
|
|
86
|
-
cookies: this.cookies,
|
|
87
|
-
url: this.url,
|
|
88
|
-
// rest of props come from Response
|
|
89
|
-
body: this.body,
|
|
90
|
-
bodyUsed: this.bodyUsed,
|
|
91
|
-
headers: Object.fromEntries(this.headers),
|
|
92
|
-
ok: this.ok,
|
|
93
|
-
redirected: this.redirected,
|
|
94
|
-
status: this.status,
|
|
95
|
-
statusText: this.statusText,
|
|
96
|
-
type: this.type
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
get cookies() {
|
|
100
|
-
return this[INTERNALS].cookies;
|
|
101
|
-
}
|
|
102
|
-
static json(body, init) {
|
|
103
|
-
const response2 = Response.json(body, init);
|
|
104
|
-
return new NextResponse(response2.body, response2);
|
|
105
|
-
}
|
|
106
|
-
static redirect(url, init) {
|
|
107
|
-
const status = typeof init === "number" ? init : (init == null ? void 0 : init.status) ?? 307;
|
|
108
|
-
if (!REDIRECTS.has(status)) {
|
|
109
|
-
throw Object.defineProperty(new RangeError('Failed to execute "redirect" on "response": Invalid status code'), "__NEXT_ERROR_CODE", {
|
|
110
|
-
value: "E529",
|
|
111
|
-
enumerable: false,
|
|
112
|
-
configurable: true
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
const initObj = typeof init === "object" ? init : {};
|
|
116
|
-
const headers = new Headers(initObj == null ? void 0 : initObj.headers);
|
|
117
|
-
headers.set("Location", (0, _utils.validateURL)(url));
|
|
118
|
-
return new NextResponse(null, {
|
|
119
|
-
...initObj,
|
|
120
|
-
headers,
|
|
121
|
-
status
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
static rewrite(destination, init) {
|
|
125
|
-
const headers = new Headers(init == null ? void 0 : init.headers);
|
|
126
|
-
headers.set("x-middleware-rewrite", (0, _utils.validateURL)(destination));
|
|
127
|
-
handleMiddlewareField(init, headers);
|
|
128
|
-
return new NextResponse(null, {
|
|
129
|
-
...init,
|
|
130
|
-
headers
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
static next(init) {
|
|
134
|
-
const headers = new Headers(init == null ? void 0 : init.headers);
|
|
135
|
-
headers.set("x-middleware-next", "1");
|
|
136
|
-
handleMiddlewareField(init, headers);
|
|
137
|
-
return new NextResponse(null, {
|
|
138
|
-
...init,
|
|
139
|
-
headers
|
|
140
|
-
});
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
})(response);
|
|
144
|
-
return response;
|
|
145
|
-
}
|
|
146
|
-
export {
|
|
147
|
-
requireResponse as __require
|
|
148
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { __exports as imageResponse } from "./golocal-cloud-wrapper.es126.js";
|
|
2
|
-
var hasRequiredImageResponse;
|
|
3
|
-
function requireImageResponse() {
|
|
4
|
-
if (hasRequiredImageResponse) return imageResponse;
|
|
5
|
-
hasRequiredImageResponse = 1;
|
|
6
|
-
(function(exports) {
|
|
7
|
-
Object.defineProperty(exports, "__esModule", {
|
|
8
|
-
value: true
|
|
9
|
-
});
|
|
10
|
-
Object.defineProperty(exports, "ImageResponse", {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function() {
|
|
13
|
-
return ImageResponse;
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
function ImageResponse() {
|
|
17
|
-
throw Object.defineProperty(new Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead'), "__NEXT_ERROR_CODE", {
|
|
18
|
-
value: "E183",
|
|
19
|
-
enumerable: false,
|
|
20
|
-
configurable: true
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
})(imageResponse);
|
|
24
|
-
return imageResponse;
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
requireImageResponse as __require
|
|
28
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { __exports as userAgent } from "./golocal-cloud-wrapper.es127.js";
|
|
2
|
-
import { __require as requireUaParser } from "./golocal-cloud-wrapper.es128.js";
|
|
3
|
-
var hasRequiredUserAgent;
|
|
4
|
-
function requireUserAgent() {
|
|
5
|
-
if (hasRequiredUserAgent) return userAgent;
|
|
6
|
-
hasRequiredUserAgent = 1;
|
|
7
|
-
(function(exports) {
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
function _export(target, all) {
|
|
12
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: all[name]
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
_export(exports, {
|
|
18
|
-
isBot: function() {
|
|
19
|
-
return isBot;
|
|
20
|
-
},
|
|
21
|
-
userAgent: function() {
|
|
22
|
-
return userAgent2;
|
|
23
|
-
},
|
|
24
|
-
userAgentFromString: function() {
|
|
25
|
-
return userAgentFromString;
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
const _uaparserjs = /* @__PURE__ */ _interop_require_default(requireUaParser());
|
|
29
|
-
function _interop_require_default(obj) {
|
|
30
|
-
return obj && obj.__esModule ? obj : {
|
|
31
|
-
default: obj
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
function isBot(input) {
|
|
35
|
-
return /Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(input);
|
|
36
|
-
}
|
|
37
|
-
function userAgentFromString(input) {
|
|
38
|
-
return {
|
|
39
|
-
...(0, _uaparserjs.default)(input),
|
|
40
|
-
isBot: input === void 0 ? false : isBot(input)
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function userAgent2({ headers }) {
|
|
44
|
-
return userAgentFromString(headers.get("user-agent") || void 0);
|
|
45
|
-
}
|
|
46
|
-
})(userAgent);
|
|
47
|
-
return userAgent;
|
|
48
|
-
}
|
|
49
|
-
export {
|
|
50
|
-
requireUserAgent as __require
|
|
51
|
-
};
|