@vue-skuilder/common-ui 0.1.21 → 0.1.22
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/assets/index.css +1 -1
- package/dist/common-ui.es.js +1 -1
- package/dist/common-ui.es.js.map +1 -1
- package/dist/common-ui.umd.js +1 -1
- package/dist/common-ui.umd.js.map +1 -1
- package/dist/components/CardBrowser.vue.d.ts +9 -0
- package/dist/components/CardBrowser.vue.d.ts.map +1 -1
- package/dist/components/CourseCardBrowser.vue.d.ts +9 -0
- package/dist/components/CourseCardBrowser.vue.d.ts.map +1 -1
- package/dist/components/CourseInformation.vue.d.ts +9 -0
- package/dist/components/CourseInformation.vue.d.ts.map +1 -1
- package/dist/components/StudySession.vue.d.ts +27 -0
- package/dist/components/StudySession.vue.d.ts.map +1 -1
- package/dist/components/cardRendering/CardLoader.vue.d.ts +9 -0
- package/dist/components/cardRendering/CardLoader.vue.d.ts.map +1 -1
- package/dist/components/cardRendering/CardViewer.vue.d.ts +9 -0
- package/dist/components/cardRendering/CardViewer.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/components/StudySession.vue +10 -1
- package/src/components/cardRendering/CardViewer.vue +18 -1
|
@@ -81,6 +81,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
81
81
|
type: NumberConstructor;
|
|
82
82
|
default: number;
|
|
83
83
|
};
|
|
84
|
+
frameless: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
84
88
|
}>, {}, {}, {}, {
|
|
85
89
|
processResponse(r: import('../../../db/dist/index.mjs').CardRecord): void;
|
|
86
90
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "emitResponse"[], "emitResponse", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -122,6 +126,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
122
126
|
type: NumberConstructor;
|
|
123
127
|
default: number;
|
|
124
128
|
};
|
|
129
|
+
frameless: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
125
133
|
}>> & Readonly<{
|
|
126
134
|
onEmitResponse?: ((...args: any[]) => any) | undefined;
|
|
127
135
|
}>, {
|
|
@@ -130,6 +138,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
130
138
|
course_id: string;
|
|
131
139
|
user_elo: import('../../../common/dist/index.mjs').CourseElo;
|
|
132
140
|
card_elo: number;
|
|
141
|
+
frameless: boolean;
|
|
133
142
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
134
143
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
135
144
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardBrowser.vue.d.ts","sourceRoot":"","sources":["../../src/components/CardBrowser.vue"],"names":[],"mappings":"AAeA;AAmFA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAmB,QAAQ,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;;;cAatC,QAAQ,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;;;;cAI9B,QAAQ,CAAC,QAAQ,EAAE,CAAC;;;;;;;;;;;;;;;eAiB1B,OAAO;;;;;;cArBD,QAAQ,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;;;;cAI9B,QAAQ,CAAC,QAAQ,EAAE,CAAC
|
|
1
|
+
{"version":3,"file":"CardBrowser.vue.d.ts","sourceRoot":"","sources":["../../src/components/CardBrowser.vue"],"names":[],"mappings":"AAeA;AAmFA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAmB,QAAQ,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;;;cAatC,QAAQ,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;;;;cAI9B,QAAQ,CAAC,QAAQ,EAAE,CAAC;;;;;;;;;;;;;;;eAiB1B,OAAO;;;;;;cArBD,QAAQ,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;;;;cAI9B,QAAQ,CAAC,QAAQ,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAbzC,wBAwDG"}
|
|
@@ -162,6 +162,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
162
162
|
type: NumberConstructor;
|
|
163
163
|
default: number;
|
|
164
164
|
};
|
|
165
|
+
frameless: {
|
|
166
|
+
type: BooleanConstructor;
|
|
167
|
+
default: boolean;
|
|
168
|
+
};
|
|
165
169
|
}>, {}, {}, {}, {
|
|
166
170
|
processResponse(r: import('../../../db/dist/index.mjs').CardRecord): void;
|
|
167
171
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "emitResponse"[], "emitResponse", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -203,6 +207,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
203
207
|
type: NumberConstructor;
|
|
204
208
|
default: number;
|
|
205
209
|
};
|
|
210
|
+
frameless: {
|
|
211
|
+
type: BooleanConstructor;
|
|
212
|
+
default: boolean;
|
|
213
|
+
};
|
|
206
214
|
}>> & Readonly<{
|
|
207
215
|
onEmitResponse?: ((...args: any[]) => any) | undefined;
|
|
208
216
|
}>, {
|
|
@@ -211,6 +219,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
211
219
|
course_id: string;
|
|
212
220
|
user_elo: CourseElo;
|
|
213
221
|
card_elo: number;
|
|
222
|
+
frameless: boolean;
|
|
214
223
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
215
224
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
216
225
|
TagsInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CourseCardBrowser.vue.d.ts","sourceRoot":"","sources":["../../src/components/CourseCardBrowser.vue"],"names":[],"mappings":"AAqIA;AAAA,OAmcO,EAAmB,QAAQ,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,EAAqC,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAEL,iBAAiB,EAGjB,GAAG,EACH,OAAO,EACP,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAI1B,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;;;;;;;;;;;;;;;;;cAkCrC,QAAQ,CAAC,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;;;;;cAQpC,iBAAiB,GAAG,IAAI;;WAE7B,MAAM,EAAE;WACR;QAAE,IAAI,EAAE,eAAe,CAAC;QAAC,MAAM,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE,OAAO,CAAA;KAAE,EAAE;cAC1D;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE;iBACzB;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;cAC7B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC;cACzB,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC;sBACb,MAAM,GAAG,MAAM,GAAG,MAAM;;;;;UAKxC,GAAG,EAAE;;;kBA4BL,MAAM,GAAG,MAAM;4BASL,MAAM,GAAG,eAAe;;;;;eAgCrC,MAAM;0BAIW,MAAM,EAAE;gCAmBT,MAAM;oBASX,MAAM;;;;;;;;;;;;;;;;;;cA1HV,QAAQ,CAAC,MAAM,GAAG,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5B5D,wBAyQG"}
|
|
@@ -206,6 +206,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
206
206
|
type: NumberConstructor;
|
|
207
207
|
default: number;
|
|
208
208
|
};
|
|
209
|
+
frameless: {
|
|
210
|
+
type: BooleanConstructor;
|
|
211
|
+
default: boolean;
|
|
212
|
+
};
|
|
209
213
|
}>, {}, {}, {}, {
|
|
210
214
|
processResponse(r: import('../../../db/dist/index.mjs').CardRecord): void;
|
|
211
215
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "emitResponse"[], "emitResponse", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -247,6 +251,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
247
251
|
type: NumberConstructor;
|
|
248
252
|
default: number;
|
|
249
253
|
};
|
|
254
|
+
frameless: {
|
|
255
|
+
type: BooleanConstructor;
|
|
256
|
+
default: boolean;
|
|
257
|
+
};
|
|
250
258
|
}>> & Readonly<{
|
|
251
259
|
onEmitResponse?: ((...args: any[]) => any) | undefined;
|
|
252
260
|
}>, {
|
|
@@ -255,6 +263,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
255
263
|
course_id: string;
|
|
256
264
|
user_elo: import('../../../common/dist/index.mjs').CourseElo;
|
|
257
265
|
card_elo: number;
|
|
266
|
+
frameless: boolean;
|
|
258
267
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
259
268
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
260
269
|
TagsInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CourseInformation.vue.d.ts","sourceRoot":"","sources":["../../src/components/CourseInformation.vue"],"names":[],"mappings":"AA0EA;AAAA,OA0MO,EAAmB,QAAQ,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,eAAe,EAAgB,MAAM,kBAAkB,CAAC;AACzF,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;;;cAa9B,QAAQ,CAAC,MAAM,CAAC;;;;;;qBAMnB,OAAO;;;cAMJ,QAAQ,CAAC,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;;;;;cAQpC,iBAAiB,GAAG,IAAI;wBAEhC,MAAM,KAAG,MAAM,GAAG,OAAO;;kBAMf,YAAY;;UAEpB,GAAG,EAAE;UACH,eAAe,GAAG,IAAI;;;;;;cA/BpB,QAAQ,CAAC,MAAM,CAAC;;;;;;qBAMnB,OAAO;;;cAMJ,QAAQ,CAAC,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"CourseInformation.vue.d.ts","sourceRoot":"","sources":["../../src/components/CourseInformation.vue"],"names":[],"mappings":"AA0EA;AAAA,OA0MO,EAAmB,QAAQ,EAAE,MAAM,KAAK,CAAC;AAIhD,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,eAAe,EAAgB,MAAM,kBAAkB,CAAC;AACzF,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;;;cAa9B,QAAQ,CAAC,MAAM,CAAC;;;;;;qBAMnB,OAAO;;;cAMJ,QAAQ,CAAC,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;;;;;cAQpC,iBAAiB,GAAG,IAAI;wBAEhC,MAAM,KAAG,MAAM,GAAG,OAAO;;kBAMf,YAAY;;UAEpB,GAAG,EAAE;UACH,eAAe,GAAG,IAAI;;;;;;cA/BpB,QAAQ,CAAC,MAAM,CAAC;;;;;;qBAMnB,OAAO;;;cAMJ,QAAQ,CAAC,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAtB5D,wBAuFG"}
|
|
@@ -38,6 +38,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
38
38
|
type: PropType<(viewId: string) => ViewComponent>;
|
|
39
39
|
required: true;
|
|
40
40
|
};
|
|
41
|
+
frameless: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
hideFooter: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
41
49
|
}>, {}, {
|
|
42
50
|
cardID: string;
|
|
43
51
|
view: ViewComponent | null;
|
|
@@ -102,6 +110,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
102
110
|
type: PropType<(viewId: string) => ViewComponent>;
|
|
103
111
|
required: true;
|
|
104
112
|
};
|
|
113
|
+
frameless: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
hideFooter: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
105
121
|
}>> & Readonly<{
|
|
106
122
|
"onSession-finished"?: ((...args: any[]) => any) | undefined;
|
|
107
123
|
"onSession-started"?: ((...args: any[]) => any) | undefined;
|
|
@@ -111,7 +127,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
111
127
|
"onSession-prepared"?: ((...args: any[]) => any) | undefined;
|
|
112
128
|
"onSession-error"?: ((...args: any[]) => any) | undefined;
|
|
113
129
|
}>, {
|
|
130
|
+
frameless: boolean;
|
|
114
131
|
sessionConfig: StudySessionConfig;
|
|
132
|
+
hideFooter: boolean;
|
|
115
133
|
}, {}, {
|
|
116
134
|
CardViewer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
117
135
|
sessionOrder: {
|
|
@@ -152,6 +170,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
152
170
|
type: NumberConstructor;
|
|
153
171
|
default: number;
|
|
154
172
|
};
|
|
173
|
+
frameless: {
|
|
174
|
+
type: BooleanConstructor;
|
|
175
|
+
default: boolean;
|
|
176
|
+
};
|
|
155
177
|
}>, {}, {}, {}, {
|
|
156
178
|
processResponse(r: CardRecord): void;
|
|
157
179
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "emitResponse"[], "emitResponse", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -193,6 +215,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
193
215
|
type: NumberConstructor;
|
|
194
216
|
default: number;
|
|
195
217
|
};
|
|
218
|
+
frameless: {
|
|
219
|
+
type: BooleanConstructor;
|
|
220
|
+
default: boolean;
|
|
221
|
+
};
|
|
196
222
|
}>> & Readonly<{
|
|
197
223
|
onEmitResponse?: ((...args: any[]) => any) | undefined;
|
|
198
224
|
}>, {
|
|
@@ -201,6 +227,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
201
227
|
course_id: string;
|
|
202
228
|
user_elo: CourseElo;
|
|
203
229
|
card_elo: number;
|
|
230
|
+
frameless: boolean;
|
|
204
231
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
205
232
|
StudySessionTimer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
206
233
|
timeRemaining: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StudySession.vue.d.ts","sourceRoot":"","sources":["../../src/components/StudySession.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StudySession.vue.d.ts","sourceRoot":"","sources":["../../src/components/StudySession.vue"],"names":[],"mappings":"AAwEA;AAAA,OA0nBO,EAAE,eAAe,EAAW,QAAQ,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAM/C,OAAO,UAAU,MAAM,gCAAgC,CAAC;AAGxD,OAAO,EAAE,SAAS,EAAuB,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EACL,WAAW,EACX,UAAU,EAEV,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EAGjB,YAAY,EAGZ,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,UAAU,SAAS;IACjB,aAAa,EAAE,cAAc,CAAC;IAC9B,UAAU,EAAE,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;CAC7C;AAED,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,GAAG;IACxD,KAAK,EAAE,SAAS,CAAC;CAClB,CAAC;;;;;;;cAqBmB,QAAQ,CAAC,eAAe,EAAE,CAAC;;;;cAI1B,QAAQ,CAAC,eAAe,CAAC;;;;cAIzB,QAAQ,CAAC,iBAAiB,CAAC;;;;cAI3B,QAAQ,CAAC,kBAAkB,CAAC;;;;;;cAI1B,QAAQ,CAAC,CAAC,MAAM,EAAE,MAAM,KAAK,aAAa,CAAC;;;;;;;;;;;;;UA2B/C,aAAa,GAAG,IAAI;UACtB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+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
84
88
|
}>, {}, {}, {}, {
|
|
85
89
|
processResponse(r: import('../../../../db/dist/index.mjs').CardRecord): void;
|
|
86
90
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "emitResponse"[], "emitResponse", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -122,6 +126,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
122
126
|
type: NumberConstructor;
|
|
123
127
|
default: number;
|
|
124
128
|
};
|
|
129
|
+
frameless: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
125
133
|
}>> & Readonly<{
|
|
126
134
|
onEmitResponse?: ((...args: any[]) => any) | undefined;
|
|
127
135
|
}>, {
|
|
@@ -130,6 +138,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
130
138
|
course_id: string;
|
|
131
139
|
user_elo: import('../../../../common/dist/index.mjs').CourseElo;
|
|
132
140
|
card_elo: number;
|
|
141
|
+
frameless: boolean;
|
|
133
142
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
134
143
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
135
144
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/cardRendering/CardLoader.vue"],"names":[],"mappings":"AAaA;AAAA,OA8IO,EAAmB,QAAQ,EAAW,MAAM,KAAK,CAAC;AACzD,OAAO,EAAgB,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAGL,QAAQ,EACR,cAAc,EAEd,UAAU,EAEX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;;;;;;;;cAiB5B,QAAQ,CAAC,eAAe,CAAC;;;;cAIvB,QAAQ,CAAC,CAAC,eAAe,EAAE,cAAc,GAAG,MAAM,KAAK,aAAa,CAAC;;;;;UAQzE,aAAa,GAAG,IAAI;UACtB,QAAQ,EAAE;;;;uBAoBL,UAAU;;;;;;;;;cAjCX,QAAQ,CAAC,eAAe,CAAC;;;;cAIvB,QAAQ,CAAC,CAAC,eAAe,EAAE,cAAc,GAAG,MAAM,KAAK,aAAa,CAAC
|
|
1
|
+
{"version":3,"file":"CardLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/cardRendering/CardLoader.vue"],"names":[],"mappings":"AAaA;AAAA,OA8IO,EAAmB,QAAQ,EAAW,MAAM,KAAK,CAAC;AACzD,OAAO,EAAgB,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAGL,QAAQ,EACR,cAAc,EAEd,UAAU,EAEX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;;;;;;;;cAiB5B,QAAQ,CAAC,eAAe,CAAC;;;;cAIvB,QAAQ,CAAC,CAAC,eAAe,EAAE,cAAc,GAAG,MAAM,KAAK,aAAa,CAAC;;;;;UAQzE,aAAa,GAAG,IAAI;UACtB,QAAQ,EAAE;;;;uBAoBL,UAAU;;;;;;;;;cAjCX,QAAQ,CAAC,eAAe,CAAC;;;;cAIvB,QAAQ,CAAC,CAAC,eAAe,EAAE,cAAc,GAAG,MAAM,KAAK,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlB7F,wBA6FG"}
|
|
@@ -41,6 +41,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
41
41
|
type: NumberConstructor;
|
|
42
42
|
default: number;
|
|
43
43
|
};
|
|
44
|
+
frameless: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
44
48
|
}>, {}, {}, {}, {
|
|
45
49
|
processResponse(r: CardRecord): void;
|
|
46
50
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "emitResponse"[], "emitResponse", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -82,6 +86,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
82
86
|
type: NumberConstructor;
|
|
83
87
|
default: number;
|
|
84
88
|
};
|
|
89
|
+
frameless: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
85
93
|
}>> & Readonly<{
|
|
86
94
|
onEmitResponse?: ((...args: any[]) => any) | undefined;
|
|
87
95
|
}>, {
|
|
@@ -90,6 +98,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
90
98
|
course_id: string;
|
|
91
99
|
user_elo: CourseElo;
|
|
92
100
|
card_elo: number;
|
|
101
|
+
frameless: boolean;
|
|
93
102
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
94
103
|
export default _default;
|
|
95
104
|
//# sourceMappingURL=CardViewer.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardViewer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/cardRendering/CardViewer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardViewer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/cardRendering/CardViewer.vue"],"names":[],"mappings":"AA0BA;AA8GA,OAAO,EAAmB,QAAQ,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;;;;;;;;cAkB5B,MAAM,OAAO,CAAC,IAAI,CAAC,UAAU;;;;;;;;;;cAUjB,QAAQ,CAAC,aAAa,CAAC;;;;cAIpC,MAAM,QAAQ,EAAE;;;;cAIf,MAAM,SAAS;;;;;;;;;;;;;;;;;;;uBAuBd,UAAU,GAAG,IAAI;;;;;;;;cAzClB,MAAM,OAAO,CAAC,IAAI,CAAC,UAAU;;;;;;;;;;cAUjB,QAAQ,CAAC,aAAa,CAAC;;;;cAIpC,MAAM,QAAQ,EAAE;;;;cAIf,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA9BrC,wBA6DG"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.22",
|
|
7
7
|
"main": "./dist/common-ui.umd.js",
|
|
8
8
|
"module": "./dist/common-ui.es.js",
|
|
9
9
|
"types": "./dist/index.d.ts",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@highlightjs/vue-plugin": "^2.1.2",
|
|
34
34
|
"@mdi/font": "^7.3.67",
|
|
35
35
|
"@vojtechlanka/vue-tags-input": "^3",
|
|
36
|
-
"@vue-skuilder/common": "0.1.
|
|
37
|
-
"@vue-skuilder/db": "0.1.
|
|
36
|
+
"@vue-skuilder/common": "0.1.22",
|
|
37
|
+
"@vue-skuilder/db": "0.1.22",
|
|
38
38
|
"highlight.js": "^11.0.1",
|
|
39
39
|
"marked": "^15.0.6",
|
|
40
40
|
"moment": "^2.29.4",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"vite-plugin-dts": "^4.5.3",
|
|
71
71
|
"vitest": "^4.0.15"
|
|
72
72
|
},
|
|
73
|
-
"stableVersion": "0.1.
|
|
73
|
+
"stableVersion": "0.1.22"
|
|
74
74
|
}
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
:session-order="cardCount"
|
|
35
35
|
:user_elo="user_elo(courseID)"
|
|
36
36
|
:card_elo="card_elo"
|
|
37
|
+
:frameless="frameless"
|
|
37
38
|
@emit-response="processResponse($event)"
|
|
38
39
|
/>
|
|
39
40
|
</transition>
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
<sk-tags-input :course-i-d="courseID" :card-i-d="cardID" />
|
|
53
54
|
</div> -->
|
|
54
55
|
|
|
55
|
-
<v-row align="center" class="footer-controls pa-5">
|
|
56
|
+
<v-row v-if="!hideFooter" align="center" class="footer-controls pa-5">
|
|
56
57
|
<v-col cols="auto" class="d-flex flex-grow-0 mr-auto">
|
|
57
58
|
<StudySessionTimer
|
|
58
59
|
:time-remaining="timeRemaining"
|
|
@@ -151,6 +152,14 @@ export default defineComponent({
|
|
|
151
152
|
type: Function as PropType<(viewId: string) => ViewComponent>,
|
|
152
153
|
required: true,
|
|
153
154
|
},
|
|
155
|
+
frameless: {
|
|
156
|
+
type: Boolean,
|
|
157
|
+
default: false,
|
|
158
|
+
},
|
|
159
|
+
hideFooter: {
|
|
160
|
+
type: Boolean,
|
|
161
|
+
default: false,
|
|
162
|
+
},
|
|
154
163
|
},
|
|
155
164
|
|
|
156
165
|
emits: [
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
2
|
+
<!-- Frameless mode: direct render -->
|
|
3
|
+
<component
|
|
4
|
+
v-if="frameless"
|
|
5
|
+
:is="view"
|
|
6
|
+
ref="activeView"
|
|
7
|
+
:key="course_id + '-' + card_id + '-' + sessionOrder"
|
|
8
|
+
:data="data"
|
|
9
|
+
:modify-difficulty="user_elo.global.score - card_elo"
|
|
10
|
+
class="cardView"
|
|
11
|
+
@emit-response="processResponse($event)"
|
|
12
|
+
/>
|
|
13
|
+
|
|
14
|
+
<!-- Traditional mode: v-card wrapper -->
|
|
15
|
+
<v-card v-else elevation="12">
|
|
3
16
|
<component
|
|
4
17
|
:is="view"
|
|
5
18
|
ref="activeView"
|
|
@@ -66,6 +79,10 @@ export default defineComponent({
|
|
|
66
79
|
type: Number,
|
|
67
80
|
default: 1000,
|
|
68
81
|
},
|
|
82
|
+
frameless: {
|
|
83
|
+
type: Boolean,
|
|
84
|
+
default: false,
|
|
85
|
+
},
|
|
69
86
|
},
|
|
70
87
|
|
|
71
88
|
emits: ['emitResponse'],
|