@ubnt/store.core 9.28.0-beta.7 → 9.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/CHANGELOG.md +3 -63
  2. package/lib/_virtual/_virtual_multi-entry.js +2 -15
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +0 -2
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/assets/minus4.svg +8 -8
  7. package/lib/assets/minus5.svg +8 -8
  8. package/lib/assets/ucgMax.jpg +0 -0
  9. package/lib/assets/ucgMax2.jpg +0 -0
  10. package/lib/assets/ucgUltra.jpg +0 -0
  11. package/lib/assets/ucgUltra2.jpg +0 -0
  12. package/lib/assets/udmPro.jpg +0 -0
  13. package/lib/assets/udmPro2.jpg +0 -0
  14. package/lib/assets/udmProMax.jpg +0 -0
  15. package/lib/assets/udmProMax2.jpg +0 -0
  16. package/lib/assets/udmProSpecial.jpg +0 -0
  17. package/lib/assets/udmProSpecial2.jpg +0 -0
  18. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
  19. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
  20. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.js +5 -5
  21. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.mjs +2 -2
  22. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
  23. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
  24. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
  25. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
  26. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
  27. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
  28. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
  29. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
  30. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.js +1 -1
  31. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.mjs +2 -2
  32. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
  33. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
  34. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
  35. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
  36. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
  37. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
  38. package/lib/components/ModelCompareV3/data/CloudGateways.js +15 -15
  39. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +10 -10
  40. package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
  41. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
  42. package/lib/components/ModelCompareV3/data/products/ucgUltra.js +1 -1
  43. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +1 -1
  44. package/lib/components/ModelCompareV3/data/products/udmPro.js +1 -1
  45. package/lib/components/ModelCompareV3/data/products/udmPro.mjs +1 -1
  46. package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
  47. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +1 -1
  48. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
  49. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
  50. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +1 -1
  51. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +1 -1
  52. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  53. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  54. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +1 -1
  55. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +1 -1
  56. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  57. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  58. package/lib/constants/icons/options/colors/black.svg.js +5 -5
  59. package/lib/constants/icons/options/colors/index.js +3 -3
  60. package/lib/constants/icons/options/styles/black.svg.js +5 -5
  61. package/lib/constants/icons/options/styles/index.js +3 -3
  62. package/lib/constants/optionIcons.js +6 -6
  63. package/lib/constants/optionIcons.mjs +4 -4
  64. package/lib/constants/proStoreCategories/mapping/index.d.ts +0 -3
  65. package/lib/constants/proStoreCategories/mapping/index.js +53 -52
  66. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  67. package/lib/constants/proStoreCategories/mapping/index.mjs +53 -52
  68. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  69. package/lib/constants/proStoreCategories/mapping/redirects.js +0 -8
  70. package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
  71. package/lib/constants/proStoreCategories/mapping/redirects.mjs +0 -8
  72. package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
  73. package/lib/constants/proStoreCategories/mapping/uisp.d.ts +0 -1
  74. package/lib/constants/proStoreCategories/mapping/uisp.js +0 -1
  75. package/lib/constants/proStoreCategories/mapping/uisp.js.map +1 -1
  76. package/lib/constants/proStoreCategories/mapping/uisp.mjs +0 -1
  77. package/lib/constants/proStoreCategories/mapping/uisp.mjs.map +1 -1
  78. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +4 -4
  79. package/lib/constants/proStoreCategories/mapping/unifi.js +3 -3
  80. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  81. package/lib/constants/proStoreCategories/mapping/unifi.mjs +3 -3
  82. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  83. package/lib/constants/proStoreCategories/translations/ar.json.js +0 -5
  84. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  85. package/lib/constants/proStoreCategories/translations/ar.json.mjs +1 -5
  86. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  87. package/lib/constants/proStoreCategories/translations/de.json.js +0 -5
  88. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  89. package/lib/constants/proStoreCategories/translations/de.json.mjs +1 -5
  90. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  91. package/lib/constants/proStoreCategories/translations/el.json.js +0 -5
  92. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  93. package/lib/constants/proStoreCategories/translations/el.json.mjs +1 -5
  94. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  95. package/lib/constants/proStoreCategories/translations/en.json.js +0 -5
  96. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  97. package/lib/constants/proStoreCategories/translations/en.json.mjs +1 -5
  98. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  99. package/lib/constants/proStoreCategories/translations/es.json.js +0 -5
  100. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  101. package/lib/constants/proStoreCategories/translations/es.json.mjs +1 -5
  102. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  103. package/lib/constants/proStoreCategories/translations/fr.json.js +0 -5
  104. package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
  105. package/lib/constants/proStoreCategories/translations/fr.json.mjs +1 -5
  106. package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
  107. package/lib/constants/proStoreCategories/translations/it.json.js +0 -5
  108. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  109. package/lib/constants/proStoreCategories/translations/it.json.mjs +1 -5
  110. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  111. package/lib/constants/proStoreCategories/translations/ja.json.js +0 -5
  112. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  113. package/lib/constants/proStoreCategories/translations/ja.json.mjs +1 -5
  114. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  115. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +0 -5
  116. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  117. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +1 -5
  118. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  119. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +0 -5
  120. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
  121. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +1 -5
  122. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
  123. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +0 -5
  124. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
  125. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +1 -5
  126. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
  127. package/lib/helpers/index.d.ts +0 -1
  128. package/lib/helpers/index.js +0 -11
  129. package/lib/helpers/index.js.map +1 -1
  130. package/lib/helpers/index.mjs +0 -1
  131. package/lib/helpers/index.mjs.map +1 -1
  132. package/lib/types/index.d.ts +0 -1
  133. package/lib/types/index.js +0 -2
  134. package/lib/types/index.js.map +1 -1
  135. package/lib/types/index.mjs +0 -1
  136. package/lib/types/index.mjs.map +1 -1
  137. package/lib/utils/address.d.ts +62 -278
  138. package/lib/utils/address.js +8 -11
  139. package/lib/utils/address.js.map +1 -1
  140. package/lib/utils/address.mjs +8 -11
  141. package/lib/utils/address.mjs.map +1 -1
  142. package/lib/utils/array.d.ts +0 -4
  143. package/lib/utils/array.js +0 -10
  144. package/lib/utils/array.js.map +1 -1
  145. package/lib/utils/array.mjs +1 -10
  146. package/lib/utils/array.mjs.map +1 -1
  147. package/lib/utils/money/constants.d.ts +0 -7
  148. package/lib/utils/money/constants.js +1 -9
  149. package/lib/utils/money/constants.js.map +1 -1
  150. package/lib/utils/money/constants.mjs +2 -10
  151. package/lib/utils/money/constants.mjs.map +1 -1
  152. package/lib/utils/money/tax.private.d.ts +8 -0
  153. package/lib/utils/money/tax.private.js +14 -5
  154. package/lib/utils/money/tax.private.js.map +1 -1
  155. package/lib/utils/money/tax.private.mjs +16 -8
  156. package/lib/utils/money/tax.private.mjs.map +1 -1
  157. package/package.json +1 -1
  158. package/lib/helpers/product.d.ts +0 -87
  159. package/lib/helpers/product.js +0 -346
  160. package/lib/helpers/product.js.map +0 -1
  161. package/lib/helpers/product.mjs +0 -335
  162. package/lib/helpers/product.mjs.map +0 -1
  163. package/lib/helpers/product.test.d.ts +0 -1
  164. package/lib/types/product.d.ts +0 -87
  165. package/lib/types/product.js +0 -14
  166. package/lib/types/product.js.map +0 -1
  167. package/lib/types/product.mjs +0 -13
  168. package/lib/types/product.mjs.map +0 -1
  169. package/lib/utils/productSort.d.ts +0 -41
  170. package/lib/utils/productSort.js +0 -67
  171. package/lib/utils/productSort.js.map +0 -1
  172. package/lib/utils/productSort.mjs +0 -60
  173. package/lib/utils/productSort.mjs.map +0 -1
  174. package/lib/utils/validations/lastNameSuperRefinement.d.ts +0 -11
  175. package/lib/utils/validations/lastNameSuperRefinement.js +0 -25
  176. package/lib/utils/validations/lastNameSuperRefinement.js.map +0 -1
  177. package/lib/utils/validations/lastNameSuperRefinement.mjs +0 -21
  178. package/lib/utils/validations/lastNameSuperRefinement.mjs.map +0 -1
@@ -19,7 +19,6 @@ var Installations = "安裝配件";
19
19
  var Intercoms = "對講機";
20
20
  var Kits = "套組";
21
21
  var Mounting = "安裝配件";
22
- var NAS = "NAS";
23
22
  var Other = "其他";
24
23
  var Outdoor = "戶外適用";
25
24
  var PTZ = "PTZ";
@@ -65,7 +64,6 @@ var zhHantTW = {
65
64
  "EdgeMAX Routing": "EdgeMAX 路由器",
66
65
  "EdgeMAX Switching": "EdgeMAX 交換器",
67
66
  Enterprise: Enterprise,
68
- "Enterprise Campus": "企業校園",
69
67
  "Enterprise Scale": "企業規模",
70
68
  Express: Express,
71
69
  Fiber: Fiber,
@@ -86,7 +84,6 @@ var zhHantTW = {
86
84
  "Mega Capacity": "高效能",
87
85
  "Mobile Routing": "行動路由",
88
86
  Mounting: Mounting,
89
- NAS: NAS,
90
87
  "NVRs & Viewport": "NVR & Viewport",
91
88
  "New Integrations": "New Integrations 整合設備",
92
89
  Other: Other,
@@ -122,7 +119,6 @@ var zhHantTW = {
122
119
  Utility: Utility,
123
120
  Wall: Wall,
124
121
  "Wave 60 GHz": "Wave 60 GHz",
125
- "Wave MLO": "Wave MLO",
126
122
  "What's New": "新品快報",
127
123
  WiFi: WiFi,
128
124
  "WiFi CPE": "WiFi CPE",
@@ -137,5 +133,5 @@ var zhHantTW = {
137
133
  "airMAX 5 GHz": "airMAX 5 GHz",
138
134
  "airMAX 60 GHz": "airMAX 60 GHz"
139
135
  };
140
- export { Accessories, Aggregation, All, Antennas, Apparel, Bullet, Cabling, Compact, Converters, Doorbells, Enterprise, Express, Fiber, Flagship, GPON, Hosting, Hubs, Installations, Intercoms, Kits, Mounting, NAS, Other, Outdoor, PTZ, Professional, Readers, Standard, Storage, Switching, Theta, Ultra, Utility, Wall, WiFi, Wired, Wireless, zhHantTW as default };
136
+ export { Accessories, Aggregation, All, Antennas, Apparel, Bullet, Cabling, Compact, Converters, Doorbells, Enterprise, Express, Fiber, Flagship, GPON, Hosting, Hubs, Installations, Intercoms, Kits, Mounting, Other, Outdoor, PTZ, Professional, Readers, Standard, Storage, Switching, Theta, Ultra, Utility, Wall, WiFi, Wired, Wireless, zhHantTW as default };
141
137
  //# sourceMappingURL=zh-Hant-TW.json.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"zh-Hant-TW.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"zh-Hant-TW.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +1 @@
1
1
  export * from "./proStoreCategories";
2
- export * from "./product";
@@ -1,7 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  var proStoreCategories = require('./proStoreCategories.js');
4
- var product = require('./product.js');
5
4
  "use strict";
6
5
  exports.getCategoriesBySubcategory = proStoreCategories.getCategoriesBySubcategory;
7
6
  exports.getLocalizedCategories = proStoreCategories.getLocalizedCategories;
@@ -11,14 +10,4 @@ exports.getSubCategoryIdByCollectionSlug = proStoreCategories.getSubCategoryIdBy
11
10
  exports.isValidSubCategory = proStoreCategories.isValidSubCategory;
12
11
  exports.parseCategories = proStoreCategories.parseCategories;
13
12
  exports.useTranslatedCategories = proStoreCategories.useTranslatedCategories;
14
- exports.COLLECTION_SECTION_OTHER_ID = product.COLLECTION_SECTION_OTHER_ID;
15
- exports.HDDProductSlugs = product.HDDProductSlugs;
16
- exports.MagicCollectionTags = product.MagicCollectionTags;
17
- exports.ProductOptions = product.ProductOptions;
18
- exports.createSectionHierarchy = product.createSectionHierarchy;
19
- exports.getProStoreCategory = product.getProStoreCategory;
20
- exports.getProductGroups = product.getProductGroups;
21
- exports.getStoreProducts = product.getStoreProducts;
22
- exports.isNonNullish = product.isNonNullish;
23
- exports.removeExcludedProducts = product.removeExcludedProducts;
24
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -1,4 +1,3 @@
1
1
  export { getCategoriesBySubcategory, getLocalizedCategories, getProductLineByCategory, getProductLineBySubcategory, getSubCategoryIdByCollectionSlug, isValidSubCategory, parseCategories, useTranslatedCategories } from './proStoreCategories.mjs';
2
- export { COLLECTION_SECTION_OTHER_ID, HDDProductSlugs, MagicCollectionTags, ProductOptions, createSectionHierarchy, getProStoreCategory, getProductGroups, getStoreProducts, isNonNullish, removeExcludedProducts } from './product.mjs';
3
2
  "use strict";
4
3
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -3,4 +3,3 @@ export * from "./constants";
3
3
  export * from "./generated";
4
4
  export * from "./object";
5
5
  export * from "./utils";
6
- export * from "./product";
@@ -5,7 +5,6 @@ var constants = require('./constants.js');
5
5
  var generated = require('./generated.js');
6
6
  require('./object.js');
7
7
  require('./utils.js');
8
- var product = require('./product.js');
9
8
  "use strict";
10
9
  exports.AddressUsageType = constants.AddressUsageType;
11
10
  exports.Language = constants.Language;
@@ -19,5 +18,4 @@ exports.Unit = generated.Unit;
19
18
  exports.UnitSystem = generated.UnitSystem;
20
19
  exports.UserAssignedCountryCode = generated.UserAssignedCountryCode;
21
20
  exports.ValidateTaxStatus = generated.ValidateTaxStatus;
22
- exports.DisplayProductStatus = product.DisplayProductStatus;
23
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
@@ -3,6 +3,5 @@ export { AddressUsageType, Language } from './constants.mjs';
3
3
  export { AddressType, CountryCode, Currency, GlobalStoreId, ProductLine, StoreId, Unit, UnitSystem, UserAssignedCountryCode, ValidateTaxStatus } from './generated.mjs';
4
4
  import './object.mjs';
5
5
  import './utils.mjs';
6
- export { DisplayProductStatus } from './product.mjs';
7
6
  "use strict";
8
7
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}