houxit 0.1.14 → 0.1.15
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/houxit.esm.js +3 -2
- package/package.json +1 -1
package/dist/houxit.esm.js
CHANGED
|
@@ -165,7 +165,7 @@ var HTMLIDLAttributes = "accesskey,contenteditable,dir,draggable,enterkeyhint,hi
|
|
|
165
165
|
var isHTMLIDLAttributes = (txt) => _makeMap_(HTMLIDLAttributes, txt);
|
|
166
166
|
var HTMLBooleanAttributes = "disabled,hidden,draggable,checked,selected,defer,ismap,reversed,readonly,autoplay,disableremoteplayback,muted,loop,autofocus,async,controls,default,inert,open,scoped,seamless,muted,multiple,itemscope,allowfullscreen,formnovalidate,nomodule,novalidate";
|
|
167
167
|
var isHTMLBooleanAttributes = (txt) => _makeMap_(HTMLBooleanAttributes, txt);
|
|
168
|
-
var SVG_TAGS = "animate,animateMotion,animateTransform,circle,clipPath,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,stopsvg,switch,symbol,text,textPath,tspan,use,view";
|
|
168
|
+
var SVG_TAGS = "animate,animateMotion,animateTransform,circle,clipPath,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,stopsvg,switch,symbol,text,textPath,tspan,use,view,stop";
|
|
169
169
|
var SVG_DEPRECATED_TAGS = "altGlyph,altGlyphDef,altGlyphItem,cursor,font,font-face,font-face-format,font-face-name,font-face-src,font-face-uri,glyph,glyphToken,hkern,missing-glyph,tref,vkern";
|
|
170
170
|
var IS_SVG_TAG = (tag) => _makeMap_(SVG_TAGS, tag);
|
|
171
171
|
var IS_SVG_DEPRRCATED_TAG = (tag) => _makeMap_(SVG_DEPRECATED_TAGS, tag);
|
|
@@ -8923,7 +8923,7 @@ function handleBuildGenerator(self, selector) {
|
|
|
8923
8923
|
responseRender = renderer;
|
|
8924
8924
|
if (isArrowFunction(widgetBuild) && !isPFunction(renderer)) responseRender = () => renderer;
|
|
8925
8925
|
} catch (err) {
|
|
8926
|
-
debugHandler(`[ ] Error during the call of the build function`, self, true, DebugFlags.build);
|
|
8926
|
+
debugHandler(`[ ] Error during the call of the build function\n\n${err}`, self, true, DebugFlags.build);
|
|
8927
8927
|
debugHandler(err);
|
|
8928
8928
|
if (isXtruct(widgetBuild)) debugHandler(`[ ] build options method seems to be a constructor function`, self);
|
|
8929
8929
|
else debugHandler(`${err}`, self);
|
|
@@ -10152,6 +10152,7 @@ function resolveInstanceWidgetNormalizer(self, vNode) {
|
|
|
10152
10152
|
const tagname = isBlockTag(vNode.type) ? getBlockTagName(vNode.type) : vNode.type;
|
|
10153
10153
|
let widget;
|
|
10154
10154
|
if (!isBlockTag(vNode.type) && !isDynamicPropTag(vNode.type) && !instance_Has_Widget(self, tagname) && !(inBrowserCompiler ? customElements.get(tagname) : false)) {
|
|
10155
|
+
log(vNode, tagname, IS_SVG_TAG(tagname))
|
|
10155
10156
|
debugHandler(`[ ] Template Compilation Error::\n\nUnresolved tagname "<${tagname}>"\n\n ...if this is a Houxit widget, make sure its registered through the "widgets" option or defined through the CustomElementsInstance.define() method if it's a customElement `, self, true);
|
|
10156
10157
|
return false;
|
|
10157
10158
|
} else if (isBlockTag(vNode.type)) {
|