@powerhousedao/document-engineering 1.26.1 → 1.28.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/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/form-message/message-list.js +1 -1
- package/dist/src/scalars/components/fragments/form-message/message-list.js.map +1 -1
- package/dist/src/scalars/graphql/File.d.ts +2 -2
- package/dist/src/scalars/graphql/File.d.ts.map +1 -1
- package/dist/src/scalars/graphql/File.js +1 -1
- package/dist/src/scalars/graphql/File.js.map +1 -1
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/body.d.ts +1 -1
- package/dist/src/table/components/body.d.ts.map +1 -0
- package/dist/src/table/components/body.js.map +1 -0
- package/dist/src/table/components/cells/basic-cell.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/cells/basic-cell.js +1 -1
- package/dist/src/table/components/cells/basic-cell.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/cells/default-cell.d.ts +1 -0
- package/dist/src/table/components/cells/default-cell.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/cells/default-cell.js +3 -3
- package/dist/src/table/components/cells/default-cell.js.map +1 -0
- package/dist/src/table/components/cells/information-cell.d.ts +6 -0
- package/dist/src/table/components/cells/information-cell.d.ts.map +1 -0
- package/dist/src/table/components/cells/information-cell.js +12 -0
- package/dist/src/table/components/cells/information-cell.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/cells/render-cell/empty-cell.d.ts +1 -1
- package/dist/src/table/components/cells/render-cell/empty-cell.d.ts.map +1 -0
- package/dist/src/table/components/cells/render-cell/empty-cell.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/cells/render-cell/render-cell.d.ts +1 -1
- package/dist/src/table/components/cells/render-cell/render-cell.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/cells/render-cell/render-cell.js +8 -4
- package/dist/src/table/components/cells/render-cell/render-cell.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/cells/render-cell/use-cell-logic.d.ts +3 -2
- package/dist/src/table/components/cells/render-cell/use-cell-logic.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/cells/render-cell/use-cell-logic.js +8 -3
- package/dist/src/table/components/cells/render-cell/use-cell-logic.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/cells/row-number-cell.d.ts +1 -0
- package/dist/src/table/components/cells/row-number-cell.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/cells/row-number-cell.js +3 -3
- package/dist/src/table/components/cells/row-number-cell.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-editors/boolean-editor.d.ts +2 -2
- package/dist/src/table/components/default-cell-editors/boolean-editor.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-editors/boolean-editor.js +2 -2
- package/dist/src/table/components/default-cell-editors/boolean-editor.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-editors/get-cell-editor-fn.d.ts +1 -1
- package/dist/src/table/components/default-cell-editors/get-cell-editor-fn.d.ts.map +1 -0
- package/dist/src/table/components/default-cell-editors/get-cell-editor-fn.js.map +1 -0
- package/dist/src/table/components/default-cell-editors/index.d.ts.map +1 -0
- package/dist/src/table/components/default-cell-editors/index.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-editors/number-editor.d.ts +2 -2
- package/dist/src/table/components/default-cell-editors/number-editor.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-editors/number-editor.js +2 -2
- package/dist/src/table/components/default-cell-editors/number-editor.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-editors/string-editor.d.ts +2 -2
- package/dist/src/table/components/default-cell-editors/string-editor.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-editors/string-editor.js +1 -1
- package/dist/src/table/components/default-cell-editors/string-editor.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-renderers/boolean-render.d.ts +1 -1
- package/dist/src/table/components/default-cell-renderers/boolean-render.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-renderers/boolean-render.js +2 -2
- package/dist/src/table/components/default-cell-renderers/boolean-render.js.map +1 -0
- package/dist/src/table/components/default-cell-renderers/get-render-fn.d.ts +4 -0
- package/dist/src/table/components/default-cell-renderers/get-render-fn.d.ts.map +1 -0
- package/dist/src/table/components/default-cell-renderers/get-render-fn.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-renderers/number-render.d.ts +1 -1
- package/dist/src/table/components/default-cell-renderers/number-render.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-renderers/number-render.js +1 -1
- package/dist/src/table/components/default-cell-renderers/number-render.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-renderers/text-render.d.ts +1 -1
- package/dist/src/table/components/default-cell-renderers/text-render.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-renderers/text-render.js +1 -1
- package/dist/src/table/components/default-cell-renderers/text-render.js.map +1 -0
- package/dist/src/table/components/default-fns/default-cell-value-formatter.d.ts.map +1 -0
- package/dist/src/table/components/default-fns/default-cell-value-formatter.js.map +1 -0
- package/dist/src/table/components/default-fns/default-cell-value-getter.d.ts +4 -0
- package/dist/src/table/components/default-fns/default-cell-value-getter.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-fns/default-cell-value-getter.js +1 -1
- package/dist/src/table/components/default-fns/default-cell-value-getter.js.map +1 -0
- package/dist/src/table/components/default-fns/default-column-config.d.ts +4 -0
- package/dist/src/table/components/default-fns/default-column-config.d.ts.map +1 -0
- package/dist/src/table/components/default-fns/default-column-config.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-header-renderers/default-header-renderer.d.ts +1 -1
- package/dist/src/table/components/default-header-renderers/default-header-renderer.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-header-renderers/default-header-renderer.js +1 -1
- package/dist/src/table/components/default-header-renderers/default-header-renderer.js.map +1 -0
- package/dist/src/table/components/default-sort-columns/default-sort-fns.d.ts +3 -0
- package/dist/src/table/components/default-sort-columns/default-sort-fns.d.ts.map +1 -0
- package/dist/src/table/components/default-sort-columns/default-sort-fns.js.map +1 -0
- package/dist/src/table/components/header/header-cell.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/header/header-cell.js +1 -1
- package/dist/src/table/components/header/header-cell.js.map +1 -0
- package/dist/src/table/components/header/header-number-td.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/header/header-number-td.js +1 -1
- package/dist/src/table/components/header/header-number-td.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/header.d.ts +1 -1
- package/dist/src/table/components/header.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/header.js +2 -2
- package/dist/src/table/components/header.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/rows/render-row.d.ts +1 -1
- package/dist/src/table/components/rows/render-row.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/rows/render-row.js +23 -5
- package/dist/src/table/components/rows/render-row.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/rows/row-actions.d.ts +1 -1
- package/dist/src/table/components/rows/row-actions.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/rows/row-actions.js +3 -3
- package/dist/src/table/components/rows/row-actions.js.map +1 -0
- package/dist/src/table/components/rows/table-row.d.ts.map +1 -0
- package/dist/src/table/components/rows/table-row.js +15 -0
- package/dist/src/table/components/rows/table-row.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/sort-indicator.d.ts +1 -1
- package/dist/src/table/components/sort-indicator.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/sort-indicator.js +1 -1
- package/dist/src/table/components/sort-indicator.js.map +1 -0
- package/dist/src/table/components/table-focus-trap.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/table-focus-trap.js +1 -0
- package/dist/src/table/components/table-focus-trap.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/table-provider/table-provider.d.ts +1 -1
- package/dist/src/table/components/table-provider/table-provider.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/table-provider/table-provider.js +2 -1
- package/dist/src/table/components/table-provider/table-provider.js.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/table-provider/table-reducer.d.ts +7 -1
- package/dist/src/table/components/table-provider/table-reducer.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/table-provider/table-reducer.js +7 -1
- package/dist/src/table/components/table-provider/table-reducer.js.map +1 -0
- package/dist/src/table/examples/api-usage/api-usage.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table → table}/examples/api-usage/api-usage.js +5 -5
- package/dist/src/table/examples/api-usage/api-usage.js.map +1 -0
- package/dist/src/table/examples/api-usage/button.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table → table}/examples/api-usage/button.js +1 -1
- package/dist/src/table/examples/api-usage/button.js.map +1 -0
- package/dist/src/{ui/components/object-set-table → table}/examples/computed-columns/computed-columns.d.ts +2 -2
- package/dist/src/table/examples/computed-columns/computed-columns.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table → table}/examples/computed-columns/computed-columns.js +3 -3
- package/dist/src/table/examples/computed-columns/computed-columns.js.map +1 -0
- package/dist/src/{ui/components/object-set-table → table}/examples/custom-rendering/custom-rendering.d.ts +2 -2
- package/dist/src/table/examples/custom-rendering/custom-rendering.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table → table}/examples/custom-rendering/custom-rendering.js +5 -5
- package/dist/src/table/examples/custom-rendering/custom-rendering.js.map +1 -0
- package/dist/src/{ui/components/object-set-table → table}/examples/table-editing/table-editing.d.ts +2 -2
- package/dist/src/table/examples/table-editing/table-editing.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table → table}/examples/table-editing/table-editing.js +9 -7
- package/dist/src/table/examples/table-editing/table-editing.js.map +1 -0
- package/dist/src/table/hooks/useGlobalTableKeyEvents.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table → table}/hooks/useGlobalTableKeyEvents.js +2 -2
- package/dist/src/table/hooks/useGlobalTableKeyEvents.js.map +1 -0
- package/dist/src/table/index.d.ts +3 -0
- package/dist/src/table/index.d.ts.map +1 -0
- package/dist/src/table/index.js +2 -0
- package/dist/src/table/index.js.map +1 -0
- package/dist/src/table/logic/public-table-api.d.ts.map +1 -0
- package/dist/src/table/logic/public-table-api.js.map +1 -0
- package/dist/src/table/logic/selection-manager.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table → table}/logic/selection-manager.js +6 -2
- package/dist/src/table/logic/selection-manager.js.map +1 -0
- package/dist/src/{ui/components/object-set-table → table}/logic/table-api.d.ts +4 -2
- package/dist/src/table/logic/table-api.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table → table}/logic/table-api.js +52 -4
- package/dist/src/table/logic/table-api.js.map +1 -0
- package/dist/src/{ui/components/object-set-table → table}/logic/types.d.ts +4 -2
- package/dist/src/table/logic/types.d.ts.map +1 -0
- package/dist/src/table/logic/types.js.map +1 -0
- package/dist/src/table/table/index.d.ts +6 -0
- package/dist/src/table/table/index.d.ts.map +1 -0
- package/dist/src/table/table/index.js +6 -0
- package/dist/src/table/table/index.js.map +1 -0
- package/dist/src/table/table/mock-data.d.ts.map +1 -0
- package/dist/src/table/table/mock-data.js.map +1 -0
- package/dist/src/table/table/object-set-table.d.ts.map +1 -0
- package/dist/src/{ui/components/object-set-table → table/table}/object-set-table.js +12 -11
- package/dist/src/table/table/object-set-table.js.map +1 -0
- package/dist/src/{ui/components/object-set-table → table/table}/types.d.ts +1 -1
- package/dist/src/table/table/types.d.ts.map +1 -0
- package/dist/src/table/table/types.js.map +1 -0
- package/dist/src/table/table/utils.d.ts.map +1 -0
- package/dist/src/table/table/utils.js.map +1 -0
- package/dist/src/ui/components/data-entry/file-input/file-input.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/file-input/file-input.js +5 -18
- package/dist/src/ui/components/data-entry/file-input/file-input.js.map +1 -1
- package/dist/src/ui/components/data-entry/file-input/sub-components/file-upload-item.d.ts +2 -1
- package/dist/src/ui/components/data-entry/file-input/sub-components/file-upload-item.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/file-input/sub-components/file-upload-item.js +6 -2
- package/dist/src/ui/components/data-entry/file-input/sub-components/file-upload-item.js.map +1 -1
- package/dist/src/ui/components/data-entry/file-input/types.d.ts +1 -0
- package/dist/src/ui/components/data-entry/file-input/types.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/file-input/useUploadFile.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/file-input/useUploadFile.js.map +1 -1
- package/dist/src/ui/components/data-entry/file-input/utils.d.ts +1 -3
- package/dist/src/ui/components/data-entry/file-input/utils.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/file-input/utils.js +1 -15
- package/dist/src/ui/components/data-entry/file-input/utils.js.map +1 -1
- package/dist/src/ui/components/data-entry/text-input/text-input.js +1 -1
- package/dist/src/ui/components/data-entry/text-input/text-input.js.map +1 -1
- package/dist/src/ui/components/index.d.ts +0 -1
- package/dist/src/ui/components/index.d.ts.map +1 -1
- package/dist/src/ui/components/index.js +0 -2
- package/dist/src/ui/components/index.js.map +1 -1
- package/dist/style.css +34 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +6 -1
- package/dist/src/ui/components/object-set-table/examples/api-usage/api-usage.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/examples/api-usage/api-usage.js.map +0 -1
- package/dist/src/ui/components/object-set-table/examples/api-usage/button.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/examples/api-usage/button.js.map +0 -1
- package/dist/src/ui/components/object-set-table/examples/computed-columns/computed-columns.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/examples/computed-columns/computed-columns.js.map +0 -1
- package/dist/src/ui/components/object-set-table/examples/custom-rendering/custom-rendering.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/examples/custom-rendering/custom-rendering.js.map +0 -1
- package/dist/src/ui/components/object-set-table/examples/table-editing/table-editing.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/examples/table-editing/table-editing.js.map +0 -1
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js.map +0 -1
- package/dist/src/ui/components/object-set-table/index.d.ts +0 -6
- package/dist/src/ui/components/object-set-table/index.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/index.js +0 -6
- package/dist/src/ui/components/object-set-table/index.js.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/public-table-api.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/public-table-api.js.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/selection-manager.js.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/table-api.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/table-api.js.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/types.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/types.js.map +0 -1
- package/dist/src/ui/components/object-set-table/mock-data.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/mock-data.js.map +0 -1
- package/dist/src/ui/components/object-set-table/object-set-table.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/object-set-table.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/body.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js +0 -7
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/empty-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/empty-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/render-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/render-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/use-cell-logic.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/render-cell/use-cell-logic.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-editors/boolean-editor.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-editors/boolean-editor.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-editors/get-cell-editor-fn.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-editors/get-cell-editor-fn.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-editors/index.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-editors/index.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-editors/number-editor.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-editors/number-editor.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-editors/string-editor.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-editors/string-editor.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/boolean-render.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/boolean-render.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts +0 -4
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts +0 -4
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-column-config.d.ts +0 -4
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-column-config.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-column-config.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-header-renderers/default-header-renderer.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-header-renderers/default-header-renderer.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-sort-columns/default-sort-fns.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/subcomponents/default-sort-columns/default-sort-fns.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-sort-columns/default-sort-fns.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/rows/render-row.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/rows/render-row.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/rows/row-actions.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/rows/row-actions.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js +0 -14
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/sort-indicator.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/sort-indicator.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js.map +0 -1
- package/dist/src/ui/components/object-set-table/types.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/types.js.map +0 -1
- package/dist/src/ui/components/object-set-table/utils.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/utils.js.map +0 -1
- /package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/body.js +0 -0
- /package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/cells/basic-cell.d.ts +0 -0
- /package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/cells/render-cell/empty-cell.js +0 -0
- /package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-editors/get-cell-editor-fn.js +0 -0
- /package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-editors/index.d.ts +0 -0
- /package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-editors/index.js +0 -0
- /package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-cell-renderers/get-render-fn.js +0 -0
- /package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-fns/default-cell-value-formatter.d.ts +0 -0
- /package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-fns/default-cell-value-formatter.js +0 -0
- /package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-fns/default-column-config.js +0 -0
- /package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/default-sort-columns/default-sort-fns.js +0 -0
- /package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/header/header-cell.d.ts +0 -0
- /package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/header/header-number-td.d.ts +0 -0
- /package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/rows/table-row.d.ts +0 -0
- /package/dist/src/{ui/components/object-set-table/subcomponents → table/components}/table-focus-trap.d.ts +0 -0
- /package/dist/src/{ui/components/object-set-table → table}/examples/api-usage/api-usage.d.ts +0 -0
- /package/dist/src/{ui/components/object-set-table → table}/examples/api-usage/button.d.ts +0 -0
- /package/dist/src/{ui/components/object-set-table → table}/hooks/useGlobalTableKeyEvents.d.ts +0 -0
- /package/dist/src/{ui/components/object-set-table → table}/logic/public-table-api.d.ts +0 -0
- /package/dist/src/{ui/components/object-set-table → table}/logic/public-table-api.js +0 -0
- /package/dist/src/{ui/components/object-set-table → table}/logic/selection-manager.d.ts +0 -0
- /package/dist/src/{ui/components/object-set-table → table}/logic/types.js +0 -0
- /package/dist/src/{ui/components/object-set-table → table/table}/mock-data.d.ts +0 -0
- /package/dist/src/{ui/components/object-set-table → table/table}/mock-data.js +0 -0
- /package/dist/src/{ui/components/object-set-table → table/table}/object-set-table.d.ts +0 -0
- /package/dist/src/{ui/components/object-set-table → table/table}/types.js +0 -0
- /package/dist/src/{ui/components/object-set-table → table/table}/utils.d.ts +0 -0
- /package/dist/src/{ui/components/object-set-table → table/table}/utils.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-upload-item.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/data-entry/file-input/sub-components/file-upload-item.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,qCAAqC,CAAA;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,0EAA0E,CAAA;AACtG,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,0EAA0E,CAAA;AAE1G,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"file-upload-item.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/data-entry/file-input/sub-components/file-upload-item.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,qCAAqC,CAAA;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,0EAA0E,CAAA;AACtG,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,0EAA0E,CAAA;AAE1G,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAelD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC7B,QAAQ,GAAG,EAAE,EACb,QAAQ,GAAG,EAAE,EACb,QAAQ,GAAG,SAAS,EACpB,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,QAAQ,GAAG,EAAE,EACb,YAAY,EACZ,MAAM,GAAG,MAAM,EACf,WAAW,GACS,EAAE,EAAE;IACxB,MAAM,YAAY,GAAG,MAAM,KAAK,WAAW,IAAI,QAAQ,KAAK,SAAS,IAAI,QAAQ,IAAI,CAAC,IAAI,QAAQ,GAAG,GAAG,CAAA;IACxG,MAAM,WAAW,GAAG,MAAM,KAAK,SAAS,CAAA;IACxC,MAAM,SAAS,GAAG,MAAM,KAAK,OAAO,CAAA;IAEpC,MAAM,gBAAgB,GAAG,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,CAAA;IAE/E,MAAM,cAAc,GAAG,CAAC,CAAsC,EAAE,EAAE;QAChE,CAAC,CAAC,eAAe,EAAE,CAAA;QACnB,QAA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Ae,YAE1B,KAAC,IAAI,IAAC,IAAI,EAAC,YAAY,EAAC,IAAI,EAAE,EAAE,EAAE,SAAS,EAAC,eAAe,GAAG,GACvD,IACL,GACF,IACF,EAEN,eAAK,SAAS,EAAC,4BAA4B,aACxC,YAAY,IAAI,CACf,KAAC,WAAW,IACV,KAAK,EAAE,QAAQ,EACf,SAAS,EAAC,oEAAoE,GAC9E,CACH,EACD,eAAK,SAAS,EAAC,+BAA+B,EAAC,IAAI,EAAC,QAAQ,eAAW,QAAQ,iBAAa,MAAM,aAC/F,WAAW,IAAI,eAAM,SAAS,EAAC,gDAAgD,YAAE,QAAQ,CAAC,OAAO,GAAQ,EACzG,WAAW,IAAI,WAAW,IAAI,CAC7B,eAAM,SAAS,EAAC,+CAA+C,EAAC,OAAO,EAAE,eAAe,YACrF,QAAQ,CAAC,OAAO,GACZ,CACR,IACG,EAEL,SAAS,IAAI,CACZ,cAAK,IAAI,EAAC,OAAO,eAAW,WAAW,iBAAa,MAAM,YACxD,eAAM,SAAS,EAAC,8CAA8C,YAAE,QAAQ,CAAC,KAAK,GAAQ,GAClF,CACP,IACG,EAEL,gBAAgB,IAAI,KAAC,eAAe,IAAC,QAAQ,EAAE,YAAY,EAAE,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,SAAS,GAAG,IAC7F,CACP,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -13,6 +13,7 @@ export interface FileInputProps extends Omit<InputHTMLAttributes<HTMLInputElemen
|
|
|
13
13
|
onReload?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
14
14
|
errorsUpload?: string[];
|
|
15
15
|
status?: UploadFile;
|
|
16
|
+
showPreview?: boolean;
|
|
16
17
|
}
|
|
17
18
|
export type UploadFile = 'idle' | 'uploading' | 'success' | 'error';
|
|
18
19
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/file-input/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAA;AAE7E,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,CAAC,EACxF,cAAc,CAAC,IAAI,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAA;IAEtC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IAC3D,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IAC3D,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,MAAM,CAAC,EAAE,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/file-input/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAA;AAE7E,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,CAAC,EACxF,cAAc,CAAC,IAAI,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAA;IAEtC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IAC3D,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IAC3D,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUploadFile.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/file-input/useUploadFile.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useUploadFile.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/file-input/useUploadFile.ts"],"names":[],"mappings":"AACA,UAAU,kBAAkB;IAC1B,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACnB,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAC1B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAA;CACvC;AACD,eAAO,MAAM,aAAa,GAAI,mCAAmC,kBAAkB;iCAG9D,IAAI,EAAE;;;CAY1B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUploadFile.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/file-input/useUploadFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"useUploadFile.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/file-input/useUploadFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAM7C,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAsB,EAAE,EAAE;IACrF,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAc,KAAK,IAAI,YAAY,IAAI,IAAI,CAAC,CAAA;IAC5E,MAAM,UAAU,GAAG,WAAW,CAC5B,CAAC,aAAsB,EAAE,EAAE;QACzB,IAAI,CAAC,aAAa,IAAI,aAAa,CAAC,MAAM,KAAK,CAAC;YAAE,OAAM;QACxD,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,CAAA;QAC7B,OAAO,CAAC,IAAI,CAAC,CAAA;QACb,QAAQ,EAAE,CAAC,IAAI,CAAC,CAAA;IAClB,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAA;IAED,MAAM,eAAe,GAAG,IAAI,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,eAAe,CAAA;IAEhE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,eAAe,EAAE,CAAA;AAC9C,CAAC,CAAA"}
|
|
@@ -2,11 +2,9 @@ import type { IconName } from '../../icon-components/index.js';
|
|
|
2
2
|
export declare const MESSAGES: {
|
|
3
3
|
success: string;
|
|
4
4
|
error: string;
|
|
5
|
+
preview: string;
|
|
5
6
|
};
|
|
6
7
|
export declare const formatBytes: (bytes?: number, decimals?: number, binaryUnits?: boolean) => string;
|
|
7
8
|
export declare function getExtensionsFromMimeTypes(mimeTypes?: string[]): string[];
|
|
8
|
-
type Accept = Record<string, string[]>;
|
|
9
|
-
export declare const convertirMimesAObjetoAccept: (allowedFileTypes?: string[]) => Accept;
|
|
10
9
|
export declare const getIconKey: (mimeType: string) => IconName;
|
|
11
|
-
export {};
|
|
12
10
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/file-input/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAC9D,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/file-input/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAC9D,eAAO,MAAM,QAAQ;;;;CAIpB,CAAA;AAED,eAAO,MAAM,WAAW,GAAI,QAAQ,MAAM,EAAE,iBAAY,EAAE,qBAAmB,KAAG,MAgB/E,CAAA;AAED,wBAAgB,0BAA0B,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAGzE;AAeD,eAAO,MAAM,UAAU,GAAI,UAAU,MAAM,KAAG,QAY7C,CAAA"}
|
|
@@ -2,6 +2,7 @@ import mime from 'mime/lite';
|
|
|
2
2
|
export const MESSAGES = {
|
|
3
3
|
success: 'Upload successful',
|
|
4
4
|
error: 'Upload failed',
|
|
5
|
+
preview: 'Preview',
|
|
5
6
|
};
|
|
6
7
|
export const formatBytes = (bytes, decimals = 2, binaryUnits = false) => {
|
|
7
8
|
if (!bytes)
|
|
@@ -23,21 +24,6 @@ export function getExtensionsFromMimeTypes(mimeTypes) {
|
|
|
23
24
|
return [];
|
|
24
25
|
return mimeTypes.map((type) => mime.getExtension(type)).filter((ext) => Boolean(ext));
|
|
25
26
|
}
|
|
26
|
-
export const convertirMimesAObjetoAccept = (allowedFileTypes) => {
|
|
27
|
-
if (!allowedFileTypes)
|
|
28
|
-
return {};
|
|
29
|
-
if (!Array.isArray(allowedFileTypes) || allowedFileTypes.length === 0) {
|
|
30
|
-
return {};
|
|
31
|
-
}
|
|
32
|
-
const acceptObject = {};
|
|
33
|
-
allowedFileTypes.forEach((mimeType) => {
|
|
34
|
-
const extension = mime.getExtension(mimeType);
|
|
35
|
-
if (extension) {
|
|
36
|
-
acceptObject[mimeType] = [`.${extension}`];
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
return acceptObject;
|
|
40
|
-
};
|
|
41
27
|
const ICON_CODE_TO_NAME = {
|
|
42
28
|
DOC: 'ExportCsv',
|
|
43
29
|
ZIP: 'ExportZip',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/file-input/utils.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAA;AAE5B,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,OAAO,EAAE,mBAAmB;IAC5B,KAAK,EAAE,eAAe;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/file-input/utils.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAA;AAE5B,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,OAAO,EAAE,mBAAmB;IAC5B,KAAK,EAAE,eAAe;IACtB,OAAO,EAAE,SAAS;CACnB,CAAA;AAED,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAc,EAAE,QAAQ,GAAG,CAAC,EAAE,WAAW,GAAG,KAAK,EAAU,EAAE;IACvF,IAAI,CA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AiB,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAA;AACtG,CAAC;AAED,MAAM,iBAAiB,GAA6B;IAClD,GAAG,EAAE,WAAW;IAChB,GAAG,EAAE,WAAW;IAChB,GAAG,EAAE,WAAW;IAChB,IAAI,EAAE,YAAY;IAClB,GAAG,EAAE,WAAW;IAChB,GAAG,EAAE,WAAW;IAChB,GAAG,EAAE,kBAAkB;IACvB,GAAG,EAAE,kBAAkB;IACvB,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,kBAAkB;CACzB,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,QAAgB,EAAY,EAAE;IACvD,IAAI,CAAC,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC9C,OAAO,cAAc,CAAA;IACvB,CAAC;IACD,IAAI,QAAQ,GAAa,cAAc,CAAA;IAEvC,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAA;IAC7C,IAAI,SAAS,EAAE,CAAC;QACd,QAAQ,GAAG,iBAAiB,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,CAAA;IACvD,CAAC;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC,CAAA"}
|
|
@@ -26,7 +26,7 @@ baseValue, viewMode = 'edition', diffMode, ...props }, ref) => {
|
|
|
26
26
|
sharedValueTransformers.trimOnEnter(!!trim),
|
|
27
27
|
], [trim, lowercase, uppercase]);
|
|
28
28
|
if (viewMode === 'edition') {
|
|
29
|
-
return (_jsxs(FormGroup, { children: [label && (_jsx(FormLabel, { htmlFor: id, required: props.required, disabled: props.disabled, hasError: !!errors?.length, children: label })), _jsx(ValueTransformer, { transformers: transformers, children: _jsx(Input, { id: id, value: value, defaultValue: defaultValue, onChange: onChange, pattern: pattern?.toString(), autoComplete: autoCompleteValue, ...props, ref: ref }) }), typeof maxLength === 'number' && maxLength > 0 && (_jsx("div", { className: cn('mt-[-6px] flex justify-end', hasContentBelow && '-mb-1'), children: _jsx(CharacterCounter, { maxLength: maxLength, value: value ?? '' }) })), description && _jsx(FormDescription, { children: description }), warnings && _jsx(FormMessageList, { messages: warnings, type: "warning" }), errors && _jsx(FormMessageList, { messages: errors, type: "error" })] }));
|
|
29
|
+
return (_jsxs(FormGroup, { children: [label && (_jsx(FormLabel, { htmlFor: id, required: props.required, disabled: props.disabled, hasError: !!errors?.length, children: label })), _jsx(ValueTransformer, { transformers: transformers, children: _jsx(Input, { id: id, value: value, defaultValue: defaultValue, onChange: onChange, pattern: pattern?.toString(), autoComplete: autoCompleteValue, ...props, ref: ref }) }), typeof maxLength === 'number' && maxLength > 0 && (_jsx("div", { "data-type": "character-counter", className: cn('mt-[-6px] flex justify-end', hasContentBelow && '-mb-1'), children: _jsx(CharacterCounter, { maxLength: maxLength, value: value ?? '' }) })), description && _jsx(FormDescription, { children: description }), warnings && _jsx(FormMessageList, { messages: warnings, type: "warning" }), errors && _jsx(FormMessageList, { messages: errors, type: "error" })] }));
|
|
30
30
|
}
|
|
31
31
|
// Diff mode
|
|
32
32
|
return (_jsx(TextInputDiff, { value: value ?? defaultValue ?? '', viewMode: viewMode, diffMode: diffMode, baseValue: baseValue, label: label, required: props.required, "data-testid": "text-input-diff" }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-input.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/text-input/text-input.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,kCAAkC,CAAA;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,gEAAgE,CAAA;AAChG,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qEAAqE,CAAA;AACtG,OAAO,EAAE,eAAe,EAAE,MAAM,oEAAoE,CAAA;AACpG,OAAO,EAAE,SAAS,EAAE,MAAM,8DAA8D,CAAA;AAC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C,CAAC,SAAS,CAAC;QACtD,uBAAuB,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC;KAC5C,EACD,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,CAAC,CAC7B,CAAA;IAED,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,OAAO,CACL,MAAC,SAAS,eACP,KAAK,IAAI,CACR,KAAC,SAAS,IAAC,OAAO,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,YACnG,KAAK,GACI,CACb,EACD,KAAC,gBAAgB,IAAC,YAAY,EAAE,YAAY,YAC1C,KAAC,KAAK,IACJ,EAAE,EAAE,EAAE,EACN,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAC5B,YAAY,EAAE,iBAAiB,KAC3B,KAAK,EACT,GAAG,EAAE,GAAG,GACR,GACe,EAClB,OAAO,SAAS,KAAK,QAAQ,IAAI,SAAS,GAAG,CAAC,IAAI,CACjD,
|
|
1
|
+
{"version":3,"file":"text-input.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/text-input/text-input.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,kCAAkC,CAAA;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,gEAAgE,CAAA;AAChG,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qEAAqE,CAAA;AACtG,OAAO,EAAE,eAAe,EAAE,MAAM,oEAAoE,CAAA;AACpG,OAAO,EAAE,SAAS,EAAE,MAAM,8DAA8D,CAAA;AACxF,OAAO,EAAE,SAAS,EAAE,MAAM,8D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I,YAAY,IAAI,EAAE,EAClC,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,KAAK,CAAC,QAAQ,iBACZ,iBAAiB,GAC7B,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,SAAS,CAAC,WAAW,GAAG,WAAW,CAAA;AAEnC,OAAO,EAAE,SAAS,EAAuB,CAAA"}
|
|
@@ -24,5 +24,4 @@ export { Sidebar, SidebarProvider, useSidebar, type FlattenedNode, type NodeStat
|
|
|
24
24
|
export { Button, buttonVariants } from './button/index.js';
|
|
25
25
|
export { confirm, type ConfirmOptions } from './confirm/index.js';
|
|
26
26
|
export { Icon, type IconProps, type IconName } from './icon/index.js';
|
|
27
|
-
export * from './object-set-table/index.js';
|
|
28
27
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,iCAAiC,CAAA;AAC9F,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,gCAAgC,CAAA;AACjG,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,2CAA2C,CAAA;AAC1G,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,KAAK,QAAQ,GACd,MAAM,4CAA4C,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,mCAAmC,CAAA;AACpF,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,wCAAwC,CAAA;AACjG,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACpE,OAAO,EAA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oBAAoB,CAAA;AACjE,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,iBAAiB,CAAA"}
|
|
@@ -29,8 +29,6 @@ export { Sidebar, SidebarProvider, useSidebar, } from './sidebar/index.js';
|
|
|
29
29
|
export { Button, buttonVariants } from './button/index.js';
|
|
30
30
|
export { confirm } from './confirm/index.js';
|
|
31
31
|
export { Icon } from './icon/index.js';
|
|
32
|
-
// export object set table and types
|
|
33
|
-
export * from './object-set-table/index.js';
|
|
34
32
|
// TODO: export tooltip once it is ready to be used outside the package
|
|
35
33
|
// DO NOT export tooltip until it is ready to be used outside the package
|
|
36
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/components/index.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,aAAa;AACb,OAAO,EAAE,QAAQ,EAAsC,MAAM,iCAAiC,CAAA;AAC9F,OAAO,EAAE,QAAQ,EAA0C,MAAM,gCAAgC,CAAA;AACjG,OAAO,EAAE,iBAAiB,EAA+B,MAAM,2CAA2C,CAAA;AAC1G,OAAO,EACL,kBAAkB,GAGnB,MAAM,4CAA4C,CAAA;AACnD,OAAO,EAAE,UAAU,EAAwB,MAAM,mCAAmC,CAAA;AACpF,OAAO,EAAE,cAAc,EAA4B,MAAM,wCAAwC,CAAA;AACjG,OAAO,EAAE,KAAK,EAAmB,MAAM,6BAA6B,CAAA;AACpE,OAAO,EAAE,QAAQ,EAAsC,MAAM,iCAAiC,CAAA;AAC9F,OAAO,EAAE,SAAS,EAAwC,MAAM,kCAAkC,CAAA;AAClG,OAAO,EAAE,SAAS,EAAuB,MAAM,kCAAkC,CAAA;AACjF,OAAO,EAAE,QAAQ,EAAsB,MAAM,gCAAgC,CAAA;AAC7E,OAAO,EAAE,UAAU,EAAwB,MAAM,mCAAmC,CAAA;AACpF,OAAO,EAAE,MAAM,EAAoB,M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yEAAyE"}
|
package/dist/style.css
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
--font-sans: "Inter", sans-serif;
|
|
8
8
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
9
9
|
"Courier New", monospace;
|
|
10
|
+
--color-red-100: hsl(3 82% 96%);
|
|
10
11
|
--color-red-300: hsl(6 82% 87%);
|
|
11
12
|
--color-red-400: hsl(5 82% 83%);
|
|
12
13
|
--color-red-500: hsl(5 80% 78%);
|
|
@@ -1135,6 +1136,9 @@
|
|
|
1135
1136
|
.border-red-700 {
|
|
1136
1137
|
border-color: var(--color-red-700);
|
|
1137
1138
|
}
|
|
1139
|
+
.border-red-900 {
|
|
1140
|
+
border-color: var(--color-red-900);
|
|
1141
|
+
}
|
|
1138
1142
|
.border-transparent {
|
|
1139
1143
|
border-color: transparent;
|
|
1140
1144
|
}
|
|
@@ -1231,6 +1235,9 @@
|
|
|
1231
1235
|
.bg-primary {
|
|
1232
1236
|
background-color: var(--color-primary);
|
|
1233
1237
|
}
|
|
1238
|
+
.bg-red-100 {
|
|
1239
|
+
background-color: var(--color-red-100);
|
|
1240
|
+
}
|
|
1234
1241
|
.bg-red-500 {
|
|
1235
1242
|
background-color: var(--color-red-500);
|
|
1236
1243
|
}
|
|
@@ -2307,6 +2314,13 @@
|
|
|
2307
2314
|
}
|
|
2308
2315
|
}
|
|
2309
2316
|
}
|
|
2317
|
+
.hover\:bg-red-100 {
|
|
2318
|
+
&:hover {
|
|
2319
|
+
@media (hover: hover) {
|
|
2320
|
+
background-color: var(--color-red-100);
|
|
2321
|
+
}
|
|
2322
|
+
}
|
|
2323
|
+
}
|
|
2310
2324
|
.hover\:bg-secondary\/80 {
|
|
2311
2325
|
&:hover {
|
|
2312
2326
|
@media (hover: hover) {
|
|
@@ -5077,6 +5091,21 @@
|
|
|
5077
5091
|
}
|
|
5078
5092
|
}
|
|
5079
5093
|
}
|
|
5094
|
+
.\[\&_\[data-type\=\"character-counter\"\]\]\:hidden {
|
|
5095
|
+
& [data-type="character-counter"] {
|
|
5096
|
+
display: none;
|
|
5097
|
+
}
|
|
5098
|
+
}
|
|
5099
|
+
.\[\&_\[data-type\=\"error\"\]\]\:hidden {
|
|
5100
|
+
& [data-type="error"] {
|
|
5101
|
+
display: none;
|
|
5102
|
+
}
|
|
5103
|
+
}
|
|
5104
|
+
.\[\&_\[data-type\=\"warning\"\]\]\:hidden {
|
|
5105
|
+
& [data-type="warning"] {
|
|
5106
|
+
display: none;
|
|
5107
|
+
}
|
|
5108
|
+
}
|
|
5080
5109
|
.\[\&_button\]\:\!mr-0 {
|
|
5081
5110
|
& button {
|
|
5082
5111
|
margin-right: calc(var(--spacing) * 0) !important;
|
|
@@ -5198,6 +5227,11 @@
|
|
|
5198
5227
|
}
|
|
5199
5228
|
}
|
|
5200
5229
|
}
|
|
5230
|
+
.\[\&_div\]\:justify-center {
|
|
5231
|
+
& div {
|
|
5232
|
+
justify-content: center;
|
|
5233
|
+
}
|
|
5234
|
+
}
|
|
5201
5235
|
.\[\&_label\]\:text-blue-600 {
|
|
5202
5236
|
& label {
|
|
5203
5237
|
color: var(--color-blue-600);
|