@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
@@ -10690,6 +10690,243 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
10690
10690
  };
10691
10691
  Relationships: [];
10692
10692
  };
10693
+ maps_addresses: {
10694
+ Row: {
10695
+ address_hash: string;
10696
+ created_at: string;
10697
+ error_reason: string | null;
10698
+ formatted_address: string | null;
10699
+ id: string;
10700
+ lat: number | null;
10701
+ lng: number | null;
10702
+ place_id: string | null;
10703
+ raw_address: string;
10704
+ resolved_at: string | null;
10705
+ status: string;
10706
+ updated_at: string;
10707
+ };
10708
+ Insert: {
10709
+ address_hash: string;
10710
+ created_at?: string;
10711
+ error_reason?: string | null;
10712
+ formatted_address?: string | null;
10713
+ id?: string;
10714
+ lat?: number | null;
10715
+ lng?: number | null;
10716
+ place_id?: string | null;
10717
+ raw_address: string;
10718
+ resolved_at?: string | null;
10719
+ status?: string;
10720
+ updated_at?: string;
10721
+ };
10722
+ Update: {
10723
+ address_hash?: string;
10724
+ created_at?: string;
10725
+ error_reason?: string | null;
10726
+ formatted_address?: string | null;
10727
+ id?: string;
10728
+ lat?: number | null;
10729
+ lng?: number | null;
10730
+ place_id?: string | null;
10731
+ raw_address?: string;
10732
+ resolved_at?: string | null;
10733
+ status?: string;
10734
+ updated_at?: string;
10735
+ };
10736
+ Relationships: [];
10737
+ };
10738
+ maps_job_lease: {
10739
+ Row: {
10740
+ job: string;
10741
+ locked_until: string;
10742
+ updated_at: string;
10743
+ };
10744
+ Insert: {
10745
+ job: string;
10746
+ locked_until?: string;
10747
+ updated_at?: string;
10748
+ };
10749
+ Update: {
10750
+ job?: string;
10751
+ locked_until?: string;
10752
+ updated_at?: string;
10753
+ };
10754
+ Relationships: [];
10755
+ };
10756
+ maps_request_queue: {
10757
+ Row: {
10758
+ attempts: number;
10759
+ created_at: string;
10760
+ destination_hash: string | null;
10761
+ id: string;
10762
+ kind: string;
10763
+ last_error: string | null;
10764
+ mode: string;
10765
+ origin_hash: string | null;
10766
+ processed_at: string | null;
10767
+ raw_destination: string | null;
10768
+ raw_origin: string | null;
10769
+ requested_by: string | null;
10770
+ status: string;
10771
+ updated_at: string;
10772
+ };
10773
+ Insert: {
10774
+ attempts?: number;
10775
+ created_at?: string;
10776
+ destination_hash?: string | null;
10777
+ id?: string;
10778
+ kind: string;
10779
+ last_error?: string | null;
10780
+ mode?: string;
10781
+ origin_hash?: string | null;
10782
+ processed_at?: string | null;
10783
+ raw_destination?: string | null;
10784
+ raw_origin?: string | null;
10785
+ requested_by?: string | null;
10786
+ status?: string;
10787
+ updated_at?: string;
10788
+ };
10789
+ Update: {
10790
+ attempts?: number;
10791
+ created_at?: string;
10792
+ destination_hash?: string | null;
10793
+ id?: string;
10794
+ kind?: string;
10795
+ last_error?: string | null;
10796
+ mode?: string;
10797
+ origin_hash?: string | null;
10798
+ processed_at?: string | null;
10799
+ raw_destination?: string | null;
10800
+ raw_origin?: string | null;
10801
+ requested_by?: string | null;
10802
+ status?: string;
10803
+ updated_at?: string;
10804
+ };
10805
+ Relationships: [];
10806
+ };
10807
+ maps_settings: {
10808
+ Row: {
10809
+ allow_estimate_fallback: boolean;
10810
+ cache_ttl_days: number;
10811
+ created_at: string;
10812
+ daily_call_limit: number;
10813
+ id: string;
10814
+ last_error: string | null;
10815
+ last_error_at: string | null;
10816
+ last_success_at: string | null;
10817
+ provider: string;
10818
+ updated_at: string;
10819
+ };
10820
+ Insert: {
10821
+ allow_estimate_fallback?: boolean;
10822
+ cache_ttl_days?: number;
10823
+ created_at?: string;
10824
+ daily_call_limit?: number;
10825
+ id?: string;
10826
+ last_error?: string | null;
10827
+ last_error_at?: string | null;
10828
+ last_success_at?: string | null;
10829
+ provider?: string;
10830
+ updated_at?: string;
10831
+ };
10832
+ Update: {
10833
+ allow_estimate_fallback?: boolean;
10834
+ cache_ttl_days?: number;
10835
+ created_at?: string;
10836
+ daily_call_limit?: number;
10837
+ id?: string;
10838
+ last_error?: string | null;
10839
+ last_error_at?: string | null;
10840
+ last_success_at?: string | null;
10841
+ provider?: string;
10842
+ updated_at?: string;
10843
+ };
10844
+ Relationships: [];
10845
+ };
10846
+ maps_travel_times: {
10847
+ Row: {
10848
+ created_at: string;
10849
+ destination_id: string;
10850
+ distance_m: number | null;
10851
+ duration_sec: number;
10852
+ expires_at: string;
10853
+ id: string;
10854
+ mode: string;
10855
+ origin_id: string;
10856
+ source: string;
10857
+ updated_at: string;
10858
+ };
10859
+ Insert: {
10860
+ created_at?: string;
10861
+ destination_id: string;
10862
+ distance_m?: number | null;
10863
+ duration_sec: number;
10864
+ expires_at?: string;
10865
+ id?: string;
10866
+ mode?: string;
10867
+ origin_id: string;
10868
+ source?: string;
10869
+ updated_at?: string;
10870
+ };
10871
+ Update: {
10872
+ created_at?: string;
10873
+ destination_id?: string;
10874
+ distance_m?: number | null;
10875
+ duration_sec?: number;
10876
+ expires_at?: string;
10877
+ id?: string;
10878
+ mode?: string;
10879
+ origin_id?: string;
10880
+ source?: string;
10881
+ updated_at?: string;
10882
+ };
10883
+ Relationships: [{
10884
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
10885
+ columns: ["destination_id"];
10886
+ isOneToOne: false;
10887
+ referencedRelation: "maps_addresses";
10888
+ referencedColumns: ["id"];
10889
+ }, {
10890
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
10891
+ columns: ["origin_id"];
10892
+ isOneToOne: false;
10893
+ referencedRelation: "maps_addresses";
10894
+ referencedColumns: ["id"];
10895
+ }];
10896
+ };
10897
+ maps_usage_log: {
10898
+ Row: {
10899
+ cache_hits: number;
10900
+ call_type: string;
10901
+ created_at: string;
10902
+ day: string;
10903
+ detail: string | null;
10904
+ elements: number;
10905
+ id: string;
10906
+ outcome: string;
10907
+ };
10908
+ Insert: {
10909
+ cache_hits?: number;
10910
+ call_type: string;
10911
+ created_at?: string;
10912
+ day?: string;
10913
+ detail?: string | null;
10914
+ elements?: number;
10915
+ id?: string;
10916
+ outcome?: string;
10917
+ };
10918
+ Update: {
10919
+ cache_hits?: number;
10920
+ call_type?: string;
10921
+ created_at?: string;
10922
+ day?: string;
10923
+ detail?: string | null;
10924
+ elements?: number;
10925
+ id?: string;
10926
+ outcome?: string;
10927
+ };
10928
+ Relationships: [];
10929
+ };
10693
10930
  material_usage: {
10694
10931
  Row: {
10695
10932
  created_at: string;
@@ -13339,6 +13576,39 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13339
13576
  };
13340
13577
  Relationships: [];
13341
13578
  };
13579
+ print_dedupe_events: {
13580
+ Row: {
13581
+ bestaande_job_id: string | null;
13582
+ created_at: string;
13583
+ detail: string | null;
13584
+ documentnaam: string | null;
13585
+ documenttype: string | null;
13586
+ id: string;
13587
+ idempotentie_sleutel: string;
13588
+ reden: string;
13589
+ };
13590
+ Insert: {
13591
+ bestaande_job_id?: string | null;
13592
+ created_at?: string;
13593
+ detail?: string | null;
13594
+ documentnaam?: string | null;
13595
+ documenttype?: string | null;
13596
+ id?: string;
13597
+ idempotentie_sleutel: string;
13598
+ reden: string;
13599
+ };
13600
+ Update: {
13601
+ bestaande_job_id?: string | null;
13602
+ created_at?: string;
13603
+ detail?: string | null;
13604
+ documentnaam?: string | null;
13605
+ documenttype?: string | null;
13606
+ id?: string;
13607
+ idempotentie_sleutel?: string;
13608
+ reden?: string;
13609
+ };
13610
+ Relationships: [];
13611
+ };
13342
13612
  print_job_logs: {
13343
13613
  Row: {
13344
13614
  created_at: string;
@@ -13380,6 +13650,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13380
13650
  foutmelding: string | null;
13381
13651
  gebruiker_id: string | null;
13382
13652
  gebruiker_naam: string;
13653
+ gebruikte_bron: string | null;
13654
+ gebruikte_layout_id: string | null;
13383
13655
  gestart_op: string | null;
13384
13656
  herkomst: string | null;
13385
13657
  id: string;
@@ -13410,6 +13682,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13410
13682
  foutmelding?: string | null;
13411
13683
  gebruiker_id?: string | null;
13412
13684
  gebruiker_naam?: string;
13685
+ gebruikte_bron?: string | null;
13686
+ gebruikte_layout_id?: string | null;
13413
13687
  gestart_op?: string | null;
13414
13688
  herkomst?: string | null;
13415
13689
  id?: string;
@@ -13440,6 +13714,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13440
13714
  foutmelding?: string | null;
13441
13715
  gebruiker_id?: string | null;
13442
13716
  gebruiker_naam?: string;
13717
+ gebruikte_bron?: string | null;
13718
+ gebruikte_layout_id?: string | null;
13443
13719
  gestart_op?: string | null;
13444
13720
  herkomst?: string | null;
13445
13721
  id?: string;
@@ -13573,6 +13849,39 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13573
13849
  };
13574
13850
  Relationships: [];
13575
13851
  };
13852
+ print_preview_events: {
13853
+ Row: {
13854
+ code: string | null;
13855
+ created_at: string;
13856
+ detail: import("./types").Json;
13857
+ id: string;
13858
+ queue_item_id: string | null;
13859
+ reden: string | null;
13860
+ station_slug: string | null;
13861
+ uitkomst: string;
13862
+ };
13863
+ Insert: {
13864
+ code?: string | null;
13865
+ created_at?: string;
13866
+ detail?: import("./types").Json;
13867
+ id?: string;
13868
+ queue_item_id?: string | null;
13869
+ reden?: string | null;
13870
+ station_slug?: string | null;
13871
+ uitkomst?: string;
13872
+ };
13873
+ Update: {
13874
+ code?: string | null;
13875
+ created_at?: string;
13876
+ detail?: import("./types").Json;
13877
+ id?: string;
13878
+ queue_item_id?: string | null;
13879
+ reden?: string | null;
13880
+ station_slug?: string | null;
13881
+ uitkomst?: string;
13882
+ };
13883
+ Relationships: [];
13884
+ };
13576
13885
  print_queue_runners: {
13577
13886
  Row: {
13578
13887
  actief: boolean;
@@ -13800,6 +14109,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13800
14109
  created_at: string;
13801
14110
  driver: string;
13802
14111
  extern_printer_id: string | null;
14112
+ formaten_bijgewerkt_op: string | null;
13803
14113
  id: string;
13804
14114
  ip_adres: string | null;
13805
14115
  laatst_gezien: string | null;
@@ -13807,6 +14117,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13807
14117
  merk: string;
13808
14118
  naam: string;
13809
14119
  omschrijving: string;
14120
+ ondersteunde_formaten: import("./types").Json | null;
14121
+ ondersteunde_laden: import("./types").Json | null;
13810
14122
  online: boolean;
13811
14123
  papierformaat: string;
13812
14124
  poort: number | null;
@@ -13822,6 +14134,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13822
14134
  created_at?: string;
13823
14135
  driver?: string;
13824
14136
  extern_printer_id?: string | null;
14137
+ formaten_bijgewerkt_op?: string | null;
13825
14138
  id?: string;
13826
14139
  ip_adres?: string | null;
13827
14140
  laatst_gezien?: string | null;
@@ -13829,6 +14142,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13829
14142
  merk?: string;
13830
14143
  naam: string;
13831
14144
  omschrijving?: string;
14145
+ ondersteunde_formaten?: import("./types").Json | null;
14146
+ ondersteunde_laden?: import("./types").Json | null;
13832
14147
  online?: boolean;
13833
14148
  papierformaat?: string;
13834
14149
  poort?: number | null;
@@ -13844,6 +14159,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13844
14159
  created_at?: string;
13845
14160
  driver?: string;
13846
14161
  extern_printer_id?: string | null;
14162
+ formaten_bijgewerkt_op?: string | null;
13847
14163
  id?: string;
13848
14164
  ip_adres?: string | null;
13849
14165
  laatst_gezien?: string | null;
@@ -13851,6 +14167,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13851
14167
  merk?: string;
13852
14168
  naam?: string;
13853
14169
  omschrijving?: string;
14170
+ ondersteunde_formaten?: import("./types").Json | null;
14171
+ ondersteunde_laden?: import("./types").Json | null;
13854
14172
  online?: boolean;
13855
14173
  papierformaat?: string;
13856
14174
  poort?: number | null;
@@ -20100,6 +20418,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20100
20418
  foutmelding: string | null;
20101
20419
  gebruiker_id: string | null;
20102
20420
  gebruiker_naam: string;
20421
+ gebruikte_bron: string | null;
20422
+ gebruikte_layout_id: string | null;
20103
20423
  gestart_op: string | null;
20104
20424
  herkomst: string | null;
20105
20425
  id: string;
@@ -20221,6 +20541,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20221
20541
  foutmelding: string | null;
20222
20542
  gebruiker_id: string | null;
20223
20543
  gebruiker_naam: string;
20544
+ gebruikte_bron: string | null;
20545
+ gebruikte_layout_id: string | null;
20224
20546
  gestart_op: string | null;
20225
20547
  herkomst: string | null;
20226
20548
  id: string;
@@ -21277,6 +21599,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21277
21599
  };
21278
21600
  Returns: string;
21279
21601
  };
21602
+ logistics_document_type_map: {
21603
+ Args: {
21604
+ _document_code: string;
21605
+ };
21606
+ Returns: Database["public"]["Enums"]["doc_layout_type"][];
21607
+ };
21280
21608
  logistics_emit_event: {
21281
21609
  Args: {
21282
21610
  p_event_type: string;
@@ -22050,6 +22378,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22050
22378
  };
22051
22379
  pick_enqueue_print_job: {
22052
22380
  Args: {
22381
+ _is_herprint?: boolean;
22053
22382
  _printer_id?: string;
22054
22383
  _queue_item_id: string;
22055
22384
  _session_id?: string;
@@ -22063,6 +22392,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22063
22392
  };
22064
22393
  Returns: import("./types").Json;
22065
22394
  };
22395
+ pick_preview_job: {
22396
+ Args: {
22397
+ _queue_item_id: string;
22398
+ _station_slug: string;
22399
+ };
22400
+ Returns: import("./types").Json;
22401
+ };
22066
22402
  pick_print_job_status: {
22067
22403
  Args: {
22068
22404
  _job_id: string;
@@ -22077,6 +22413,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22077
22413
  omschrijving: string;
22078
22414
  }[];
22079
22415
  };
22416
+ pick_reference_data_status: {
22417
+ Args: never;
22418
+ Returns: import("./types").Json;
22419
+ };
22080
22420
  pick_release_expired_locks: {
22081
22421
  Args: never;
22082
22422
  Returns: number;
@@ -22141,6 +22481,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22141
22481
  isSetofReturn: false;
22142
22482
  };
22143
22483
  };
22484
+ pick_seed_reference_data: {
22485
+ Args: never;
22486
+ Returns: import("./types").Json;
22487
+ };
22144
22488
  pick_set_station_print_plek: {
22145
22489
  Args: {
22146
22490
  _print_plek_id: string;
@@ -22232,6 +22576,24 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22232
22576
  };
22233
22577
  Returns: undefined;
22234
22578
  };
22579
+ print_preview_toestaan: {
22580
+ Args: {
22581
+ _max?: number;
22582
+ _queue_item_id: string;
22583
+ _station_slug: string;
22584
+ _venster_sec?: number;
22585
+ };
22586
+ Returns: import("./types").Json;
22587
+ };
22588
+ print_preview_weiger: {
22589
+ Args: {
22590
+ _code: string;
22591
+ _queue_item_id: string;
22592
+ _reden: string;
22593
+ _station_slug: string;
22594
+ };
22595
+ Returns: undefined;
22596
+ };
22235
22597
  process_logistics_event: {
22236
22598
  Args: {
22237
22599
  p_event_id: string;
@@ -22349,6 +22711,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22349
22711
  };
22350
22712
  Returns: undefined;
22351
22713
  };
22714
+ replace_order_carts: {
22715
+ Args: {
22716
+ p_buffer_id: string;
22717
+ p_carts: import("./types").Json;
22718
+ p_order_id: string;
22719
+ };
22720
+ Returns: import("./types").Json;
22721
+ };
22352
22722
  reset_floriday_sync_cursor: {
22353
22723
  Args: {
22354
22724
  p_connection_id: string;