fastapi-rtk 0.2.23 → 0.2.24

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.
Files changed (27) hide show
  1. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/runtime/uri.cjs +1 -1
  2. package/dist/.external/cjs/{fast-uri@3.0.6 → fast-uri@3.1.0}/fast-uri/index.cjs +51 -53
  3. package/dist/.external/cjs/fast-uri@3.1.0/fast-uri/lib/schemes.cjs +214 -0
  4. package/dist/.external/cjs/fast-uri@3.1.0/fast-uri/lib/utils.cjs +260 -0
  5. package/dist/.external/esm/ajv@8.17.1/ajv/dist/runtime/uri.mjs +1 -1
  6. package/dist/.external/esm/{fast-uri@3.0.6 → fast-uri@3.1.0}/fast-uri/index.mjs +51 -53
  7. package/dist/.external/esm/fast-uri@3.1.0/fast-uri/lib/schemes.mjs +214 -0
  8. package/dist/.external/esm/fast-uri@3.1.0/fast-uri/lib/utils.mjs +260 -0
  9. package/dist/core/cjs/Tables/NextGenDataGrid/NextGenDataGrid.cjs +1 -1
  10. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/FilterModeDescription.cjs +1 -1
  11. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/utils.cjs +8 -2
  12. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbar/basicToolbars.cjs +1 -1
  13. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbarAlertBanner/FASTAPI_RTK_ToolbarAlertBanner.cjs +1 -1
  14. package/dist/core/esm/Tables/NextGenDataGrid/NextGenDataGrid.mjs +1 -1
  15. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/FilterModeDescription.mjs +1 -1
  16. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/utils.mjs +8 -2
  17. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbar/basicToolbars.mjs +1 -1
  18. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbarAlertBanner/FASTAPI_RTK_ToolbarAlertBanner.mjs +1 -1
  19. package/package.json +1 -1
  20. package/dist/.external/cjs/fast-uri@3.0.6/fast-uri/lib/schemes.cjs +0 -149
  21. package/dist/.external/cjs/fast-uri@3.0.6/fast-uri/lib/scopedChars.cjs +0 -37
  22. package/dist/.external/cjs/fast-uri@3.0.6/fast-uri/lib/utils.cjs +0 -235
  23. package/dist/.external/esm/fast-uri@3.0.6/fast-uri/lib/schemes.mjs +0 -149
  24. package/dist/.external/esm/fast-uri@3.0.6/fast-uri/lib/scopedChars.mjs +0 -37
  25. package/dist/.external/esm/fast-uri@3.0.6/fast-uri/lib/utils.mjs +0 -235
  26. /package/dist/.external/cjs/{mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._ll5dfnmvjphm4bajaxt6oy7mty → mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._ug2uc7gqobpur37t5xiwwwh6ay}/mantine-react-table/dist/index.esm.cjs +0 -0
  27. /package/dist/.external/esm/{mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._ll5dfnmvjphm4bajaxt6oy7mty → mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._ug2uc7gqobpur37t5xiwwwh6ay}/mantine-react-table/dist/index.esm.mjs +0 -0
@@ -1,149 +0,0 @@
1
- var schemes;
2
- var hasRequiredSchemes;
3
- function requireSchemes() {
4
- if (hasRequiredSchemes) return schemes;
5
- hasRequiredSchemes = 1;
6
- const UUID_REG = /^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu;
7
- const URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
8
- function isSecure(wsComponents) {
9
- return typeof wsComponents.secure === "boolean" ? wsComponents.secure : String(wsComponents.scheme).toLowerCase() === "wss";
10
- }
11
- function httpParse(components) {
12
- if (!components.host) {
13
- components.error = components.error || "HTTP URIs must have a host.";
14
- }
15
- return components;
16
- }
17
- function httpSerialize(components) {
18
- const secure = String(components.scheme).toLowerCase() === "https";
19
- if (components.port === (secure ? 443 : 80) || components.port === "") {
20
- components.port = void 0;
21
- }
22
- if (!components.path) {
23
- components.path = "/";
24
- }
25
- return components;
26
- }
27
- function wsParse(wsComponents) {
28
- wsComponents.secure = isSecure(wsComponents);
29
- wsComponents.resourceName = (wsComponents.path || "/") + (wsComponents.query ? "?" + wsComponents.query : "");
30
- wsComponents.path = void 0;
31
- wsComponents.query = void 0;
32
- return wsComponents;
33
- }
34
- function wsSerialize(wsComponents) {
35
- if (wsComponents.port === (isSecure(wsComponents) ? 443 : 80) || wsComponents.port === "") {
36
- wsComponents.port = void 0;
37
- }
38
- if (typeof wsComponents.secure === "boolean") {
39
- wsComponents.scheme = wsComponents.secure ? "wss" : "ws";
40
- wsComponents.secure = void 0;
41
- }
42
- if (wsComponents.resourceName) {
43
- const [path, query] = wsComponents.resourceName.split("?");
44
- wsComponents.path = path && path !== "/" ? path : void 0;
45
- wsComponents.query = query;
46
- wsComponents.resourceName = void 0;
47
- }
48
- wsComponents.fragment = void 0;
49
- return wsComponents;
50
- }
51
- function urnParse(urnComponents, options) {
52
- if (!urnComponents.path) {
53
- urnComponents.error = "URN can not be parsed";
54
- return urnComponents;
55
- }
56
- const matches = urnComponents.path.match(URN_REG);
57
- if (matches) {
58
- const scheme = options.scheme || urnComponents.scheme || "urn";
59
- urnComponents.nid = matches[1].toLowerCase();
60
- urnComponents.nss = matches[2];
61
- const urnScheme = `${scheme}:${options.nid || urnComponents.nid}`;
62
- const schemeHandler = SCHEMES[urnScheme];
63
- urnComponents.path = void 0;
64
- if (schemeHandler) {
65
- urnComponents = schemeHandler.parse(urnComponents, options);
66
- }
67
- } else {
68
- urnComponents.error = urnComponents.error || "URN can not be parsed.";
69
- }
70
- return urnComponents;
71
- }
72
- function urnSerialize(urnComponents, options) {
73
- const scheme = options.scheme || urnComponents.scheme || "urn";
74
- const nid = urnComponents.nid.toLowerCase();
75
- const urnScheme = `${scheme}:${options.nid || nid}`;
76
- const schemeHandler = SCHEMES[urnScheme];
77
- if (schemeHandler) {
78
- urnComponents = schemeHandler.serialize(urnComponents, options);
79
- }
80
- const uriComponents = urnComponents;
81
- const nss = urnComponents.nss;
82
- uriComponents.path = `${nid || options.nid}:${nss}`;
83
- options.skipEscape = true;
84
- return uriComponents;
85
- }
86
- function urnuuidParse(urnComponents, options) {
87
- const uuidComponents = urnComponents;
88
- uuidComponents.uuid = uuidComponents.nss;
89
- uuidComponents.nss = void 0;
90
- if (!options.tolerant && (!uuidComponents.uuid || !UUID_REG.test(uuidComponents.uuid))) {
91
- uuidComponents.error = uuidComponents.error || "UUID is not valid.";
92
- }
93
- return uuidComponents;
94
- }
95
- function urnuuidSerialize(uuidComponents) {
96
- const urnComponents = uuidComponents;
97
- urnComponents.nss = (uuidComponents.uuid || "").toLowerCase();
98
- return urnComponents;
99
- }
100
- const http = {
101
- scheme: "http",
102
- domainHost: true,
103
- parse: httpParse,
104
- serialize: httpSerialize
105
- };
106
- const https = {
107
- scheme: "https",
108
- domainHost: http.domainHost,
109
- parse: httpParse,
110
- serialize: httpSerialize
111
- };
112
- const ws = {
113
- scheme: "ws",
114
- domainHost: true,
115
- parse: wsParse,
116
- serialize: wsSerialize
117
- };
118
- const wss = {
119
- scheme: "wss",
120
- domainHost: ws.domainHost,
121
- parse: ws.parse,
122
- serialize: ws.serialize
123
- };
124
- const urn = {
125
- scheme: "urn",
126
- parse: urnParse,
127
- serialize: urnSerialize,
128
- skipNormalize: true
129
- };
130
- const urnuuid = {
131
- scheme: "urn:uuid",
132
- parse: urnuuidParse,
133
- serialize: urnuuidSerialize,
134
- skipNormalize: true
135
- };
136
- const SCHEMES = {
137
- http,
138
- https,
139
- ws,
140
- wss,
141
- urn,
142
- "urn:uuid": urnuuid
143
- };
144
- schemes = SCHEMES;
145
- return schemes;
146
- }
147
- export {
148
- requireSchemes as __require
149
- };
@@ -1,37 +0,0 @@
1
- var scopedChars;
2
- var hasRequiredScopedChars;
3
- function requireScopedChars() {
4
- if (hasRequiredScopedChars) return scopedChars;
5
- hasRequiredScopedChars = 1;
6
- const HEX = {
7
- 0: 0,
8
- 1: 1,
9
- 2: 2,
10
- 3: 3,
11
- 4: 4,
12
- 5: 5,
13
- 6: 6,
14
- 7: 7,
15
- 8: 8,
16
- 9: 9,
17
- a: 10,
18
- A: 10,
19
- b: 11,
20
- B: 11,
21
- c: 12,
22
- C: 12,
23
- d: 13,
24
- D: 13,
25
- e: 14,
26
- E: 14,
27
- f: 15,
28
- F: 15
29
- };
30
- scopedChars = {
31
- HEX
32
- };
33
- return scopedChars;
34
- }
35
- export {
36
- requireScopedChars as __require
37
- };
@@ -1,235 +0,0 @@
1
- import { __require as requireScopedChars } from "./scopedChars.mjs";
2
- var utils;
3
- var hasRequiredUtils;
4
- function requireUtils() {
5
- if (hasRequiredUtils) return utils;
6
- hasRequiredUtils = 1;
7
- const { HEX } = requireScopedChars();
8
- const IPV4_REG = /^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;
9
- function normalizeIPv4(host) {
10
- if (findToken(host, ".") < 3) {
11
- return { host, isIPV4: false };
12
- }
13
- const matches = host.match(IPV4_REG) || [];
14
- const [address] = matches;
15
- if (address) {
16
- return { host: stripLeadingZeros(address, "."), isIPV4: true };
17
- } else {
18
- return { host, isIPV4: false };
19
- }
20
- }
21
- function stringArrayToHexStripped(input, keepZero = false) {
22
- let acc = "";
23
- let strip = true;
24
- for (const c of input) {
25
- if (HEX[c] === void 0) return void 0;
26
- if (c !== "0" && strip === true) strip = false;
27
- if (!strip) acc += c;
28
- }
29
- if (keepZero && acc.length === 0) acc = "0";
30
- return acc;
31
- }
32
- function getIPV6(input) {
33
- let tokenCount = 0;
34
- const output = { error: false, address: "", zone: "" };
35
- const address = [];
36
- const buffer = [];
37
- let isZone = false;
38
- let endipv6Encountered = false;
39
- let endIpv6 = false;
40
- function consume() {
41
- if (buffer.length) {
42
- if (isZone === false) {
43
- const hex = stringArrayToHexStripped(buffer);
44
- if (hex !== void 0) {
45
- address.push(hex);
46
- } else {
47
- output.error = true;
48
- return false;
49
- }
50
- }
51
- buffer.length = 0;
52
- }
53
- return true;
54
- }
55
- for (let i = 0; i < input.length; i++) {
56
- const cursor = input[i];
57
- if (cursor === "[" || cursor === "]") {
58
- continue;
59
- }
60
- if (cursor === ":") {
61
- if (endipv6Encountered === true) {
62
- endIpv6 = true;
63
- }
64
- if (!consume()) {
65
- break;
66
- }
67
- tokenCount++;
68
- address.push(":");
69
- if (tokenCount > 7) {
70
- output.error = true;
71
- break;
72
- }
73
- if (i - 1 >= 0 && input[i - 1] === ":") {
74
- endipv6Encountered = true;
75
- }
76
- continue;
77
- } else if (cursor === "%") {
78
- if (!consume()) {
79
- break;
80
- }
81
- isZone = true;
82
- } else {
83
- buffer.push(cursor);
84
- continue;
85
- }
86
- }
87
- if (buffer.length) {
88
- if (isZone) {
89
- output.zone = buffer.join("");
90
- } else if (endIpv6) {
91
- address.push(buffer.join(""));
92
- } else {
93
- address.push(stringArrayToHexStripped(buffer));
94
- }
95
- }
96
- output.address = address.join("");
97
- return output;
98
- }
99
- function normalizeIPv6(host) {
100
- if (findToken(host, ":") < 2) {
101
- return { host, isIPV6: false };
102
- }
103
- const ipv6 = getIPV6(host);
104
- if (!ipv6.error) {
105
- let newHost = ipv6.address;
106
- let escapedHost = ipv6.address;
107
- if (ipv6.zone) {
108
- newHost += "%" + ipv6.zone;
109
- escapedHost += "%25" + ipv6.zone;
110
- }
111
- return { host: newHost, escapedHost, isIPV6: true };
112
- } else {
113
- return { host, isIPV6: false };
114
- }
115
- }
116
- function stripLeadingZeros(str, token) {
117
- let out = "";
118
- let skip = true;
119
- const l = str.length;
120
- for (let i = 0; i < l; i++) {
121
- const c = str[i];
122
- if (c === "0" && skip) {
123
- if (i + 1 <= l && str[i + 1] === token || i + 1 === l) {
124
- out += c;
125
- skip = false;
126
- }
127
- } else {
128
- if (c === token) {
129
- skip = true;
130
- } else {
131
- skip = false;
132
- }
133
- out += c;
134
- }
135
- }
136
- return out;
137
- }
138
- function findToken(str, token) {
139
- let ind = 0;
140
- for (let i = 0; i < str.length; i++) {
141
- if (str[i] === token) ind++;
142
- }
143
- return ind;
144
- }
145
- const RDS1 = /^\.\.?\//u;
146
- const RDS2 = /^\/\.(?:\/|$)/u;
147
- const RDS3 = /^\/\.\.(?:\/|$)/u;
148
- const RDS5 = /^\/?(?:.|\n)*?(?=\/|$)/u;
149
- function removeDotSegments(input) {
150
- const output = [];
151
- while (input.length) {
152
- if (input.match(RDS1)) {
153
- input = input.replace(RDS1, "");
154
- } else if (input.match(RDS2)) {
155
- input = input.replace(RDS2, "/");
156
- } else if (input.match(RDS3)) {
157
- input = input.replace(RDS3, "/");
158
- output.pop();
159
- } else if (input === "." || input === "..") {
160
- input = "";
161
- } else {
162
- const im = input.match(RDS5);
163
- if (im) {
164
- const s = im[0];
165
- input = input.slice(s.length);
166
- output.push(s);
167
- } else {
168
- throw new Error("Unexpected dot segment condition");
169
- }
170
- }
171
- }
172
- return output.join("");
173
- }
174
- function normalizeComponentEncoding(components, esc) {
175
- const func = esc !== true ? escape : unescape;
176
- if (components.scheme !== void 0) {
177
- components.scheme = func(components.scheme);
178
- }
179
- if (components.userinfo !== void 0) {
180
- components.userinfo = func(components.userinfo);
181
- }
182
- if (components.host !== void 0) {
183
- components.host = func(components.host);
184
- }
185
- if (components.path !== void 0) {
186
- components.path = func(components.path);
187
- }
188
- if (components.query !== void 0) {
189
- components.query = func(components.query);
190
- }
191
- if (components.fragment !== void 0) {
192
- components.fragment = func(components.fragment);
193
- }
194
- return components;
195
- }
196
- function recomposeAuthority(components) {
197
- const uriTokens = [];
198
- if (components.userinfo !== void 0) {
199
- uriTokens.push(components.userinfo);
200
- uriTokens.push("@");
201
- }
202
- if (components.host !== void 0) {
203
- let host = unescape(components.host);
204
- const ipV4res = normalizeIPv4(host);
205
- if (ipV4res.isIPV4) {
206
- host = ipV4res.host;
207
- } else {
208
- const ipV6res = normalizeIPv6(ipV4res.host);
209
- if (ipV6res.isIPV6 === true) {
210
- host = `[${ipV6res.escapedHost}]`;
211
- } else {
212
- host = components.host;
213
- }
214
- }
215
- uriTokens.push(host);
216
- }
217
- if (typeof components.port === "number" || typeof components.port === "string") {
218
- uriTokens.push(":");
219
- uriTokens.push(String(components.port));
220
- }
221
- return uriTokens.length ? uriTokens.join("") : void 0;
222
- }
223
- utils = {
224
- recomposeAuthority,
225
- normalizeComponentEncoding,
226
- removeDotSegments,
227
- normalizeIPv4,
228
- normalizeIPv6,
229
- stringArrayToHexStripped
230
- };
231
- return utils;
232
- }
233
- export {
234
- requireUtils as __require
235
- };