@aeriajs/compiler 0.0.64 → 0.0.65
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/parser.js +1 -6
- package/package.json +1 -1
package/dist/parser.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DESCRIPTION_PRESETS, LAYOUT_NAMES, PROPERTY_ARRAY_ELEMENTS,
|
|
1
|
+
import { DESCRIPTION_PRESETS, LAYOUT_NAMES, PROPERTY_ARRAY_ELEMENTS, PROPERTY_INPUT_ELEMENTS, PROPERTY_INPUT_TYPES } from '@aeriajs/types';
|
|
2
2
|
import { icons } from '@phosphor-icons/core';
|
|
3
3
|
import * as AST from './ast.js';
|
|
4
4
|
import * as guards from './guards.js';
|
|
@@ -284,11 +284,6 @@ export const parse = (tokens) => {
|
|
|
284
284
|
switch (property.type) {
|
|
285
285
|
case 'string': {
|
|
286
286
|
switch (attributeName) {
|
|
287
|
-
case 'format': {
|
|
288
|
-
const { value } = consume(TokenType.QuotedString, PROPERTY_FORMATS);
|
|
289
|
-
property[attributeName] = value;
|
|
290
|
-
return;
|
|
291
|
-
}
|
|
292
287
|
case 'mask': {
|
|
293
288
|
if (match(TokenType.LeftSquareBracket)) {
|
|
294
289
|
property[attributeName] = parseArray([TokenType.QuotedString]).value;
|