meemup-library 1.4.96 → 1.4.97

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.
@@ -0,0 +1,9 @@
1
+ declare enum EnumCategorySortBy {
2
+ DontSort = 1,
3
+ ByNameFromATZ = 2,
4
+ ByNameFromZTA = 3,
5
+ ByPriceFromZeroToNine = 4,
6
+ ByPriceFromNineToZero = 5,
7
+ Custom = 6
8
+ }
9
+ export default EnumCategorySortBy;
@@ -0,0 +1,10 @@
1
+ var EnumCategorySortBy;
2
+ (function (EnumCategorySortBy) {
3
+ EnumCategorySortBy[EnumCategorySortBy["DontSort"] = 1] = "DontSort";
4
+ EnumCategorySortBy[EnumCategorySortBy["ByNameFromATZ"] = 2] = "ByNameFromATZ";
5
+ EnumCategorySortBy[EnumCategorySortBy["ByNameFromZTA"] = 3] = "ByNameFromZTA";
6
+ EnumCategorySortBy[EnumCategorySortBy["ByPriceFromZeroToNine"] = 4] = "ByPriceFromZeroToNine";
7
+ EnumCategorySortBy[EnumCategorySortBy["ByPriceFromNineToZero"] = 5] = "ByPriceFromNineToZero";
8
+ EnumCategorySortBy[EnumCategorySortBy["Custom"] = 6] = "Custom";
9
+ })(EnumCategorySortBy || (EnumCategorySortBy = {}));
10
+ export default EnumCategorySortBy;
@@ -0,0 +1,2 @@
1
+ import ITextValue from "../interfaces/ITextValue";
2
+ export declare const CategorySortByOptions: ITextValue[];
@@ -0,0 +1,27 @@
1
+ import EnumCategorySortBy from "../enums/EnumCategorySortBy";
2
+ export const CategorySortByOptions = [
3
+ {
4
+ value: EnumCategorySortBy.DontSort,
5
+ text: "(Don't sort)",
6
+ },
7
+ {
8
+ value: EnumCategorySortBy.ByNameFromATZ,
9
+ text: "By name(A-Z)",
10
+ },
11
+ {
12
+ value: EnumCategorySortBy.ByNameFromZTA,
13
+ text: "By name(Z-A)",
14
+ },
15
+ {
16
+ value: EnumCategorySortBy.ByPriceFromZeroToNine,
17
+ text: "By price(0-9)",
18
+ },
19
+ {
20
+ value: EnumCategorySortBy.ByPriceFromNineToZero,
21
+ text: "By price(9-0)",
22
+ },
23
+ {
24
+ value: EnumCategorySortBy.Custom,
25
+ text: "Custom",
26
+ },
27
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.4.96",
3
+ "version": "1.4.97",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "remove:one": "rimraf dist",
12
12
  "remove:two": "rimraf ./src/dist",
13
13
  "test": "echo \"Error: no test specified\" && exit 1",
14
- "commit": "git add . && git commit -m \"version.1.4.96\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.4.97\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"