@happyvertical/smrt-education 0.58.0 → 0.59.1
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/AGENTS.md +6 -1
- package/agents/class-crunchlabs.md +83 -0
- package/agents/course-bundle-import.md +108 -18
- package/agents/group-sharing.md +7 -0
- package/dist/catalog-contracts.d.ts +6 -2
- package/dist/catalog-contracts.d.ts.map +1 -1
- package/dist/catalog-materialization-service.d.ts.map +1 -1
- package/dist/catalog-policy.d.ts +11 -1
- package/dist/catalog-policy.d.ts.map +1 -1
- package/dist/catalog-preview.d.ts +6 -1
- package/dist/catalog-preview.d.ts.map +1 -1
- package/dist/chunks/course-authoring-contracts-C4Hqba-e.js +131 -0
- package/dist/chunks/course-authoring-contracts-C4Hqba-e.js.map +1 -0
- package/dist/chunks/course-bundle-zip-5KUe3C5H.js +323 -0
- package/dist/chunks/course-bundle-zip-5KUe3C5H.js.map +1 -0
- package/dist/chunks/{workbook-photo-service-COtyQL1y.js → workbook-photo-service-CjcB0y8Y.js} +226 -130
- package/dist/chunks/workbook-photo-service-CjcB0y8Y.js.map +1 -0
- package/dist/course-authoring-contracts.d.ts +1 -1
- package/dist/course-authoring-contracts.d.ts.map +1 -1
- package/dist/course-bundle-contracts.d.ts +21 -3
- package/dist/course-bundle-contracts.d.ts.map +1 -1
- package/dist/course-bundle-manifest-util.d.ts +15 -0
- package/dist/course-bundle-manifest-util.d.ts.map +1 -0
- package/dist/course-bundle-manifest-v2.d.ts +66 -0
- package/dist/course-bundle-manifest-v2.d.ts.map +1 -0
- package/dist/course-bundle-models.d.ts +29 -1
- package/dist/course-bundle-models.d.ts.map +1 -1
- package/dist/course-bundle-service.d.ts +104 -5
- package/dist/course-bundle-service.d.ts.map +1 -1
- package/dist/course-bundle.d.ts +81 -2
- package/dist/course-bundle.d.ts.map +1 -1
- package/dist/document-converter.d.ts +30 -18
- package/dist/document-converter.d.ts.map +1 -1
- package/dist/group-sharing-contracts.d.ts +4 -0
- package/dist/group-sharing-contracts.d.ts.map +1 -1
- package/dist/group-sharing-reader.d.ts.map +1 -1
- package/dist/hearth-catalog-providers.d.ts +1 -1
- package/dist/hearth-catalog-providers.d.ts.map +1 -1
- package/dist/hearth-class-crunchlabs.d.ts +94 -0
- package/dist/hearth-class-crunchlabs.d.ts.map +1 -0
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1654 -400
- package/dist/index.js.map +1 -1
- package/dist/ingestion.js +1 -1
- package/dist/manifest.json +418 -6
- package/dist/node.d.ts +3 -0
- package/dist/node.d.ts.map +1 -0
- package/dist/node.js +134 -0
- package/dist/node.js.map +1 -0
- package/dist/smrt-knowledge.json +164 -12
- package/dist/sources/class-crunchlabs-files.d.ts +8 -0
- package/dist/sources/class-crunchlabs-files.d.ts.map +1 -0
- package/dist/sources/class-crunchlabs.d.ts +217 -0
- package/dist/sources/class-crunchlabs.d.ts.map +1 -0
- package/package.json +12 -8
- package/dist/chunks/workbook-photo-service-COtyQL1y.js.map +0 -1
package/dist/chunks/{workbook-photo-service-COtyQL1y.js → workbook-photo-service-CjcB0y8Y.js}
RENAMED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { S as ReviewNotCurrentError, _ as CourseVisibilityRefusedError, a as CourseAuthoringAuthorizationError, c as CourseCoverInvalidError, d as CourseMaterialCopyError, f as CourseNotFoundError, g as CourseStaleHeadError, h as CourseRevisionAlreadyReleasedError, i as CourseArchivedError, l as CourseDiscardRefusedError, m as CourseRequestKeyConflictError, n as COURSE_PROVENANCES, o as CourseAuthoringError, p as CoursePolicyBasisMismatchError, r as CourseAppendRefusedError, s as CourseAuthoringValidationError, u as CourseDiscardedError, x as ReviewGateRequiredError, y as EnrollmentPinConflictError } from "./course-authoring-contracts-C4Hqba-e.js";
|
|
1
2
|
import { GlobalInterceptors, ObjectRegistry, SmrtCollection, SmrtJunction, SmrtObject, crossPackageRef, field, foreignKey, isEmbeddedDatabase, isPostgresDatabase, smrt, withEmbeddedWriteTransaction } from "@happyvertical/smrt-core";
|
|
2
3
|
import { TenantScoped, getCurrentTenant, tenantId } from "@happyvertical/smrt-tenancy";
|
|
3
4
|
import { AssetCollection, createAssetRuntime, withPrivateAssetAccess } from "@happyvertical/smrt-assets";
|
|
@@ -10,6 +11,15 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
10
11
|
var __getProtoOf = Object.getPrototypeOf;
|
|
11
12
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
12
13
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
14
|
+
var __exportAll = (all, no_symbols) => {
|
|
15
|
+
let target = {};
|
|
16
|
+
for (var name in all) __defProp$13(target, name, {
|
|
17
|
+
get: all[name],
|
|
18
|
+
enumerable: true
|
|
19
|
+
});
|
|
20
|
+
if (!no_symbols) __defProp$13(target, Symbol.toStringTag, { value: "Module" });
|
|
21
|
+
return target;
|
|
22
|
+
};
|
|
13
23
|
var __copyProps = (to, from, except, desc) => {
|
|
14
24
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
15
25
|
key = keys[i];
|
|
@@ -1405,134 +1415,6 @@ var CatalogService = class {
|
|
|
1405
1415
|
}
|
|
1406
1416
|
};
|
|
1407
1417
|
//#endregion
|
|
1408
|
-
//#region src/course-authoring-contracts.ts
|
|
1409
|
-
var COURSE_AUTHORING_ACTIONS = [
|
|
1410
|
-
"education.course.read-draft",
|
|
1411
|
-
"education.course.author",
|
|
1412
|
-
"education.course.generate",
|
|
1413
|
-
"education.course.review",
|
|
1414
|
-
"education.course.release",
|
|
1415
|
-
"education.course.assign",
|
|
1416
|
-
"education.course.archive",
|
|
1417
|
-
"education.course.set-visibility",
|
|
1418
|
-
"education.course.set-cover"
|
|
1419
|
-
];
|
|
1420
|
-
var COURSE_PROVENANCES = [
|
|
1421
|
-
"supplied",
|
|
1422
|
-
"generated",
|
|
1423
|
-
"edited",
|
|
1424
|
-
"extracted"
|
|
1425
|
-
];
|
|
1426
|
-
var MAX_PAGE_SIZE = 100;
|
|
1427
|
-
var DEFAULT_PAGE_SIZE = 50;
|
|
1428
|
-
var CourseAuthoringError = class extends Error {
|
|
1429
|
-
constructor(code, message) {
|
|
1430
|
-
super(message);
|
|
1431
|
-
this.code = code;
|
|
1432
|
-
this.name = new.target.name;
|
|
1433
|
-
}
|
|
1434
|
-
code;
|
|
1435
|
-
};
|
|
1436
|
-
var CourseAuthoringAuthorizationError = class extends CourseAuthoringError {
|
|
1437
|
-
constructor() {
|
|
1438
|
-
super("not-authorized", "Course authoring access is not authorized.");
|
|
1439
|
-
}
|
|
1440
|
-
};
|
|
1441
|
-
var CourseAuthoringValidationError = class extends CourseAuthoringError {
|
|
1442
|
-
constructor(message) {
|
|
1443
|
-
super("invalid-request", message);
|
|
1444
|
-
}
|
|
1445
|
-
};
|
|
1446
|
-
var CourseNotFoundError = class extends CourseAuthoringError {
|
|
1447
|
-
constructor() {
|
|
1448
|
-
super("course-not-found", "Course was not found.");
|
|
1449
|
-
}
|
|
1450
|
-
};
|
|
1451
|
-
var CourseDiscardedError = class extends CourseAuthoringError {
|
|
1452
|
-
constructor() {
|
|
1453
|
-
super("course-discarded", "Course draft was discarded.");
|
|
1454
|
-
}
|
|
1455
|
-
};
|
|
1456
|
-
var CourseArchivedError = class extends CourseAuthoringError {
|
|
1457
|
-
constructor() {
|
|
1458
|
-
super("course-archived", "Course is archived; unarchive it first.");
|
|
1459
|
-
}
|
|
1460
|
-
};
|
|
1461
|
-
var CourseAppendRefusedError = class extends CourseAuthoringError {
|
|
1462
|
-
constructor(reason) {
|
|
1463
|
-
super("append-refused", `Lesson append refused: ${reason}.`);
|
|
1464
|
-
this.reason = reason;
|
|
1465
|
-
}
|
|
1466
|
-
reason;
|
|
1467
|
-
};
|
|
1468
|
-
var CourseStaleHeadError = class extends CourseAuthoringError {
|
|
1469
|
-
constructor(currentHeadRevisionId) {
|
|
1470
|
-
super("stale-head", "The draft head moved; reload and retry.");
|
|
1471
|
-
this.currentHeadRevisionId = currentHeadRevisionId;
|
|
1472
|
-
}
|
|
1473
|
-
currentHeadRevisionId;
|
|
1474
|
-
};
|
|
1475
|
-
var CoursePolicyBasisMismatchError = class extends CourseAuthoringError {
|
|
1476
|
-
constructor() {
|
|
1477
|
-
super("policy-basis-mismatch", "The supplied policy basis differs from the one the authorizer relied on.");
|
|
1478
|
-
}
|
|
1479
|
-
};
|
|
1480
|
-
var CourseRequestKeyConflictError = class extends CourseAuthoringError {
|
|
1481
|
-
constructor() {
|
|
1482
|
-
super("request-key-conflict", "The request key was already used for a different request.");
|
|
1483
|
-
}
|
|
1484
|
-
};
|
|
1485
|
-
var ReviewGateRequiredError = class extends CourseAuthoringError {
|
|
1486
|
-
constructor() {
|
|
1487
|
-
super("review-gate-required", "Release requires a configured review gate; none is configured.");
|
|
1488
|
-
}
|
|
1489
|
-
};
|
|
1490
|
-
var ReviewNotCurrentError = class extends CourseAuthoringError {
|
|
1491
|
-
constructor(reason) {
|
|
1492
|
-
super("review-not-current", "Release requires a current review of this exact revision.");
|
|
1493
|
-
this.reason = reason;
|
|
1494
|
-
}
|
|
1495
|
-
reason;
|
|
1496
|
-
};
|
|
1497
|
-
var CourseRevisionAlreadyReleasedError = class extends CourseAuthoringError {
|
|
1498
|
-
constructor(releaseId) {
|
|
1499
|
-
super("revision-already-released", "This revision is already released.");
|
|
1500
|
-
this.releaseId = releaseId;
|
|
1501
|
-
}
|
|
1502
|
-
releaseId;
|
|
1503
|
-
};
|
|
1504
|
-
var CourseDiscardRefusedError = class extends CourseAuthoringError {
|
|
1505
|
-
constructor(references) {
|
|
1506
|
-
super("discard-refused", "Only drafts with no release, enrollment, attempt, review or variant can be discarded.");
|
|
1507
|
-
this.references = references;
|
|
1508
|
-
}
|
|
1509
|
-
references;
|
|
1510
|
-
};
|
|
1511
|
-
var EnrollmentPinConflictError = class extends CourseAuthoringError {
|
|
1512
|
-
constructor(message = "Enrollment pin request conflicts with current state.") {
|
|
1513
|
-
super("enrollment-pin-conflict", message);
|
|
1514
|
-
}
|
|
1515
|
-
};
|
|
1516
|
-
var CourseMaterialCopyError = class extends CourseAuthoringError {
|
|
1517
|
-
constructor(message = "Course material could not be copied to an owned asset.") {
|
|
1518
|
-
super("material-copy-failed", message);
|
|
1519
|
-
}
|
|
1520
|
-
};
|
|
1521
|
-
var CourseVisibilityRefusedError = class extends CourseAuthoringError {
|
|
1522
|
-
constructor(visibility) {
|
|
1523
|
-
super("visibility-refused", "A personal-use course can only be family-visible.");
|
|
1524
|
-
this.visibility = visibility;
|
|
1525
|
-
}
|
|
1526
|
-
visibility;
|
|
1527
|
-
};
|
|
1528
|
-
var CourseCoverInvalidError = class extends CourseAuthoringError {
|
|
1529
|
-
constructor(reason) {
|
|
1530
|
-
super("cover-invalid", "The cover must be a readable education-owned image.");
|
|
1531
|
-
this.reason = reason;
|
|
1532
|
-
}
|
|
1533
|
-
reason;
|
|
1534
|
-
};
|
|
1535
|
-
//#endregion
|
|
1536
1418
|
//#region src/course-authoring-licence.ts
|
|
1537
1419
|
var AUTHORED_RELEASE_SOURCE_KEY = "authored-release";
|
|
1538
1420
|
var AUTHORED_IDENTITY_SOURCE_KEY = "authored";
|
|
@@ -28292,6 +28174,220 @@ var PDFButton = function(_super) {
|
|
|
28292
28174
|
return PDFButton;
|
|
28293
28175
|
}(PDFField);
|
|
28294
28176
|
//#endregion
|
|
28177
|
+
//#region ../../node_modules/.pnpm/pdf-lib@1.17.1/node_modules/pdf-lib/es/index.js
|
|
28178
|
+
var es_exports = /* @__PURE__ */ __exportAll({
|
|
28179
|
+
AcroButtonFlags: () => AcroButtonFlags,
|
|
28180
|
+
AcroChoiceFlags: () => AcroChoiceFlags,
|
|
28181
|
+
AcroFieldFlags: () => AcroFieldFlags,
|
|
28182
|
+
AcroTextFlags: () => AcroTextFlags,
|
|
28183
|
+
AnnotationFlags: () => AnnotationFlags,
|
|
28184
|
+
BlendMode: () => BlendMode,
|
|
28185
|
+
ColorTypes: () => ColorTypes,
|
|
28186
|
+
CombedTextLayoutError: () => CombedTextLayoutError,
|
|
28187
|
+
CorruptPageTreeError: () => CorruptPageTreeError,
|
|
28188
|
+
EncryptedPDFError: () => EncryptedPDFError,
|
|
28189
|
+
ExceededMaxLengthError: () => ExceededMaxLengthError,
|
|
28190
|
+
FieldAlreadyExistsError: () => FieldAlreadyExistsError,
|
|
28191
|
+
FontkitNotRegisteredError: () => FontkitNotRegisteredError,
|
|
28192
|
+
ForeignPageError: () => ForeignPageError,
|
|
28193
|
+
ImageAlignment: () => ImageAlignment,
|
|
28194
|
+
IndexOutOfBoundsError: () => IndexOutOfBoundsError,
|
|
28195
|
+
InvalidAcroFieldValueError: () => InvalidAcroFieldValueError,
|
|
28196
|
+
InvalidFieldNamePartError: () => InvalidFieldNamePartError,
|
|
28197
|
+
InvalidMaxLengthError: () => InvalidMaxLengthError,
|
|
28198
|
+
InvalidPDFDateStringError: () => InvalidPDFDateStringError,
|
|
28199
|
+
InvalidTargetIndexError: () => InvalidTargetIndexError,
|
|
28200
|
+
LineCapStyle: () => LineCapStyle,
|
|
28201
|
+
LineJoinStyle: () => LineJoinStyle,
|
|
28202
|
+
MethodNotImplementedError: () => MethodNotImplementedError,
|
|
28203
|
+
MissingDAEntryError: () => MissingDAEntryError,
|
|
28204
|
+
MissingKeywordError: () => MissingKeywordError,
|
|
28205
|
+
MissingPDFHeaderError: () => MissingPDFHeaderError,
|
|
28206
|
+
MissingPageContentsEmbeddingError: () => MissingPageContentsEmbeddingError,
|
|
28207
|
+
MissingTfOperatorError: () => MissingTfOperatorError,
|
|
28208
|
+
MultiSelectValueError: () => MultiSelectValueError,
|
|
28209
|
+
NextByteAssertionError: () => NextByteAssertionError,
|
|
28210
|
+
NoSuchFieldError: () => NoSuchFieldError,
|
|
28211
|
+
NumberParsingError: () => NumberParsingError,
|
|
28212
|
+
PDFArrayIsNotRectangleError: () => PDFArrayIsNotRectangleError,
|
|
28213
|
+
PDFDocument: () => PDFDocument,
|
|
28214
|
+
PDFInvalidObjectParsingError: () => PDFInvalidObjectParsingError,
|
|
28215
|
+
PDFObjectParsingError: () => PDFObjectParsingError,
|
|
28216
|
+
PDFParsingError: () => PDFParsingError,
|
|
28217
|
+
PDFStreamParsingError: () => PDFStreamParsingError,
|
|
28218
|
+
PageEmbeddingMismatchedContextError: () => PageEmbeddingMismatchedContextError,
|
|
28219
|
+
PageSizes: () => PageSizes,
|
|
28220
|
+
ParseSpeeds: () => ParseSpeeds,
|
|
28221
|
+
PrivateConstructorError: () => PrivateConstructorError,
|
|
28222
|
+
RemovePageFromEmptyDocumentError: () => RemovePageFromEmptyDocumentError,
|
|
28223
|
+
ReparseError: () => ReparseError,
|
|
28224
|
+
RichTextFieldReadError: () => RichTextFieldReadError,
|
|
28225
|
+
RotationTypes: () => RotationTypes,
|
|
28226
|
+
StalledParserError: () => StalledParserError,
|
|
28227
|
+
StandardFontValues: () => StandardFontValues,
|
|
28228
|
+
StandardFonts: () => StandardFonts,
|
|
28229
|
+
TextAlignment: () => TextAlignment,
|
|
28230
|
+
TextRenderingMode: () => TextRenderingMode,
|
|
28231
|
+
UnbalancedParenthesisError: () => UnbalancedParenthesisError,
|
|
28232
|
+
UnexpectedFieldTypeError: () => UnexpectedFieldTypeError,
|
|
28233
|
+
UnexpectedObjectTypeError: () => UnexpectedObjectTypeError,
|
|
28234
|
+
UnrecognizedStreamTypeError: () => UnrecognizedStreamTypeError,
|
|
28235
|
+
UnsupportedEncodingError: () => UnsupportedEncodingError,
|
|
28236
|
+
adjustDimsForRotation: () => adjustDimsForRotation,
|
|
28237
|
+
appendBezierCurve: () => appendBezierCurve,
|
|
28238
|
+
appendQuadraticCurve: () => appendQuadraticCurve,
|
|
28239
|
+
arrayAsString: () => arrayAsString,
|
|
28240
|
+
asNumber: () => asNumber,
|
|
28241
|
+
asPDFName: () => asPDFName,
|
|
28242
|
+
asPDFNumber: () => asPDFNumber,
|
|
28243
|
+
assertEachIs: () => assertEachIs,
|
|
28244
|
+
assertInteger: () => assertInteger,
|
|
28245
|
+
assertIs: () => assertIs,
|
|
28246
|
+
assertIsOneOf: () => assertIsOneOf,
|
|
28247
|
+
assertIsOneOfOrUndefined: () => assertIsOneOfOrUndefined,
|
|
28248
|
+
assertIsSubset: () => assertIsSubset,
|
|
28249
|
+
assertMultiple: () => assertMultiple,
|
|
28250
|
+
assertOrUndefined: () => assertOrUndefined,
|
|
28251
|
+
assertPositive: () => assertPositive,
|
|
28252
|
+
assertRange: () => assertRange,
|
|
28253
|
+
assertRangeOrUndefined: () => assertRangeOrUndefined,
|
|
28254
|
+
backtick: () => backtick,
|
|
28255
|
+
beginMarkedContent: () => beginMarkedContent,
|
|
28256
|
+
beginText: () => beginText,
|
|
28257
|
+
breakTextIntoLines: () => breakTextIntoLines,
|
|
28258
|
+
byAscendingId: () => byAscendingId,
|
|
28259
|
+
bytesFor: () => bytesFor,
|
|
28260
|
+
canBeConvertedToUint8Array: () => canBeConvertedToUint8Array,
|
|
28261
|
+
charAtIndex: () => charAtIndex,
|
|
28262
|
+
charFromCode: () => charFromCode,
|
|
28263
|
+
charFromHexCode: () => charFromHexCode,
|
|
28264
|
+
charSplit: () => charSplit,
|
|
28265
|
+
cleanText: () => cleanText,
|
|
28266
|
+
clip: () => clip,
|
|
28267
|
+
closePath: () => closePath,
|
|
28268
|
+
cmyk: () => cmyk,
|
|
28269
|
+
colorToComponents: () => colorToComponents,
|
|
28270
|
+
componentsToColor: () => componentsToColor,
|
|
28271
|
+
concatTransformationMatrix: () => concatTransformationMatrix,
|
|
28272
|
+
copyStringIntoBuffer: () => copyStringIntoBuffer,
|
|
28273
|
+
createPDFAcroField: () => createPDFAcroField,
|
|
28274
|
+
createPDFAcroFields: () => createPDFAcroFields,
|
|
28275
|
+
createTypeErrorMsg: () => createTypeErrorMsg,
|
|
28276
|
+
createValueErrorMsg: () => createValueErrorMsg,
|
|
28277
|
+
decodeFromBase64: () => decodeFromBase64$1,
|
|
28278
|
+
decodeFromBase64DataUri: () => decodeFromBase64DataUri,
|
|
28279
|
+
defaultButtonAppearanceProvider: () => defaultButtonAppearanceProvider,
|
|
28280
|
+
defaultCheckBoxAppearanceProvider: () => defaultCheckBoxAppearanceProvider,
|
|
28281
|
+
defaultDropdownAppearanceProvider: () => defaultDropdownAppearanceProvider,
|
|
28282
|
+
defaultOptionListAppearanceProvider: () => defaultOptionListAppearanceProvider,
|
|
28283
|
+
defaultRadioGroupAppearanceProvider: () => defaultRadioGroupAppearanceProvider,
|
|
28284
|
+
defaultTextFieldAppearanceProvider: () => defaultTextFieldAppearanceProvider,
|
|
28285
|
+
degrees: () => degrees,
|
|
28286
|
+
degreesToRadians: () => degreesToRadians,
|
|
28287
|
+
drawButton: () => drawButton,
|
|
28288
|
+
drawCheckBox: () => drawCheckBox,
|
|
28289
|
+
drawCheckMark: () => drawCheckMark,
|
|
28290
|
+
drawEllipse: () => drawEllipse,
|
|
28291
|
+
drawEllipsePath: () => drawEllipsePath,
|
|
28292
|
+
drawImage: () => drawImage,
|
|
28293
|
+
drawLine: () => drawLine,
|
|
28294
|
+
drawLinesOfText: () => drawLinesOfText,
|
|
28295
|
+
drawObject: () => drawObject,
|
|
28296
|
+
drawOptionList: () => drawOptionList,
|
|
28297
|
+
drawPage: () => drawPage,
|
|
28298
|
+
drawRadioButton: () => drawRadioButton,
|
|
28299
|
+
drawRectangle: () => drawRectangle,
|
|
28300
|
+
drawSvgPath: () => drawSvgPath,
|
|
28301
|
+
drawTextField: () => drawTextField,
|
|
28302
|
+
drawTextLines: () => drawTextLines,
|
|
28303
|
+
encodeToBase64: () => encodeToBase64,
|
|
28304
|
+
endMarkedContent: () => endMarkedContent,
|
|
28305
|
+
endPath: () => endPath,
|
|
28306
|
+
endText: () => endText,
|
|
28307
|
+
error: () => error,
|
|
28308
|
+
escapeRegExp: () => escapeRegExp,
|
|
28309
|
+
escapedNewlineChars: () => escapedNewlineChars,
|
|
28310
|
+
fill: () => fill,
|
|
28311
|
+
fillAndStroke: () => fillAndStroke,
|
|
28312
|
+
findLastMatch: () => findLastMatch,
|
|
28313
|
+
getType: () => getType,
|
|
28314
|
+
grayscale: () => grayscale,
|
|
28315
|
+
hasSurrogates: () => hasSurrogates,
|
|
28316
|
+
hasUtf16BOM: () => hasUtf16BOM,
|
|
28317
|
+
highSurrogate: () => highSurrogate,
|
|
28318
|
+
isNewlineChar: () => isNewlineChar,
|
|
28319
|
+
isStandardFont: () => isStandardFont,
|
|
28320
|
+
isType: () => isType,
|
|
28321
|
+
isWithinBMP: () => isWithinBMP,
|
|
28322
|
+
last: () => last,
|
|
28323
|
+
layoutCombedText: () => layoutCombedText,
|
|
28324
|
+
layoutMultilineText: () => layoutMultilineText,
|
|
28325
|
+
layoutSinglelineText: () => layoutSinglelineText,
|
|
28326
|
+
lineSplit: () => lineSplit,
|
|
28327
|
+
lineTo: () => lineTo,
|
|
28328
|
+
lowSurrogate: () => lowSurrogate,
|
|
28329
|
+
mergeIntoTypedArray: () => mergeIntoTypedArray,
|
|
28330
|
+
mergeLines: () => mergeLines,
|
|
28331
|
+
mergeUint8Arrays: () => mergeUint8Arrays,
|
|
28332
|
+
moveTo: () => moveTo,
|
|
28333
|
+
nextLine: () => nextLine,
|
|
28334
|
+
normalizeAppearance: () => normalizeAppearance,
|
|
28335
|
+
numberToString: () => numberToString,
|
|
28336
|
+
padStart: () => padStart$1,
|
|
28337
|
+
parseDate: () => parseDate,
|
|
28338
|
+
pdfDocEncodingDecode: () => pdfDocEncodingDecode,
|
|
28339
|
+
pluckIndices: () => pluckIndices,
|
|
28340
|
+
popGraphicsState: () => popGraphicsState,
|
|
28341
|
+
pushGraphicsState: () => pushGraphicsState,
|
|
28342
|
+
radiansToDegrees: () => radiansToDegrees,
|
|
28343
|
+
range: () => range,
|
|
28344
|
+
rectanglesAreEqual: () => rectanglesAreEqual,
|
|
28345
|
+
reduceRotation: () => reduceRotation,
|
|
28346
|
+
reverseArray: () => reverseArray,
|
|
28347
|
+
rgb: () => rgb,
|
|
28348
|
+
rotateAndSkewTextRadiansAndTranslate: () => rotateAndSkewTextRadiansAndTranslate,
|
|
28349
|
+
rotateDegrees: () => rotateDegrees,
|
|
28350
|
+
rotateInPlace: () => rotateInPlace,
|
|
28351
|
+
rotateRadians: () => rotateRadians,
|
|
28352
|
+
rotateRectangle: () => rotateRectangle,
|
|
28353
|
+
scale: () => scale,
|
|
28354
|
+
setDashPattern: () => setDashPattern,
|
|
28355
|
+
setFillingCmykColor: () => setFillingCmykColor,
|
|
28356
|
+
setFillingColor: () => setFillingColor,
|
|
28357
|
+
setFillingGrayscaleColor: () => setFillingGrayscaleColor,
|
|
28358
|
+
setFillingRgbColor: () => setFillingRgbColor,
|
|
28359
|
+
setFontAndSize: () => setFontAndSize,
|
|
28360
|
+
setGraphicsState: () => setGraphicsState,
|
|
28361
|
+
setLineCap: () => setLineCap,
|
|
28362
|
+
setLineHeight: () => setLineHeight,
|
|
28363
|
+
setLineWidth: () => setLineWidth,
|
|
28364
|
+
setStrokingCmykColor: () => setStrokingCmykColor,
|
|
28365
|
+
setStrokingColor: () => setStrokingColor,
|
|
28366
|
+
setStrokingGrayscaleColor: () => setStrokingGrayscaleColor,
|
|
28367
|
+
setStrokingRgbColor: () => setStrokingRgbColor,
|
|
28368
|
+
setTextMatrix: () => setTextMatrix,
|
|
28369
|
+
showText: () => showText,
|
|
28370
|
+
singleQuote: () => singleQuote,
|
|
28371
|
+
sizeInBytes: () => sizeInBytes,
|
|
28372
|
+
skewRadians: () => skewRadians,
|
|
28373
|
+
sortedUniq: () => sortedUniq,
|
|
28374
|
+
stroke: () => stroke,
|
|
28375
|
+
sum: () => sum,
|
|
28376
|
+
toCharCode: () => toCharCode,
|
|
28377
|
+
toCodePoint: () => toCodePoint,
|
|
28378
|
+
toDegrees: () => toDegrees,
|
|
28379
|
+
toHexString: () => toHexString,
|
|
28380
|
+
toHexStringOfMinLength: () => toHexStringOfMinLength,
|
|
28381
|
+
toRadians: () => toRadians,
|
|
28382
|
+
toUint8Array: () => toUint8Array,
|
|
28383
|
+
translate: () => translate,
|
|
28384
|
+
typedArrayFor: () => typedArrayFor,
|
|
28385
|
+
utf16Decode: () => utf16Decode,
|
|
28386
|
+
utf16Encode: () => utf16Encode,
|
|
28387
|
+
values: () => values,
|
|
28388
|
+
waitForTick: () => waitForTick
|
|
28389
|
+
});
|
|
28390
|
+
//#endregion
|
|
28295
28391
|
//#region src/question-printable.ts
|
|
28296
28392
|
var FIXED_DATE = /* @__PURE__ */ new Date("2000-01-01T00:00:00.000Z");
|
|
28297
28393
|
var PAGE_WIDTH = 612;
|
|
@@ -36785,6 +36881,6 @@ var WorkbookPhotoService = class WorkbookPhotoService extends LessonWorkService
|
|
|
36785
36881
|
}
|
|
36786
36882
|
};
|
|
36787
36883
|
//#endregion
|
|
36788
|
-
export { LessonAlreadyCompleteError as $,
|
|
36884
|
+
export { LessonAlreadyCompleteError as $, Enrollment as $i, QUESTION_COMPLETION_MODES as $n, ReleasedLesson as $r, WorkFeedbackRelease as $t, QUESTION_EXTRACTION_VERSION as A, Attestation as Ai, QuestionRevision as An, CourseCoverChangeCollection as Ar, WorkbookPhotoDecision as At, SELF_ATTESTABLE_LESSON_KINDS as B, CourseAsset as Bi, normalizeQuestionContent as Bn, CourseUpgradeChoiceCollection as Br, WorkCompletionDecision as Bt, MAX_EXTRACTED_OMISSIONS as C, ReadingCollection as Ci, LearningObjectiveCollection as Cn, MAX_REFUSAL_EXPLANATION_LENGTH as Cr, canonicalGroupSharingPolicy as Ct, MAX_EXTRACTED_STUDENT_WORK as D, SubmissionIntakeBindingCollection as Di, QuestionCollection as Dn, CourseArchiveDecision as Dr, BookContextRevisionCollection as Dt, MAX_EXTRACTED_SECTIONS as E, SubmissionCollection as Ei, Question as En, readDelegation as Er, BookContextRevision as Et, normalizeWorkObservedLayout as F, Submission as Fi, resolveEnrollmentLessons as Fn, CourseRelease as Fr, FamilyIntakeAsset as Ft, EnrollmentNotActiveError as G, LESSON_ASSET_RELATIONSHIPS as Gi, MAX_PRINTABLE_ITEMS as Gn, EnrollmentAssignmentRecord as Gr, LessonWorkFiling as Gt, SubmissionStorageCleanupError as H, EXTERNAL_VIDEO_PROVIDERS as Hi, GENERATED_PRINTABLE_RELATIONSHIPS as Hn, CourseVisibilityChangeCollection as Hr, readWorkCompletion as Ht, normalizeWorkAnswerRegions as I, SubmissionAsset as Ii, applyProposalFields as In, CourseReleaseCollection as Ir, FamilyIntakeAssetCollection as It, InterestThemeError as J, LessonExternalVideoCollection as Ji, MAX_PRINTABLE_TOTAL_TEXT as Jn, EnrollmentAutoUpgradeSkipCollection as Jr, WorkAssessmentRevisionCollection as Jt, EnrollmentPaceError as K, LessonAsset as Ki, MAX_PRINTABLE_PAGES as Kn, EnrollmentAssignmentRecordCollection as Kr, LessonWorkFilingCollection as Kt, LessonWorkWorkflowRequiredError as L, SubmissionIntakeBinding as Li, draftFromRevision as Ln, CourseRevision as Lr, FamilyIntakeCollection as Lt, QuestionExtractionPendingError as M, Grade as Mi, CourseAuthoringService as Mn, CourseDiscardTombstoneCollection as Mr, WorkbookPhotoIntake as Mt, QuestionExtractionValidationError as N, LessonSelfAttestation as Ni, authoredVisibilityPermitsGroups as Nn, CourseDraftHead as Nr, WorkbookPhotoIntakeCollection as Nt, MAX_EXTRACTED_TEXT as O, VideoCollection as Oi, QuestionResponse as On, CourseArchiveDecisionCollection as Or, WorkbookPhotoAsset as Ot, LessonWorkService as P, ScannedSubmission as Pi, effectiveCourseVisibility as Pn, CourseDraftHeadCollection as Pr, FamilyIntake as Pt, LearnerValidationError as Q, Curriculum as Qi, PrintableStorageNotConfiguredError as Qn, LessonRevisionCollection as Qr, WorkFeedbackDeliveryCollection as Qt, OwnAttestationConflictError as R, parseQuestionRubric as Ri, planProposal as Rn, CourseRevisionCollection as Rr, FamilyIntakeDecision as Rt, MAX_EXTRACTED_ANCHORS as S, LessonSelfAttestationCollection as Si, LearningObjective as Sn, MAX_REFUSAL_CATEGORY_LENGTH as Sr, GroupSharingPolicyValidationError as St, MAX_EXTRACTED_QUESTIONS as T, SubmissionAssetCollection as Ti, LearningObjectiveRevisionCollection as Tn, delegationRecordFields as Tr, familyIntakeScopeId as Tt, submissionPageKey as U, GUARDIAN_ONLY_RELATIONSHIPS as Ui, LearningObjectiveKeyConflictError as Un, CurriculumCreationRecord as Ur, LessonActivity as Ut, SubmissionService as V, CourseAssetCollection as Vi, GENERATED_PRINTABLE_AUDIENCES as Vn, CourseVisibilityChange as Vr, WorkCompletionDecisionCollection as Vt, ENROLLMENT_STATUS_TRANSITIONS as W, LESSON_ASSET_DEFAULT_AUDIENCE as Wi, LearningObjectiveNotFoundError as Wn, CurriculumCreationRecordCollection as Wr, LessonActivityCollection as Wt, LearnerHistoryUnavailableError as X, materialAudience as Xi, PrintableOwnerError as Xn, EnrollmentReleasePinCollection as Xr, WorkAttemptCollection as Xt, LearnerAuthorizationError as Y, externalVideoEmbedUrl as Yi, MAX_RESOLVE_QUESTION_REVISIONS as Yn, EnrollmentReleasePin as Yr, WorkAttempt as Yt, LearnerService as Z, parseYouTubeReference as Zi, PrintableStorageCleanupError as Zn, LessonRevision as Zr, WorkFeedbackDelivery as Zt, EXTRACTED_OMISSION_REASONS as _, GradeCollection as _i, renderGuardianWorksheetPdf as _n, CourseProposalFieldError as _r, LessonProgressTransitionCollection as _t, questionExtractionProposalDigest as a, parseInterestTheme as aa, mostRestrictiveLicense as ai, aggregateWorkQuestions as an, QuestionReferenceError as ar, MIN_LESSONS_PER_WEEK as at, EXTRACTED_QUESTION_STATUSES as b, LessonCollection as bi, GeneratedPrintable as bn, MAX_GENERATION_GRADE as br, GroupSharingAuthorizationError as bt, QuestionExtractionRecord as c, Course as ca, AttestationCollection as ci, LessonPage as cn, COURSE_GENERATION_STATUSES as cr, EnrollmentPaceChange as ct, extractedQuestionContent as d, ExternalCourse as da, CourseSectionCollection as di, validLessonPageKey as dn, CourseGenerationBriefError as dr, EnrollmentStatusChangeCollection as dt, Learner as ea, ReleasedLessonCollection as ei, WorkFeedbackReleaseCollection as en, QUESTION_FIELDS as er, LessonPutBackError as et, matchExtractedQuestions as f, Lesson as fa, CurriculumCollection as fi, QuestionAuthoringService as fn, CourseGenerationInProgressError as fr, LearnerInterestThemeChange as ft, EXTRACTED_MEDIA_KINDS as g, ExternalCourseCollection as gi, worksheetVersionId as gn, CourseGeneratorNotConfiguredError as gr, LessonProgressTransition as gt, EXTRACTED_LEGIBILITY as h, Worksheet as ha, ExternalCompletionCollection as hi, canonical$2 as hn, CourseGenerationRefusal as hr, LessonCompletionRecordCollection as ht, QuestionExtractionService as i, interestThemeFromColumns as ia, isGroupShareableLicense as ii, WorkCompletionConflictError as in, QuestionNotFoundError as ir, MAX_NEXT_LESSONS_COUNT as it, QuestionExtractionNotFoundError as j, ExternalCompletion as ji, QuestionRevisionCollection as jn, CourseDiscardTombstone as jr, WorkbookPhotoDecisionCollection as jt, QUESTION_EXTRACTION_SOURCE_KINDS as k, WorksheetCollection as ki, QuestionResponseCollection as kn, CourseCoverChange as kr, WorkbookPhotoAssetCollection as kt, QuestionExtractionRecordCollection as l, CourseSection as la, AuthoredCourseCollection as li, LessonPageCollection as ln, COURSE_GENERATION_TARGETS as lr, EnrollmentPaceChangeCollection as lt, questionExtractionSourceIdentity as m, Video as ma, ExerciseCollection as mi, buildLearnerWorksheet as mn, CourseGenerationOutputError as mr, LessonCompletionRecord as mt, preservePhotoProposal as n, MAX_INTEREST_THEME_KEY_CHARS as na, AUTHORED_RELEASE_SOURCE_KEY as ni, WORK_MATH_VOCABULARY as nn, QUESTION_PROVENANCES as nr, LessonWorkOwnedError as nt, ExtractedQuestionLink as o, AuthoredCourse as oa, CatalogAuthorizationError as oi, validateWorkAssessment as on, WorksheetVersionMismatchError as or, enrollmentView as ot, normalizeQuestionExtraction as p, Reading as pa, EnrollmentCollection as pi, buildGuardianWorksheet as pn, CourseGenerationNotFoundError as pr, LearnerInterestThemeChangeCollection as pt, EnrollmentStatusTransitionError as q, LessonExternalVideo as qi, MAX_PRINTABLE_TEXT_LENGTH as qn, EnrollmentAutoUpgradeSkip as qr, WorkAssessmentRevision as qt, validateWorkbookPhotoIdentification as r, MAX_INTEREST_THEME_LABEL_CHARS as ra, isAuthoredReleaseGroupShareable as ri, WorkAssessmentValidationError as rn, QUESTION_RESPONSE_TYPES as rr, MAX_LESSONS_PER_WEEK as rt, ExtractedQuestionLinkCollection as s, COURSE_VISIBILITIES as sa, CatalogService as si, workAggregateFeedback as sn, groupSharingDigest as sr, requirePolicyBasis as st, WorkbookPhotoService as t, LessonProgress as ta, AUTHORED_IDENTITY_SOURCE_KEY as ti, LessonWorkPlacementError as tn, QUESTION_PROMPT_SUMMARY_LENGTH as tr, LessonSkippedError as tt, QUESTION_EXTRACTION_ARGS_SCHEMA as u, Exercise as ua, CourseCollection as ui, lessonPageView as un, COURSE_GENERATION_TERMINAL as ur, EnrollmentStatusChange as ut, EXTRACTED_ORIGINS as v, LearnerCollection as vi, renderLearnerWorksheetPdf as vn, CourseProposalNotFoundError as vr, evaluateGroupSharingPolicy as vt, MAX_EXTRACTED_PAGES as w, ScannedSubmissionCollection as wi, LearningObjectiveRevision as wn, delegationActorFields as wr, validateGroupSharingPolicy as wt, EXTRACTED_READABILITY as x, LessonProgressCollection as xi, GeneratedPrintableCollection as xn, MAX_GENERATION_OBJECTIVE_CHARS as xr, GroupSharingConflictError as xt, EXTRACTED_PAGE_ROLES as y, LessonAssetCollection as yi, es_exports as yn, MAX_GENERATION_BRIEF_FIELD_CHARS as yr, summarizeWorkEvidence as yt, OwnAttestationLessonKindError as z, validateRubricResults as zi, validateCourseGenerationOutput as zn, CourseUpgradeChoice as zr, FamilyIntakeDecisionCollection as zt };
|
|
36789
36885
|
|
|
36790
|
-
//# sourceMappingURL=workbook-photo-service-
|
|
36886
|
+
//# sourceMappingURL=workbook-photo-service-CjcB0y8Y.js.map
|