shred-api-client 2.2.4 → 2.3.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.
package/dist/index.mjs CHANGED
@@ -840,6 +840,7 @@ __export(project_exports, {
840
840
  FeedbackSchema: () => FeedbackSchema,
841
841
  ProjectSchema: () => ProjectSchema,
842
842
  Status: () => Status2,
843
+ StatusConfig: () => StatusConfig,
843
844
  Styles: () => Styles,
844
845
  TimelineItemSchema: () => TimelineItemSchema
845
846
  });
@@ -966,6 +967,226 @@ var Endpoints3 = {
966
967
  GetPoolSize: { uri: "/projects/pool/size/", method: "GET" }
967
968
  };
968
969
 
970
+ // src/model/project/StatusConfig.ts
971
+ var StatusConfig = {
972
+ [0 /* SUBMITTED */]: {
973
+ id: 0 /* SUBMITTED */,
974
+ label: "Submitted",
975
+ colors: {
976
+ text: "#854D0E",
977
+ bg: "#FEF9C3",
978
+ border: "#FEF08A",
979
+ dot: "#A16207"
980
+ },
981
+ thumbnail: {
982
+ primary: "#FDE047",
983
+ secondary: "#FEFCE8"
984
+ },
985
+ icons: {
986
+ mobile: { primary: "#EAB308", secondary: "#FACC15" },
987
+ web: {
988
+ name: "Share",
989
+ iconColor: "#713F12",
990
+ bgColor: "#FEF08A"
991
+ }
992
+ },
993
+ progress: {
994
+ primary: "#FACC15",
995
+ secondary: "#FEF08A",
996
+ border: "#FEF9C3"
997
+ }
998
+ },
999
+ [1 /* EDITING */]: {
1000
+ id: 1 /* EDITING */,
1001
+ label: "In Progress",
1002
+ colors: {
1003
+ text: "#7C3AED",
1004
+ bg: "#F5F3FF",
1005
+ border: "#DDD6FE",
1006
+ dot: "#7C3AED"
1007
+ },
1008
+ thumbnail: {
1009
+ primary: "#C4B5FD",
1010
+ secondary: "#F5F3FF"
1011
+ },
1012
+ icons: {
1013
+ mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1014
+ web: {
1015
+ name: "Hourglass",
1016
+ iconColor: "#7C3AED",
1017
+ bgColor: "#DDD6FE"
1018
+ }
1019
+ },
1020
+ progress: {
1021
+ primary: "#C4B5FD",
1022
+ secondary: "#F5F3FF",
1023
+ border: "#EDE9FE"
1024
+ }
1025
+ },
1026
+ [3 /* WAITING_APPROVE */]: {
1027
+ id: 3 /* WAITING_APPROVE */,
1028
+ label: "Waiting Approval",
1029
+ colors: {
1030
+ text: "#C2410C",
1031
+ bg: "#FFEDD5",
1032
+ border: "#FED7AA",
1033
+ dot: "#EA580C"
1034
+ },
1035
+ thumbnail: {
1036
+ primary: "#C4B5FD",
1037
+ secondary: "#F5F3FF"
1038
+ },
1039
+ icons: {
1040
+ mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1041
+ web: {
1042
+ name: "Clock",
1043
+ iconColor: "#C2410C",
1044
+ bgColor: "#FED7AA"
1045
+ }
1046
+ },
1047
+ progress: {
1048
+ primary: "#FDBA74",
1049
+ secondary: "#FFF7ED",
1050
+ border: "#FFEDD5"
1051
+ }
1052
+ },
1053
+ [4 /* DENIED */]: {
1054
+ id: 4 /* DENIED */,
1055
+ label: "Denied",
1056
+ colors: {
1057
+ text: "#EF4444",
1058
+ bg: "#FEE2E2",
1059
+ border: "#FECACA",
1060
+ dot: "#EF4444"
1061
+ },
1062
+ thumbnail: {
1063
+ primary: "#C4B5FD",
1064
+ secondary: "#F5F3FF"
1065
+ },
1066
+ icons: {
1067
+ mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1068
+ web: {
1069
+ name: "CircleX",
1070
+ iconColor: "#EF4444",
1071
+ bgColor: "#FECACA"
1072
+ }
1073
+ },
1074
+ progress: {
1075
+ primary: "#FCA5A5",
1076
+ secondary: "#FEF2F2",
1077
+ border: "#FEE2E2"
1078
+ }
1079
+ },
1080
+ [7 /* SCHEDULED */]: {
1081
+ id: 7 /* SCHEDULED */,
1082
+ label: "Scheduled",
1083
+ colors: {
1084
+ text: "#3F6212",
1085
+ bg: "#ECFCCB",
1086
+ border: "#D9F99D",
1087
+ dot: "#4D7C0F"
1088
+ },
1089
+ thumbnail: {
1090
+ primary: "#C4B5FD",
1091
+ secondary: "#F5F3FF"
1092
+ },
1093
+ icons: {
1094
+ mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
1095
+ web: {
1096
+ name: "CalendarRange",
1097
+ iconColor: "#3F6212",
1098
+ bgColor: "#D9F99D"
1099
+ }
1100
+ },
1101
+ progress: {
1102
+ primary: "#BEF264",
1103
+ secondary: "#F7FEE7",
1104
+ border: "#ECFCCB"
1105
+ }
1106
+ },
1107
+ [2 /* COMPLETED */]: {
1108
+ id: 2 /* COMPLETED */,
1109
+ label: "Completed",
1110
+ colors: {
1111
+ text: "#16A34A",
1112
+ bg: "#F0FDF4",
1113
+ border: "#DCFCE7",
1114
+ dot: "#16A34A"
1115
+ },
1116
+ thumbnail: {
1117
+ primary: "#86EFAC",
1118
+ secondary: "#F0FDF4"
1119
+ },
1120
+ icons: {
1121
+ mobile: { primary: "#22C55E", secondary: "#BBF7D0" },
1122
+ web: {
1123
+ name: "CircleCheck",
1124
+ iconColor: "#16A34A",
1125
+ bgColor: "#DCFCE7"
1126
+ }
1127
+ },
1128
+ progress: {
1129
+ primary: "#4ADE80",
1130
+ secondary: "#DCFCE7",
1131
+ border: "#BBF7D0"
1132
+ }
1133
+ },
1134
+ [5 /* REVISIONING */]: {
1135
+ id: 5 /* REVISIONING */,
1136
+ label: "Revisioning",
1137
+ colors: {
1138
+ text: "#0369A1",
1139
+ bg: "#BAE6FD",
1140
+ border: "#7DD3FC",
1141
+ dot: "#0369A1"
1142
+ },
1143
+ thumbnail: {
1144
+ primary: "#7DD3FC",
1145
+ secondary: "#E0F2FE"
1146
+ },
1147
+ icons: {
1148
+ mobile: { primary: "#0EA5E9", secondary: "#7DD3FC" },
1149
+ web: {
1150
+ name: "FilePen",
1151
+ iconColor: "#0369A1",
1152
+ bgColor: "#7DD3FC"
1153
+ }
1154
+ },
1155
+ progress: {
1156
+ primary: "#7DD3FC",
1157
+ secondary: "#F0F9FF",
1158
+ border: "#E0F2FE"
1159
+ }
1160
+ },
1161
+ [6 /* CANCELLED */]: {
1162
+ id: 6 /* CANCELLED */,
1163
+ label: "Canceled",
1164
+ colors: {
1165
+ text: "#A3A3A3",
1166
+ bg: "#F5F5F5",
1167
+ border: "#E5E5E5",
1168
+ dot: "#A3A3A3"
1169
+ },
1170
+ thumbnail: {
1171
+ primary: "#D4D4D4",
1172
+ secondary: "#FAFAFA"
1173
+ },
1174
+ icons: {
1175
+ mobile: { primary: "#6B7280", secondary: "#D1D5DB" },
1176
+ web: {
1177
+ name: "Ban",
1178
+ iconColor: "#A3A3A3",
1179
+ bgColor: "#F5F5F5"
1180
+ }
1181
+ },
1182
+ progress: {
1183
+ primary: "#A3A3A3",
1184
+ secondary: "#FAFAFA",
1185
+ border: "#E5E5E5"
1186
+ }
1187
+ }
1188
+ };
1189
+
969
1190
  // src/api/Project.api.ts
970
1191
  var ProjectAPI = class {
971
1192
  constructor(env) {