@lavalogic/scoria 0.0.13 → 0.0.15
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/Components/Button.svelte +0 -3
- package/dist/Components/Contexts/ContextMenuOption.svelte +0 -3
- package/dist/Components/DatePicker.svelte +1 -6
- package/dist/Components/DimensionInput.svelte +5 -6
- package/dist/Components/DimensionInput.svelte.d.ts +4 -4
- package/dist/Components/FileUpload.svelte +4 -2
- package/dist/Components/GridInput.svelte +3 -3
- package/dist/Components/MultiSelect.svelte +0 -4
- package/dist/Components/ProgressBubble.svelte +1 -2
- package/dist/Components/Table/Body/QuickSearchCell.svelte +0 -9
- package/dist/Components/Table/Body/Rows/ColumnListRow.svelte +1 -5
- package/dist/Components/Table/Body/Rows/Columns/TableAction.svelte +2 -2
- package/dist/Components/Table/Body/Rows/Columns/TableCheckbox.svelte +1 -2
- package/dist/Components/Table/Body/Rows/Columns/TableColumn.svelte +6 -7
- package/dist/Components/Table/Body/Rows/Columns/TableDatePicker.svelte +2 -5
- package/dist/Components/Table/Body/Rows/Columns/TableNumberInput.svelte +0 -3
- package/dist/Components/Table/Body/Rows/Columns/TableQuerySelect.svelte +8 -6
- package/dist/Components/Table/Body/Rows/Columns/TableSelect.svelte +12 -19
- package/dist/Components/Table/Body/Rows/Columns/TableTextInput.svelte +2 -5
- package/dist/Components/Table/Body/Rows/TableRow.svelte +3 -17
- package/dist/Components/Table/Headers/TableHead.svelte +1 -5
- package/dist/Components/Table/Misc/FilterInput.svelte +10 -27
- package/dist/Components/Table/Table.svelte +1 -2
- package/dist/Components/Table/Types/Columns/Definitions/ColumnDef.svelte.js +6 -5
- package/dist/Components/Table/Types/Context/TableContext.svelte.js +11 -30
- package/dist/Components/Table/Types/DataRepository/LocalTableDataRepository.svelte.d.ts +0 -1
- package/dist/Components/Table/Types/DataRepository/LocalTableDataRepository.svelte.js +3 -16
- package/dist/Components/Table/Types/DataRepository/TableDataRepository.svelte.js +2 -5
- package/dist/Components/Table/Types/Filtering/CustomRemoteFilters.d.ts +1 -2
- package/dist/Components/Table/Types/Focus/TableFocusDetails.svelte.js +1 -5
- package/dist/Components/Touch/DateModal.svelte +0 -5
- package/dist/Components/Touch/UtilityButton.svelte +12 -7
- package/dist/Components/Touch/UtilityButton.svelte.d.ts +1 -1
- package/dist/Contexts/UntypedInputContext.svelte.d.ts +2 -1
- package/dist/Contexts/UntypedInputContext.svelte.js +1 -17
- package/dist/Helpers/Helpers.svelte.d.ts +21 -95
- package/dist/Helpers/Helpers.svelte.js +54 -395
- package/dist/Types/Examples/ExampleItem.d.ts +3 -3
- package/dist/Types/Internal/Misc.d.ts +12 -267
- package/dist/Types/Internal/Misc.js +1 -129
- package/dist/index.d.ts +4 -76
- package/dist/index.js +4 -76
- package/package.json +16 -16
- package/dist/Components/Table/Types/DataRepository/RemoteTableDataRepository.svelte.d.ts +0 -74
- package/dist/Components/Table/Types/DataRepository/RemoteTableDataRepository.svelte.js +0 -521
- package/dist/Components/Table/Types/Filtering/CustomProxyFilter.d.ts +0 -10
- package/dist/Components/Table/Types/Filtering/CustomProxyFilter.js +0 -1
- package/dist/Types/Internal/ApplicationIdentifier.d.ts +0 -39
- package/dist/Types/Internal/ApplicationIdentifier.js +0 -2080
- package/dist/Types/Internal/FloService.d.ts +0 -7
- package/dist/Types/Internal/FloService.js +0 -30
- package/dist/Types/Requests/IFillablePodLineDateRequestBody.d.ts +0 -13
- package/dist/Types/Requests/IFillablePodLineDateRequestBody.js +0 -10
- package/dist/Types/Requests/IRequiredPodLineDateRequestBody.d.ts +0 -14
- package/dist/Types/Requests/IRequiredPodLineDateRequestBody.js +0 -8
- package/dist/Types/Requests/IValidatedPodLineDateRequestBody.d.ts +0 -16
- package/dist/Types/Requests/IValidatedPodLineDateRequestBody.js +0 -10
- package/dist/Types/Responses/AddressType.d.ts +0 -3
- package/dist/Types/Responses/AddressType.js +0 -2
- package/dist/Types/Responses/IAddress.d.ts +0 -39
- package/dist/Types/Responses/IAddress.js +0 -30
- package/dist/Types/Responses/IBaseAddress.d.ts +0 -17
- package/dist/Types/Responses/IBaseAddress.js +0 -15
- package/dist/Types/Responses/ICountry.d.ts +0 -16
- package/dist/Types/Responses/ICountry.js +0 -1
- package/dist/Types/Responses/IDBEntry.d.ts +0 -13
- package/dist/Types/Responses/IDBEntry.js +0 -12
- package/dist/Types/Responses/IErrorResponse.d.ts +0 -10
- package/dist/Types/Responses/IErrorResponse.js +0 -1
- package/dist/Types/Responses/ILabelPrinter.d.ts +0 -4
- package/dist/Types/Responses/ILabelPrinter.js +0 -1
- package/dist/Types/Responses/ILaserPrinter.d.ts +0 -4
- package/dist/Types/Responses/ILaserPrinter.js +0 -1
- package/dist/Types/Responses/ILoginResponse.d.ts +0 -8
- package/dist/Types/Responses/ILoginResponse.js +0 -1
- package/dist/Types/Responses/IPaginatedPayload.d.ts +0 -5
- package/dist/Types/Responses/IPaginatedPayload.js +0 -1
- package/dist/Types/Responses/IPaginatedResponse.d.ts +0 -5
- package/dist/Types/Responses/IPaginatedResponse.js +0 -1
- package/dist/Types/Responses/IPagination.d.ts +0 -9
- package/dist/Types/Responses/IPagination.js +0 -1
- package/dist/Types/Responses/IPayload.d.ts +0 -3
- package/dist/Types/Responses/IPayload.js +0 -1
- package/dist/Types/Responses/IPrinter.d.ts +0 -11
- package/dist/Types/Responses/IPrinter.js +0 -1
- package/dist/Types/Responses/IProcessTypeSelectionMethodOutboundType.d.ts +0 -18
- package/dist/Types/Responses/IProcessTypeSelectionMethodOutboundType.js +0 -12
- package/dist/Types/Responses/IProcessTypeSelectionMethodWarehouseCustomer.d.ts +0 -20
- package/dist/Types/Responses/IProcessTypeSelectionMethodWarehouseCustomer.js +0 -14
- package/dist/Types/Responses/IProcessTypeSelectionMethodWarehouseCustomerType.d.ts +0 -20
- package/dist/Types/Responses/IProcessTypeSelectionMethodWarehouseCustomerType.js +0 -14
- package/dist/Types/Responses/IProductCategory.d.ts +0 -19
- package/dist/Types/Responses/IProductCategory.js +0 -13
- package/dist/Types/Responses/IProductCategoryDetails.d.ts +0 -33
- package/dist/Types/Responses/IProductCategoryDetails.js +0 -13
- package/dist/Types/Responses/IProductIgnoreOnAllocationOutboundType.d.ts +0 -17
- package/dist/Types/Responses/IProductIgnoreOnAllocationOutboundType.js +0 -11
- package/dist/Types/Responses/IProductLocation.d.ts +0 -23
- package/dist/Types/Responses/IProductLocation.js +0 -17
- package/dist/Types/Responses/IResponse.d.ts +0 -8
- package/dist/Types/Responses/IResponse.js +0 -1
- package/dist/Types/Responses/IStockSortationMethodCustomer.d.ts +0 -18
- package/dist/Types/Responses/IStockSortationMethodCustomer.js +0 -12
- package/dist/Types/Responses/Pods/IAttributeTypeWithAI.d.ts +0 -8
- package/dist/Types/Responses/Pods/IAttributeTypeWithAI.js +0 -1
- package/dist/Types/Responses/Pods/IBatchType.d.ts +0 -5
- package/dist/Types/Responses/Pods/IBatchType.js +0 -1
- package/dist/Types/Responses/Pods/IDateType.d.ts +0 -6
- package/dist/Types/Responses/Pods/IDateType.js +0 -1
- package/dist/Types/Responses/Pods/IFillablePodLineAttribute.d.ts +0 -10
- package/dist/Types/Responses/Pods/IFillablePodLineAttribute.js +0 -9
- package/dist/Types/Responses/Pods/IFillablePodLineBatch.d.ts +0 -18
- package/dist/Types/Responses/Pods/IFillablePodLineBatch.js +0 -12
- package/dist/Types/Responses/Pods/IFillablePodLineDate.d.ts +0 -19
- package/dist/Types/Responses/Pods/IFillablePodLineDate.js +0 -13
- package/dist/Types/Responses/Pods/IFillablePodLinePurchaseOrder.d.ts +0 -18
- package/dist/Types/Responses/Pods/IFillablePodLinePurchaseOrder.js +0 -12
- package/dist/Types/Responses/Pods/IFillablePodLineSerial.d.ts +0 -18
- package/dist/Types/Responses/Pods/IFillablePodLineSerial.js +0 -12
- package/dist/Types/Responses/Pods/IFillablePodLineTag.d.ts +0 -18
- package/dist/Types/Responses/Pods/IFillablePodLineTag.js +0 -12
- package/dist/Types/Responses/Pods/IPurchaseOrderType.d.ts +0 -5
- package/dist/Types/Responses/Pods/IPurchaseOrderType.js +0 -1
- package/dist/Types/Responses/Pods/IRequiredOrValidatedAttribute.d.ts +0 -7
- package/dist/Types/Responses/Pods/IRequiredOrValidatedAttribute.js +0 -7
- package/dist/Types/Responses/Pods/IRequiredPodLineBatch.d.ts +0 -18
- package/dist/Types/Responses/Pods/IRequiredPodLineBatch.js +0 -8
- package/dist/Types/Responses/Pods/IRequiredPodLineDate.d.ts +0 -19
- package/dist/Types/Responses/Pods/IRequiredPodLineDate.js +0 -8
- package/dist/Types/Responses/Pods/IRequiredPodLinePurchaseOrder.d.ts +0 -19
- package/dist/Types/Responses/Pods/IRequiredPodLinePurchaseOrder.js +0 -8
- package/dist/Types/Responses/Pods/IRequiredPodLineSerial.d.ts +0 -19
- package/dist/Types/Responses/Pods/IRequiredPodLineSerial.js +0 -8
- package/dist/Types/Responses/Pods/IRequiredPodLineTag.d.ts +0 -19
- package/dist/Types/Responses/Pods/IRequiredPodLineTag.js +0 -8
- package/dist/Types/Responses/Pods/ISerialType.d.ts +0 -6
- package/dist/Types/Responses/Pods/ISerialType.js +0 -1
- package/dist/Types/Responses/Pods/ITagType.d.ts +0 -6
- package/dist/Types/Responses/Pods/ITagType.js +0 -1
- package/dist/Types/Responses/Pods/IValidatedPodLineAttribute.d.ts +0 -13
- package/dist/Types/Responses/Pods/IValidatedPodLineAttribute.js +0 -10
- package/dist/Types/Responses/Pods/IValidatedPodLineBatch.d.ts +0 -19
- package/dist/Types/Responses/Pods/IValidatedPodLineBatch.js +0 -10
- package/dist/Types/Responses/Pods/IValidatedPodLineDate.d.ts +0 -21
- package/dist/Types/Responses/Pods/IValidatedPodLineDate.js +0 -10
- package/dist/Types/Responses/Pods/IValidatedPodLinePurchaseOrder.d.ts +0 -20
- package/dist/Types/Responses/Pods/IValidatedPodLinePurchaseOrder.js +0 -10
- package/dist/Types/Responses/Pods/IValidatedPodLineSerial.d.ts +0 -20
- package/dist/Types/Responses/Pods/IValidatedPodLineSerial.js +0 -10
- package/dist/Types/Responses/Pods/IValidatedPodLineTag.d.ts +0 -20
- package/dist/Types/Responses/Pods/IValidatedPodLineTag.js +0 -10
- package/dist/Types/Responses/Products/IAttributeRule.d.ts +0 -34
- package/dist/Types/Responses/Products/IAttributeRule.js +0 -28
- package/dist/Types/Responses/Products/IBarcode.d.ts +0 -18
- package/dist/Types/Responses/Products/IBarcode.js +0 -12
- package/dist/Types/Responses/Products/IBatchRule.d.ts +0 -36
- package/dist/Types/Responses/Products/IBatchRule.js +0 -9
- package/dist/Types/Responses/Products/ICustomerRule.d.ts +0 -23
- package/dist/Types/Responses/Products/ICustomerRule.js +0 -17
- package/dist/Types/Responses/Products/IDateRule.d.ts +0 -36
- package/dist/Types/Responses/Products/IDateRule.js +0 -9
- package/dist/Types/Responses/Products/IPrice.d.ts +0 -19
- package/dist/Types/Responses/Products/IPrice.js +0 -12
- package/dist/Types/Responses/Products/IProduct.d.ts +0 -436
- package/dist/Types/Responses/Products/IProduct.js +0 -77
- package/dist/Types/Responses/Products/IProductKit.d.ts +0 -24
- package/dist/Types/Responses/Products/IProductKit.js +0 -18
- package/dist/Types/Responses/Products/IProductKitMatrix.d.ts +0 -13
- package/dist/Types/Responses/Products/IProductKitMatrix.js +0 -1
- package/dist/Types/Responses/Products/IProductSupplier.d.ts +0 -18
- package/dist/Types/Responses/Products/IProductSupplier.js +0 -12
- package/dist/Types/Responses/Products/IProductTag.d.ts +0 -33
- package/dist/Types/Responses/Products/IProductTag.js +0 -14
- package/dist/Types/Responses/Products/IProductTagType.d.ts +0 -18
- package/dist/Types/Responses/Products/IProductTagType.js +0 -12
- package/dist/Types/Responses/Products/IProductUnitOfMeasure.d.ts +0 -97
- package/dist/Types/Responses/Products/IProductUnitOfMeasure.js +0 -35
- package/dist/Types/Responses/Products/IProductUnitOfMeasurePrice.d.ts +0 -36
- package/dist/Types/Responses/Products/IProductUnitOfMeasurePrice.js +0 -17
- package/dist/Types/Responses/Products/IPurchaseOrderRule.d.ts +0 -36
- package/dist/Types/Responses/Products/IPurchaseOrderRule.js +0 -9
- package/dist/Types/Responses/Products/ISerialRule.d.ts +0 -36
- package/dist/Types/Responses/Products/ISerialRule.js +0 -9
- package/dist/Types/Responses/Products/ITagRule.d.ts +0 -36
- package/dist/Types/Responses/Products/ITagRule.js +0 -9
- package/dist/Types/Responses/Products/IUnitOfMeasure.d.ts +0 -18
- package/dist/Types/Responses/Products/IUnitOfMeasure.js +0 -12
package/dist/index.js
CHANGED
|
@@ -48,21 +48,19 @@ export {} from './Components/Table/Types/DataRepository/IDataRepository.js';
|
|
|
48
48
|
export {} from './Components/Table/Types/DataRepository/ILocalDataRepository.js';
|
|
49
49
|
export {} from './Components/Table/Types/DataRepository/IRemoteDataRepository.js';
|
|
50
50
|
export { LocalTableDataRepository } from './Components/Table/Types/DataRepository/LocalTableDataRepository.svelte.js';
|
|
51
|
-
export { RemoteTableDataRepository } from './Components/Table/Types/DataRepository/RemoteTableDataRepository.svelte.js';
|
|
52
51
|
export {} from './Components/Table/Types/DataRepository/SortingState.js';
|
|
53
52
|
export { TableDataRepository } from './Components/Table/Types/DataRepository/TableDataRepository.svelte.js';
|
|
54
53
|
export {} from './Components/Table/Types/Filtering/ColumnFiltersState.js';
|
|
55
54
|
export {} from './Components/Table/Types/Filtering/CustomFilter.js';
|
|
56
55
|
export { CustomFilterType } from './Components/Table/Types/Filtering/CustomFilterType.js';
|
|
57
56
|
export {} from './Components/Table/Types/Filtering/CustomFilterFn.js';
|
|
58
|
-
export {} from './Components/Table/Types/Filtering/CustomProxyFilter.js';
|
|
59
57
|
export {} from './Components/Table/Types/Filtering/CustomRemoteFilters.js';
|
|
60
58
|
export {} from './Components/Table/Types/Filtering/FilterFn.js';
|
|
61
59
|
export {} from './Components/Table/Types/Filtering/FilterMode.js';
|
|
62
60
|
export { FilterType } from './Components/Table/Types/Filtering/FilterType.js';
|
|
63
61
|
export {} from './Components/Table/Types/Filtering/HasCustomFilterFunction.js';
|
|
64
|
-
export {} from './Components/Table/Types/Filtering/NumberDateFilterMode.js';
|
|
65
|
-
export {} from './Components/Table/Types/Filtering/StringFilterMode.js';
|
|
62
|
+
export { NumberDateFilterMode } from './Components/Table/Types/Filtering/NumberDateFilterMode.js';
|
|
63
|
+
export { StringFilterMode } from './Components/Table/Types/Filtering/StringFilterMode.js';
|
|
66
64
|
export { MultiFocusEdge } from './Components/Table/Types/Focus/MultiFocusEdge.js';
|
|
67
65
|
export { TableFocusDetails } from './Components/Table/Types/Focus/TableFocusDetails.svelte.js';
|
|
68
66
|
export {} from './Components/Table/Types/Pagination/PaginationState.js';
|
|
@@ -131,16 +129,14 @@ export { TooltipContext } from './Contexts/TooltipContext.svelte.js';
|
|
|
131
129
|
export { UntypedInputContext } from './Contexts/UntypedInputContext.svelte.js';
|
|
132
130
|
export { Delay } from './Delay/Delay.js';
|
|
133
131
|
export { DATAMatrix } from './Helpers/Datamatrix.js';
|
|
134
|
-
export {
|
|
132
|
+
export { autoPluralise, generateUUID, generateShortUUID, refWrapper, SQLFriendly, SQLFriendlyWithLocalTime, passthrough, getCanvasContext, getErrorMessage, isValidEmailAddress, localTimeFormat, vowels } from './Helpers/Helpers.svelte.js';
|
|
135
133
|
export {} from './Helpers/INamed.js';
|
|
136
|
-
export { GS1LengthType, GS1Encoding } from './Types/Internal/ApplicationIdentifier.js';
|
|
137
134
|
export { AttributeOperation } from './Types/Internal/AttributeOperation.js';
|
|
138
135
|
export {} from './Types/Internal/BigRadioOption.js';
|
|
139
136
|
export {} from './Types/Internal/ButtonProp.js';
|
|
140
137
|
export {} from './Types/Internal/CallbackButton.js';
|
|
141
138
|
export {} from './Types/Internal/DateChange.js';
|
|
142
139
|
export { DatePickerType } from './Types/Internal/DatePickerType.js';
|
|
143
|
-
export {} from './Types/Internal/FloService.js';
|
|
144
140
|
export {} from './Types/Internal/GridItem.js';
|
|
145
141
|
export {} from './Types/Internal/GridMultiSelectItem.js';
|
|
146
142
|
export {} from './Types/Internal/GridMultiSelectItemAsObject.js';
|
|
@@ -154,7 +150,7 @@ export {} from './Types/Internal/GridStringItem.js';
|
|
|
154
150
|
export {} from './Types/Internal/GridTextItem.js';
|
|
155
151
|
export {} from './Types/Internal/IdentifiableToastMessage.js';
|
|
156
152
|
export { InputVariant } from './Types/Internal/InputVariant.js';
|
|
157
|
-
export {
|
|
153
|
+
export {} from './Types/Internal/Misc.js';
|
|
158
154
|
export {} from './Types/Internal/RefWrapper.js';
|
|
159
155
|
export {} from './Types/Internal/SelectOption.js';
|
|
160
156
|
export { Shape } from './Types/Internal/Shape.js';
|
|
@@ -166,72 +162,4 @@ export {} from './Types/Internal/ToastMessage.js';
|
|
|
166
162
|
export { Validity } from './Types/Internal/Validity.js';
|
|
167
163
|
export {} from './Types/Internal/ValidityWrapper.js';
|
|
168
164
|
export { Variant } from './Types/Internal/Variant.js';
|
|
169
|
-
export { IFillablePodLineDateRequestBody } from './Types/Requests/IFillablePodLineDateRequestBody.js';
|
|
170
|
-
export { IRequiredPodLineDateRequestBody } from './Types/Requests/IRequiredPodLineDateRequestBody.js';
|
|
171
|
-
export { IValidatedPodLineDateRequestBody } from './Types/Requests/IValidatedPodLineDateRequestBody.js';
|
|
172
|
-
export {} from './Types/Responses/Pods/IAttributeTypeWithAI.js';
|
|
173
|
-
export {} from './Types/Responses/Pods/IBatchType.js';
|
|
174
|
-
export {} from './Types/Responses/Pods/IDateType.js';
|
|
175
|
-
export {} from './Types/Responses/Pods/IFillablePodLineAttribute.js';
|
|
176
|
-
export {} from './Types/Responses/Pods/IFillablePodLineBatch.js';
|
|
177
|
-
export {} from './Types/Responses/Pods/IFillablePodLineDate.js';
|
|
178
|
-
export {} from './Types/Responses/Pods/IFillablePodLinePurchaseOrder.js';
|
|
179
|
-
export {} from './Types/Responses/Pods/IFillablePodLineSerial.js';
|
|
180
|
-
export {} from './Types/Responses/Pods/IFillablePodLineTag.js';
|
|
181
|
-
export {} from './Types/Responses/Pods/IPurchaseOrderType.js';
|
|
182
|
-
export { IRequiredOrValidatedAttribute } from './Types/Responses/Pods/IRequiredOrValidatedAttribute.js';
|
|
183
|
-
export { IRequiredPodLineBatch } from './Types/Responses/Pods/IRequiredPodLineBatch.js';
|
|
184
|
-
export { IRequiredPodLineDate } from './Types/Responses/Pods/IRequiredPodLineDate.js';
|
|
185
|
-
export { IRequiredPodLinePurchaseOrder } from './Types/Responses/Pods/IRequiredPodLinePurchaseOrder.js';
|
|
186
|
-
export { IRequiredPodLineSerial } from './Types/Responses/Pods/IRequiredPodLineSerial.js';
|
|
187
|
-
export { IRequiredPodLineTag } from './Types/Responses/Pods/IRequiredPodLineTag.js';
|
|
188
|
-
export {} from './Types/Responses/Pods/ISerialType.js';
|
|
189
|
-
export {} from './Types/Responses/Pods/ITagType.js';
|
|
190
|
-
export { IValidatedPodLineAttribute } from './Types/Responses/Pods/IValidatedPodLineAttribute.js';
|
|
191
|
-
export { IValidatedPodLineBatch } from './Types/Responses/Pods/IValidatedPodLineBatch.js';
|
|
192
|
-
export { IValidatedPodLineDate } from './Types/Responses/Pods/IValidatedPodLineDate.js';
|
|
193
|
-
export { IValidatedPodLinePurchaseOrder } from './Types/Responses/Pods/IValidatedPodLinePurchaseOrder.js';
|
|
194
|
-
export { IValidatedPodLineSerial } from './Types/Responses/Pods/IValidatedPodLineSerial.js';
|
|
195
|
-
export { IValidatedPodLineTag } from './Types/Responses/Pods/IValidatedPodLineTag.js';
|
|
196
|
-
export { IAttributeRule } from './Types/Responses/Products/IAttributeRule.js';
|
|
197
|
-
export { IBarcode } from './Types/Responses/Products/IBarcode.js';
|
|
198
|
-
export { IBatchRule } from './Types/Responses/Products/IBatchRule.js';
|
|
199
|
-
export { ICustomerRule } from './Types/Responses/Products/ICustomerRule.js';
|
|
200
|
-
export { IDateRule } from './Types/Responses/Products/IDateRule.js';
|
|
201
|
-
export { IPrice } from './Types/Responses/Products/IPrice.js';
|
|
202
|
-
export { IProduct } from './Types/Responses/Products/IProduct.js';
|
|
203
|
-
export { IProductKit } from './Types/Responses/Products/IProductKit.js';
|
|
204
|
-
export {} from './Types/Responses/Products/IProductKitMatrix.js';
|
|
205
|
-
export { IProductSupplier } from './Types/Responses/Products/IProductSupplier.js';
|
|
206
|
-
export { IProductTag } from './Types/Responses/Products/IProductTag.js';
|
|
207
|
-
export { IProductTagType } from './Types/Responses/Products/IProductTagType.js';
|
|
208
|
-
export { IProductUnitOfMeasure } from './Types/Responses/Products/IProductUnitOfMeasure.js';
|
|
209
|
-
export { IProductUnitOfMeasurePrice } from './Types/Responses/Products/IProductUnitOfMeasurePrice.js';
|
|
210
|
-
export { IPurchaseOrderRule } from './Types/Responses/Products/IPurchaseOrderRule.js';
|
|
211
|
-
export { ISerialRule } from './Types/Responses/Products/ISerialRule.js';
|
|
212
|
-
export { ITagRule } from './Types/Responses/Products/ITagRule.js';
|
|
213
|
-
export { IUnitOfMeasure } from './Types/Responses/Products/IUnitOfMeasure.js';
|
|
214
|
-
export { AddressType } from './Types/Responses/AddressType.js';
|
|
215
|
-
export { IAddress } from './Types/Responses/IAddress.js';
|
|
216
|
-
export { IBaseAddress } from './Types/Responses/IBaseAddress.js';
|
|
217
|
-
export {} from './Types/Responses/ICountry.js';
|
|
218
|
-
export { IDBEntry } from './Types/Responses/IDBEntry.js';
|
|
219
|
-
export {} from './Types/Responses/IErrorResponse.js';
|
|
220
|
-
export {} from './Types/Responses/ILabelPrinter.js';
|
|
221
|
-
export {} from './Types/Responses/ILaserPrinter.js';
|
|
222
|
-
export {} from './Types/Responses/ILoginResponse.js';
|
|
223
|
-
export {} from './Types/Responses/IPaginatedPayload.js';
|
|
224
|
-
export {} from './Types/Responses/IPaginatedResponse.js';
|
|
225
|
-
export {} from './Types/Responses/IPagination.js';
|
|
226
|
-
export {} from './Types/Responses/IPayload.js';
|
|
227
|
-
export {} from './Types/Responses/IPrinter.js';
|
|
228
|
-
export { IProcessTypeSelectionMethodOutboundType } from './Types/Responses/IProcessTypeSelectionMethodOutboundType.js';
|
|
229
|
-
export { IProcessTypeSelectionMethodWarehouseCustomer } from './Types/Responses/IProcessTypeSelectionMethodWarehouseCustomer.js';
|
|
230
|
-
export { IProcessTypeSelectionMethodWarehouseCustomerType } from './Types/Responses/IProcessTypeSelectionMethodWarehouseCustomerType.js';
|
|
231
|
-
export { IProductCategory } from './Types/Responses/IProductCategory.js';
|
|
232
|
-
export { IProductCategoryDetails } from './Types/Responses/IProductCategoryDetails.js';
|
|
233
|
-
export { IProductIgnoreOnAllocationOutboundType } from './Types/Responses/IProductIgnoreOnAllocationOutboundType.js';
|
|
234
|
-
export { IProductLocation } from './Types/Responses/IProductLocation.js';
|
|
235
|
-
export {} from './Types/Responses/IResponse.js';
|
|
236
|
-
export { IStockSortationMethodCustomer } from './Types/Responses/IStockSortationMethodCustomer.js';
|
|
237
165
|
export { Colour, ColourSet } from './scss/colours.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lavalogic/scoria",
|
|
3
3
|
"description": "Svelte components used for the FloWMS Web Frontend",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.15",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "restricted"
|
|
7
7
|
},
|
|
@@ -23,27 +23,30 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
+
"@sinclair/typebox": "^0.34.41",
|
|
26
27
|
"@sveltejs/kit": "^2.0.0",
|
|
27
|
-
"svelte": "^5.0.0"
|
|
28
|
-
"@sinclair/typebox": "^0.34.41"
|
|
28
|
+
"svelte": "^5.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@sinclair/typebox": "^0.34.41",
|
|
32
31
|
"@chromatic-com/storybook": "^4.1.1",
|
|
33
32
|
"@eslint/compat": "^1.4.0",
|
|
34
33
|
"@eslint/js": "^9.37.0",
|
|
35
34
|
"@inlang/paraglide-js": "^2.4.0",
|
|
36
|
-
"@playwright/test": "^1.
|
|
35
|
+
"@playwright/test": "^1.56.0",
|
|
36
|
+
"@sinclair/typebox": "^0.34.41",
|
|
37
37
|
"@storybook/addon-a11y": "^9.1.10",
|
|
38
38
|
"@storybook/addon-docs": "^9.1.10",
|
|
39
39
|
"@storybook/addon-svelte-csf": "^5.0.10",
|
|
40
40
|
"@storybook/addon-vitest": "^9.1.10",
|
|
41
41
|
"@storybook/sveltekit": "^9.1.10",
|
|
42
42
|
"@sveltejs/adapter-node": "^5.3.3",
|
|
43
|
-
"@sveltejs/kit": "^2.
|
|
43
|
+
"@sveltejs/kit": "^2.46.5",
|
|
44
44
|
"@sveltejs/package": "^2.5.4",
|
|
45
45
|
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
|
46
|
-
"@types/
|
|
46
|
+
"@types/eslint": "^9.6.1",
|
|
47
|
+
"@types/node": "^20.19.21",
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "^8.46.1",
|
|
49
|
+
"@typescript-eslint/parser": "^8.46.1",
|
|
47
50
|
"@vitest/browser": "^3.2.4",
|
|
48
51
|
"eslint": "^9.37.0",
|
|
49
52
|
"eslint-config-prettier": "^10.1.8",
|
|
@@ -51,23 +54,20 @@
|
|
|
51
54
|
"eslint-plugin-svelte": "^3.12.4",
|
|
52
55
|
"globals": "^16.4.0",
|
|
53
56
|
"mdsvex": "^0.12.6",
|
|
54
|
-
"playwright": "^1.
|
|
57
|
+
"playwright": "^1.56.0",
|
|
55
58
|
"prettier": "^3.6.2",
|
|
56
59
|
"prettier-plugin-svelte": "^3.4.0",
|
|
57
60
|
"publint": "^0.3.14",
|
|
58
61
|
"sass-embedded": "^1.93.2",
|
|
59
62
|
"storybook": "^9.1.10",
|
|
60
|
-
"svelte": "^5.39.
|
|
61
|
-
"svelte-check": "^4.3.
|
|
63
|
+
"svelte": "^5.39.13",
|
|
64
|
+
"svelte-check": "^4.3.3",
|
|
62
65
|
"typescript": "^5.9.3",
|
|
63
|
-
"typescript-eslint": "^8.
|
|
64
|
-
"vite": "^7.1.
|
|
66
|
+
"typescript-eslint": "^8.46.1",
|
|
67
|
+
"vite": "^7.1.10",
|
|
65
68
|
"vite-plugin-devtools-json": "^1.0.0",
|
|
66
69
|
"vitest": "^3.2.4",
|
|
67
|
-
"vitest-browser-svelte": "^1.1.0"
|
|
68
|
-
"@types/eslint": "^9.6.1",
|
|
69
|
-
"@typescript-eslint/eslint-plugin": "^8.45.0",
|
|
70
|
-
"@typescript-eslint/parser": "^8.45.0"
|
|
70
|
+
"vitest-browser-svelte": "^1.1.0"
|
|
71
71
|
},
|
|
72
72
|
"keywords": [
|
|
73
73
|
"svelte"
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import type { FloService } from '../../../../Types/Internal/FloService.js';
|
|
2
|
-
import { type TSchema } from '@sinclair/typebox';
|
|
3
|
-
import { TableDataRepository } from './TableDataRepository.svelte.js';
|
|
4
|
-
import type { IRemoteDataRepository } from './IRemoteDataRepository.js';
|
|
5
|
-
import { FilterType } from '../Filtering/FilterType.js';
|
|
6
|
-
import type { SortingState } from './SortingState.js';
|
|
7
|
-
import type { ColumnFiltersState } from '../Filtering/ColumnFiltersState.js';
|
|
8
|
-
import type { OnChangeFn } from '../OnChangeFn.js';
|
|
9
|
-
import { StringFilterMode } from '../Filtering/StringFilterMode.js';
|
|
10
|
-
import { NumberDateFilterMode } from '../Filtering/NumberDateFilterMode.js';
|
|
11
|
-
import type { IPaginatedResponse } from '../../../../Types/Responses/IPaginatedResponse.js';
|
|
12
|
-
import type { IResponse } from '../../../../Types/Responses/IResponse.js';
|
|
13
|
-
import type { CustomRemoteFilters } from '../Filtering/CustomRemoteFilters.js';
|
|
14
|
-
export interface RemoteTableDataRepositoryOptions<httpResponseSchema extends object = object, heldTypeSchema extends object = httpResponseSchema> {
|
|
15
|
-
uri: string | null;
|
|
16
|
-
tableName: string;
|
|
17
|
-
service: FloService;
|
|
18
|
-
defaultFilters: Map<string, string>;
|
|
19
|
-
getUserId: () => string | undefined;
|
|
20
|
-
httpGetter: (service: FloService, uri: string) => Promise<IResponse<httpResponseSchema[]>>;
|
|
21
|
-
httpGetterPaginated: (service: FloService, uri: string) => Promise<IPaginatedResponse<httpResponseSchema[]>>;
|
|
22
|
-
schema?: TSchema;
|
|
23
|
-
pageSize?: number;
|
|
24
|
-
fetchImmediately?: boolean;
|
|
25
|
-
remoteFilters?: CustomRemoteFilters;
|
|
26
|
-
responseTransformation?: (items: httpResponseSchema[]) => heldTypeSchema[];
|
|
27
|
-
}
|
|
28
|
-
export declare class RemoteTableDataRepository<T extends object = object, R extends object = T> extends TableDataRepository<R> implements IRemoteDataRepository<R> {
|
|
29
|
-
options: RemoteTableDataRepositoryOptions<T, R>;
|
|
30
|
-
static readonly memoise: <T extends object, K extends keyof T, ResponseType>(getter: (item: T) => Promise<ResponseType>, key: K) => (item: T) => Promise<ResponseType>;
|
|
31
|
-
private httpGetter;
|
|
32
|
-
private httpGetterPaginated;
|
|
33
|
-
constructor(options: RemoteTableDataRepositoryOptions<T, R>);
|
|
34
|
-
private _latestFetchId;
|
|
35
|
-
private _data;
|
|
36
|
-
get data(): R[];
|
|
37
|
-
set data(v: R[]);
|
|
38
|
-
readonly paginationType: "Remote";
|
|
39
|
-
readonly filterType: FilterType;
|
|
40
|
-
readonly manualSorting = true;
|
|
41
|
-
private _sorting;
|
|
42
|
-
get sorting(): SortingState;
|
|
43
|
-
set sorting(v: SortingState);
|
|
44
|
-
private _totalRows;
|
|
45
|
-
get totalRows(): number;
|
|
46
|
-
set totalRows(v: number);
|
|
47
|
-
private _lastPageIndex;
|
|
48
|
-
private _lastPage;
|
|
49
|
-
get lastPage(): number;
|
|
50
|
-
private _isLoadingInternal;
|
|
51
|
-
private _isLoadingExternal;
|
|
52
|
-
private _isLoading;
|
|
53
|
-
get isLoading(): boolean;
|
|
54
|
-
set isLoading(v: boolean);
|
|
55
|
-
private _filtering;
|
|
56
|
-
get filtering(): ColumnFiltersState;
|
|
57
|
-
set filtering(v: ColumnFiltersState);
|
|
58
|
-
get pageStartIndex(): number;
|
|
59
|
-
private _pageEndIndexExclusive;
|
|
60
|
-
get pageEndIndexExclusive(): number;
|
|
61
|
-
readonly resetFilters: () => void;
|
|
62
|
-
updateSorting: OnChangeFn<SortingState>;
|
|
63
|
-
readonly setFilterMode: (id: string, mode: StringFilterMode | NumberDateFilterMode | undefined) => void;
|
|
64
|
-
readonly filterBy: (id: string, value: unknown) => void;
|
|
65
|
-
setPageSize: (size: string | number) => void;
|
|
66
|
-
setPage: (page: number) => void;
|
|
67
|
-
nextPage: () => void;
|
|
68
|
-
prevPage: () => void;
|
|
69
|
-
reload: (debounced?: boolean) => void;
|
|
70
|
-
private previousUri;
|
|
71
|
-
private _fetch;
|
|
72
|
-
private _queryString;
|
|
73
|
-
get queryString(): Promise<string>;
|
|
74
|
-
}
|