@kwiz/common 1.0.73 → 1.0.74
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/lib/cjs/_dependencies.js.map +1 -0
- package/lib/cjs/config.js.map +1 -0
- package/lib/cjs/exports-index.js.map +1 -0
- package/lib/cjs/helpers/Guid.js.map +1 -0
- package/lib/cjs/helpers/_dependencies.js.map +1 -0
- package/lib/cjs/helpers/base64.js.map +1 -0
- package/lib/cjs/helpers/browser.js.map +1 -0
- package/lib/cjs/helpers/browserinfo.js.map +1 -0
- package/{dist → lib/cjs}/helpers/collections.base.js +0 -3
- package/lib/cjs/helpers/collections.base.js.map +1 -0
- package/lib/cjs/helpers/collections.js.map +1 -0
- package/lib/cjs/helpers/color.js.map +1 -0
- package/lib/cjs/helpers/cookies.js.map +1 -0
- package/lib/cjs/helpers/date.js.map +1 -0
- package/{dist → lib/cjs}/helpers/debug.js +1 -1
- package/lib/cjs/helpers/debug.js.map +1 -0
- package/lib/cjs/helpers/emails.js.map +1 -0
- package/lib/cjs/helpers/eval.js.map +1 -0
- package/lib/cjs/helpers/exports-index.js.map +1 -0
- package/lib/cjs/helpers/file.js.map +1 -0
- package/lib/cjs/helpers/flatted.js.map +1 -0
- package/lib/cjs/helpers/functions.js.map +1 -0
- package/lib/cjs/helpers/graph/calendar.types.js.map +1 -0
- package/lib/cjs/helpers/graph/exports-index.js.map +1 -0
- package/lib/cjs/helpers/http.js.map +1 -0
- package/lib/cjs/helpers/images.js.map +1 -0
- package/lib/cjs/helpers/json.js.map +1 -0
- package/lib/cjs/helpers/md5.js.map +1 -0
- package/lib/cjs/helpers/objects.js.map +1 -0
- package/{dist → lib/cjs}/helpers/promises.js +8 -3
- package/lib/cjs/helpers/promises.js.map +1 -0
- package/lib/cjs/helpers/random.js.map +1 -0
- package/lib/cjs/helpers/scheduler/exports-index.js.map +1 -0
- package/lib/cjs/helpers/scheduler/scheduler.js.map +1 -0
- package/{dist → lib/cjs}/helpers/sharepoint.js +17 -17
- package/lib/cjs/helpers/sharepoint.js.map +1 -0
- package/lib/cjs/helpers/strings.js.map +1 -0
- package/lib/cjs/helpers/typecheckers.js.map +1 -0
- package/lib/cjs/helpers/url.js.map +1 -0
- package/lib/cjs/helpers/urlhelper.js.map +1 -0
- package/{dist → lib/cjs}/index.js +5 -2
- package/lib/cjs/index.js.map +1 -0
- package/lib/cjs/types/auth.js.map +1 -0
- package/lib/cjs/types/common.types.js.map +1 -0
- package/lib/cjs/types/exports-index.js.map +1 -0
- package/lib/cjs/types/flatted.types.js.map +1 -0
- package/lib/cjs/types/globals.types.js.map +1 -0
- package/lib/cjs/types/graph/calendar.types.js.map +1 -0
- package/lib/cjs/types/graph/exports-index.js.map +1 -0
- package/lib/cjs/types/knownscript.types.js.map +1 -0
- package/lib/cjs/types/libs/datajs.types.js.map +1 -0
- package/lib/cjs/types/libs/exports-index.js.map +1 -0
- package/lib/cjs/types/libs/ics.types.js.map +1 -0
- package/lib/cjs/types/libs/msal.types.js.map +1 -0
- package/{dist → lib/cjs}/types/locales.js.map +1 -1
- package/lib/cjs/types/localstoragecache.types.js.map +1 -0
- package/lib/cjs/types/location.types.js.map +1 -0
- package/{dist → lib/cjs}/types/moment.js.map +1 -1
- package/{dist → lib/cjs}/types/regex.types.js.map +1 -1
- package/lib/cjs/types/rest.types.js.map +1 -0
- package/lib/cjs/types/sharepoint.types.js.map +1 -0
- package/lib/cjs/types/sharepoint.utils.types.js.map +1 -0
- package/lib/cjs/utils/_dependencies.js.map +1 -0
- package/lib/cjs/utils/auth/common.js.map +1 -0
- package/{dist → lib/cjs}/utils/auth/discovery.js +16 -14
- package/lib/cjs/utils/auth/discovery.js.map +1 -0
- package/lib/cjs/utils/auth/exports-index.js.map +1 -0
- package/{dist → lib/cjs}/utils/base64.js +4 -3
- package/lib/cjs/utils/base64.js.map +1 -0
- package/{dist → lib/cjs}/utils/consolelogger.js +31 -26
- package/lib/cjs/utils/consolelogger.js.map +1 -0
- package/{dist → lib/cjs}/utils/date.js +3 -3
- package/lib/cjs/utils/date.js.map +1 -0
- package/{dist → lib/cjs}/utils/emails.js +2 -2
- package/lib/cjs/utils/emails.js.map +1 -0
- package/lib/cjs/utils/exports-index.js.map +1 -0
- package/{dist → lib/cjs}/utils/knownscript.js +9 -5
- package/lib/cjs/utils/knownscript.js.map +1 -0
- package/{dist → lib/cjs}/utils/localstoragecache.js +40 -27
- package/lib/cjs/utils/localstoragecache.js.map +1 -0
- package/{dist → lib/cjs}/utils/rest.js +63 -48
- package/lib/cjs/utils/rest.js.map +1 -0
- package/{dist → lib/cjs}/utils/script.js +15 -10
- package/lib/cjs/utils/script.js.map +1 -0
- package/lib/cjs/utils/sharepoint.rest/common.js.map +1 -0
- package/{dist → lib/cjs}/utils/sharepoint.rest/date.js +10 -9
- package/lib/cjs/utils/sharepoint.rest/date.js.map +1 -0
- package/lib/cjs/utils/sharepoint.rest/exports-index.js.map +1 -0
- package/{dist → lib/cjs}/utils/sharepoint.rest/file.folder.js +49 -46
- package/lib/cjs/utils/sharepoint.rest/file.folder.js.map +1 -0
- package/{dist → lib/cjs}/utils/sharepoint.rest/item.js +51 -45
- package/lib/cjs/utils/sharepoint.rest/item.js.map +1 -0
- package/{dist → lib/cjs}/utils/sharepoint.rest/list.js +131 -124
- package/lib/cjs/utils/sharepoint.rest/list.js.map +1 -0
- package/{dist → lib/cjs}/utils/sharepoint.rest/listutils/GetListItemsByCaml.js +55 -50
- package/lib/cjs/utils/sharepoint.rest/listutils/GetListItemsByCaml.js.map +1 -0
- package/{dist → lib/cjs}/utils/sharepoint.rest/listutils/GetListItemsById.js +31 -23
- package/lib/cjs/utils/sharepoint.rest/listutils/GetListItemsById.js.map +1 -0
- package/{dist → lib/cjs}/utils/sharepoint.rest/listutils/common.js +20 -16
- package/lib/cjs/utils/sharepoint.rest/listutils/common.js.map +1 -0
- package/lib/cjs/utils/sharepoint.rest/listutils/exports-index.js.map +1 -0
- package/{dist → lib/cjs}/utils/sharepoint.rest/location.js +3 -3
- package/lib/cjs/utils/sharepoint.rest/location.js.map +1 -0
- package/{dist → lib/cjs}/utils/sharepoint.rest/navigation-links.js +3 -3
- package/lib/cjs/utils/sharepoint.rest/navigation-links.js.map +1 -0
- package/{dist → lib/cjs}/utils/sharepoint.rest/user-search.js +7 -5
- package/lib/cjs/utils/sharepoint.rest/user-search.js.map +1 -0
- package/{dist → lib/cjs}/utils/sharepoint.rest/user.js +52 -47
- package/lib/cjs/utils/sharepoint.rest/user.js.map +1 -0
- package/{dist → lib/cjs}/utils/sharepoint.rest/web.js +167 -158
- package/lib/cjs/utils/sharepoint.rest/web.js.map +1 -0
- package/{dist → lib/cjs}/utils/sod.js +12 -11
- package/lib/cjs/utils/sod.js.map +1 -0
- package/lib/esm/_dependencies.js +12 -0
- package/lib/esm/_dependencies.js.map +1 -0
- package/lib/esm/config.js +12 -0
- package/lib/esm/config.js.map +1 -0
- package/lib/esm/exports-index.js +5 -0
- package/lib/esm/exports-index.js.map +1 -0
- package/lib/esm/helpers/Guid.js +179 -0
- package/lib/esm/helpers/Guid.js.map +1 -0
- package/{src/helpers/_dependencies.ts → lib/esm/helpers/_dependencies.js} +3 -3
- package/lib/esm/helpers/_dependencies.js.map +1 -0
- package/lib/esm/helpers/base64.js +157 -0
- package/lib/esm/helpers/base64.js.map +1 -0
- package/lib/esm/helpers/browser.js +1158 -0
- package/lib/esm/helpers/browser.js.map +1 -0
- package/lib/esm/helpers/browserinfo.js +206 -0
- package/lib/esm/helpers/browserinfo.js.map +1 -0
- package/lib/esm/helpers/collections.base.js +372 -0
- package/lib/esm/helpers/collections.base.js.map +1 -0
- package/lib/esm/helpers/collections.js +96 -0
- package/lib/esm/helpers/collections.js.map +1 -0
- package/lib/esm/helpers/color.js +51 -0
- package/lib/esm/helpers/color.js.map +1 -0
- package/lib/esm/helpers/cookies.js +53 -0
- package/lib/esm/helpers/cookies.js.map +1 -0
- package/lib/esm/helpers/date.js +163 -0
- package/lib/esm/helpers/date.js.map +1 -0
- package/lib/esm/helpers/debug.js +156 -0
- package/lib/esm/helpers/debug.js.map +1 -0
- package/lib/esm/helpers/emails.js +6 -0
- package/lib/esm/helpers/emails.js.map +1 -0
- package/lib/esm/helpers/eval.js +6 -0
- package/lib/esm/helpers/eval.js.map +1 -0
- package/lib/esm/helpers/exports-index.js +30 -0
- package/lib/esm/helpers/exports-index.js.map +1 -0
- package/lib/esm/helpers/file.js +49 -0
- package/lib/esm/helpers/file.js.map +1 -0
- package/lib/esm/helpers/flatted.js +131 -0
- package/lib/esm/helpers/flatted.js.map +1 -0
- package/lib/esm/helpers/functions.js +13 -0
- package/lib/esm/helpers/functions.js.map +1 -0
- package/lib/esm/helpers/graph/calendar.types.js +10 -0
- package/lib/esm/helpers/graph/calendar.types.js.map +1 -0
- package/lib/esm/helpers/graph/exports-index.js +2 -0
- package/lib/esm/helpers/graph/exports-index.js.map +1 -0
- package/lib/esm/helpers/http.js +65 -0
- package/lib/esm/helpers/http.js.map +1 -0
- package/lib/esm/helpers/images.js +18 -0
- package/lib/esm/helpers/images.js.map +1 -0
- package/lib/esm/helpers/json.js +39 -0
- package/lib/esm/helpers/json.js.map +1 -0
- package/lib/esm/helpers/md5.js +168 -0
- package/lib/esm/helpers/md5.js.map +1 -0
- package/lib/esm/helpers/objects.js +258 -0
- package/lib/esm/helpers/objects.js.map +1 -0
- package/lib/esm/helpers/promises.js +152 -0
- package/lib/esm/helpers/promises.js.map +1 -0
- package/lib/esm/helpers/random.js +27 -0
- package/lib/esm/helpers/random.js.map +1 -0
- package/lib/esm/helpers/scheduler/exports-index.js +2 -0
- package/lib/esm/helpers/scheduler/exports-index.js.map +1 -0
- package/lib/esm/helpers/scheduler/scheduler.js +103 -0
- package/lib/esm/helpers/scheduler/scheduler.js.map +1 -0
- package/lib/esm/helpers/sharepoint.js +669 -0
- package/lib/esm/helpers/sharepoint.js.map +1 -0
- package/lib/esm/helpers/strings.js +273 -0
- package/lib/esm/helpers/strings.js.map +1 -0
- package/lib/esm/helpers/typecheckers.js +238 -0
- package/lib/esm/helpers/typecheckers.js.map +1 -0
- package/lib/esm/helpers/url.js +190 -0
- package/lib/esm/helpers/url.js.map +1 -0
- package/lib/esm/helpers/urlhelper.js +100 -0
- package/lib/esm/helpers/urlhelper.js.map +1 -0
- package/lib/esm/index.js +6 -0
- package/lib/esm/index.js.map +1 -0
- package/lib/esm/types/auth.js +38 -0
- package/lib/esm/types/auth.js.map +1 -0
- package/lib/esm/types/common.types.js +3 -0
- package/lib/esm/types/common.types.js.map +1 -0
- package/lib/esm/types/exports-index.js +16 -0
- package/lib/esm/types/exports-index.js.map +1 -0
- package/lib/esm/types/flatted.types.js +2 -0
- package/lib/esm/types/flatted.types.js.map +1 -0
- package/lib/esm/types/globals.types.js +2 -0
- package/lib/esm/types/globals.types.js.map +1 -0
- package/lib/esm/types/graph/calendar.types.js +2 -0
- package/lib/esm/types/graph/calendar.types.js.map +1 -0
- package/lib/esm/types/graph/exports-index.js +2 -0
- package/lib/esm/types/graph/exports-index.js.map +1 -0
- package/lib/esm/types/knownscript.types.js +2 -0
- package/lib/esm/types/knownscript.types.js.map +1 -0
- package/lib/esm/types/libs/datajs.types.js +2 -0
- package/lib/esm/types/libs/datajs.types.js.map +1 -0
- package/lib/esm/types/libs/exports-index.js +4 -0
- package/lib/esm/types/libs/exports-index.js.map +1 -0
- package/lib/esm/types/libs/ics.types.js +2 -0
- package/lib/esm/types/libs/ics.types.js.map +1 -0
- package/lib/esm/types/libs/msal.types.js +28 -0
- package/lib/esm/types/libs/msal.types.js.map +1 -0
- package/lib/esm/types/locales.js +2 -0
- package/lib/esm/types/locales.js.map +1 -0
- package/lib/esm/types/localstoragecache.types.js +2 -0
- package/lib/esm/types/localstoragecache.types.js.map +1 -0
- package/lib/esm/types/location.types.js +2 -0
- package/lib/esm/types/location.types.js.map +1 -0
- package/lib/esm/types/moment.js +2 -0
- package/lib/esm/types/moment.js.map +1 -0
- package/lib/esm/types/regex.types.js +2 -0
- package/lib/esm/types/regex.types.js.map +1 -0
- package/lib/esm/types/rest.types.js +21 -0
- package/lib/esm/types/rest.types.js.map +1 -0
- package/lib/esm/types/sharepoint.types.js +660 -0
- package/lib/esm/types/sharepoint.types.js.map +1 -0
- package/lib/esm/types/sharepoint.utils.types.js +51 -0
- package/lib/esm/types/sharepoint.utils.types.js.map +1 -0
- package/{src/utils/_dependencies.ts → lib/esm/utils/_dependencies.js} +4 -4
- package/lib/esm/utils/_dependencies.js.map +1 -0
- package/lib/esm/utils/auth/common.js +61 -0
- package/lib/esm/utils/auth/common.js.map +1 -0
- package/lib/esm/utils/auth/discovery.js +104 -0
- package/lib/esm/utils/auth/discovery.js.map +1 -0
- package/lib/esm/utils/auth/exports-index.js +3 -0
- package/lib/esm/utils/auth/exports-index.js.map +1 -0
- package/lib/esm/utils/base64.js +27 -0
- package/lib/esm/utils/base64.js.map +1 -0
- package/lib/esm/utils/consolelogger.js +271 -0
- package/lib/esm/utils/consolelogger.js.map +1 -0
- package/lib/esm/utils/date.js +26 -0
- package/lib/esm/utils/date.js.map +1 -0
- package/lib/esm/utils/emails.js +23 -0
- package/lib/esm/utils/emails.js.map +1 -0
- package/lib/esm/utils/exports-index.js +12 -0
- package/lib/esm/utils/exports-index.js.map +1 -0
- package/lib/esm/utils/knownscript.js +247 -0
- package/lib/esm/utils/knownscript.js.map +1 -0
- package/lib/esm/utils/localstoragecache.js +378 -0
- package/lib/esm/utils/localstoragecache.js.map +1 -0
- package/lib/esm/utils/rest.js +432 -0
- package/lib/esm/utils/rest.js.map +1 -0
- package/lib/esm/utils/script.js +154 -0
- package/lib/esm/utils/script.js.map +1 -0
- package/lib/esm/utils/sharepoint.rest/common.js +134 -0
- package/lib/esm/utils/sharepoint.rest/common.js.map +1 -0
- package/lib/esm/utils/sharepoint.rest/date.js +54 -0
- package/lib/esm/utils/sharepoint.rest/date.js.map +1 -0
- package/lib/esm/utils/sharepoint.rest/exports-index.js +12 -0
- package/lib/esm/utils/sharepoint.rest/exports-index.js.map +1 -0
- package/lib/esm/utils/sharepoint.rest/file.folder.js +444 -0
- package/lib/esm/utils/sharepoint.rest/file.folder.js.map +1 -0
- package/lib/esm/utils/sharepoint.rest/item.js +453 -0
- package/lib/esm/utils/sharepoint.rest/item.js.map +1 -0
- package/lib/esm/utils/sharepoint.rest/list.js +924 -0
- package/lib/esm/utils/sharepoint.rest/list.js.map +1 -0
- package/lib/esm/utils/sharepoint.rest/listutils/GetListItemsByCaml.js +624 -0
- package/lib/esm/utils/sharepoint.rest/listutils/GetListItemsByCaml.js.map +1 -0
- package/lib/esm/utils/sharepoint.rest/listutils/GetListItemsById.js +214 -0
- package/lib/esm/utils/sharepoint.rest/listutils/GetListItemsById.js.map +1 -0
- package/lib/esm/utils/sharepoint.rest/listutils/common.js +198 -0
- package/lib/esm/utils/sharepoint.rest/listutils/common.js.map +1 -0
- package/lib/esm/utils/sharepoint.rest/listutils/exports-index.js +4 -0
- package/lib/esm/utils/sharepoint.rest/listutils/exports-index.js.map +1 -0
- package/lib/esm/utils/sharepoint.rest/location.js +103 -0
- package/lib/esm/utils/sharepoint.rest/location.js.map +1 -0
- package/lib/esm/utils/sharepoint.rest/navigation-links.js +80 -0
- package/lib/esm/utils/sharepoint.rest/navigation-links.js.map +1 -0
- package/lib/esm/utils/sharepoint.rest/user-search.js +218 -0
- package/lib/esm/utils/sharepoint.rest/user-search.js.map +1 -0
- package/lib/esm/utils/sharepoint.rest/user.js +414 -0
- package/lib/esm/utils/sharepoint.rest/user.js.map +1 -0
- package/lib/esm/utils/sharepoint.rest/web.js +1158 -0
- package/lib/esm/utils/sharepoint.rest/web.js.map +1 -0
- package/lib/esm/utils/sod.js +164 -0
- package/lib/esm/utils/sod.js.map +1 -0
- package/{dist → lib/types}/helpers/collections.base.d.ts +1 -1
- package/{dist → lib/types}/helpers/collections.d.ts +1 -1
- package/{dist → lib/types}/helpers/flatted.d.ts +1 -1
- package/{dist → lib/types}/helpers/graph/calendar.types.d.ts +1 -1
- package/{dist → lib/types}/helpers/sharepoint.d.ts +3 -1
- package/{dist → lib/types}/helpers/strings.d.ts +1 -1
- package/{dist → lib/types}/helpers/url.d.ts +1 -1
- package/{dist → lib/types}/utils/auth/discovery.d.ts +1 -1
- package/{dist → lib/types}/utils/knownscript.d.ts +5 -1
- package/{dist → lib/types}/utils/localstoragecache.d.ts +1 -1
- package/{dist → lib/types}/utils/rest.d.ts +1 -1
- package/{dist → lib/types}/utils/script.d.ts +1 -1
- package/{dist → lib/types}/utils/sharepoint.rest/date.d.ts +1 -1
- package/{dist → lib/types}/utils/sharepoint.rest/file.folder.d.ts +4 -1
- package/{dist → lib/types}/utils/sharepoint.rest/item.d.ts +3 -1
- package/{dist → lib/types}/utils/sharepoint.rest/list.d.ts +4 -1
- package/{dist → lib/types}/utils/sharepoint.rest/listutils/GetListItemsByCaml.d.ts +1 -1
- package/{dist → lib/types}/utils/sharepoint.rest/listutils/GetListItemsById.d.ts +2 -1
- package/{dist → lib/types}/utils/sharepoint.rest/listutils/common.d.ts +2 -1
- package/{dist → lib/types}/utils/sharepoint.rest/navigation-links.d.ts +1 -1
- package/{dist → lib/types}/utils/sharepoint.rest/user-search.d.ts +1 -1
- package/{dist → lib/types}/utils/sharepoint.rest/user.d.ts +3 -1
- package/{dist → lib/types}/utils/sharepoint.rest/web.d.ts +3 -1
- package/{dist → lib/types}/utils/sod.d.ts +1 -1
- package/package.json +15 -7
- package/src/helpers/browser.ts +1 -1
- package/src/helpers/collections.base.ts +1 -2
- package/src/helpers/collections.ts +1 -1
- package/src/helpers/debug.ts +1 -1
- package/src/helpers/flatted.ts +1 -1
- package/src/helpers/graph/calendar.types.ts +1 -1
- package/src/helpers/promises.ts +10 -5
- package/src/helpers/sharepoint.ts +3 -1
- package/src/helpers/strings.ts +1 -1
- package/src/helpers/url.ts +1 -1
- package/src/utils/auth/discovery.ts +3 -1
- package/src/utils/base64.ts +2 -1
- package/src/utils/consolelogger.ts +7 -1
- package/src/utils/date.ts +1 -1
- package/src/utils/emails.ts +1 -1
- package/src/utils/knownscript.ts +7 -1
- package/src/utils/localstoragecache.ts +39 -20
- package/src/utils/rest.ts +23 -4
- package/src/utils/script.ts +4 -1
- package/src/utils/sharepoint.rest/date.ts +3 -1
- package/src/utils/sharepoint.rest/file.folder.ts +7 -1
- package/src/utils/sharepoint.rest/item.ts +9 -1
- package/src/utils/sharepoint.rest/list.ts +10 -1
- package/src/utils/sharepoint.rest/listutils/GetListItemsByCaml.ts +9 -1
- package/src/utils/sharepoint.rest/listutils/GetListItemsById.ts +14 -4
- package/src/utils/sharepoint.rest/listutils/common.ts +6 -1
- package/src/utils/sharepoint.rest/location.ts +1 -1
- package/src/utils/sharepoint.rest/navigation-links.ts +2 -1
- package/src/utils/sharepoint.rest/user-search.ts +4 -1
- package/src/utils/sharepoint.rest/user.ts +7 -1
- package/src/utils/sharepoint.rest/web.ts +12 -2
- package/src/utils/sod.ts +3 -1
- package/dist/_dependencies.js.map +0 -1
- package/dist/config.js.map +0 -1
- package/dist/exports-index.js.map +0 -1
- package/dist/helpers/Guid.js.map +0 -1
- package/dist/helpers/_dependencies.js.map +0 -1
- package/dist/helpers/base64.js.map +0 -1
- package/dist/helpers/browser.js.map +0 -1
- package/dist/helpers/browserinfo.js.map +0 -1
- package/dist/helpers/collections.base.js.map +0 -1
- package/dist/helpers/collections.js.map +0 -1
- package/dist/helpers/color.js.map +0 -1
- package/dist/helpers/cookies.js.map +0 -1
- package/dist/helpers/date.js.map +0 -1
- package/dist/helpers/debug.js.map +0 -1
- package/dist/helpers/emails.js.map +0 -1
- package/dist/helpers/eval.js.map +0 -1
- package/dist/helpers/exports-index.js.map +0 -1
- package/dist/helpers/file.js.map +0 -1
- package/dist/helpers/flatted.js.map +0 -1
- package/dist/helpers/functions.js.map +0 -1
- package/dist/helpers/graph/calendar.types.js.map +0 -1
- package/dist/helpers/graph/exports-index.js.map +0 -1
- package/dist/helpers/http.js.map +0 -1
- package/dist/helpers/images.js.map +0 -1
- package/dist/helpers/json.js.map +0 -1
- package/dist/helpers/md5.js.map +0 -1
- package/dist/helpers/objects.js.map +0 -1
- package/dist/helpers/promises.js.map +0 -1
- package/dist/helpers/random.js.map +0 -1
- package/dist/helpers/scheduler/exports-index.js.map +0 -1
- package/dist/helpers/scheduler/scheduler.js.map +0 -1
- package/dist/helpers/sharepoint.js.map +0 -1
- package/dist/helpers/strings.js.map +0 -1
- package/dist/helpers/typecheckers.js.map +0 -1
- package/dist/helpers/url.js.map +0 -1
- package/dist/helpers/urlhelper.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/types/auth.js.map +0 -1
- package/dist/types/common.types.js.map +0 -1
- package/dist/types/exports-index.js.map +0 -1
- package/dist/types/flatted.types.js.map +0 -1
- package/dist/types/globals.types.js.map +0 -1
- package/dist/types/graph/calendar.types.js.map +0 -1
- package/dist/types/graph/exports-index.js.map +0 -1
- package/dist/types/knownscript.types.js.map +0 -1
- package/dist/types/libs/datajs.types.js.map +0 -1
- package/dist/types/libs/exports-index.js.map +0 -1
- package/dist/types/libs/ics.types.js.map +0 -1
- package/dist/types/libs/msal.types.js.map +0 -1
- package/dist/types/localstoragecache.types.js.map +0 -1
- package/dist/types/location.types.js.map +0 -1
- package/dist/types/rest.types.js.map +0 -1
- package/dist/types/sharepoint.types.js.map +0 -1
- package/dist/types/sharepoint.utils.types.js.map +0 -1
- package/dist/utils/_dependencies.js.map +0 -1
- package/dist/utils/auth/common.js.map +0 -1
- package/dist/utils/auth/discovery.js.map +0 -1
- package/dist/utils/auth/exports-index.js.map +0 -1
- package/dist/utils/base64.js.map +0 -1
- package/dist/utils/consolelogger.js.map +0 -1
- package/dist/utils/date.js.map +0 -1
- package/dist/utils/emails.js.map +0 -1
- package/dist/utils/exports-index.js.map +0 -1
- package/dist/utils/knownscript.js.map +0 -1
- package/dist/utils/localstoragecache.js.map +0 -1
- package/dist/utils/rest.js.map +0 -1
- package/dist/utils/script.js.map +0 -1
- package/dist/utils/sharepoint.rest/common.js.map +0 -1
- package/dist/utils/sharepoint.rest/date.js.map +0 -1
- package/dist/utils/sharepoint.rest/exports-index.js.map +0 -1
- package/dist/utils/sharepoint.rest/file.folder.js.map +0 -1
- package/dist/utils/sharepoint.rest/item.js.map +0 -1
- package/dist/utils/sharepoint.rest/list.js.map +0 -1
- package/dist/utils/sharepoint.rest/listutils/GetListItemsByCaml.js.map +0 -1
- package/dist/utils/sharepoint.rest/listutils/GetListItemsById.js.map +0 -1
- package/dist/utils/sharepoint.rest/listutils/common.js.map +0 -1
- package/dist/utils/sharepoint.rest/listutils/exports-index.js.map +0 -1
- package/dist/utils/sharepoint.rest/location.js.map +0 -1
- package/dist/utils/sharepoint.rest/navigation-links.js.map +0 -1
- package/dist/utils/sharepoint.rest/user-search.js.map +0 -1
- package/dist/utils/sharepoint.rest/user.js.map +0 -1
- package/dist/utils/sharepoint.rest/web.js.map +0 -1
- package/dist/utils/sod.js.map +0 -1
- /package/{dist → lib/cjs}/_dependencies.js +0 -0
- /package/{dist → lib/cjs}/config.js +0 -0
- /package/{dist → lib/cjs}/exports-index.js +0 -0
- /package/{dist → lib/cjs}/helpers/Guid.js +0 -0
- /package/{dist → lib/cjs}/helpers/_dependencies.js +0 -0
- /package/{dist → lib/cjs}/helpers/base64.js +0 -0
- /package/{dist → lib/cjs}/helpers/browser.js +0 -0
- /package/{dist → lib/cjs}/helpers/browserinfo.js +0 -0
- /package/{dist → lib/cjs}/helpers/collections.js +0 -0
- /package/{dist → lib/cjs}/helpers/color.js +0 -0
- /package/{dist → lib/cjs}/helpers/cookies.js +0 -0
- /package/{dist → lib/cjs}/helpers/date.js +0 -0
- /package/{dist → lib/cjs}/helpers/emails.js +0 -0
- /package/{dist → lib/cjs}/helpers/eval.js +0 -0
- /package/{dist → lib/cjs}/helpers/exports-index.js +0 -0
- /package/{dist → lib/cjs}/helpers/file.js +0 -0
- /package/{dist → lib/cjs}/helpers/flatted.js +0 -0
- /package/{dist → lib/cjs}/helpers/functions.js +0 -0
- /package/{dist → lib/cjs}/helpers/graph/calendar.types.js +0 -0
- /package/{dist → lib/cjs}/helpers/graph/exports-index.js +0 -0
- /package/{dist → lib/cjs}/helpers/http.js +0 -0
- /package/{dist → lib/cjs}/helpers/images.js +0 -0
- /package/{dist → lib/cjs}/helpers/json.js +0 -0
- /package/{dist → lib/cjs}/helpers/md5.js +0 -0
- /package/{dist → lib/cjs}/helpers/objects.js +0 -0
- /package/{dist → lib/cjs}/helpers/random.js +0 -0
- /package/{dist → lib/cjs}/helpers/scheduler/exports-index.js +0 -0
- /package/{dist → lib/cjs}/helpers/scheduler/scheduler.js +0 -0
- /package/{dist → lib/cjs}/helpers/strings.js +0 -0
- /package/{dist → lib/cjs}/helpers/typecheckers.js +0 -0
- /package/{dist → lib/cjs}/helpers/url.js +0 -0
- /package/{dist → lib/cjs}/helpers/urlhelper.js +0 -0
- /package/{dist → lib/cjs}/types/auth.js +0 -0
- /package/{dist → lib/cjs}/types/common.types.js +0 -0
- /package/{dist → lib/cjs}/types/exports-index.js +0 -0
- /package/{dist → lib/cjs}/types/flatted.types.js +0 -0
- /package/{dist → lib/cjs}/types/globals.types.js +0 -0
- /package/{dist → lib/cjs}/types/graph/calendar.types.js +0 -0
- /package/{dist → lib/cjs}/types/graph/exports-index.js +0 -0
- /package/{dist → lib/cjs}/types/knownscript.types.js +0 -0
- /package/{dist → lib/cjs}/types/libs/datajs.types.js +0 -0
- /package/{dist → lib/cjs}/types/libs/exports-index.js +0 -0
- /package/{dist → lib/cjs}/types/libs/ics.types.js +0 -0
- /package/{dist → lib/cjs}/types/libs/msal.types.js +0 -0
- /package/{dist → lib/cjs}/types/locales.js +0 -0
- /package/{dist → lib/cjs}/types/localstoragecache.types.js +0 -0
- /package/{dist → lib/cjs}/types/location.types.js +0 -0
- /package/{dist → lib/cjs}/types/moment.js +0 -0
- /package/{dist → lib/cjs}/types/regex.types.js +0 -0
- /package/{dist → lib/cjs}/types/rest.types.js +0 -0
- /package/{dist → lib/cjs}/types/sharepoint.types.js +0 -0
- /package/{dist → lib/cjs}/types/sharepoint.utils.types.js +0 -0
- /package/{dist → lib/cjs}/utils/_dependencies.js +0 -0
- /package/{dist → lib/cjs}/utils/auth/common.js +0 -0
- /package/{dist → lib/cjs}/utils/auth/exports-index.js +0 -0
- /package/{dist → lib/cjs}/utils/exports-index.js +0 -0
- /package/{dist → lib/cjs}/utils/sharepoint.rest/common.js +0 -0
- /package/{dist → lib/cjs}/utils/sharepoint.rest/exports-index.js +0 -0
- /package/{dist → lib/cjs}/utils/sharepoint.rest/listutils/exports-index.js +0 -0
- /package/{dist → lib/types}/_dependencies.d.ts +0 -0
- /package/{dist → lib/types}/config.d.ts +0 -0
- /package/{dist → lib/types}/exports-index.d.ts +0 -0
- /package/{dist → lib/types}/helpers/Guid.d.ts +0 -0
- /package/{dist → lib/types}/helpers/_dependencies.d.ts +0 -0
- /package/{dist → lib/types}/helpers/base64.d.ts +0 -0
- /package/{dist → lib/types}/helpers/browser.d.ts +0 -0
- /package/{dist → lib/types}/helpers/browserinfo.d.ts +0 -0
- /package/{dist → lib/types}/helpers/color.d.ts +0 -0
- /package/{dist → lib/types}/helpers/cookies.d.ts +0 -0
- /package/{dist → lib/types}/helpers/date.d.ts +0 -0
- /package/{dist → lib/types}/helpers/debug.d.ts +0 -0
- /package/{dist → lib/types}/helpers/emails.d.ts +0 -0
- /package/{dist → lib/types}/helpers/eval.d.ts +0 -0
- /package/{dist → lib/types}/helpers/exports-index.d.ts +0 -0
- /package/{dist → lib/types}/helpers/file.d.ts +0 -0
- /package/{dist → lib/types}/helpers/functions.d.ts +0 -0
- /package/{dist → lib/types}/helpers/graph/exports-index.d.ts +0 -0
- /package/{dist → lib/types}/helpers/http.d.ts +0 -0
- /package/{dist → lib/types}/helpers/images.d.ts +0 -0
- /package/{dist → lib/types}/helpers/json.d.ts +0 -0
- /package/{dist → lib/types}/helpers/md5.d.ts +0 -0
- /package/{dist → lib/types}/helpers/objects.d.ts +0 -0
- /package/{dist → lib/types}/helpers/promises.d.ts +0 -0
- /package/{dist → lib/types}/helpers/random.d.ts +0 -0
- /package/{dist → lib/types}/helpers/scheduler/exports-index.d.ts +0 -0
- /package/{dist → lib/types}/helpers/scheduler/scheduler.d.ts +0 -0
- /package/{dist → lib/types}/helpers/typecheckers.d.ts +0 -0
- /package/{dist → lib/types}/helpers/urlhelper.d.ts +0 -0
- /package/{dist → lib/types}/index.d.ts +0 -0
- /package/{dist → lib/types}/types/auth.d.ts +0 -0
- /package/{dist → lib/types}/types/common.types.d.ts +0 -0
- /package/{dist → lib/types}/types/exports-index.d.ts +0 -0
- /package/{dist → lib/types}/types/flatted.types.d.ts +0 -0
- /package/{dist → lib/types}/types/globals.types.d.ts +0 -0
- /package/{dist → lib/types}/types/graph/calendar.types.d.ts +0 -0
- /package/{dist → lib/types}/types/graph/exports-index.d.ts +0 -0
- /package/{dist → lib/types}/types/knownscript.types.d.ts +0 -0
- /package/{dist → lib/types}/types/libs/datajs.types.d.ts +0 -0
- /package/{dist → lib/types}/types/libs/exports-index.d.ts +0 -0
- /package/{dist → lib/types}/types/libs/ics.types.d.ts +0 -0
- /package/{dist → lib/types}/types/libs/msal.types.d.ts +0 -0
- /package/{dist → lib/types}/types/locales.d.ts +0 -0
- /package/{dist → lib/types}/types/localstoragecache.types.d.ts +0 -0
- /package/{dist → lib/types}/types/location.types.d.ts +0 -0
- /package/{dist → lib/types}/types/moment.d.ts +0 -0
- /package/{dist → lib/types}/types/regex.types.d.ts +0 -0
- /package/{dist → lib/types}/types/rest.types.d.ts +0 -0
- /package/{dist → lib/types}/types/sharepoint.types.d.ts +0 -0
- /package/{dist → lib/types}/types/sharepoint.utils.types.d.ts +0 -0
- /package/{dist → lib/types}/utils/_dependencies.d.ts +0 -0
- /package/{dist → lib/types}/utils/auth/common.d.ts +0 -0
- /package/{dist → lib/types}/utils/auth/exports-index.d.ts +0 -0
- /package/{dist → lib/types}/utils/base64.d.ts +0 -0
- /package/{dist → lib/types}/utils/consolelogger.d.ts +0 -0
- /package/{dist → lib/types}/utils/date.d.ts +0 -0
- /package/{dist → lib/types}/utils/emails.d.ts +0 -0
- /package/{dist → lib/types}/utils/exports-index.d.ts +0 -0
- /package/{dist → lib/types}/utils/sharepoint.rest/common.d.ts +0 -0
- /package/{dist → lib/types}/utils/sharepoint.rest/exports-index.d.ts +0 -0
- /package/{dist → lib/types}/utils/sharepoint.rest/listutils/exports-index.d.ts +0 -0
- /package/{dist → lib/types}/utils/sharepoint.rest/location.d.ts +0 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { ArrayFill, lastOrNull } from "./collections.base";
|
|
2
|
+
import { isNullOrEmptyString, isString } from "./typecheckers";
|
|
3
|
+
import { URLHelper } from "./urlhelper";
|
|
4
|
+
/**
|
|
5
|
+
* Get query string parameter by name
|
|
6
|
+
* @param name name of parameter
|
|
7
|
+
* @param url optional, url. if not sent - current window.location.href will be used
|
|
8
|
+
*/
|
|
9
|
+
export function getQueryStringParameter(param, url, caseInSensitive = true) {
|
|
10
|
+
let search = window.location.search;
|
|
11
|
+
if (!isNullOrEmptyString(url)) {
|
|
12
|
+
let tmp = url.split('#')[0].split('?');
|
|
13
|
+
search = tmp.length > 1 ? tmp[1] : '';
|
|
14
|
+
}
|
|
15
|
+
return getParameterValue(param, search, caseInSensitive);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Get url hash parameter by name
|
|
19
|
+
* @param name name of parameter
|
|
20
|
+
* @param url optional, url. if not sent - current window.location.href will be used
|
|
21
|
+
*/
|
|
22
|
+
export function getHashParameter(param, url, caseInSensitive = true) {
|
|
23
|
+
let hash = window.location.hash;
|
|
24
|
+
if (!isNullOrEmptyString(url)) {
|
|
25
|
+
let tmp = url.split('#');
|
|
26
|
+
hash = tmp.length > 1 ? tmp[1] : '';
|
|
27
|
+
}
|
|
28
|
+
return getParameterValue(param, hash, caseInSensitive);
|
|
29
|
+
}
|
|
30
|
+
/** return a value of a parameter from a key/value string like: key=value&key2=value2 */
|
|
31
|
+
export function getParameterValue(param, keyValueString, caseInSensitive = true) {
|
|
32
|
+
let _keyValueString = keyValueString.startsWith("#") || keyValueString.startsWith("?") ? keyValueString.substring(1) : keyValueString;
|
|
33
|
+
let parsed = _keyValueString.split('&');
|
|
34
|
+
for (var i = 0; i < parsed.length; i++) {
|
|
35
|
+
let values = parsed[i].split('=');
|
|
36
|
+
if (caseInSensitive ? values[0].toLowerCase() === param.toLowerCase() : values[0] === param) {
|
|
37
|
+
let v = (values.length > 1 ? values[1] : param);
|
|
38
|
+
return decodeURIComponent(v.replace(/\+/g, " "));
|
|
39
|
+
}
|
|
40
|
+
//ISSUE: 1301 - the query string parameter name was encoded in window.location.href/window.location.search even though in the
|
|
41
|
+
//url bar the paramter name was not encoded
|
|
42
|
+
if (caseInSensitive ? decodeURIComponent(values[0]).toLowerCase() === param.toLowerCase() : decodeURIComponent(values[0]) === param) {
|
|
43
|
+
let v = (values.length > 1 ? values[1] : param);
|
|
44
|
+
return decodeURIComponent(v.replace(/\+/g, " "));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return "";
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Make full url relative to current page location
|
|
51
|
+
* @param url
|
|
52
|
+
*/
|
|
53
|
+
export function makeFullUrl(url, baseUrl) {
|
|
54
|
+
if (isNullOrEmptyString(url))
|
|
55
|
+
url = baseUrl || window.location.href;
|
|
56
|
+
if (url.indexOf('://') > 0)
|
|
57
|
+
return url;
|
|
58
|
+
else {
|
|
59
|
+
if (url.startsWith('/') || url.startsWith('#')) {
|
|
60
|
+
//server relative
|
|
61
|
+
if (isNullOrEmptyString(baseUrl)) { //no override base
|
|
62
|
+
let xxx = document.createElement("a");
|
|
63
|
+
xxx.href = url;
|
|
64
|
+
return xxx.href;
|
|
65
|
+
}
|
|
66
|
+
else //have override base
|
|
67
|
+
{
|
|
68
|
+
if (url.startsWith('#'))
|
|
69
|
+
return `${baseUrl.split('#')[0]}${url}`;
|
|
70
|
+
return `${baseUrl.split('/').slice(0, 3).join("/")}${url}`;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
else //folder relative URL, and we have a different baseURL to base it on
|
|
74
|
+
{
|
|
75
|
+
return makeFullUrl(makeServerRelativeUrl(url, baseUrl), baseUrl);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
/** if the url is the same, only different hash parameter - reload the page. otherwise - navigate to the page */
|
|
80
|
+
export function navigateOrReload(urlWithHash) {
|
|
81
|
+
if (makeServerRelativeUrl(urlWithHash).split('#')[0].toLowerCase() === makeServerRelativeUrl(window.location.href).split('#')[0].toLowerCase())
|
|
82
|
+
window.location.reload(); //can't change hash - it won't refresh page
|
|
83
|
+
else
|
|
84
|
+
window.location.href = urlWithHash;
|
|
85
|
+
}
|
|
86
|
+
/** baseUrl is optional full or server relative URL to build folder relative urls from. */
|
|
87
|
+
export function makeServerRelativeUrl(url, baseUrl) {
|
|
88
|
+
if (isNullOrEmptyString(url))
|
|
89
|
+
url = baseUrl || window.location.href.split('?')[0];
|
|
90
|
+
let index = url.indexOf("//");
|
|
91
|
+
if (index > 0) //this is a full URL, just trim it from // until the first / and return.
|
|
92
|
+
{
|
|
93
|
+
index = url.indexOf("/", index + 2); //find next / after the ://domain.name
|
|
94
|
+
if (index < 0)
|
|
95
|
+
return "/"; //not found - return "/" for the root.
|
|
96
|
+
else
|
|
97
|
+
return url.slice(index); //found - return from that "/" onwards.
|
|
98
|
+
}
|
|
99
|
+
else if (url.startsWith('/')) //server relative url already
|
|
100
|
+
return url;
|
|
101
|
+
else //folder relative url
|
|
102
|
+
{
|
|
103
|
+
let baseRelativeUrl = makeServerRelativeUrl(baseUrl || window.location.href);
|
|
104
|
+
baseRelativeUrl = baseRelativeUrl.split('?')[0];
|
|
105
|
+
//if ends with file name - strip it
|
|
106
|
+
if (lastOrNull(baseRelativeUrl.split('/')).indexOf('.') >= 0)
|
|
107
|
+
baseRelativeUrl = baseRelativeUrl.substr(0, baseRelativeUrl.lastIndexOf('/'));
|
|
108
|
+
return normalizeUrl(baseRelativeUrl, true) + url;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
/** Normalizes URL ending, end with or without slash */
|
|
112
|
+
export function normalizeUrl(url, endWithSlash = false) {
|
|
113
|
+
let tmp = url;
|
|
114
|
+
if (endWithSlash) {
|
|
115
|
+
if (isNullOrEmptyString(tmp))
|
|
116
|
+
tmp = "/";
|
|
117
|
+
else if (tmp.substr(-1) !== "/")
|
|
118
|
+
tmp += "/";
|
|
119
|
+
}
|
|
120
|
+
else {
|
|
121
|
+
if (!isNullOrEmptyString(tmp) && tmp.endsWith('/'))
|
|
122
|
+
tmp = tmp.slice(0, url.length - 1);
|
|
123
|
+
}
|
|
124
|
+
return tmp;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Returns the extension for a specified url string. Requires the URL polyfill for IE.
|
|
128
|
+
*/
|
|
129
|
+
export function getURLExtension(url) {
|
|
130
|
+
if (!isString(url)) {
|
|
131
|
+
return "";
|
|
132
|
+
}
|
|
133
|
+
//if (!isString(baseUri)) {
|
|
134
|
+
// baseUri = document.baseURI || window.location.protocol + "://" + window.location.hostname + window.location.pathname;
|
|
135
|
+
//}
|
|
136
|
+
let urlObj = new URL(url, "https://example.com");
|
|
137
|
+
url = urlObj.href.replace(urlObj.host, "").replace(urlObj.hash, "").replace(urlObj.search, "");
|
|
138
|
+
return url.substring(url.lastIndexOf("/") + 1).split(/#|\?/)[0].split(".").pop().trim();
|
|
139
|
+
}
|
|
140
|
+
export function isDataUrl(url) {
|
|
141
|
+
let REGEXP_DATA_URL = /^data:(?:.+?\/.+?)?(?:;.+?=.+?)*(?:;base64)?,.*$/;
|
|
142
|
+
return REGEXP_DATA_URL.test(url);
|
|
143
|
+
}
|
|
144
|
+
export function setUrlKeyValue(keyName, keyValue, bEncode, url) {
|
|
145
|
+
if (!isString(url)) {
|
|
146
|
+
url = window.location.href + "";
|
|
147
|
+
}
|
|
148
|
+
let urlParams = new URLHelper(url);
|
|
149
|
+
return urlParams.setQueryStringParam(keyName, keyValue, bEncode);
|
|
150
|
+
}
|
|
151
|
+
export function removeUrlKeyValue(keyName, url, bCaseInsensitive) {
|
|
152
|
+
if (!isString(url)) {
|
|
153
|
+
url = window.location.href + "";
|
|
154
|
+
}
|
|
155
|
+
let urlParams = new URLHelper(url);
|
|
156
|
+
return urlParams.removeQueryStringParam(keyName, bCaseInsensitive);
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Returns encoded string from encodeURIComponent with single quote replaced with %27 or %27%27
|
|
160
|
+
*/
|
|
161
|
+
export function encodeURIComponentEX(str, options) {
|
|
162
|
+
return encodeURIComponent(str).replace(/'/g, (s) => {
|
|
163
|
+
return options && options.singleQuoteMultiplier > 1
|
|
164
|
+
? ArrayFill(new Array(options.singleQuoteMultiplier), "%27").join('')
|
|
165
|
+
: `%27`;
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
export function parseQueryString(url) {
|
|
169
|
+
if (isNullOrEmptyString(url) || url.indexOf('?') < 0)
|
|
170
|
+
return {};
|
|
171
|
+
let strParams = url.split('?')[1].split('#')[0].split('&');
|
|
172
|
+
let params = {};
|
|
173
|
+
strParams.forEach(p => {
|
|
174
|
+
let keyValue = p.split("=");
|
|
175
|
+
params[keyValue[0]] = decodeURIComponent(keyValue[1] || "");
|
|
176
|
+
});
|
|
177
|
+
return params;
|
|
178
|
+
}
|
|
179
|
+
export function parseHash(url) {
|
|
180
|
+
if (isNullOrEmptyString(url) || url.indexOf('#') < 0)
|
|
181
|
+
return {};
|
|
182
|
+
let strParams = url.split('#')[1].split('&');
|
|
183
|
+
let params = {};
|
|
184
|
+
strParams.forEach(p => {
|
|
185
|
+
let keyValue = p.split("=");
|
|
186
|
+
params[keyValue[0]] = decodeURIComponent(keyValue[1] || "");
|
|
187
|
+
});
|
|
188
|
+
return params;
|
|
189
|
+
}
|
|
190
|
+
//# sourceMappingURL=url.js.map
|
|
@@ -0,0 +1 @@
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ACjC,IAAI,mBAAmB,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC;QAAE,OAAO,EAAE,CAAC;IAChE,IAAI,SAAS,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC7C,IAAI,MAAM,GAAwB,EAAE,CAAC;IACrC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;QAClB,IAAI,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC5B,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAChE,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAClB,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export class URLHelper {
|
|
2
|
+
constructor(url) {
|
|
3
|
+
let parts = url.split("#");
|
|
4
|
+
let pathAndQueryString = parts[0];
|
|
5
|
+
let hash = parts[1];
|
|
6
|
+
let parts2 = pathAndQueryString.split("?");
|
|
7
|
+
let path = parts2[0];
|
|
8
|
+
let queryString = parts2[1];
|
|
9
|
+
this.path = path;
|
|
10
|
+
this.queryStringParams = this._parseParams(queryString);
|
|
11
|
+
this.hashParams = this._parseParams(hash);
|
|
12
|
+
}
|
|
13
|
+
getQueryStringParam(keyName, bNoDecode, bCaseInsensitive) {
|
|
14
|
+
return this._getParam(this.queryStringParams, keyName, bNoDecode, bCaseInsensitive);
|
|
15
|
+
}
|
|
16
|
+
setQueryStringParam(keyName, keyValue, bEncode) {
|
|
17
|
+
this.queryStringParams[keyName] = bEncode ? encodeURIComponent(keyValue) : keyValue;
|
|
18
|
+
return this.getUrl();
|
|
19
|
+
}
|
|
20
|
+
removeQueryStringParam(keyName, bCaseInsensitive) {
|
|
21
|
+
this._removeParam(this.queryStringParams, keyName, bCaseInsensitive);
|
|
22
|
+
return this.getUrl();
|
|
23
|
+
}
|
|
24
|
+
getHashParam(keyName, bNoDecode, bCaseInsensitive) {
|
|
25
|
+
return this._getParam(this.hashParams, keyName, bNoDecode, bCaseInsensitive);
|
|
26
|
+
}
|
|
27
|
+
setHashParam(keyName, keyValue, bEncode) {
|
|
28
|
+
this.hashParams[keyName] = bEncode ? encodeURIComponent(keyValue) : keyValue;
|
|
29
|
+
return this.getUrl();
|
|
30
|
+
}
|
|
31
|
+
removeHashParam(keyName) {
|
|
32
|
+
this._removeParam(this.hashParams, keyName);
|
|
33
|
+
return this.getUrl();
|
|
34
|
+
}
|
|
35
|
+
_parseParams(paramsAsString) {
|
|
36
|
+
var paramsDict = {};
|
|
37
|
+
try {
|
|
38
|
+
(typeof (paramsAsString) === "string" && paramsAsString.length ? paramsAsString.split("&") : []).forEach((s) => {
|
|
39
|
+
let q = s.split("=");
|
|
40
|
+
let paramKey = decodeURIComponent(q[0]);
|
|
41
|
+
let paramValue = q[1];
|
|
42
|
+
if (typeof (paramKey) === "string" && paramKey.length) {
|
|
43
|
+
paramsDict[paramKey] = typeof (paramValue) === "string" && paramValue.length ? paramValue : null;
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
catch (ex) {
|
|
48
|
+
}
|
|
49
|
+
return paramsDict;
|
|
50
|
+
}
|
|
51
|
+
_removeParam(obj, keyName, bCaseInsensitive) {
|
|
52
|
+
if (!obj) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
Object.keys(obj).filter((key) => {
|
|
56
|
+
if (bCaseInsensitive === true) {
|
|
57
|
+
return key.toLowerCase() === keyName.toLowerCase();
|
|
58
|
+
}
|
|
59
|
+
return key === keyName;
|
|
60
|
+
}).forEach((key) => {
|
|
61
|
+
try {
|
|
62
|
+
delete obj[key];
|
|
63
|
+
}
|
|
64
|
+
catch {
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
_getParam(obj, keyName, bNoDecode, bCaseInsensitive) {
|
|
69
|
+
let value = null;
|
|
70
|
+
if (bCaseInsensitive) {
|
|
71
|
+
let matchedKey = Object.keys(obj).filter((key) => {
|
|
72
|
+
return key.toLowerCase() === keyName.toLowerCase();
|
|
73
|
+
})[0];
|
|
74
|
+
if (matchedKey) {
|
|
75
|
+
value = obj[matchedKey];
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
value = obj[keyName];
|
|
80
|
+
}
|
|
81
|
+
return typeof (value) === "string" ? (bNoDecode ? value : decodeURIComponent(value)) : null;
|
|
82
|
+
}
|
|
83
|
+
getUrl() {
|
|
84
|
+
let queryString = Object.keys(this.queryStringParams).map((key) => {
|
|
85
|
+
let value = this.queryStringParams[key];
|
|
86
|
+
return `${key}` + (value !== null ? `=${value}` : "");
|
|
87
|
+
});
|
|
88
|
+
let hash = Object.keys(this.hashParams).map((key) => {
|
|
89
|
+
var value = this.hashParams[key];
|
|
90
|
+
return `${key}` + (value !== null ? `=${value}` : "");
|
|
91
|
+
});
|
|
92
|
+
let newUrl = [
|
|
93
|
+
typeof (this.path) === "string" && this.path.length ? this.path : "",
|
|
94
|
+
queryString && queryString.length ? `?${queryString.join("&")}` : "",
|
|
95
|
+
hash && hash.length ? `#${hash.join("&")}` : ""
|
|
96
|
+
];
|
|
97
|
+
return newUrl.join("");
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=urlhelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"urlhelper.js","sourceRoot":"","sources":["../../../src/helpers/urlhelper.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,SAAS;IAKlB,YAAmB,GAAW;QAC1B,IAAI,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC3B,IAAI,kBAAkB,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QAClC,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.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,aAAa,CAAC;AAC9C,cAAc,iBAAiB,CAAC;AAChC,MAAM,CAAC,MAAM,MAAM,GAAG,OAAO,CAAC;AAC9B,MAAM,CAAC,MAAM,GAAG,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// eslint-disable-next-line no-shadow
|
|
2
|
+
export var AzureEnvironment;
|
|
3
|
+
(function (AzureEnvironment) {
|
|
4
|
+
AzureEnvironment[AzureEnvironment["Production"] = 0] = "Production";
|
|
5
|
+
AzureEnvironment[AzureEnvironment["PPE"] = 1] = "PPE";
|
|
6
|
+
AzureEnvironment[AzureEnvironment["China"] = 2] = "China";
|
|
7
|
+
AzureEnvironment[AzureEnvironment["Germany"] = 3] = "Germany";
|
|
8
|
+
AzureEnvironment[AzureEnvironment["USGovernment"] = 4] = "USGovernment";
|
|
9
|
+
})(AzureEnvironment || (AzureEnvironment = {}));
|
|
10
|
+
/** AuthenticationModes enum values for projects that can't use enums (when isolatedModules is true)
|
|
11
|
+
* @deprecated use AzureEnvironment
|
|
12
|
+
*/
|
|
13
|
+
export const $AzureEnvironment = {
|
|
14
|
+
Production: 0,
|
|
15
|
+
PPE: 1,
|
|
16
|
+
China: 2,
|
|
17
|
+
Germany: 3,
|
|
18
|
+
USGovernment: 4,
|
|
19
|
+
};
|
|
20
|
+
// eslint-disable-next-line no-shadow
|
|
21
|
+
export var AuthenticationModes;
|
|
22
|
+
(function (AuthenticationModes) {
|
|
23
|
+
AuthenticationModes["Certificate"] = "certificate";
|
|
24
|
+
AuthenticationModes["clientSecret"] = "secret";
|
|
25
|
+
})(AuthenticationModes || (AuthenticationModes = {}));
|
|
26
|
+
/** AuthenticationModes enum values for projects that can't use enums (when isolatedModules is true) */
|
|
27
|
+
export const $AuthenticationModes = {
|
|
28
|
+
Certificate: AuthenticationModes.Certificate,
|
|
29
|
+
clientSecret: AuthenticationModes.clientSecret,
|
|
30
|
+
};
|
|
31
|
+
export var SPFxAuthTokenType;
|
|
32
|
+
(function (SPFxAuthTokenType) {
|
|
33
|
+
SPFxAuthTokenType[SPFxAuthTokenType["Outlook"] = 0] = "Outlook";
|
|
34
|
+
SPFxAuthTokenType[SPFxAuthTokenType["SharePoint"] = 1] = "SharePoint";
|
|
35
|
+
SPFxAuthTokenType[SPFxAuthTokenType["Graph"] = 2] = "Graph";
|
|
36
|
+
SPFxAuthTokenType[SPFxAuthTokenType["MySite"] = 3] = "MySite";
|
|
37
|
+
})(SPFxAuthTokenType || (SPFxAuthTokenType = {}));
|
|
38
|
+
//# sourceMappingURL=auth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../src/types/auth.ts"],"names":[],"mappings":"AAOA,qCAAqC;AACrC,MAAM,CAAN,IAAY,gBAMX;AAND,WAAY,gBAAgB;IACxB,mEAAc,CAAA;IACd,qDAAO,CAAA;IACP,yDAAS,CAAA;IACT,6DAAW,CAAA;IACX,uEAAgB,CAAA;AACpB,CAAC,EANW,gBAAgB,KAAhB,gBAAgB,QAM3B;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,UAAU,EAAE,CAAC;IACb,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,OAAO,EAAE,CAAC;IACV,YAAY,EAAE,CAAC;CAClB,CAAA;AAED,qCAAqC;AACrC,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,kDAA2B,CAAA;IAC3B,8CAAuB,CAAA;AAC3B,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B;AACD,uGAAuG;AACvG,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,WAAW,EAAE,mBAAmB,CAAC,WAAW;IAC5C,YAAY,EAAE,mBAAmB,CAAC,YAAY;CACjD,CAAC;AAcF,MAAM,CAAN,IAAY,iBAKX;AALD,WAAY,iBAAiB;IACzB,+DAAO,CAAA;IACP,qEAAU,CAAA;IACV,2DAAK,CAAA;IACL,6DAAM,CAAA;AACV,CAAC,EALW,iBAAiB,KAAjB,iBAAiB,QAK5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.types.js","sourceRoot":"","sources":["../../../src/types/common.types.ts"],"names":[],"mappings":"AAAA,0CAA0C"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './graph/exports-index';
|
|
2
|
+
export * from './libs/exports-index';
|
|
3
|
+
export * from './auth';
|
|
4
|
+
export * from './common.types';
|
|
5
|
+
export * from './flatted.types';
|
|
6
|
+
export * from './globals.types';
|
|
7
|
+
export * from './knownscript.types';
|
|
8
|
+
export * from './locales';
|
|
9
|
+
export * from './localstoragecache.types';
|
|
10
|
+
export * from './location.types';
|
|
11
|
+
export * from './moment';
|
|
12
|
+
export * from './regex.types';
|
|
13
|
+
export * from './rest.types';
|
|
14
|
+
export * from './sharepoint.types';
|
|
15
|
+
export * from './sharepoint.utils.types';
|
|
16
|
+
//# sourceMappingURL=exports-index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exports-index.js","sourceRoot":"","sources":["../../../src/types/exports-index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flatted.types.js","sourceRoot":"","sources":["../../../src/types/flatted.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"globals.types.js","sourceRoot":"","sources":["../../../src/types/globals.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar.types.js","sourceRoot":"","sources":["../../../../src/types/graph/calendar.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exports-index.js","sourceRoot":"","sources":["../../../../src/types/graph/exports-index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"knownscript.types.js","sourceRoot":"","sources":["../../../src/types/knownscript.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datajs.types.js","sourceRoot":"","sources":["../../../../src/types/libs/datajs.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exports-index.js","sourceRoot":"","sources":["../../../../src/types/libs/exports-index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ics.types.js","sourceRoot":"","sources":["../../../../src/types/libs/ics.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export const MSALSampleLoginPopupScript = `<p id="msg">please wait...</p>
|
|
2
|
+
<script>
|
|
3
|
+
function finish() {
|
|
4
|
+
try {
|
|
5
|
+
var hash = window.location.hash;
|
|
6
|
+
if (hash[0] === "#") hash = hash.slice(1);//get rid of #
|
|
7
|
+
var hashDictionary = {};
|
|
8
|
+
hash.split("&").forEach(function (keyValue) {
|
|
9
|
+
if (keyValue !== "") {
|
|
10
|
+
var vals = keyValue.split("=");
|
|
11
|
+
hashDictionary[vals[0]] = decodeURIComponent(vals[1]);
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
if (Object.keys(hashDictionary).length < 1)
|
|
15
|
+
window.close();//we lose the hash!
|
|
16
|
+
else if (hashDictionary.error && hashDictionary.error_description)
|
|
17
|
+
document.getElementById("msg").innerHTML = hashDictionary.error_description.replace(/\\+/g," ").replace(/\\n/g,"<br /><br />");
|
|
18
|
+
else if (hashDictionary.state) {
|
|
19
|
+
var origin = hashDictionary.state.split("|")[1];
|
|
20
|
+
if (origin) {
|
|
21
|
+
window.location.href = origin.split("#")[0] + window.location.hash;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
} catch (e) { }
|
|
25
|
+
}
|
|
26
|
+
finish();
|
|
27
|
+
</script>`;
|
|
28
|
+
//# sourceMappingURL=msal.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"msal.types.js","sourceRoot":"","sources":["../../../../src/types/libs/msal.types.ts"],"names":[],"mappings":"AAWA,MAAM,CAAC,MAAM,0BAA0B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;UA0BhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locales.js","sourceRoot":"","sources":["../../../src/types/locales.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localstoragecache.types.js","sourceRoot":"","sources":["../../../src/types/localstoragecache.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"location.types.js","sourceRoot":"","sources":["../../../src/types/location.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"moment.js","sourceRoot":"","sources":["../../../src/types/moment.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regex.types.js","sourceRoot":"","sources":["../../../src/types/regex.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// eslint-disable-next-line no-shadow
|
|
2
|
+
export var jsonTypes;
|
|
3
|
+
(function (jsonTypes) {
|
|
4
|
+
jsonTypes["verbose"] = "application/json; odata=verbose";
|
|
5
|
+
jsonTypes["minimal"] = "application/json; odata=minimal";
|
|
6
|
+
jsonTypes["nometadata"] = "application/json; odata=nometadata";
|
|
7
|
+
jsonTypes["standard"] = "application/json";
|
|
8
|
+
})(jsonTypes || (jsonTypes = {}));
|
|
9
|
+
// eslint-disable-next-line no-shadow
|
|
10
|
+
export var contentTypes;
|
|
11
|
+
(function (contentTypes) {
|
|
12
|
+
contentTypes["xml"] = "application/xml";
|
|
13
|
+
contentTypes["json"] = "application/json";
|
|
14
|
+
})(contentTypes || (contentTypes = {}));
|
|
15
|
+
export const AllRestCacheOptionsKeys = {
|
|
16
|
+
allowCache: true,
|
|
17
|
+
forceCacheUpdate: true,
|
|
18
|
+
localStorageExpiration: 1,
|
|
19
|
+
maxAge: 1
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=rest.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rest.types.js","sourceRoot":"","sources":["../../../src/types/rest.types.ts"],"names":[],"mappings":"AAGA,qCAAqC;AACrC,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACjB,wDAA2C,CAAA;IAC3C,wDAA2C,CAAA;IAC3C,8DAAiD,CAAA;IACjD,0CAA6B,CAAA;AACjC,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AAED,qCAAqC;AACrC,MAAM,CAAN,IAAY,YAGX;AAHD,WAAY,YAAY;IACpB,uCAAuB,CAAA;IACvB,yCAAyB,CAAA;AAC7B,CAAC,EAHW,YAAY,KAAZ,YAAY,QAGvB;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAgC;IAChE,UAAU,EAAE,IAAI;IAChB,gBAAgB,EAAE,IAAI;IACtB,sBAAsB,EAAE,CAAC;IACzB,MAAM,EAAE,CAAC;CACZ,CAAC"}
|