tpmkms_4wp 9.2.0-beta.9 → 9.3.0-beta.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.
@@ -242,7 +242,11 @@ const initializer = ({config}) => {
242
242
  },
243
243
  interpolate: async (interpolate, context) => {
244
244
  const evaluator = async (key) => {
245
- return args.gp(context[key])
245
+ if (Array.isArray(context[key])) {
246
+ return args.gsp(context[key])
247
+ } else {
248
+ return args.gp(context[key])
249
+ }
246
250
  }
247
251
  return await helpers.processTemplateString(interpolate, evaluator)
248
252
  }
@@ -1598,27 +1598,6 @@
1598
1598
  ],
1599
1599
  "metadata": {
1600
1600
  "opChoices": [
1601
- {
1602
- "op": [
1603
- "self",
1604
- 0
1605
- ],
1606
- "ops": [
1607
- [
1608
- "is",
1609
- 0
1610
- ],
1611
- [
1612
- "kirk",
1613
- 0
1614
- ],
1615
- [
1616
- "self",
1617
- 0
1618
- ]
1619
- ],
1620
- "counter": 1
1621
- },
1622
1601
  {
1623
1602
  "op": [
1624
1603
  "kirk",
@@ -1634,7 +1613,7 @@
1634
1613
  0
1635
1614
  ]
1636
1615
  ],
1637
- "counter": 2
1616
+ "counter": 1
1638
1617
  },
1639
1618
  {
1640
1619
  "op": [
@@ -1647,7 +1626,7 @@
1647
1626
  0
1648
1627
  ]
1649
1628
  ],
1650
- "counter": 3
1629
+ "counter": 2
1651
1630
  },
1652
1631
  {
1653
1632
  "op": [
@@ -1660,7 +1639,7 @@
1660
1639
  1
1661
1640
  ]
1662
1641
  ],
1663
- "counter": 4
1642
+ "counter": 3
1664
1643
  }
1665
1644
  ]
1666
1645
  },
@@ -1676,21 +1655,28 @@
1676
1655
  "end": 11
1677
1656
  },
1678
1657
  "one": {
1679
- "number": "many",
1680
- "variable": true,
1681
- "value": "self",
1658
+ "number": [
1659
+ "one",
1660
+ "many"
1661
+ ],
1662
+ "word": "you",
1663
+ "grammar_person": 2,
1664
+ "grammer_case": [
1665
+ "nominative",
1666
+ "dative",
1667
+ "accusative"
1668
+ ],
1682
1669
  "text": "you",
1683
1670
  "marker": "self",
1684
- "word": "you",
1671
+ "dead": true,
1685
1672
  "range": {
1686
1673
  "start": 0,
1687
1674
  "end": 11
1688
1675
  },
1689
- "dead": true,
1690
1676
  "types": [
1691
1677
  "self"
1692
1678
  ],
1693
- "level": 1
1679
+ "level": 0
1694
1680
  },
1695
1681
  "two": {
1696
1682
  "value": "kirk",
@@ -1738,6 +1724,10 @@
1738
1724
  [
1739
1725
  "kirk",
1740
1726
  0
1727
+ ],
1728
+ [
1729
+ "self",
1730
+ 0
1741
1731
  ]
1742
1732
  ],
1743
1733
  [
@@ -1745,10 +1735,6 @@
1745
1735
  "is",
1746
1736
  0
1747
1737
  ],
1748
- [
1749
- "kirk",
1750
- 0
1751
- ],
1752
1738
  [
1753
1739
  "self",
1754
1740
  0
@@ -1798,43 +1784,8 @@
1798
1784
  {
1799
1785
  "marker": [
1800
1786
  "self",
1801
- 1
1802
- ],
1803
- "range": {
1804
- "start": 0,
1805
- "end": 2
1806
- }
1807
- },
1808
- {
1809
- "marker": [
1810
- "is",
1811
- 0
1812
- ],
1813
- "range": {
1814
- "start": 4,
1815
- "end": 6
1816
- }
1817
- },
1818
- {
1819
- "marker": [
1820
- "kirk",
1821
1787
  0
1822
1788
  ],
1823
- "range": {
1824
- "start": 8,
1825
- "end": 11
1826
- }
1827
- }
1828
- ],
1829
- "counter": 2
1830
- },
1831
- {
1832
- "operators": [
1833
- {
1834
- "marker": [
1835
- "self",
1836
- 1
1837
- ],
1838
1789
  "range": {
1839
1790
  "start": 0,
1840
1791
  "end": 2
@@ -1861,7 +1812,7 @@
1861
1812
  }
1862
1813
  }
1863
1814
  ],
1864
- "counter": 3
1815
+ "counter": 2
1865
1816
  },
1866
1817
  {
1867
1818
  "operators": [
@@ -1876,7 +1827,7 @@
1876
1827
  }
1877
1828
  }
1878
1829
  ],
1879
- "counter": 4
1830
+ "counter": 3
1880
1831
  },
1881
1832
  {
1882
1833
  "operators": [
@@ -1891,7 +1842,7 @@
1891
1842
  }
1892
1843
  }
1893
1844
  ],
1894
- "counter": 5
1845
+ "counter": 4
1895
1846
  }
1896
1847
  ],
1897
1848
  "length": 1
@@ -1916,6 +1867,10 @@
1916
1867
  [
1917
1868
  "kirk",
1918
1869
  0
1870
+ ],
1871
+ [
1872
+ "self",
1873
+ 0
1919
1874
  ]
1920
1875
  ],
1921
1876
  [
@@ -1923,10 +1878,6 @@
1923
1878
  "is",
1924
1879
  0
1925
1880
  ],
1926
- [
1927
- "kirk",
1928
- 0
1929
- ],
1930
1881
  [
1931
1882
  "self",
1932
1883
  0
@@ -1976,43 +1927,8 @@
1976
1927
  {
1977
1928
  "marker": [
1978
1929
  "self",
1979
- 1
1980
- ],
1981
- "range": {
1982
- "start": 0,
1983
- "end": 2
1984
- }
1985
- },
1986
- {
1987
- "marker": [
1988
- "is",
1989
- 0
1990
- ],
1991
- "range": {
1992
- "start": 4,
1993
- "end": 6
1994
- }
1995
- },
1996
- {
1997
- "marker": [
1998
- "kirk",
1999
1930
  0
2000
1931
  ],
2001
- "range": {
2002
- "start": 8,
2003
- "end": 11
2004
- }
2005
- }
2006
- ],
2007
- "counter": 2
2008
- },
2009
- {
2010
- "operators": [
2011
- {
2012
- "marker": [
2013
- "self",
2014
- 1
2015
- ],
2016
1932
  "range": {
2017
1933
  "start": 0,
2018
1934
  "end": 2
@@ -2039,7 +1955,7 @@
2039
1955
  }
2040
1956
  }
2041
1957
  ],
2042
- "counter": 3
1958
+ "counter": 2
2043
1959
  },
2044
1960
  {
2045
1961
  "operators": [
@@ -2054,7 +1970,7 @@
2054
1970
  }
2055
1971
  }
2056
1972
  ],
2057
- "counter": 4
1973
+ "counter": 3
2058
1974
  },
2059
1975
  {
2060
1976
  "operators": [
@@ -2069,7 +1985,7 @@
2069
1985
  }
2070
1986
  }
2071
1987
  ],
2072
- "counter": 5
1988
+ "counter": 4
2073
1989
  }
2074
1990
  ],
2075
1991
  "length": 1
@@ -1718,20 +1718,6 @@
1718
1718
  0
1719
1719
  ]
1720
1720
  ],
1721
- [
1722
- [
1723
- "is",
1724
- 0
1725
- ],
1726
- [
1727
- "list",
1728
- 1
1729
- ],
1730
- [
1731
- "unknown",
1732
- 0
1733
- ]
1734
- ],
1735
1721
  [
1736
1722
  [
1737
1723
  "is",
@@ -6934,20 +6920,6 @@
6934
6920
  0
6935
6921
  ]
6936
6922
  ],
6937
- [
6938
- [
6939
- "is",
6940
- 0
6941
- ],
6942
- [
6943
- "list",
6944
- 1
6945
- ],
6946
- [
6947
- "unknown",
6948
- 0
6949
- ]
6950
- ],
6951
6923
  [
6952
6924
  [
6953
6925
  "is",
@@ -10240,20 +10212,6 @@
10240
10212
  0
10241
10213
  ]
10242
10214
  ],
10243
- [
10244
- [
10245
- "is",
10246
- 0
10247
- ],
10248
- [
10249
- "list",
10250
- 1
10251
- ],
10252
- [
10253
- "unknown",
10254
- 0
10255
- ]
10256
- ],
10257
10215
  [
10258
10216
  [
10259
10217
  "is",
@@ -35740,48 +35698,6 @@
35740
35698
  0
35741
35699
  ]
35742
35700
  ],
35743
- [
35744
- [
35745
- "is",
35746
- 0
35747
- ],
35748
- [
35749
- "list",
35750
- 1
35751
- ],
35752
- [
35753
- "unknown",
35754
- 0
35755
- ]
35756
- ],
35757
- [
35758
- [
35759
- "is",
35760
- 0
35761
- ],
35762
- [
35763
- "list",
35764
- 1
35765
- ],
35766
- [
35767
- "unknown",
35768
- 0
35769
- ]
35770
- ],
35771
- [
35772
- [
35773
- "is",
35774
- 0
35775
- ],
35776
- [
35777
- "list",
35778
- 1
35779
- ],
35780
- [
35781
- "unknown",
35782
- 0
35783
- ]
35784
- ],
35785
35701
  [
35786
35702
  [
35787
35703
  "is",