@vendure/admin-ui 1.6.4 → 1.7.1
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.
- package/bundles/vendure-admin-ui-catalog.umd.js +196 -20
- package/bundles/vendure-admin-ui-catalog.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-core.umd.js +292 -323
- package/bundles/vendure-admin-ui-core.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-customer.umd.js +39 -18
- package/bundles/vendure-admin-ui-customer.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-order.umd.js +141 -119
- package/bundles/vendure-admin-ui-order.umd.js.map +1 -1
- package/catalog/components/generate-product-variants/generate-product-variants.component.d.ts +3 -3
- package/catalog/components/option-value-input/option-value-input.component.d.ts +20 -8
- package/catalog/components/product-variants-editor/product-variants-editor.component.d.ts +10 -3
- package/catalog/vendure-admin-ui-catalog.metadata.json +1 -1
- package/core/common/generated-types.d.ts +89 -19
- package/core/common/utilities/configurable-operation-utils.d.ts +4 -2
- package/core/common/version.d.ts +1 -1
- package/core/data/definitions/order-definitions.d.ts +2 -0
- package/core/data/definitions/product-definitions.d.ts +1 -0
- package/core/data/providers/order-data.service.d.ts +1 -0
- package/core/data/providers/product-data.service.d.ts +1 -0
- package/core/shared/components/custom-field-control/custom-field-control.component.d.ts +6 -2
- package/core/shared/components/data-table/data-table.component.d.ts +5 -2
- package/core/shared/dynamic-form-inputs/register-dynamic-input-components.d.ts +2 -1
- package/core/shared/dynamic-form-inputs/select-form-input/select-form-input.component.d.ts +10 -2
- package/core/shared/pipes/custom-field-label.pipe.d.ts +4 -10
- package/core/vendure-admin-ui-core.metadata.json +1 -1
- package/customer/components/customer-group-list/customer-group-list.component.d.ts +6 -4
- package/customer/vendure-admin-ui-customer.metadata.json +1 -1
- package/esm2015/catalog/components/generate-product-variants/generate-product-variants.component.js +12 -5
- package/esm2015/catalog/components/option-value-input/option-value-input.component.js +62 -12
- package/esm2015/catalog/components/product-variants-editor/product-variants-editor.component.js +109 -11
- package/esm2015/core/common/generated-types.js +2 -1
- package/esm2015/core/common/introspection-result.js +191 -255
- package/esm2015/core/common/utilities/configurable-operation-utils.js +11 -8
- package/esm2015/core/common/version.js +2 -2
- package/esm2015/core/components/app-shell/app-shell.component.js +1 -1
- package/esm2015/core/components/main-nav/main-nav.component.js +1 -1
- package/esm2015/core/data/definitions/order-definitions.js +39 -25
- package/esm2015/core/data/definitions/product-definitions.js +743 -735
- package/esm2015/core/data/providers/order-data.service.js +7 -2
- package/esm2015/core/data/providers/product-data.service.js +5 -2
- package/esm2015/core/shared/components/custom-field-control/custom-field-control.component.js +9 -3
- package/esm2015/core/shared/components/data-table/data-table.component.js +9 -2
- package/esm2015/core/shared/dynamic-form-inputs/select-form-input/select-form-input.component.js +15 -2
- package/esm2015/core/shared/pipes/custom-field-label.pipe.js +4 -19
- package/esm2015/customer/components/customer-group-list/customer-group-list.component.js +25 -12
- package/esm2015/order/components/fulfill-order-dialog/fulfill-order-dialog.component.js +3 -2
- package/esm2015/order/components/fulfillment-detail/fulfillment-detail.component.js +9 -18
- package/esm2015/order/components/line-fulfillment/line-fulfillment.component.js +10 -21
- package/esm2015/order/components/order-custom-fields-card/order-custom-fields-card.component.js +30 -4
- package/esm2015/order/components/order-detail/order-detail.component.js +49 -20
- package/esm2015/order/components/order-list/order-list.component.js +22 -15
- package/esm2015/order/components/order-payment-card/order-payment-card.component.js +2 -2
- package/esm2015/order/components/order-table/order-table.component.js +1 -1
- package/fesm2015/vendure-admin-ui-catalog.js +177 -22
- package/fesm2015/vendure-admin-ui-catalog.js.map +1 -1
- package/fesm2015/vendure-admin-ui-core.js +975 -995
- package/fesm2015/vendure-admin-ui-core.js.map +1 -1
- package/fesm2015/vendure-admin-ui-customer.js +23 -11
- package/fesm2015/vendure-admin-ui-customer.js.map +1 -1
- package/fesm2015/vendure-admin-ui-order.js +116 -75
- package/fesm2015/vendure-admin-ui-order.js.map +1 -1
- package/order/components/line-fulfillment/line-fulfillment.component.d.ts +2 -2
- package/order/components/modification-detail/modification-detail.component.d.ts +1 -1
- package/order/components/order-custom-fields-card/order-custom-fields-card.component.d.ts +4 -2
- package/order/components/order-list/order-list.component.d.ts +1 -0
- package/order/vendure-admin-ui-order.metadata.json +1 -1
- package/package.json +2 -2
- package/static/i18n-messages/cs.json +6 -2
- package/static/i18n-messages/de.json +6 -2
- package/static/i18n-messages/en.json +8 -3
- package/static/i18n-messages/es.json +6 -2
- package/static/i18n-messages/fr.json +6 -2
- package/static/i18n-messages/it.json +6 -2
- package/static/i18n-messages/pl.json +6 -2
- package/static/i18n-messages/pt_BR.json +6 -2
- package/static/i18n-messages/pt_PT.json +6 -2
- package/static/i18n-messages/ru.json +6 -2
- package/static/i18n-messages/uk.json +6 -2
- package/static/i18n-messages/zh_Hans.json +6 -2
- package/static/i18n-messages/zh_Hant.json +6 -2
- package/static/styles/_variables.scss +3 -0
- package/static/styles/global/_sass-overrides.scss +3 -0
- package/static/styles/global/_utilities.scss +1 -0
- package/static/styles/styles.scss +1 -0
- package/static/styles/ui-extension-theme.scss +1 -0
- package/static/theme.min.css +1 -1
|
@@ -1799,739 +1799,747 @@ class ClientDataService {
|
|
|
1799
1799
|
}
|
|
1800
1800
|
}
|
|
1801
1801
|
|
|
1802
|
-
const ASSET_FRAGMENT = gql `
|
|
1803
|
-
fragment Asset on Asset {
|
|
1804
|
-
id
|
|
1805
|
-
createdAt
|
|
1806
|
-
updatedAt
|
|
1807
|
-
name
|
|
1808
|
-
fileSize
|
|
1809
|
-
mimeType
|
|
1810
|
-
type
|
|
1811
|
-
preview
|
|
1812
|
-
source
|
|
1813
|
-
width
|
|
1814
|
-
height
|
|
1815
|
-
focalPoint {
|
|
1816
|
-
x
|
|
1817
|
-
y
|
|
1818
|
-
}
|
|
1819
|
-
}
|
|
1820
|
-
`;
|
|
1821
|
-
const TAG_FRAGMENT = gql `
|
|
1822
|
-
fragment Tag on Tag {
|
|
1823
|
-
id
|
|
1824
|
-
value
|
|
1825
|
-
}
|
|
1826
|
-
`;
|
|
1827
|
-
const PRODUCT_OPTION_GROUP_FRAGMENT = gql `
|
|
1828
|
-
fragment ProductOptionGroup on ProductOptionGroup {
|
|
1829
|
-
id
|
|
1830
|
-
createdAt
|
|
1831
|
-
updatedAt
|
|
1832
|
-
code
|
|
1833
|
-
languageCode
|
|
1834
|
-
name
|
|
1835
|
-
translations {
|
|
1836
|
-
id
|
|
1837
|
-
languageCode
|
|
1838
|
-
name
|
|
1839
|
-
}
|
|
1840
|
-
}
|
|
1841
|
-
`;
|
|
1842
|
-
const PRODUCT_OPTION_FRAGMENT = gql `
|
|
1843
|
-
fragment ProductOption on ProductOption {
|
|
1844
|
-
id
|
|
1845
|
-
createdAt
|
|
1846
|
-
updatedAt
|
|
1847
|
-
code
|
|
1848
|
-
languageCode
|
|
1849
|
-
name
|
|
1850
|
-
groupId
|
|
1851
|
-
translations {
|
|
1852
|
-
id
|
|
1853
|
-
languageCode
|
|
1854
|
-
name
|
|
1855
|
-
}
|
|
1856
|
-
}
|
|
1857
|
-
`;
|
|
1858
|
-
const PRODUCT_VARIANT_FRAGMENT = gql `
|
|
1859
|
-
fragment ProductVariant on ProductVariant {
|
|
1860
|
-
id
|
|
1861
|
-
createdAt
|
|
1862
|
-
updatedAt
|
|
1863
|
-
enabled
|
|
1864
|
-
languageCode
|
|
1865
|
-
name
|
|
1866
|
-
price
|
|
1867
|
-
currencyCode
|
|
1868
|
-
priceWithTax
|
|
1869
|
-
stockOnHand
|
|
1870
|
-
stockAllocated
|
|
1871
|
-
trackInventory
|
|
1872
|
-
outOfStockThreshold
|
|
1873
|
-
useGlobalOutOfStockThreshold
|
|
1874
|
-
taxRateApplied {
|
|
1875
|
-
id
|
|
1876
|
-
name
|
|
1877
|
-
value
|
|
1878
|
-
}
|
|
1879
|
-
taxCategory {
|
|
1880
|
-
id
|
|
1881
|
-
name
|
|
1882
|
-
}
|
|
1883
|
-
sku
|
|
1884
|
-
options {
|
|
1885
|
-
...ProductOption
|
|
1886
|
-
}
|
|
1887
|
-
facetValues {
|
|
1888
|
-
id
|
|
1889
|
-
code
|
|
1890
|
-
name
|
|
1891
|
-
facet {
|
|
1892
|
-
id
|
|
1893
|
-
name
|
|
1894
|
-
}
|
|
1895
|
-
}
|
|
1896
|
-
featuredAsset {
|
|
1897
|
-
...Asset
|
|
1898
|
-
}
|
|
1899
|
-
assets {
|
|
1900
|
-
...Asset
|
|
1901
|
-
}
|
|
1902
|
-
translations {
|
|
1903
|
-
id
|
|
1904
|
-
languageCode
|
|
1905
|
-
name
|
|
1906
|
-
}
|
|
1907
|
-
channels {
|
|
1908
|
-
id
|
|
1909
|
-
code
|
|
1910
|
-
}
|
|
1911
|
-
}
|
|
1912
|
-
${PRODUCT_OPTION_FRAGMENT}
|
|
1913
|
-
${ASSET_FRAGMENT}
|
|
1914
|
-
`;
|
|
1915
|
-
const PRODUCT_DETAIL_FRAGMENT = gql `
|
|
1916
|
-
fragment ProductDetail on Product {
|
|
1917
|
-
id
|
|
1918
|
-
createdAt
|
|
1919
|
-
updatedAt
|
|
1920
|
-
enabled
|
|
1921
|
-
languageCode
|
|
1922
|
-
name
|
|
1923
|
-
slug
|
|
1924
|
-
description
|
|
1925
|
-
featuredAsset {
|
|
1926
|
-
...Asset
|
|
1927
|
-
}
|
|
1928
|
-
assets {
|
|
1929
|
-
...Asset
|
|
1930
|
-
}
|
|
1931
|
-
translations {
|
|
1932
|
-
id
|
|
1933
|
-
languageCode
|
|
1934
|
-
name
|
|
1935
|
-
slug
|
|
1936
|
-
description
|
|
1937
|
-
}
|
|
1938
|
-
optionGroups {
|
|
1939
|
-
...ProductOptionGroup
|
|
1940
|
-
}
|
|
1941
|
-
facetValues {
|
|
1942
|
-
id
|
|
1943
|
-
code
|
|
1944
|
-
name
|
|
1945
|
-
facet {
|
|
1946
|
-
id
|
|
1947
|
-
name
|
|
1948
|
-
}
|
|
1949
|
-
}
|
|
1950
|
-
channels {
|
|
1951
|
-
id
|
|
1952
|
-
code
|
|
1953
|
-
}
|
|
1954
|
-
}
|
|
1955
|
-
${PRODUCT_OPTION_GROUP_FRAGMENT}
|
|
1956
|
-
${ASSET_FRAGMENT}
|
|
1957
|
-
`;
|
|
1958
|
-
const PRODUCT_OPTION_GROUP_WITH_OPTIONS_FRAGMENT = gql `
|
|
1959
|
-
fragment ProductOptionGroupWithOptions on ProductOptionGroup {
|
|
1960
|
-
id
|
|
1961
|
-
createdAt
|
|
1962
|
-
updatedAt
|
|
1963
|
-
languageCode
|
|
1964
|
-
code
|
|
1965
|
-
name
|
|
1966
|
-
translations {
|
|
1967
|
-
id
|
|
1968
|
-
name
|
|
1969
|
-
}
|
|
1970
|
-
options {
|
|
1971
|
-
id
|
|
1972
|
-
languageCode
|
|
1973
|
-
name
|
|
1974
|
-
code
|
|
1975
|
-
translations {
|
|
1976
|
-
name
|
|
1977
|
-
}
|
|
1978
|
-
}
|
|
1979
|
-
}
|
|
1802
|
+
const ASSET_FRAGMENT = gql `
|
|
1803
|
+
fragment Asset on Asset {
|
|
1804
|
+
id
|
|
1805
|
+
createdAt
|
|
1806
|
+
updatedAt
|
|
1807
|
+
name
|
|
1808
|
+
fileSize
|
|
1809
|
+
mimeType
|
|
1810
|
+
type
|
|
1811
|
+
preview
|
|
1812
|
+
source
|
|
1813
|
+
width
|
|
1814
|
+
height
|
|
1815
|
+
focalPoint {
|
|
1816
|
+
x
|
|
1817
|
+
y
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1980
1820
|
`;
|
|
1981
|
-
const
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
items {
|
|
1987
|
-
...ProductVariant
|
|
1988
|
-
}
|
|
1989
|
-
totalItems
|
|
1990
|
-
}
|
|
1991
|
-
}
|
|
1992
|
-
}
|
|
1993
|
-
${PRODUCT_DETAIL_FRAGMENT}
|
|
1994
|
-
${PRODUCT_VARIANT_FRAGMENT}
|
|
1821
|
+
const TAG_FRAGMENT = gql `
|
|
1822
|
+
fragment Tag on Tag {
|
|
1823
|
+
id
|
|
1824
|
+
value
|
|
1825
|
+
}
|
|
1995
1826
|
`;
|
|
1996
|
-
const
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
1827
|
+
const PRODUCT_OPTION_GROUP_FRAGMENT = gql `
|
|
1828
|
+
fragment ProductOptionGroup on ProductOptionGroup {
|
|
1829
|
+
id
|
|
1830
|
+
createdAt
|
|
1831
|
+
updatedAt
|
|
1832
|
+
code
|
|
1833
|
+
languageCode
|
|
1834
|
+
name
|
|
1835
|
+
translations {
|
|
1836
|
+
id
|
|
1837
|
+
languageCode
|
|
1838
|
+
name
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
2010
1841
|
`;
|
|
2011
|
-
const
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
1842
|
+
const PRODUCT_OPTION_FRAGMENT = gql `
|
|
1843
|
+
fragment ProductOption on ProductOption {
|
|
1844
|
+
id
|
|
1845
|
+
createdAt
|
|
1846
|
+
updatedAt
|
|
1847
|
+
code
|
|
1848
|
+
languageCode
|
|
1849
|
+
name
|
|
1850
|
+
groupId
|
|
1851
|
+
translations {
|
|
1852
|
+
id
|
|
1853
|
+
languageCode
|
|
1854
|
+
name
|
|
1855
|
+
}
|
|
1856
|
+
}
|
|
2018
1857
|
`;
|
|
2019
|
-
const
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
1858
|
+
const PRODUCT_VARIANT_FRAGMENT = gql `
|
|
1859
|
+
fragment ProductVariant on ProductVariant {
|
|
1860
|
+
id
|
|
1861
|
+
createdAt
|
|
1862
|
+
updatedAt
|
|
1863
|
+
enabled
|
|
1864
|
+
languageCode
|
|
1865
|
+
name
|
|
1866
|
+
price
|
|
1867
|
+
currencyCode
|
|
1868
|
+
priceWithTax
|
|
1869
|
+
stockOnHand
|
|
1870
|
+
stockAllocated
|
|
1871
|
+
trackInventory
|
|
1872
|
+
outOfStockThreshold
|
|
1873
|
+
useGlobalOutOfStockThreshold
|
|
1874
|
+
taxRateApplied {
|
|
1875
|
+
id
|
|
1876
|
+
name
|
|
1877
|
+
value
|
|
1878
|
+
}
|
|
1879
|
+
taxCategory {
|
|
1880
|
+
id
|
|
1881
|
+
name
|
|
1882
|
+
}
|
|
1883
|
+
sku
|
|
1884
|
+
options {
|
|
1885
|
+
...ProductOption
|
|
1886
|
+
}
|
|
1887
|
+
facetValues {
|
|
1888
|
+
id
|
|
1889
|
+
code
|
|
1890
|
+
name
|
|
1891
|
+
facet {
|
|
1892
|
+
id
|
|
1893
|
+
name
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
featuredAsset {
|
|
1897
|
+
...Asset
|
|
1898
|
+
}
|
|
1899
|
+
assets {
|
|
1900
|
+
...Asset
|
|
1901
|
+
}
|
|
1902
|
+
translations {
|
|
1903
|
+
id
|
|
1904
|
+
languageCode
|
|
1905
|
+
name
|
|
1906
|
+
}
|
|
1907
|
+
channels {
|
|
1908
|
+
id
|
|
1909
|
+
code
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1912
|
+
${PRODUCT_OPTION_FRAGMENT}
|
|
1913
|
+
${ASSET_FRAGMENT}
|
|
2026
1914
|
`;
|
|
2027
|
-
const
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
1915
|
+
const PRODUCT_DETAIL_FRAGMENT = gql `
|
|
1916
|
+
fragment ProductDetail on Product {
|
|
1917
|
+
id
|
|
1918
|
+
createdAt
|
|
1919
|
+
updatedAt
|
|
1920
|
+
enabled
|
|
1921
|
+
languageCode
|
|
1922
|
+
name
|
|
1923
|
+
slug
|
|
1924
|
+
description
|
|
1925
|
+
featuredAsset {
|
|
1926
|
+
...Asset
|
|
1927
|
+
}
|
|
1928
|
+
assets {
|
|
1929
|
+
...Asset
|
|
1930
|
+
}
|
|
1931
|
+
translations {
|
|
1932
|
+
id
|
|
1933
|
+
languageCode
|
|
1934
|
+
name
|
|
1935
|
+
slug
|
|
1936
|
+
description
|
|
1937
|
+
}
|
|
1938
|
+
optionGroups {
|
|
1939
|
+
...ProductOptionGroup
|
|
1940
|
+
}
|
|
1941
|
+
facetValues {
|
|
1942
|
+
id
|
|
1943
|
+
code
|
|
1944
|
+
name
|
|
1945
|
+
facet {
|
|
1946
|
+
id
|
|
1947
|
+
name
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1950
|
+
channels {
|
|
1951
|
+
id
|
|
1952
|
+
code
|
|
1953
|
+
}
|
|
1954
|
+
}
|
|
1955
|
+
${PRODUCT_OPTION_GROUP_FRAGMENT}
|
|
1956
|
+
${ASSET_FRAGMENT}
|
|
2034
1957
|
`;
|
|
2035
|
-
const
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
1958
|
+
const PRODUCT_OPTION_GROUP_WITH_OPTIONS_FRAGMENT = gql `
|
|
1959
|
+
fragment ProductOptionGroupWithOptions on ProductOptionGroup {
|
|
1960
|
+
id
|
|
1961
|
+
createdAt
|
|
1962
|
+
updatedAt
|
|
1963
|
+
languageCode
|
|
1964
|
+
code
|
|
1965
|
+
name
|
|
1966
|
+
translations {
|
|
1967
|
+
id
|
|
1968
|
+
name
|
|
1969
|
+
}
|
|
1970
|
+
options {
|
|
1971
|
+
id
|
|
1972
|
+
languageCode
|
|
1973
|
+
name
|
|
1974
|
+
code
|
|
1975
|
+
translations {
|
|
1976
|
+
name
|
|
1977
|
+
}
|
|
1978
|
+
}
|
|
1979
|
+
}
|
|
2042
1980
|
`;
|
|
2043
|
-
const
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
...
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
1981
|
+
const UPDATE_PRODUCT = gql `
|
|
1982
|
+
mutation UpdateProduct($input: UpdateProductInput!, $variantListOptions: ProductVariantListOptions) {
|
|
1983
|
+
updateProduct(input: $input) {
|
|
1984
|
+
...ProductDetail
|
|
1985
|
+
variantList(options: $variantListOptions) {
|
|
1986
|
+
items {
|
|
1987
|
+
...ProductVariant
|
|
1988
|
+
}
|
|
1989
|
+
totalItems
|
|
1990
|
+
}
|
|
1991
|
+
}
|
|
1992
|
+
}
|
|
1993
|
+
${PRODUCT_DETAIL_FRAGMENT}
|
|
1994
|
+
${PRODUCT_VARIANT_FRAGMENT}
|
|
1995
|
+
`;
|
|
1996
|
+
const CREATE_PRODUCT = gql `
|
|
1997
|
+
mutation CreateProduct($input: CreateProductInput!, $variantListOptions: ProductVariantListOptions) {
|
|
1998
|
+
createProduct(input: $input) {
|
|
1999
|
+
...ProductDetail
|
|
2000
|
+
variantList(options: $variantListOptions) {
|
|
2001
|
+
items {
|
|
2002
|
+
...ProductVariant
|
|
2003
|
+
}
|
|
2004
|
+
totalItems
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
2007
|
+
}
|
|
2008
|
+
${PRODUCT_DETAIL_FRAGMENT}
|
|
2009
|
+
${PRODUCT_VARIANT_FRAGMENT}
|
|
2050
2010
|
`;
|
|
2051
|
-
const
|
|
2052
|
-
mutation
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
code
|
|
2059
|
-
groupId
|
|
2060
|
-
}
|
|
2061
|
-
}
|
|
2011
|
+
const DELETE_PRODUCT = gql `
|
|
2012
|
+
mutation DeleteProduct($id: ID!) {
|
|
2013
|
+
deleteProduct(id: $id) {
|
|
2014
|
+
result
|
|
2015
|
+
message
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2062
2018
|
`;
|
|
2063
|
-
const
|
|
2064
|
-
mutation
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
id
|
|
2071
|
-
createdAt
|
|
2072
|
-
updatedAt
|
|
2073
|
-
code
|
|
2074
|
-
options {
|
|
2075
|
-
id
|
|
2076
|
-
createdAt
|
|
2077
|
-
updatedAt
|
|
2078
|
-
code
|
|
2079
|
-
}
|
|
2080
|
-
}
|
|
2081
|
-
}
|
|
2082
|
-
}
|
|
2019
|
+
const CREATE_PRODUCT_VARIANTS = gql `
|
|
2020
|
+
mutation CreateProductVariants($input: [CreateProductVariantInput!]!) {
|
|
2021
|
+
createProductVariants(input: $input) {
|
|
2022
|
+
...ProductVariant
|
|
2023
|
+
}
|
|
2024
|
+
}
|
|
2025
|
+
${PRODUCT_VARIANT_FRAGMENT}
|
|
2083
2026
|
`;
|
|
2084
|
-
const
|
|
2085
|
-
mutation
|
|
2086
|
-
|
|
2087
|
-
...
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
optionGroups {
|
|
2092
|
-
id
|
|
2093
|
-
createdAt
|
|
2094
|
-
updatedAt
|
|
2095
|
-
code
|
|
2096
|
-
options {
|
|
2097
|
-
id
|
|
2098
|
-
createdAt
|
|
2099
|
-
updatedAt
|
|
2100
|
-
code
|
|
2101
|
-
}
|
|
2102
|
-
}
|
|
2103
|
-
}
|
|
2104
|
-
...ErrorResult
|
|
2105
|
-
}
|
|
2106
|
-
}
|
|
2107
|
-
${ERROR_RESULT_FRAGMENT}
|
|
2027
|
+
const UPDATE_PRODUCT_VARIANTS = gql `
|
|
2028
|
+
mutation UpdateProductVariants($input: [UpdateProductVariantInput!]!) {
|
|
2029
|
+
updateProductVariants(input: $input) {
|
|
2030
|
+
...ProductVariant
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
${PRODUCT_VARIANT_FRAGMENT}
|
|
2108
2034
|
`;
|
|
2109
|
-
const
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
...
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
}
|
|
2117
|
-
totalItems
|
|
2118
|
-
}
|
|
2119
|
-
}
|
|
2120
|
-
}
|
|
2121
|
-
${PRODUCT_DETAIL_FRAGMENT}
|
|
2122
|
-
${PRODUCT_VARIANT_FRAGMENT}
|
|
2035
|
+
const CREATE_PRODUCT_OPTION_GROUP = gql `
|
|
2036
|
+
mutation CreateProductOptionGroup($input: CreateProductOptionGroupInput!) {
|
|
2037
|
+
createProductOptionGroup(input: $input) {
|
|
2038
|
+
...ProductOptionGroupWithOptions
|
|
2039
|
+
}
|
|
2040
|
+
}
|
|
2041
|
+
${PRODUCT_OPTION_GROUP_WITH_OPTIONS_FRAGMENT}
|
|
2123
2042
|
`;
|
|
2124
|
-
const
|
|
2125
|
-
query
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
}
|
|
2132
|
-
}
|
|
2133
|
-
}
|
|
2134
|
-
${ASSET_FRAGMENT}
|
|
2043
|
+
const GET_PRODUCT_OPTION_GROUP = gql `
|
|
2044
|
+
query GetProductOptionGroup($id: ID!) {
|
|
2045
|
+
productOptionGroup(id: $id) {
|
|
2046
|
+
...ProductOptionGroupWithOptions
|
|
2047
|
+
}
|
|
2048
|
+
}
|
|
2049
|
+
${PRODUCT_OPTION_GROUP_WITH_OPTIONS_FRAGMENT}
|
|
2135
2050
|
`;
|
|
2136
|
-
const
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
featuredAsset {
|
|
2148
|
-
id
|
|
2149
|
-
createdAt
|
|
2150
|
-
updatedAt
|
|
2151
|
-
preview
|
|
2152
|
-
}
|
|
2153
|
-
}
|
|
2154
|
-
totalItems
|
|
2155
|
-
}
|
|
2156
|
-
}
|
|
2051
|
+
const ADD_OPTION_TO_GROUP = gql `
|
|
2052
|
+
mutation AddOptionToGroup($input: CreateProductOptionInput!) {
|
|
2053
|
+
createProductOption(input: $input) {
|
|
2054
|
+
id
|
|
2055
|
+
createdAt
|
|
2056
|
+
updatedAt
|
|
2057
|
+
name
|
|
2058
|
+
code
|
|
2059
|
+
groupId
|
|
2060
|
+
}
|
|
2061
|
+
}
|
|
2157
2062
|
`;
|
|
2158
|
-
const
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
id
|
|
2162
|
-
createdAt
|
|
2163
|
-
updatedAt
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2063
|
+
const ADD_OPTION_GROUP_TO_PRODUCT = gql `
|
|
2064
|
+
mutation AddOptionGroupToProduct($productId: ID!, $optionGroupId: ID!) {
|
|
2065
|
+
addOptionGroupToProduct(productId: $productId, optionGroupId: $optionGroupId) {
|
|
2066
|
+
id
|
|
2067
|
+
createdAt
|
|
2068
|
+
updatedAt
|
|
2069
|
+
optionGroups {
|
|
2070
|
+
id
|
|
2071
|
+
createdAt
|
|
2072
|
+
updatedAt
|
|
2073
|
+
code
|
|
2074
|
+
options {
|
|
2075
|
+
id
|
|
2076
|
+
createdAt
|
|
2077
|
+
updatedAt
|
|
2078
|
+
code
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2177
2083
|
`;
|
|
2178
|
-
const
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2084
|
+
const REMOVE_OPTION_GROUP_FROM_PRODUCT = gql `
|
|
2085
|
+
mutation RemoveOptionGroupFromProduct($productId: ID!, $optionGroupId: ID!) {
|
|
2086
|
+
removeOptionGroupFromProduct(productId: $productId, optionGroupId: $optionGroupId) {
|
|
2087
|
+
... on Product {
|
|
2088
|
+
id
|
|
2089
|
+
createdAt
|
|
2090
|
+
updatedAt
|
|
2091
|
+
optionGroups {
|
|
2092
|
+
id
|
|
2093
|
+
createdAt
|
|
2094
|
+
updatedAt
|
|
2095
|
+
code
|
|
2096
|
+
options {
|
|
2097
|
+
id
|
|
2098
|
+
createdAt
|
|
2099
|
+
updatedAt
|
|
2100
|
+
code
|
|
2101
|
+
}
|
|
2102
|
+
}
|
|
2103
|
+
}
|
|
2104
|
+
...ErrorResult
|
|
2105
|
+
}
|
|
2106
|
+
}
|
|
2107
|
+
${ERROR_RESULT_FRAGMENT}
|
|
2192
2108
|
`;
|
|
2193
|
-
const
|
|
2194
|
-
query
|
|
2195
|
-
|
|
2196
|
-
...
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2109
|
+
const GET_PRODUCT_WITH_VARIANTS = gql `
|
|
2110
|
+
query GetProductWithVariants($id: ID!, $variantListOptions: ProductVariantListOptions) {
|
|
2111
|
+
product(id: $id) {
|
|
2112
|
+
...ProductDetail
|
|
2113
|
+
variantList(options: $variantListOptions) {
|
|
2114
|
+
items {
|
|
2115
|
+
...ProductVariant
|
|
2116
|
+
}
|
|
2117
|
+
totalItems
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
2120
|
+
}
|
|
2121
|
+
${PRODUCT_DETAIL_FRAGMENT}
|
|
2122
|
+
${PRODUCT_VARIANT_FRAGMENT}
|
|
2204
2123
|
`;
|
|
2205
|
-
const
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
}
|
|
2217
|
-
}
|
|
2218
|
-
}
|
|
2219
|
-
${ASSET_FRAGMENT}
|
|
2220
|
-
${TAG_FRAGMENT}
|
|
2124
|
+
const GET_PRODUCT_SIMPLE = gql `
|
|
2125
|
+
query GetProductSimple($id: ID!) {
|
|
2126
|
+
product(id: $id) {
|
|
2127
|
+
id
|
|
2128
|
+
name
|
|
2129
|
+
featuredAsset {
|
|
2130
|
+
...Asset
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
}
|
|
2134
|
+
${ASSET_FRAGMENT}
|
|
2221
2135
|
`;
|
|
2222
|
-
const
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2136
|
+
const GET_PRODUCT_LIST = gql `
|
|
2137
|
+
query GetProductList($options: ProductListOptions) {
|
|
2138
|
+
products(options: $options) {
|
|
2139
|
+
items {
|
|
2140
|
+
id
|
|
2141
|
+
createdAt
|
|
2142
|
+
updatedAt
|
|
2143
|
+
enabled
|
|
2144
|
+
languageCode
|
|
2145
|
+
name
|
|
2146
|
+
slug
|
|
2147
|
+
featuredAsset {
|
|
2148
|
+
id
|
|
2149
|
+
createdAt
|
|
2150
|
+
updatedAt
|
|
2151
|
+
preview
|
|
2152
|
+
}
|
|
2153
|
+
}
|
|
2154
|
+
totalItems
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2233
2157
|
`;
|
|
2234
|
-
const
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2158
|
+
const GET_PRODUCT_OPTION_GROUPS = gql `
|
|
2159
|
+
query GetProductOptionGroups($filterTerm: String) {
|
|
2160
|
+
productOptionGroups(filterTerm: $filterTerm) {
|
|
2161
|
+
id
|
|
2162
|
+
createdAt
|
|
2163
|
+
updatedAt
|
|
2164
|
+
languageCode
|
|
2165
|
+
code
|
|
2166
|
+
name
|
|
2167
|
+
options {
|
|
2168
|
+
id
|
|
2169
|
+
createdAt
|
|
2170
|
+
updatedAt
|
|
2171
|
+
languageCode
|
|
2172
|
+
code
|
|
2173
|
+
name
|
|
2174
|
+
}
|
|
2175
|
+
}
|
|
2176
|
+
}
|
|
2241
2177
|
`;
|
|
2242
|
-
const
|
|
2243
|
-
query
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2178
|
+
const GET_ASSET_LIST = gql `
|
|
2179
|
+
query GetAssetList($options: AssetListOptions) {
|
|
2180
|
+
assets(options: $options) {
|
|
2181
|
+
items {
|
|
2182
|
+
...Asset
|
|
2183
|
+
tags {
|
|
2184
|
+
...Tag
|
|
2185
|
+
}
|
|
2186
|
+
}
|
|
2187
|
+
totalItems
|
|
2188
|
+
}
|
|
2189
|
+
}
|
|
2190
|
+
${ASSET_FRAGMENT}
|
|
2191
|
+
${TAG_FRAGMENT}
|
|
2192
|
+
`;
|
|
2193
|
+
const GET_ASSET = gql `
|
|
2194
|
+
query GetAsset($id: ID!) {
|
|
2195
|
+
asset(id: $id) {
|
|
2196
|
+
...Asset
|
|
2197
|
+
tags {
|
|
2198
|
+
...Tag
|
|
2199
|
+
}
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2202
|
+
${ASSET_FRAGMENT}
|
|
2203
|
+
${TAG_FRAGMENT}
|
|
2204
|
+
`;
|
|
2205
|
+
const CREATE_ASSETS = gql `
|
|
2206
|
+
mutation CreateAssets($input: [CreateAssetInput!]!) {
|
|
2207
|
+
createAssets(input: $input) {
|
|
2208
|
+
...Asset
|
|
2209
|
+
... on Asset {
|
|
2210
|
+
tags {
|
|
2211
|
+
...Tag
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
... on ErrorResult {
|
|
2215
|
+
message
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
${ASSET_FRAGMENT}
|
|
2220
|
+
${TAG_FRAGMENT}
|
|
2221
|
+
`;
|
|
2222
|
+
const UPDATE_ASSET = gql `
|
|
2223
|
+
mutation UpdateAsset($input: UpdateAssetInput!) {
|
|
2224
|
+
updateAsset(input: $input) {
|
|
2225
|
+
...Asset
|
|
2226
|
+
tags {
|
|
2227
|
+
...Tag
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
${ASSET_FRAGMENT}
|
|
2232
|
+
${TAG_FRAGMENT}
|
|
2288
2233
|
`;
|
|
2289
|
-
const
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
id
|
|
2297
|
-
preview
|
|
2298
|
-
focalPoint {
|
|
2299
|
-
x
|
|
2300
|
-
y
|
|
2301
|
-
}
|
|
2302
|
-
}
|
|
2303
|
-
price {
|
|
2304
|
-
... on SinglePrice {
|
|
2305
|
-
value
|
|
2306
|
-
}
|
|
2307
|
-
}
|
|
2308
|
-
priceWithTax {
|
|
2309
|
-
... on SinglePrice {
|
|
2310
|
-
value
|
|
2311
|
-
}
|
|
2312
|
-
}
|
|
2313
|
-
sku
|
|
2314
|
-
}
|
|
2315
|
-
}
|
|
2316
|
-
}
|
|
2234
|
+
const DELETE_ASSETS = gql `
|
|
2235
|
+
mutation DeleteAssets($input: DeleteAssetsInput!) {
|
|
2236
|
+
deleteAssets(input: $input) {
|
|
2237
|
+
result
|
|
2238
|
+
message
|
|
2239
|
+
}
|
|
2240
|
+
}
|
|
2317
2241
|
`;
|
|
2318
|
-
const
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2242
|
+
const SEARCH_PRODUCTS = gql `
|
|
2243
|
+
query SearchProducts($input: SearchInput!) {
|
|
2244
|
+
search(input: $input) {
|
|
2245
|
+
totalItems
|
|
2246
|
+
items {
|
|
2247
|
+
enabled
|
|
2248
|
+
productId
|
|
2249
|
+
productName
|
|
2250
|
+
productAsset {
|
|
2251
|
+
id
|
|
2252
|
+
preview
|
|
2253
|
+
focalPoint {
|
|
2254
|
+
x
|
|
2255
|
+
y
|
|
2256
|
+
}
|
|
2257
|
+
}
|
|
2258
|
+
productVariantId
|
|
2259
|
+
productVariantName
|
|
2260
|
+
productVariantAsset {
|
|
2261
|
+
id
|
|
2262
|
+
preview
|
|
2263
|
+
focalPoint {
|
|
2264
|
+
x
|
|
2265
|
+
y
|
|
2266
|
+
}
|
|
2267
|
+
}
|
|
2268
|
+
sku
|
|
2269
|
+
channelIds
|
|
2270
|
+
}
|
|
2271
|
+
facetValues {
|
|
2272
|
+
count
|
|
2273
|
+
facetValue {
|
|
2274
|
+
id
|
|
2275
|
+
createdAt
|
|
2276
|
+
updatedAt
|
|
2277
|
+
name
|
|
2278
|
+
facet {
|
|
2279
|
+
id
|
|
2280
|
+
createdAt
|
|
2281
|
+
updatedAt
|
|
2282
|
+
name
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2325
2288
|
`;
|
|
2326
|
-
const
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2289
|
+
const PRODUCT_SELECTOR_SEARCH = gql `
|
|
2290
|
+
query ProductSelectorSearch($term: String!, $take: Int!) {
|
|
2291
|
+
search(input: { groupByProduct: false, term: $term, take: $take }) {
|
|
2292
|
+
items {
|
|
2293
|
+
productVariantId
|
|
2294
|
+
productVariantName
|
|
2295
|
+
productAsset {
|
|
2296
|
+
id
|
|
2297
|
+
preview
|
|
2298
|
+
focalPoint {
|
|
2299
|
+
x
|
|
2300
|
+
y
|
|
2301
|
+
}
|
|
2302
|
+
}
|
|
2303
|
+
price {
|
|
2304
|
+
... on SinglePrice {
|
|
2305
|
+
value
|
|
2306
|
+
}
|
|
2307
|
+
}
|
|
2308
|
+
priceWithTax {
|
|
2309
|
+
... on SinglePrice {
|
|
2310
|
+
value
|
|
2311
|
+
}
|
|
2312
|
+
}
|
|
2313
|
+
sku
|
|
2314
|
+
}
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
2333
2317
|
`;
|
|
2334
|
-
const
|
|
2335
|
-
mutation
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
}
|
|
2318
|
+
const UPDATE_PRODUCT_OPTION_GROUP = gql `
|
|
2319
|
+
mutation UpdateProductOptionGroup($input: UpdateProductOptionGroupInput!) {
|
|
2320
|
+
updateProductOptionGroup(input: $input) {
|
|
2321
|
+
...ProductOptionGroup
|
|
2322
|
+
}
|
|
2323
|
+
}
|
|
2324
|
+
${PRODUCT_OPTION_GROUP_FRAGMENT}
|
|
2341
2325
|
`;
|
|
2342
|
-
const
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
options {
|
|
2366
|
-
id
|
|
2367
|
-
createdAt
|
|
2368
|
-
updatedAt
|
|
2369
|
-
name
|
|
2370
|
-
code
|
|
2371
|
-
groupId
|
|
2372
|
-
}
|
|
2373
|
-
}
|
|
2374
|
-
}
|
|
2375
|
-
}
|
|
2376
|
-
${PRODUCT_OPTION_GROUP_FRAGMENT}
|
|
2377
|
-
${PRODUCT_OPTION_FRAGMENT}
|
|
2326
|
+
const UPDATE_PRODUCT_OPTION = gql `
|
|
2327
|
+
mutation UpdateProductOption($input: UpdateProductOptionInput!) {
|
|
2328
|
+
updateProductOption(input: $input) {
|
|
2329
|
+
...ProductOption
|
|
2330
|
+
}
|
|
2331
|
+
}
|
|
2332
|
+
${PRODUCT_OPTION_FRAGMENT}
|
|
2333
|
+
`;
|
|
2334
|
+
const DELETE_PRODUCT_OPTION = gql `
|
|
2335
|
+
mutation DeleteProductOption($id: ID!) {
|
|
2336
|
+
deleteProductOption(id: $id) {
|
|
2337
|
+
result
|
|
2338
|
+
message
|
|
2339
|
+
}
|
|
2340
|
+
}
|
|
2341
|
+
`;
|
|
2342
|
+
const DELETE_PRODUCT_VARIANT = gql `
|
|
2343
|
+
mutation DeleteProductVariant($id: ID!) {
|
|
2344
|
+
deleteProductVariant(id: $id) {
|
|
2345
|
+
result
|
|
2346
|
+
message
|
|
2347
|
+
}
|
|
2348
|
+
}
|
|
2378
2349
|
`;
|
|
2379
|
-
const
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
id
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2350
|
+
const GET_PRODUCT_VARIANT_OPTIONS = gql `
|
|
2351
|
+
query GetProductVariantOptions($id: ID!) {
|
|
2352
|
+
product(id: $id) {
|
|
2353
|
+
id
|
|
2354
|
+
createdAt
|
|
2355
|
+
updatedAt
|
|
2356
|
+
name
|
|
2357
|
+
optionGroups {
|
|
2358
|
+
...ProductOptionGroup
|
|
2359
|
+
options {
|
|
2360
|
+
...ProductOption
|
|
2361
|
+
}
|
|
2362
|
+
}
|
|
2363
|
+
variants {
|
|
2364
|
+
id
|
|
2365
|
+
createdAt
|
|
2366
|
+
updatedAt
|
|
2367
|
+
enabled
|
|
2368
|
+
name
|
|
2369
|
+
sku
|
|
2370
|
+
price
|
|
2371
|
+
stockOnHand
|
|
2372
|
+
enabled
|
|
2373
|
+
options {
|
|
2374
|
+
id
|
|
2375
|
+
createdAt
|
|
2376
|
+
updatedAt
|
|
2377
|
+
name
|
|
2378
|
+
code
|
|
2379
|
+
groupId
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
}
|
|
2384
|
+
${PRODUCT_OPTION_GROUP_FRAGMENT}
|
|
2385
|
+
${PRODUCT_OPTION_FRAGMENT}
|
|
2389
2386
|
`;
|
|
2390
|
-
const
|
|
2391
|
-
mutation
|
|
2392
|
-
|
|
2393
|
-
id
|
|
2394
|
-
channels {
|
|
2395
|
-
id
|
|
2396
|
-
code
|
|
2397
|
-
}
|
|
2398
|
-
}
|
|
2399
|
-
}
|
|
2387
|
+
const ASSIGN_PRODUCTS_TO_CHANNEL = gql `
|
|
2388
|
+
mutation AssignProductsToChannel($input: AssignProductsToChannelInput!) {
|
|
2389
|
+
assignProductsToChannel(input: $input) {
|
|
2390
|
+
id
|
|
2391
|
+
channels {
|
|
2392
|
+
id
|
|
2393
|
+
code
|
|
2394
|
+
}
|
|
2395
|
+
}
|
|
2396
|
+
}
|
|
2400
2397
|
`;
|
|
2401
|
-
const
|
|
2402
|
-
mutation
|
|
2403
|
-
|
|
2404
|
-
id
|
|
2405
|
-
channels {
|
|
2406
|
-
id
|
|
2407
|
-
code
|
|
2408
|
-
}
|
|
2409
|
-
}
|
|
2410
|
-
}
|
|
2398
|
+
const ASSIGN_VARIANTS_TO_CHANNEL = gql `
|
|
2399
|
+
mutation AssignVariantsToChannel($input: AssignProductVariantsToChannelInput!) {
|
|
2400
|
+
assignProductVariantsToChannel(input: $input) {
|
|
2401
|
+
id
|
|
2402
|
+
channels {
|
|
2403
|
+
id
|
|
2404
|
+
code
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2407
|
+
}
|
|
2411
2408
|
`;
|
|
2412
|
-
const
|
|
2413
|
-
mutation
|
|
2414
|
-
|
|
2415
|
-
id
|
|
2416
|
-
channels {
|
|
2417
|
-
id
|
|
2418
|
-
code
|
|
2419
|
-
}
|
|
2420
|
-
}
|
|
2421
|
-
}
|
|
2409
|
+
const REMOVE_PRODUCTS_FROM_CHANNEL = gql `
|
|
2410
|
+
mutation RemoveProductsFromChannel($input: RemoveProductsFromChannelInput!) {
|
|
2411
|
+
removeProductsFromChannel(input: $input) {
|
|
2412
|
+
id
|
|
2413
|
+
channels {
|
|
2414
|
+
id
|
|
2415
|
+
code
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2422
2419
|
`;
|
|
2423
|
-
const
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
id
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
x
|
|
2434
|
-
y
|
|
2435
|
-
}
|
|
2436
|
-
}
|
|
2437
|
-
product {
|
|
2438
|
-
id
|
|
2439
|
-
featuredAsset {
|
|
2440
|
-
id
|
|
2441
|
-
preview
|
|
2442
|
-
focalPoint {
|
|
2443
|
-
x
|
|
2444
|
-
y
|
|
2445
|
-
}
|
|
2446
|
-
}
|
|
2447
|
-
}
|
|
2448
|
-
}
|
|
2449
|
-
}
|
|
2420
|
+
const REMOVE_VARIANTS_FROM_CHANNEL = gql `
|
|
2421
|
+
mutation RemoveVariantsFromChannel($input: RemoveProductVariantsFromChannelInput!) {
|
|
2422
|
+
removeProductVariantsFromChannel(input: $input) {
|
|
2423
|
+
id
|
|
2424
|
+
channels {
|
|
2425
|
+
id
|
|
2426
|
+
code
|
|
2427
|
+
}
|
|
2428
|
+
}
|
|
2429
|
+
}
|
|
2450
2430
|
`;
|
|
2451
|
-
const
|
|
2452
|
-
query
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
totalItems
|
|
2479
|
-
}
|
|
2480
|
-
}
|
|
2431
|
+
const GET_PRODUCT_VARIANT = gql `
|
|
2432
|
+
query GetProductVariant($id: ID!) {
|
|
2433
|
+
productVariant(id: $id) {
|
|
2434
|
+
id
|
|
2435
|
+
name
|
|
2436
|
+
sku
|
|
2437
|
+
featuredAsset {
|
|
2438
|
+
id
|
|
2439
|
+
preview
|
|
2440
|
+
focalPoint {
|
|
2441
|
+
x
|
|
2442
|
+
y
|
|
2443
|
+
}
|
|
2444
|
+
}
|
|
2445
|
+
product {
|
|
2446
|
+
id
|
|
2447
|
+
featuredAsset {
|
|
2448
|
+
id
|
|
2449
|
+
preview
|
|
2450
|
+
focalPoint {
|
|
2451
|
+
x
|
|
2452
|
+
y
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2457
|
+
}
|
|
2481
2458
|
`;
|
|
2482
|
-
const
|
|
2483
|
-
query
|
|
2484
|
-
productVariants(options: $options, productId: $productId) {
|
|
2485
|
-
items {
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2459
|
+
const GET_PRODUCT_VARIANT_LIST_SIMPLE = gql `
|
|
2460
|
+
query GetProductVariantListSimple($options: ProductVariantListOptions!, $productId: ID) {
|
|
2461
|
+
productVariants(options: $options, productId: $productId) {
|
|
2462
|
+
items {
|
|
2463
|
+
id
|
|
2464
|
+
name
|
|
2465
|
+
sku
|
|
2466
|
+
featuredAsset {
|
|
2467
|
+
id
|
|
2468
|
+
preview
|
|
2469
|
+
focalPoint {
|
|
2470
|
+
x
|
|
2471
|
+
y
|
|
2472
|
+
}
|
|
2473
|
+
}
|
|
2474
|
+
product {
|
|
2475
|
+
id
|
|
2476
|
+
featuredAsset {
|
|
2477
|
+
id
|
|
2478
|
+
preview
|
|
2479
|
+
focalPoint {
|
|
2480
|
+
x
|
|
2481
|
+
y
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2486
|
+
totalItems
|
|
2487
|
+
}
|
|
2488
|
+
}
|
|
2492
2489
|
`;
|
|
2493
|
-
const
|
|
2494
|
-
query
|
|
2495
|
-
|
|
2496
|
-
items {
|
|
2497
|
-
...
|
|
2498
|
-
}
|
|
2499
|
-
totalItems
|
|
2500
|
-
}
|
|
2501
|
-
}
|
|
2502
|
-
${
|
|
2490
|
+
const GET_PRODUCT_VARIANT_LIST = gql `
|
|
2491
|
+
query GetProductVariantList($options: ProductVariantListOptions!, $productId: ID) {
|
|
2492
|
+
productVariants(options: $options, productId: $productId) {
|
|
2493
|
+
items {
|
|
2494
|
+
...ProductVariant
|
|
2495
|
+
}
|
|
2496
|
+
totalItems
|
|
2497
|
+
}
|
|
2498
|
+
}
|
|
2499
|
+
${PRODUCT_VARIANT_FRAGMENT}
|
|
2503
2500
|
`;
|
|
2504
|
-
const
|
|
2505
|
-
query
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2501
|
+
const GET_TAG_LIST = gql `
|
|
2502
|
+
query GetTagList($options: TagListOptions) {
|
|
2503
|
+
tags(options: $options) {
|
|
2504
|
+
items {
|
|
2505
|
+
...Tag
|
|
2506
|
+
}
|
|
2507
|
+
totalItems
|
|
2508
|
+
}
|
|
2509
|
+
}
|
|
2510
|
+
${TAG_FRAGMENT}
|
|
2511
2511
|
`;
|
|
2512
|
-
const
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
...Tag
|
|
2516
|
-
}
|
|
2517
|
-
}
|
|
2518
|
-
${TAG_FRAGMENT}
|
|
2512
|
+
const GET_TAG = gql `
|
|
2513
|
+
query GetTag($id: ID!) {
|
|
2514
|
+
tag(id: $id) {
|
|
2515
|
+
...Tag
|
|
2516
|
+
}
|
|
2517
|
+
}
|
|
2518
|
+
${TAG_FRAGMENT}
|
|
2519
2519
|
`;
|
|
2520
|
-
const
|
|
2521
|
-
mutation
|
|
2522
|
-
|
|
2523
|
-
...Tag
|
|
2524
|
-
}
|
|
2525
|
-
}
|
|
2526
|
-
${TAG_FRAGMENT}
|
|
2520
|
+
const CREATE_TAG = gql `
|
|
2521
|
+
mutation CreateTag($input: CreateTagInput!) {
|
|
2522
|
+
createTag(input: $input) {
|
|
2523
|
+
...Tag
|
|
2524
|
+
}
|
|
2525
|
+
}
|
|
2526
|
+
${TAG_FRAGMENT}
|
|
2527
2527
|
`;
|
|
2528
|
-
const
|
|
2529
|
-
mutation
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
}
|
|
2528
|
+
const UPDATE_TAG = gql `
|
|
2529
|
+
mutation UpdateTag($input: UpdateTagInput!) {
|
|
2530
|
+
updateTag(input: $input) {
|
|
2531
|
+
...Tag
|
|
2532
|
+
}
|
|
2533
|
+
}
|
|
2534
|
+
${TAG_FRAGMENT}
|
|
2535
|
+
`;
|
|
2536
|
+
const DELETE_TAG = gql `
|
|
2537
|
+
mutation DeleteTag($id: ID!) {
|
|
2538
|
+
deleteTag(id: $id) {
|
|
2539
|
+
message
|
|
2540
|
+
result
|
|
2541
|
+
}
|
|
2542
|
+
}
|
|
2535
2543
|
`;
|
|
2536
2544
|
|
|
2537
2545
|
const GET_COLLECTION_FILTERS = gql `
|
|
@@ -3301,6 +3309,16 @@ const DISCOUNT_FRAGMENT = gql `
|
|
|
3301
3309
|
type
|
|
3302
3310
|
}
|
|
3303
3311
|
`;
|
|
3312
|
+
const PAYMENT_FRAGMENT = gql `
|
|
3313
|
+
fragment Payment on Payment {
|
|
3314
|
+
id
|
|
3315
|
+
transactionId
|
|
3316
|
+
amount
|
|
3317
|
+
method
|
|
3318
|
+
state
|
|
3319
|
+
metadata
|
|
3320
|
+
}
|
|
3321
|
+
`;
|
|
3304
3322
|
const REFUND_FRAGMENT = gql `
|
|
3305
3323
|
fragment Refund on Refund {
|
|
3306
3324
|
id
|
|
@@ -3358,8 +3376,11 @@ const FULFILLMENT_FRAGMENT = gql `
|
|
|
3358
3376
|
createdAt
|
|
3359
3377
|
updatedAt
|
|
3360
3378
|
method
|
|
3361
|
-
|
|
3362
|
-
|
|
3379
|
+
summary {
|
|
3380
|
+
orderLine {
|
|
3381
|
+
id
|
|
3382
|
+
}
|
|
3383
|
+
quantity
|
|
3363
3384
|
}
|
|
3364
3385
|
trackingCode
|
|
3365
3386
|
}
|
|
@@ -3380,6 +3401,9 @@ const ORDER_LINE_FRAGMENT = gql `
|
|
|
3380
3401
|
discounts {
|
|
3381
3402
|
...Discount
|
|
3382
3403
|
}
|
|
3404
|
+
fulfillments {
|
|
3405
|
+
...Fulfillment
|
|
3406
|
+
}
|
|
3383
3407
|
unitPrice
|
|
3384
3408
|
unitPriceWithTax
|
|
3385
3409
|
proratedUnitPrice
|
|
@@ -3387,14 +3411,8 @@ const ORDER_LINE_FRAGMENT = gql `
|
|
|
3387
3411
|
quantity
|
|
3388
3412
|
items {
|
|
3389
3413
|
id
|
|
3390
|
-
unitPrice
|
|
3391
|
-
unitPriceWithTax
|
|
3392
|
-
taxRate
|
|
3393
3414
|
refundId
|
|
3394
3415
|
cancelled
|
|
3395
|
-
fulfillment {
|
|
3396
|
-
...Fulfillment
|
|
3397
|
-
}
|
|
3398
3416
|
}
|
|
3399
3417
|
linePrice
|
|
3400
3418
|
lineTax
|
|
@@ -3544,14 +3562,7 @@ const GET_ORDER = gql `
|
|
|
3544
3562
|
const SETTLE_PAYMENT = gql `
|
|
3545
3563
|
mutation SettlePayment($id: ID!) {
|
|
3546
3564
|
settlePayment(id: $id) {
|
|
3547
|
-
...
|
|
3548
|
-
id
|
|
3549
|
-
transactionId
|
|
3550
|
-
amount
|
|
3551
|
-
method
|
|
3552
|
-
state
|
|
3553
|
-
metadata
|
|
3554
|
-
}
|
|
3565
|
+
...Payment
|
|
3555
3566
|
...ErrorResult
|
|
3556
3567
|
... on SettlePaymentError {
|
|
3557
3568
|
paymentErrorMessage
|
|
@@ -3565,24 +3576,35 @@ const SETTLE_PAYMENT = gql `
|
|
|
3565
3576
|
}
|
|
3566
3577
|
}
|
|
3567
3578
|
${ERROR_RESULT_FRAGMENT}
|
|
3579
|
+
${PAYMENT_FRAGMENT}
|
|
3580
|
+
`;
|
|
3581
|
+
const CANCEL_PAYMENT = gql `
|
|
3582
|
+
mutation CancelPayment($id: ID!) {
|
|
3583
|
+
cancelPayment(id: $id) {
|
|
3584
|
+
...Payment
|
|
3585
|
+
...ErrorResult
|
|
3586
|
+
... on CancelPaymentError {
|
|
3587
|
+
paymentErrorMessage
|
|
3588
|
+
}
|
|
3589
|
+
... on PaymentStateTransitionError {
|
|
3590
|
+
transitionError
|
|
3591
|
+
}
|
|
3592
|
+
}
|
|
3593
|
+
}
|
|
3594
|
+
${ERROR_RESULT_FRAGMENT}
|
|
3595
|
+
${PAYMENT_FRAGMENT}
|
|
3568
3596
|
`;
|
|
3569
3597
|
const TRANSITION_PAYMENT_TO_STATE = gql `
|
|
3570
3598
|
mutation TransitionPaymentToState($id: ID!, $state: String!) {
|
|
3571
3599
|
transitionPaymentToState(id: $id, state: $state) {
|
|
3572
|
-
...
|
|
3573
|
-
id
|
|
3574
|
-
transactionId
|
|
3575
|
-
amount
|
|
3576
|
-
method
|
|
3577
|
-
state
|
|
3578
|
-
metadata
|
|
3579
|
-
}
|
|
3600
|
+
...Payment
|
|
3580
3601
|
...ErrorResult
|
|
3581
3602
|
... on PaymentStateTransitionError {
|
|
3582
3603
|
transitionError
|
|
3583
3604
|
}
|
|
3584
3605
|
}
|
|
3585
3606
|
}
|
|
3607
|
+
${PAYMENT_FRAGMENT}
|
|
3586
3608
|
${ERROR_RESULT_FRAGMENT}
|
|
3587
3609
|
`;
|
|
3588
3610
|
const CREATE_FULFILLMENT = gql `
|
|
@@ -3771,6 +3793,11 @@ class OrderDataService {
|
|
|
3771
3793
|
id,
|
|
3772
3794
|
});
|
|
3773
3795
|
}
|
|
3796
|
+
cancelPayment(id) {
|
|
3797
|
+
return this.baseDataService.mutate(CANCEL_PAYMENT, {
|
|
3798
|
+
id,
|
|
3799
|
+
});
|
|
3800
|
+
}
|
|
3774
3801
|
transitionPaymentToState(id, state) {
|
|
3775
3802
|
return this.baseDataService.mutate(TRANSITION_PAYMENT_TO_STATE, {
|
|
3776
3803
|
id,
|
|
@@ -4194,6 +4221,7 @@ var ErrorCode;
|
|
|
4194
4221
|
ErrorCode["LANGUAGE_NOT_AVAILABLE_ERROR"] = "LANGUAGE_NOT_AVAILABLE_ERROR";
|
|
4195
4222
|
ErrorCode["CHANNEL_DEFAULT_LANGUAGE_ERROR"] = "CHANNEL_DEFAULT_LANGUAGE_ERROR";
|
|
4196
4223
|
ErrorCode["SETTLE_PAYMENT_ERROR"] = "SETTLE_PAYMENT_ERROR";
|
|
4224
|
+
ErrorCode["CANCEL_PAYMENT_ERROR"] = "CANCEL_PAYMENT_ERROR";
|
|
4197
4225
|
ErrorCode["EMPTY_ORDER_LINE_SELECTION_ERROR"] = "EMPTY_ORDER_LINE_SELECTION_ERROR";
|
|
4198
4226
|
ErrorCode["ITEMS_ALREADY_FULFILLED_ERROR"] = "ITEMS_ALREADY_FULFILLED_ERROR";
|
|
4199
4227
|
ErrorCode["INVALID_FULFILLMENT_HANDLER_ERROR"] = "INVALID_FULFILLMENT_HANDLER_ERROR";
|
|
@@ -4966,6 +4994,9 @@ class ProductDataService {
|
|
|
4966
4994
|
addOptionToGroup(input) {
|
|
4967
4995
|
return this.baseDataService.mutate(ADD_OPTION_TO_GROUP, { input });
|
|
4968
4996
|
}
|
|
4997
|
+
deleteProductOption(id) {
|
|
4998
|
+
return this.baseDataService.mutate(DELETE_PRODUCT_OPTION, { id });
|
|
4999
|
+
}
|
|
4969
5000
|
removeOptionGroupFromProduct(variables) {
|
|
4970
5001
|
return this.baseDataService.mutate(REMOVE_OPTION_GROUP_FROM_PRODUCT, variables);
|
|
4971
5002
|
}
|
|
@@ -6453,7 +6484,7 @@ AppShellComponent.decorators = [
|
|
|
6453
6484
|
{ type: Component, args: [{
|
|
6454
6485
|
selector: 'vdr-app-shell',
|
|
6455
6486
|
template: "<clr-main-container>\r\n <clr-header>\r\n <div class=\"branding\">\r\n <a [routerLink]=\"['/']\"><img src=\"assets/logo-75px.png\" class=\"logo\" /><span class=\"wordmark\" *ngIf=\"!hideVendureBranding\">vendure</span></a>\r\n </div>\r\n <div class=\"header-nav\"></div>\r\n <div class=\"header-actions\">\r\n <vdr-channel-switcher *vdrIfMultichannel></vdr-channel-switcher>\r\n <vdr-user-menu [userName]=\"userName$ | async\"\r\n [uiLanguageAndLocale]=\"uiLanguageAndLocale$ | async\"\r\n [availableLanguages]=\"availableLanguages\"\r\n (selectUiLanguage)=\"selectUiLanguage()\"\r\n (logOut)=\"logOut()\"></vdr-user-menu>\r\n </div>\r\n </clr-header>\r\n <nav class=\"subnav\"><vdr-breadcrumb></vdr-breadcrumb></nav>\r\n\r\n <div class=\"content-container\">\r\n <div class=\"content-area\"><router-outlet></router-outlet></div>\r\n <vdr-main-nav></vdr-main-nav>\r\n </div>\r\n</clr-main-container>\r\n",
|
|
6456
|
-
styles: [".branding{min-width:0}.logo{width:40px}.wordmark{font-weight:bold;margin-left:12px;font-size:24px;color:var(--color-primary-500)}@media screen and (min-width: 768px){vdr-breadcrumb{margin-left:
|
|
6487
|
+
styles: [".branding{min-width:0}.logo{width:40px}.wordmark{font-weight:bold;margin-left:12px;font-size:24px;color:var(--color-primary-500)}@media screen and (min-width: 768px){vdr-breadcrumb{margin-left:18%}}.header-actions{align-items:center}.content-area{position:relative}::ng-deep .header{background-image:linear-gradient(to right,var(--color-header-gradient-from),var(--color-header-gradient-to))}\n"]
|
|
6457
6488
|
},] }
|
|
6458
6489
|
];
|
|
6459
6490
|
AppShellComponent.ctorParameters = () => [
|
|
@@ -7272,7 +7303,7 @@ MainNavComponent.decorators = [
|
|
|
7272
7303
|
{ type: Component, args: [{
|
|
7273
7304
|
selector: 'vdr-main-nav',
|
|
7274
7305
|
template: "<nav class=\"sidenav\" [clr-nav-level]=\"2\">\r\n <section class=\"sidenav-content\">\r\n <ng-container *ngFor=\"let section of navBuilderService.navMenuConfig$ | async\">\r\n <section\r\n class=\"nav-group\"\r\n [attr.data-section-id]=\"section.id\"\r\n [class.collapsible]=\"section.collapsible\"\r\n *ngIf=\"shouldDisplayLink(section)\"\r\n >\r\n <vdr-ui-extension-point [locationId]=\"section.id\" api=\"navMenu\" [topPx]=\"-6\" [leftPx]=\"8\">\r\n <ng-container *ngIf=\"navBuilderService.sectionBadges[section.id] | async as sectionBadge\">\r\n <vdr-status-badge\r\n *ngIf=\"sectionBadge !== 'none'\"\r\n [type]=\"sectionBadge\"\r\n ></vdr-status-badge>\r\n </ng-container>\r\n <input [id]=\"section.id\" type=\"checkbox\" [checked]=\"section.collapsedByDefault\" />\r\n <label class=\"nav-group-header\" [for]=\"section.id\">{{ section.label | translate }}</label>\r\n <ul class=\"nav-list\">\r\n <ng-container *ngFor=\"let item of section.items\">\r\n <li *ngIf=\"shouldDisplayLink(item)\">\r\n <a\r\n class=\"nav-link\"\r\n [attr.data-item-id]=\"section.id\"\r\n [routerLink]=\"getRouterLink(item)\"\r\n routerLinkActive=\"active\"\r\n (click)=\"item.onClick && item.onClick($event)\"\r\n >\r\n <ng-container *ngIf=\"item.statusBadge | async as itemBadge\">\r\n <vdr-status-badge\r\n *ngIf=\"itemBadge.type !== 'none'\"\r\n [type]=\"itemBadge.type\"\r\n ></vdr-status-badge>\r\n </ng-container>\r\n <clr-icon [attr.shape]=\"item.icon || 'block'\" size=\"20\"></clr-icon>\r\n {{ item.label | translate }}\r\n </a>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </vdr-ui-extension-point>\r\n </section>\r\n </ng-container>\r\n </section>\r\n</nav>\r\n",
|
|
7275
|
-
styles: [":host{order:-1;background-color:var(--clr-nav-background-color)}nav.sidenav{height:100%;
|
|
7306
|
+
styles: [":host{order:-1;background-color:var(--clr-nav-background-color)}nav.sidenav{height:100%;border-right-color:var(--clr-sidenav-border-color)}.sidenav .nav-group .nav-list{margin:0}.sidenav .nav-group .nav-group-header{margin:0;line-height:1.2}.sidenav .nav-group .nav-link{display:inline-flex;line-height:1rem;padding-right:.6rem}.nav-list clr-icon{flex-shrink:0;margin-right:12px}.nav-group{-webkit-hyphens:auto;hyphens:auto}.nav-group,.nav-link{position:relative}.nav-group vdr-status-badge{left:10px;top:6px}.nav-link vdr-status-badge{left:25px;top:3px}\n"]
|
|
7276
7307
|
},] }
|
|
7277
7308
|
];
|
|
7278
7309
|
MainNavComponent.ctorParameters = () => [
|
|
@@ -7427,260 +7458,196 @@ UserMenuComponent.propDecorators = {
|
|
|
7427
7458
|
|
|
7428
7459
|
// tslint:disable
|
|
7429
7460
|
const result = {
|
|
7430
|
-
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
],
|
|
7440
|
-
"AddManualPaymentToOrderResult": [
|
|
7441
|
-
"Order",
|
|
7442
|
-
"ManualPaymentStateError"
|
|
7443
|
-
],
|
|
7444
|
-
"AuthenticationResult": [
|
|
7445
|
-
"CurrentUser",
|
|
7446
|
-
"InvalidCredentialsError"
|
|
7447
|
-
],
|
|
7448
|
-
"CancelOrderResult": [
|
|
7449
|
-
"Order",
|
|
7450
|
-
"EmptyOrderLineSelectionError",
|
|
7451
|
-
"QuantityTooGreatError",
|
|
7452
|
-
"MultipleOrderError",
|
|
7453
|
-
"CancelActiveOrderError",
|
|
7454
|
-
"OrderStateTransitionError"
|
|
7455
|
-
],
|
|
7456
|
-
"CreateAssetResult": [
|
|
7457
|
-
"Asset",
|
|
7458
|
-
"MimeTypeError"
|
|
7461
|
+
possibleTypes: {
|
|
7462
|
+
AddFulfillmentToOrderResult: [
|
|
7463
|
+
'Fulfillment',
|
|
7464
|
+
'EmptyOrderLineSelectionError',
|
|
7465
|
+
'ItemsAlreadyFulfilledError',
|
|
7466
|
+
'InsufficientStockOnHandError',
|
|
7467
|
+
'InvalidFulfillmentHandlerError',
|
|
7468
|
+
'FulfillmentStateTransitionError',
|
|
7469
|
+
'CreateFulfillmentError',
|
|
7459
7470
|
],
|
|
7460
|
-
|
|
7461
|
-
|
|
7462
|
-
|
|
7471
|
+
AddManualPaymentToOrderResult: ['Order', 'ManualPaymentStateError'],
|
|
7472
|
+
AuthenticationResult: ['CurrentUser', 'InvalidCredentialsError'],
|
|
7473
|
+
CancelOrderResult: [
|
|
7474
|
+
'Order',
|
|
7475
|
+
'EmptyOrderLineSelectionError',
|
|
7476
|
+
'QuantityTooGreatError',
|
|
7477
|
+
'MultipleOrderError',
|
|
7478
|
+
'CancelActiveOrderError',
|
|
7479
|
+
'OrderStateTransitionError',
|
|
7463
7480
|
],
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
|
-
|
|
7481
|
+
CancelPaymentResult: ['Payment', 'CancelPaymentError', 'PaymentStateTransitionError'],
|
|
7482
|
+
CreateAssetResult: ['Asset', 'MimeTypeError'],
|
|
7483
|
+
CreateChannelResult: ['Channel', 'LanguageNotAvailableError'],
|
|
7484
|
+
CreateCustomerResult: ['Customer', 'EmailAddressConflictError'],
|
|
7485
|
+
CreatePromotionResult: ['Promotion', 'MissingConditionsError'],
|
|
7486
|
+
CustomField: [
|
|
7487
|
+
'BooleanCustomFieldConfig',
|
|
7488
|
+
'DateTimeCustomFieldConfig',
|
|
7489
|
+
'FloatCustomFieldConfig',
|
|
7490
|
+
'IntCustomFieldConfig',
|
|
7491
|
+
'LocaleStringCustomFieldConfig',
|
|
7492
|
+
'RelationCustomFieldConfig',
|
|
7493
|
+
'StringCustomFieldConfig',
|
|
7494
|
+
'TextCustomFieldConfig',
|
|
7467
7495
|
],
|
|
7468
|
-
|
|
7469
|
-
|
|
7470
|
-
|
|
7496
|
+
CustomFieldConfig: [
|
|
7497
|
+
'StringCustomFieldConfig',
|
|
7498
|
+
'LocaleStringCustomFieldConfig',
|
|
7499
|
+
'IntCustomFieldConfig',
|
|
7500
|
+
'FloatCustomFieldConfig',
|
|
7501
|
+
'BooleanCustomFieldConfig',
|
|
7502
|
+
'DateTimeCustomFieldConfig',
|
|
7503
|
+
'RelationCustomFieldConfig',
|
|
7504
|
+
'TextCustomFieldConfig',
|
|
7471
7505
|
],
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
-
|
|
7478
|
-
|
|
7479
|
-
|
|
7480
|
-
|
|
7506
|
+
ErrorResult: [
|
|
7507
|
+
'AlreadyRefundedError',
|
|
7508
|
+
'CancelActiveOrderError',
|
|
7509
|
+
'CancelPaymentError',
|
|
7510
|
+
'ChannelDefaultLanguageError',
|
|
7511
|
+
'CouponCodeExpiredError',
|
|
7512
|
+
'CouponCodeInvalidError',
|
|
7513
|
+
'CouponCodeLimitError',
|
|
7514
|
+
'CreateFulfillmentError',
|
|
7515
|
+
'EmailAddressConflictError',
|
|
7516
|
+
'EmptyOrderLineSelectionError',
|
|
7517
|
+
'FulfillmentStateTransitionError',
|
|
7518
|
+
'InsufficientStockError',
|
|
7519
|
+
'InsufficientStockOnHandError',
|
|
7520
|
+
'InvalidCredentialsError',
|
|
7521
|
+
'InvalidFulfillmentHandlerError',
|
|
7522
|
+
'ItemsAlreadyFulfilledError',
|
|
7523
|
+
'LanguageNotAvailableError',
|
|
7524
|
+
'ManualPaymentStateError',
|
|
7525
|
+
'MimeTypeError',
|
|
7526
|
+
'MissingConditionsError',
|
|
7527
|
+
'MultipleOrderError',
|
|
7528
|
+
'NativeAuthStrategyError',
|
|
7529
|
+
'NegativeQuantityError',
|
|
7530
|
+
'NoChangesSpecifiedError',
|
|
7531
|
+
'NothingToRefundError',
|
|
7532
|
+
'OrderLimitError',
|
|
7533
|
+
'OrderModificationStateError',
|
|
7534
|
+
'OrderStateTransitionError',
|
|
7535
|
+
'PaymentMethodMissingError',
|
|
7536
|
+
'PaymentOrderMismatchError',
|
|
7537
|
+
'PaymentStateTransitionError',
|
|
7538
|
+
'ProductOptionInUseError',
|
|
7539
|
+
'QuantityTooGreatError',
|
|
7540
|
+
'RefundOrderStateError',
|
|
7541
|
+
'RefundPaymentIdMissingError',
|
|
7542
|
+
'RefundStateTransitionError',
|
|
7543
|
+
'SettlePaymentError',
|
|
7481
7544
|
],
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7545
|
+
ModifyOrderResult: [
|
|
7546
|
+
'Order',
|
|
7547
|
+
'NoChangesSpecifiedError',
|
|
7548
|
+
'OrderModificationStateError',
|
|
7549
|
+
'PaymentMethodMissingError',
|
|
7550
|
+
'RefundPaymentIdMissingError',
|
|
7551
|
+
'OrderLimitError',
|
|
7552
|
+
'NegativeQuantityError',
|
|
7553
|
+
'InsufficientStockError',
|
|
7554
|
+
'CouponCodeExpiredError',
|
|
7555
|
+
'CouponCodeInvalidError',
|
|
7556
|
+
'CouponCodeLimitError',
|
|
7491
7557
|
],
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
7497
|
-
|
|
7498
|
-
|
|
7499
|
-
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
7504
|
-
|
|
7505
|
-
|
|
7506
|
-
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7515
|
-
|
|
7516
|
-
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
|
|
7520
|
-
|
|
7521
|
-
|
|
7522
|
-
|
|
7523
|
-
|
|
7524
|
-
|
|
7525
|
-
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
|
|
7558
|
+
NativeAuthenticationResult: ['CurrentUser', 'InvalidCredentialsError', 'NativeAuthStrategyError'],
|
|
7559
|
+
Node: [
|
|
7560
|
+
'Address',
|
|
7561
|
+
'Administrator',
|
|
7562
|
+
'Allocation',
|
|
7563
|
+
'Asset',
|
|
7564
|
+
'AuthenticationMethod',
|
|
7565
|
+
'Cancellation',
|
|
7566
|
+
'Channel',
|
|
7567
|
+
'Collection',
|
|
7568
|
+
'Country',
|
|
7569
|
+
'Customer',
|
|
7570
|
+
'CustomerGroup',
|
|
7571
|
+
'Facet',
|
|
7572
|
+
'FacetValue',
|
|
7573
|
+
'Fulfillment',
|
|
7574
|
+
'HistoryEntry',
|
|
7575
|
+
'Job',
|
|
7576
|
+
'Order',
|
|
7577
|
+
'OrderItem',
|
|
7578
|
+
'OrderLine',
|
|
7579
|
+
'OrderModification',
|
|
7580
|
+
'Payment',
|
|
7581
|
+
'PaymentMethod',
|
|
7582
|
+
'Product',
|
|
7583
|
+
'ProductOption',
|
|
7584
|
+
'ProductOptionGroup',
|
|
7585
|
+
'ProductVariant',
|
|
7586
|
+
'Promotion',
|
|
7587
|
+
'Refund',
|
|
7588
|
+
'Release',
|
|
7589
|
+
'Return',
|
|
7590
|
+
'Role',
|
|
7591
|
+
'Sale',
|
|
7592
|
+
'ShippingMethod',
|
|
7593
|
+
'StockAdjustment',
|
|
7594
|
+
'Surcharge',
|
|
7595
|
+
'Tag',
|
|
7596
|
+
'TaxCategory',
|
|
7597
|
+
'TaxRate',
|
|
7598
|
+
'User',
|
|
7599
|
+
'Zone',
|
|
7529
7600
|
],
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
|
|
7534
|
-
|
|
7535
|
-
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
|
|
7541
|
-
|
|
7601
|
+
PaginatedList: [
|
|
7602
|
+
'AdministratorList',
|
|
7603
|
+
'AssetList',
|
|
7604
|
+
'CollectionList',
|
|
7605
|
+
'CountryList',
|
|
7606
|
+
'CustomerGroupList',
|
|
7607
|
+
'CustomerList',
|
|
7608
|
+
'FacetList',
|
|
7609
|
+
'HistoryEntryList',
|
|
7610
|
+
'JobList',
|
|
7611
|
+
'OrderList',
|
|
7612
|
+
'PaymentMethodList',
|
|
7613
|
+
'ProductList',
|
|
7614
|
+
'ProductVariantList',
|
|
7615
|
+
'PromotionList',
|
|
7616
|
+
'RoleList',
|
|
7617
|
+
'ShippingMethodList',
|
|
7618
|
+
'TagList',
|
|
7619
|
+
'TaxRateList',
|
|
7542
7620
|
],
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7621
|
+
RefundOrderResult: [
|
|
7622
|
+
'Refund',
|
|
7623
|
+
'QuantityTooGreatError',
|
|
7624
|
+
'NothingToRefundError',
|
|
7625
|
+
'OrderStateTransitionError',
|
|
7626
|
+
'MultipleOrderError',
|
|
7627
|
+
'PaymentOrderMismatchError',
|
|
7628
|
+
'RefundOrderStateError',
|
|
7629
|
+
'AlreadyRefundedError',
|
|
7630
|
+
'RefundStateTransitionError',
|
|
7547
7631
|
],
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
"Channel",
|
|
7556
|
-
"Collection",
|
|
7557
|
-
"Country",
|
|
7558
|
-
"Customer",
|
|
7559
|
-
"CustomerGroup",
|
|
7560
|
-
"Facet",
|
|
7561
|
-
"FacetValue",
|
|
7562
|
-
"Fulfillment",
|
|
7563
|
-
"HistoryEntry",
|
|
7564
|
-
"Job",
|
|
7565
|
-
"Order",
|
|
7566
|
-
"OrderItem",
|
|
7567
|
-
"OrderLine",
|
|
7568
|
-
"OrderModification",
|
|
7569
|
-
"Payment",
|
|
7570
|
-
"PaymentMethod",
|
|
7571
|
-
"Product",
|
|
7572
|
-
"ProductOption",
|
|
7573
|
-
"ProductOptionGroup",
|
|
7574
|
-
"ProductVariant",
|
|
7575
|
-
"Promotion",
|
|
7576
|
-
"Refund",
|
|
7577
|
-
"Release",
|
|
7578
|
-
"Return",
|
|
7579
|
-
"Role",
|
|
7580
|
-
"Sale",
|
|
7581
|
-
"ShippingMethod",
|
|
7582
|
-
"StockAdjustment",
|
|
7583
|
-
"Surcharge",
|
|
7584
|
-
"Tag",
|
|
7585
|
-
"TaxCategory",
|
|
7586
|
-
"TaxRate",
|
|
7587
|
-
"User",
|
|
7588
|
-
"Zone"
|
|
7632
|
+
RemoveOptionGroupFromProductResult: ['Product', 'ProductOptionInUseError'],
|
|
7633
|
+
SearchResultPrice: ['PriceRange', 'SinglePrice'],
|
|
7634
|
+
SettlePaymentResult: [
|
|
7635
|
+
'Payment',
|
|
7636
|
+
'SettlePaymentError',
|
|
7637
|
+
'PaymentStateTransitionError',
|
|
7638
|
+
'OrderStateTransitionError',
|
|
7589
7639
|
],
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
7597
|
-
|
|
7598
|
-
|
|
7599
|
-
|
|
7600
|
-
|
|
7601
|
-
"PaymentMethodList",
|
|
7602
|
-
"ProductList",
|
|
7603
|
-
"ProductVariantList",
|
|
7604
|
-
"PromotionList",
|
|
7605
|
-
"RoleList",
|
|
7606
|
-
"ShippingMethodList",
|
|
7607
|
-
"TagList",
|
|
7608
|
-
"TaxRateList"
|
|
7609
|
-
],
|
|
7610
|
-
"RefundOrderResult": [
|
|
7611
|
-
"Refund",
|
|
7612
|
-
"QuantityTooGreatError",
|
|
7613
|
-
"NothingToRefundError",
|
|
7614
|
-
"OrderStateTransitionError",
|
|
7615
|
-
"MultipleOrderError",
|
|
7616
|
-
"PaymentOrderMismatchError",
|
|
7617
|
-
"RefundOrderStateError",
|
|
7618
|
-
"AlreadyRefundedError",
|
|
7619
|
-
"RefundStateTransitionError"
|
|
7620
|
-
],
|
|
7621
|
-
"RemoveOptionGroupFromProductResult": [
|
|
7622
|
-
"Product",
|
|
7623
|
-
"ProductOptionInUseError"
|
|
7624
|
-
],
|
|
7625
|
-
"SearchResultPrice": [
|
|
7626
|
-
"PriceRange",
|
|
7627
|
-
"SinglePrice"
|
|
7628
|
-
],
|
|
7629
|
-
"SettlePaymentResult": [
|
|
7630
|
-
"Payment",
|
|
7631
|
-
"SettlePaymentError",
|
|
7632
|
-
"PaymentStateTransitionError",
|
|
7633
|
-
"OrderStateTransitionError"
|
|
7634
|
-
],
|
|
7635
|
-
"SettleRefundResult": [
|
|
7636
|
-
"Refund",
|
|
7637
|
-
"RefundStateTransitionError"
|
|
7638
|
-
],
|
|
7639
|
-
"StockMovement": [
|
|
7640
|
-
"Allocation",
|
|
7641
|
-
"Cancellation",
|
|
7642
|
-
"Release",
|
|
7643
|
-
"Return",
|
|
7644
|
-
"Sale",
|
|
7645
|
-
"StockAdjustment"
|
|
7646
|
-
],
|
|
7647
|
-
"StockMovementItem": [
|
|
7648
|
-
"StockAdjustment",
|
|
7649
|
-
"Allocation",
|
|
7650
|
-
"Sale",
|
|
7651
|
-
"Cancellation",
|
|
7652
|
-
"Return",
|
|
7653
|
-
"Release"
|
|
7654
|
-
],
|
|
7655
|
-
"TransitionFulfillmentToStateResult": [
|
|
7656
|
-
"Fulfillment",
|
|
7657
|
-
"FulfillmentStateTransitionError"
|
|
7658
|
-
],
|
|
7659
|
-
"TransitionOrderToStateResult": [
|
|
7660
|
-
"Order",
|
|
7661
|
-
"OrderStateTransitionError"
|
|
7662
|
-
],
|
|
7663
|
-
"TransitionPaymentToStateResult": [
|
|
7664
|
-
"Payment",
|
|
7665
|
-
"PaymentStateTransitionError"
|
|
7666
|
-
],
|
|
7667
|
-
"UpdateChannelResult": [
|
|
7668
|
-
"Channel",
|
|
7669
|
-
"LanguageNotAvailableError"
|
|
7670
|
-
],
|
|
7671
|
-
"UpdateCustomerResult": [
|
|
7672
|
-
"Customer",
|
|
7673
|
-
"EmailAddressConflictError"
|
|
7674
|
-
],
|
|
7675
|
-
"UpdateGlobalSettingsResult": [
|
|
7676
|
-
"GlobalSettings",
|
|
7677
|
-
"ChannelDefaultLanguageError"
|
|
7678
|
-
],
|
|
7679
|
-
"UpdatePromotionResult": [
|
|
7680
|
-
"Promotion",
|
|
7681
|
-
"MissingConditionsError"
|
|
7682
|
-
]
|
|
7683
|
-
}
|
|
7640
|
+
SettleRefundResult: ['Refund', 'RefundStateTransitionError'],
|
|
7641
|
+
StockMovement: ['Allocation', 'Cancellation', 'Release', 'Return', 'Sale', 'StockAdjustment'],
|
|
7642
|
+
StockMovementItem: ['StockAdjustment', 'Allocation', 'Sale', 'Cancellation', 'Return', 'Release'],
|
|
7643
|
+
TransitionFulfillmentToStateResult: ['Fulfillment', 'FulfillmentStateTransitionError'],
|
|
7644
|
+
TransitionOrderToStateResult: ['Order', 'OrderStateTransitionError'],
|
|
7645
|
+
TransitionPaymentToStateResult: ['Payment', 'PaymentStateTransitionError'],
|
|
7646
|
+
UpdateChannelResult: ['Channel', 'LanguageNotAvailableError'],
|
|
7647
|
+
UpdateCustomerResult: ['Customer', 'EmailAddressConflictError'],
|
|
7648
|
+
UpdateGlobalSettingsResult: ['GlobalSettings', 'ChannelDefaultLanguageError'],
|
|
7649
|
+
UpdatePromotionResult: ['Promotion', 'MissingConditionsError'],
|
|
7650
|
+
},
|
|
7684
7651
|
};
|
|
7685
7652
|
|
|
7686
7653
|
// Allows the introspectionResult to be imported as a named symbol
|
|
@@ -8600,7 +8567,7 @@ function configurableDefinitionToInstance(def) {
|
|
|
8600
8567
|
* ```
|
|
8601
8568
|
* {
|
|
8602
8569
|
* code: 'my-operation',
|
|
8603
|
-
*
|
|
8570
|
+
* arguments: [
|
|
8604
8571
|
* { name: 'someProperty', value: 'foo' }
|
|
8605
8572
|
* ]
|
|
8606
8573
|
* }
|
|
@@ -8609,12 +8576,15 @@ function configurableDefinitionToInstance(def) {
|
|
|
8609
8576
|
function toConfigurableOperationInput(operation, formValueOperations) {
|
|
8610
8577
|
return {
|
|
8611
8578
|
code: operation.code,
|
|
8612
|
-
arguments:
|
|
8613
|
-
|
|
8614
|
-
|
|
8615
|
-
|
|
8616
|
-
:
|
|
8617
|
-
|
|
8579
|
+
arguments: operation.args.map(({ name, value }, j) => {
|
|
8580
|
+
const formValue = formValueOperations.args[name];
|
|
8581
|
+
return {
|
|
8582
|
+
name,
|
|
8583
|
+
value: (formValue === null || formValue === void 0 ? void 0 : formValue.hasOwnProperty('value'))
|
|
8584
|
+
? encodeConfigArgValue(formValue.value)
|
|
8585
|
+
: encodeConfigArgValue(formValue),
|
|
8586
|
+
};
|
|
8587
|
+
}),
|
|
8618
8588
|
};
|
|
8619
8589
|
}
|
|
8620
8590
|
function configurableOperationValueIsValid(def, value) {
|
|
@@ -9410,20 +9380,32 @@ RichTextFormInputComponent.decorators = [
|
|
|
9410
9380
|
* @docsPage default-inputs
|
|
9411
9381
|
*/
|
|
9412
9382
|
class SelectFormInputComponent {
|
|
9383
|
+
constructor(dataService) {
|
|
9384
|
+
this.dataService = dataService;
|
|
9385
|
+
}
|
|
9413
9386
|
get options() {
|
|
9414
9387
|
var _a;
|
|
9415
9388
|
return ((_a = this.config.ui) === null || _a === void 0 ? void 0 : _a.options) || this.config.options;
|
|
9416
9389
|
}
|
|
9390
|
+
ngOnInit() {
|
|
9391
|
+
this.uiLanguage$ = this.dataService.client.uiState().mapStream(({ uiState }) => uiState.language);
|
|
9392
|
+
}
|
|
9393
|
+
trackByFn(index, item) {
|
|
9394
|
+
return item.value;
|
|
9395
|
+
}
|
|
9417
9396
|
}
|
|
9418
9397
|
SelectFormInputComponent.id = 'select-form-input';
|
|
9419
9398
|
SelectFormInputComponent.decorators = [
|
|
9420
9399
|
{ type: Component, args: [{
|
|
9421
9400
|
selector: 'vdr-select-form-input',
|
|
9422
|
-
template: "<select clrSelect [formControl]=\"formControl\" [vdrDisabled]=\"readonly\">\r\n <option *ngIf=\"config.nullable\" [ngValue]=\"null\"></option>\r\n <option *ngFor=\"let option of options\" [ngValue]=\"option.value\">\r\n {{ (option | customFieldLabel) || option.label || option.value }}\r\n </option>\r\n</select>\r\n",
|
|
9401
|
+
template: "<select clrSelect [formControl]=\"formControl\" [vdrDisabled]=\"readonly\">\r\n <option *ngIf=\"config.nullable\" [ngValue]=\"null\"></option>\r\n <option *ngFor=\"let option of options;trackBy:trackByFn\" [ngValue]=\"option.value\">\r\n {{ (option | customFieldLabel:(uiLanguage$ | async)) || option.label || option.value }}\r\n </option>\r\n</select>\r\n",
|
|
9423
9402
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
9424
9403
|
styles: ["select{width:100%}\n"]
|
|
9425
9404
|
},] }
|
|
9426
9405
|
];
|
|
9406
|
+
SelectFormInputComponent.ctorParameters = () => [
|
|
9407
|
+
{ type: DataService }
|
|
9408
|
+
];
|
|
9427
9409
|
SelectFormInputComponent.propDecorators = {
|
|
9428
9410
|
readonly: [{ type: Input }]
|
|
9429
9411
|
};
|
|
@@ -10926,6 +10908,11 @@ class CustomFieldControlComponent {
|
|
|
10926
10908
|
this.readonly = false;
|
|
10927
10909
|
this.hasCustomControl = false;
|
|
10928
10910
|
}
|
|
10911
|
+
ngOnInit() {
|
|
10912
|
+
this.uiLanguage$ = this.dataService.client
|
|
10913
|
+
.uiState()
|
|
10914
|
+
.stream$.pipe(map(({ uiState }) => uiState.language));
|
|
10915
|
+
}
|
|
10929
10916
|
getFieldDefinition() {
|
|
10930
10917
|
const config = Object.assign({}, this.customField);
|
|
10931
10918
|
const id = this.customFieldComponentService.customFieldComponentExists(this.entityName, this.customField.name);
|
|
@@ -10947,7 +10934,7 @@ class CustomFieldControlComponent {
|
|
|
10947
10934
|
CustomFieldControlComponent.decorators = [
|
|
10948
10935
|
{ type: Component, args: [{
|
|
10949
10936
|
selector: 'vdr-custom-field-control',
|
|
10950
|
-
template: "<div class=\"clr-form-control\" *ngIf=\"compact\">\r\n <label for=\"basic\" class=\"clr-control-label\">{{ customField | customFieldLabel }}</label>\r\n <div class=\"clr-control-container\">\r\n <div class=\"clr-input-wrapper\">\r\n <ng-container *ngTemplateOutlet=\"inputs\"></ng-container>\r\n </div>\r\n </div>\r\n</div>\r\n<vdr-form-field [label]=\"customField | customFieldLabel\" [for]=\"customField.name\" *ngIf=\"!compact\">\r\n <ng-container *ngTemplateOutlet=\"inputs\"></ng-container>\r\n</vdr-form-field>\r\n\r\n<ng-template #inputs>\r\n <ng-container [formGroup]=\"formGroup\">\r\n <vdr-dynamic-form-input\r\n [formControlName]=\"customField.name\"\r\n [readonly]=\"readonly || customField.readonly\"\r\n [control]=\"formGroup.get(customField.name)\"\r\n [def]=\"getFieldDefinition()\"\r\n >\r\n </vdr-dynamic-form-input>\r\n </ng-container>\r\n</ng-template>\r\n",
|
|
10937
|
+
template: "<div class=\"clr-form-control\" *ngIf=\"compact\">\r\n <label for=\"basic\" class=\"clr-control-label\">{{ customField | customFieldLabel:(uiLanguage$ | async) }}</label>\r\n <div class=\"clr-control-container\">\r\n <div class=\"clr-input-wrapper\">\r\n <ng-container *ngTemplateOutlet=\"inputs\"></ng-container>\r\n </div>\r\n </div>\r\n</div>\r\n<vdr-form-field [label]=\"customField | customFieldLabel:(uiLanguage$ | async)\" [for]=\"customField.name\" *ngIf=\"!compact\">\r\n <ng-container *ngTemplateOutlet=\"inputs\"></ng-container>\r\n</vdr-form-field>\r\n\r\n<ng-template #inputs>\r\n <ng-container [formGroup]=\"formGroup\">\r\n <vdr-dynamic-form-input\r\n [formControlName]=\"customField.name\"\r\n [readonly]=\"readonly || customField.readonly\"\r\n [control]=\"formGroup.get(customField.name)\"\r\n [def]=\"getFieldDefinition()\"\r\n >\r\n </vdr-dynamic-form-input>\r\n </ng-container>\r\n</ng-template>\r\n",
|
|
10951
10938
|
styles: [":host{display:block;width:100%}:host .toggle-switch{margin-top:0;margin-bottom:0}\n"]
|
|
10952
10939
|
},] }
|
|
10953
10940
|
];
|
|
@@ -11077,11 +11064,18 @@ class DataTableComponent {
|
|
|
11077
11064
|
return index;
|
|
11078
11065
|
}
|
|
11079
11066
|
}
|
|
11067
|
+
ngOnChanges(changes) {
|
|
11068
|
+
var _a;
|
|
11069
|
+
if (changes.items) {
|
|
11070
|
+
this.currentStart = this.itemsPerPage * (this.currentPage - 1);
|
|
11071
|
+
this.currentEnd = this.currentStart + ((_a = changes.items.currentValue) === null || _a === void 0 ? void 0 : _a.length);
|
|
11072
|
+
}
|
|
11073
|
+
}
|
|
11080
11074
|
}
|
|
11081
11075
|
DataTableComponent.decorators = [
|
|
11082
11076
|
{ type: Component, args: [{
|
|
11083
11077
|
selector: 'vdr-data-table',
|
|
11084
|
-
template: "<ng-container *ngIf=\"!items || (items && items.length); else emptyPlaceholder\">\r\n <table class=\"table\">\r\n <thead>\r\n <tr>\r\n <th *ngIf=\"isRowSelectedFn\" class=\"align-middle\">\r\n <input\r\n type=\"checkbox\"\r\n clrCheckbox\r\n [checked]=\"allSelected\"\r\n (change)=\"allSelectChange.emit()\"\r\n />\r\n </th>\r\n <th *ngFor=\"let header of columns?.toArray()\" class=\"left\" [class.expand]=\"header.expand\">\r\n <ng-container *ngTemplateOutlet=\"header.template\"></ng-container>\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr\r\n *ngFor=\"\r\n let item of items\r\n | paginate\r\n : {\r\n itemsPerPage: itemsPerPage,\r\n currentPage: currentPage,\r\n totalItems: totalItems\r\n };\r\n index as i;\r\n trackBy: trackByFn\r\n \"\r\n >\r\n <td *ngIf=\"isRowSelectedFn\" class=\"align-middle\">\r\n <input\r\n type=\"checkbox\"\r\n clrCheckbox\r\n [checked]=\"isRowSelectedFn(item)\"\r\n (change)=\"rowSelectChange.emit(item)\"\r\n />\r\n </td>\r\n <ng-container\r\n *ngTemplateOutlet=\"rowTemplate; context: { item: item, index: i }\"\r\n ></ng-container>\r\n </tr>\r\n </tbody>\r\n </table>\r\n <div class=\"table-footer\">\r\n <vdr-items-per-page-controls\r\n *ngIf=\"totalItems\"\r\n [itemsPerPage]=\"itemsPerPage\"\r\n (itemsPerPageChange)=\"itemsPerPageChange.emit($event)\"\r\n ></vdr-items-per-page-controls>\r\n\r\n <vdr-pagination-controls\r\n *ngIf=\"totalItems\"\r\n [currentPage]=\"currentPage\"\r\n [itemsPerPage]=\"itemsPerPage\"\r\n [totalItems]=\"totalItems\"\r\n (pageChange)=\"pageChange.emit($event)\"\r\n ></vdr-pagination-controls>\r\n </div>\r\n</ng-container>\r\n<ng-template #emptyPlaceholder>\r\n <vdr-empty-placeholder [emptyStateLabel]=\"emptyStateLabel\"></vdr-empty-placeholder>\r\n</ng-template>\r\n",
|
|
11078
|
+
template: "<ng-container *ngIf=\"!items || (items && items.length); else emptyPlaceholder\">\r\n <table class=\"table\">\r\n <thead>\r\n <tr>\r\n <th *ngIf=\"isRowSelectedFn\" class=\"align-middle\">\r\n <input\r\n type=\"checkbox\"\r\n clrCheckbox\r\n [checked]=\"allSelected\"\r\n (change)=\"allSelectChange.emit()\"\r\n />\r\n </th>\r\n <th *ngFor=\"let header of columns?.toArray()\" class=\"left\" [class.expand]=\"header.expand\">\r\n <ng-container *ngTemplateOutlet=\"header.template\"></ng-container>\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr\r\n *ngFor=\"\r\n let item of items\r\n | paginate\r\n : {\r\n itemsPerPage: itemsPerPage,\r\n currentPage: currentPage,\r\n totalItems: totalItems\r\n };\r\n index as i;\r\n trackBy: trackByFn\r\n \"\r\n >\r\n <td *ngIf=\"isRowSelectedFn\" class=\"align-middle\">\r\n <input\r\n type=\"checkbox\"\r\n clrCheckbox\r\n [checked]=\"isRowSelectedFn(item)\"\r\n (change)=\"rowSelectChange.emit(item)\"\r\n />\r\n </td>\r\n <ng-container\r\n *ngTemplateOutlet=\"rowTemplate; context: { item: item, index: i }\"\r\n ></ng-container>\r\n </tr>\r\n </tbody>\r\n </table>\r\n <div class=\"table-footer\">\r\n <vdr-items-per-page-controls\r\n *ngIf=\"totalItems\"\r\n [itemsPerPage]=\"itemsPerPage\"\r\n (itemsPerPageChange)=\"itemsPerPageChange.emit($event)\"\r\n ></vdr-items-per-page-controls>\r\n <div *ngIf=\"totalItems\" class=\"p5\">\r\n {{ 'common.total-items' | translate: { currentStart, currentEnd, totalItems } }}\r\n </div>\r\n\r\n <vdr-pagination-controls\r\n *ngIf=\"totalItems\"\r\n [currentPage]=\"currentPage\"\r\n [itemsPerPage]=\"itemsPerPage\"\r\n [totalItems]=\"totalItems\"\r\n (pageChange)=\"pageChange.emit($event)\"\r\n ></vdr-pagination-controls>\r\n </div>\r\n</ng-container>\r\n<ng-template #emptyPlaceholder>\r\n <vdr-empty-placeholder [emptyStateLabel]=\"emptyStateLabel\"></vdr-empty-placeholder>\r\n</ng-template>\r\n",
|
|
11085
11079
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11086
11080
|
providers: [PaginationService],
|
|
11087
11081
|
styles: [":host{display:block;max-width:100%;overflow:auto}thead th{position:sticky;top:24px;z-index:1}thead th.expand{width:100%}.table-footer{display:flex;align-items:baseline;justify-content:space-between;margin-top:6px}\n"]
|
|
@@ -14679,31 +14673,20 @@ ChannelLabelPipe.decorators = [
|
|
|
14679
14673
|
* name/value if none are defined.
|
|
14680
14674
|
*/
|
|
14681
14675
|
class CustomFieldLabelPipe {
|
|
14682
|
-
|
|
14683
|
-
this.dataService = dataService;
|
|
14684
|
-
this.subscription = dataService.client.uiState().stream$.subscribe(val => {
|
|
14685
|
-
this.uiLanguageCode = val.uiState.language;
|
|
14686
|
-
});
|
|
14687
|
-
}
|
|
14688
|
-
transform(value) {
|
|
14676
|
+
transform(value, uiLanguageCode) {
|
|
14689
14677
|
if (!value) {
|
|
14690
14678
|
return value;
|
|
14691
14679
|
}
|
|
14692
14680
|
const { label } = value;
|
|
14693
14681
|
const name = this.isCustomFieldConfig(value) ? value.name : value.value;
|
|
14694
14682
|
if (label) {
|
|
14695
|
-
const match = label.find(l => l.languageCode ===
|
|
14683
|
+
const match = label.find(l => l.languageCode === uiLanguageCode);
|
|
14696
14684
|
return match ? match.value : label[0].value;
|
|
14697
14685
|
}
|
|
14698
14686
|
else {
|
|
14699
14687
|
return name;
|
|
14700
14688
|
}
|
|
14701
14689
|
}
|
|
14702
|
-
ngOnDestroy() {
|
|
14703
|
-
if (this.subscription) {
|
|
14704
|
-
this.subscription.unsubscribe();
|
|
14705
|
-
}
|
|
14706
|
-
}
|
|
14707
14690
|
isCustomFieldConfig(input) {
|
|
14708
14691
|
return input.hasOwnProperty('name');
|
|
14709
14692
|
}
|
|
@@ -14711,11 +14694,8 @@ class CustomFieldLabelPipe {
|
|
|
14711
14694
|
CustomFieldLabelPipe.decorators = [
|
|
14712
14695
|
{ type: Pipe, args: [{
|
|
14713
14696
|
name: 'customFieldLabel',
|
|
14714
|
-
pure:
|
|
14697
|
+
pure: true,
|
|
14715
14698
|
},] }
|
|
14716
|
-
];
|
|
14717
|
-
CustomFieldLabelPipe.ctorParameters = () => [
|
|
14718
|
-
{ type: DataService }
|
|
14719
14699
|
];
|
|
14720
14700
|
|
|
14721
14701
|
/**
|
|
@@ -16071,7 +16051,7 @@ function patchObject(obj, patch) {
|
|
|
16071
16051
|
}
|
|
16072
16052
|
|
|
16073
16053
|
// Auto-generated by the set-version.js script.
|
|
16074
|
-
const ADMIN_UI_VERSION = '1.
|
|
16054
|
+
const ADMIN_UI_VERSION = '1.7.1';
|
|
16075
16055
|
|
|
16076
16056
|
/**
|
|
16077
16057
|
* Responsible for registering dashboard widget components and querying for layouts.
|
|
@@ -16291,5 +16271,5 @@ function unicodePatternValidator(patternRe) {
|
|
|
16291
16271
|
* Generated bundle index. Do not edit.
|
|
16292
16272
|
*/
|
|
16293
16273
|
|
|
16294
|
-
export { ADDRESS_FRAGMENT, ADD_CUSTOMERS_TO_GROUP, ADD_MANUAL_PAYMENT_TO_ORDER, ADD_MEMBERS_TO_ZONE, ADD_NOTE_TO_CUSTOMER, ADD_NOTE_TO_ORDER, ADD_OPTION_GROUP_TO_PRODUCT, ADD_OPTION_TO_GROUP, ADMINISTRATOR_FRAGMENT, ADMIN_UI_VERSION, ALL_CUSTOM_FIELDS_FRAGMENT, ASSET_FRAGMENT, ASSIGN_PRODUCTS_TO_CHANNEL, ASSIGN_ROLE_TO_ADMINISTRATOR, ASSIGN_VARIANTS_TO_CHANNEL, ATTEMPT_LOGIN, AUTH_REDIRECT_PARAM, ActionBarComponent, ActionBarItemsComponent, ActionBarLeftComponent, ActionBarRightComponent, AddressFormComponent, AdjustmentType, AdministratorDataService, AffixedInputComponent, AppComponent, AppComponentModule, AppShellComponent, AssetFileInputComponent, AssetGalleryComponent, AssetPickerDialogComponent, AssetPreviewComponent, AssetPreviewDialogComponent, AssetPreviewLinksComponent, AssetPreviewPipe, AssetSearchInputComponent, AssetType, AuthDataService, AuthGuard, AuthService, BOOLEAN_CUSTOM_FIELD_FRAGMENT, BaseDataService, BaseDetailComponent, BaseEntityResolver, BaseListComponent, BooleanFormInputComponent, BreadcrumbComponent, CANCEL_JOB, CANCEL_ORDER, CHANNEL_FRAGMENT, COLLECTION_FRAGMENT, CONFIGURABLE_OPERATION_DEF_FRAGMENT, CONFIGURABLE_OPERATION_FRAGMENT, COUNTRY_FRAGMENT, CREATE_ADMINISTRATOR, CREATE_ASSETS, CREATE_CHANNEL, CREATE_COLLECTION, CREATE_COUNTRY, CREATE_CUSTOMER, CREATE_CUSTOMER_ADDRESS, CREATE_CUSTOMER_GROUP, CREATE_FACET, CREATE_FACET_VALUES, CREATE_FULFILLMENT, CREATE_PAYMENT_METHOD, CREATE_PRODUCT, CREATE_PRODUCT_OPTION_GROUP, CREATE_PRODUCT_VARIANTS, CREATE_PROMOTION, CREATE_ROLE, CREATE_SHIPPING_METHOD, CREATE_TAG, CREATE_TAX_CATEGORY, CREATE_TAX_RATE, CREATE_ZONE, CURRENT_USER_FRAGMENT, CUSTOMER_FRAGMENT, CUSTOMER_GROUP_FRAGMENT, CUSTOM_FIELD_CONFIG_FRAGMENT, CanDeactivateDetailGuard, ChannelAssignmentControlComponent, ChannelBadgeComponent, ChannelLabelPipe, ChannelSwitcherComponent, CheckJobsLink, ChipComponent, ClientDataService, CollectionDataService, CombinationModeFormInputComponent, ComponentRegistryService, ConfigurableInputComponent, CoreModule, CurrencyCode, CurrencyFormInputComponent, CurrencyInputComponent, CustomDetailComponentHostComponent, CustomDetailComponentService, CustomFieldComponentService, CustomFieldControlComponent, CustomFieldLabelPipe, CustomHttpTranslationLoader, CustomerDataService, CustomerGroupFormInputComponent, CustomerLabelComponent, DATE_TIME_CUSTOM_FIELD_FRAGMENT, DELETE_ADMINISTRATOR, DELETE_ASSETS, DELETE_CHANNEL, DELETE_COLLECTION, DELETE_COUNTRY, DELETE_CUSTOMER, DELETE_CUSTOMER_ADDRESS, DELETE_CUSTOMER_GROUP, DELETE_CUSTOMER_NOTE, DELETE_FACET, DELETE_FACET_VALUES, DELETE_ORDER_NOTE, DELETE_PAYMENT_METHOD, DELETE_PRODUCT, DELETE_PRODUCT_VARIANT, DELETE_PROMOTION, DELETE_ROLE, DELETE_SHIPPING_METHOD, DELETE_TAG, DELETE_TAX_CATEGORY, DELETE_TAX_RATE, DELETE_ZONE, DISCOUNT_FRAGMENT, DashboardWidgetService, DataModule, DataService, DataTableColumnComponent, DataTableComponent, DateFormInputComponent, DatetimePickerComponent, DatetimePickerService, DefaultInterceptor, DeletionResult, DialogButtonsDirective, DialogComponentOutletComponent, DialogTitleDirective, DisabledDirective, DropdownComponent, DropdownItemDirective, DropdownMenuComponent, DropdownTriggerDirective, DurationPipe, DynamicFormInputComponent, ERROR_RESULT_FRAGMENT, EditNoteDialogComponent, EmptyPlaceholderComponent, EntityInfoComponent, ErrorCode, ExtensionHostComponent, ExtensionHostConfig, ExtensionHostService, ExternalImageDialogComponent, FACET_VALUE_FRAGMENT, FACET_WITH_VALUES_FRAGMENT, FLOAT_CUSTOM_FIELD_FRAGMENT, FULFILLMENT_FRAGMENT, FacetDataService, FacetValueChipComponent, FacetValueFormInputComponent, FacetValueSelectorComponent, FetchAdapter, FileSizePipe, FocalPointControlComponent, FormFieldComponent, FormFieldControlDirective, FormItemComponent, FormattedAddressComponent, GET_ACTIVE_ADMINISTRATOR, GET_ACTIVE_CHANNEL, GET_ADJUSTMENT_OPERATIONS, GET_ADMINISTRATOR, GET_ADMINISTRATORS, GET_ASSET, GET_ASSET_LIST, GET_AVAILABLE_COUNTRIES, GET_CHANNEL, GET_CHANNELS, GET_CLIENT_STATE, GET_COLLECTION, GET_COLLECTION_CONTENTS, GET_COLLECTION_FILTERS, GET_COLLECTION_LIST, GET_COUNTRY, GET_COUNTRY_LIST, GET_CURRENT_USER, GET_CUSTOMER, GET_CUSTOMER_GROUPS, GET_CUSTOMER_GROUP_WITH_CUSTOMERS, GET_CUSTOMER_HISTORY, GET_CUSTOMER_LIST, GET_FACET_LIST, GET_FACET_WITH_VALUES, GET_GLOBAL_SETTINGS, GET_JOBS_BY_ID, GET_JOBS_LIST, GET_JOB_INFO, GET_JOB_QUEUE_LIST, GET_NEWTORK_STATUS, GET_ORDER, GET_ORDERS_LIST, GET_ORDER_HISTORY, GET_ORDER_SUMMARY, GET_PAYMENT_METHOD, GET_PAYMENT_METHOD_LIST, GET_PAYMENT_METHOD_OPERATIONS, GET_PENDING_SEARCH_INDEX_UPDATES, GET_PRODUCT_LIST, GET_PRODUCT_OPTION_GROUP, GET_PRODUCT_OPTION_GROUPS, GET_PRODUCT_SIMPLE, GET_PRODUCT_VARIANT, GET_PRODUCT_VARIANT_LIST, GET_PRODUCT_VARIANT_LIST_SIMPLE, GET_PRODUCT_VARIANT_OPTIONS, GET_PRODUCT_WITH_VARIANTS, GET_PROMOTION, GET_PROMOTION_LIST, GET_ROLE, GET_ROLES, GET_SERVER_CONFIG, GET_SHIPPING_METHOD, GET_SHIPPING_METHOD_LIST, GET_SHIPPING_METHOD_OPERATIONS, GET_TAG, GET_TAG_LIST, GET_TAX_CATEGORIES, GET_TAX_CATEGORY, GET_TAX_RATE, GET_TAX_RATE_LIST, GET_TAX_RATE_LIST_SIMPLE, GET_UI_STATE, GET_USER_STATUS, GET_ZONE, GET_ZONES, GLOBAL_SETTINGS_FRAGMENT, GlobalFlag, HasPermissionPipe, HealthCheckService, HelpTooltipComponent, HistoryEntryDetailComponent, HistoryEntryType, HttpLoaderFactory, I18nService, INT_CUSTOM_FIELD_FRAGMENT, IfDefaultChannelActiveDirective, IfDirectiveBase, IfMultichannelDirective, IfPermissionsDirective, InjectableTranslateMessageFormatCompiler, ItemsPerPageControlsComponent, JOB_INFO_FRAGMENT, JobQueueService, JobState, JsonEditorFormInputComponent, LOCALE_STRING_CUSTOM_FIELD_FRAGMENT, LOG_OUT, LabeledDataComponent, LanguageCode, LanguageSelectorComponent, LinkDialogComponent, LocalStorageService, LocaleBasePipe, LocaleCurrencyNamePipe, LocaleCurrencyPipe, LocaleDatePipe, LocaleLanguageNamePipe, LocaleRegionNamePipe, LogicalOperator, MODIFY_ORDER, MOVE_COLLECTION, MainNavComponent, ManageTagsDialogComponent, ModalDialogComponent, ModalService, NavBuilderService, NotificationComponent, NotificationService, NumberFormInputComponent, ORDER_ADDRESS_FRAGMENT, ORDER_DETAIL_FRAGMENT, ORDER_FRAGMENT, ORDER_LINE_FRAGMENT, ObjectTreeComponent, OmitTypenameLink, OrderDataService, OrderStateLabelComponent, OverlayHostComponent, OverlayHostService, PAYMENT_METHOD_FRAGMENT, PREVIEW_COLLECTION_CONTENTS, PRODUCT_DETAIL_FRAGMENT, PRODUCT_OPTION_FRAGMENT, PRODUCT_OPTION_GROUP_FRAGMENT, PRODUCT_OPTION_GROUP_WITH_OPTIONS_FRAGMENT, PRODUCT_SELECTOR_SEARCH, PRODUCT_VARIANT_FRAGMENT, PROMOTION_FRAGMENT, PaginationControlsComponent, PasswordFormInputComponent, PercentageSuffixInputComponent, Permission, ProductDataService, ProductMultiSelectorDialogComponent, ProductMultiSelectorFormInputComponent, ProductSearchInputComponent, ProductSelectorComponent, ProductSelectorFormInputComponent, PromotionDataService, ProsemirrorService, QueryResult, REFUND_FRAGMENT, REFUND_ORDER, REINDEX, RELATION_CUSTOM_FIELD_FRAGMENT, REMOVE_CUSTOMERS_FROM_GROUP, REMOVE_MEMBERS_FROM_ZONE, REMOVE_OPTION_GROUP_FROM_PRODUCT, REMOVE_PRODUCTS_FROM_CHANNEL, REMOVE_VARIANTS_FROM_CHANNEL, REQUEST_COMPLETED, REQUEST_STARTED, ROLE_FRAGMENT, RUN_PENDING_SEARCH_INDEX_UPDATES, RelationAssetInputComponent, RelationCardComponent, RelationCardDetailDirective, RelationCardPreviewDirective, RelationCustomerInputComponent, RelationFormInputComponent, RelationGenericInputComponent, RelationProductInputComponent, RelationProductVariantInputComponent, RelationSelectorDialogComponent, RichTextEditorComponent, RichTextFormInputComponent, SEARCH_PRODUCTS, SETTLE_PAYMENT, SETTLE_REFUND, SET_ACTIVE_CHANNEL, SET_AS_LOGGED_IN, SET_AS_LOGGED_OUT, SET_CONTENT_LANGUAGE, SET_DISPLAY_UI_EXTENSION_POINTS, SET_UI_LANGUAGE_AND_LOCALE, SET_UI_LOCALE, SET_UI_THEME, SHIPPING_METHOD_FRAGMENT, STRING_CUSTOM_FIELD_FRAGMENT, SelectFormInputComponent, SelectToggleComponent, SelectionManager, SentenceCasePipe, ServerConfigService, SettingsDataService, SharedModule, ShippingMethodDataService, SimpleDialogComponent, SingleSearchSelectionModel, SingleSearchSelectionModelFactory, SortOrder, SortPipe, StateI18nTokenPipe, StatusBadgeComponent, StockMovementType, StringToColorPipe, TAG_FRAGMENT, TAX_CATEGORY_FRAGMENT, TAX_RATE_FRAGMENT, TEST_ELIGIBLE_SHIPPING_METHODS, TEST_SHIPPING_METHOD, TEXT_CUSTOM_FIELD_FRAGMENT, TRANSITION_FULFILLMENT_TO_STATE, TRANSITION_ORDER_TO_STATE, TRANSITION_PAYMENT_TO_STATE, TabbedCustomFieldsComponent, TableRowActionComponent, TagSelectorComponent, TextFormInputComponent, TextareaFormInputComponent, ThemeSwitcherComponent, TimeAgoPipe, TimelineEntryComponent, TitleInputComponent, UPDATE_ACTIVE_ADMINISTRATOR, UPDATE_ADMINISTRATOR, UPDATE_ASSET, UPDATE_CHANNEL, UPDATE_COLLECTION, UPDATE_COUNTRY, UPDATE_CUSTOMER, UPDATE_CUSTOMER_ADDRESS, UPDATE_CUSTOMER_GROUP, UPDATE_CUSTOMER_NOTE, UPDATE_FACET, UPDATE_FACET_VALUES, UPDATE_GLOBAL_SETTINGS, UPDATE_ORDER_CUSTOM_FIELDS, UPDATE_ORDER_NOTE, UPDATE_PAYMENT_METHOD, UPDATE_PRODUCT, UPDATE_PRODUCT_OPTION, UPDATE_PRODUCT_OPTION_GROUP, UPDATE_PRODUCT_VARIANTS, UPDATE_PROMOTION, UPDATE_ROLE, UPDATE_SHIPPING_METHOD, UPDATE_TAG, UPDATE_TAX_CATEGORY, UPDATE_TAX_RATE, UPDATE_USER_CHANNELS, UPDATE_ZONE, USER_STATUS_FRAGMENT, UiExtensionPointComponent, UiLanguageSwitcherDialogComponent, UserMenuComponent, ZONE_FRAGMENT, addActionBarItem, addCustomFields, addNavMenuItem, addNavMenuSection, blockQuoteRule, buildInputRules, buildKeymap, buildMenuItems, bulletListRule, canInsert, clientResolvers, codeBlockRule, configurableDefinitionToInstance, configurableOperationValueIsValid, createApollo, createResolveData, createUpdatedTranslatable, dayOfWeekIndex, defaultFormInputs, detailBreadcrumb, encodeConfigArgValue, findTranslation, flattenFacetValues, getAppConfig, getClientDefaults, getConfigArgValue, getDefaultConfigArgValue, getDefaultUiLanguage, getDefaultUiLocale, getLocales, getMarkRange, getServerLocation, headingRule, hostExternalFrame, initializeServerConfigService, insertImageItem, interpolateDescription, result as introspectionResult, isEntityCreateOrUpdateMutation, jsonValidator, linkItem, linkSelectPlugin, loadAppConfig, markActive, orderedListRule, registerCustomDetailComponent, registerCustomFieldComponent, registerDashboardWidget, registerDefaultFormInputs, registerFormInputComponent, removeReadonlyCustomFields, setDashboardWidgetLayout, stringToColor, toConfigurableOperationInput, transformRelationCustomFieldInputs, unicodePatternValidator, weekDayNames, ɵ1, ɵ10, ɵ2, ɵ3, ɵ4, ɵ5, ɵ6, ɵ7, ɵ8, ɵ9 };
|
|
16274
|
+
export { ADDRESS_FRAGMENT, ADD_CUSTOMERS_TO_GROUP, ADD_MANUAL_PAYMENT_TO_ORDER, ADD_MEMBERS_TO_ZONE, ADD_NOTE_TO_CUSTOMER, ADD_NOTE_TO_ORDER, ADD_OPTION_GROUP_TO_PRODUCT, ADD_OPTION_TO_GROUP, ADMINISTRATOR_FRAGMENT, ADMIN_UI_VERSION, ALL_CUSTOM_FIELDS_FRAGMENT, ASSET_FRAGMENT, ASSIGN_PRODUCTS_TO_CHANNEL, ASSIGN_ROLE_TO_ADMINISTRATOR, ASSIGN_VARIANTS_TO_CHANNEL, ATTEMPT_LOGIN, AUTH_REDIRECT_PARAM, ActionBarComponent, ActionBarItemsComponent, ActionBarLeftComponent, ActionBarRightComponent, AddressFormComponent, AdjustmentType, AdministratorDataService, AffixedInputComponent, AppComponent, AppComponentModule, AppShellComponent, AssetFileInputComponent, AssetGalleryComponent, AssetPickerDialogComponent, AssetPreviewComponent, AssetPreviewDialogComponent, AssetPreviewLinksComponent, AssetPreviewPipe, AssetSearchInputComponent, AssetType, AuthDataService, AuthGuard, AuthService, BOOLEAN_CUSTOM_FIELD_FRAGMENT, BaseDataService, BaseDetailComponent, BaseEntityResolver, BaseListComponent, BooleanFormInputComponent, BreadcrumbComponent, CANCEL_JOB, CANCEL_ORDER, CANCEL_PAYMENT, CHANNEL_FRAGMENT, COLLECTION_FRAGMENT, CONFIGURABLE_OPERATION_DEF_FRAGMENT, CONFIGURABLE_OPERATION_FRAGMENT, COUNTRY_FRAGMENT, CREATE_ADMINISTRATOR, CREATE_ASSETS, CREATE_CHANNEL, CREATE_COLLECTION, CREATE_COUNTRY, CREATE_CUSTOMER, CREATE_CUSTOMER_ADDRESS, CREATE_CUSTOMER_GROUP, CREATE_FACET, CREATE_FACET_VALUES, CREATE_FULFILLMENT, CREATE_PAYMENT_METHOD, CREATE_PRODUCT, CREATE_PRODUCT_OPTION_GROUP, CREATE_PRODUCT_VARIANTS, CREATE_PROMOTION, CREATE_ROLE, CREATE_SHIPPING_METHOD, CREATE_TAG, CREATE_TAX_CATEGORY, CREATE_TAX_RATE, CREATE_ZONE, CURRENT_USER_FRAGMENT, CUSTOMER_FRAGMENT, CUSTOMER_GROUP_FRAGMENT, CUSTOM_FIELD_CONFIG_FRAGMENT, CanDeactivateDetailGuard, ChannelAssignmentControlComponent, ChannelBadgeComponent, ChannelLabelPipe, ChannelSwitcherComponent, CheckJobsLink, ChipComponent, ClientDataService, CollectionDataService, CombinationModeFormInputComponent, ComponentRegistryService, ConfigurableInputComponent, CoreModule, CurrencyCode, CurrencyFormInputComponent, CurrencyInputComponent, CustomDetailComponentHostComponent, CustomDetailComponentService, CustomFieldComponentService, CustomFieldControlComponent, CustomFieldLabelPipe, CustomHttpTranslationLoader, CustomerDataService, CustomerGroupFormInputComponent, CustomerLabelComponent, DATE_TIME_CUSTOM_FIELD_FRAGMENT, DELETE_ADMINISTRATOR, DELETE_ASSETS, DELETE_CHANNEL, DELETE_COLLECTION, DELETE_COUNTRY, DELETE_CUSTOMER, DELETE_CUSTOMER_ADDRESS, DELETE_CUSTOMER_GROUP, DELETE_CUSTOMER_NOTE, DELETE_FACET, DELETE_FACET_VALUES, DELETE_ORDER_NOTE, DELETE_PAYMENT_METHOD, DELETE_PRODUCT, DELETE_PRODUCT_OPTION, DELETE_PRODUCT_VARIANT, DELETE_PROMOTION, DELETE_ROLE, DELETE_SHIPPING_METHOD, DELETE_TAG, DELETE_TAX_CATEGORY, DELETE_TAX_RATE, DELETE_ZONE, DISCOUNT_FRAGMENT, DashboardWidgetService, DataModule, DataService, DataTableColumnComponent, DataTableComponent, DateFormInputComponent, DatetimePickerComponent, DatetimePickerService, DefaultInterceptor, DeletionResult, DialogButtonsDirective, DialogComponentOutletComponent, DialogTitleDirective, DisabledDirective, DropdownComponent, DropdownItemDirective, DropdownMenuComponent, DropdownTriggerDirective, DurationPipe, DynamicFormInputComponent, ERROR_RESULT_FRAGMENT, EditNoteDialogComponent, EmptyPlaceholderComponent, EntityInfoComponent, ErrorCode, ExtensionHostComponent, ExtensionHostConfig, ExtensionHostService, ExternalImageDialogComponent, FACET_VALUE_FRAGMENT, FACET_WITH_VALUES_FRAGMENT, FLOAT_CUSTOM_FIELD_FRAGMENT, FULFILLMENT_FRAGMENT, FacetDataService, FacetValueChipComponent, FacetValueFormInputComponent, FacetValueSelectorComponent, FetchAdapter, FileSizePipe, FocalPointControlComponent, FormFieldComponent, FormFieldControlDirective, FormItemComponent, FormattedAddressComponent, GET_ACTIVE_ADMINISTRATOR, GET_ACTIVE_CHANNEL, GET_ADJUSTMENT_OPERATIONS, GET_ADMINISTRATOR, GET_ADMINISTRATORS, GET_ASSET, GET_ASSET_LIST, GET_AVAILABLE_COUNTRIES, GET_CHANNEL, GET_CHANNELS, GET_CLIENT_STATE, GET_COLLECTION, GET_COLLECTION_CONTENTS, GET_COLLECTION_FILTERS, GET_COLLECTION_LIST, GET_COUNTRY, GET_COUNTRY_LIST, GET_CURRENT_USER, GET_CUSTOMER, GET_CUSTOMER_GROUPS, GET_CUSTOMER_GROUP_WITH_CUSTOMERS, GET_CUSTOMER_HISTORY, GET_CUSTOMER_LIST, GET_FACET_LIST, GET_FACET_WITH_VALUES, GET_GLOBAL_SETTINGS, GET_JOBS_BY_ID, GET_JOBS_LIST, GET_JOB_INFO, GET_JOB_QUEUE_LIST, GET_NEWTORK_STATUS, GET_ORDER, GET_ORDERS_LIST, GET_ORDER_HISTORY, GET_ORDER_SUMMARY, GET_PAYMENT_METHOD, GET_PAYMENT_METHOD_LIST, GET_PAYMENT_METHOD_OPERATIONS, GET_PENDING_SEARCH_INDEX_UPDATES, GET_PRODUCT_LIST, GET_PRODUCT_OPTION_GROUP, GET_PRODUCT_OPTION_GROUPS, GET_PRODUCT_SIMPLE, GET_PRODUCT_VARIANT, GET_PRODUCT_VARIANT_LIST, GET_PRODUCT_VARIANT_LIST_SIMPLE, GET_PRODUCT_VARIANT_OPTIONS, GET_PRODUCT_WITH_VARIANTS, GET_PROMOTION, GET_PROMOTION_LIST, GET_ROLE, GET_ROLES, GET_SERVER_CONFIG, GET_SHIPPING_METHOD, GET_SHIPPING_METHOD_LIST, GET_SHIPPING_METHOD_OPERATIONS, GET_TAG, GET_TAG_LIST, GET_TAX_CATEGORIES, GET_TAX_CATEGORY, GET_TAX_RATE, GET_TAX_RATE_LIST, GET_TAX_RATE_LIST_SIMPLE, GET_UI_STATE, GET_USER_STATUS, GET_ZONE, GET_ZONES, GLOBAL_SETTINGS_FRAGMENT, GlobalFlag, HasPermissionPipe, HealthCheckService, HelpTooltipComponent, HistoryEntryDetailComponent, HistoryEntryType, HttpLoaderFactory, I18nService, INT_CUSTOM_FIELD_FRAGMENT, IfDefaultChannelActiveDirective, IfDirectiveBase, IfMultichannelDirective, IfPermissionsDirective, InjectableTranslateMessageFormatCompiler, ItemsPerPageControlsComponent, JOB_INFO_FRAGMENT, JobQueueService, JobState, JsonEditorFormInputComponent, LOCALE_STRING_CUSTOM_FIELD_FRAGMENT, LOG_OUT, LabeledDataComponent, LanguageCode, LanguageSelectorComponent, LinkDialogComponent, LocalStorageService, LocaleBasePipe, LocaleCurrencyNamePipe, LocaleCurrencyPipe, LocaleDatePipe, LocaleLanguageNamePipe, LocaleRegionNamePipe, LogicalOperator, MODIFY_ORDER, MOVE_COLLECTION, MainNavComponent, ManageTagsDialogComponent, ModalDialogComponent, ModalService, NavBuilderService, NotificationComponent, NotificationService, NumberFormInputComponent, ORDER_ADDRESS_FRAGMENT, ORDER_DETAIL_FRAGMENT, ORDER_FRAGMENT, ORDER_LINE_FRAGMENT, ObjectTreeComponent, OmitTypenameLink, OrderDataService, OrderStateLabelComponent, OverlayHostComponent, OverlayHostService, PAYMENT_FRAGMENT, PAYMENT_METHOD_FRAGMENT, PREVIEW_COLLECTION_CONTENTS, PRODUCT_DETAIL_FRAGMENT, PRODUCT_OPTION_FRAGMENT, PRODUCT_OPTION_GROUP_FRAGMENT, PRODUCT_OPTION_GROUP_WITH_OPTIONS_FRAGMENT, PRODUCT_SELECTOR_SEARCH, PRODUCT_VARIANT_FRAGMENT, PROMOTION_FRAGMENT, PaginationControlsComponent, PasswordFormInputComponent, PercentageSuffixInputComponent, Permission, ProductDataService, ProductMultiSelectorDialogComponent, ProductMultiSelectorFormInputComponent, ProductSearchInputComponent, ProductSelectorComponent, ProductSelectorFormInputComponent, PromotionDataService, ProsemirrorService, QueryResult, REFUND_FRAGMENT, REFUND_ORDER, REINDEX, RELATION_CUSTOM_FIELD_FRAGMENT, REMOVE_CUSTOMERS_FROM_GROUP, REMOVE_MEMBERS_FROM_ZONE, REMOVE_OPTION_GROUP_FROM_PRODUCT, REMOVE_PRODUCTS_FROM_CHANNEL, REMOVE_VARIANTS_FROM_CHANNEL, REQUEST_COMPLETED, REQUEST_STARTED, ROLE_FRAGMENT, RUN_PENDING_SEARCH_INDEX_UPDATES, RelationAssetInputComponent, RelationCardComponent, RelationCardDetailDirective, RelationCardPreviewDirective, RelationCustomerInputComponent, RelationFormInputComponent, RelationGenericInputComponent, RelationProductInputComponent, RelationProductVariantInputComponent, RelationSelectorDialogComponent, RichTextEditorComponent, RichTextFormInputComponent, SEARCH_PRODUCTS, SETTLE_PAYMENT, SETTLE_REFUND, SET_ACTIVE_CHANNEL, SET_AS_LOGGED_IN, SET_AS_LOGGED_OUT, SET_CONTENT_LANGUAGE, SET_DISPLAY_UI_EXTENSION_POINTS, SET_UI_LANGUAGE_AND_LOCALE, SET_UI_LOCALE, SET_UI_THEME, SHIPPING_METHOD_FRAGMENT, STRING_CUSTOM_FIELD_FRAGMENT, SelectFormInputComponent, SelectToggleComponent, SelectionManager, SentenceCasePipe, ServerConfigService, SettingsDataService, SharedModule, ShippingMethodDataService, SimpleDialogComponent, SingleSearchSelectionModel, SingleSearchSelectionModelFactory, SortOrder, SortPipe, StateI18nTokenPipe, StatusBadgeComponent, StockMovementType, StringToColorPipe, TAG_FRAGMENT, TAX_CATEGORY_FRAGMENT, TAX_RATE_FRAGMENT, TEST_ELIGIBLE_SHIPPING_METHODS, TEST_SHIPPING_METHOD, TEXT_CUSTOM_FIELD_FRAGMENT, TRANSITION_FULFILLMENT_TO_STATE, TRANSITION_ORDER_TO_STATE, TRANSITION_PAYMENT_TO_STATE, TabbedCustomFieldsComponent, TableRowActionComponent, TagSelectorComponent, TextFormInputComponent, TextareaFormInputComponent, ThemeSwitcherComponent, TimeAgoPipe, TimelineEntryComponent, TitleInputComponent, UPDATE_ACTIVE_ADMINISTRATOR, UPDATE_ADMINISTRATOR, UPDATE_ASSET, UPDATE_CHANNEL, UPDATE_COLLECTION, UPDATE_COUNTRY, UPDATE_CUSTOMER, UPDATE_CUSTOMER_ADDRESS, UPDATE_CUSTOMER_GROUP, UPDATE_CUSTOMER_NOTE, UPDATE_FACET, UPDATE_FACET_VALUES, UPDATE_GLOBAL_SETTINGS, UPDATE_ORDER_CUSTOM_FIELDS, UPDATE_ORDER_NOTE, UPDATE_PAYMENT_METHOD, UPDATE_PRODUCT, UPDATE_PRODUCT_OPTION, UPDATE_PRODUCT_OPTION_GROUP, UPDATE_PRODUCT_VARIANTS, UPDATE_PROMOTION, UPDATE_ROLE, UPDATE_SHIPPING_METHOD, UPDATE_TAG, UPDATE_TAX_CATEGORY, UPDATE_TAX_RATE, UPDATE_USER_CHANNELS, UPDATE_ZONE, USER_STATUS_FRAGMENT, UiExtensionPointComponent, UiLanguageSwitcherDialogComponent, UserMenuComponent, ZONE_FRAGMENT, addActionBarItem, addCustomFields, addNavMenuItem, addNavMenuSection, blockQuoteRule, buildInputRules, buildKeymap, buildMenuItems, bulletListRule, canInsert, clientResolvers, codeBlockRule, configurableDefinitionToInstance, configurableOperationValueIsValid, createApollo, createResolveData, createUpdatedTranslatable, dayOfWeekIndex, defaultFormInputs, detailBreadcrumb, encodeConfigArgValue, findTranslation, flattenFacetValues, getAppConfig, getClientDefaults, getConfigArgValue, getDefaultConfigArgValue, getDefaultUiLanguage, getDefaultUiLocale, getLocales, getMarkRange, getServerLocation, headingRule, hostExternalFrame, initializeServerConfigService, insertImageItem, interpolateDescription, result as introspectionResult, isEntityCreateOrUpdateMutation, jsonValidator, linkItem, linkSelectPlugin, loadAppConfig, markActive, orderedListRule, registerCustomDetailComponent, registerCustomFieldComponent, registerDashboardWidget, registerDefaultFormInputs, registerFormInputComponent, removeReadonlyCustomFields, setDashboardWidgetLayout, stringToColor, toConfigurableOperationInput, transformRelationCustomFieldInputs, unicodePatternValidator, weekDayNames, ɵ1, ɵ10, ɵ2, ɵ3, ɵ4, ɵ5, ɵ6, ɵ7, ɵ8, ɵ9 };
|
|
16295
16275
|
//# sourceMappingURL=vendure-admin-ui-core.js.map
|