@vue/shared 3.6.0-rc.10 → 3.6.0-rc.12
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/shared.cjs.js +5 -10
- package/dist/shared.cjs.prod.js +5 -10
- package/dist/shared.d.ts +1 -3
- package/dist/shared.esm-bundler.js +6 -10
- package/package.json +1 -1
package/dist/shared.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.6.0-rc.
|
|
2
|
+
* @vue/shared v3.6.0-rc.12
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -421,9 +421,10 @@ const isBlockTag = /*@__PURE__*/ makeMap(BLOCK_TAGS);
|
|
|
421
421
|
* - ismap -> isMap
|
|
422
422
|
* - nomodule -> noModule
|
|
423
423
|
* - novalidate -> noValidate
|
|
424
|
+
* - playsinline -> playsInline
|
|
424
425
|
* - readonly -> readOnly
|
|
425
426
|
*/
|
|
426
|
-
const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
|
|
427
|
+
const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`;
|
|
427
428
|
const isSpecialBooleanAttr = /*@__PURE__*/ makeMap(specialBooleanAttrs);
|
|
428
429
|
/**
|
|
429
430
|
* The full list is needed during SSR to produce the correct initial markup.
|
|
@@ -774,15 +775,10 @@ const VaporSlotFlags = {
|
|
|
774
775
|
"ONCE": 2,
|
|
775
776
|
"2": "ONCE",
|
|
776
777
|
"FORWARDED": 4,
|
|
777
|
-
"4": "FORWARDED"
|
|
778
|
-
"SHARED_FALLBACK": 8,
|
|
779
|
-
"8": "SHARED_FALLBACK"
|
|
778
|
+
"4": "FORWARDED"
|
|
780
779
|
};
|
|
781
780
|
function isForwardedSlot(flags) {
|
|
782
|
-
return !!(flags &
|
|
783
|
-
}
|
|
784
|
-
function slotInheritsFallback(flags) {
|
|
785
|
-
return isForwardedSlot(flags) && !(flags & 8);
|
|
781
|
+
return !!(flags & 4);
|
|
786
782
|
}
|
|
787
783
|
function slotNotifiesBoundary(flags) {
|
|
788
784
|
return isForwardedSlot(flags) && !(flags & 2);
|
|
@@ -894,7 +890,6 @@ exports.propsToAttrMap = propsToAttrMap;
|
|
|
894
890
|
exports.remove = remove;
|
|
895
891
|
exports.shouldSetAsAttr = shouldSetAsAttr;
|
|
896
892
|
exports.slotFlagsText = slotFlagsText;
|
|
897
|
-
exports.slotInheritsFallback = slotInheritsFallback;
|
|
898
893
|
exports.slotNotifiesBoundary = slotNotifiesBoundary;
|
|
899
894
|
exports.stringifyStyle = stringifyStyle;
|
|
900
895
|
exports.toDisplayString = toDisplayString;
|
package/dist/shared.cjs.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.6.0-rc.
|
|
2
|
+
* @vue/shared v3.6.0-rc.12
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -421,9 +421,10 @@ const isBlockTag = /*@__PURE__*/ makeMap(BLOCK_TAGS);
|
|
|
421
421
|
* - ismap -> isMap
|
|
422
422
|
* - nomodule -> noModule
|
|
423
423
|
* - novalidate -> noValidate
|
|
424
|
+
* - playsinline -> playsInline
|
|
424
425
|
* - readonly -> readOnly
|
|
425
426
|
*/
|
|
426
|
-
const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
|
|
427
|
+
const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`;
|
|
427
428
|
const isSpecialBooleanAttr = /*@__PURE__*/ makeMap(specialBooleanAttrs);
|
|
428
429
|
/**
|
|
429
430
|
* The full list is needed during SSR to produce the correct initial markup.
|
|
@@ -774,15 +775,10 @@ const VaporSlotFlags = {
|
|
|
774
775
|
"ONCE": 2,
|
|
775
776
|
"2": "ONCE",
|
|
776
777
|
"FORWARDED": 4,
|
|
777
|
-
"4": "FORWARDED"
|
|
778
|
-
"SHARED_FALLBACK": 8,
|
|
779
|
-
"8": "SHARED_FALLBACK"
|
|
778
|
+
"4": "FORWARDED"
|
|
780
779
|
};
|
|
781
780
|
function isForwardedSlot(flags) {
|
|
782
|
-
return !!(flags &
|
|
783
|
-
}
|
|
784
|
-
function slotInheritsFallback(flags) {
|
|
785
|
-
return isForwardedSlot(flags) && !(flags & 8);
|
|
781
|
+
return !!(flags & 4);
|
|
786
782
|
}
|
|
787
783
|
function slotNotifiesBoundary(flags) {
|
|
788
784
|
return isForwardedSlot(flags) && !(flags & 2);
|
|
@@ -894,7 +890,6 @@ exports.propsToAttrMap = propsToAttrMap;
|
|
|
894
890
|
exports.remove = remove;
|
|
895
891
|
exports.shouldSetAsAttr = shouldSetAsAttr;
|
|
896
892
|
exports.slotFlagsText = slotFlagsText;
|
|
897
|
-
exports.slotInheritsFallback = slotInheritsFallback;
|
|
898
893
|
exports.slotNotifiesBoundary = slotNotifiesBoundary;
|
|
899
894
|
exports.stringifyStyle = stringifyStyle;
|
|
900
895
|
exports.toDisplayString = toDisplayString;
|
package/dist/shared.d.ts
CHANGED
|
@@ -501,11 +501,9 @@ export declare enum TemplateFlags {
|
|
|
501
501
|
export declare enum VaporSlotFlags {
|
|
502
502
|
NO_SLOTTED = 1,
|
|
503
503
|
ONCE = 2,
|
|
504
|
-
FORWARDED = 4
|
|
505
|
-
SHARED_FALLBACK = 8
|
|
504
|
+
FORWARDED = 4
|
|
506
505
|
}
|
|
507
506
|
export declare function isForwardedSlot(flags: number): boolean;
|
|
508
|
-
export declare function slotInheritsFallback(flags: number): boolean;
|
|
509
507
|
export declare function slotNotifiesBoundary(flags: number): boolean;
|
|
510
508
|
/**
|
|
511
509
|
* Per-slot-function metadata attached by the compiler as `fn._`.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.6.0-rc.
|
|
2
|
+
* @vue/shared v3.6.0-rc.12
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -417,9 +417,10 @@ const isBlockTag = /*@__PURE__*/ makeMap(BLOCK_TAGS);
|
|
|
417
417
|
* - ismap -> isMap
|
|
418
418
|
* - nomodule -> noModule
|
|
419
419
|
* - novalidate -> noValidate
|
|
420
|
+
* - playsinline -> playsInline
|
|
420
421
|
* - readonly -> readOnly
|
|
421
422
|
*/
|
|
422
|
-
const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
|
|
423
|
+
const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`;
|
|
423
424
|
const isSpecialBooleanAttr = /*@__PURE__*/ makeMap(specialBooleanAttrs);
|
|
424
425
|
/**
|
|
425
426
|
* The full list is needed during SSR to produce the correct initial markup.
|
|
@@ -772,15 +773,10 @@ const VaporSlotFlags = {
|
|
|
772
773
|
"ONCE": 2,
|
|
773
774
|
"2": "ONCE",
|
|
774
775
|
"FORWARDED": 4,
|
|
775
|
-
"4": "FORWARDED"
|
|
776
|
-
"SHARED_FALLBACK": 8,
|
|
777
|
-
"8": "SHARED_FALLBACK"
|
|
776
|
+
"4": "FORWARDED"
|
|
778
777
|
};
|
|
779
778
|
function isForwardedSlot(flags) {
|
|
780
|
-
return !!(flags &
|
|
781
|
-
}
|
|
782
|
-
function slotInheritsFallback(flags) {
|
|
783
|
-
return isForwardedSlot(flags) && !(flags & 8);
|
|
779
|
+
return !!(flags & 4);
|
|
784
780
|
}
|
|
785
781
|
function slotNotifiesBoundary(flags) {
|
|
786
782
|
return isForwardedSlot(flags) && !(flags & 2);
|
|
@@ -805,4 +801,4 @@ const VaporDynamicComponentFlags = {
|
|
|
805
801
|
"16": "NS_MATHML"
|
|
806
802
|
};
|
|
807
803
|
//#endregion
|
|
808
|
-
export { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, Namespaces, PatchFlagNames, PatchFlags, ShapeFlags, SlotFlags, TemplateFlags, VaporBlockShape, VaporDynamicComponentFlags, VaporIfFlags, VaporSlotFlags, VaporSlotStability, VaporVForFlags, YES, camelize, canSetValueDirectly, capitalize, cssVarNameEscapeSymbolsRE, def, escapeHtml, escapeHtmlComment, extend, genCacheKey, genPropsAccessExp, generateCodeFrame, getEscapedCssVarName, getGlobalThis, getModifierPropName, getSequence, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isAlwaysCloseTag, isArray, isBlockTag, isBooleanAttr, isBuiltInDirective, isBuiltInTag, isDate, isFormattingTag, isForwardedSlot, isFunction, isGloballyAllowed, isGloballyWhitelisted, isHTMLTag, isInlineTag, isIntegerKey, isKnownHtmlAttr, isKnownMathMLAttr, isKnownSvgAttr, isMap, isMathMLTag, isModelListener, isNativeOn, isObject, isOn, isPlainObject, isPromise, isRegExp, isRenderableAttrValue, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, looseToNumber, makeMap, normalizeClass, normalizeCssVarValue, normalizeProps, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, shouldSetAsAttr, slotFlagsText,
|
|
804
|
+
export { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, Namespaces, PatchFlagNames, PatchFlags, ShapeFlags, SlotFlags, TemplateFlags, VaporBlockShape, VaporDynamicComponentFlags, VaporIfFlags, VaporSlotFlags, VaporSlotStability, VaporVForFlags, YES, camelize, canSetValueDirectly, capitalize, cssVarNameEscapeSymbolsRE, def, escapeHtml, escapeHtmlComment, extend, genCacheKey, genPropsAccessExp, generateCodeFrame, getEscapedCssVarName, getGlobalThis, getModifierPropName, getSequence, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isAlwaysCloseTag, isArray, isBlockTag, isBooleanAttr, isBuiltInDirective, isBuiltInTag, isDate, isFormattingTag, isForwardedSlot, isFunction, isGloballyAllowed, isGloballyWhitelisted, isHTMLTag, isInlineTag, isIntegerKey, isKnownHtmlAttr, isKnownMathMLAttr, isKnownSvgAttr, isMap, isMathMLTag, isModelListener, isNativeOn, isObject, isOn, isPlainObject, isPromise, isRegExp, isRenderableAttrValue, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, looseToNumber, makeMap, normalizeClass, normalizeCssVarValue, normalizeProps, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, shouldSetAsAttr, slotFlagsText, slotNotifiesBoundary, stringifyStyle, toDisplayString, toHandlerKey, toNumber, toRawType, toTypeString };
|