@powerhousedao/document-engineering 1.0.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/LICENSE +661 -0
- package/README.md +116 -0
- package/dist/scripts/create-icon-components.d.ts +2 -0
- package/dist/scripts/create-icon-components.d.ts.map +1 -0
- package/dist/scripts/create-icon-components.js +77 -0
- package/dist/scripts/create-icon-components.js.map +1 -0
- package/dist/src/assets/connect-loader.mp4 +0 -0
- package/dist/src/assets/connect.png +0 -0
- package/dist/src/assets/home-bg.png +0 -0
- package/dist/src/assets/icons/budget.png +0 -0
- package/dist/src/assets/icons/global.png +0 -0
- package/dist/src/assets/icons/legal.png +0 -0
- package/dist/src/assets/icons/profile.png +0 -0
- package/dist/src/assets/icons/rwa-report.png +0 -0
- package/dist/src/assets/icons/template.png +0 -0
- package/dist/src/assets/powerhouse-rounded.png +0 -0
- package/dist/src/assets/renown-hover.png +0 -0
- package/dist/src/assets/renown-short-hover.png +0 -0
- package/dist/src/assets/renown-short.png +0 -0
- package/dist/src/assets/renown.png +0 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +3 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/scalars/EthereumAddress/EthereumAddress.d.ts +5 -0
- package/dist/src/scalars/EthereumAddress/EthereumAddress.d.ts.map +1 -0
- package/dist/src/scalars/EthereumAddress/EthereumAddress.js +14 -0
- package/dist/src/scalars/EthereumAddress/EthereumAddress.js.map +1 -0
- package/dist/src/scalars/EthereumAddress/index.d.ts +2 -0
- package/dist/src/scalars/EthereumAddress/index.d.ts.map +1 -0
- package/dist/src/scalars/EthereumAddress/index.js +2 -0
- package/dist/src/scalars/EthereumAddress/index.js.map +1 -0
- package/dist/src/scalars/components/aid-field/aid-field.d.ts +4 -0
- package/dist/src/scalars/components/aid-field/aid-field.d.ts.map +1 -0
- package/dist/src/scalars/components/aid-field/aid-field.js +49 -0
- package/dist/src/scalars/components/aid-field/aid-field.js.map +1 -0
- package/dist/src/scalars/components/aid-field/index.d.ts +3 -0
- package/dist/src/scalars/components/aid-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/aid-field/index.js +2 -0
- package/dist/src/scalars/components/aid-field/index.js.map +1 -0
- package/dist/src/scalars/components/aid-field/types.d.ts +5 -0
- package/dist/src/scalars/components/aid-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/aid-field/types.js +2 -0
- package/dist/src/scalars/components/aid-field/types.js.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts +3 -0
- package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-currency-validations.js +13 -0
- package/dist/src/scalars/components/amount-field/amount-currency-validations.js.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts +4 -0
- package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-field-validations.js +77 -0
- package/dist/src/scalars/components/amount-field/amount-field-validations.js.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-field.d.ts +6 -0
- package/dist/src/scalars/components/amount-field/amount-field.d.ts.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-field.js +13 -0
- package/dist/src/scalars/components/amount-field/amount-field.js.map +1 -0
- package/dist/src/scalars/components/amount-field/index.d.ts +2 -0
- package/dist/src/scalars/components/amount-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/amount-field/index.js +2 -0
- package/dist/src/scalars/components/amount-field/index.js.map +1 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.d.ts +10 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.d.ts.map +1 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.js +12 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.js.map +1 -0
- package/dist/src/scalars/components/boolean-field/index.d.ts +2 -0
- package/dist/src/scalars/components/boolean-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/boolean-field/index.js +2 -0
- package/dist/src/scalars/components/boolean-field/index.js.map +1 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.d.ts +8 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.d.ts.map +1 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.js +58 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.js.map +1 -0
- package/dist/src/scalars/components/country-code-field/index.d.ts +2 -0
- package/dist/src/scalars/components/country-code-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/country-code-field/index.js +2 -0
- package/dist/src/scalars/components/country-code-field/index.js.map +1 -0
- package/dist/src/scalars/components/country-code-field/types.d.ts +11 -0
- package/dist/src/scalars/components/country-code-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/country-code-field/types.js +2 -0
- package/dist/src/scalars/components/country-code-field/types.js.map +1 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.d.ts +21 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.d.ts.map +1 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.js +72 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.js.map +1 -0
- package/dist/src/scalars/components/currency-code-field/defaults.d.ts +4 -0
- package/dist/src/scalars/components/currency-code-field/defaults.d.ts.map +1 -0
- package/dist/src/scalars/components/currency-code-field/defaults.js +43 -0
- package/dist/src/scalars/components/currency-code-field/defaults.js.map +1 -0
- package/dist/src/scalars/components/currency-code-field/index.d.ts +5 -0
- package/dist/src/scalars/components/currency-code-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/currency-code-field/index.js +4 -0
- package/dist/src/scalars/components/currency-code-field/index.js.map +1 -0
- package/dist/src/scalars/components/currency-code-field/types.d.ts +13 -0
- package/dist/src/scalars/components/currency-code-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/currency-code-field/types.js +2 -0
- package/dist/src/scalars/components/currency-code-field/types.js.map +1 -0
- package/dist/src/scalars/components/currency-code-field/utils.d.ts +38 -0
- package/dist/src/scalars/components/currency-code-field/utils.d.ts.map +1 -0
- package/dist/src/scalars/components/currency-code-field/utils.js +40 -0
- package/dist/src/scalars/components/currency-code-field/utils.js.map +1 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.d.ts +7 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.d.ts.map +1 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.js +11 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.js.map +1 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.d.ts +3 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.d.ts.map +1 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.js +73 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.js.map +1 -0
- package/dist/src/scalars/components/date-picker-field/index.d.ts +2 -0
- package/dist/src/scalars/components/date-picker-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/date-picker-field/index.js +2 -0
- package/dist/src/scalars/components/date-picker-field/index.js.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.d.ts +3 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.d.ts.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js +78 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.d.ts +7 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.d.ts.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.js +11 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.js.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/index.d.ts +2 -0
- package/dist/src/scalars/components/date-time-picker-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/index.js +2 -0
- package/dist/src/scalars/components/date-time-picker-field/index.js.map +1 -0
- package/dist/src/scalars/components/enum-field/enum-field.d.ts +12 -0
- package/dist/src/scalars/components/enum-field/enum-field.d.ts.map +1 -0
- package/dist/src/scalars/components/enum-field/enum-field.js +18 -0
- package/dist/src/scalars/components/enum-field/enum-field.js.map +1 -0
- package/dist/src/scalars/components/enum-field/index.d.ts +3 -0
- package/dist/src/scalars/components/enum-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/enum-field/index.js +3 -0
- package/dist/src/scalars/components/enum-field/index.js.map +1 -0
- package/dist/src/scalars/components/enum-field/types.d.ts +36 -0
- package/dist/src/scalars/components/enum-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/enum-field/types.js +2 -0
- package/dist/src/scalars/components/enum-field/types.js.map +1 -0
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.d.ts +3 -0
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.d.ts.map +1 -0
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js +27 -0
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js.map +1 -0
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.d.ts +3 -0
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.d.ts.map +1 -0
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js +31 -0
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js.map +1 -0
- package/dist/src/scalars/components/examples/reset-button/reset-button.d.ts +3 -0
- package/dist/src/scalars/components/examples/reset-button/reset-button.d.ts.map +1 -0
- package/dist/src/scalars/components/examples/reset-button/reset-button.js +12 -0
- package/dist/src/scalars/components/examples/reset-button/reset-button.js.map +1 -0
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.d.ts +3 -0
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.d.ts.map +1 -0
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js +16 -0
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js.map +1 -0
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.d.ts +4 -0
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.d.ts.map +1 -0
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js +75 -0
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js.map +1 -0
- package/dist/src/scalars/components/form/form.d.ts +113 -0
- package/dist/src/scalars/components/form/form.d.ts.map +1 -0
- package/dist/src/scalars/components/form/form.js +138 -0
- package/dist/src/scalars/components/form/form.js.map +1 -0
- package/dist/src/scalars/components/form/index.d.ts +2 -0
- package/dist/src/scalars/components/form/index.d.ts.map +1 -0
- package/dist/src/scalars/components/form/index.js +2 -0
- package/dist/src/scalars/components/form/index.js.map +1 -0
- package/dist/src/scalars/components/form/utils.d.ts +9 -0
- package/dist/src/scalars/components/form/utils.d.ts.map +1 -0
- package/dist/src/scalars/components/form/utils.js +25 -0
- package/dist/src/scalars/components/form/utils.js.map +1 -0
- package/dist/src/scalars/components/fragments/button/button.d.ts +11 -0
- package/dist/src/scalars/components/fragments/button/button.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/button/button.js +23 -0
- package/dist/src/scalars/components/fragments/button/button.js.map +1 -0
- package/dist/src/scalars/components/fragments/button/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/button/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/button/index.js +2 -0
- package/dist/src/scalars/components/fragments/button/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.d.ts +6 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.js +17 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.js.map +1 -0
- package/dist/src/scalars/components/fragments/character-counter/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/character-counter/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/character-counter/index.js +2 -0
- package/dist/src/scalars/components/fragments/character-counter/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.d.ts +4 -0
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.js +6 -0
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.js.map +1 -0
- package/dist/src/scalars/components/fragments/checkbox-field/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/checkbox-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/checkbox-field/index.js +2 -0
- package/dist/src/scalars/components/fragments/checkbox-field/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/command/command.d.ts +80 -0
- package/dist/src/scalars/components/fragments/command/command.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/command/command.js +21 -0
- package/dist/src/scalars/components/fragments/command/command.js.map +1 -0
- package/dist/src/scalars/components/fragments/command/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/command/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/command/index.js +2 -0
- package/dist/src/scalars/components/fragments/command/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.d.ts +7 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.js +8 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-description/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/form-description/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-description/index.js +2 -0
- package/dist/src/scalars/components/fragments/form-description/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-group/form-group.d.ts +2 -0
- package/dist/src/scalars/components/fragments/form-group/form-group.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-group/form-group.js +5 -0
- package/dist/src/scalars/components/fragments/form-group/form-group.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-group/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/form-group/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-group/index.js +2 -0
- package/dist/src/scalars/components/fragments/form-group/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.d.ts +10 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.js +20 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-label/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/form-label/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-label/index.js +2 -0
- package/dist/src/scalars/components/fragments/form-label/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.d.ts +11 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.js +15 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/form-server-error-message.d.ts +2 -0
- package/dist/src/scalars/components/fragments/form-message/form-server-error-message.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/form-server-error-message.js +11 -0
- package/dist/src/scalars/components/fragments/form-message/form-server-error-message.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/index.d.ts +4 -0
- package/dist/src/scalars/components/fragments/form-message/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/index.js +4 -0
- package/dist/src/scalars/components/fragments/form-message/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/message-list.d.ts +9 -0
- package/dist/src/scalars/components/fragments/form-message/message-list.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/message-list.js +22 -0
- package/dist/src/scalars/components/fragments/form-message/message-list.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.d.ts +3 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.js +4 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.d.ts +24 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js +71 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.d.ts +16 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.js +47 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.d.ts +20 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.js +31 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.d.ts +5 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js +88 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/index.d.ts +3 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/index.js +2 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/types.d.ts +48 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/types.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/types.js +2 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/types.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.d.ts +33 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.js +212 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.js.map +1 -0
- package/dist/src/scalars/components/fragments/index.d.ts +8 -0
- package/dist/src/scalars/components/fragments/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/index.js +8 -0
- package/dist/src/scalars/components/fragments/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/popover/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/popover/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/popover/index.js +2 -0
- package/dist/src/scalars/components/fragments/popover/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/popover/popover.d.ts +7 -0
- package/dist/src/scalars/components/fragments/popover/popover.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/popover/popover.js +17 -0
- package/dist/src/scalars/components/fragments/popover/popover.js.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/index.d.ts +3 -0
- package/dist/src/scalars/components/fragments/radio-group-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/index.js +3 -0
- package/dist/src/scalars/components/fragments/radio-group-field/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.d.ts +12 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.js +18 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.js.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group.d.ts +10 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group.js +10 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group.js.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio.d.ts +13 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio.js +24 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio.js.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/content.d.ts +17 -0
- package/dist/src/scalars/components/fragments/select-field/content.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/content.js +34 -0
- package/dist/src/scalars/components/fragments/select-field/content.js.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/select-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/index.js +2 -0
- package/dist/src/scalars/components/fragments/select-field/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/select-field.d.ts +19 -0
- package/dist/src/scalars/components/fragments/select-field/select-field.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/select-field.js +62 -0
- package/dist/src/scalars/components/fragments/select-field/select-field.js.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/selected-content.d.ts +13 -0
- package/dist/src/scalars/components/fragments/select-field/selected-content.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/selected-content.js +26 -0
- package/dist/src/scalars/components/fragments/select-field/selected-content.js.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.d.ts +15 -0
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.js +24 -0
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.js.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/use-select-field.d.ts +19 -0
- package/dist/src/scalars/components/fragments/select-field/use-select-field.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/use-select-field.js +86 -0
- package/dist/src/scalars/components/fragments/select-field/use-select-field.js.map +1 -0
- package/dist/src/scalars/components/fragments/tabs/tabs.d.ts +8 -0
- package/dist/src/scalars/components/fragments/tabs/tabs.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/tabs/tabs.js +14 -0
- package/dist/src/scalars/components/fragments/tabs/tabs.js.map +1 -0
- package/dist/src/scalars/components/fragments/text-field/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/text-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/text-field/index.js +2 -0
- package/dist/src/scalars/components/fragments/text-field/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/text-field/text-field.d.ts +5 -0
- package/dist/src/scalars/components/fragments/text-field/text-field.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/text-field/text-field.js +5 -0
- package/dist/src/scalars/components/fragments/text-field/text-field.js.map +1 -0
- package/dist/src/scalars/components/fragments/textarea-field/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/textarea-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/textarea-field/index.js +2 -0
- package/dist/src/scalars/components/fragments/textarea-field/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.d.ts +6 -0
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.js +6 -0
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.js.map +1 -0
- package/dist/src/scalars/components/fragments/toggle-field/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/toggle-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/toggle-field/index.js +2 -0
- package/dist/src/scalars/components/fragments/toggle-field/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.d.ts +4 -0
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.js +6 -0
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.js.map +1 -0
- package/dist/src/scalars/components/fragments/value-transformer/index.d.ts +3 -0
- package/dist/src/scalars/components/fragments/value-transformer/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/value-transformer/index.js +3 -0
- package/dist/src/scalars/components/fragments/value-transformer/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.d.ts +63 -0
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js +142 -0
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js.map +1 -0
- package/dist/src/scalars/components/fragments/with-field-validation/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/with-field-validation/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/with-field-validation/index.js +2 -0
- package/dist/src/scalars/components/fragments/with-field-validation/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.d.ts +16 -0
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.js +218 -0
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.js.map +1 -0
- package/dist/src/scalars/components/id-field/id-field.d.ts +9 -0
- package/dist/src/scalars/components/id-field/id-field.d.ts.map +1 -0
- package/dist/src/scalars/components/id-field/id-field.js +23 -0
- package/dist/src/scalars/components/id-field/id-field.js.map +1 -0
- package/dist/src/scalars/components/id-field/index.d.ts +2 -0
- package/dist/src/scalars/components/id-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/id-field/index.js +2 -0
- package/dist/src/scalars/components/id-field/index.js.map +1 -0
- package/dist/src/scalars/components/index.d.ts +122 -0
- package/dist/src/scalars/components/index.d.ts.map +1 -0
- package/dist/src/scalars/components/index.js +94 -0
- package/dist/src/scalars/components/index.js.map +1 -0
- package/dist/src/scalars/components/number-field/index.d.ts +2 -0
- package/dist/src/scalars/components/number-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/number-field/index.js +2 -0
- package/dist/src/scalars/components/number-field/index.js.map +1 -0
- package/dist/src/scalars/components/number-field/number-field-validations.d.ts +7 -0
- package/dist/src/scalars/components/number-field/number-field-validations.d.ts.map +1 -0
- package/dist/src/scalars/components/number-field/number-field-validations.js +117 -0
- package/dist/src/scalars/components/number-field/number-field-validations.js.map +1 -0
- package/dist/src/scalars/components/number-field/number-field.d.ts +12 -0
- package/dist/src/scalars/components/number-field/number-field.d.ts.map +1 -0
- package/dist/src/scalars/components/number-field/number-field.js +50 -0
- package/dist/src/scalars/components/number-field/number-field.js.map +1 -0
- package/dist/src/scalars/components/number-field/types.d.ts +20 -0
- package/dist/src/scalars/components/number-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/number-field/types.js +2 -0
- package/dist/src/scalars/components/number-field/types.js.map +1 -0
- package/dist/src/scalars/components/number-field/use-number-field.d.ts +29 -0
- package/dist/src/scalars/components/number-field/use-number-field.d.ts.map +1 -0
- package/dist/src/scalars/components/number-field/use-number-field.js +140 -0
- package/dist/src/scalars/components/number-field/use-number-field.js.map +1 -0
- package/dist/src/scalars/components/number-field/utils.d.ts +10 -0
- package/dist/src/scalars/components/number-field/utils.d.ts.map +1 -0
- package/dist/src/scalars/components/number-field/utils.js +38 -0
- package/dist/src/scalars/components/number-field/utils.js.map +1 -0
- package/dist/src/scalars/components/oid-field/index.d.ts +3 -0
- package/dist/src/scalars/components/oid-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/oid-field/index.js +2 -0
- package/dist/src/scalars/components/oid-field/index.js.map +1 -0
- package/dist/src/scalars/components/oid-field/oid-field.d.ts +4 -0
- package/dist/src/scalars/components/oid-field/oid-field.d.ts.map +1 -0
- package/dist/src/scalars/components/oid-field/oid-field.js +20 -0
- package/dist/src/scalars/components/oid-field/oid-field.js.map +1 -0
- package/dist/src/scalars/components/oid-field/types.d.ts +5 -0
- package/dist/src/scalars/components/oid-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/oid-field/types.js +2 -0
- package/dist/src/scalars/components/oid-field/types.js.map +1 -0
- package/dist/src/scalars/components/phid-field/index.d.ts +3 -0
- package/dist/src/scalars/components/phid-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/phid-field/index.js +2 -0
- package/dist/src/scalars/components/phid-field/index.js.map +1 -0
- package/dist/src/scalars/components/phid-field/phid-field.d.ts +4 -0
- package/dist/src/scalars/components/phid-field/phid-field.d.ts.map +1 -0
- package/dist/src/scalars/components/phid-field/phid-field.js +51 -0
- package/dist/src/scalars/components/phid-field/phid-field.js.map +1 -0
- package/dist/src/scalars/components/phid-field/types.d.ts +5 -0
- package/dist/src/scalars/components/phid-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/phid-field/types.js +2 -0
- package/dist/src/scalars/components/phid-field/types.js.map +1 -0
- package/dist/src/scalars/components/string-field/index.d.ts +2 -0
- package/dist/src/scalars/components/string-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/string-field/index.js +2 -0
- package/dist/src/scalars/components/string-field/index.js.map +1 -0
- package/dist/src/scalars/components/string-field/string-field.d.ts +7 -0
- package/dist/src/scalars/components/string-field/string-field.d.ts.map +1 -0
- package/dist/src/scalars/components/string-field/string-field.js +13 -0
- package/dist/src/scalars/components/string-field/string-field.js.map +1 -0
- package/dist/src/scalars/components/time-picker-field/index.d.ts +2 -0
- package/dist/src/scalars/components/time-picker-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/time-picker-field/index.js +2 -0
- package/dist/src/scalars/components/time-picker-field/index.js.map +1 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.d.ts +3 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.d.ts.map +1 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.js +48 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.js.map +1 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.d.ts +7 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.d.ts.map +1 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.js +11 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.js.map +1 -0
- package/dist/src/scalars/components/types.d.ts +29 -0
- package/dist/src/scalars/components/types.d.ts.map +1 -0
- package/dist/src/scalars/components/types.js +2 -0
- package/dist/src/scalars/components/types.js.map +1 -0
- package/dist/src/scalars/components/url-field/index.d.ts +3 -0
- package/dist/src/scalars/components/url-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/url-field/index.js +3 -0
- package/dist/src/scalars/components/url-field/index.js.map +1 -0
- package/dist/src/scalars/components/url-field/url-favicon.d.ts +8 -0
- package/dist/src/scalars/components/url-field/url-favicon.d.ts.map +1 -0
- package/dist/src/scalars/components/url-field/url-favicon.js +35 -0
- package/dist/src/scalars/components/url-field/url-favicon.js.map +1 -0
- package/dist/src/scalars/components/url-field/url-field.d.ts +9 -0
- package/dist/src/scalars/components/url-field/url-field.d.ts.map +1 -0
- package/dist/src/scalars/components/url-field/url-field.js +48 -0
- package/dist/src/scalars/components/url-field/url-field.js.map +1 -0
- package/dist/src/scalars/components/url-field/url-input.d.ts +11 -0
- package/dist/src/scalars/components/url-field/url-input.d.ts.map +1 -0
- package/dist/src/scalars/components/url-field/url-input.js +34 -0
- package/dist/src/scalars/components/url-field/url-input.js.map +1 -0
- package/dist/src/scalars/components/url-field/useURLWarnings.d.ts +5 -0
- package/dist/src/scalars/components/url-field/useURLWarnings.d.ts.map +1 -0
- package/dist/src/scalars/components/url-field/useURLWarnings.js +77 -0
- package/dist/src/scalars/components/url-field/useURLWarnings.js.map +1 -0
- package/dist/src/scalars/graphql/Amount.d.ts +26 -0
- package/dist/src/scalars/graphql/Amount.d.ts.map +1 -0
- package/dist/src/scalars/graphql/Amount.js +48 -0
- package/dist/src/scalars/graphql/Amount.js.map +1 -0
- package/dist/src/scalars/graphql/AmountCrypto.d.ts +27 -0
- package/dist/src/scalars/graphql/AmountCrypto.d.ts.map +1 -0
- package/dist/src/scalars/graphql/AmountCrypto.js +48 -0
- package/dist/src/scalars/graphql/AmountCrypto.js.map +1 -0
- package/dist/src/scalars/graphql/AmountCurrency.d.ts +27 -0
- package/dist/src/scalars/graphql/AmountCurrency.d.ts.map +1 -0
- package/dist/src/scalars/graphql/AmountCurrency.js +48 -0
- package/dist/src/scalars/graphql/AmountCurrency.js.map +1 -0
- package/dist/src/scalars/graphql/AmountFiat.d.ts +27 -0
- package/dist/src/scalars/graphql/AmountFiat.d.ts.map +1 -0
- package/dist/src/scalars/graphql/AmountFiat.js +48 -0
- package/dist/src/scalars/graphql/AmountFiat.js.map +1 -0
- package/dist/src/scalars/graphql/AmountMoney.d.ts +13 -0
- package/dist/src/scalars/graphql/AmountMoney.d.ts.map +1 -0
- package/dist/src/scalars/graphql/AmountMoney.js +35 -0
- package/dist/src/scalars/graphql/AmountMoney.js.map +1 -0
- package/dist/src/scalars/graphql/AmountPercentage.d.ts +13 -0
- package/dist/src/scalars/graphql/AmountPercentage.d.ts.map +1 -0
- package/dist/src/scalars/graphql/AmountPercentage.js +33 -0
- package/dist/src/scalars/graphql/AmountPercentage.js.map +1 -0
- package/dist/src/scalars/graphql/AmountTokens.d.ts +13 -0
- package/dist/src/scalars/graphql/AmountTokens.d.ts.map +1 -0
- package/dist/src/scalars/graphql/AmountTokens.js +33 -0
- package/dist/src/scalars/graphql/AmountTokens.js.map +1 -0
- package/dist/src/scalars/graphql/Currency.d.ts +13 -0
- package/dist/src/scalars/graphql/Currency.d.ts.map +1 -0
- package/dist/src/scalars/graphql/Currency.js +31 -0
- package/dist/src/scalars/graphql/Currency.js.map +1 -0
- package/dist/src/scalars/graphql/Date.d.ts +13 -0
- package/dist/src/scalars/graphql/Date.d.ts.map +1 -0
- package/dist/src/scalars/graphql/Date.js +29 -0
- package/dist/src/scalars/graphql/Date.js.map +1 -0
- package/dist/src/scalars/graphql/DateTime.d.ts +13 -0
- package/dist/src/scalars/graphql/DateTime.d.ts.map +1 -0
- package/dist/src/scalars/graphql/DateTime.js +29 -0
- package/dist/src/scalars/graphql/DateTime.js.map +1 -0
- package/dist/src/scalars/graphql/EmailAddress.d.ts +13 -0
- package/dist/src/scalars/graphql/EmailAddress.d.ts.map +1 -0
- package/dist/src/scalars/graphql/EmailAddress.js +29 -0
- package/dist/src/scalars/graphql/EmailAddress.js.map +1 -0
- package/dist/src/scalars/graphql/EthereumAddress.d.ts +13 -0
- package/dist/src/scalars/graphql/EthereumAddress.d.ts.map +1 -0
- package/dist/src/scalars/graphql/EthereumAddress.js +31 -0
- package/dist/src/scalars/graphql/EthereumAddress.js.map +1 -0
- package/dist/src/scalars/graphql/OID.d.ts +13 -0
- package/dist/src/scalars/graphql/OID.d.ts.map +1 -0
- package/dist/src/scalars/graphql/OID.js +31 -0
- package/dist/src/scalars/graphql/OID.js.map +1 -0
- package/dist/src/scalars/graphql/OLabel.d.ts +13 -0
- package/dist/src/scalars/graphql/OLabel.d.ts.map +1 -0
- package/dist/src/scalars/graphql/OLabel.js +31 -0
- package/dist/src/scalars/graphql/OLabel.js.map +1 -0
- package/dist/src/scalars/graphql/PHID.d.ts +13 -0
- package/dist/src/scalars/graphql/PHID.d.ts.map +1 -0
- package/dist/src/scalars/graphql/PHID.js +31 -0
- package/dist/src/scalars/graphql/PHID.js.map +1 -0
- package/dist/src/scalars/graphql/URL.d.ts +13 -0
- package/dist/src/scalars/graphql/URL.d.ts.map +1 -0
- package/dist/src/scalars/graphql/URL.js +29 -0
- package/dist/src/scalars/graphql/URL.js.map +1 -0
- package/dist/src/scalars/graphql/index.d.ts +89 -0
- package/dist/src/scalars/graphql/index.d.ts.map +1 -0
- package/dist/src/scalars/graphql/index.js +97 -0
- package/dist/src/scalars/graphql/index.js.map +1 -0
- package/dist/src/scalars/graphql/types.d.ts +15 -0
- package/dist/src/scalars/graphql/types.d.ts.map +1 -0
- package/dist/src/scalars/graphql/types.js +2 -0
- package/dist/src/scalars/graphql/types.js.map +1 -0
- package/dist/src/scalars/hooks/useEllipsis.d.ts +7 -0
- package/dist/src/scalars/hooks/useEllipsis.d.ts.map +1 -0
- package/dist/src/scalars/hooks/useEllipsis.js +21 -0
- package/dist/src/scalars/hooks/useEllipsis.js.map +1 -0
- package/dist/src/scalars/index.d.ts +4 -0
- package/dist/src/scalars/index.d.ts.map +1 -0
- package/dist/src/scalars/index.js +5 -0
- package/dist/src/scalars/index.js.map +1 -0
- package/dist/src/scalars/lib/decorators.d.ts +5 -0
- package/dist/src/scalars/lib/decorators.d.ts.map +1 -0
- package/dist/src/scalars/lib/decorators.js +96 -0
- package/dist/src/scalars/lib/decorators.js.map +1 -0
- package/dist/src/scalars/lib/deep-equal.d.ts +2 -0
- package/dist/src/scalars/lib/deep-equal.d.ts.map +1 -0
- package/dist/src/scalars/lib/deep-equal.js +37 -0
- package/dist/src/scalars/lib/deep-equal.js.map +1 -0
- package/dist/src/scalars/lib/index.d.ts +7 -0
- package/dist/src/scalars/lib/index.d.ts.map +1 -0
- package/dist/src/scalars/lib/index.js +7 -0
- package/dist/src/scalars/lib/index.js.map +1 -0
- package/dist/src/scalars/lib/is-empty.d.ts +2 -0
- package/dist/src/scalars/lib/is-empty.d.ts.map +1 -0
- package/dist/src/scalars/lib/is-empty.js +24 -0
- package/dist/src/scalars/lib/is-empty.js.map +1 -0
- package/dist/src/scalars/lib/share-number-validations.d.ts +5 -0
- package/dist/src/scalars/lib/share-number-validations.d.ts.map +1 -0
- package/dist/src/scalars/lib/share-number-validations.js +32 -0
- package/dist/src/scalars/lib/share-number-validations.js.map +1 -0
- package/dist/src/scalars/lib/shared-value-transformers.d.ts +3 -0
- package/dist/src/scalars/lib/shared-value-transformers.d.ts.map +1 -0
- package/dist/src/scalars/lib/shared-value-transformers.js +31 -0
- package/dist/src/scalars/lib/shared-value-transformers.js.map +1 -0
- package/dist/src/scalars/lib/storybook-arg-types.d.ts +404 -0
- package/dist/src/scalars/lib/storybook-arg-types.d.ts.map +1 -0
- package/dist/src/scalars/lib/storybook-arg-types.js +357 -0
- package/dist/src/scalars/lib/storybook-arg-types.js.map +1 -0
- package/dist/src/scalars/lib/testing.d.ts +3 -0
- package/dist/src/scalars/lib/testing.d.ts.map +1 -0
- package/dist/src/scalars/lib/testing.js +9 -0
- package/dist/src/scalars/lib/testing.js.map +1 -0
- package/dist/src/scalars/lib/utils.d.ts +3 -0
- package/dist/src/scalars/lib/utils.d.ts.map +1 -0
- package/dist/src/scalars/lib/utils.js +6 -0
- package/dist/src/scalars/lib/utils.js.map +1 -0
- package/dist/src/scalars/lib/value-cast.d.ts +4 -0
- package/dist/src/scalars/lib/value-cast.d.ts.map +1 -0
- package/dist/src/scalars/lib/value-cast.js +57 -0
- package/dist/src/scalars/lib/value-cast.js.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.d.ts +5 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.js +25 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.js.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/index.d.ts +3 -0
- package/dist/src/ui/components/data-entry/aid-input/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/index.js +2 -0
- package/dist/src/ui/components/data-entry/aid-input/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/mocks.d.ts +7 -0
- package/dist/src/ui/components/data-entry/aid-input/mocks.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/mocks.js +319 -0
- package/dist/src/ui/components/data-entry/aid-input/mocks.js.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/types.d.ts +25 -0
- package/dist/src/ui/components/data-entry/aid-input/types.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/types.js +2 -0
- package/dist/src/ui/components/data-entry/aid-input/types.js.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts +24 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.js +34 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.js.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/index.d.ts +2 -0
- package/dist/src/ui/components/data-entry/amount-input/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/index.js +2 -0
- package/dist/src/ui/components/data-entry/amount-input/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/types.d.ts +43 -0
- package/dist/src/ui/components/data-entry/amount-input/types.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/types.js +2 -0
- package/dist/src/ui/components/data-entry/amount-input/types.js.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts +34 -0
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js +311 -0
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/utils.d.ts +17 -0
- package/dist/src/ui/components/data-entry/amount-input/utils.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/utils.js +93 -0
- package/dist/src/ui/components/data-entry/amount-input/utils.js.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.d.ts +8 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.js +29 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.js.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox.d.ts +10 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox.js +22 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox.js.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/index.d.ts +3 -0
- package/dist/src/ui/components/data-entry/checkbox/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/index.js +2 -0
- package/dist/src/ui/components/data-entry/checkbox/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.d.ts +25 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.js +47 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/index.d.ts +3 -0
- package/dist/src/ui/components/data-entry/date-picker/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/index.js +2 -0
- package/dist/src/ui/components/data-entry/date-picker/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.d.ts +49 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.js +112 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.d.ts +8 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.js +8 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts +22 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js +81 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts +9 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.js +15 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.d.ts +8 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.js +8 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.d.ts +2 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.js +15 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.d.ts +16 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.js +13 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.d.ts +18 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.js +8 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/types.d.ts +4 -0
- package/dist/src/ui/components/data-entry/date-picker/types.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/types.js +2 -0
- package/dist/src/ui/components/data-entry/date-picker/types.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.d.ts +38 -0
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js +130 -0
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/utils.d.ts +50 -0
- package/dist/src/ui/components/data-entry/date-picker/utils.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/utils.js +104 -0
- package/dist/src/ui/components/data-entry/date-picker/utils.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.d.ts +25 -0
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.js +16 -0
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts +33 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js +37 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.d.ts +30 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js +50 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/index.d.ts +2 -0
- package/dist/src/ui/components/data-entry/date-time-picker/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/index.js +2 -0
- package/dist/src/ui/components/data-entry/date-time-picker/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts +72 -0
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js +291 -0
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts +70 -0
- package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/utils.js +217 -0
- package/dist/src/ui/components/data-entry/date-time-picker/utils.js.map +1 -0
- package/dist/src/ui/components/data-entry/input/index.d.ts +2 -0
- package/dist/src/ui/components/data-entry/input/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/input/index.js +2 -0
- package/dist/src/ui/components/data-entry/input/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/input/input.d.ts +5 -0
- package/dist/src/ui/components/data-entry/input/input.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/input/input.js +22 -0
- package/dist/src/ui/components/data-entry/input/input.js.map +1 -0
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts +8 -0
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.js +35 -0
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.js.map +1 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.d.ts +11 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.js +8 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.js.map +1 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts +9 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js +27 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/index.d.ts +3 -0
- package/dist/src/ui/components/data-entry/oid-input/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/index.js +2 -0
- package/dist/src/ui/components/data-entry/oid-input/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/mocks.d.ts +7 -0
- package/dist/src/ui/components/data-entry/oid-input/mocks.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/mocks.js +119 -0
- package/dist/src/ui/components/data-entry/oid-input/mocks.js.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/oid-input.d.ts +5 -0
- package/dist/src/ui/components/data-entry/oid-input/oid-input.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/oid-input.js +21 -0
- package/dist/src/ui/components/data-entry/oid-input/oid-input.js.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/types.d.ts +16 -0
- package/dist/src/ui/components/data-entry/oid-input/types.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/types.js +2 -0
- package/dist/src/ui/components/data-entry/oid-input/types.js.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/index.d.ts +3 -0
- package/dist/src/ui/components/data-entry/phid-input/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/index.js +2 -0
- package/dist/src/ui/components/data-entry/phid-input/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/mocks.d.ts +7 -0
- package/dist/src/ui/components/data-entry/phid-input/mocks.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/mocks.js +224 -0
- package/dist/src/ui/components/data-entry/phid-input/mocks.js.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.d.ts +13 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.js +52 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.js.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.d.ts +5 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.js +28 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.js.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/types.d.ts +30 -0
- package/dist/src/ui/components/data-entry/phid-input/types.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/types.js +2 -0
- package/dist/src/ui/components/data-entry/phid-input/types.js.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/index.d.ts +3 -0
- package/dist/src/ui/components/data-entry/text-input/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/index.js +2 -0
- package/dist/src/ui/components/data-entry/text-input/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.d.ts +9 -0
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.js +8 -0
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.js.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/text-input.d.ts +10 -0
- package/dist/src/ui/components/data-entry/text-input/text-input.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/text-input.js +37 -0
- package/dist/src/ui/components/data-entry/text-input/text-input.js.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/types.d.ts +12 -0
- package/dist/src/ui/components/data-entry/text-input/types.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/types.js +2 -0
- package/dist/src/ui/components/data-entry/text-input/types.js.map +1 -0
- package/dist/src/ui/components/data-entry/textarea/index.d.ts +2 -0
- package/dist/src/ui/components/data-entry/textarea/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/textarea/index.js +2 -0
- package/dist/src/ui/components/data-entry/textarea/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.d.ts +13 -0
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.js +9 -0
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.js.map +1 -0
- package/dist/src/ui/components/data-entry/textarea/textarea.d.ts +12 -0
- package/dist/src/ui/components/data-entry/textarea/textarea.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/textarea/textarea.js +103 -0
- package/dist/src/ui/components/data-entry/textarea/textarea.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/index.d.ts +3 -0
- package/dist/src/ui/components/data-entry/time-picker/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/index.js +2 -0
- package/dist/src/ui/components/data-entry/time-picker/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.d.ts +8 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.js +8 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.d.ts +25 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.js +12 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.d.ts +5 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.js +5 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.d.ts +5 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js +28 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts +13 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.js +106 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/time-picker.d.ts +23 -0
- package/dist/src/ui/components/data-entry/time-picker/time-picker.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/time-picker.js +27 -0
- package/dist/src/ui/components/data-entry/time-picker/time-picker.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/type.d.ts +9 -0
- package/dist/src/ui/components/data-entry/time-picker/type.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/type.js +2 -0
- package/dist/src/ui/components/data-entry/time-picker/type.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.d.ts +42 -0
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.js +144 -0
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/utils.d.ts +207 -0
- package/dist/src/ui/components/data-entry/time-picker/utils.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/utils.js +475 -0
- package/dist/src/ui/components/data-entry/time-picker/utils.js.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/index.d.ts +2 -0
- package/dist/src/ui/components/data-entry/toggle/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/index.js +2 -0
- package/dist/src/ui/components/data-entry/toggle/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/toggle-base.d.ts +11 -0
- package/dist/src/ui/components/data-entry/toggle/toggle-base.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/toggle-base.js +10 -0
- package/dist/src/ui/components/data-entry/toggle/toggle-base.js.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/toggle.d.ts +9 -0
- package/dist/src/ui/components/data-entry/toggle/toggle.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/toggle.js +14 -0
- package/dist/src/ui/components/data-entry/toggle/toggle.js.map +1 -0
- package/dist/src/ui/components/dropdown/dropdown-example.d.ts +3 -0
- package/dist/src/ui/components/dropdown/dropdown-example.d.ts.map +1 -0
- package/dist/src/ui/components/dropdown/dropdown-example.js +13 -0
- package/dist/src/ui/components/dropdown/dropdown-example.js.map +1 -0
- package/dist/src/ui/components/dropdown/index.d.ts +8 -0
- package/dist/src/ui/components/dropdown/index.d.ts.map +1 -0
- package/dist/src/ui/components/dropdown/index.js +8 -0
- package/dist/src/ui/components/dropdown/index.js.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.d.ts +4 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.d.ts.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.js +17 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.js.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.d.ts +6 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.d.ts.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.js +13 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.js.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.d.ts +6 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.d.ts.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.js +7 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.js.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.d.ts +5 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.d.ts.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.js +7 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.js.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.d.ts +3 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.d.ts.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.js +6 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.js.map +1 -0
- package/dist/src/ui/components/icon/icon.d.ts +10 -0
- package/dist/src/ui/components/icon/icon.d.ts.map +1 -0
- package/dist/src/ui/components/icon/icon.js +18 -0
- package/dist/src/ui/components/icon/icon.js.map +1 -0
- package/dist/src/ui/components/icon/index.d.ts +4 -0
- package/dist/src/ui/components/icon/index.d.ts.map +1 -0
- package/dist/src/ui/components/icon/index.js +3 -0
- package/dist/src/ui/components/icon/index.js.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowCouterclockwise.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ArrowCouterclockwise.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowCouterclockwise.js +5 -0
- package/dist/src/ui/components/icon-components/ArrowCouterclockwise.js.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowFilledRight.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ArrowFilledRight.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowFilledRight.js +5 -0
- package/dist/src/ui/components/icon-components/ArrowFilledRight.js.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowLeft.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ArrowLeft.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowLeft.js +5 -0
- package/dist/src/ui/components/icon-components/ArrowLeft.js.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowUp.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ArrowUp.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowUp.js +5 -0
- package/dist/src/ui/components/icon-components/ArrowUp.js.map +1 -0
- package/dist/src/ui/components/icon-components/BarChart.d.ts +3 -0
- package/dist/src/ui/components/icon-components/BarChart.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/BarChart.js +5 -0
- package/dist/src/ui/components/icon-components/BarChart.js.map +1 -0
- package/dist/src/ui/components/icon-components/BaseArrowLeft.d.ts +3 -0
- package/dist/src/ui/components/icon-components/BaseArrowLeft.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/BaseArrowLeft.js +5 -0
- package/dist/src/ui/components/icon-components/BaseArrowLeft.js.map +1 -0
- package/dist/src/ui/components/icon-components/BaseArrowRight.d.ts +3 -0
- package/dist/src/ui/components/icon-components/BaseArrowRight.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/BaseArrowRight.js +5 -0
- package/dist/src/ui/components/icon-components/BaseArrowRight.js.map +1 -0
- package/dist/src/ui/components/icon-components/Braces.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Braces.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Braces.js +5 -0
- package/dist/src/ui/components/icon-components/Braces.js.map +1 -0
- package/dist/src/ui/components/icon-components/Branch.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Branch.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Branch.js +5 -0
- package/dist/src/ui/components/icon-components/Branch.js.map +1 -0
- package/dist/src/ui/components/icon-components/BrickGlobe.d.ts +3 -0
- package/dist/src/ui/components/icon-components/BrickGlobe.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/BrickGlobe.js +5 -0
- package/dist/src/ui/components/icon-components/BrickGlobe.js.map +1 -0
- package/dist/src/ui/components/icon-components/Briefcase.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Briefcase.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Briefcase.js +5 -0
- package/dist/src/ui/components/icon-components/Briefcase.js.map +1 -0
- package/dist/src/ui/components/icon-components/Calendar.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Calendar.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Calendar.js +5 -0
- package/dist/src/ui/components/icon-components/Calendar.js.map +1 -0
- package/dist/src/ui/components/icon-components/CalendarTime.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CalendarTime.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CalendarTime.js +5 -0
- package/dist/src/ui/components/icon-components/CalendarTime.js.map +1 -0
- package/dist/src/ui/components/icon-components/Caret.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Caret.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Caret.js +5 -0
- package/dist/src/ui/components/icon-components/Caret.js.map +1 -0
- package/dist/src/ui/components/icon-components/CaretDown.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CaretDown.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CaretDown.js +5 -0
- package/dist/src/ui/components/icon-components/CaretDown.js.map +1 -0
- package/dist/src/ui/components/icon-components/CaretLeft.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CaretLeft.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CaretLeft.js +5 -0
- package/dist/src/ui/components/icon-components/CaretLeft.js.map +1 -0
- package/dist/src/ui/components/icon-components/CaretRight.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CaretRight.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CaretRight.js +5 -0
- package/dist/src/ui/components/icon-components/CaretRight.js.map +1 -0
- package/dist/src/ui/components/icon-components/CaretSort.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CaretSort.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CaretSort.js +5 -0
- package/dist/src/ui/components/icon-components/CaretSort.js.map +1 -0
- package/dist/src/ui/components/icon-components/Check.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Check.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Check.js +5 -0
- package/dist/src/ui/components/icon-components/Check.js.map +1 -0
- package/dist/src/ui/components/icon-components/CheckCircle.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CheckCircle.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CheckCircle.js +5 -0
- package/dist/src/ui/components/icon-components/CheckCircle.js.map +1 -0
- package/dist/src/ui/components/icon-components/CheckCircleFill.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CheckCircleFill.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CheckCircleFill.js +5 -0
- package/dist/src/ui/components/icon-components/CheckCircleFill.js.map +1 -0
- package/dist/src/ui/components/icon-components/Checkmark.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Checkmark.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Checkmark.js +5 -0
- package/dist/src/ui/components/icon-components/Checkmark.js.map +1 -0
- package/dist/src/ui/components/icon-components/ChevronDown.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ChevronDown.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ChevronDown.js +5 -0
- package/dist/src/ui/components/icon-components/ChevronDown.js.map +1 -0
- package/dist/src/ui/components/icon-components/Circle.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Circle.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Circle.js +5 -0
- package/dist/src/ui/components/icon-components/Circle.js.map +1 -0
- package/dist/src/ui/components/icon-components/CircleInfo.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CircleInfo.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CircleInfo.js +5 -0
- package/dist/src/ui/components/icon-components/CircleInfo.js.map +1 -0
- package/dist/src/ui/components/icon-components/Clock.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Clock.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Clock.js +5 -0
- package/dist/src/ui/components/icon-components/Clock.js.map +1 -0
- package/dist/src/ui/components/icon-components/ClockFill.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ClockFill.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ClockFill.js +5 -0
- package/dist/src/ui/components/icon-components/ClockFill.js.map +1 -0
- package/dist/src/ui/components/icon-components/ClockHistory.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ClockHistory.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ClockHistory.js +5 -0
- package/dist/src/ui/components/icon-components/ClockHistory.js.map +1 -0
- package/dist/src/ui/components/icon-components/CloudSlash.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CloudSlash.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CloudSlash.js +5 -0
- package/dist/src/ui/components/icon-components/CloudSlash.js.map +1 -0
- package/dist/src/ui/components/icon-components/Collapse.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Collapse.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Collapse.js +5 -0
- package/dist/src/ui/components/icon-components/Collapse.js.map +1 -0
- package/dist/src/ui/components/icon-components/Compass.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Compass.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Compass.js +5 -0
- package/dist/src/ui/components/icon-components/Compass.js.map +1 -0
- package/dist/src/ui/components/icon-components/Connect.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Connect.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Connect.js +5 -0
- package/dist/src/ui/components/icon-components/Connect.js.map +1 -0
- package/dist/src/ui/components/icon-components/ConnectSmall.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ConnectSmall.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ConnectSmall.js +5 -0
- package/dist/src/ui/components/icon-components/ConnectSmall.js.map +1 -0
- package/dist/src/ui/components/icon-components/Copy.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Copy.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Copy.js +5 -0
- package/dist/src/ui/components/icon-components/Copy.js.map +1 -0
- package/dist/src/ui/components/icon-components/Created.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Created.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Created.js +5 -0
- package/dist/src/ui/components/icon-components/Created.js.map +1 -0
- package/dist/src/ui/components/icon-components/CrossCircle.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CrossCircle.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CrossCircle.js +5 -0
- package/dist/src/ui/components/icon-components/CrossCircle.js.map +1 -0
- package/dist/src/ui/components/icon-components/Danger.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Danger.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Danger.js +5 -0
- package/dist/src/ui/components/icon-components/Danger.js.map +1 -0
- package/dist/src/ui/components/icon-components/DescendenceModified.d.ts +3 -0
- package/dist/src/ui/components/icon-components/DescendenceModified.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/DescendenceModified.js +5 -0
- package/dist/src/ui/components/icon-components/DescendenceModified.js.map +1 -0
- package/dist/src/ui/components/icon-components/Disconnect.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Disconnect.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Disconnect.js +5 -0
- package/dist/src/ui/components/icon-components/Disconnect.js.map +1 -0
- package/dist/src/ui/components/icon-components/Discord.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Discord.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Discord.js +5 -0
- package/dist/src/ui/components/icon-components/Discord.js.map +1 -0
- package/dist/src/ui/components/icon-components/DownloadFile.d.ts +3 -0
- package/dist/src/ui/components/icon-components/DownloadFile.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/DownloadFile.js +5 -0
- package/dist/src/ui/components/icon-components/DownloadFile.js.map +1 -0
- package/dist/src/ui/components/icon-components/Drive.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Drive.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Drive.js +5 -0
- package/dist/src/ui/components/icon-components/Drive.js.map +1 -0
- package/dist/src/ui/components/icon-components/Duplicated.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Duplicated.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Duplicated.js +5 -0
- package/dist/src/ui/components/icon-components/Duplicated.js.map +1 -0
- package/dist/src/ui/components/icon-components/Edit.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Edit.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Edit.js +5 -0
- package/dist/src/ui/components/icon-components/Edit.js.map +1 -0
- package/dist/src/ui/components/icon-components/Ellipsis.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Ellipsis.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Ellipsis.js +5 -0
- package/dist/src/ui/components/icon-components/Ellipsis.js.map +1 -0
- package/dist/src/ui/components/icon-components/Error.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Error.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Error.js +5 -0
- package/dist/src/ui/components/icon-components/Error.js.map +1 -0
- package/dist/src/ui/components/icon-components/Ethscan.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Ethscan.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Ethscan.js +5 -0
- package/dist/src/ui/components/icon-components/Ethscan.js.map +1 -0
- package/dist/src/ui/components/icon-components/Exclamation.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Exclamation.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Exclamation.js +5 -0
- package/dist/src/ui/components/icon-components/Exclamation.js.map +1 -0
- package/dist/src/ui/components/icon-components/ExportCsv.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ExportCsv.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ExportCsv.js +5 -0
- package/dist/src/ui/components/icon-components/ExportCsv.js.map +1 -0
- package/dist/src/ui/components/icon-components/ExportJson.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ExportJson.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ExportJson.js +5 -0
- package/dist/src/ui/components/icon-components/ExportJson.js.map +1 -0
- package/dist/src/ui/components/icon-components/ExportPdf.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ExportPdf.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ExportPdf.js +5 -0
- package/dist/src/ui/components/icon-components/ExportPdf.js.map +1 -0
- package/dist/src/ui/components/icon-components/ExportUbl.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ExportUbl.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ExportUbl.js +5 -0
- package/dist/src/ui/components/icon-components/ExportUbl.js.map +1 -0
- package/dist/src/ui/components/icon-components/ExportZip.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ExportZip.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ExportZip.js +5 -0
- package/dist/src/ui/components/icon-components/ExportZip.js.map +1 -0
- package/dist/src/ui/components/icon-components/File.d.ts +3 -0
- package/dist/src/ui/components/icon-components/File.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/File.js +5 -0
- package/dist/src/ui/components/icon-components/File.js.map +1 -0
- package/dist/src/ui/components/icon-components/FilesEarmark.d.ts +3 -0
- package/dist/src/ui/components/icon-components/FilesEarmark.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/FilesEarmark.js +5 -0
- package/dist/src/ui/components/icon-components/FilesEarmark.js.map +1 -0
- package/dist/src/ui/components/icon-components/FolderClose.d.ts +3 -0
- package/dist/src/ui/components/icon-components/FolderClose.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/FolderClose.js +5 -0
- package/dist/src/ui/components/icon-components/FolderClose.js.map +1 -0
- package/dist/src/ui/components/icon-components/FolderOpen.d.ts +3 -0
- package/dist/src/ui/components/icon-components/FolderOpen.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/FolderOpen.js +5 -0
- package/dist/src/ui/components/icon-components/FolderOpen.js.map +1 -0
- package/dist/src/ui/components/icon-components/FolderPlus.d.ts +3 -0
- package/dist/src/ui/components/icon-components/FolderPlus.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/FolderPlus.js +5 -0
- package/dist/src/ui/components/icon-components/FolderPlus.js.map +1 -0
- package/dist/src/ui/components/icon-components/Forum.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Forum.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Forum.js +5 -0
- package/dist/src/ui/components/icon-components/Forum.js.map +1 -0
- package/dist/src/ui/components/icon-components/Gear.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Gear.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Gear.js +5 -0
- package/dist/src/ui/components/icon-components/Gear.js.map +1 -0
- package/dist/src/ui/components/icon-components/Github.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Github.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Github.js +5 -0
- package/dist/src/ui/components/icon-components/Github.js.map +1 -0
- package/dist/src/ui/components/icon-components/Globe.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Globe.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Globe.js +5 -0
- package/dist/src/ui/components/icon-components/Globe.js.map +1 -0
- package/dist/src/ui/components/icon-components/GlobeWww.d.ts +3 -0
- package/dist/src/ui/components/icon-components/GlobeWww.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/GlobeWww.js +5 -0
- package/dist/src/ui/components/icon-components/GlobeWww.js.map +1 -0
- package/dist/src/ui/components/icon-components/Hdd.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Hdd.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Hdd.js +5 -0
- package/dist/src/ui/components/icon-components/Hdd.js.map +1 -0
- package/dist/src/ui/components/icon-components/History.d.ts +3 -0
- package/dist/src/ui/components/icon-components/History.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/History.js +5 -0
- package/dist/src/ui/components/icon-components/History.js.map +1 -0
- package/dist/src/ui/components/icon-components/InfoSquare.d.ts +3 -0
- package/dist/src/ui/components/icon-components/InfoSquare.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/InfoSquare.js +5 -0
- package/dist/src/ui/components/icon-components/InfoSquare.js.map +1 -0
- package/dist/src/ui/components/icon-components/Link.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Link.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Link.js +5 -0
- package/dist/src/ui/components/icon-components/Link.js.map +1 -0
- package/dist/src/ui/components/icon-components/Linkedin.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Linkedin.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Linkedin.js +5 -0
- package/dist/src/ui/components/icon-components/Linkedin.js.map +1 -0
- package/dist/src/ui/components/icon-components/Lock.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Lock.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Lock.js +5 -0
- package/dist/src/ui/components/icon-components/Lock.js.map +1 -0
- package/dist/src/ui/components/icon-components/M.d.ts +3 -0
- package/dist/src/ui/components/icon-components/M.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/M.js +5 -0
- package/dist/src/ui/components/icon-components/M.js.map +1 -0
- package/dist/src/ui/components/icon-components/Modified.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Modified.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Modified.js +5 -0
- package/dist/src/ui/components/icon-components/Modified.js.map +1 -0
- package/dist/src/ui/components/icon-components/Moved.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Moved.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Moved.js +5 -0
- package/dist/src/ui/components/icon-components/Moved.js.map +1 -0
- package/dist/src/ui/components/icon-components/Npm.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Npm.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Npm.js +5 -0
- package/dist/src/ui/components/icon-components/Npm.js.map +1 -0
- package/dist/src/ui/components/icon-components/PackageManager.d.ts +3 -0
- package/dist/src/ui/components/icon-components/PackageManager.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/PackageManager.js +5 -0
- package/dist/src/ui/components/icon-components/PackageManager.js.map +1 -0
- package/dist/src/ui/components/icon-components/Pencil.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Pencil.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Pencil.js +5 -0
- package/dist/src/ui/components/icon-components/Pencil.js.map +1 -0
- package/dist/src/ui/components/icon-components/People.d.ts +3 -0
- package/dist/src/ui/components/icon-components/People.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/People.js +5 -0
- package/dist/src/ui/components/icon-components/People.js.map +1 -0
- package/dist/src/ui/components/icon-components/PeopleFill.d.ts +3 -0
- package/dist/src/ui/components/icon-components/PeopleFill.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/PeopleFill.js +5 -0
- package/dist/src/ui/components/icon-components/PeopleFill.js.map +1 -0
- package/dist/src/ui/components/icon-components/Person.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Person.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Person.js +5 -0
- package/dist/src/ui/components/icon-components/Person.js.map +1 -0
- package/dist/src/ui/components/icon-components/Pin.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Pin.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Pin.js +5 -0
- package/dist/src/ui/components/icon-components/Pin.js.map +1 -0
- package/dist/src/ui/components/icon-components/PinFilled.d.ts +3 -0
- package/dist/src/ui/components/icon-components/PinFilled.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/PinFilled.js +5 -0
- package/dist/src/ui/components/icon-components/PinFilled.js.map +1 -0
- package/dist/src/ui/components/icon-components/Plus.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Plus.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Plus.js +5 -0
- package/dist/src/ui/components/icon-components/Plus.js.map +1 -0
- package/dist/src/ui/components/icon-components/PlusCircle.d.ts +3 -0
- package/dist/src/ui/components/icon-components/PlusCircle.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/PlusCircle.js +5 -0
- package/dist/src/ui/components/icon-components/PlusCircle.js.map +1 -0
- package/dist/src/ui/components/icon-components/PlusSquare.d.ts +3 -0
- package/dist/src/ui/components/icon-components/PlusSquare.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/PlusSquare.js +5 -0
- package/dist/src/ui/components/icon-components/PlusSquare.js.map +1 -0
- package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.d.ts +3 -0
- package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.js +5 -0
- package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.js.map +1 -0
- package/dist/src/ui/components/icon-components/Project.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Project.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Project.js +5 -0
- package/dist/src/ui/components/icon-components/Project.js.map +1 -0
- package/dist/src/ui/components/icon-components/QuestionSquare.d.ts +3 -0
- package/dist/src/ui/components/icon-components/QuestionSquare.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/QuestionSquare.js +5 -0
- package/dist/src/ui/components/icon-components/QuestionSquare.js.map +1 -0
- package/dist/src/ui/components/icon-components/RedoArrow.d.ts +3 -0
- package/dist/src/ui/components/icon-components/RedoArrow.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/RedoArrow.js +5 -0
- package/dist/src/ui/components/icon-components/RedoArrow.js.map +1 -0
- package/dist/src/ui/components/icon-components/Reload.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Reload.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Reload.js +5 -0
- package/dist/src/ui/components/icon-components/Reload.js.map +1 -0
- package/dist/src/ui/components/icon-components/Removed.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Removed.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Removed.js +5 -0
- package/dist/src/ui/components/icon-components/Removed.js.map +1 -0
- package/dist/src/ui/components/icon-components/Renown.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Renown.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Renown.js +5 -0
- package/dist/src/ui/components/icon-components/Renown.js.map +1 -0
- package/dist/src/ui/components/icon-components/RenownHover.d.ts +3 -0
- package/dist/src/ui/components/icon-components/RenownHover.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/RenownHover.js +5 -0
- package/dist/src/ui/components/icon-components/RenownHover.js.map +1 -0
- package/dist/src/ui/components/icon-components/RenownLight.d.ts +3 -0
- package/dist/src/ui/components/icon-components/RenownLight.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/RenownLight.js +5 -0
- package/dist/src/ui/components/icon-components/RenownLight.js.map +1 -0
- package/dist/src/ui/components/icon-components/Ring.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Ring.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Ring.js +5 -0
- package/dist/src/ui/components/icon-components/Ring.js.map +1 -0
- package/dist/src/ui/components/icon-components/Save.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Save.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Save.js +5 -0
- package/dist/src/ui/components/icon-components/Save.js.map +1 -0
- package/dist/src/ui/components/icon-components/Search.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Search.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Search.js +5 -0
- package/dist/src/ui/components/icon-components/Search.js.map +1 -0
- package/dist/src/ui/components/icon-components/Server.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Server.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Server.js +5 -0
- package/dist/src/ui/components/icon-components/Server.js.map +1 -0
- package/dist/src/ui/components/icon-components/Settings.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Settings.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Settings.js +5 -0
- package/dist/src/ui/components/icon-components/Settings.js.map +1 -0
- package/dist/src/ui/components/icon-components/Synced.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Synced.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Synced.js +5 -0
- package/dist/src/ui/components/icon-components/Synced.js.map +1 -0
- package/dist/src/ui/components/icon-components/Syncing.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Syncing.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Syncing.js +5 -0
- package/dist/src/ui/components/icon-components/Syncing.js.map +1 -0
- package/dist/src/ui/components/icon-components/Tabler.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Tabler.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Tabler.js +5 -0
- package/dist/src/ui/components/icon-components/Tabler.js.map +1 -0
- package/dist/src/ui/components/icon-components/Timeline.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Timeline.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Timeline.js +5 -0
- package/dist/src/ui/components/icon-components/Timeline.js.map +1 -0
- package/dist/src/ui/components/icon-components/TimelineCaret.d.ts +3 -0
- package/dist/src/ui/components/icon-components/TimelineCaret.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/TimelineCaret.js +5 -0
- package/dist/src/ui/components/icon-components/TimelineCaret.js.map +1 -0
- package/dist/src/ui/components/icon-components/Trash.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Trash.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Trash.js +5 -0
- package/dist/src/ui/components/icon-components/Trash.js.map +1 -0
- package/dist/src/ui/components/icon-components/TrashFill.d.ts +3 -0
- package/dist/src/ui/components/icon-components/TrashFill.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/TrashFill.js +5 -0
- package/dist/src/ui/components/icon-components/TrashFill.js.map +1 -0
- package/dist/src/ui/components/icon-components/TreeViewSlash.d.ts +3 -0
- package/dist/src/ui/components/icon-components/TreeViewSlash.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/TreeViewSlash.js +5 -0
- package/dist/src/ui/components/icon-components/TreeViewSlash.js.map +1 -0
- package/dist/src/ui/components/icon-components/TriangleDown.d.ts +3 -0
- package/dist/src/ui/components/icon-components/TriangleDown.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/TriangleDown.js +5 -0
- package/dist/src/ui/components/icon-components/TriangleDown.js.map +1 -0
- package/dist/src/ui/components/icon-components/Tube.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Tube.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Tube.js +5 -0
- package/dist/src/ui/components/icon-components/Tube.js.map +1 -0
- package/dist/src/ui/components/icon-components/VariantArrowLeft.d.ts +3 -0
- package/dist/src/ui/components/icon-components/VariantArrowLeft.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/VariantArrowLeft.js +5 -0
- package/dist/src/ui/components/icon-components/VariantArrowLeft.js.map +1 -0
- package/dist/src/ui/components/icon-components/VerticalDots.d.ts +3 -0
- package/dist/src/ui/components/icon-components/VerticalDots.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/VerticalDots.js +5 -0
- package/dist/src/ui/components/icon-components/VerticalDots.js.map +1 -0
- package/dist/src/ui/components/icon-components/WarningFill.d.ts +3 -0
- package/dist/src/ui/components/icon-components/WarningFill.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/WarningFill.js +5 -0
- package/dist/src/ui/components/icon-components/WarningFill.js.map +1 -0
- package/dist/src/ui/components/icon-components/XTwitter.d.ts +3 -0
- package/dist/src/ui/components/icon-components/XTwitter.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/XTwitter.js +5 -0
- package/dist/src/ui/components/icon-components/XTwitter.js.map +1 -0
- package/dist/src/ui/components/icon-components/Xmark.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Xmark.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Xmark.js +5 -0
- package/dist/src/ui/components/icon-components/Xmark.js.map +1 -0
- package/dist/src/ui/components/icon-components/XmarkLight.d.ts +3 -0
- package/dist/src/ui/components/icon-components/XmarkLight.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/XmarkLight.js +5 -0
- package/dist/src/ui/components/icon-components/XmarkLight.js.map +1 -0
- package/dist/src/ui/components/icon-components/Youtube.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Youtube.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Youtube.js +5 -0
- package/dist/src/ui/components/icon-components/Youtube.js.map +1 -0
- package/dist/src/ui/components/icon-components/index.d.ts +6 -0
- package/dist/src/ui/components/icon-components/index.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/index.js +347 -0
- package/dist/src/ui/components/icon-components/index.js.map +1 -0
- package/dist/src/ui/components/index.d.ts +15 -0
- package/dist/src/ui/components/index.d.ts.map +1 -0
- package/dist/src/ui/components/index.js +21 -0
- package/dist/src/ui/components/index.js.map +1 -0
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js +48 -0
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js.map +1 -0
- package/dist/src/ui/components/object-set-table/index.d.ts +2 -0
- package/dist/src/ui/components/object-set-table/index.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/index.js +5 -0
- package/dist/src/ui/components/object-set-table/index.js.map +1 -0
- package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts +49 -0
- package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/logic/selection-manager.js +97 -0
- package/dist/src/ui/components/object-set-table/logic/selection-manager.js.map +1 -0
- package/dist/src/ui/components/object-set-table/logic/table-api.d.ts +52 -0
- package/dist/src/ui/components/object-set-table/logic/table-api.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/logic/table-api.js +105 -0
- package/dist/src/ui/components/object-set-table/logic/table-api.js.map +1 -0
- package/dist/src/ui/components/object-set-table/mock-data.d.ts +16 -0
- package/dist/src/ui/components/object-set-table/mock-data.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/mock-data.js +101 -0
- package/dist/src/ui/components/object-set-table/mock-data.js.map +1 -0
- package/dist/src/ui/components/object-set-table/object-set-table.d.ts +12 -0
- package/dist/src/ui/components/object-set-table/object-set-table.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/object-set-table.js +53 -0
- package/dist/src/ui/components/object-set-table/object-set-table.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts +8 -0
- package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/body.js +114 -0
- package/dist/src/ui/components/object-set-table/subcomponents/body.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.js +7 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.d.ts +7 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.js +8 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js +7 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.d.ts +8 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.js +15 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts +4 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.js +14 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.js +6 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.js +6 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.js +11 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts +4 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.js +6 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.js +7 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.d.ts +7 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.js +13 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header.d.ts +8 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header.js +19 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.d.ts +6 -0
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js +18 -0
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.d.ts +5 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.js +16 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts +24 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js +41 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts +49 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js +109 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js.map +1 -0
- package/dist/src/ui/components/object-set-table/types.d.ts +242 -0
- package/dist/src/ui/components/object-set-table/types.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/types.js +2 -0
- package/dist/src/ui/components/object-set-table/types.js.map +1 -0
- package/dist/src/ui/components/object-set-table/utils.d.ts +90 -0
- package/dist/src/ui/components/object-set-table/utils.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/utils.js +172 -0
- package/dist/src/ui/components/object-set-table/utils.js.map +1 -0
- package/dist/src/ui/components/sidebar/index.d.ts +4 -0
- package/dist/src/ui/components/sidebar/index.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/index.js +3 -0
- package/dist/src/ui/components/sidebar/index.js.map +1 -0
- package/dist/src/ui/components/sidebar/mocked_tree.json +5230 -0
- package/dist/src/ui/components/sidebar/sidebar.d.ts +81 -0
- package/dist/src/ui/components/sidebar/sidebar.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/sidebar.js +62 -0
- package/dist/src/ui/components/sidebar/sidebar.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts +7 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js +17 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.d.ts +8 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js +17 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts +19 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js +82 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts +2 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.js +13 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts +2 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.js +2 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts +37 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js +292 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts +93 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js +135 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts +4 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.js +4 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts +8 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js +6 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts +8 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js +8 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts +6 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js +36 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts +8 -0
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.js +32 -0
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.js.map +1 -0
- package/dist/src/ui/components/sidebar/types.d.ts +23 -0
- package/dist/src/ui/components/sidebar/types.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/types.js +10 -0
- package/dist/src/ui/components/sidebar/types.js.map +1 -0
- package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts +33 -0
- package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/use-sidebar-resize.js +97 -0
- package/dist/src/ui/components/sidebar/use-sidebar-resize.js.map +1 -0
- package/dist/src/ui/components/sidebar/utils.d.ts +52 -0
- package/dist/src/ui/components/sidebar/utils.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/utils.js +238 -0
- package/dist/src/ui/components/sidebar/utils.js.map +1 -0
- package/dist/src/ui/components/tooltip/index.d.ts +2 -0
- package/dist/src/ui/components/tooltip/index.d.ts.map +1 -0
- package/dist/src/ui/components/tooltip/index.js +2 -0
- package/dist/src/ui/components/tooltip/index.js.map +1 -0
- package/dist/src/ui/components/tooltip/tooltip.d.ts +11 -0
- package/dist/src/ui/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/src/ui/components/tooltip/tooltip.js +24 -0
- package/dist/src/ui/components/tooltip/tooltip.js.map +1 -0
- package/dist/src/ui/index.d.ts +2 -0
- package/dist/src/ui/index.d.ts.map +1 -0
- package/dist/src/ui/index.js +2 -0
- package/dist/src/ui/index.js.map +1 -0
- package/dist/style.css +3665 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -0
- package/package.json +165 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type IconName } from "@powerhousedao/design-system";
|
|
2
|
+
interface UrlFaviconProps {
|
|
3
|
+
url: string;
|
|
4
|
+
platformIcons?: Record<string, React.ReactElement | IconName>;
|
|
5
|
+
}
|
|
6
|
+
declare const UrlFavicon: ({ url, platformIcons }: UrlFaviconProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
export default UrlFavicon;
|
|
8
|
+
//# sourceMappingURL=url-favicon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-favicon.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/url-field/url-favicon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,QAAQ,EAAQ,MAAM,8BAA8B,CAAC;AAG9E,UAAU,eAAe;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,YAAY,GAAG,QAAQ,CAAC,CAAC;CAC/D;AAID,QAAA,MAAM,UAAU,GAAI,wBAAwB,eAAe,mDAgC1D,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { iconNames, Icon } from "@powerhousedao/design-system";
|
|
3
|
+
import { useMemo } from "react";
|
|
4
|
+
const DEFAULT_ICON_NAME = "GlobeWww";
|
|
5
|
+
const UrlFavicon = ({ url, platformIcons }) => {
|
|
6
|
+
const IconToUse = useMemo(() => {
|
|
7
|
+
const defaultIcon = _jsx(Icon, { name: DEFAULT_ICON_NAME, size: 18 });
|
|
8
|
+
try {
|
|
9
|
+
const parsedUrl = new URL(url);
|
|
10
|
+
const hostname = parsedUrl.hostname;
|
|
11
|
+
const icon = platformIcons?.[hostname];
|
|
12
|
+
if (!icon)
|
|
13
|
+
return defaultIcon;
|
|
14
|
+
if (typeof icon === "string") {
|
|
15
|
+
// check beyond typescript check if the icon actually exists
|
|
16
|
+
if (iconNames.includes(icon)) {
|
|
17
|
+
return _jsx(Icon, { name: icon, size: 18 });
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
console.error(`Platform icon "${icon}" does not exist`);
|
|
21
|
+
return defaultIcon;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return icon;
|
|
25
|
+
}
|
|
26
|
+
catch {
|
|
27
|
+
return defaultIcon;
|
|
28
|
+
}
|
|
29
|
+
}, [url, platformIcons]);
|
|
30
|
+
if (Object.keys(platformIcons ?? {}).length === 0)
|
|
31
|
+
return null;
|
|
32
|
+
return (_jsx("div", { className: "absolute left-2.5 top-0 flex h-full items-center justify-center text-gray-900", children: IconToUse }));
|
|
33
|
+
};
|
|
34
|
+
export default UrlFavicon;
|
|
35
|
+
//# sourceMappingURL=url-favicon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-favicon.js","sourceRoot":"","sources":["../../../../../src/scalars/components/url-field/url-favicon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAiB,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAOhC,MAAM,iBAAiB,GAAG,UAAU,CAAC;AAErC,MAAM,UAAU,GAAG,CAAC,EAAE,GAAG,EAAE,aAAa,EAAmB,EAAE,EAAE;IAC7D,MAAM,SAAS,GAA8B,OAAO,CAAC,GAAG,EAAE;QACxD,MAAM,WAAW,GAAG,KAAC,IAAI,IAAC,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,EAAE,GAAI,CAAC;QAChE,IAAI,CAAC;YACH,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC;YAC/B,MAAM,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAC;YACpC,MAAM,IAAI,GAAG,aAAa,EAAE,CAAC,QAAQ,CAAC,CAAC;YACvC,IAAI,CAAC,IAAI;gBAAE,OAAO,WAAW,CAAC;YAE9B,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;gBAC7B,4DAA4D;gBAC5D,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC7B,OAAO,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,GAAI,CAAC;gBACxC,CAAC;qBAAM,CAAC;oBACN,OAAO,CAAC,KAAK,CAAC,kBAAkB,IAAI,kBAAkB,CAAC,CAAC;oBACxD,OAAO,WAAW,CAAC;gBACrB,CAAC;YACH,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,WAAW,CAAC;QACrB,CAAC;IACH,CAAC,EAAE,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC;IAEzB,IAAI,MAAM,CAAC,IAAI,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IAE/D,OAAO,CACL,cAAK,SAAS,EAAC,+EAA+E,YAC3F,SAAS,GACN,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FieldErrorHandling } from "../types.js";
|
|
2
|
+
import { type UrlInputProps } from "./url-input.js";
|
|
3
|
+
interface UrlFieldProps extends UrlInputProps, FieldErrorHandling {
|
|
4
|
+
allowedProtocols?: string[];
|
|
5
|
+
maxURLLength?: number;
|
|
6
|
+
}
|
|
7
|
+
declare const UrlField: import("react").ForwardRefExoticComponent<UrlFieldProps & import("react").RefAttributes<unknown>>;
|
|
8
|
+
export { UrlField, type UrlFieldProps };
|
|
9
|
+
//# sourceMappingURL=url-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-field.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/url-field/url-field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE9D,UAAU,aAAc,SAAQ,aAAa,EAAE,kBAAkB;IAC/D,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,QAAA,MAAM,QAAQ,mGAkDZ,CAAC;AAIH,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { withFieldValidation } from "../fragments/with-field-validation/with-field-validation.js";
|
|
2
|
+
import { UrlInput } from "./url-input.js";
|
|
3
|
+
const UrlField = withFieldValidation(UrlInput, {
|
|
4
|
+
validations: {
|
|
5
|
+
_validUrl: () => (value) => {
|
|
6
|
+
if (!value)
|
|
7
|
+
return true;
|
|
8
|
+
try {
|
|
9
|
+
const url = new URL(value);
|
|
10
|
+
const regex = /^(([0-9]{1,3}\.){3}[0-9]{1,3})|(([a-z0-9-_]+\.)+[a-z]{2,})|(localhost)$/i;
|
|
11
|
+
if (!regex.test(url.hostname)) {
|
|
12
|
+
return `${value} must be a valid URL`;
|
|
13
|
+
}
|
|
14
|
+
return true;
|
|
15
|
+
}
|
|
16
|
+
catch {
|
|
17
|
+
return `${value} must be a valid URL`;
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
_allowedProtocols: ({ allowedProtocols }) => (value) => {
|
|
21
|
+
if (!value || !allowedProtocols)
|
|
22
|
+
return true;
|
|
23
|
+
try {
|
|
24
|
+
const url = new URL(value);
|
|
25
|
+
const isAllowed = allowedProtocols.includes(url.protocol.slice(0, -1));
|
|
26
|
+
if (isAllowed)
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
catch {
|
|
30
|
+
return true; // handling valid url is handled by _validUrl validation
|
|
31
|
+
}
|
|
32
|
+
let allowedProtocolsString = allowedProtocols.join(", ");
|
|
33
|
+
if (allowedProtocols.length > 1) {
|
|
34
|
+
allowedProtocolsString = allowedProtocolsString.replace(/,\s(?=[^,]*$)/, " or ");
|
|
35
|
+
}
|
|
36
|
+
return `The URL must start with ${allowedProtocolsString}`;
|
|
37
|
+
},
|
|
38
|
+
_maxURLLength: ({ maxURLLength, label }) => (value) => {
|
|
39
|
+
if (!maxURLLength)
|
|
40
|
+
return true;
|
|
41
|
+
return (value.length <= maxURLLength ||
|
|
42
|
+
`${typeof label === "string" ? label : "URL"} must not exceed ${maxURLLength} characters`);
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
UrlField.displayName = "UrlField";
|
|
47
|
+
export { UrlField };
|
|
48
|
+
//# sourceMappingURL=url-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-field.js","sourceRoot":"","sources":["../../../../../src/scalars/components/url-field/url-field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AAElG,OAAO,EAAE,QAAQ,EAAsB,MAAM,gBAAgB,CAAC;AAO9D,MAAM,QAAQ,GAAG,mBAAmB,CAAgB,QAAQ,EAAE;IAC5D,WAAW,EAAE;QACX,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE;YACzB,IAAI,CAAC,KAAK;gBAAE,OAAO,IAAI,CAAC;YACxB,IAAI,CAAC;gBACH,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,KAAe,CAAC,CAAC;gBACrC,MAAM,KAAK,GACT,0EAA0E,CAAC;gBAC7E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;oBAC9B,OAAO,GAAG,KAAK,sBAAsB,CAAC;gBACxC,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAAC,MAAM,CAAC;gBACP,OAAO,GAAG,KAAK,sBAAsB,CAAC;YACxC,CAAC;QACH,CAAC;QACD,iBAAiB,EACf,CAAC,EAAE,gBAAgB,EAAE,EAAE,EAAE,CACzB,CAAC,KAAK,EAAE,EAAE;YACR,IAAI,CAAC,KAAK,IAAI,CAAC,gBAAgB;gBAAE,OAAO,IAAI,CAAC;YAC7C,IAAI,CAAC;gBACH,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,KAAe,CAAC,CAAC;gBACrC,MAAM,SAAS,GAAG,gBAAgB,CAAC,QAAQ,CACzC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAC1B,CAAC;gBACF,IAAI,SAAS;oBAAE,OAAO,IAAI,CAAC;YAC7B,CAAC;YAAC,MAAM,CAAC;gBACP,OAAO,IAAI,CAAC,CAAC,wDAAwD;YACvE,CAAC;YAED,IAAI,sBAAsB,GAAG,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACzD,IAAI,gBAAgB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAChC,sBAAsB,GAAG,sBAAsB,CAAC,OAAO,CACrD,eAAe,EACf,MAAM,CACP,CAAC;YACJ,CAAC;YAED,OAAO,2BAA2B,sBAAsB,EAAE,CAAC;QAC7D,CAAC;QACH,aAAa,EACX,CAAC,EAAE,YAAY,EAAE,KAAK,EAAE,EAAE,EAAE,CAC5B,CAAC,KAAK,EAAE,EAAE;YACR,IAAI,CAAC,YAAY;gBAAE,OAAO,IAAI,CAAC;YAC/B,OAAO,CACJ,KAAgB,CAAC,MAAM,IAAI,YAAY;gBACxC,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,oBAAoB,YAAY,aAAa,CAC1F,CAAC;QACJ,CAAC;KACJ;CACF,CAAC,CAAC;AAEH,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAC;AAElC,OAAO,EAAE,QAAQ,EAAsB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type IconName } from "@powerhousedao/design-system";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import type { InputBaseProps } from "../types.js";
|
|
4
|
+
type PlatformIcon = IconName | React.ReactElement;
|
|
5
|
+
interface UrlInputProps extends InputBaseProps<string>, Omit<React.InputHTMLAttributes<HTMLInputElement>, "pattern" | "value" | "defaultValue" | "name" | "maxLength"> {
|
|
6
|
+
showWarnings?: boolean;
|
|
7
|
+
platformIcons?: Record<string, PlatformIcon>;
|
|
8
|
+
}
|
|
9
|
+
declare const UrlInput: React.ForwardRefExoticComponent<UrlInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
10
|
+
export { UrlInput, type PlatformIcon, type UrlInputProps };
|
|
11
|
+
//# sourceMappingURL=url-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-input.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/url-field/url-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,KAAsC,MAAM,OAAO,CAAC;AAW3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlD,KAAK,YAAY,GAAG,QAAQ,GAAG,KAAK,CAAC,YAAY,CAAC;AAElD,UAAU,aACR,SAAQ,cAAc,CAAC,MAAM,CAAC,EAE5B,IAAI,CACF,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAC3C,SAAS,GAAG,OAAO,GAAG,cAAc,GAAG,MAAM,GAAG,WAAW,CAC5D;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;CAC9C;AAED,QAAA,MAAM,QAAQ,wFAoFb,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React, { useCallback, useId, useMemo } from "react";
|
|
3
|
+
import { Input } from "../../../ui/components/index.js";
|
|
4
|
+
import { sharedValueTransformers } from "../../lib/shared-value-transformers.js";
|
|
5
|
+
import { cn } from "../../lib/utils.js";
|
|
6
|
+
import { FormDescription, FormGroup, FormLabel, FormMessageList, } from "../fragments/index.js";
|
|
7
|
+
import ValueTransformer from "../fragments/value-transformer/index.js";
|
|
8
|
+
import UrlFavicon from "./url-favicon.js";
|
|
9
|
+
import { useURLWarnings } from "./useURLWarnings.js";
|
|
10
|
+
const UrlInput = React.forwardRef(({ label, description, showWarnings = true, warnings: warningsProp, errors, platformIcons, value, onBlur, ...props }, ref) => {
|
|
11
|
+
const idGenerated = useId();
|
|
12
|
+
const id = props.id ?? idGenerated;
|
|
13
|
+
const hasError = !!errors?.length;
|
|
14
|
+
const { warnings, checkForWarnings } = useURLWarnings(value ?? "");
|
|
15
|
+
const showIcon = Object.keys(platformIcons ?? {}).length > 0;
|
|
16
|
+
const combinedWarnings = useMemo(() => {
|
|
17
|
+
return [...(warningsProp ?? []), ...warnings];
|
|
18
|
+
}, [warningsProp, warnings]);
|
|
19
|
+
const handleBlur = useCallback((event) => {
|
|
20
|
+
checkForWarnings();
|
|
21
|
+
onBlur?.(event);
|
|
22
|
+
}, [checkForWarnings, onBlur]);
|
|
23
|
+
const handleWarningsOnEnter = useCallback((event) => {
|
|
24
|
+
if (event.key === "Enter") {
|
|
25
|
+
checkForWarnings();
|
|
26
|
+
}
|
|
27
|
+
}, [checkForWarnings]);
|
|
28
|
+
// prevent url from having trailing spaces
|
|
29
|
+
const transformers = useMemo(() => [sharedValueTransformers.trimOnBlur()], []);
|
|
30
|
+
return (_jsxs(FormGroup, { children: [_jsx(FormLabel, { htmlFor: id, required: props.required, disabled: props.disabled, hasError: !!errors?.length, children: label }), _jsxs("div", { className: "relative", children: [_jsx(ValueTransformer, { transformers: transformers, children: _jsx(Input, { id: id, ref: ref, type: "url", ...props, value: value ?? "", onBlur: handleBlur, onKeyDown: handleWarningsOnEnter, "aria-invalid": hasError, className: cn(showIcon && "pl-8"), "data-cast": "URLTrim" }) }), _jsx(UrlFavicon, { url: value ?? "", platformIcons: platformIcons })] }), description && _jsx(FormDescription, { children: description }), showWarnings && combinedWarnings.length > 0 && (_jsx(FormMessageList, { messages: combinedWarnings, type: "warning" })), errors && _jsx(FormMessageList, { messages: errors, type: "error" })] }));
|
|
31
|
+
});
|
|
32
|
+
UrlInput.displayName = "UrlInput";
|
|
33
|
+
export { UrlInput };
|
|
34
|
+
//# sourceMappingURL=url-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-input.js","sourceRoot":"","sources":["../../../../../src/scalars/components/url-field/url-input.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AACxC,OAAO,EACL,eAAe,EACf,SAAS,EACT,SAAS,EACT,eAAe,GAChB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AAEvE,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAerD,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAC/B,CACE,EACE,KAAK,EACL,WAAW,EACX,YAAY,GAAG,IAAI,EACnB,QAAQ,EAAE,YAAY,EACtB,MAAM,EACN,aAAa,EACb,KAAK,EACL,MAAM,EAEN,GAAG,KAAK,EACT,EACD,GAAG,EACH,EAAE;IACF,MAAM,WAAW,GAAG,KAAK,EAAE,CAAC;IAC5B,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,IAAI,WAAW,CAAC;IACnC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE,QAAQ,EAAE,gBAAgB,EAAE,GAAG,cAAc,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;IACnE,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;IAE7D,MAAM,gBAAgB,GAAG,OAAO,CAAC,GAAG,EAAE;QACpC,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,EAAE,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC;IAChD,CAAC,EAAE,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC,CAAC;IAE7B,MAAM,UAAU,GAAG,WAAW,CAC5B,CAAC,KAAyC,EAAE,EAAE;QAC5C,gBAAgB,EAAE,CAAC;QACnB,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC,EACD,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAC3B,CAAC;IAEF,MAAM,qBAAqB,GAAG,WAAW,CACvC,CAAC,KAA4C,EAAE,EAAE;QAC/C,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,EAAE,CAAC;YAC1B,gBAAgB,EAAE,CAAC;QACrB,CAAC;IACH,CAAC,EACD,CAAC,gBAAgB,CAAC,CACnB,CAAC;IAEF,0CAA0C;IAC1C,MAAM,YAAY,GAAG,OAAO,CAC1B,GAAG,EAAE,CAAC,CAAC,uBAAuB,CAAC,UAAU,EAAE,CAAC,EAC5C,EAAE,CACH,CAAC;IAEF,OAAO,CACL,MAAC,SAAS,eACR,KAAC,SAAS,IACR,OAAO,EAAE,EAAE,EACX,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,YAEzB,KAAK,GACI,EACZ,eAAK,SAAS,EAAC,UAAU,aACvB,KAAC,gBAAgB,IAAC,YAAY,EAAE,YAAY,YAC1C,KAAC,KAAK,IACJ,EAAE,EAAE,EAAE,EACN,GAAG,EAAE,GAAG,EACR,IAAI,EAAC,KAAK,KACN,KAAK,EACT,KAAK,EAAE,KAAK,IAAI,EAAE,EAClB,MAAM,EAAE,UAAU,EAClB,SAAS,EAAE,qBAAqB,kBAClB,QAAQ,EACtB,SAAS,EAAE,EAAE,CAAC,QAAQ,IAAI,MAAM,CAAC,eACvB,SAAS,GACnB,GACe,EACnB,KAAC,UAAU,IAAC,GAAG,EAAE,KAAK,IAAI,EAAE,EAAE,aAAa,EAAE,aAAa,GAAI,IAC1D,EACL,WAAW,IAAI,KAAC,eAAe,cAAE,WAAW,GAAmB,EAC/D,YAAY,IAAI,gBAAgB,CAAC,MAAM,GAAG,CAAC,IAAI,CAC9C,KAAC,eAAe,IAAC,QAAQ,EAAE,gBAAgB,EAAE,IAAI,EAAC,SAAS,GAAG,CAC/D,EACA,MAAM,IAAI,KAAC,eAAe,IAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAC,OAAO,GAAG,IACnD,CACb,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAC;AAElC,OAAO,EAAE,QAAQ,EAAyC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useURLWarnings.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/url-field/useURLWarnings.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM;;;CAkF3C,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { useCallback, useEffect, useState } from "react";
|
|
2
|
+
export const useURLWarnings = (value) => {
|
|
3
|
+
const [warnings, setWarnings] = useState([]);
|
|
4
|
+
const checkForWarnings = useCallback(() => {
|
|
5
|
+
const detectedWarnings = [];
|
|
6
|
+
try {
|
|
7
|
+
const url = new URL(value);
|
|
8
|
+
// check for unencoded spaces in the URL
|
|
9
|
+
if (value.trim().includes(" ")) {
|
|
10
|
+
detectedWarnings.push("Using unencoded spaces in the URL");
|
|
11
|
+
}
|
|
12
|
+
// check for double slashes in the URL
|
|
13
|
+
if (value.indexOf("//") !== value.lastIndexOf("//")) {
|
|
14
|
+
detectedWarnings.push("Using double slashes in the URL");
|
|
15
|
+
}
|
|
16
|
+
// check for backslashes in the URL
|
|
17
|
+
if (value.includes("\\")) {
|
|
18
|
+
detectedWarnings.push("Using backslashes in the URL");
|
|
19
|
+
}
|
|
20
|
+
// using ? character twice in the URL
|
|
21
|
+
if (value.indexOf("?") !== value.lastIndexOf("?")) {
|
|
22
|
+
detectedWarnings.push("Using ? character twice in the URL");
|
|
23
|
+
}
|
|
24
|
+
// using # character twice in the URL
|
|
25
|
+
if (value.indexOf("#") !== value.lastIndexOf("#")) {
|
|
26
|
+
detectedWarnings.push("Using # character twice in the URL");
|
|
27
|
+
}
|
|
28
|
+
// end with ... maybe it was truncated
|
|
29
|
+
if (value.endsWith("...")) {
|
|
30
|
+
detectedWarnings.push("URL may be truncated");
|
|
31
|
+
}
|
|
32
|
+
// check for incorrect tld
|
|
33
|
+
const tld = url.hostname.split(".").pop();
|
|
34
|
+
if ([
|
|
35
|
+
"con",
|
|
36
|
+
"comm",
|
|
37
|
+
"comn",
|
|
38
|
+
"cmo",
|
|
39
|
+
"copm",
|
|
40
|
+
"om",
|
|
41
|
+
"ccom",
|
|
42
|
+
"con",
|
|
43
|
+
"nett",
|
|
44
|
+
"orgg",
|
|
45
|
+
].includes(tld)) {
|
|
46
|
+
detectedWarnings.push("URL may have incorrect top-level domain (TLD)");
|
|
47
|
+
}
|
|
48
|
+
// the user probably forgot the ".""
|
|
49
|
+
if (url.hostname.endsWith("com") && tld.length > 3) {
|
|
50
|
+
detectedWarnings.push("URL may be missing the '.' before the .com");
|
|
51
|
+
}
|
|
52
|
+
setWarnings(detectedWarnings);
|
|
53
|
+
}
|
|
54
|
+
catch {
|
|
55
|
+
// the url is not valid so we don't check for warnings
|
|
56
|
+
}
|
|
57
|
+
}, [value]);
|
|
58
|
+
// reset warnings when the value is empty or not a valid url
|
|
59
|
+
useEffect(() => {
|
|
60
|
+
if (warnings.length === 0)
|
|
61
|
+
return;
|
|
62
|
+
if (value === "") {
|
|
63
|
+
setWarnings([]);
|
|
64
|
+
}
|
|
65
|
+
try {
|
|
66
|
+
new URL(value);
|
|
67
|
+
}
|
|
68
|
+
catch {
|
|
69
|
+
setWarnings([]);
|
|
70
|
+
}
|
|
71
|
+
}, [value, checkForWarnings]);
|
|
72
|
+
return {
|
|
73
|
+
warnings,
|
|
74
|
+
checkForWarnings,
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=useURLWarnings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useURLWarnings.js","sourceRoot":"","sources":["../../../../../src/scalars/components/url-field/useURLWarnings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAa,EAAE,EAAE;IAC9C,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAW,EAAE,CAAC,CAAC;IAEvD,MAAM,gBAAgB,GAAG,WAAW,CAAC,GAAG,EAAE;QACxC,MAAM,gBAAgB,GAAa,EAAE,CAAC;QAEtC,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC;YAC3B,wCAAwC;YACxC,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC/B,gBAAgB,CAAC,IAAI,CAAC,mCAAmC,CAAC,CAAC;YAC7D,CAAC;YACD,sCAAsC;YACtC,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;gBACpD,gBAAgB,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;YAC3D,CAAC;YACD,mCAAmC;YACnC,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;gBACzB,gBAAgB,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;YACxD,CAAC;YACD,qCAAqC;YACrC,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC;gBAClD,gBAAgB,CAAC,IAAI,CAAC,oCAAoC,CAAC,CAAC;YAC9D,CAAC;YACD,qCAAqC;YACrC,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC;gBAClD,gBAAgB,CAAC,IAAI,CAAC,oCAAoC,CAAC,CAAC;YAC9D,CAAC;YACD,sCAAsC;YACtC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC1B,gBAAgB,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;YAChD,CAAC;YAED,0BAA0B;YAC1B,MAAM,GAAG,GAAG,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAG,CAAC;YAC3C,IACE;gBACE,KAAK;gBACL,MAAM;gBACN,MAAM;gBACN,KAAK;gBACL,MAAM;gBACN,IAAI;gBACJ,MAAM;gBACN,KAAK;gBACL,MAAM;gBACN,MAAM;aACP,CAAC,QAAQ,CAAC,GAAG,CAAC,EACf,CAAC;gBACD,gBAAgB,CAAC,IAAI,CAAC,+CAA+C,CAAC,CAAC;YACzE,CAAC;YAED,oCAAoC;YACpC,IAAI,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACnD,gBAAgB,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC;YACtE,CAAC;YAED,WAAW,CAAC,gBAAgB,CAAC,CAAC;QAChC,CAAC;QAAC,MAAM,CAAC;YACP,sDAAsD;QACxD,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,4DAA4D;IAC5D,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO;QAElC,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;YACjB,WAAW,CAAC,EAAE,CAAC,CAAC;QAClB,CAAC;QAED,IAAI,CAAC;YACH,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC;QACjB,CAAC;QAAC,MAAM,CAAC;YACP,WAAW,CAAC,EAAE,CAAC,CAAC;QAClB,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAE9B,OAAO;QACL,QAAQ;QACR,gBAAgB;KACjB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { GraphQLScalarType, type GraphQLScalarTypeConfig } from "graphql";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export type Amount = {
|
|
4
|
+
unit?: string;
|
|
5
|
+
value: number;
|
|
6
|
+
};
|
|
7
|
+
export type ScalarType = {
|
|
8
|
+
input: Amount;
|
|
9
|
+
output: Amount;
|
|
10
|
+
};
|
|
11
|
+
export declare const type = "{ unit?: string, value?: number }";
|
|
12
|
+
export declare const typedef = "scalar Amount";
|
|
13
|
+
export declare const schema: z.ZodObject<{
|
|
14
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
15
|
+
value: z.ZodNumber;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
value: number;
|
|
18
|
+
unit?: string | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
value: number;
|
|
21
|
+
unit?: string | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
export declare const stringSchema = "z.object({ unit: z.string().optional(), value: z.number().finite() })";
|
|
24
|
+
export declare const config: GraphQLScalarTypeConfig<Amount, Amount>;
|
|
25
|
+
export declare const scalar: GraphQLScalarType<Amount, Amount>;
|
|
26
|
+
//# sourceMappingURL=Amount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Amount.d.ts","sourceRoot":"","sources":["../../../../src/scalars/graphql/Amount.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EACjB,KAAK,uBAAuB,EAG7B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,MAAM,GAAG;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,IAAI,sCAAsC,CAAC;AAExD,eAAO,MAAM,OAAO,kBAAkB,CAAC;AAEvC,eAAO,MAAM,MAAM;;;;;;;;;EAGjB,CAAC;AAEH,eAAO,MAAM,YAAY,0EACgD,CAAC;AAa1E,eAAO,MAAM,MAAM,EAAE,uBAAuB,CAAC,MAAM,EAAE,MAAM,CAiC1D,CAAC;AAEF,eAAO,MAAM,MAAM,mCAAgC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { GraphQLError, GraphQLScalarType, Kind, } from "graphql";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export const type = "{ unit?: string, value?: number }";
|
|
4
|
+
export const typedef = "scalar Amount";
|
|
5
|
+
export const schema = z.object({
|
|
6
|
+
unit: z.string().optional(),
|
|
7
|
+
value: z.number().finite(),
|
|
8
|
+
});
|
|
9
|
+
export const stringSchema = "z.object({ unit: z.string().optional(), value: z.number().finite() })";
|
|
10
|
+
const amountValidation = (value) => {
|
|
11
|
+
if (typeof value !== "object" || !value) {
|
|
12
|
+
throw new GraphQLError(`Invalid Amount value: ${JSON.stringify(value)}`);
|
|
13
|
+
}
|
|
14
|
+
const result = schema.safeParse(value);
|
|
15
|
+
if (result.success)
|
|
16
|
+
return result.data;
|
|
17
|
+
throw new GraphQLError(result.error.message);
|
|
18
|
+
};
|
|
19
|
+
export const config = {
|
|
20
|
+
name: "Amount",
|
|
21
|
+
description: "A custom scalar that represents a currency amount with its currency type",
|
|
22
|
+
serialize: amountValidation,
|
|
23
|
+
parseValue: amountValidation,
|
|
24
|
+
parseLiteral: (ast) => {
|
|
25
|
+
if (ast.kind !== Kind.OBJECT) {
|
|
26
|
+
throw new GraphQLError("Value must be an object", { nodes: ast });
|
|
27
|
+
}
|
|
28
|
+
const unitField = ast.fields.find((f) => f.name.value === "unit");
|
|
29
|
+
const valueField = ast.fields.find((f) => f.name.value === "value");
|
|
30
|
+
if (unitField && unitField.value.kind !== Kind.STRING) {
|
|
31
|
+
throw new GraphQLError("unit must be a valid string value", {
|
|
32
|
+
nodes: ast,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
if (!valueField || valueField.value.kind !== Kind.FLOAT) {
|
|
36
|
+
throw new GraphQLError("value must be a valid float value", {
|
|
37
|
+
nodes: ast,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
const value = {
|
|
41
|
+
unit: unitField?.value?.value,
|
|
42
|
+
value: parseFloat(valueField.value.value),
|
|
43
|
+
};
|
|
44
|
+
return amountValidation(value);
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
export const scalar = new GraphQLScalarType(config);
|
|
48
|
+
//# sourceMappingURL=Amount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Amount.js","sourceRoot":"","sources":["../../../../src/scalars/graphql/Amount.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,iBAAiB,EAEjB,IAAI,GAEL,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,MAAM,CAAC,MAAM,IAAI,GAAG,mCAAmC,CAAC;AAExD,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC;AAEvC,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GACvB,uEAAuE,CAAC;AAE1E,MAAM,gBAAgB,GAAG,CAAC,KAAc,EAAU,EAAE;IAClD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,EAAE,CAAC;QACxC,MAAM,IAAI,YAAY,CAAC,yBAAyB,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAEvC,IAAI,MAAM,CAAC,OAAO;QAAE,OAAO,MAAM,CAAC,IAAI,CAAC;IACvC,MAAM,IAAI,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAA4C;IAC7D,IAAI,EAAE,QAAQ;IACd,WAAW,EACT,0EAA0E;IAC5E,SAAS,EAAE,gBAAgB;IAC3B,UAAU,EAAE,gBAAgB;IAC5B,YAAY,EAAE,CAAC,GAAG,EAAE,EAAE;QACpB,IAAI,GAAG,CAAC,IAAI,KAAK,IAAI,CAAC,MAAM,EAAE,CAAC;YAC7B,MAAM,IAAI,YAAY,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC;QACpE,CAAC;QAED,MAAM,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,MAAM,CAAC,CAAC;QAClE,MAAM,UAAU,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,OAAO,CAAC,CAAC;QAEpE,IAAI,SAAS,IAAI,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,MAAM,EAAE,CAAC;YACtD,MAAM,IAAI,YAAY,CAAC,mCAAmC,EAAE;gBAC1D,KAAK,EAAE,GAAG;aACX,CAAC,CAAC;QACL,CAAC;QAED,IAAI,CAAC,UAAU,IAAI,UAAU,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,EAAE,CAAC;YACxD,MAAM,IAAI,YAAY,CAAC,mCAAmC,EAAE;gBAC1D,KAAK,EAAE,GAAG;aACX,CAAC,CAAC;QACL,CAAC;QAED,MAAM,KAAK,GAAG;YACZ,IAAI,EAAG,SAAS,EAAE,KAAqC,EAAE,KAAK;YAC9D,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC;SAC1C,CAAC;QAEF,OAAO,gBAAgB,CAAC,KAAK,CAAC,CAAC;IACjC,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { GraphQLScalarType, type GraphQLScalarTypeConfig } from "graphql";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export type SupportedCrypto = string;
|
|
4
|
+
export type AmountCrypto = {
|
|
5
|
+
unit: SupportedCrypto;
|
|
6
|
+
value: number;
|
|
7
|
+
};
|
|
8
|
+
export type ScalarType = {
|
|
9
|
+
input: AmountCrypto;
|
|
10
|
+
output: AmountCrypto;
|
|
11
|
+
};
|
|
12
|
+
export declare const type = "{ unit: string, value: number }";
|
|
13
|
+
export declare const typedef = "scalar Amount_Crypto";
|
|
14
|
+
export declare const schema: z.ZodObject<{
|
|
15
|
+
unit: z.ZodString;
|
|
16
|
+
value: z.ZodNumber;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
value: number;
|
|
19
|
+
unit: string;
|
|
20
|
+
}, {
|
|
21
|
+
value: number;
|
|
22
|
+
unit: string;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const stringSchema = "z.object({ unit: z.string(), value: z.number().finite() })";
|
|
25
|
+
export declare const config: GraphQLScalarTypeConfig<AmountCrypto, AmountCrypto>;
|
|
26
|
+
export declare const scalar: GraphQLScalarType<AmountCrypto, AmountCrypto>;
|
|
27
|
+
//# sourceMappingURL=AmountCrypto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AmountCrypto.d.ts","sourceRoot":"","sources":["../../../../src/scalars/graphql/AmountCrypto.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EACjB,KAAK,uBAAuB,EAE7B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC;AAErC,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,YAAY,CAAC;IACpB,MAAM,EAAE,YAAY,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,IAAI,oCAAoC,CAAC;AAEtD,eAAO,MAAM,OAAO,yBAAyB,CAAC;AAE9C,eAAO,MAAM,MAAM;;;;;;;;;EAGjB,CAAC;AAEH,eAAO,MAAM,YAAY,+DACqC,CAAC;AAe/D,eAAO,MAAM,MAAM,EAAE,uBAAuB,CAAC,YAAY,EAAE,YAAY,CAiCtE,CAAC;AAEF,eAAO,MAAM,MAAM,+CAAgC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { GraphQLError, GraphQLScalarType, Kind, } from "graphql";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export const type = "{ unit: string, value: number }";
|
|
4
|
+
export const typedef = "scalar Amount_Crypto";
|
|
5
|
+
export const schema = z.object({
|
|
6
|
+
unit: z.string(),
|
|
7
|
+
value: z.number().finite(),
|
|
8
|
+
});
|
|
9
|
+
export const stringSchema = "z.object({ unit: z.string(), value: z.number().finite() })";
|
|
10
|
+
const amountCryptoValidation = (value) => {
|
|
11
|
+
if (typeof value !== "object" || !value) {
|
|
12
|
+
throw new GraphQLError(`Invalid Amount Crypto value: ${JSON.stringify(value)}`);
|
|
13
|
+
}
|
|
14
|
+
const result = schema.safeParse(value);
|
|
15
|
+
if (result.success)
|
|
16
|
+
return result.data;
|
|
17
|
+
throw new GraphQLError(result.error.message);
|
|
18
|
+
};
|
|
19
|
+
export const config = {
|
|
20
|
+
name: "Amount_Crypto",
|
|
21
|
+
description: "A custom scalar that represents a cryptocurrency amount with its currency type",
|
|
22
|
+
serialize: amountCryptoValidation,
|
|
23
|
+
parseValue: amountCryptoValidation,
|
|
24
|
+
parseLiteral: (ast) => {
|
|
25
|
+
if (ast.kind !== Kind.OBJECT) {
|
|
26
|
+
throw new GraphQLError("Value must be an object", { nodes: ast });
|
|
27
|
+
}
|
|
28
|
+
const unitField = ast.fields.find((f) => f.name.value === "unit");
|
|
29
|
+
const valueField = ast.fields.find((f) => f.name.value === "value");
|
|
30
|
+
if (!unitField || unitField.value.kind !== Kind.STRING) {
|
|
31
|
+
throw new GraphQLError("unit must be a valid string value", {
|
|
32
|
+
nodes: ast,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
if (!valueField || valueField.value.kind !== Kind.FLOAT) {
|
|
36
|
+
throw new GraphQLError("value must be a valid float value", {
|
|
37
|
+
nodes: ast,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
const value = {
|
|
41
|
+
unit: unitField.value.value,
|
|
42
|
+
value: parseFloat(valueField.value.value),
|
|
43
|
+
};
|
|
44
|
+
return amountCryptoValidation(value);
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
export const scalar = new GraphQLScalarType(config);
|
|
48
|
+
//# sourceMappingURL=AmountCrypto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AmountCrypto.js","sourceRoot":"","sources":["../../../../src/scalars/graphql/AmountCrypto.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,iBAAiB,EAEjB,IAAI,GACL,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,MAAM,CAAC,MAAM,IAAI,GAAG,iCAAiC,CAAC;AAEtD,MAAM,CAAC,MAAM,OAAO,GAAG,sBAAsB,CAAC;AAE9C,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GACvB,4DAA4D,CAAC;AAE/D,MAAM,sBAAsB,GAAG,CAAC,KAAc,EAAgB,EAAE;IAC9D,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,EAAE,CAAC;QACxC,MAAM,IAAI,YAAY,CACpB,gCAAgC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CACxD,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAEvC,IAAI,MAAM,CAAC,OAAO;QAAE,OAAO,MAAM,CAAC,IAAI,CAAC;IACvC,MAAM,IAAI,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAwD;IACzE,IAAI,EAAE,eAAe;IACrB,WAAW,EACT,gFAAgF;IAClF,SAAS,EAAE,sBAAsB;IACjC,UAAU,EAAE,sBAAsB;IAClC,YAAY,EAAE,CAAC,GAAG,EAAE,EAAE;QACpB,IAAI,GAAG,CAAC,IAAI,KAAK,IAAI,CAAC,MAAM,EAAE,CAAC;YAC7B,MAAM,IAAI,YAAY,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC;QACpE,CAAC;QAED,MAAM,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,MAAM,CAAC,CAAC;QAClE,MAAM,UAAU,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,OAAO,CAAC,CAAC;QAEpE,IAAI,CAAC,SAAS,IAAI,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,MAAM,EAAE,CAAC;YACvD,MAAM,IAAI,YAAY,CAAC,mCAAmC,EAAE;gBAC1D,KAAK,EAAE,GAAG;aACX,CAAC,CAAC;QACL,CAAC;QAED,IAAI,CAAC,UAAU,IAAI,UAAU,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,EAAE,CAAC;YACxD,MAAM,IAAI,YAAY,CAAC,mCAAmC,EAAE;gBAC1D,KAAK,EAAE,GAAG;aACX,CAAC,CAAC;QACL,CAAC;QAED,MAAM,KAAK,GAAG;YACZ,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,KAAK;YAC3B,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC;SAC1C,CAAC;QAEF,OAAO,sBAAsB,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { GraphQLScalarType, type GraphQLScalarTypeConfig } from "graphql";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export type SupportedCurrency = string;
|
|
4
|
+
export type AmountCurrency = {
|
|
5
|
+
unit: SupportedCurrency;
|
|
6
|
+
value: number;
|
|
7
|
+
};
|
|
8
|
+
export type ScalarType = {
|
|
9
|
+
input: AmountCurrency;
|
|
10
|
+
output: AmountCurrency;
|
|
11
|
+
};
|
|
12
|
+
export declare const type = "{ unit: string, value: number }";
|
|
13
|
+
export declare const typedef = "scalar Amount_Currency";
|
|
14
|
+
export declare const schema: z.ZodObject<{
|
|
15
|
+
unit: z.ZodString;
|
|
16
|
+
value: z.ZodNumber;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
value: number;
|
|
19
|
+
unit: string;
|
|
20
|
+
}, {
|
|
21
|
+
value: number;
|
|
22
|
+
unit: string;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const stringSchema = "z.object({ unit: z.string(), value: z.number().finite() })";
|
|
25
|
+
export declare const config: GraphQLScalarTypeConfig<AmountCurrency, AmountCurrency>;
|
|
26
|
+
export declare const scalar: GraphQLScalarType<AmountCurrency, AmountCurrency>;
|
|
27
|
+
//# sourceMappingURL=AmountCurrency.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AmountCurrency.d.ts","sourceRoot":"","sources":["../../../../src/scalars/graphql/AmountCurrency.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EACjB,KAAK,uBAAuB,EAE7B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC;AAEvC,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,iBAAiB,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,cAAc,CAAC;IACtB,MAAM,EAAE,cAAc,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,IAAI,oCAAoC,CAAC;AAEtD,eAAO,MAAM,OAAO,2BAA2B,CAAC;AAEhD,eAAO,MAAM,MAAM;;;;;;;;;EAGjB,CAAC;AAEH,eAAO,MAAM,YAAY,+DACqC,CAAC;AAe/D,eAAO,MAAM,MAAM,EAAE,uBAAuB,CAAC,cAAc,EAAE,cAAc,CAiC1E,CAAC;AAEF,eAAO,MAAM,MAAM,mDAAgC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { GraphQLError, GraphQLScalarType, Kind, } from "graphql";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export const type = "{ unit: string, value: number }";
|
|
4
|
+
export const typedef = "scalar Amount_Currency";
|
|
5
|
+
export const schema = z.object({
|
|
6
|
+
unit: z.string(),
|
|
7
|
+
value: z.number().finite(),
|
|
8
|
+
});
|
|
9
|
+
export const stringSchema = "z.object({ unit: z.string(), value: z.number().finite() })";
|
|
10
|
+
const amountCurrencyValidation = (value) => {
|
|
11
|
+
if (typeof value !== "object" || !value) {
|
|
12
|
+
throw new GraphQLError(`Invalid Amount Currency value: ${JSON.stringify(value)}`);
|
|
13
|
+
}
|
|
14
|
+
const result = schema.safeParse(value);
|
|
15
|
+
if (result.success)
|
|
16
|
+
return result.data;
|
|
17
|
+
throw new GraphQLError(result.error.message);
|
|
18
|
+
};
|
|
19
|
+
export const config = {
|
|
20
|
+
name: "Amount_Currency",
|
|
21
|
+
description: "A custom scalar that represents a currency amount with its currency type",
|
|
22
|
+
serialize: amountCurrencyValidation,
|
|
23
|
+
parseValue: amountCurrencyValidation,
|
|
24
|
+
parseLiteral: (ast) => {
|
|
25
|
+
if (ast.kind !== Kind.OBJECT) {
|
|
26
|
+
throw new GraphQLError("Value must be an object", { nodes: ast });
|
|
27
|
+
}
|
|
28
|
+
const unitField = ast.fields.find((f) => f.name.value === "unit");
|
|
29
|
+
const valueField = ast.fields.find((f) => f.name.value === "value");
|
|
30
|
+
if (!unitField || unitField.value.kind !== Kind.STRING) {
|
|
31
|
+
throw new GraphQLError("unit must be a valid string value", {
|
|
32
|
+
nodes: ast,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
if (!valueField || valueField.value.kind !== Kind.FLOAT) {
|
|
36
|
+
throw new GraphQLError("value must be a valid float value", {
|
|
37
|
+
nodes: ast,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
const value = {
|
|
41
|
+
unit: unitField.value.value,
|
|
42
|
+
value: parseFloat(valueField.value.value),
|
|
43
|
+
};
|
|
44
|
+
return amountCurrencyValidation(value);
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
export const scalar = new GraphQLScalarType(config);
|
|
48
|
+
//# sourceMappingURL=AmountCurrency.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AmountCurrency.js","sourceRoot":"","sources":["../../../../src/scalars/graphql/AmountCurrency.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,iBAAiB,EAEjB,IAAI,GACL,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,MAAM,CAAC,MAAM,IAAI,GAAG,iCAAiC,CAAC;AAEtD,MAAM,CAAC,MAAM,OAAO,GAAG,wBAAwB,CAAC;AAEhD,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GACvB,4DAA4D,CAAC;AAE/D,MAAM,wBAAwB,GAAG,CAAC,KAAc,EAAkB,EAAE;IAClE,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,EAAE,CAAC;QACxC,MAAM,IAAI,YAAY,CACpB,kCAAkC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAC1D,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAEvC,IAAI,MAAM,CAAC,OAAO;QAAE,OAAO,MAAM,CAAC,IAAI,CAAC;IACvC,MAAM,IAAI,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAA4D;IAC7E,IAAI,EAAE,iBAAiB;IACvB,WAAW,EACT,0EAA0E;IAC5E,SAAS,EAAE,wBAAwB;IACnC,UAAU,EAAE,wBAAwB;IACpC,YAAY,EAAE,CAAC,GAAG,EAAE,EAAE;QACpB,IAAI,GAAG,CAAC,IAAI,KAAK,IAAI,CAAC,MAAM,EAAE,CAAC;YAC7B,MAAM,IAAI,YAAY,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC;QACpE,CAAC;QAED,MAAM,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,MAAM,CAAC,CAAC;QAClE,MAAM,UAAU,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,OAAO,CAAC,CAAC;QAEpE,IAAI,CAAC,SAAS,IAAI,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,MAAM,EAAE,CAAC;YACvD,MAAM,IAAI,YAAY,CAAC,mCAAmC,EAAE;gBAC1D,KAAK,EAAE,GAAG;aACX,CAAC,CAAC;QACL,CAAC;QAED,IAAI,CAAC,UAAU,IAAI,UAAU,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,EAAE,CAAC;YACxD,MAAM,IAAI,YAAY,CAAC,mCAAmC,EAAE;gBAC1D,KAAK,EAAE,GAAG;aACX,CAAC,CAAC;QACL,CAAC;QAED,MAAM,KAAK,GAAG;YACZ,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,KAAK;YAC3B,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC;SAC1C,CAAC;QAEF,OAAO,wBAAwB,CAAC,KAAK,CAAC,CAAC;IACzC,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { GraphQLScalarType, type GraphQLScalarTypeConfig } from "graphql";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export type SupportedFiat = string;
|
|
4
|
+
export type AmountFiat = {
|
|
5
|
+
unit: SupportedFiat;
|
|
6
|
+
value: number;
|
|
7
|
+
};
|
|
8
|
+
export type ScalarType = {
|
|
9
|
+
input: AmountFiat;
|
|
10
|
+
output: AmountFiat;
|
|
11
|
+
};
|
|
12
|
+
export declare const type = "{ unit: string, value: number }";
|
|
13
|
+
export declare const typedef = "scalar Amount_Fiat";
|
|
14
|
+
export declare const schema: z.ZodObject<{
|
|
15
|
+
unit: z.ZodString;
|
|
16
|
+
value: z.ZodNumber;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
value: number;
|
|
19
|
+
unit: string;
|
|
20
|
+
}, {
|
|
21
|
+
value: number;
|
|
22
|
+
unit: string;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const stringSchema = "z.object({ unit: z.string(), value: z.number().finite() })";
|
|
25
|
+
export declare const config: GraphQLScalarTypeConfig<AmountFiat, AmountFiat>;
|
|
26
|
+
export declare const scalar: GraphQLScalarType<AmountFiat, AmountFiat>;
|
|
27
|
+
//# sourceMappingURL=AmountFiat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AmountFiat.d.ts","sourceRoot":"","sources":["../../../../src/scalars/graphql/AmountFiat.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EACjB,KAAK,uBAAuB,EAE7B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC;AAEnC,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,UAAU,CAAC;IAClB,MAAM,EAAE,UAAU,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,IAAI,oCAAoC,CAAC;AAEtD,eAAO,MAAM,OAAO,uBAAuB,CAAC;AAE5C,eAAO,MAAM,MAAM;;;;;;;;;EAGjB,CAAC;AAEH,eAAO,MAAM,YAAY,+DACqC,CAAC;AAe/D,eAAO,MAAM,MAAM,EAAE,uBAAuB,CAAC,UAAU,EAAE,UAAU,CAiClE,CAAC;AAEF,eAAO,MAAM,MAAM,2CAAgC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { GraphQLError, GraphQLScalarType, Kind, } from "graphql";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export const type = "{ unit: string, value: number }";
|
|
4
|
+
export const typedef = "scalar Amount_Fiat";
|
|
5
|
+
export const schema = z.object({
|
|
6
|
+
unit: z.string(),
|
|
7
|
+
value: z.number().finite(),
|
|
8
|
+
});
|
|
9
|
+
export const stringSchema = "z.object({ unit: z.string(), value: z.number().finite() })";
|
|
10
|
+
const amountFiatValidation = (value) => {
|
|
11
|
+
if (typeof value !== "object" || !value) {
|
|
12
|
+
throw new GraphQLError(`Invalid Amount Fiat value: ${JSON.stringify(value)}`);
|
|
13
|
+
}
|
|
14
|
+
const result = schema.safeParse(value);
|
|
15
|
+
if (result.success)
|
|
16
|
+
return result.data;
|
|
17
|
+
throw new GraphQLError(result.error.message);
|
|
18
|
+
};
|
|
19
|
+
export const config = {
|
|
20
|
+
name: "Amount_Fiat",
|
|
21
|
+
description: "A custom scalar that represents a currency amount with its currency type",
|
|
22
|
+
serialize: amountFiatValidation,
|
|
23
|
+
parseValue: amountFiatValidation,
|
|
24
|
+
parseLiteral: (ast) => {
|
|
25
|
+
if (ast.kind !== Kind.OBJECT) {
|
|
26
|
+
throw new GraphQLError("Value must be an object", { nodes: ast });
|
|
27
|
+
}
|
|
28
|
+
const unitField = ast.fields.find((f) => f.name.value === "unit");
|
|
29
|
+
const valueField = ast.fields.find((f) => f.name.value === "value");
|
|
30
|
+
if (!unitField || unitField.value.kind !== Kind.STRING) {
|
|
31
|
+
throw new GraphQLError("unit must be a valid string value", {
|
|
32
|
+
nodes: ast,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
if (!valueField || valueField.value.kind !== Kind.FLOAT) {
|
|
36
|
+
throw new GraphQLError("value must be a valid float value", {
|
|
37
|
+
nodes: ast,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
const value = {
|
|
41
|
+
unit: unitField.value.value,
|
|
42
|
+
value: parseFloat(valueField.value.value),
|
|
43
|
+
};
|
|
44
|
+
return amountFiatValidation(value);
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
export const scalar = new GraphQLScalarType(config);
|
|
48
|
+
//# sourceMappingURL=AmountFiat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AmountFiat.js","sourceRoot":"","sources":["../../../../src/scalars/graphql/AmountFiat.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,iBAAiB,EAEjB,IAAI,GACL,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,MAAM,CAAC,MAAM,IAAI,GAAG,iCAAiC,CAAC;AAEtD,MAAM,CAAC,MAAM,OAAO,GAAG,oBAAoB,CAAC;AAE5C,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GACvB,4DAA4D,CAAC;AAE/D,MAAM,oBAAoB,GAAG,CAAC,KAAc,EAAc,EAAE;IAC1D,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,EAAE,CAAC;QACxC,MAAM,IAAI,YAAY,CACpB,8BAA8B,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CACtD,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAEvC,IAAI,MAAM,CAAC,OAAO;QAAE,OAAO,MAAM,CAAC,IAAI,CAAC;IACvC,MAAM,IAAI,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAoD;IACrE,IAAI,EAAE,aAAa;IACnB,WAAW,EACT,0EAA0E;IAC5E,SAAS,EAAE,oBAAoB;IAC/B,UAAU,EAAE,oBAAoB;IAChC,YAAY,EAAE,CAAC,GAAG,EAAE,EAAE;QACpB,IAAI,GAAG,CAAC,IAAI,KAAK,IAAI,CAAC,MAAM,EAAE,CAAC;YAC7B,MAAM,IAAI,YAAY,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC;QACpE,CAAC;QAED,MAAM,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,MAAM,CAAC,CAAC;QAClE,MAAM,UAAU,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,OAAO,CAAC,CAAC;QAEpE,IAAI,CAAC,SAAS,IAAI,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,MAAM,EAAE,CAAC;YACvD,MAAM,IAAI,YAAY,CAAC,mCAAmC,EAAE;gBAC1D,KAAK,EAAE,GAAG;aACX,CAAC,CAAC;QACL,CAAC;QAED,IAAI,CAAC,UAAU,IAAI,UAAU,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,EAAE,CAAC;YACxD,MAAM,IAAI,YAAY,CAAC,mCAAmC,EAAE;gBAC1D,KAAK,EAAE,GAAG;aACX,CAAC,CAAC;QACL,CAAC;QAED,MAAM,KAAK,GAAG;YACZ,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,KAAK;YAC3B,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC;SAC1C,CAAC;QAEF,OAAO,oBAAoB,CAAC,KAAK,CAAC,CAAC;IACrC,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC"}
|