@qlik/api 1.29.0 → 1.31.0
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/api-keys.d.ts +2 -2
- package/api-keys.js +2 -2
- package/apps.d.ts +5 -13
- package/apps.js +2 -2
- package/audits.d.ts +2 -2
- package/audits.js +2 -2
- package/{auth-types-PkN9CAF_.d.ts → auth-types-DqfMuSRX.d.ts} +1 -0
- package/auth.d.ts +27 -3
- package/auth.js +8 -4
- package/automations.d.ts +38 -38
- package/automations.js +2 -2
- package/brands.d.ts +2 -2
- package/brands.js +2 -2
- package/chunks/{2BRBIRM2.js → 6ZONDHRN.js} +1 -1
- package/chunks/{2B7YWDQC.js → DLKLPD7T.js} +3 -3
- package/chunks/ETNHFALU.js +61 -0
- package/chunks/{NBW6PHZU.js → FKDGGR2O.js} +158 -45
- package/chunks/{KYCIMQ4L.js → GUU3KZGK.js} +11 -1
- package/chunks/{5XNSGPGZ.js → KBSD75QL.js} +1 -1
- package/chunks/{4D5NADHK.js → LY7RP2HA.js} +7 -3
- package/chunks/{QOOCP2TS.js → M64RLKVG.js} +2074 -12
- package/chunks/{5MRIMVKS.js → PLVPW5IR.js} +17 -20
- package/chunks/{MGXEGSJC.js → UZTIZ4H5.js} +392 -372
- package/chunks/{WQYEWU54.js → YKZ2QYHN.js} +2 -2
- package/collections.d.ts +3 -3
- package/collections.js +2 -2
- package/csp-origins.d.ts +2 -2
- package/csp-origins.js +2 -2
- package/data-assets.d.ts +2 -2
- package/data-assets.js +2 -2
- package/data-connections.d.ts +8 -8
- package/data-connections.js +2 -2
- package/data-credentials.d.ts +2 -2
- package/data-credentials.js +2 -2
- package/data-files.d.ts +2 -2
- package/data-files.js +2 -2
- package/docs/authentication.md +47 -0
- package/extensions.d.ts +2 -2
- package/extensions.js +2 -2
- package/glossaries.d.ts +22 -15
- package/glossaries.js +2 -2
- package/groups.d.ts +5 -4
- package/groups.js +2 -2
- package/identity-providers.d.ts +2 -2
- package/identity-providers.js +2 -2
- package/index.d.ts +10 -4
- package/index.js +29 -4
- package/interceptors.d.ts +2 -2
- package/{invoke-fetch-types-BXn-uSF5.d.ts → invoke-fetch-types-Cq7bjkqn.d.ts} +10 -2
- package/items.d.ts +3 -3
- package/items.js +2 -2
- package/licenses.d.ts +5 -2
- package/licenses.js +2 -2
- package/oauth-clients.d.ts +521 -0
- package/oauth-clients.js +112 -0
- package/package.json +4 -2
- package/qix.d.ts +422 -27
- package/qix.js +2 -2
- package/quotas.d.ts +2 -2
- package/quotas.js +2 -2
- package/reload-tasks.d.ts +4 -2
- package/reload-tasks.js +2 -2
- package/reloads.d.ts +6 -2
- package/reloads.js +2 -2
- package/reports.d.ts +4 -2
- package/reports.js +2 -2
- package/roles.d.ts +14 -4
- package/roles.js +2 -2
- package/spaces.d.ts +3 -7
- package/spaces.js +2 -2
- package/temp-contents.d.ts +2 -2
- package/temp-contents.js +2 -2
- package/tenants.d.ts +2 -2
- package/tenants.js +2 -2
- package/themes.d.ts +2 -2
- package/themes.js +2 -2
- package/transports.d.ts +2 -2
- package/transports.js +2 -2
- package/users.d.ts +2 -2
- package/users.js +2 -2
- package/web-integrations.d.ts +2 -2
- package/web-integrations.js +2 -2
- package/web-notifications.d.ts +2 -2
- package/web-notifications.js +2 -2
- package/webhooks.d.ts +2 -2
- package/webhooks.js +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// node_modules/.pnpm/@qlik+runtime-module-loader@1.0.
|
|
1
|
+
// node_modules/.pnpm/@qlik+runtime-module-loader@1.0.21/node_modules/@qlik/runtime-module-loader/dist/index.js
|
|
2
2
|
window.__qlikMainPrivateResolvers = window.__qlikMainPrivateResolvers || {};
|
|
3
3
|
window.__qlikMainPrivateResolvers.mainUrlPromise = window.__qlikMainPrivateResolvers.mainUrlPromise || new Promise((resolve) => {
|
|
4
4
|
window.__qlikMainPrivateResolvers.resolveMainJsUrl = (value) => resolve(value);
|
|
@@ -7,22 +7,27 @@ window.__qlikMainPrivateResolvers.qlikMainPromise = window.__qlikMainPrivateReso
|
|
|
7
7
|
if (window.QlikMain) {
|
|
8
8
|
return window.QlikMain;
|
|
9
9
|
}
|
|
10
|
+
const noHostWarningTimer = setTimeout(() => {
|
|
11
|
+
console.warn("Waiting for a host parameter pointing to a Qlik runtime system");
|
|
12
|
+
}, 5e3);
|
|
10
13
|
const url = await window.__qlikMainPrivateResolvers.mainUrlPromise;
|
|
14
|
+
clearTimeout(noHostWarningTimer);
|
|
11
15
|
return new Promise((resolve) => {
|
|
12
16
|
if (window.QlikMain) {
|
|
13
17
|
resolve(window.QlikMain);
|
|
18
|
+
} else {
|
|
19
|
+
const script = window.document.createElement("script");
|
|
20
|
+
script.src = url;
|
|
21
|
+
script.addEventListener("error", () => {
|
|
22
|
+
console.error(`Qlik runtime system not found: ${url}`);
|
|
23
|
+
});
|
|
24
|
+
script.addEventListener("load", () => {
|
|
25
|
+
if (window.QlikMain) {
|
|
26
|
+
resolve(window.QlikMain);
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
window.document.head.appendChild(script);
|
|
14
30
|
}
|
|
15
|
-
const script = window.document.createElement("script");
|
|
16
|
-
script.src = url;
|
|
17
|
-
script.addEventListener("error", () => {
|
|
18
|
-
console.error(`Qlik runtime system not found: ${url}`);
|
|
19
|
-
});
|
|
20
|
-
script.addEventListener("load", () => {
|
|
21
|
-
if (window.QlikMain) {
|
|
22
|
-
resolve(window.QlikMain);
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
window.document.head.appendChild(script);
|
|
26
31
|
});
|
|
27
32
|
})();
|
|
28
33
|
function provideHostConfigForMainJsUrl(hostConfig) {
|
|
@@ -30,9 +35,6 @@ function provideHostConfigForMainJsUrl(hostConfig) {
|
|
|
30
35
|
function toMainJsUrl(hc) {
|
|
31
36
|
const url = hc?.embedRuntimeUrl || hc?.url || hc?.host;
|
|
32
37
|
if (!url) {
|
|
33
|
-
window.__qlikMainPrivateResolvers.noHostWarningTimer = setTimeout(() => {
|
|
34
|
-
console.warn("Waiting for a host parameter pointing to a Qlik runtime system");
|
|
35
|
-
}, 5e3);
|
|
36
38
|
return void 0;
|
|
37
39
|
}
|
|
38
40
|
let locationUrl;
|
|
@@ -46,11 +48,6 @@ function provideHostConfigForMainJsUrl(hostConfig) {
|
|
|
46
48
|
}
|
|
47
49
|
const potentialMainJsUrl = toMainJsUrl(hostConfig);
|
|
48
50
|
if (potentialMainJsUrl) {
|
|
49
|
-
const warningTimer = window.__qlikMainPrivateResolvers.noHostWarningTimer;
|
|
50
|
-
if (warningTimer) {
|
|
51
|
-
window.__qlikMainPrivateResolvers.noHostWarningTimer = void 0;
|
|
52
|
-
clearTimeout(warningTimer);
|
|
53
|
-
}
|
|
54
51
|
window.__qlikMainPrivateResolvers.resolveMainJsUrl(potentialMainJsUrl);
|
|
55
52
|
}
|
|
56
53
|
}
|