@flowselections/pick-schermen-kwekers 1.0.14 → 1.0.16

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 (46) hide show
  1. package/README.md +24 -24
  2. package/dist-lib/components/PickstationsPage.d.ts.map +1 -1
  3. package/dist-lib/components/PickstationsPage.js +2 -1
  4. package/dist-lib/components/pick/PickScherm.d.ts.map +1 -1
  5. package/dist-lib/components/pick/PickScherm.js +3 -1
  6. package/dist-lib/components/pick/PreviewDialog.d.ts +13 -0
  7. package/dist-lib/components/pick/PreviewDialog.d.ts.map +1 -0
  8. package/dist-lib/components/pick/PreviewDialog.js +52 -0
  9. package/dist-lib/components/pick/QueueTable.d.ts +2 -1
  10. package/dist-lib/components/pick/QueueTable.d.ts.map +1 -1
  11. package/dist-lib/components/pick/QueueTable.js +11 -5
  12. package/dist-lib/components/pick/ReferentiedataBanner.d.ts +6 -0
  13. package/dist-lib/components/pick/ReferentiedataBanner.d.ts.map +1 -0
  14. package/dist-lib/components/pick/ReferentiedataBanner.js +17 -0
  15. package/dist-lib/components/settings/ReferentiedataPickdocumentenCard.d.ts +2 -0
  16. package/dist-lib/components/settings/ReferentiedataPickdocumentenCard.d.ts.map +1 -0
  17. package/dist-lib/components/settings/ReferentiedataPickdocumentenCard.js +84 -0
  18. package/dist-lib/hooks/usePickReferenceData.d.ts +4 -0
  19. package/dist-lib/hooks/usePickReferenceData.d.ts.map +1 -0
  20. package/dist-lib/hooks/usePickReferenceData.js +10 -0
  21. package/dist-lib/index.d.ts +5 -0
  22. package/dist-lib/index.d.ts.map +1 -1
  23. package/dist-lib/index.js +6 -5
  24. package/dist-lib/integrations/supabase/auth-middleware.d.ts +370 -0
  25. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  26. package/dist-lib/integrations/supabase/client.d.ts +370 -0
  27. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  28. package/dist-lib/integrations/supabase/client.server.d.ts +370 -0
  29. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  30. package/dist-lib/integrations/supabase/types.d.ts +373 -0
  31. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  32. package/dist-lib/lib/layoutMaker/pakbonHtml.js +49 -49
  33. package/dist-lib/lib/layoutRenderer.js +17 -17
  34. package/dist-lib/lib/pickPreview.d.ts +19 -0
  35. package/dist-lib/lib/pickPreview.d.ts.map +1 -0
  36. package/dist-lib/lib/pickPreview.js +75 -0
  37. package/dist-lib/lib/pickReferenceApi.d.ts +37 -0
  38. package/dist-lib/lib/pickReferenceApi.d.ts.map +1 -0
  39. package/dist-lib/lib/pickReferenceApi.js +98 -0
  40. package/dist-lib/lib/pickUiText.d.ts +1 -0
  41. package/dist-lib/lib/pickUiText.d.ts.map +1 -1
  42. package/dist-lib/lib/pickUiText.js +11 -1
  43. package/package.json +1 -1
  44. package/dist-lib/components/TemplateModulePage.d.ts +0 -2
  45. package/dist-lib/components/TemplateModulePage.d.ts.map +0 -1
  46. package/dist-lib/components/TemplateModulePage.js +0 -44
@@ -10978,6 +10978,246 @@ export type Database = {
10978
10978
  };
10979
10979
  Relationships: [];
10980
10980
  };
10981
+ maps_addresses: {
10982
+ Row: {
10983
+ address_hash: string;
10984
+ created_at: string;
10985
+ error_reason: string | null;
10986
+ formatted_address: string | null;
10987
+ id: string;
10988
+ lat: number | null;
10989
+ lng: number | null;
10990
+ place_id: string | null;
10991
+ raw_address: string;
10992
+ resolved_at: string | null;
10993
+ status: string;
10994
+ updated_at: string;
10995
+ };
10996
+ Insert: {
10997
+ address_hash: string;
10998
+ created_at?: string;
10999
+ error_reason?: string | null;
11000
+ formatted_address?: string | null;
11001
+ id?: string;
11002
+ lat?: number | null;
11003
+ lng?: number | null;
11004
+ place_id?: string | null;
11005
+ raw_address: string;
11006
+ resolved_at?: string | null;
11007
+ status?: string;
11008
+ updated_at?: string;
11009
+ };
11010
+ Update: {
11011
+ address_hash?: string;
11012
+ created_at?: string;
11013
+ error_reason?: string | null;
11014
+ formatted_address?: string | null;
11015
+ id?: string;
11016
+ lat?: number | null;
11017
+ lng?: number | null;
11018
+ place_id?: string | null;
11019
+ raw_address?: string;
11020
+ resolved_at?: string | null;
11021
+ status?: string;
11022
+ updated_at?: string;
11023
+ };
11024
+ Relationships: [];
11025
+ };
11026
+ maps_job_lease: {
11027
+ Row: {
11028
+ job: string;
11029
+ locked_until: string;
11030
+ updated_at: string;
11031
+ };
11032
+ Insert: {
11033
+ job: string;
11034
+ locked_until?: string;
11035
+ updated_at?: string;
11036
+ };
11037
+ Update: {
11038
+ job?: string;
11039
+ locked_until?: string;
11040
+ updated_at?: string;
11041
+ };
11042
+ Relationships: [];
11043
+ };
11044
+ maps_request_queue: {
11045
+ Row: {
11046
+ attempts: number;
11047
+ created_at: string;
11048
+ destination_hash: string | null;
11049
+ id: string;
11050
+ kind: string;
11051
+ last_error: string | null;
11052
+ mode: string;
11053
+ origin_hash: string | null;
11054
+ processed_at: string | null;
11055
+ raw_destination: string | null;
11056
+ raw_origin: string | null;
11057
+ requested_by: string | null;
11058
+ status: string;
11059
+ updated_at: string;
11060
+ };
11061
+ Insert: {
11062
+ attempts?: number;
11063
+ created_at?: string;
11064
+ destination_hash?: string | null;
11065
+ id?: string;
11066
+ kind: string;
11067
+ last_error?: string | null;
11068
+ mode?: string;
11069
+ origin_hash?: string | null;
11070
+ processed_at?: string | null;
11071
+ raw_destination?: string | null;
11072
+ raw_origin?: string | null;
11073
+ requested_by?: string | null;
11074
+ status?: string;
11075
+ updated_at?: string;
11076
+ };
11077
+ Update: {
11078
+ attempts?: number;
11079
+ created_at?: string;
11080
+ destination_hash?: string | null;
11081
+ id?: string;
11082
+ kind?: string;
11083
+ last_error?: string | null;
11084
+ mode?: string;
11085
+ origin_hash?: string | null;
11086
+ processed_at?: string | null;
11087
+ raw_destination?: string | null;
11088
+ raw_origin?: string | null;
11089
+ requested_by?: string | null;
11090
+ status?: string;
11091
+ updated_at?: string;
11092
+ };
11093
+ Relationships: [];
11094
+ };
11095
+ maps_settings: {
11096
+ Row: {
11097
+ allow_estimate_fallback: boolean;
11098
+ cache_ttl_days: number;
11099
+ created_at: string;
11100
+ daily_call_limit: number;
11101
+ id: string;
11102
+ last_error: string | null;
11103
+ last_error_at: string | null;
11104
+ last_success_at: string | null;
11105
+ provider: string;
11106
+ updated_at: string;
11107
+ };
11108
+ Insert: {
11109
+ allow_estimate_fallback?: boolean;
11110
+ cache_ttl_days?: number;
11111
+ created_at?: string;
11112
+ daily_call_limit?: number;
11113
+ id?: string;
11114
+ last_error?: string | null;
11115
+ last_error_at?: string | null;
11116
+ last_success_at?: string | null;
11117
+ provider?: string;
11118
+ updated_at?: string;
11119
+ };
11120
+ Update: {
11121
+ allow_estimate_fallback?: boolean;
11122
+ cache_ttl_days?: number;
11123
+ created_at?: string;
11124
+ daily_call_limit?: number;
11125
+ id?: string;
11126
+ last_error?: string | null;
11127
+ last_error_at?: string | null;
11128
+ last_success_at?: string | null;
11129
+ provider?: string;
11130
+ updated_at?: string;
11131
+ };
11132
+ Relationships: [];
11133
+ };
11134
+ maps_travel_times: {
11135
+ Row: {
11136
+ created_at: string;
11137
+ destination_id: string;
11138
+ distance_m: number | null;
11139
+ duration_sec: number;
11140
+ expires_at: string;
11141
+ id: string;
11142
+ mode: string;
11143
+ origin_id: string;
11144
+ source: string;
11145
+ updated_at: string;
11146
+ };
11147
+ Insert: {
11148
+ created_at?: string;
11149
+ destination_id: string;
11150
+ distance_m?: number | null;
11151
+ duration_sec: number;
11152
+ expires_at?: string;
11153
+ id?: string;
11154
+ mode?: string;
11155
+ origin_id: string;
11156
+ source?: string;
11157
+ updated_at?: string;
11158
+ };
11159
+ Update: {
11160
+ created_at?: string;
11161
+ destination_id?: string;
11162
+ distance_m?: number | null;
11163
+ duration_sec?: number;
11164
+ expires_at?: string;
11165
+ id?: string;
11166
+ mode?: string;
11167
+ origin_id?: string;
11168
+ source?: string;
11169
+ updated_at?: string;
11170
+ };
11171
+ Relationships: [
11172
+ {
11173
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
11174
+ columns: ["destination_id"];
11175
+ isOneToOne: false;
11176
+ referencedRelation: "maps_addresses";
11177
+ referencedColumns: ["id"];
11178
+ },
11179
+ {
11180
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
11181
+ columns: ["origin_id"];
11182
+ isOneToOne: false;
11183
+ referencedRelation: "maps_addresses";
11184
+ referencedColumns: ["id"];
11185
+ }
11186
+ ];
11187
+ };
11188
+ maps_usage_log: {
11189
+ Row: {
11190
+ cache_hits: number;
11191
+ call_type: string;
11192
+ created_at: string;
11193
+ day: string;
11194
+ detail: string | null;
11195
+ elements: number;
11196
+ id: string;
11197
+ outcome: string;
11198
+ };
11199
+ Insert: {
11200
+ cache_hits?: number;
11201
+ call_type: string;
11202
+ created_at?: string;
11203
+ day?: string;
11204
+ detail?: string | null;
11205
+ elements?: number;
11206
+ id?: string;
11207
+ outcome?: string;
11208
+ };
11209
+ Update: {
11210
+ cache_hits?: number;
11211
+ call_type?: string;
11212
+ created_at?: string;
11213
+ day?: string;
11214
+ detail?: string | null;
11215
+ elements?: number;
11216
+ id?: string;
11217
+ outcome?: string;
11218
+ };
11219
+ Relationships: [];
11220
+ };
10981
11221
  material_usage: {
10982
11222
  Row: {
10983
11223
  created_at: string;
@@ -13716,6 +13956,39 @@ export type Database = {
13716
13956
  };
13717
13957
  Relationships: [];
13718
13958
  };
13959
+ print_dedupe_events: {
13960
+ Row: {
13961
+ bestaande_job_id: string | null;
13962
+ created_at: string;
13963
+ detail: string | null;
13964
+ documentnaam: string | null;
13965
+ documenttype: string | null;
13966
+ id: string;
13967
+ idempotentie_sleutel: string;
13968
+ reden: string;
13969
+ };
13970
+ Insert: {
13971
+ bestaande_job_id?: string | null;
13972
+ created_at?: string;
13973
+ detail?: string | null;
13974
+ documentnaam?: string | null;
13975
+ documenttype?: string | null;
13976
+ id?: string;
13977
+ idempotentie_sleutel: string;
13978
+ reden: string;
13979
+ };
13980
+ Update: {
13981
+ bestaande_job_id?: string | null;
13982
+ created_at?: string;
13983
+ detail?: string | null;
13984
+ documentnaam?: string | null;
13985
+ documenttype?: string | null;
13986
+ id?: string;
13987
+ idempotentie_sleutel?: string;
13988
+ reden?: string;
13989
+ };
13990
+ Relationships: [];
13991
+ };
13719
13992
  print_job_logs: {
13720
13993
  Row: {
13721
13994
  created_at: string;
@@ -13759,6 +14032,8 @@ export type Database = {
13759
14032
  foutmelding: string | null;
13760
14033
  gebruiker_id: string | null;
13761
14034
  gebruiker_naam: string;
14035
+ gebruikte_bron: string | null;
14036
+ gebruikte_layout_id: string | null;
13762
14037
  gestart_op: string | null;
13763
14038
  herkomst: string | null;
13764
14039
  id: string;
@@ -13789,6 +14064,8 @@ export type Database = {
13789
14064
  foutmelding?: string | null;
13790
14065
  gebruiker_id?: string | null;
13791
14066
  gebruiker_naam?: string;
14067
+ gebruikte_bron?: string | null;
14068
+ gebruikte_layout_id?: string | null;
13792
14069
  gestart_op?: string | null;
13793
14070
  herkomst?: string | null;
13794
14071
  id?: string;
@@ -13819,6 +14096,8 @@ export type Database = {
13819
14096
  foutmelding?: string | null;
13820
14097
  gebruiker_id?: string | null;
13821
14098
  gebruiker_naam?: string;
14099
+ gebruikte_bron?: string | null;
14100
+ gebruikte_layout_id?: string | null;
13822
14101
  gestart_op?: string | null;
13823
14102
  herkomst?: string | null;
13824
14103
  id?: string;
@@ -13960,6 +14239,39 @@ export type Database = {
13960
14239
  };
13961
14240
  Relationships: [];
13962
14241
  };
14242
+ print_preview_events: {
14243
+ Row: {
14244
+ code: string | null;
14245
+ created_at: string;
14246
+ detail: Json;
14247
+ id: string;
14248
+ queue_item_id: string | null;
14249
+ reden: string | null;
14250
+ station_slug: string | null;
14251
+ uitkomst: string;
14252
+ };
14253
+ Insert: {
14254
+ code?: string | null;
14255
+ created_at?: string;
14256
+ detail?: Json;
14257
+ id?: string;
14258
+ queue_item_id?: string | null;
14259
+ reden?: string | null;
14260
+ station_slug?: string | null;
14261
+ uitkomst?: string;
14262
+ };
14263
+ Update: {
14264
+ code?: string | null;
14265
+ created_at?: string;
14266
+ detail?: Json;
14267
+ id?: string;
14268
+ queue_item_id?: string | null;
14269
+ reden?: string | null;
14270
+ station_slug?: string | null;
14271
+ uitkomst?: string;
14272
+ };
14273
+ Relationships: [];
14274
+ };
13963
14275
  print_queue_runners: {
13964
14276
  Row: {
13965
14277
  actief: boolean;
@@ -14195,6 +14507,7 @@ export type Database = {
14195
14507
  created_at: string;
14196
14508
  driver: string;
14197
14509
  extern_printer_id: string | null;
14510
+ formaten_bijgewerkt_op: string | null;
14198
14511
  id: string;
14199
14512
  ip_adres: string | null;
14200
14513
  laatst_gezien: string | null;
@@ -14202,6 +14515,8 @@ export type Database = {
14202
14515
  merk: string;
14203
14516
  naam: string;
14204
14517
  omschrijving: string;
14518
+ ondersteunde_formaten: Json | null;
14519
+ ondersteunde_laden: Json | null;
14205
14520
  online: boolean;
14206
14521
  papierformaat: string;
14207
14522
  poort: number | null;
@@ -14217,6 +14532,7 @@ export type Database = {
14217
14532
  created_at?: string;
14218
14533
  driver?: string;
14219
14534
  extern_printer_id?: string | null;
14535
+ formaten_bijgewerkt_op?: string | null;
14220
14536
  id?: string;
14221
14537
  ip_adres?: string | null;
14222
14538
  laatst_gezien?: string | null;
@@ -14224,6 +14540,8 @@ export type Database = {
14224
14540
  merk?: string;
14225
14541
  naam: string;
14226
14542
  omschrijving?: string;
14543
+ ondersteunde_formaten?: Json | null;
14544
+ ondersteunde_laden?: Json | null;
14227
14545
  online?: boolean;
14228
14546
  papierformaat?: string;
14229
14547
  poort?: number | null;
@@ -14239,6 +14557,7 @@ export type Database = {
14239
14557
  created_at?: string;
14240
14558
  driver?: string;
14241
14559
  extern_printer_id?: string | null;
14560
+ formaten_bijgewerkt_op?: string | null;
14242
14561
  id?: string;
14243
14562
  ip_adres?: string | null;
14244
14563
  laatst_gezien?: string | null;
@@ -14246,6 +14565,8 @@ export type Database = {
14246
14565
  merk?: string;
14247
14566
  naam?: string;
14248
14567
  omschrijving?: string;
14568
+ ondersteunde_formaten?: Json | null;
14569
+ ondersteunde_laden?: Json | null;
14249
14570
  online?: boolean;
14250
14571
  papierformaat?: string;
14251
14572
  poort?: number | null;
@@ -20656,6 +20977,8 @@ export type Database = {
20656
20977
  foutmelding: string | null;
20657
20978
  gebruiker_id: string | null;
20658
20979
  gebruiker_naam: string;
20980
+ gebruikte_bron: string | null;
20981
+ gebruikte_layout_id: string | null;
20659
20982
  gestart_op: string | null;
20660
20983
  herkomst: string | null;
20661
20984
  id: string;
@@ -20777,6 +21100,8 @@ export type Database = {
20777
21100
  foutmelding: string | null;
20778
21101
  gebruiker_id: string | null;
20779
21102
  gebruiker_naam: string;
21103
+ gebruikte_bron: string | null;
21104
+ gebruikte_layout_id: string | null;
20780
21105
  gestart_op: string | null;
20781
21106
  herkomst: string | null;
20782
21107
  id: string;
@@ -21833,6 +22158,12 @@ export type Database = {
21833
22158
  };
21834
22159
  Returns: string;
21835
22160
  };
22161
+ logistics_document_type_map: {
22162
+ Args: {
22163
+ _document_code: string;
22164
+ };
22165
+ Returns: Database["public"]["Enums"]["doc_layout_type"][];
22166
+ };
21836
22167
  logistics_emit_event: {
21837
22168
  Args: {
21838
22169
  p_event_type: string;
@@ -22606,6 +22937,7 @@ export type Database = {
22606
22937
  };
22607
22938
  pick_enqueue_print_job: {
22608
22939
  Args: {
22940
+ _is_herprint?: boolean;
22609
22941
  _printer_id?: string;
22610
22942
  _queue_item_id: string;
22611
22943
  _session_id?: string;
@@ -22619,6 +22951,13 @@ export type Database = {
22619
22951
  };
22620
22952
  Returns: Json;
22621
22953
  };
22954
+ pick_preview_job: {
22955
+ Args: {
22956
+ _queue_item_id: string;
22957
+ _station_slug: string;
22958
+ };
22959
+ Returns: Json;
22960
+ };
22622
22961
  pick_print_job_status: {
22623
22962
  Args: {
22624
22963
  _job_id: string;
@@ -22633,6 +22972,10 @@ export type Database = {
22633
22972
  omschrijving: string;
22634
22973
  }[];
22635
22974
  };
22975
+ pick_reference_data_status: {
22976
+ Args: never;
22977
+ Returns: Json;
22978
+ };
22636
22979
  pick_release_expired_locks: {
22637
22980
  Args: never;
22638
22981
  Returns: number;
@@ -22697,6 +23040,10 @@ export type Database = {
22697
23040
  isSetofReturn: false;
22698
23041
  };
22699
23042
  };
23043
+ pick_seed_reference_data: {
23044
+ Args: never;
23045
+ Returns: Json;
23046
+ };
22700
23047
  pick_set_station_print_plek: {
22701
23048
  Args: {
22702
23049
  _print_plek_id: string;
@@ -22788,6 +23135,24 @@ export type Database = {
22788
23135
  };
22789
23136
  Returns: undefined;
22790
23137
  };
23138
+ print_preview_toestaan: {
23139
+ Args: {
23140
+ _max?: number;
23141
+ _queue_item_id: string;
23142
+ _station_slug: string;
23143
+ _venster_sec?: number;
23144
+ };
23145
+ Returns: Json;
23146
+ };
23147
+ print_preview_weiger: {
23148
+ Args: {
23149
+ _code: string;
23150
+ _queue_item_id: string;
23151
+ _reden: string;
23152
+ _station_slug: string;
23153
+ };
23154
+ Returns: undefined;
23155
+ };
22791
23156
  process_logistics_event: {
22792
23157
  Args: {
22793
23158
  p_event_id: string;
@@ -22905,6 +23270,14 @@ export type Database = {
22905
23270
  };
22906
23271
  Returns: undefined;
22907
23272
  };
23273
+ replace_order_carts: {
23274
+ Args: {
23275
+ p_buffer_id: string;
23276
+ p_carts: Json;
23277
+ p_order_id: string;
23278
+ };
23279
+ Returns: Json;
23280
+ };
22908
23281
  reset_floriday_sync_cursor: {
22909
23282
  Args: {
22910
23283
  p_connection_id: string;