tpmkms_4wp 9.3.0-beta.43 → 9.3.0-beta.45

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.
@@ -97389,20 +97389,6 @@
97389
97389
  1
97390
97390
  ]
97391
97391
  ],
97392
- [
97393
- [
97394
- "countable",
97395
- 0
97396
- ],
97397
- [
97398
- "is",
97399
- 0
97400
- ],
97401
- [
97402
- "list",
97403
- 1
97404
- ]
97405
- ],
97406
97392
  [
97407
97393
  [
97408
97394
  "countable",
@@ -110468,28 +110454,6 @@
110468
110454
  0
110469
110455
  ]
110470
110456
  ],
110471
- [
110472
- [
110473
- "ingredient",
110474
- 0
110475
- ],
110476
- [
110477
- "is",
110478
- 0
110479
- ],
110480
- [
110481
- "list",
110482
- 1
110483
- ],
110484
- [
110485
- "smoothie",
110486
- 0
110487
- ],
110488
- [
110489
- "strawberry",
110490
- 0
110491
- ]
110492
- ],
110493
110457
  [
110494
110458
  [
110495
110459
  "is",
@@ -137532,6 +137496,10 @@
137532
137496
  ]
137533
137497
  ],
137534
137498
  [
137499
+ [
137500
+ "asiago",
137501
+ 0
137502
+ ],
137535
137503
  [
137536
137504
  "chicken",
137537
137505
  0
@@ -137614,6 +137582,10 @@
137614
137582
  "premium",
137615
137583
  0
137616
137584
  ],
137585
+ [
137586
+ "ranch",
137587
+ 0
137588
+ ],
137617
137589
  [
137618
137590
  "sandwich",
137619
137591
  0
@@ -137632,6 +137604,10 @@
137632
137604
  "chicken",
137633
137605
  0
137634
137606
  ],
137607
+ [
137608
+ "club",
137609
+ 0
137610
+ ],
137635
137611
  [
137636
137612
  "cod",
137637
137613
  0
@@ -137678,6 +137654,10 @@
137678
137654
  "cod",
137679
137655
  0
137680
137656
  ],
137657
+ [
137658
+ "comma",
137659
+ 0
137660
+ ],
137681
137661
  [
137682
137662
  "grill",
137683
137663
  0
@@ -137708,10 +137688,18 @@
137708
137688
  ]
137709
137689
  ],
137710
137690
  [
137691
+ [
137692
+ "chicken",
137693
+ 0
137694
+ ],
137711
137695
  [
137712
137696
  "cod",
137713
137697
  0
137714
137698
  ],
137699
+ [
137700
+ "grill",
137701
+ 0
137702
+ ],
137715
137703
  [
137716
137704
  "is",
137717
137705
  0
@@ -137728,12 +137716,20 @@
137728
137716
  "sandwich",
137729
137717
  0
137730
137718
  ],
137719
+ [
137720
+ "ultimate",
137721
+ 0
137722
+ ],
137731
137723
  [
137732
137724
  "unknown",
137733
137725
  0
137734
137726
  ]
137735
137727
  ],
137736
137728
  [
137729
+ [
137730
+ "cod",
137731
+ 0
137732
+ ],
137737
137733
  [
137738
137734
  "is",
137739
137735
  0
@@ -137742,6 +137738,10 @@
137742
137738
  "list",
137743
137739
  0
137744
137740
  ],
137741
+ [
137742
+ "premium",
137743
+ 0
137744
+ ],
137745
137745
  [
137746
137746
  "sandwich",
137747
137747
  0
@@ -137758,7 +137758,15 @@
137758
137758
  ],
137759
137759
  [
137760
137760
  "list",
137761
- 1
137761
+ 0
137762
+ ],
137763
+ [
137764
+ "sandwich",
137765
+ 0
137766
+ ],
137767
+ [
137768
+ "unknown",
137769
+ 0
137762
137770
  ]
137763
137771
  ],
137764
137772
  [
@@ -137769,10 +137777,6 @@
137769
137777
  [
137770
137778
  "list",
137771
137779
  1
137772
- ],
137773
- [
137774
- "sandwich",
137775
- 0
137776
137780
  ]
137777
137781
  ],
137778
137782
  [
@@ -137787,10 +137791,6 @@
137787
137791
  [
137788
137792
  "sandwich",
137789
137793
  0
137790
- ],
137791
- [
137792
- "unknown",
137793
- 0
137794
137794
  ]
137795
137795
  ],
137796
137796
  [
@@ -397567,44 +397567,6 @@
397567
397567
  0
397568
397568
  ]
397569
397569
  ],
397570
- [
397571
- [
397572
- "coke",
397573
- 0
397574
- ],
397575
- [
397576
- "comma",
397577
- 0
397578
- ],
397579
- [
397580
- "diet",
397581
- 0
397582
- ],
397583
- [
397584
- "iced",
397585
- 0
397586
- ],
397587
- [
397588
- "is",
397589
- 0
397590
- ],
397591
- [
397592
- "list",
397593
- 0
397594
- ],
397595
- [
397596
- "pop",
397597
- 0
397598
- ],
397599
- [
397600
- "tea",
397601
- 0
397602
- ],
397603
- [
397604
- "unknown",
397605
- 0
397606
- ]
397607
- ],
397608
397570
  [
397609
397571
  [
397610
397572
  "coke",
@@ -595925,6 +595887,60 @@
595925
595887
  0
595926
595888
  ]
595927
595889
  ],
595890
+ [
595891
+ [
595892
+ "bacon",
595893
+ 0
595894
+ ],
595895
+ [
595896
+ "cheeseburger",
595897
+ 0
595898
+ ],
595899
+ [
595900
+ "chicken",
595901
+ 0
595902
+ ],
595903
+ [
595904
+ "club",
595905
+ 0
595906
+ ],
595907
+ [
595908
+ "comma",
595909
+ 0
595910
+ ],
595911
+ [
595912
+ "crispy",
595913
+ 0
595914
+ ],
595915
+ [
595916
+ "go",
595917
+ 0
595918
+ ],
595919
+ [
595920
+ "is",
595921
+ 0
595922
+ ],
595923
+ [
595924
+ "junior",
595925
+ 0
595926
+ ],
595927
+ [
595928
+ "list",
595929
+ 0
595930
+ ],
595931
+ [
595932
+ "meal",
595933
+ 0
595934
+ ],
595935
+ [
595936
+ "value",
595937
+ 0
595938
+ ],
595939
+ [
595940
+ "wrap",
595941
+ 0
595942
+ ]
595943
+ ],
595928
595944
  [
595929
595945
  [
595930
595946
  "chicken",
@@ -596047,6 +596063,40 @@
596047
596063
  0
596048
596064
  ]
596049
596065
  ],
596066
+ [
596067
+ [
596068
+ "chicken",
596069
+ 0
596070
+ ],
596071
+ [
596072
+ "club",
596073
+ 0
596074
+ ],
596075
+ [
596076
+ "crispy",
596077
+ 0
596078
+ ],
596079
+ [
596080
+ "is",
596081
+ 0
596082
+ ],
596083
+ [
596084
+ "junior",
596085
+ 0
596086
+ ],
596087
+ [
596088
+ "list",
596089
+ 0
596090
+ ],
596091
+ [
596092
+ "meal",
596093
+ 0
596094
+ ],
596095
+ [
596096
+ "value",
596097
+ 0
596098
+ ]
596099
+ ],
596050
596100
  [
596051
596101
  [
596052
596102
  "chicken",
@@ -609794,6 +609844,60 @@
609794
609844
  0
609795
609845
  ]
609796
609846
  ],
609847
+ [
609848
+ [
609849
+ "asiago",
609850
+ 0
609851
+ ],
609852
+ [
609853
+ "chicken",
609854
+ 0
609855
+ ],
609856
+ [
609857
+ "club",
609858
+ 0
609859
+ ],
609860
+ [
609861
+ "cod",
609862
+ 0
609863
+ ],
609864
+ [
609865
+ "comma",
609866
+ 0
609867
+ ],
609868
+ [
609869
+ "grill",
609870
+ 0
609871
+ ],
609872
+ [
609873
+ "is",
609874
+ 0
609875
+ ],
609876
+ [
609877
+ "list",
609878
+ 0
609879
+ ],
609880
+ [
609881
+ "premium",
609882
+ 0
609883
+ ],
609884
+ [
609885
+ "ranch",
609886
+ 0
609887
+ ],
609888
+ [
609889
+ "sandwich",
609890
+ 0
609891
+ ],
609892
+ [
609893
+ "ultimate",
609894
+ 0
609895
+ ],
609896
+ [
609897
+ "unknown",
609898
+ 0
609899
+ ]
609900
+ ],
609797
609901
  [
609798
609902
  [
609799
609903
  "bacon",
@@ -610140,6 +610244,60 @@
610140
610244
  0
610141
610245
  ]
610142
610246
  ],
610247
+ [
610248
+ [
610249
+ "bacon",
610250
+ 0
610251
+ ],
610252
+ [
610253
+ "cheeseburger",
610254
+ 0
610255
+ ],
610256
+ [
610257
+ "chicken",
610258
+ 0
610259
+ ],
610260
+ [
610261
+ "club",
610262
+ 0
610263
+ ],
610264
+ [
610265
+ "comma",
610266
+ 0
610267
+ ],
610268
+ [
610269
+ "crispy",
610270
+ 0
610271
+ ],
610272
+ [
610273
+ "go",
610274
+ 0
610275
+ ],
610276
+ [
610277
+ "is",
610278
+ 0
610279
+ ],
610280
+ [
610281
+ "junior",
610282
+ 0
610283
+ ],
610284
+ [
610285
+ "list",
610286
+ 0
610287
+ ],
610288
+ [
610289
+ "meal",
610290
+ 0
610291
+ ],
610292
+ [
610293
+ "value",
610294
+ 0
610295
+ ],
610296
+ [
610297
+ "wrap",
610298
+ 0
610299
+ ]
610300
+ ],
610143
610301
  [
610144
610302
  [
610145
610303
  "bacon",
@@ -612022,6 +612180,40 @@
612022
612180
  0
612023
612181
  ]
612024
612182
  ],
612183
+ [
612184
+ [
612185
+ "chicken",
612186
+ 0
612187
+ ],
612188
+ [
612189
+ "club",
612190
+ 0
612191
+ ],
612192
+ [
612193
+ "crispy",
612194
+ 0
612195
+ ],
612196
+ [
612197
+ "is",
612198
+ 0
612199
+ ],
612200
+ [
612201
+ "junior",
612202
+ 0
612203
+ ],
612204
+ [
612205
+ "list",
612206
+ 0
612207
+ ],
612208
+ [
612209
+ "meal",
612210
+ 0
612211
+ ],
612212
+ [
612213
+ "value",
612214
+ 0
612215
+ ]
612216
+ ],
612025
612217
  [
612026
612218
  [
612027
612219
  "chicken",
@@ -612764,44 +612956,6 @@
612764
612956
  0
612765
612957
  ]
612766
612958
  ],
612767
- [
612768
- [
612769
- "coke",
612770
- 0
612771
- ],
612772
- [
612773
- "comma",
612774
- 0
612775
- ],
612776
- [
612777
- "diet",
612778
- 0
612779
- ],
612780
- [
612781
- "iced",
612782
- 0
612783
- ],
612784
- [
612785
- "is",
612786
- 0
612787
- ],
612788
- [
612789
- "list",
612790
- 0
612791
- ],
612792
- [
612793
- "pop",
612794
- 0
612795
- ],
612796
- [
612797
- "tea",
612798
- 0
612799
- ],
612800
- [
612801
- "unknown",
612802
- 0
612803
- ]
612804
- ],
612805
612959
  [
612806
612960
  [
612807
612961
  "coke",
@@ -613042,20 +613196,6 @@
613042
613196
  1
613043
613197
  ]
613044
613198
  ],
613045
- [
613046
- [
613047
- "countable",
613048
- 0
613049
- ],
613050
- [
613051
- "is",
613052
- 0
613053
- ],
613054
- [
613055
- "list",
613056
- 1
613057
- ]
613058
- ],
613059
613199
  [
613060
613200
  [
613061
613201
  "countable",
@@ -613538,28 +613678,6 @@
613538
613678
  0
613539
613679
  ]
613540
613680
  ],
613541
- [
613542
- [
613543
- "ingredient",
613544
- 0
613545
- ],
613546
- [
613547
- "is",
613548
- 0
613549
- ],
613550
- [
613551
- "list",
613552
- 1
613553
- ],
613554
- [
613555
- "smoothie",
613556
- 0
613557
- ],
613558
- [
613559
- "strawberry",
613560
- 0
613561
- ]
613562
- ],
613563
613681
  [
613564
613682
  [
613565
613683
  "is",
@@ -613864,24 +613982,6 @@
613864
613982
  0
613865
613983
  ]
613866
613984
  ],
613867
- [
613868
- [
613869
- "is",
613870
- 0
613871
- ],
613872
- [
613873
- "list",
613874
- 1
613875
- ],
613876
- [
613877
- "sandwich",
613878
- 0
613879
- ],
613880
- [
613881
- "unknown",
613882
- 0
613883
- ]
613884
- ],
613885
613985
  [
613886
613986
  [
613887
613987
  "is",
@@ -30,6 +30,35 @@ function getNextDayOfWeek(date, targetDay) {
30
30
  return nextDate;
31
31
  }
32
32
 
33
+ function toMonthNumber(value) {
34
+ const map = {
35
+ "jan_dates": 1,
36
+ "feb_dates": 2,
37
+ "mar_dates": 3,
38
+ "apr_dates": 4,
39
+ "may_dates": 5,
40
+ "jun_dates": 6,
41
+ "jul_dates": 7,
42
+ "aug_dates": 8,
43
+ "sept_dates": 9,
44
+ "oct_dates": 10,
45
+ "nov_dates": 11,
46
+ "dec_dates": 12,
47
+ "january_dates": 1,
48
+ "february_dates": 2,
49
+ "march_dates": 3,
50
+ "april_dates": 4,
51
+ "june_dates": 6,
52
+ "july_dates": 7,
53
+ "august_dates": 8,
54
+ "september_dates": 9,
55
+ "october_dates": 10,
56
+ "november_dates": 11,
57
+ "december_dates": 12,
58
+ }
59
+ return map[value]
60
+ }
61
+
33
62
  function getTime(time) {
34
63
  let hour = 0
35
64
  const minute = 0
@@ -57,7 +86,20 @@ function getTime(time) {
57
86
  }
58
87
 
59
88
  instantiate = (isA, now, context) => {
60
- if (isA(context?.marker, 'dateTimeSelector')) {
89
+ debugger
90
+ if (
91
+ (context.marker == 'onDate_dates' && context.date?.marker == 'monthDayYear_dates') ||
92
+ (context.marker == 'monthDayYear_dates')
93
+ ) {
94
+ if (context.marker == 'onDate_dates') {
95
+ context = context.date
96
+ }
97
+ const day = context.day.value;
98
+ const month = toMonthNumber(context.month.value);
99
+ const year = context.year.value;
100
+ const date = new Date(year, month-1, day)
101
+ return date.toISOString()
102
+ } else if (isA(context?.marker, 'dateTimeSelector')) {
61
103
  // (on date) OR (date)
62
104
  const date = context.date?.date || context.date
63
105
  const dateTimeSelector = getNextDayOfWeek(now, date.value)
@@ -69,7 +69,7 @@
69
69
  "convolution": true,
70
70
  "disabled": true,
71
71
  "bridge": "{ ...next(operator), operator: operator, reminder: after[0], date: after[1], interpolate: '${reminder} ${date}' }",
72
- "semantic": "async ({context, api, gp, gsp}) => {\n const text = await gsp(context.reminder.slice(1));\n const update = { text }\n if (context.date) {\n update.dateTimeSelector = context.date\n update.dateTimeSelectorText = await gp(context.date)\n }\n await api.update(update)\n }"
72
+ "semantic": "async ({context, api, gp, gsp}) => {\n const text = await gsp(context.reminder.slice(0));\n const update = { text }\n if (context.date) {\n update.dateTimeSelector = context.date\n update.dateTimeSelectorText = await gp(context.date)\n }\n await api.update(update)\n }"
73
73
  },
74
74
  {
75
75
  "id": "remind",