mdz-enum 1.1.75 → 1.1.76
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/general/index.d.ts +1 -0
- package/dist/general/index.js +10 -0
- package/package.json +1 -1
package/dist/general/index.d.ts
CHANGED
package/dist/general/index.js
CHANGED
|
@@ -216,4 +216,14 @@ exports.ProporcaoImagem = {
|
|
|
216
216
|
return 'enum not found';
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
|
+
aspectRatioValue(val) {
|
|
220
|
+
switch (val) {
|
|
221
|
+
case this['1/1']:
|
|
222
|
+
return 1 / 1;
|
|
223
|
+
case this['9/16']:
|
|
224
|
+
return 9 / 16;
|
|
225
|
+
default:
|
|
226
|
+
return 1 / 1;
|
|
227
|
+
}
|
|
228
|
+
},
|
|
219
229
|
};
|