@linzjs/lui 17.10.0 → 17.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/assets/icons/auth_and_instruct.svg +1 -0
- package/dist/assets/icons/certify_and_sign.svg +1 -0
- package/dist/assets/icons/dollar_round.svg +1 -0
- package/dist/assets/icons/double_tick.svg +1 -0
- package/dist/assets/icons/instruments_roles.svg +1 -0
- package/dist/assets/icons/notice_of_change.svg +1 -0
- package/dist/assets/icons/release.svg +3 -0
- package/dist/assets/icons/tax_statement.svg +1 -0
- package/dist/assets/icons/tick_and_cross.svg +1 -0
- package/dist/assets/svg-content.tsx +54 -0
- package/dist/components/LuiAccordicard/LuiAccordicard.d.ts +1 -0
- package/dist/components/LuiAccordicardStatic/LuiAccordicardStatic.d.ts +1 -0
- package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.d.ts +1 -0
- package/dist/components/LuiForms/LuiComboSelect/LuiComboSelect.d.ts +2 -2
- package/dist/components/LuiTabs/LuiTab/LuiTab.d.ts +1 -0
- package/dist/components/lol/MockBackendUtils.d.ts +85 -85
- package/dist/components/lol/handlers.d.ts +10 -10
- package/dist/index.js +148 -172
- package/dist/index.js.map +1 -1
- package/dist/lui.css +82 -15
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +133 -157
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/ContextMenu/context-menu.scss +5 -8
- package/dist/scss/Components/LuiAccordicard/LuiAccordicard.scss +40 -2
- package/dist/scss/Components/LuiAccordicardStatic/LuiAccordicardStatic.scss +40 -2
- package/dist/scss/Components/Messaging/messaging.scss +2 -2
- package/dist/scss/Components/Modal/modal.scss +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## [17.10.3](https://github.com/linz/lui/compare/v17.10.2...v17.10.3) (2022-08-17)
|
|
2
|
+
|
|
3
|
+
## [17.10.2](https://github.com/linz/lui/compare/v17.10.1...v17.10.2) (2022-08-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* Added title attribute props to key elements in LUI. Non-breaking… ([#728](https://github.com/linz/lui/issues/728)) ([d295029](https://github.com/linz/lui/commit/d2950296300941eccb90525199b1daf38e58c50c))
|
|
9
|
+
|
|
10
|
+
## [17.10.1](https://github.com/linz/lui/compare/v17.10.0...v17.10.1) (2022-08-15)
|
|
11
|
+
|
|
1
12
|
# [17.10.0](https://github.com/linz/lui/compare/v17.9.4...v17.10.0) (2022-08-12)
|
|
2
13
|
|
|
3
14
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m12.69 17.403 1.059 1.053c-.215.13-.456.194-.724.194a.825.825 0 0 1-.528-.162.528.528 0 0 1-.206-.437c0-.134.036-.252.107-.354.071-.103.168-.2.292-.294Zm.6-1.268a.477.477 0 0 0 .146-.346.33.33 0 0 0-.115-.266.443.443 0 0 0-.296-.098.51.51 0 0 0-.337.102.356.356 0 0 0-.123.29c0 .188.101.394.303.62a1.89 1.89 0 0 0 .421-.302Zm-5.912-1.311a73.182 73.182 0 0 1-.696 2.33h1.403c-.36-1.16-.564-1.817-.61-1.97a5.627 5.627 0 0 1-.097-.36ZM21.222 8v12c0 1.1-.9 2-2 2H5.212c-1.1 0-1.99-.9-1.99-2l.01-16c0-1.1.89-2 1.99-2h10l6 6ZM9.978 19.393 8.07 13.988H6.675l-1.9 5.405h1.23l.39-1.281h1.962l.39 1.281h1.23Zm5.927.01-.96-.935c.17-.21.322-.452.456-.725.134-.273.24-.554.316-.84h-1.014c-.111.39-.242.71-.393.96l-.906-.884c.328-.19.565-.389.712-.598.146-.21.22-.441.22-.694a.887.887 0 0 0-.356-.739c-.237-.184-.553-.276-.949-.276-.415 0-.746.1-.994.297a.951.951 0 0 0-.371.782c0 .197.036.38.108.547.073.167.189.342.348.525-.313.178-.533.37-.662.575a1.374 1.374 0 0 0-.193.745c0 .406.152.729.456.967.304.238.716.357 1.235.357.512 0 .972-.141 1.378-.424l.367.36h1.202Zm3.08-5.393h-1.142v5.383h1.142V14.01ZM19.222 9h-5V4h-9v8h14V9Z" fill="#000"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 4v1.38c-.83-.33-1.72-.5-2.61-.5-1.79 0-3.58.68-4.95 2.05l3.33 3.33h1.11v1.11c.86.86 1.98 1.31 3.11 1.36V15H6v3c0 1.1.9 2 2 2h10c1.66 0 3-1.34 3-3V4H9Zm-1.11 6.41V8.26H5.61L4.57 7.22a5.07 5.07 0 0 1 1.82-.34c1.34 0 2.59.52 3.54 1.46l1.41 1.41-.2.2a2.7 2.7 0 0 1-1.92.8c-.47 0-.93-.12-1.33-.34ZM19 17c0 .55-.45 1-1 1s-1-.45-1-1v-2h-6v-2.59c.57-.23 1.1-.57 1.56-1.03l.2-.2L15.59 14H17v-1.41l-6-5.97V6h8v11Z" fill="#000"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.778 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm.31-8.86c-1.77-.45-2.34-.94-2.34-1.67 0-.84.79-1.43 2.1-1.43 1.38 0 1.9.66 1.94 1.64h1.71c-.05-1.34-.87-2.57-2.49-2.97V5h-2.33v1.69c-1.51.32-2.72 1.3-2.72 2.81 0 1.79 1.49 2.69 3.66 3.21 1.95.46 2.34 1.15 2.34 1.87 0 .53-.39 1.39-2.1 1.39-1.6 0-2.23-.72-2.32-1.64h-1.72c.1 1.7 1.36 2.66 2.86 2.97V19h2.34v-1.67c1.52-.29 2.72-1.16 2.73-2.77-.01-2.2-1.9-2.96-3.66-3.42Z" fill="#000"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m18 7-1.41-1.41-6.34 6.34 1.41 1.41L18 7Zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41ZM.41 13.41 6 19l1.41-1.41L1.83 12 .41 13.41Z" fill="#000"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 12c1.93 0 3.5-1.57 3.5-3.5S10.93 5 9 5 5.5 6.57 5.5 8.5 7.07 12 9 12Zm0-5c.83 0 1.5.67 1.5 1.5S9.83 10 9 10s-1.5-.67-1.5-1.5S8.17 7 9 7Zm.05 10H4.77c.99-.5 2.7-1 4.23-1 .11 0 .23.01.34.01.34-.73.93-1.33 1.64-1.81-.73-.13-1.42-.2-1.98-.2-2.34 0-7 1.17-7 3.5V19h7v-1.5c0-.17.02-.34.05-.5Zm7.45-2.5c-1.84 0-5.5 1.01-5.5 3V19h11v-1.5c0-1.99-3.66-3-5.5-3Zm1.21-1.82c.76-.43 1.29-1.24 1.29-2.18a2.5 2.5 0 0 0-5 0c0 .94.53 1.75 1.29 2.18.36.2.77.32 1.21.32.44 0 .85-.12 1.21-.32Z" fill="#000"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 2H5c-1.1 0-1.99.9-1.99 2L3 20c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V8l-6-6ZM5 12V4h9v5h5v3H5Zm11.601 3.96a.891.891 0 0 1 .78-.412c.22 0 .425.03.616.092.192.062.383.137.574.227L19 14.765a3.684 3.684 0 0 0-1.605-.365c-.513 0-.959.11-1.34.33a2.17 2.17 0 0 0-.87.935c-.202.406-.302.878-.302 1.414 0 .857.208 1.513.624 1.966.418.454 1.018.68 1.8.68.545 0 1.034-.095 1.466-.287v-1.183c-.217.09-.433.167-.648.23a2.329 2.329 0 0 1-.666.096c-.758 0-1.138-.498-1.138-1.495 0-.48.094-.855.28-1.127Zm-6.669 3.694H8.097l-1.892-3.649h-.032c.045.574.067 1.012.067 1.315v2.334H5v-5.18h1.828l1.885 3.6h.021c-.033-.522-.05-.941-.05-1.258v-2.341h1.248v5.18Zm4.57-2.015c0 .656-.178 1.169-.532 1.537-.352.366-.846.55-1.481.55-.61 0-1.095-.188-1.456-.564-.36-.375-.539-.883-.539-1.523 0-.655.176-1.163.528-1.524.354-.364.85-.546 1.488-.546.395 0 .743.084 1.045.252.303.168.535.409.698.723.166.311.248.676.248 1.095Zm-2.601 0c0 .344.046.608.138.79.092.18.247.269.464.269.215 0 .366-.09.454-.27.09-.181.134-.445.134-.79 0-.342-.045-.6-.134-.775-.09-.175-.244-.263-.461-.263-.213 0-.365.088-.457.263-.092.172-.138.43-.138.776Z" fill="#000"/></svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M17.8 9.5H16.3V20H12.4L11.8 21.5H17.8V9.5ZM17 2.5H5.80002V7.5H7.30002V4H15.6L17 2.5ZM18.8 17.5H21.3C22.1 17.5 22.8 16.8 22.8 16V9.5C22.8 9.1 22.6 8.7 22.4 8.4L17.5 3.5L16.7 4.3C16.5 4.5 16.4 4.8 16.4 5.1V5.3L17 8.5H18.8V17.5ZM11.8 13.5H6.60002L7.30002 10.3V10.1C7.30002 9.8 7.20002 9.5 7.00002 9.3L6.20002 8.5L1.30002 13.4C1.00002 13.7 0.900024 14.1 0.900024 14.5V21C0.900024 21.8 1.60002 22.5 2.40002 22.5H9.00002C9.60002 22.5 10.1 22.1 10.4 21.6L12.7 16.3C12.8 16.1 12.8 15.9 12.8 15.8V14.6C12.8 13.9 12.3 13.5 11.8 13.5Z" fill="black"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M14.667 2.5h-10c-1.1 0-1.99.9-1.99 2l-.01 16c0 1.1.89 2 1.99 2h14.01c1.1 0 2-.9 2-2v-12l-6-6ZM8.928 15.625h-1.32v4.224H6.145v-4.224H4.82v-1.197h4.108v1.197Zm4.435 4.224h-1.005l-.278-.557h-.03c-.195.243-.394.409-.597.497-.202.09-.464.134-.786.134-.395 0-.707-.119-.934-.356-.227-.238-.341-.57-.341-1.001 0-.447.156-.78.467-1 .312-.218.762-.341 1.353-.368l.701-.023v-.058c0-.347-.17-.52-.511-.52-.307 0-.696.104-1.168.312l-.42-.957c.49-.252 1.108-.378 1.854-.378.54 0 .956.133 1.252.4.295.268.443.64.443 1.12v2.755Zm3.585 0-.708-1.276-.704 1.276h-1.65l1.353-2.144-1.283-2.057h1.647l.637 1.18.653-1.18h1.65l-1.316 2.057 1.368 2.144h-1.647Zm1.719-7.349h-14v-8h9v5h5v3Zm-7.08 5.488.334-.015v.326a.554.554 0 0 1-.188.434.653.653 0 0 1-.45.167c-.274 0-.412-.13-.412-.386 0-.334.239-.509.716-.526Z" fill="#000"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.54 11 13 7.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41L16.54 11ZM11 7H2v2h9V7Zm10 6.41L19.59 12 17 14.59 14.41 12 13 13.41 15.59 16 13 18.59 14.41 20 17 17.41 19.59 20 21 18.59 18.41 16 21 13.41ZM11 15H2v2h9v-2Z" fill="#000"/></svg>
|
|
@@ -129,6 +129,12 @@ iconMap['ic_attachment'] = (
|
|
|
129
129
|
</svg>
|
|
130
130
|
);
|
|
131
131
|
|
|
132
|
+
iconMap['ic_auth_and_instruct'] = (
|
|
133
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
134
|
+
<path d="m12.69 17.403 1.059 1.053c-.215.13-.456.194-.724.194a.825.825 0 0 1-.528-.162.528.528 0 0 1-.206-.437c0-.134.036-.252.107-.354.071-.103.168-.2.292-.294Zm.6-1.268a.477.477 0 0 0 .146-.346.33.33 0 0 0-.115-.266.443.443 0 0 0-.296-.098.51.51 0 0 0-.337.102.356.356 0 0 0-.123.29c0 .188.101.394.303.62a1.89 1.89 0 0 0 .421-.302Zm-5.912-1.311a73.182 73.182 0 0 1-.696 2.33h1.403c-.36-1.16-.564-1.817-.61-1.97a5.627 5.627 0 0 1-.097-.36ZM21.222 8v12c0 1.1-.9 2-2 2H5.212c-1.1 0-1.99-.9-1.99-2l.01-16c0-1.1.89-2 1.99-2h10l6 6ZM9.978 19.393 8.07 13.988H6.675l-1.9 5.405h1.23l.39-1.281h1.962l.39 1.281h1.23Zm5.927.01-.96-.935c.17-.21.322-.452.456-.725.134-.273.24-.554.316-.84h-1.014c-.111.39-.242.71-.393.96l-.906-.884c.328-.19.565-.389.712-.598.146-.21.22-.441.22-.694a.887.887 0 0 0-.356-.739c-.237-.184-.553-.276-.949-.276-.415 0-.746.1-.994.297a.951.951 0 0 0-.371.782c0 .197.036.38.108.547.073.167.189.342.348.525-.313.178-.533.37-.662.575a1.374 1.374 0 0 0-.193.745c0 .406.152.729.456.967.304.238.716.357 1.235.357.512 0 .972-.141 1.378-.424l.367.36h1.202Zm3.08-5.393h-1.142v5.383h1.142V14.01ZM19.222 9h-5V4h-9v8h14V9Z" />
|
|
135
|
+
</svg>
|
|
136
|
+
);
|
|
137
|
+
|
|
132
138
|
iconMap['ic_balance_parcel'] = (
|
|
133
139
|
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
134
140
|
<path d="M23 15h-2v2h2v-2Zm0-4h-2v2h2v-2Zm0 8h-2v2c1 0 2-1 2-2ZM15 3h-2v2h2V3Zm8 4h-2v2h2V7Zm-2-4v2h2c0-1-1-2-2-2ZM3 21h8v-6H1v4c0 1.1.9 2 2 2ZM3 7H1v2h2V7Zm12 12h-2v2h2v-2Zm4-16h-2v2h2V3Zm0 16h-2v2h2v-2ZM3 3C2 3 1 4 1 5h2V3Zm0 8H1v2h2v-2Zm8-8H9v2h2V3ZM7 3H5v2h2V3Z" />
|
|
@@ -153,6 +159,12 @@ iconMap['ic_cancel_clear'] = (
|
|
|
153
159
|
</svg>
|
|
154
160
|
);
|
|
155
161
|
|
|
162
|
+
iconMap['ic_certify_and_sign'] = (
|
|
163
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
164
|
+
<path d="M9 4v1.38c-.83-.33-1.72-.5-2.61-.5-1.79 0-3.58.68-4.95 2.05l3.33 3.33h1.11v1.11c.86.86 1.98 1.31 3.11 1.36V15H6v3c0 1.1.9 2 2 2h10c1.66 0 3-1.34 3-3V4H9Zm-1.11 6.41V8.26H5.61L4.57 7.22a5.07 5.07 0 0 1 1.82-.34c1.34 0 2.59.52 3.54 1.46l1.41 1.41-.2.2a2.7 2.7 0 0 1-1.92.8c-.47 0-.93-.12-1.33-.34ZM19 17c0 .55-.45 1-1 1s-1-.45-1-1v-2h-6v-2.59c.57-.23 1.1-.57 1.56-1.03l.2-.2L15.59 14H17v-1.41l-6-5.97V6h8v11Z" />
|
|
165
|
+
</svg>
|
|
166
|
+
);
|
|
167
|
+
|
|
156
168
|
iconMap['ic_change_password'] = (
|
|
157
169
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
158
170
|
<path d="M12.65 10a5.998 5.998 0 0 0-6.88-3.88c-2.29.46-4.15 2.29-4.63 4.58A6.006 6.006 0 0 0 7 18a5.99 5.99 0 0 0 5.65-4H17v2c0 1.1.9 2 2 2s2-.9 2-2v-2c1.1 0 2-.9 2-2s-.9-2-2-2h-8.35ZM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z" />
|
|
@@ -233,6 +245,12 @@ iconMap['ic_delete_solid'] = (
|
|
|
233
245
|
</svg>
|
|
234
246
|
);
|
|
235
247
|
|
|
248
|
+
iconMap['ic_dollar_round'] = (
|
|
249
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
250
|
+
<path d="M11.778 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm.31-8.86c-1.77-.45-2.34-.94-2.34-1.67 0-.84.79-1.43 2.1-1.43 1.38 0 1.9.66 1.94 1.64h1.71c-.05-1.34-.87-2.57-2.49-2.97V5h-2.33v1.69c-1.51.32-2.72 1.3-2.72 2.81 0 1.79 1.49 2.69 3.66 3.21 1.95.46 2.34 1.15 2.34 1.87 0 .53-.39 1.39-2.1 1.39-1.6 0-2.23-.72-2.32-1.64h-1.72c.1 1.7 1.36 2.66 2.86 2.97V19h2.34v-1.67c1.52-.29 2.72-1.16 2.73-2.77-.01-2.2-1.9-2.96-3.66-3.42Z" />
|
|
251
|
+
</svg>
|
|
252
|
+
);
|
|
253
|
+
|
|
236
254
|
iconMap['ic_double_arrow_left'] = (
|
|
237
255
|
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
238
256
|
<path d="M18.29 17.29a.996.996 0 0 0 0-1.41L14.42 12l3.88-3.88a.996.996 0 1 0-1.41-1.41L12.3 11.3a.996.996 0 0 0 0 1.41l4.59 4.59c.38.38 1.01.38 1.4-.01Z M11.7 17.29a.996.996 0 0 0 0-1.41L7.83 12l3.88-3.88a.996.996 0 1 0-1.41-1.41L5.71 11.3a.996.996 0 0 0 0 1.41l4.59 4.59c.38.38 1.01.38 1.4-.01Z" />
|
|
@@ -245,6 +263,12 @@ iconMap['ic_double_arrow_right'] = (
|
|
|
245
263
|
</svg>
|
|
246
264
|
);
|
|
247
265
|
|
|
266
|
+
iconMap['ic_double_tick'] = (
|
|
267
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
268
|
+
<path d="m18 7-1.41-1.41-6.34 6.34 1.41 1.41L18 7Zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41ZM.41 13.41 6 19l1.41-1.41L1.83 12 .41 13.41Z" />
|
|
269
|
+
</svg>
|
|
270
|
+
);
|
|
271
|
+
|
|
248
272
|
iconMap['ic_drag_handle'] = (
|
|
249
273
|
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
250
274
|
<path d="M20 9H4v2h16V9ZM4 15h16v-2H4v2Z" />
|
|
@@ -377,6 +401,12 @@ iconMap['ic_insert_photo'] = (
|
|
|
377
401
|
</svg>
|
|
378
402
|
);
|
|
379
403
|
|
|
404
|
+
iconMap['ic_instruments_roles'] = (
|
|
405
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
406
|
+
<path d="M9 12c1.93 0 3.5-1.57 3.5-3.5S10.93 5 9 5 5.5 6.57 5.5 8.5 7.07 12 9 12Zm0-5c.83 0 1.5.67 1.5 1.5S9.83 10 9 10s-1.5-.67-1.5-1.5S8.17 7 9 7Zm.05 10H4.77c.99-.5 2.7-1 4.23-1 .11 0 .23.01.34.01.34-.73.93-1.33 1.64-1.81-.73-.13-1.42-.2-1.98-.2-2.34 0-7 1.17-7 3.5V19h7v-1.5c0-.17.02-.34.05-.5Zm7.45-2.5c-1.84 0-5.5 1.01-5.5 3V19h11v-1.5c0-1.99-3.66-3-5.5-3Zm1.21-1.82c.76-.43 1.29-1.24 1.29-2.18a2.5 2.5 0 0 0-5 0c0 .94.53 1.75 1.29 2.18.36.2.77.32 1.21.32.44 0 .85-.12 1.21-.32Z" />
|
|
407
|
+
</svg>
|
|
408
|
+
);
|
|
409
|
+
|
|
380
410
|
iconMap['ic_keyboard_arrow_down'] = (
|
|
381
411
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
382
412
|
<path d="M7.406 8.297 12 12.891l4.594-4.594L18 9.703l-6 6-6-6z" />
|
|
@@ -529,6 +559,12 @@ iconMap['ic_note_add'] = (
|
|
|
529
559
|
</svg>
|
|
530
560
|
);
|
|
531
561
|
|
|
562
|
+
iconMap['ic_notice_of_change'] = (
|
|
563
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
564
|
+
<path d="M15 2H5c-1.1 0-1.99.9-1.99 2L3 20c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V8l-6-6ZM5 12V4h9v5h5v3H5Zm11.601 3.96a.891.891 0 0 1 .78-.412c.22 0 .425.03.616.092.192.062.383.137.574.227L19 14.765a3.684 3.684 0 0 0-1.605-.365c-.513 0-.959.11-1.34.33a2.17 2.17 0 0 0-.87.935c-.202.406-.302.878-.302 1.414 0 .857.208 1.513.624 1.966.418.454 1.018.68 1.8.68.545 0 1.034-.095 1.466-.287v-1.183c-.217.09-.433.167-.648.23a2.329 2.329 0 0 1-.666.096c-.758 0-1.138-.498-1.138-1.495 0-.48.094-.855.28-1.127Zm-6.669 3.694H8.097l-1.892-3.649h-.032c.045.574.067 1.012.067 1.315v2.334H5v-5.18h1.828l1.885 3.6h.021c-.033-.522-.05-.941-.05-1.258v-2.341h1.248v5.18Zm4.57-2.015c0 .656-.178 1.169-.532 1.537-.352.366-.846.55-1.481.55-.61 0-1.095-.188-1.456-.564-.36-.375-.539-.883-.539-1.523 0-.655.176-1.163.528-1.524.354-.364.85-.546 1.488-.546.395 0 .743.084 1.045.252.303.168.535.409.698.723.166.311.248.676.248 1.095Zm-2.601 0c0 .344.046.608.138.79.092.18.247.269.464.269.215 0 .366-.09.454-.27.09-.181.134-.445.134-.79 0-.342-.045-.6-.134-.775-.09-.175-.244-.263-.461-.263-.213 0-.365.088-.457.263-.092.172-.138.43-.138.776Z" />
|
|
565
|
+
</svg>
|
|
566
|
+
);
|
|
567
|
+
|
|
532
568
|
iconMap['ic_numbered_list'] = (
|
|
533
569
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
534
570
|
<path d="M21 16h-2c-.28 0-.5.22-.5.5s.22.5.5.5h1.5v.5H20c-.28 0-.5.22-.5.5s.22.5.5.5h.5v.5H19c-.28 0-.5.22-.5.5s.22.5.5.5h2c.28 0 .5-.22.5-.5v-3c0-.28-.22-.5-.5-.5zM19 5h.5v2.5c0 .28.22.5.5.5s.5-.22.5-.5v-3c0-.28-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5zm2.5 5.72v-.22c0-.28-.22-.5-.5-.5h-2c-.28 0-.5.22-.5.5s.22.5.5.5h1.3l-1.68 1.96a.49.49 0 0 0-.12.32v.22c0 .28.22.5.5.5h2c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1.3l1.68-1.96a.49.49 0 0 0 .12-.32zM15.5 5h-12c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1zm0 12h-12c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1zm0-6h-12c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1z" />
|
|
@@ -622,6 +658,12 @@ iconMap['ic_publish'] = (
|
|
|
622
658
|
</svg>
|
|
623
659
|
);
|
|
624
660
|
|
|
661
|
+
iconMap['ic_release'] = (
|
|
662
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
663
|
+
<path d="M17.8 9.5H16.3V20H12.4L11.8 21.5H17.8V9.5ZM17 2.5H5.80002V7.5H7.30002V4H15.6L17 2.5ZM18.8 17.5H21.3C22.1 17.5 22.8 16.8 22.8 16V9.5C22.8 9.1 22.6 8.7 22.4 8.4L17.5 3.5L16.7 4.3C16.5 4.5 16.4 4.8 16.4 5.1V5.3L17 8.5H18.8V17.5ZM11.8 13.5H6.60002L7.30002 10.3V10.1C7.30002 9.8 7.20002 9.5 7.00002 9.3L6.20002 8.5L1.30002 13.4C1.00002 13.7 0.900024 14.1 0.900024 14.5V21C0.900024 21.8 1.60002 22.5 2.40002 22.5H9.00002C9.60002 22.5 10.1 22.1 10.4 21.6L12.7 16.3C12.8 16.1 12.8 15.9 12.8 15.8V14.6C12.8 13.9 12.3 13.5 11.8 13.5Z" />
|
|
664
|
+
</svg>
|
|
665
|
+
);
|
|
666
|
+
|
|
625
667
|
iconMap['ic_remove_circle'] = (
|
|
626
668
|
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
627
669
|
<path d="M17.016 12.984v-1.969H6.985v1.969h10.031ZM12 2.016c2.75 0 5.102.977 7.055 2.93 1.953 1.953 2.93 4.305 2.93 7.055s-.977 5.102-2.93 7.055c-1.953 1.953-4.305 2.93-7.055 2.93s-5.102-.977-7.055-2.93c-1.953-1.953-2.93-4.305-2.93-7.055s.977-5.102 2.93-7.055C6.898 2.993 9.25 2.016 12 2.016Z" />
|
|
@@ -709,12 +751,24 @@ iconMap['ic_table_columns'] = (
|
|
|
709
751
|
</svg>
|
|
710
752
|
);
|
|
711
753
|
|
|
754
|
+
iconMap['ic_tax_statement'] = (
|
|
755
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
756
|
+
<path d="M14.667 2.5h-10c-1.1 0-1.99.9-1.99 2l-.01 16c0 1.1.89 2 1.99 2h14.01c1.1 0 2-.9 2-2v-12l-6-6ZM8.928 15.625h-1.32v4.224H6.145v-4.224H4.82v-1.197h4.108v1.197Zm4.435 4.224h-1.005l-.278-.557h-.03c-.195.243-.394.409-.597.497-.202.09-.464.134-.786.134-.395 0-.707-.119-.934-.356-.227-.238-.341-.57-.341-1.001 0-.447.156-.78.467-1 .312-.218.762-.341 1.353-.368l.701-.023v-.058c0-.347-.17-.52-.511-.52-.307 0-.696.104-1.168.312l-.42-.957c.49-.252 1.108-.378 1.854-.378.54 0 .956.133 1.252.4.295.268.443.64.443 1.12v2.755Zm3.585 0-.708-1.276-.704 1.276h-1.65l1.353-2.144-1.283-2.057h1.647l.637 1.18.653-1.18h1.65l-1.316 2.057 1.368 2.144h-1.647Zm1.719-7.349h-14v-8h9v5h5v3Zm-7.08 5.488.334-.015v.326a.554.554 0 0 1-.188.434.653.653 0 0 1-.45.167c-.274 0-.412-.13-.412-.386 0-.334.239-.509.716-.526Z" />
|
|
757
|
+
</svg>
|
|
758
|
+
);
|
|
759
|
+
|
|
712
760
|
iconMap['ic_tick'] = (
|
|
713
761
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 11">
|
|
714
762
|
<path d="M.297 4.934a1.013 1.013 0 0 1 1.344-.078l.088.078L5.254 8.46 12.219.353a1.013 1.013 0 0 1 1.334-.18l.094.072c.394.338.464.914.18 1.334l-.072.094-7.676 8.935a1.013 1.013 0 0 1-1.398.134l-.087-.078L.297 6.367a1.013 1.013 0 0 1 0-1.433Z" />
|
|
715
763
|
</svg>
|
|
716
764
|
);
|
|
717
765
|
|
|
766
|
+
iconMap['ic_tick_and_cross'] = (
|
|
767
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
768
|
+
<path d="M16.54 11 13 7.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41L16.54 11ZM11 7H2v2h9V7Zm10 6.41L19.59 12 17 14.59 14.41 12 13 13.41 15.59 16 13 18.59 14.41 20 17 17.41 19.59 20 21 18.59 18.41 16 21 13.41ZM11 15H2v2h9v-2Z" />
|
|
769
|
+
</svg>
|
|
770
|
+
);
|
|
771
|
+
|
|
718
772
|
iconMap['ic_timeline'] = (
|
|
719
773
|
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
720
774
|
<path d="M23 8c0 1.1-.9 2-2 2a1.7 1.7 0 0 1-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56A1.7 1.7 0 0 1 19 8c0-1.1.9-2 2-2s2 .9 2 2Z" />
|
|
@@ -9,6 +9,7 @@ export interface LuiCheckboxProps {
|
|
|
9
9
|
error?: string;
|
|
10
10
|
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
11
11
|
className?: string;
|
|
12
|
+
titleAttribute?: string;
|
|
12
13
|
mandatory?: boolean;
|
|
13
14
|
}
|
|
14
15
|
export declare const LuiCheckboxInput: (props: LuiCheckboxProps) => JSX.Element;
|
|
@@ -13,9 +13,9 @@ export declare type LuiComboSelectOption = {
|
|
|
13
13
|
/**
|
|
14
14
|
* A wrapper around React Select with Lui styling
|
|
15
15
|
*/
|
|
16
|
-
export declare const LuiComboSelect: React.ForwardRefExoticComponent<Partial<Props<LuiComboSelectOption, boolean, GroupBase<
|
|
16
|
+
export declare const LuiComboSelect: React.ForwardRefExoticComponent<Partial<Props<LuiComboSelectOption, boolean, GroupBase<LuiComboSelectOption>>> & {
|
|
17
17
|
label: JSX.Element | string;
|
|
18
18
|
hideLabel?: boolean | undefined;
|
|
19
19
|
isCreateable?: boolean | undefined;
|
|
20
20
|
error?: string | undefined;
|
|
21
|
-
} & React.RefAttributes<SelectInstance<LuiComboSelectOption, boolean, GroupBase<
|
|
21
|
+
} & React.RefAttributes<SelectInstance<LuiComboSelectOption, boolean, GroupBase<LuiComboSelectOption>>>>;
|
|
@@ -2,121 +2,121 @@
|
|
|
2
2
|
import { ResponseResolver, restContext } from 'msw';
|
|
3
3
|
import { MockedRequest } from 'msw/lib/types/utils/handlers/requestHandler';
|
|
4
4
|
import { Mask } from 'msw/lib/types/setupWorker/glossary';
|
|
5
|
-
export declare const server: import("msw/
|
|
5
|
+
export declare const server: import("msw/node").SetupServerApi;
|
|
6
6
|
interface IApi {
|
|
7
7
|
handler: (mask: Mask, resolver: ResponseResolver<MockedRequest<any, any>, typeof restContext>) => any;
|
|
8
8
|
pathname: Mask;
|
|
9
9
|
}
|
|
10
10
|
export declare const Api: {
|
|
11
11
|
LOGIN: {
|
|
12
|
-
handler: <RequestBodyType = import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, ResponseBodyType = any, RequestParamsType extends import("msw
|
|
12
|
+
handler: <RequestBodyType = import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, ResponseBodyType = any, RequestParamsType extends import("msw").RequestParams = import("msw").RequestParams>(mask: Mask, resolver: ResponseResolver<MockedRequest<RequestBodyType, RequestParamsType>, {
|
|
13
13
|
set: typeof import("msw/lib/types/context").set;
|
|
14
|
-
status: (statusCode: number, statusText?: string | undefined) => import("msw
|
|
15
|
-
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw
|
|
16
|
-
body: <BodyType extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType) => import("msw
|
|
17
|
-
text: <BodyType_1 extends string>(body: BodyType_1) => import("msw
|
|
14
|
+
status: (statusCode: number, statusText?: string | undefined) => import("msw").ResponseTransformer<any>;
|
|
15
|
+
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw").ResponseTransformer<any>;
|
|
16
|
+
body: <BodyType extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType) => import("msw").ResponseTransformer<BodyType>;
|
|
17
|
+
text: <BodyType_1 extends string>(body: BodyType_1) => import("msw").ResponseTransformer<BodyType_1>;
|
|
18
18
|
json: <BodyTypeJSON>(body: BodyTypeJSON, { merge }?: {
|
|
19
19
|
merge?: boolean | undefined;
|
|
20
|
-
} | undefined) => import("msw
|
|
21
|
-
xml: <BodyType_2 extends string>(body: BodyType_2) => import("msw
|
|
22
|
-
delay: (durationMs?: number | undefined) => import("msw
|
|
23
|
-
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw
|
|
24
|
-
}, ResponseBodyType>) => import("msw
|
|
20
|
+
} | undefined) => import("msw").ResponseTransformer<BodyTypeJSON>;
|
|
21
|
+
xml: <BodyType_2 extends string>(body: BodyType_2) => import("msw").ResponseTransformer<BodyType_2>;
|
|
22
|
+
delay: (durationMs?: number | undefined) => import("msw").ResponseTransformer<any>;
|
|
23
|
+
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw").RequestParams>, requestInit?: RequestInit | undefined) => any;
|
|
24
|
+
}, ResponseBodyType>) => import("msw").RequestHandler<MockedRequest<RequestBodyType, RequestParamsType>, {
|
|
25
25
|
set: typeof import("msw/lib/types/context").set;
|
|
26
|
-
status: (statusCode: number, statusText?: string | undefined) => import("msw
|
|
27
|
-
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw
|
|
28
|
-
body: <BodyType_3 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_3) => import("msw
|
|
29
|
-
text: <BodyType_1_1 extends string>(body: BodyType_1_1) => import("msw
|
|
26
|
+
status: (statusCode: number, statusText?: string | undefined) => import("msw").ResponseTransformer<any>;
|
|
27
|
+
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw").ResponseTransformer<any>;
|
|
28
|
+
body: <BodyType_3 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_3) => import("msw").ResponseTransformer<BodyType_3>;
|
|
29
|
+
text: <BodyType_1_1 extends string>(body: BodyType_1_1) => import("msw").ResponseTransformer<BodyType_1_1>;
|
|
30
30
|
json: <BodyTypeJSON_1>(body: BodyTypeJSON_1, { merge }?: {
|
|
31
31
|
merge?: boolean | undefined;
|
|
32
|
-
} | undefined) => import("msw
|
|
33
|
-
xml: <BodyType_2_1 extends string>(body: BodyType_2_1) => import("msw
|
|
34
|
-
delay: (durationMs?: number | undefined) => import("msw
|
|
35
|
-
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw
|
|
36
|
-
}, import("msw
|
|
32
|
+
} | undefined) => import("msw").ResponseTransformer<BodyTypeJSON_1>;
|
|
33
|
+
xml: <BodyType_2_1 extends string>(body: BodyType_2_1) => import("msw").ResponseTransformer<BodyType_2_1>;
|
|
34
|
+
delay: (durationMs?: number | undefined) => import("msw").ResponseTransformer<any>;
|
|
35
|
+
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw").RequestParams>, requestInit?: RequestInit | undefined) => any;
|
|
36
|
+
}, import("msw").ParsedRestRequest, MockedRequest<RequestBodyType, import("msw").RequestParams>, ResponseBodyType>;
|
|
37
37
|
pathname: string;
|
|
38
38
|
};
|
|
39
39
|
LOGOUT: {
|
|
40
|
-
handler: <RequestBodyType_1 = import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, ResponseBodyType_1 = any, RequestParamsType_1 extends import("msw
|
|
40
|
+
handler: <RequestBodyType_1 = import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, ResponseBodyType_1 = any, RequestParamsType_1 extends import("msw").RequestParams = import("msw").RequestParams>(mask: Mask, resolver: ResponseResolver<MockedRequest<RequestBodyType_1, RequestParamsType_1>, {
|
|
41
41
|
set: typeof import("msw/lib/types/context").set;
|
|
42
|
-
status: (statusCode: number, statusText?: string | undefined) => import("msw
|
|
43
|
-
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw
|
|
44
|
-
body: <BodyType_4 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_4) => import("msw
|
|
45
|
-
text: <BodyType_1_2 extends string>(body: BodyType_1_2) => import("msw
|
|
42
|
+
status: (statusCode: number, statusText?: string | undefined) => import("msw").ResponseTransformer<any>;
|
|
43
|
+
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw").ResponseTransformer<any>;
|
|
44
|
+
body: <BodyType_4 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_4) => import("msw").ResponseTransformer<BodyType_4>;
|
|
45
|
+
text: <BodyType_1_2 extends string>(body: BodyType_1_2) => import("msw").ResponseTransformer<BodyType_1_2>;
|
|
46
46
|
json: <BodyTypeJSON_2>(body: BodyTypeJSON_2, { merge }?: {
|
|
47
47
|
merge?: boolean | undefined;
|
|
48
|
-
} | undefined) => import("msw
|
|
49
|
-
xml: <BodyType_2_2 extends string>(body: BodyType_2_2) => import("msw
|
|
50
|
-
delay: (durationMs?: number | undefined) => import("msw
|
|
51
|
-
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw
|
|
52
|
-
}, ResponseBodyType_1>) => import("msw
|
|
48
|
+
} | undefined) => import("msw").ResponseTransformer<BodyTypeJSON_2>;
|
|
49
|
+
xml: <BodyType_2_2 extends string>(body: BodyType_2_2) => import("msw").ResponseTransformer<BodyType_2_2>;
|
|
50
|
+
delay: (durationMs?: number | undefined) => import("msw").ResponseTransformer<any>;
|
|
51
|
+
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw").RequestParams>, requestInit?: RequestInit | undefined) => any;
|
|
52
|
+
}, ResponseBodyType_1>) => import("msw").RequestHandler<MockedRequest<RequestBodyType_1, RequestParamsType_1>, {
|
|
53
53
|
set: typeof import("msw/lib/types/context").set;
|
|
54
|
-
status: (statusCode: number, statusText?: string | undefined) => import("msw
|
|
55
|
-
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw
|
|
56
|
-
body: <BodyType_5 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_5) => import("msw
|
|
57
|
-
text: <BodyType_1_3 extends string>(body: BodyType_1_3) => import("msw
|
|
54
|
+
status: (statusCode: number, statusText?: string | undefined) => import("msw").ResponseTransformer<any>;
|
|
55
|
+
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw").ResponseTransformer<any>;
|
|
56
|
+
body: <BodyType_5 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_5) => import("msw").ResponseTransformer<BodyType_5>;
|
|
57
|
+
text: <BodyType_1_3 extends string>(body: BodyType_1_3) => import("msw").ResponseTransformer<BodyType_1_3>;
|
|
58
58
|
json: <BodyTypeJSON_3>(body: BodyTypeJSON_3, { merge }?: {
|
|
59
59
|
merge?: boolean | undefined;
|
|
60
|
-
} | undefined) => import("msw
|
|
61
|
-
xml: <BodyType_2_3 extends string>(body: BodyType_2_3) => import("msw
|
|
62
|
-
delay: (durationMs?: number | undefined) => import("msw
|
|
63
|
-
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw
|
|
64
|
-
}, import("msw
|
|
60
|
+
} | undefined) => import("msw").ResponseTransformer<BodyTypeJSON_3>;
|
|
61
|
+
xml: <BodyType_2_3 extends string>(body: BodyType_2_3) => import("msw").ResponseTransformer<BodyType_2_3>;
|
|
62
|
+
delay: (durationMs?: number | undefined) => import("msw").ResponseTransformer<any>;
|
|
63
|
+
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw").RequestParams>, requestInit?: RequestInit | undefined) => any;
|
|
64
|
+
}, import("msw").ParsedRestRequest, MockedRequest<RequestBodyType_1, import("msw").RequestParams>, ResponseBodyType_1>;
|
|
65
65
|
pathname: string;
|
|
66
66
|
};
|
|
67
67
|
GET_USER_INFO: {
|
|
68
|
-
handler: <RequestBodyType_1 = import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, ResponseBodyType_1 = any, RequestParamsType_1 extends import("msw
|
|
68
|
+
handler: <RequestBodyType_1 = import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, ResponseBodyType_1 = any, RequestParamsType_1 extends import("msw").RequestParams = import("msw").RequestParams>(mask: Mask, resolver: ResponseResolver<MockedRequest<RequestBodyType_1, RequestParamsType_1>, {
|
|
69
69
|
set: typeof import("msw/lib/types/context").set;
|
|
70
|
-
status: (statusCode: number, statusText?: string | undefined) => import("msw
|
|
71
|
-
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw
|
|
72
|
-
body: <BodyType_4 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_4) => import("msw
|
|
73
|
-
text: <BodyType_1_2 extends string>(body: BodyType_1_2) => import("msw
|
|
70
|
+
status: (statusCode: number, statusText?: string | undefined) => import("msw").ResponseTransformer<any>;
|
|
71
|
+
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw").ResponseTransformer<any>;
|
|
72
|
+
body: <BodyType_4 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_4) => import("msw").ResponseTransformer<BodyType_4>;
|
|
73
|
+
text: <BodyType_1_2 extends string>(body: BodyType_1_2) => import("msw").ResponseTransformer<BodyType_1_2>;
|
|
74
74
|
json: <BodyTypeJSON_2>(body: BodyTypeJSON_2, { merge }?: {
|
|
75
75
|
merge?: boolean | undefined;
|
|
76
|
-
} | undefined) => import("msw
|
|
77
|
-
xml: <BodyType_2_2 extends string>(body: BodyType_2_2) => import("msw
|
|
78
|
-
delay: (durationMs?: number | undefined) => import("msw
|
|
79
|
-
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw
|
|
80
|
-
}, ResponseBodyType_1>) => import("msw
|
|
76
|
+
} | undefined) => import("msw").ResponseTransformer<BodyTypeJSON_2>;
|
|
77
|
+
xml: <BodyType_2_2 extends string>(body: BodyType_2_2) => import("msw").ResponseTransformer<BodyType_2_2>;
|
|
78
|
+
delay: (durationMs?: number | undefined) => import("msw").ResponseTransformer<any>;
|
|
79
|
+
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw").RequestParams>, requestInit?: RequestInit | undefined) => any;
|
|
80
|
+
}, ResponseBodyType_1>) => import("msw").RequestHandler<MockedRequest<RequestBodyType_1, RequestParamsType_1>, {
|
|
81
81
|
set: typeof import("msw/lib/types/context").set;
|
|
82
|
-
status: (statusCode: number, statusText?: string | undefined) => import("msw
|
|
83
|
-
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw
|
|
84
|
-
body: <BodyType_5 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_5) => import("msw
|
|
85
|
-
text: <BodyType_1_3 extends string>(body: BodyType_1_3) => import("msw
|
|
82
|
+
status: (statusCode: number, statusText?: string | undefined) => import("msw").ResponseTransformer<any>;
|
|
83
|
+
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw").ResponseTransformer<any>;
|
|
84
|
+
body: <BodyType_5 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_5) => import("msw").ResponseTransformer<BodyType_5>;
|
|
85
|
+
text: <BodyType_1_3 extends string>(body: BodyType_1_3) => import("msw").ResponseTransformer<BodyType_1_3>;
|
|
86
86
|
json: <BodyTypeJSON_3>(body: BodyTypeJSON_3, { merge }?: {
|
|
87
87
|
merge?: boolean | undefined;
|
|
88
|
-
} | undefined) => import("msw
|
|
89
|
-
xml: <BodyType_2_3 extends string>(body: BodyType_2_3) => import("msw
|
|
90
|
-
delay: (durationMs?: number | undefined) => import("msw
|
|
91
|
-
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw
|
|
92
|
-
}, import("msw
|
|
88
|
+
} | undefined) => import("msw").ResponseTransformer<BodyTypeJSON_3>;
|
|
89
|
+
xml: <BodyType_2_3 extends string>(body: BodyType_2_3) => import("msw").ResponseTransformer<BodyType_2_3>;
|
|
90
|
+
delay: (durationMs?: number | undefined) => import("msw").ResponseTransformer<any>;
|
|
91
|
+
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw").RequestParams>, requestInit?: RequestInit | undefined) => any;
|
|
92
|
+
}, import("msw").ParsedRestRequest, MockedRequest<RequestBodyType_1, import("msw").RequestParams>, ResponseBodyType_1>;
|
|
93
93
|
pathname: string;
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
|
-
export declare const mockBackend: <BodyType>({ handler, pathname }: IApi, resolver: ResponseResolver<MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw
|
|
96
|
+
export declare const mockBackend: <BodyType>({ handler, pathname }: IApi, resolver: ResponseResolver<MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw").RequestParams>, {
|
|
97
97
|
set: typeof import("msw/lib/types/context").set;
|
|
98
|
-
status: (statusCode: number, statusText?: string | undefined) => import("msw
|
|
99
|
-
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw
|
|
100
|
-
body: <BodyType_1 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_1) => import("msw
|
|
101
|
-
text: <
|
|
98
|
+
status: (statusCode: number, statusText?: string | undefined) => import("msw").ResponseTransformer<any>;
|
|
99
|
+
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw").ResponseTransformer<any>;
|
|
100
|
+
body: <BodyType_1 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_1) => import("msw").ResponseTransformer<BodyType_1>;
|
|
101
|
+
text: <BodyType_1 extends string>(body: BodyType_1) => import("msw").ResponseTransformer<BodyType_1>;
|
|
102
102
|
json: <BodyTypeJSON>(body: BodyTypeJSON, { merge }?: {
|
|
103
103
|
merge?: boolean | undefined;
|
|
104
|
-
} | undefined) => import("msw
|
|
105
|
-
xml: <BodyType_2 extends string>(body: BodyType_2) => import("msw
|
|
106
|
-
delay: (durationMs?: number | undefined) => import("msw
|
|
107
|
-
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw
|
|
108
|
-
}, BodyType>) => jest.Mock<import("msw
|
|
104
|
+
} | undefined) => import("msw").ResponseTransformer<BodyTypeJSON>;
|
|
105
|
+
xml: <BodyType_2 extends string>(body: BodyType_2) => import("msw").ResponseTransformer<BodyType_2>;
|
|
106
|
+
delay: (durationMs?: number | undefined) => import("msw").ResponseTransformer<any>;
|
|
107
|
+
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw").RequestParams>, requestInit?: RequestInit | undefined) => any;
|
|
108
|
+
}, BodyType>) => jest.Mock<import("msw").AsyncResponseResolverReturnType<import("msw").MockedResponse<BodyType>>, [req: MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw").RequestParams>, res: import("msw").ResponseComposition<BodyType>, context: {
|
|
109
109
|
set: typeof import("msw/lib/types/context").set;
|
|
110
|
-
status: (statusCode: number, statusText?: string | undefined) => import("msw
|
|
111
|
-
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw
|
|
112
|
-
body: <BodyType_1 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_1) => import("msw
|
|
113
|
-
text: <
|
|
110
|
+
status: (statusCode: number, statusText?: string | undefined) => import("msw").ResponseTransformer<any>;
|
|
111
|
+
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw").ResponseTransformer<any>;
|
|
112
|
+
body: <BodyType_1 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_1) => import("msw").ResponseTransformer<BodyType_1>;
|
|
113
|
+
text: <BodyType_1 extends string>(body: BodyType_1) => import("msw").ResponseTransformer<BodyType_1>;
|
|
114
114
|
json: <BodyTypeJSON>(body: BodyTypeJSON, { merge }?: {
|
|
115
115
|
merge?: boolean | undefined;
|
|
116
|
-
} | undefined) => import("msw
|
|
117
|
-
xml: <BodyType_2 extends string>(body: BodyType_2) => import("msw
|
|
118
|
-
delay: (durationMs?: number | undefined) => import("msw
|
|
119
|
-
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw
|
|
116
|
+
} | undefined) => import("msw").ResponseTransformer<BodyTypeJSON>;
|
|
117
|
+
xml: <BodyType_2 extends string>(body: BodyType_2) => import("msw").ResponseTransformer<BodyType_2>;
|
|
118
|
+
delay: (durationMs?: number | undefined) => import("msw").ResponseTransformer<any>;
|
|
119
|
+
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw").RequestParams>, requestInit?: RequestInit | undefined) => any;
|
|
120
120
|
}]>;
|
|
121
121
|
export declare const unauthorised: IResponse<{
|
|
122
122
|
errorMessage: string;
|
|
@@ -125,17 +125,17 @@ export interface IResponse<BodyType> {
|
|
|
125
125
|
status: number;
|
|
126
126
|
body: BodyType;
|
|
127
127
|
}
|
|
128
|
-
export declare const response: <BodyType extends unknown>(response: IResponse<BodyType> | (() => IResponse<BodyType>)) => ResponseResolver<MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw
|
|
128
|
+
export declare const response: <BodyType extends unknown>(response: IResponse<BodyType> | (() => IResponse<BodyType>)) => ResponseResolver<MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw").RequestParams>, {
|
|
129
129
|
set: typeof import("msw/lib/types/context").set;
|
|
130
|
-
status: (statusCode: number, statusText?: string | undefined) => import("msw
|
|
131
|
-
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw
|
|
132
|
-
body: <BodyType_1 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_1) => import("msw
|
|
133
|
-
text: <
|
|
130
|
+
status: (statusCode: number, statusText?: string | undefined) => import("msw").ResponseTransformer<any>;
|
|
131
|
+
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw").ResponseTransformer<any>;
|
|
132
|
+
body: <BodyType_1 extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType_1) => import("msw").ResponseTransformer<BodyType_1>;
|
|
133
|
+
text: <BodyType_1 extends string>(body: BodyType_1) => import("msw").ResponseTransformer<BodyType_1>;
|
|
134
134
|
json: <BodyTypeJSON>(body: BodyTypeJSON, { merge }?: {
|
|
135
135
|
merge?: boolean | undefined;
|
|
136
|
-
} | undefined) => import("msw
|
|
137
|
-
xml: <BodyType_2 extends string>(body: BodyType_2) => import("msw
|
|
138
|
-
delay: (durationMs?: number | undefined) => import("msw
|
|
139
|
-
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw
|
|
136
|
+
} | undefined) => import("msw").ResponseTransformer<BodyTypeJSON>;
|
|
137
|
+
xml: <BodyType_2 extends string>(body: BodyType_2) => import("msw").ResponseTransformer<BodyType_2>;
|
|
138
|
+
delay: (durationMs?: number | undefined) => import("msw").ResponseTransformer<any>;
|
|
139
|
+
fetch: (input: string | MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw").RequestParams>, requestInit?: RequestInit | undefined) => any;
|
|
140
140
|
}, BodyType>;
|
|
141
141
|
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export declare const handlers: import("msw
|
|
1
|
+
export declare const handlers: import("msw").RequestHandler<import("msw").MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw").RequestParams>, {
|
|
2
2
|
set: typeof import("msw/lib/types/context").set;
|
|
3
|
-
status: (statusCode: number, statusText?: string | undefined) => import("msw
|
|
4
|
-
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw
|
|
5
|
-
body: <BodyType extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType) => import("msw
|
|
6
|
-
text: <BodyType_1 extends string>(body: BodyType_1) => import("msw
|
|
3
|
+
status: (statusCode: number, statusText?: string | undefined) => import("msw").ResponseTransformer<any>;
|
|
4
|
+
cookie: (name: string, value: string, options?: import("cookie").CookieSerializeOptions | undefined) => import("msw").ResponseTransformer<any>;
|
|
5
|
+
body: <BodyType extends string | Blob | ArrayBufferView | ArrayBuffer | ReadableStream<any> | FormData>(value: BodyType) => import("msw").ResponseTransformer<BodyType>;
|
|
6
|
+
text: <BodyType_1 extends string>(body: BodyType_1) => import("msw").ResponseTransformer<BodyType_1>;
|
|
7
7
|
json: <BodyTypeJSON>(body: BodyTypeJSON, { merge }?: {
|
|
8
8
|
merge?: boolean | undefined;
|
|
9
|
-
} | undefined) => import("msw
|
|
10
|
-
xml: <BodyType_2 extends string>(body: BodyType_2) => import("msw
|
|
11
|
-
delay: (durationMs?: number | undefined) => import("msw
|
|
12
|
-
fetch: (input: string | import("msw
|
|
13
|
-
}, import("msw
|
|
9
|
+
} | undefined) => import("msw").ResponseTransformer<BodyTypeJSON>;
|
|
10
|
+
xml: <BodyType_2 extends string>(body: BodyType_2) => import("msw").ResponseTransformer<BodyType_2>;
|
|
11
|
+
delay: (durationMs?: number | undefined) => import("msw").ResponseTransformer<any>;
|
|
12
|
+
fetch: (input: string | import("msw").MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw").RequestParams>, requestInit?: RequestInit | undefined) => any;
|
|
13
|
+
}, import("msw").ParsedRestRequest, import("msw").MockedRequest<import("msw/lib/types/utils/handlers/requestHandler").DefaultRequestBodyType, import("msw").RequestParams>, any>[];
|