UNPKG

@lottiefiles/relottie-parse

Version:
155 lines (153 loc) 4.12 kB
import { TITLES } from '@lottiefiles/last'; // src/constants.ts var { number: NT, string: ST } = TITLES; var fileConstants = { sourceId: "relottie-parse" }; var blendModeValues = /* @__PURE__ */ new Map([ [0, "normal"], [1, "multiply"], [2, "screen"], [3, "overlay"], [4, "darken"], [5, "lighten"], [6, "color-dodge"], [7, "color-burn"], [8, "hard-light"], [9, "soft-light"], [10, "difference"], [11, "exclusion"], [12, "hue"], [13, "saturation"], [14, "color"], [15, "luminosity"], [16, "add"], [17, "hard-mix"] ]); var compositeValues = /* @__PURE__ */ new Map([ [1, "above"], [2, "below"] ]); var filleRuleValues = /* @__PURE__ */ new Map([ [1, "non-zero"], [2, "even-odd"] ]); var gradientTypeValues = /* @__PURE__ */ new Map([ [1, "linear"], [2, "radial"] ]); var lineCapValues = /* @__PURE__ */ new Map([ [1, "butt"], [2, "round"], [3, "square"] ]); var lineJoinValues = /* @__PURE__ */ new Map([ [1, "miter"], [2, "round"], [3, "bevel"] ]); var shapeDirectionValues = /* @__PURE__ */ new Map([ [0, "normal"], [1, "clockwise"], [3, "clockwise-reversed"] ]); var trimMultipleShapesValues = /* @__PURE__ */ new Map([ [1, "simultaneously"], [2, "individually"] ]); var matteModeValues = /* @__PURE__ */ new Map([ [0, "normal"], [1, "alpha"], [2, "inverted-alpha"], [3, "luma"], [4, "inverted-luma"] ]); var textBasedValues = /* @__PURE__ */ new Map([ [1, "characters"], [2, "character-excluding-spaces"], [3, "words"], [4, "lines"] ]); var textCapsValues = /* @__PURE__ */ new Map([ [0, "regular"], [1, "all"], [2, "small"] ]); var textGroupingValues = /* @__PURE__ */ new Map([ [1, "characters"], [2, "words"], [3, "line"], [4, "all"] ]); var textJustifyValues = /* @__PURE__ */ new Map([ [0, "left"], [1, "right"], [2, "center"], [3, "with-last-line-left"], [4, "with-last-line-right"], [5, "with-last-line-center"], [6, "with-last-line-full"] ]); var textShapeValues = /* @__PURE__ */ new Map([ [1, "square"], [2, "ramp-up"], [3, "ramp-down"], [4, "triangle"], [5, "round"], [6, "smooth"] ]); var fontPathOriginValues = /* @__PURE__ */ new Map([ [0, "local"], [1, "css-url"], [2, "script-url"], [3, "fonturl"] ]); var verticalJustifyValues = /* @__PURE__ */ new Map([ [0, "top"], [1, "center"], [2, "bottom"] ]); var rangeUnitsValues = /* @__PURE__ */ new Map([ [1, "percent"], [2, "index"] ]); var mergeModeValues = /* @__PURE__ */ new Map([ [1, "normal"], [2, "add"], [3, "substract"], [4, "intersect"], [5, "exclude-intersections"] ]); var constantNumValues = /* @__PURE__ */ new Map([ [NT.blendMode, blendModeValues], [NT.composite, compositeValues], [NT.fillRule, filleRuleValues], [NT.gradientType, gradientTypeValues], [NT.lineCap, lineCapValues], [NT.lineJoin, lineJoinValues], [NT.shapeDirection, shapeDirectionValues], [NT.trimMultipleShapes, trimMultipleShapesValues], [NT.matteMode, matteModeValues], [NT.textBased, textBasedValues], [NT.textCaps, textCapsValues], [NT.textGrouping, textGroupingValues], [NT.textJustify, textJustifyValues], [NT.textShape, textShapeValues], [NT.fontPathOrigin, fontPathOriginValues], [NT.textVerticalJustify, verticalJustifyValues], [NT.rangeUnits, rangeUnitsValues], [NT.mergeMode, mergeModeValues] ]); var maskModeValues = /* @__PURE__ */ new Map([ ["n", "no"], ["a", "add"], ["s", "subtract"], ["i", "intersect"], ["l", "lighten"], ["d", "darken"], ["f", "difference"] ]); var constantStrValues = /* @__PURE__ */ new Map([[ST.maskMode, maskModeValues]]); export { blendModeValues, compositeValues, constantNumValues, constantStrValues, fileConstants, filleRuleValues, fontPathOriginValues, gradientTypeValues, lineCapValues, lineJoinValues, maskModeValues, matteModeValues, mergeModeValues, rangeUnitsValues, shapeDirectionValues, textBasedValues, textCapsValues, textGroupingValues, textJustifyValues, textShapeValues, trimMultipleShapesValues, verticalJustifyValues }; //# sourceMappingURL=chunk-X5PT7L37.js.map //# sourceMappingURL=chunk-X5PT7L37.js.map