|
@@ -10,24 +10,6 @@
|
|
hidden, lang, spellcheck, translate, onblur, onerror, onfocus, onmessage, onresize).
|
|
hidden, lang, spellcheck, translate, onblur, onerror, onfocus, onmessage, onresize).
|
|
-define(ACTION_BASE(Module), ancestor=action, trigger, target, module=Module, actions, source=[]).
|
|
-define(ACTION_BASE(Module), ancestor=action, trigger, target, module=Module, actions, source=[]).
|
|
-define(CTRL_BASE(Module), ?ELEMENT_BASE(Module,undefined,Module)).
|
|
-define(CTRL_BASE(Module), ?ELEMENT_BASE(Module,undefined,Module)).
|
|
-% SVG attribute groups
|
|
|
|
--define(SVG_ANIMATION_EVENT, onbegin, onend, onload_animation, onrepeat).
|
|
|
|
--define(SVG_ANIMATION_ATTRIBUT_TARGET, attributeType, attributeName).
|
|
|
|
--define(SVG_ANIMATION_TIMING, svgbegin, dur, svgend, min, max, restart, repeatCount, repeatDur, fill).
|
|
|
|
--define(SVG_ANIMATION_VALUE, calcMode, values, keyTimes, keySplines, from, to, by, autoReverse, accelerate, decelerate).
|
|
|
|
--define(SVG_ANIMATION_ADDITION, additive, accumulate).
|
|
|
|
--define(SVG_CONDITIONAL_PROCESSING, requiredExtensions, requiredFeatures, systemLanguage).
|
|
|
|
--define(SVG_CORE, xmlbase, xmllang, xmlspace).
|
|
|
|
--define(SVG_DOCUMENT_EVENT, onabort, onscroll, onunload_document, onzoom). %% onerror and onresize, duplicating HTML events, were removed.
|
|
|
|
--define(SVG_FILTER_PRIMITIVE, height, result, width, x, y).
|
|
|
|
--define(SVG_GRAPHICAL_EVENT, onactivate, onfocusin, onfocusout, onload_graphical, onmousedown, onmousemove, onmouseout, onmouseup). %% onclick and onmouseover, duplicating HTML events, were removed.
|
|
|
|
--define(SVG_PRESENTATION, alignment_baseline, baseline_shift, clip, clip_path, clip_rule, color, color_interpolation, color_interpolation_filters, color_profile, color_rendering, cursor,
|
|
|
|
- direction, display, dominant_baseline, enable_background, fill, fill_opacity, fill_rule, filter, flood_color, flood_opacity, font_family, font_size, font_size_adjust, font_stretch,
|
|
|
|
- font_style, font_variant, font_weight, glyph_orientation_horizontal, glyph_orientation_vertical, image_rendering, kerning, letter_spacing, lighting_color, marker_end, marker_mid,
|
|
|
|
- marker_start, mask, opacity, overflow, pointer_events, shape_rendering, stop_color, stop_opacity, stroke, stroke_dasharray, stroke_dashoffset, stroke_linecap, stroke_linejoin,
|
|
|
|
- stroke_miterlimit, stroke_opacity, stroke_width, text_anchor, text_decoration, text_rendering, unicode_bidi, visibility, word_spacing, writing_mode).
|
|
|
|
--define(SVG_TRANSFERT_FUNCTION, type, tableValues, slope, intercept, amplitude, exponent, offset).
|
|
|
|
--define(SVG_XLINK, xlinkhref, xlinktype, xlinkrole, xlinkarcrole, xlinktitle, xlinkshow, xlinkactuate).
|
|
|
|
|
|
|
|
-record(element, {?ELEMENT_BASE(undefined)}).
|
|
-record(element, {?ELEMENT_BASE(undefined)}).
|
|
-record(literal, {?ELEMENT_BASE(element_literal), html_encode=true }).
|
|
-record(literal, {?ELEMENT_BASE(element_literal), html_encode=true }).
|
|
@@ -80,12 +62,12 @@
|
|
-record(textarea, {?ELEMENT_BASE(element_textarea), autofocus, cols, dirname, disabled, form, maxlength, name, placeholder, readonly, required, rows, wrap, value}).
|
|
-record(textarea, {?ELEMENT_BASE(element_textarea), autofocus, cols, dirname, disabled, form, maxlength, name, placeholder, readonly, required, rows, wrap, value}).
|
|
|
|
|
|
% HTML Form inputs
|
|
% HTML Form inputs
|
|
--record(input, {?ELEMENT_BASE(element_input), autofocus, disabled, form, name, value, type=[], placeholder, multiple, min, max}).
|
|
|
|
|
|
+-record(input, {?ELEMENT_BASE(element_input), autofocus, disabled, form, name, value, type=[], placeholder, multiple, min, max, pattern, accept}).
|
|
-record(input_button, {?ELEMENT_BASE(element_input_button), autofocus, disabled, form, name, value}).
|
|
-record(input_button, {?ELEMENT_BASE(element_input_button), autofocus, disabled, form, name, value}).
|
|
-record(checkbox, {?ELEMENT_BASE(element_checkbox), autofocus, checked=false, disabled, form, name, required, value}).
|
|
-record(checkbox, {?ELEMENT_BASE(element_checkbox), autofocus, checked=false, disabled, form, name, required, value}).
|
|
-record(color, {?ELEMENT_BASE(element_color), autocomplete, autofocus, disabled, form, list, name, value}).
|
|
-record(color, {?ELEMENT_BASE(element_color), autocomplete, autofocus, disabled, form, list, name, value}).
|
|
-record(date, {?ELEMENT_BASE(element_date), autocomplete, autofocus, disabled, form, list, max, min, name, step, readonly, required, value}).
|
|
-record(date, {?ELEMENT_BASE(element_date), autocomplete, autofocus, disabled, form, list, max, min, name, step, readonly, required, value}).
|
|
--record(calendar, {?ELEMENT_BASE(element_calendar), autocomplete, autofocus, disabled, form, list, maxDate, minDate, format, name, step, readonly, required, value, placeholder}).
|
|
|
|
|
|
+-record(calendar, {?ELEMENT_BASE(element_calendar), autocomplete, autofocus, disabled, form, list, maxDate, minDate, format, name, step, readonly, required, value, placeholder, onSelect, disableDayFn}).
|
|
-record(datetime, {?ELEMENT_BASE(element_datetime), autocomplete, autofocus, disabled, form, list, max, min, name, step, readonly, required, value}).
|
|
-record(datetime, {?ELEMENT_BASE(element_datetime), autocomplete, autofocus, disabled, form, list, max, min, name, step, readonly, required, value}).
|
|
-record(datetime_local, {?ELEMENT_BASE(element_datetime_local), autocomplete, autofocus, disabled, form, list, max, min, name, step, readonly, required, value}).
|
|
-record(datetime_local, {?ELEMENT_BASE(element_datetime_local), autocomplete, autofocus, disabled, form, list, max, min, name, step, readonly, required, value}).
|
|
-record(email, {?ELEMENT_BASE(element_email), autocomplete, autofocus, disabled, form, list, maxlength, multiple, name, pattern, placeholder, readonly, required, size, value}).
|
|
-record(email, {?ELEMENT_BASE(element_email), autocomplete, autofocus, disabled, form, list, maxlength, multiple, name, pattern, placeholder, readonly, required, size, value}).
|
|
@@ -194,15 +176,12 @@
|
|
-record(u, ?DEFAULT_BASE).
|
|
-record(u, ?DEFAULT_BASE).
|
|
-record(var, ?DEFAULT_BASE).
|
|
-record(var, ?DEFAULT_BASE).
|
|
|
|
|
|
-% HTML5 template
|
|
|
|
--record(template, ?DEFAULT_BASE).
|
|
|
|
-
|
|
|
|
-% SVG
|
|
|
|
--record(svg, {?ELEMENT_BASE(element_svg), version="1.1", baseProfile="full", xmlns="http://www.w3.org/2000/svg", xmlnsxlink="http://www.w3.org/1999/xlink", xmlnsev="http://www.w3.org/2001/xml-events", preserveAspectRatio, contentScriptType, contentStyleType, viewBox, externalResourcesRequired, ?SVG_CONDITIONAL_PROCESSING, ?SVG_CORE, ?SVG_DOCUMENT_EVENT, ?SVG_FILTER_PRIMITIVE, ?SVG_GRAPHICAL_EVENT, ?SVG_PRESENTATION, ?SVG_TRANSFERT_FUNCTION, ?SVG_XLINK}).
|
|
|
|
-
|
|
|
|
% Extras
|
|
% Extras
|
|
-record(upload, {?CTRL_BASE(element_upload), name, value}).
|
|
-record(upload, {?CTRL_BASE(element_upload), name, value}).
|
|
|
|
|
|
|
|
+% HTML5 template
|
|
|
|
+-record(template, ?DEFAULT_BASE).
|
|
|
|
+
|
|
% Actions
|
|
% Actions
|
|
-record(action, {?ACTION_BASE(undefined)}).
|
|
-record(action, {?ACTION_BASE(undefined)}).
|
|
-record(wire, {?ACTION_BASE(action_wire)}).
|
|
-record(wire, {?ACTION_BASE(action_wire)}).
|