@lavalogic/scoria 0.18.2 → 0.19.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.
Files changed (26) hide show
  1. package/dist/Components/Base/Snippets.svelte +26 -0
  2. package/dist/Components/Base/Snippets.svelte.d.ts +5 -0
  3. package/dist/Components/CollapsibleCard.svelte +6 -3
  4. package/dist/Components/GridInput.svelte +18 -6
  5. package/dist/Components/LoadingAnimation.svelte +7 -2
  6. package/dist/Components/Table/Body/QuickSearchCell.svelte +30 -32
  7. package/dist/Components/Table/Body/Rows/Columns/FocusableImmutableCell.svelte +15 -21
  8. package/dist/Components/Table/Body/Rows/Columns/TableAction.svelte +8 -2
  9. package/dist/Components/Table/Body/Rows/Columns/TableDatePicker.svelte +43 -13
  10. package/dist/Components/Table/Body/Rows/Columns/TableDatePicker.svelte.d.ts +6 -6
  11. package/dist/Components/Table/Body/Rows/Columns/TableNumberInput.svelte +27 -2
  12. package/dist/Components/Table/Body/Rows/Columns/TableNumberInput.svelte.d.ts +6 -6
  13. package/dist/Components/Table/Body/Rows/Columns/TableQuerySelect.svelte +60 -15
  14. package/dist/Components/Table/Body/Rows/Columns/TableQuerySelect.svelte.d.ts +6 -6
  15. package/dist/Components/Table/Body/Rows/Columns/TableSelect.svelte +56 -44
  16. package/dist/Components/Table/Body/Rows/Columns/TableSelect.svelte.d.ts +6 -6
  17. package/dist/Components/Table/Body/Rows/Columns/TableTextInput.svelte +30 -6
  18. package/dist/Components/Table/Body/Rows/Columns/TableTextInput.svelte.d.ts +6 -6
  19. package/dist/Components/Table/Body/TableBody.svelte +15 -16
  20. package/dist/Components/Table/Headers/HighlightAllHeader.svelte +6 -3
  21. package/dist/Components/Table/Headers/SelectAllHeader.svelte +4 -1
  22. package/dist/Components/Table/Table.svelte +128 -133
  23. package/dist/Components/Touch/TouchModal.svelte +20 -6
  24. package/dist/Helpers/Helpers.svelte.d.ts +1 -0
  25. package/dist/Helpers/Helpers.svelte.js +1 -0
  26. package/package.json +1 -1
@@ -33,7 +33,7 @@
33
33
  onclose,
34
34
  row,
35
35
  wrap,
36
- submitRef = $bindable()
36
+ submitRef = $bindable(),
37
37
  }: TouchModalProps = $props();
38
38
 
39
39
  let dialog: HTMLDialogElement | undefined;
@@ -137,7 +137,7 @@
137
137
  }}
138
138
  icon={{
139
139
  name: 'cross',
140
- size: Size.DoubleXLarge
140
+ size: Size.DoubleXLarge,
141
141
  }}
142
142
  onkeydown={handleEsc}
143
143
  colourSet={ColourSet.Primary}
@@ -155,11 +155,19 @@
155
155
  {#if defaultTimer}
156
156
  <!-- class:paused -->
157
157
  <div class="bar-container">
158
- <div class:paused class="bar-timer"></div>
158
+ <div
159
+ class:paused
160
+ class="bar-timer"
161
+ ></div>
159
162
  </div>
160
163
  {/if}
161
164
 
162
- <div class="modal-main" class:row class:wrap class:noscroll>
165
+ <div
166
+ class="modal-main"
167
+ class:row
168
+ class:wrap
169
+ class:noscroll
170
+ >
163
171
  {#if explanation}
164
172
  {@render explanation()}
165
173
  {/if}
@@ -175,7 +183,10 @@
175
183
  <div class="button-barcode-set">
176
184
  {#if button.barcodeValue}
177
185
  {@const icon = DATAMatrix(button.barcodeValue)}
178
- <DataMatrixIcon title={button.label} {icon} />
186
+ <DataMatrixIcon
187
+ title={button.label}
188
+ {icon}
189
+ />
179
190
  {/if}
180
191
  {#await button.isValid}
181
192
  <button
@@ -207,7 +218,10 @@
207
218
  <div class="button-barcode-set">
208
219
  {#if button.barcodeValue}
209
220
  {@const icon = DATAMatrix(button.barcodeValue)}
210
- <DataMatrixIcon title={button.label} {icon} />
221
+ <DataMatrixIcon
222
+ title={button.label}
223
+ {icon}
224
+ />
211
225
  {/if}
212
226
  {#await button.isValid}
213
227
  <button
@@ -51,3 +51,4 @@ export declare function hasQuery<FilterValueType>(customFilter: CustomFilter<Fil
51
51
  export declare function isDateTuple(value: unknown): value is [Date | null, Date | null];
52
52
  export declare function isNumberTuple(value: unknown): value is [number | null, number | null];
53
53
  export declare function isValidityTuple(v: Validity | ValidityWrapper | undefined): v is ValidityWrapper;
54
+ export declare const loadingText = "loading\u2026";
@@ -268,3 +268,4 @@ export function isNumberTuple(value) {
268
268
  export function isValidityTuple(v) {
269
269
  return v != null && typeof v == 'object';
270
270
  }
271
+ export const loadingText = 'loading…';
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.18.2",
4
+ "version": "0.19.0",
5
5
  "publishConfig": {
6
6
  "access": "restricted"
7
7
  },