1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.isCssNativeFunction = exports.nativeFunctionsDic = exports.reservedKeyFrames = exports.nativePseudoElements = exports.nativePseudoClasses = void 0;
|
4 |
|
5 | exports.nativePseudoClasses = [
|
6 | 'active',
|
7 | 'any',
|
8 | 'any-link',
|
9 | 'checked',
|
10 | 'default',
|
11 | 'defined',
|
12 | 'dir',
|
13 | 'disabled',
|
14 | 'empty',
|
15 | 'enabled',
|
16 | 'first',
|
17 | 'first-child',
|
18 | 'first-of-type',
|
19 | 'fullscreen',
|
20 | 'focus',
|
21 | 'focus-within',
|
22 | 'focus-visible',
|
23 | 'hover',
|
24 | 'indeterminate',
|
25 | 'in-range',
|
26 | 'invalid',
|
27 | 'lang',
|
28 | 'last-child',
|
29 | 'last-of-type',
|
30 | 'left',
|
31 | 'link',
|
32 | 'not',
|
33 | 'nth-child',
|
34 | 'nth-last-child',
|
35 | 'nth-last-of-type',
|
36 | 'nth-of-type',
|
37 | 'only-child',
|
38 | 'only-of-type',
|
39 | 'optional',
|
40 | 'out-of-range',
|
41 | 'placeholder-shown',
|
42 | 'read-only',
|
43 | 'read-write',
|
44 | 'required',
|
45 | 'right',
|
46 | 'root',
|
47 | 'scope',
|
48 | 'target',
|
49 | 'valid',
|
50 | 'visited',
|
51 | ];
|
52 | exports.nativePseudoElements = [
|
53 | 'after',
|
54 | 'backdrop',
|
55 | 'before',
|
56 | 'cue',
|
57 | 'first-letter',
|
58 | 'first-line',
|
59 | 'grammar-error',
|
60 | 'marker',
|
61 | 'placeholder',
|
62 | 'selection',
|
63 | 'slotted',
|
64 | 'spelling-error',
|
65 | ];
|
66 | exports.reservedKeyFrames = [
|
67 | 'none',
|
68 | 'inherited',
|
69 | 'initial',
|
70 | 'unset',
|
71 |
|
72 | 'linear',
|
73 | 'ease',
|
74 | 'ease-in',
|
75 | 'ease-in-out',
|
76 | 'ease-out',
|
77 | 'step-start',
|
78 | 'step-end',
|
79 | 'start',
|
80 | 'end',
|
81 |
|
82 | 'infinite',
|
83 |
|
84 | 'normal',
|
85 | 'reverse',
|
86 | 'alternate',
|
87 | 'alternate-reverse',
|
88 |
|
89 | 'forwards',
|
90 | 'backwards',
|
91 | 'both',
|
92 |
|
93 | 'running',
|
94 | 'paused',
|
95 | ];
|
96 | exports.nativeFunctionsDic = {
|
97 | attr: true,
|
98 | blur: true,
|
99 | brightness: true,
|
100 | calc: true,
|
101 | circle: true,
|
102 | constant: true,
|
103 | contrast: true,
|
104 | counter: true,
|
105 | counters: true,
|
106 | 'cubic-bezier': true,
|
107 | 'drop-shadow': true,
|
108 | ellipse: true,
|
109 | env: true,
|
110 | format: true,
|
111 | grayscale: true,
|
112 | hsl: true,
|
113 | hsla: true,
|
114 | 'hue-rotate': true,
|
115 | hwb: true,
|
116 | image: true,
|
117 | inset: true,
|
118 | invert: true,
|
119 | 'linear-gradient': true,
|
120 | local: true,
|
121 | matrix: true,
|
122 | matrix3d: true,
|
123 | minmax: true,
|
124 | opacity: true,
|
125 | paint: true,
|
126 | path: true,
|
127 | perspective: true,
|
128 | polygon: true,
|
129 | 'radial-gradient': true,
|
130 | rect: true,
|
131 | repeat: true,
|
132 | 'repeating-linear-gradient': true,
|
133 | 'repeating-radial-gradient': true,
|
134 | rgb: true,
|
135 | rgba: true,
|
136 | rotate: true,
|
137 | rotate3d: true,
|
138 | rotateX: true,
|
139 | rotateY: true,
|
140 | rotateZ: true,
|
141 | saturate: true,
|
142 | sepia: true,
|
143 | scale: true,
|
144 | scale3d: true,
|
145 | scaleX: true,
|
146 | scaleY: true,
|
147 | scaleZ: true,
|
148 | skew: true,
|
149 | skewX: true,
|
150 | skewY: true,
|
151 | symbols: true,
|
152 | translate: true,
|
153 | translate3d: true,
|
154 | translateX: true,
|
155 | translateY: true,
|
156 | translateZ: true,
|
157 | url: true,
|
158 | var: true,
|
159 | };
|
160 | function isCssNativeFunction(name) {
|
161 | return exports.nativeFunctionsDic[name];
|
162 | }
|
163 | exports.isCssNativeFunction = isCssNativeFunction;
|
164 |
|
\ | No newline at end of file |