@@ -66,37 +66,39 @@ class Constants {
6666 */
6767
6868 // Available AnswerTypes
69- public const ANSWER_TYPE_MULTIPLE = 'multiple ' ;
70- public const ANSWER_TYPE_MULTIPLEUNIQUE = 'multiple_unique ' ;
71- public const ANSWER_TYPE_DROPDOWN = 'dropdown ' ;
72- public const ANSWER_TYPE_SHORT = 'short ' ;
73- public const ANSWER_TYPE_LONG = 'long ' ;
69+ public const ANSWER_TYPE_COLOR = 'color ' ;
7470 public const ANSWER_TYPE_DATE = 'date ' ;
7571 public const ANSWER_TYPE_DATETIME = 'datetime ' ;
76- public const ANSWER_TYPE_TIME = 'time ' ;
72+ public const ANSWER_TYPE_DROPDOWN = 'dropdown ' ;
7773 public const ANSWER_TYPE_FILE = 'file ' ;
7874 public const ANSWER_TYPE_LINEARSCALE = 'linearscale ' ;
75+ public const ANSWER_TYPE_LONG = 'long ' ;
76+ public const ANSWER_TYPE_MULTIPLE = 'multiple ' ;
77+ public const ANSWER_TYPE_MULTIPLEUNIQUE = 'multiple_unique ' ;
78+ public const ANSWER_TYPE_SHORT = 'short ' ;
79+ public const ANSWER_TYPE_TIME = 'time ' ;
7980
8081 // All AnswerTypes
8182 public const ANSWER_TYPES = [
82- self ::ANSWER_TYPE_MULTIPLE ,
83- self ::ANSWER_TYPE_MULTIPLEUNIQUE ,
84- self ::ANSWER_TYPE_DROPDOWN ,
85- self ::ANSWER_TYPE_SHORT ,
86- self ::ANSWER_TYPE_LONG ,
83+ self ::ANSWER_TYPE_COLOR ,
8784 self ::ANSWER_TYPE_DATE ,
8885 self ::ANSWER_TYPE_DATETIME ,
89- self ::ANSWER_TYPE_TIME ,
86+ self ::ANSWER_TYPE_DROPDOWN ,
9087 self ::ANSWER_TYPE_FILE ,
9188 self ::ANSWER_TYPE_LINEARSCALE ,
89+ self ::ANSWER_TYPE_LONG ,
90+ self ::ANSWER_TYPE_MULTIPLE ,
91+ self ::ANSWER_TYPE_MULTIPLEUNIQUE ,
92+ self ::ANSWER_TYPE_SHORT ,
93+ self ::ANSWER_TYPE_TIME ,
9294 ];
9395
9496 // AnswerTypes, that need/have predefined Options
9597 public const ANSWER_TYPES_PREDEFINED = [
96- self ::ANSWER_TYPE_MULTIPLE ,
97- self ::ANSWER_TYPE_MULTIPLEUNIQUE ,
9898 self ::ANSWER_TYPE_DROPDOWN ,
9999 self ::ANSWER_TYPE_LINEARSCALE ,
100+ self ::ANSWER_TYPE_MULTIPLE ,
101+ self ::ANSWER_TYPE_MULTIPLEUNIQUE ,
100102 ];
101103
102104 // AnswerTypes for date/time questions
@@ -194,10 +196,10 @@ class Constants {
194196 * !! Keep in sync with src/mixins/ShareTypes.js !!
195197 */
196198 public const SHARE_TYPES_USED = [
197- IShare::TYPE_USER ,
199+ IShare::TYPE_CIRCLE ,
198200 IShare::TYPE_GROUP ,
199201 IShare::TYPE_LINK ,
200- IShare::TYPE_CIRCLE
202+ IShare::TYPE_USER ,
201203 ];
202204
203205 /**
@@ -214,18 +216,18 @@ class Constants {
214216
215217 public const PERMISSION_ALL = [
216218 self ::PERMISSION_EDIT ,
219+ self ::PERMISSION_EMBED ,
217220 self ::PERMISSION_RESULTS ,
218221 self ::PERMISSION_RESULTS_DELETE ,
219222 self ::PERMISSION_SUBMIT ,
220- self ::PERMISSION_EMBED ,
221223 ];
222224
223225 /**
224226 * !! Keep in sync with src/FormsEmptyContent.vue !!
225227 * InitialStates for emptyContent to render as...
226228 */
227- public const EMPTY_NOTFOUND = 'notfound ' ;
228229 public const EMPTY_EXPIRED = 'expired ' ;
230+ public const EMPTY_NOTFOUND = 'notfound ' ;
229231
230232 /**
231233 * Constants related to extra settings for questions
0 commit comments