@nodaro/shared 3.6.0 → 3.7.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.cjs +12 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/image-overlay-layers.ts +10 -0
package/dist/index.cjs
CHANGED
|
@@ -14046,6 +14046,17 @@ function overlayShapeElement(shape, w, h, inset = 0) {
|
|
|
14046
14046
|
}
|
|
14047
14047
|
|
|
14048
14048
|
// src/image-overlay-layers.ts
|
|
14049
|
+
var OVERLAY_ANCHORS = [
|
|
14050
|
+
"top-left",
|
|
14051
|
+
"top",
|
|
14052
|
+
"top-right",
|
|
14053
|
+
"left",
|
|
14054
|
+
"center",
|
|
14055
|
+
"right",
|
|
14056
|
+
"bottom-left",
|
|
14057
|
+
"bottom",
|
|
14058
|
+
"bottom-right"
|
|
14059
|
+
];
|
|
14049
14060
|
var OVERLAY_LAYER_KINDS = ["image", "text", "qr", "shape"];
|
|
14050
14061
|
var OVERLAY_TEXT_ALIGNS = ["left", "center", "right"];
|
|
14051
14062
|
var OVERLAY_IMAGE_MASKS = ["none", "circle"];
|
|
@@ -17286,6 +17297,7 @@ exports.ORG_ROLES = ORG_ROLES;
|
|
|
17286
17297
|
exports.ORG_STATUSES = ORG_STATUSES;
|
|
17287
17298
|
exports.OUTPUT_FIELD_MAP = OUTPUT_FIELD_MAP;
|
|
17288
17299
|
exports.OUTPUT_FORMATS = OUTPUT_FORMATS;
|
|
17300
|
+
exports.OVERLAY_ANCHORS = OVERLAY_ANCHORS;
|
|
17289
17301
|
exports.OVERLAY_FONTS = OVERLAY_FONTS;
|
|
17290
17302
|
exports.OVERLAY_FONT_IDS = OVERLAY_FONT_IDS;
|
|
17291
17303
|
exports.OVERLAY_IMAGE_MASKS = OVERLAY_IMAGE_MASKS;
|