@angular/platform-server 16.0.0-next.6 → 16.0.0-next.7
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/esm2022/src/bundled-domino.mjs +44 -404
- package/esm2022/src/http.mjs +3 -3
- package/esm2022/src/location.mjs +3 -3
- package/esm2022/src/platform-server.mjs +2 -2
- package/esm2022/src/platform_state.mjs +3 -3
- package/esm2022/src/private_export.mjs +1 -2
- package/esm2022/src/provide_server.mjs +3 -3
- package/esm2022/src/server.mjs +7 -18
- package/esm2022/src/server_events.mjs +3 -3
- package/esm2022/src/transfer_state.mjs +4 -4
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/server.mjs +4 -4
- package/fesm2022/init.mjs +1 -1
- package/fesm2022/platform-server.mjs +72 -709
- package/fesm2022/platform-server.mjs.map +1 -1
- package/fesm2022/testing.mjs +5 -5
- package/index.d.ts +3 -26
- package/init/index.d.ts +1 -1
- package/package.json +7 -7
- package/testing/index.d.ts +1 -1
- package/esm2022/src/server_renderer.mjs +0 -279
|
@@ -4848,7 +4848,29 @@ var require_CSSStyleDeclaration = __commonJS({
|
|
|
4848
4848
|
"external/npm/node_modules/domino/lib/CSSStyleDeclaration.js"(exports, module) {
|
|
4849
4849
|
"use strict";
|
|
4850
4850
|
var { parse } = require_style_parser();
|
|
4851
|
-
module.exports =
|
|
4851
|
+
module.exports = function(elt) {
|
|
4852
|
+
const style = new CSSStyleDeclaration(elt);
|
|
4853
|
+
const handler = {
|
|
4854
|
+
get: function(target, property) {
|
|
4855
|
+
return property in target ? target[property] : target.getPropertyValue(dasherizeProperty(property));
|
|
4856
|
+
},
|
|
4857
|
+
has: function(target, key) {
|
|
4858
|
+
return true;
|
|
4859
|
+
},
|
|
4860
|
+
set: function(target, property, value) {
|
|
4861
|
+
if (property in target) {
|
|
4862
|
+
target[property] = value;
|
|
4863
|
+
} else {
|
|
4864
|
+
target.setProperty(dasherizeProperty(property), value != null ? value : void 0);
|
|
4865
|
+
}
|
|
4866
|
+
return true;
|
|
4867
|
+
}
|
|
4868
|
+
};
|
|
4869
|
+
return new Proxy(style, handler);
|
|
4870
|
+
};
|
|
4871
|
+
function dasherizeProperty(property) {
|
|
4872
|
+
return property.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
|
|
4873
|
+
}
|
|
4852
4874
|
function CSSStyleDeclaration(elt) {
|
|
4853
4875
|
this._element = elt;
|
|
4854
4876
|
}
|
|
@@ -4997,396 +5019,6 @@ var require_CSSStyleDeclaration = __commonJS({
|
|
|
4997
5019
|
}
|
|
4998
5020
|
} }
|
|
4999
5021
|
});
|
|
5000
|
-
var cssProperties = {
|
|
5001
|
-
alignContent: "align-content",
|
|
5002
|
-
alignItems: "align-items",
|
|
5003
|
-
alignmentBaseline: "alignment-baseline",
|
|
5004
|
-
alignSelf: "align-self",
|
|
5005
|
-
animation: "animation",
|
|
5006
|
-
animationDelay: "animation-delay",
|
|
5007
|
-
animationDirection: "animation-direction",
|
|
5008
|
-
animationDuration: "animation-duration",
|
|
5009
|
-
animationFillMode: "animation-fill-mode",
|
|
5010
|
-
animationIterationCount: "animation-iteration-count",
|
|
5011
|
-
animationName: "animation-name",
|
|
5012
|
-
animationPlayState: "animation-play-state",
|
|
5013
|
-
animationTimingFunction: "animation-timing-function",
|
|
5014
|
-
backfaceVisibility: "backface-visibility",
|
|
5015
|
-
background: "background",
|
|
5016
|
-
backgroundAttachment: "background-attachment",
|
|
5017
|
-
backgroundClip: "background-clip",
|
|
5018
|
-
backgroundColor: "background-color",
|
|
5019
|
-
backgroundImage: "background-image",
|
|
5020
|
-
backgroundOrigin: "background-origin",
|
|
5021
|
-
backgroundPosition: "background-position",
|
|
5022
|
-
backgroundPositionX: "background-position-x",
|
|
5023
|
-
backgroundPositionY: "background-position-y",
|
|
5024
|
-
backgroundRepeat: "background-repeat",
|
|
5025
|
-
backgroundSize: "background-size",
|
|
5026
|
-
baselineShift: "baseline-shift",
|
|
5027
|
-
border: "border",
|
|
5028
|
-
borderBottom: "border-bottom",
|
|
5029
|
-
borderBottomColor: "border-bottom-color",
|
|
5030
|
-
borderBottomLeftRadius: "border-bottom-left-radius",
|
|
5031
|
-
borderBottomRightRadius: "border-bottom-right-radius",
|
|
5032
|
-
borderBottomStyle: "border-bottom-style",
|
|
5033
|
-
borderBottomWidth: "border-bottom-width",
|
|
5034
|
-
borderCollapse: "border-collapse",
|
|
5035
|
-
borderColor: "border-color",
|
|
5036
|
-
borderImage: "border-image",
|
|
5037
|
-
borderImageOutset: "border-image-outset",
|
|
5038
|
-
borderImageRepeat: "border-image-repeat",
|
|
5039
|
-
borderImageSlice: "border-image-slice",
|
|
5040
|
-
borderImageSource: "border-image-source",
|
|
5041
|
-
borderImageWidth: "border-image-width",
|
|
5042
|
-
borderLeft: "border-left",
|
|
5043
|
-
borderLeftColor: "border-left-color",
|
|
5044
|
-
borderLeftStyle: "border-left-style",
|
|
5045
|
-
borderLeftWidth: "border-left-width",
|
|
5046
|
-
borderRadius: "border-radius",
|
|
5047
|
-
borderRight: "border-right",
|
|
5048
|
-
borderRightColor: "border-right-color",
|
|
5049
|
-
borderRightStyle: "border-right-style",
|
|
5050
|
-
borderRightWidth: "border-right-width",
|
|
5051
|
-
borderSpacing: "border-spacing",
|
|
5052
|
-
borderStyle: "border-style",
|
|
5053
|
-
borderTop: "border-top",
|
|
5054
|
-
borderTopColor: "border-top-color",
|
|
5055
|
-
borderTopLeftRadius: "border-top-left-radius",
|
|
5056
|
-
borderTopRightRadius: "border-top-right-radius",
|
|
5057
|
-
borderTopStyle: "border-top-style",
|
|
5058
|
-
borderTopWidth: "border-top-width",
|
|
5059
|
-
borderWidth: "border-width",
|
|
5060
|
-
bottom: "bottom",
|
|
5061
|
-
boxShadow: "box-shadow",
|
|
5062
|
-
boxSizing: "box-sizing",
|
|
5063
|
-
breakAfter: "break-after",
|
|
5064
|
-
breakBefore: "break-before",
|
|
5065
|
-
breakInside: "break-inside",
|
|
5066
|
-
captionSide: "caption-side",
|
|
5067
|
-
clear: "clear",
|
|
5068
|
-
clip: "clip",
|
|
5069
|
-
clipPath: "clip-path",
|
|
5070
|
-
clipRule: "clip-rule",
|
|
5071
|
-
color: "color",
|
|
5072
|
-
colorInterpolationFilters: "color-interpolation-filters",
|
|
5073
|
-
columnCount: "column-count",
|
|
5074
|
-
columnFill: "column-fill",
|
|
5075
|
-
columnGap: "column-gap",
|
|
5076
|
-
columnRule: "column-rule",
|
|
5077
|
-
columnRuleColor: "column-rule-color",
|
|
5078
|
-
columnRuleStyle: "column-rule-style",
|
|
5079
|
-
columnRuleWidth: "column-rule-width",
|
|
5080
|
-
columns: "columns",
|
|
5081
|
-
columnSpan: "column-span",
|
|
5082
|
-
columnWidth: "column-width",
|
|
5083
|
-
content: "content",
|
|
5084
|
-
counterIncrement: "counter-increment",
|
|
5085
|
-
counterReset: "counter-reset",
|
|
5086
|
-
cssFloat: "float",
|
|
5087
|
-
cursor: "cursor",
|
|
5088
|
-
direction: "direction",
|
|
5089
|
-
display: "display",
|
|
5090
|
-
dominantBaseline: "dominant-baseline",
|
|
5091
|
-
emptyCells: "empty-cells",
|
|
5092
|
-
enableBackground: "enable-background",
|
|
5093
|
-
fill: "fill",
|
|
5094
|
-
fillOpacity: "fill-opacity",
|
|
5095
|
-
fillRule: "fill-rule",
|
|
5096
|
-
filter: "filter",
|
|
5097
|
-
flex: "flex",
|
|
5098
|
-
flexBasis: "flex-basis",
|
|
5099
|
-
flexDirection: "flex-direction",
|
|
5100
|
-
flexFlow: "flex-flow",
|
|
5101
|
-
flexGrow: "flex-grow",
|
|
5102
|
-
flexShrink: "flex-shrink",
|
|
5103
|
-
flexWrap: "flex-wrap",
|
|
5104
|
-
floodColor: "flood-color",
|
|
5105
|
-
floodOpacity: "flood-opacity",
|
|
5106
|
-
font: "font",
|
|
5107
|
-
fontFamily: "font-family",
|
|
5108
|
-
fontFeatureSettings: "font-feature-settings",
|
|
5109
|
-
fontSize: "font-size",
|
|
5110
|
-
fontSizeAdjust: "font-size-adjust",
|
|
5111
|
-
fontStretch: "font-stretch",
|
|
5112
|
-
fontStyle: "font-style",
|
|
5113
|
-
fontVariant: "font-variant",
|
|
5114
|
-
fontWeight: "font-weight",
|
|
5115
|
-
glyphOrientationHorizontal: "glyph-orientation-horizontal",
|
|
5116
|
-
glyphOrientationVertical: "glyph-orientation-vertical",
|
|
5117
|
-
grid: "grid",
|
|
5118
|
-
gridArea: "grid-area",
|
|
5119
|
-
gridAutoColumns: "grid-auto-columns",
|
|
5120
|
-
gridAutoFlow: "grid-auto-flow",
|
|
5121
|
-
gridAutoRows: "grid-auto-rows",
|
|
5122
|
-
gridColumn: "grid-column",
|
|
5123
|
-
gridColumnEnd: "grid-column-end",
|
|
5124
|
-
gridColumnGap: "grid-column-gap",
|
|
5125
|
-
gridColumnStart: "grid-column-start",
|
|
5126
|
-
gridGap: "grid-gap",
|
|
5127
|
-
gridRow: "grid-row",
|
|
5128
|
-
gridRowEnd: "grid-row-end",
|
|
5129
|
-
gridRowGap: "grid-row-gap",
|
|
5130
|
-
gridRowStart: "grid-row-start",
|
|
5131
|
-
gridTemplate: "grid-template",
|
|
5132
|
-
gridTemplateAreas: "grid-template-areas",
|
|
5133
|
-
gridTemplateColumns: "grid-template-columns",
|
|
5134
|
-
gridTemplateRows: "grid-template-rows",
|
|
5135
|
-
height: "height",
|
|
5136
|
-
imeMode: "ime-mode",
|
|
5137
|
-
justifyContent: "justify-content",
|
|
5138
|
-
kerning: "kerning",
|
|
5139
|
-
layoutGrid: "layout-grid",
|
|
5140
|
-
layoutGridChar: "layout-grid-char",
|
|
5141
|
-
layoutGridLine: "layout-grid-line",
|
|
5142
|
-
layoutGridMode: "layout-grid-mode",
|
|
5143
|
-
layoutGridType: "layout-grid-type",
|
|
5144
|
-
left: "left",
|
|
5145
|
-
letterSpacing: "letter-spacing",
|
|
5146
|
-
lightingColor: "lighting-color",
|
|
5147
|
-
lineBreak: "line-break",
|
|
5148
|
-
lineHeight: "line-height",
|
|
5149
|
-
listStyle: "list-style",
|
|
5150
|
-
listStyleImage: "list-style-image",
|
|
5151
|
-
listStylePosition: "list-style-position",
|
|
5152
|
-
listStyleType: "list-style-type",
|
|
5153
|
-
margin: "margin",
|
|
5154
|
-
marginBottom: "margin-bottom",
|
|
5155
|
-
marginLeft: "margin-left",
|
|
5156
|
-
marginRight: "margin-right",
|
|
5157
|
-
marginTop: "margin-top",
|
|
5158
|
-
marker: "marker",
|
|
5159
|
-
markerEnd: "marker-end",
|
|
5160
|
-
markerMid: "marker-mid",
|
|
5161
|
-
markerStart: "marker-start",
|
|
5162
|
-
mask: "mask",
|
|
5163
|
-
maxHeight: "max-height",
|
|
5164
|
-
maxWidth: "max-width",
|
|
5165
|
-
minHeight: "min-height",
|
|
5166
|
-
minWidth: "min-width",
|
|
5167
|
-
msContentZoomChaining: "-ms-content-zoom-chaining",
|
|
5168
|
-
msContentZooming: "-ms-content-zooming",
|
|
5169
|
-
msContentZoomLimit: "-ms-content-zoom-limit",
|
|
5170
|
-
msContentZoomLimitMax: "-ms-content-zoom-limit-max",
|
|
5171
|
-
msContentZoomLimitMin: "-ms-content-zoom-limit-min",
|
|
5172
|
-
msContentZoomSnap: "-ms-content-zoom-snap",
|
|
5173
|
-
msContentZoomSnapPoints: "-ms-content-zoom-snap-points",
|
|
5174
|
-
msContentZoomSnapType: "-ms-content-zoom-snap-type",
|
|
5175
|
-
msFlowFrom: "-ms-flow-from",
|
|
5176
|
-
msFlowInto: "-ms-flow-into",
|
|
5177
|
-
msFontFeatureSettings: "-ms-font-feature-settings",
|
|
5178
|
-
msGridColumn: "-ms-grid-column",
|
|
5179
|
-
msGridColumnAlign: "-ms-grid-column-align",
|
|
5180
|
-
msGridColumns: "-ms-grid-columns",
|
|
5181
|
-
msGridColumnSpan: "-ms-grid-column-span",
|
|
5182
|
-
msGridRow: "-ms-grid-row",
|
|
5183
|
-
msGridRowAlign: "-ms-grid-row-align",
|
|
5184
|
-
msGridRows: "-ms-grid-rows",
|
|
5185
|
-
msGridRowSpan: "-ms-grid-row-span",
|
|
5186
|
-
msHighContrastAdjust: "-ms-high-contrast-adjust",
|
|
5187
|
-
msHyphenateLimitChars: "-ms-hyphenate-limit-chars",
|
|
5188
|
-
msHyphenateLimitLines: "-ms-hyphenate-limit-lines",
|
|
5189
|
-
msHyphenateLimitZone: "-ms-hyphenate-limit-zone",
|
|
5190
|
-
msHyphens: "-ms-hyphens",
|
|
5191
|
-
msImeAlign: "-ms-ime-align",
|
|
5192
|
-
msOverflowStyle: "-ms-overflow-style",
|
|
5193
|
-
msScrollChaining: "-ms-scroll-chaining",
|
|
5194
|
-
msScrollLimit: "-ms-scroll-limit",
|
|
5195
|
-
msScrollLimitXMax: "-ms-scroll-limit-x-max",
|
|
5196
|
-
msScrollLimitXMin: "-ms-scroll-limit-x-min",
|
|
5197
|
-
msScrollLimitYMax: "-ms-scroll-limit-y-max",
|
|
5198
|
-
msScrollLimitYMin: "-ms-scroll-limit-y-min",
|
|
5199
|
-
msScrollRails: "-ms-scroll-rails",
|
|
5200
|
-
msScrollSnapPointsX: "-ms-scroll-snap-points-x",
|
|
5201
|
-
msScrollSnapPointsY: "-ms-scroll-snap-points-y",
|
|
5202
|
-
msScrollSnapType: "-ms-scroll-snap-type",
|
|
5203
|
-
msScrollSnapX: "-ms-scroll-snap-x",
|
|
5204
|
-
msScrollSnapY: "-ms-scroll-snap-y",
|
|
5205
|
-
msScrollTranslation: "-ms-scroll-translation",
|
|
5206
|
-
msTextCombineHorizontal: "-ms-text-combine-horizontal",
|
|
5207
|
-
msTextSizeAdjust: "-ms-text-size-adjust",
|
|
5208
|
-
msTouchAction: "-ms-touch-action",
|
|
5209
|
-
msTouchSelect: "-ms-touch-select",
|
|
5210
|
-
msUserSelect: "-ms-user-select",
|
|
5211
|
-
msWrapFlow: "-ms-wrap-flow",
|
|
5212
|
-
msWrapMargin: "-ms-wrap-margin",
|
|
5213
|
-
msWrapThrough: "-ms-wrap-through",
|
|
5214
|
-
opacity: "opacity",
|
|
5215
|
-
order: "order",
|
|
5216
|
-
orphans: "orphans",
|
|
5217
|
-
outline: "outline",
|
|
5218
|
-
outlineColor: "outline-color",
|
|
5219
|
-
outlineOffset: "outline-offset",
|
|
5220
|
-
outlineStyle: "outline-style",
|
|
5221
|
-
outlineWidth: "outline-width",
|
|
5222
|
-
overflow: "overflow",
|
|
5223
|
-
overflowX: "overflow-x",
|
|
5224
|
-
overflowY: "overflow-y",
|
|
5225
|
-
padding: "padding",
|
|
5226
|
-
paddingBottom: "padding-bottom",
|
|
5227
|
-
paddingLeft: "padding-left",
|
|
5228
|
-
paddingRight: "padding-right",
|
|
5229
|
-
paddingTop: "padding-top",
|
|
5230
|
-
page: "page",
|
|
5231
|
-
pageBreakAfter: "page-break-after",
|
|
5232
|
-
pageBreakBefore: "page-break-before",
|
|
5233
|
-
pageBreakInside: "page-break-inside",
|
|
5234
|
-
perspective: "perspective",
|
|
5235
|
-
perspectiveOrigin: "perspective-origin",
|
|
5236
|
-
pointerEvents: "pointer-events",
|
|
5237
|
-
position: "position",
|
|
5238
|
-
quotes: "quotes",
|
|
5239
|
-
right: "right",
|
|
5240
|
-
rotate: "rotate",
|
|
5241
|
-
rubyAlign: "ruby-align",
|
|
5242
|
-
rubyOverhang: "ruby-overhang",
|
|
5243
|
-
rubyPosition: "ruby-position",
|
|
5244
|
-
scale: "scale",
|
|
5245
|
-
size: "size",
|
|
5246
|
-
stopColor: "stop-color",
|
|
5247
|
-
stopOpacity: "stop-opacity",
|
|
5248
|
-
stroke: "stroke",
|
|
5249
|
-
strokeDasharray: "stroke-dasharray",
|
|
5250
|
-
strokeDashoffset: "stroke-dashoffset",
|
|
5251
|
-
strokeLinecap: "stroke-linecap",
|
|
5252
|
-
strokeLinejoin: "stroke-linejoin",
|
|
5253
|
-
strokeMiterlimit: "stroke-miterlimit",
|
|
5254
|
-
strokeOpacity: "stroke-opacity",
|
|
5255
|
-
strokeWidth: "stroke-width",
|
|
5256
|
-
tableLayout: "table-layout",
|
|
5257
|
-
textAlign: "text-align",
|
|
5258
|
-
textAlignLast: "text-align-last",
|
|
5259
|
-
textAnchor: "text-anchor",
|
|
5260
|
-
textDecoration: "text-decoration",
|
|
5261
|
-
textIndent: "text-indent",
|
|
5262
|
-
textJustify: "text-justify",
|
|
5263
|
-
textKashida: "text-kashida",
|
|
5264
|
-
textKashidaSpace: "text-kashida-space",
|
|
5265
|
-
textOverflow: "text-overflow",
|
|
5266
|
-
textShadow: "text-shadow",
|
|
5267
|
-
textTransform: "text-transform",
|
|
5268
|
-
textUnderlinePosition: "text-underline-position",
|
|
5269
|
-
top: "top",
|
|
5270
|
-
touchAction: "touch-action",
|
|
5271
|
-
transform: "transform",
|
|
5272
|
-
transformOrigin: "transform-origin",
|
|
5273
|
-
transformStyle: "transform-style",
|
|
5274
|
-
transition: "transition",
|
|
5275
|
-
transitionDelay: "transition-delay",
|
|
5276
|
-
transitionDuration: "transition-duration",
|
|
5277
|
-
transitionProperty: "transition-property",
|
|
5278
|
-
transitionTimingFunction: "transition-timing-function",
|
|
5279
|
-
translate: "translate",
|
|
5280
|
-
unicodeBidi: "unicode-bidi",
|
|
5281
|
-
verticalAlign: "vertical-align",
|
|
5282
|
-
visibility: "visibility",
|
|
5283
|
-
webkitAlignContent: "-webkit-align-content",
|
|
5284
|
-
webkitAlignItems: "-webkit-align-items",
|
|
5285
|
-
webkitAlignSelf: "-webkit-align-self",
|
|
5286
|
-
webkitAnimation: "-webkit-animation",
|
|
5287
|
-
webkitAnimationDelay: "-webkit-animation-delay",
|
|
5288
|
-
webkitAnimationDirection: "-webkit-animation-direction",
|
|
5289
|
-
webkitAnimationDuration: "-webkit-animation-duration",
|
|
5290
|
-
webkitAnimationFillMode: "-webkit-animation-fill-mode",
|
|
5291
|
-
webkitAnimationIterationCount: "-webkit-animation-iteration-count",
|
|
5292
|
-
webkitAnimationName: "-webkit-animation-name",
|
|
5293
|
-
webkitAnimationPlayState: "-webkit-animation-play-state",
|
|
5294
|
-
webkitAnimationTimingFunction: "-webkit-animation-timing-funciton",
|
|
5295
|
-
webkitAppearance: "-webkit-appearance",
|
|
5296
|
-
webkitBackfaceVisibility: "-webkit-backface-visibility",
|
|
5297
|
-
webkitBackgroundClip: "-webkit-background-clip",
|
|
5298
|
-
webkitBackgroundOrigin: "-webkit-background-origin",
|
|
5299
|
-
webkitBackgroundSize: "-webkit-background-size",
|
|
5300
|
-
webkitBorderBottomLeftRadius: "-webkit-border-bottom-left-radius",
|
|
5301
|
-
webkitBorderBottomRightRadius: "-webkit-border-bottom-right-radius",
|
|
5302
|
-
webkitBorderImage: "-webkit-border-image",
|
|
5303
|
-
webkitBorderRadius: "-webkit-border-radius",
|
|
5304
|
-
webkitBorderTopLeftRadius: "-webkit-border-top-left-radius",
|
|
5305
|
-
webkitBorderTopRightRadius: "-webkit-border-top-right-radius",
|
|
5306
|
-
webkitBoxAlign: "-webkit-box-align",
|
|
5307
|
-
webkitBoxDirection: "-webkit-box-direction",
|
|
5308
|
-
webkitBoxFlex: "-webkit-box-flex",
|
|
5309
|
-
webkitBoxOrdinalGroup: "-webkit-box-ordinal-group",
|
|
5310
|
-
webkitBoxOrient: "-webkit-box-orient",
|
|
5311
|
-
webkitBoxPack: "-webkit-box-pack",
|
|
5312
|
-
webkitBoxSizing: "-webkit-box-sizing",
|
|
5313
|
-
webkitColumnBreakAfter: "-webkit-column-break-after",
|
|
5314
|
-
webkitColumnBreakBefore: "-webkit-column-break-before",
|
|
5315
|
-
webkitColumnBreakInside: "-webkit-column-break-inside",
|
|
5316
|
-
webkitColumnCount: "-webkit-column-count",
|
|
5317
|
-
webkitColumnGap: "-webkit-column-gap",
|
|
5318
|
-
webkitColumnRule: "-webkit-column-rule",
|
|
5319
|
-
webkitColumnRuleColor: "-webkit-column-rule-color",
|
|
5320
|
-
webkitColumnRuleStyle: "-webkit-column-rule-style",
|
|
5321
|
-
webkitColumnRuleWidth: "-webkit-column-rule-width",
|
|
5322
|
-
webkitColumns: "-webkit-columns",
|
|
5323
|
-
webkitColumnSpan: "-webkit-column-span",
|
|
5324
|
-
webkitColumnWidth: "-webkit-column-width",
|
|
5325
|
-
webkitFilter: "-webkit-filter",
|
|
5326
|
-
webkitFlex: "-webkit-flex",
|
|
5327
|
-
webkitFlexBasis: "-webkit-flex-basis",
|
|
5328
|
-
webkitFlexDirection: "-webkit-flex-direction",
|
|
5329
|
-
webkitFlexFlow: "-webkit-flex-flow",
|
|
5330
|
-
webkitFlexGrow: "-webkit-flex-grow",
|
|
5331
|
-
webkitFlexShrink: "-webkit-flex-shrink",
|
|
5332
|
-
webkitFlexWrap: "-webkit-flex-wrap",
|
|
5333
|
-
webkitJustifyContent: "-webkit-justify-content",
|
|
5334
|
-
webkitOrder: "-webkit-order",
|
|
5335
|
-
webkitPerspective: "-webkit-perspective-origin",
|
|
5336
|
-
webkitPerspectiveOrigin: "-webkit-perspective-origin",
|
|
5337
|
-
webkitTapHighlightColor: "-webkit-tap-highlight-color",
|
|
5338
|
-
webkitTextFillColor: "-webkit-text-fill-color",
|
|
5339
|
-
webkitTextSizeAdjust: "-webkit-text-size-adjust",
|
|
5340
|
-
webkitTextStroke: "-webkit-text-stroke",
|
|
5341
|
-
webkitTextStrokeColor: "-webkit-text-stroke-color",
|
|
5342
|
-
webkitTextStrokeWidth: "-webkit-text-stroke-width",
|
|
5343
|
-
webkitTransform: "-webkit-transform",
|
|
5344
|
-
webkitTransformOrigin: "-webkit-transform-origin",
|
|
5345
|
-
webkitTransformStyle: "-webkit-transform-style",
|
|
5346
|
-
webkitTransition: "-webkit-transition",
|
|
5347
|
-
webkitTransitionDelay: "-webkit-transition-delay",
|
|
5348
|
-
webkitTransitionDuration: "-webkit-transition-duration",
|
|
5349
|
-
webkitTransitionProperty: "-webkit-transition-property",
|
|
5350
|
-
webkitTransitionTimingFunction: "-webkit-transition-timing-function",
|
|
5351
|
-
webkitUserModify: "-webkit-user-modify",
|
|
5352
|
-
webkitUserSelect: "-webkit-user-select",
|
|
5353
|
-
webkitWritingMode: "-webkit-writing-mode",
|
|
5354
|
-
whiteSpace: "white-space",
|
|
5355
|
-
widows: "widows",
|
|
5356
|
-
width: "width",
|
|
5357
|
-
wordBreak: "word-break",
|
|
5358
|
-
wordSpacing: "word-spacing",
|
|
5359
|
-
wordWrap: "word-wrap",
|
|
5360
|
-
writingMode: "writing-mode",
|
|
5361
|
-
zIndex: "z-index",
|
|
5362
|
-
zoom: "zoom",
|
|
5363
|
-
resize: "resize",
|
|
5364
|
-
userSelect: "user-select"
|
|
5365
|
-
};
|
|
5366
|
-
for (prop in cssProperties)
|
|
5367
|
-
defineStyleProperty(prop);
|
|
5368
|
-
var prop;
|
|
5369
|
-
function defineStyleProperty(jsname) {
|
|
5370
|
-
var cssname = cssProperties[jsname];
|
|
5371
|
-
Object.defineProperty(CSSStyleDeclaration.prototype, jsname, {
|
|
5372
|
-
get: function() {
|
|
5373
|
-
return this.getPropertyValue(cssname);
|
|
5374
|
-
},
|
|
5375
|
-
set: function(value) {
|
|
5376
|
-
this.setProperty(cssname, value);
|
|
5377
|
-
}
|
|
5378
|
-
});
|
|
5379
|
-
if (!CSSStyleDeclaration.prototype.hasOwnProperty(cssname)) {
|
|
5380
|
-
Object.defineProperty(CSSStyleDeclaration.prototype, cssname, {
|
|
5381
|
-
get: function() {
|
|
5382
|
-
return this.getPropertyValue(cssname);
|
|
5383
|
-
},
|
|
5384
|
-
set: function(value) {
|
|
5385
|
-
this.setProperty(cssname, value);
|
|
5386
|
-
}
|
|
5387
|
-
});
|
|
5388
|
-
}
|
|
5389
|
-
}
|
|
5390
5022
|
}
|
|
5391
5023
|
});
|
|
5392
5024
|
|
|
@@ -5853,8 +5485,15 @@ var require_htmlelts = __commonJS({
|
|
|
5853
5485
|
title: String,
|
|
5854
5486
|
lang: String,
|
|
5855
5487
|
dir: { type: ["ltr", "rtl", "auto"], missing: "" },
|
|
5488
|
+
draggable: { type: ["true", "false"], treatNullAsEmptyString: true },
|
|
5489
|
+
spellcheck: { type: ["true", "false"], missing: "" },
|
|
5490
|
+
enterKeyHint: { type: ["enter", "done", "go", "next", "previous", "search", "send"], missing: "" },
|
|
5491
|
+
autoCapitalize: { type: ["off", "on", "none", "sentences", "words", "characters"], missing: "" },
|
|
5492
|
+
autoFocus: Boolean,
|
|
5856
5493
|
accessKey: String,
|
|
5494
|
+
nonce: String,
|
|
5857
5495
|
hidden: Boolean,
|
|
5496
|
+
translate: { type: ["no", "yes"], missing: "" },
|
|
5858
5497
|
tabIndex: { type: "long", default: function() {
|
|
5859
5498
|
if (this.tagName in focusableElements || this.contentEditable)
|
|
5860
5499
|
return 0;
|
|
@@ -6053,6 +5692,7 @@ var require_htmlelts = __commonJS({
|
|
|
6053
5692
|
autofocus: Boolean,
|
|
6054
5693
|
type: { type: ["submit", "reset", "button", "menu"], missing: "submit" },
|
|
6055
5694
|
formTarget: String,
|
|
5695
|
+
formAction: URL,
|
|
6056
5696
|
formNoValidate: Boolean,
|
|
6057
5697
|
formMethod: { type: ["get", "post", "dialog"], invalid: "get", missing: "" },
|
|
6058
5698
|
formEnctype: { type: ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"], invalid: "application/x-www-form-urlencoded", missing: "" }
|
|
@@ -6188,6 +5828,7 @@ var require_htmlelts = __commonJS({
|
|
|
6188
5828
|
HTMLElement.call(this, doc, localName, prefix);
|
|
6189
5829
|
},
|
|
6190
5830
|
attributes: {
|
|
5831
|
+
xmlns: URL,
|
|
6191
5832
|
version: String
|
|
6192
5833
|
}
|
|
6193
5834
|
});
|
|
@@ -6204,10 +5845,12 @@ var require_htmlelts = __commonJS({
|
|
|
6204
5845
|
width: String,
|
|
6205
5846
|
height: String,
|
|
6206
5847
|
seamless: Boolean,
|
|
5848
|
+
allow: Boolean,
|
|
6207
5849
|
allowFullscreen: Boolean,
|
|
6208
5850
|
allowUserMedia: Boolean,
|
|
6209
5851
|
allowPaymentRequest: Boolean,
|
|
6210
5852
|
referrerPolicy: REFERRER,
|
|
5853
|
+
loading: { type: ["eager", "lazy"], treatNullAsEmptyString: true },
|
|
6211
5854
|
align: String,
|
|
6212
5855
|
scrolling: String,
|
|
6213
5856
|
frameBorder: String,
|
|
@@ -6229,9 +5872,11 @@ var require_htmlelts = __commonJS({
|
|
|
6229
5872
|
crossOrigin: CORS,
|
|
6230
5873
|
useMap: String,
|
|
6231
5874
|
isMap: Boolean,
|
|
5875
|
+
sizes: String,
|
|
6232
5876
|
height: { type: "unsigned long", default: 0 },
|
|
6233
5877
|
width: { type: "unsigned long", default: 0 },
|
|
6234
5878
|
referrerPolicy: REFERRER,
|
|
5879
|
+
loading: { type: ["eager", "lazy"], missing: "" },
|
|
6235
5880
|
name: String,
|
|
6236
5881
|
lowsrc: URL,
|
|
6237
5882
|
align: String,
|
|
@@ -6387,6 +6032,8 @@ var require_htmlelts = __commonJS({
|
|
|
6387
6032
|
nonce: String,
|
|
6388
6033
|
integrity: String,
|
|
6389
6034
|
referrerPolicy: REFERRER,
|
|
6035
|
+
imageSizes: String,
|
|
6036
|
+
imageSrcset: String,
|
|
6390
6037
|
charset: String,
|
|
6391
6038
|
rev: String,
|
|
6392
6039
|
target: String
|
|
@@ -6647,8 +6294,10 @@ var require_htmlelts = __commonJS({
|
|
|
6647
6294
|
src: URL,
|
|
6648
6295
|
type: String,
|
|
6649
6296
|
charset: String,
|
|
6297
|
+
referrerPolicy: REFERRER,
|
|
6650
6298
|
defer: Boolean,
|
|
6651
6299
|
async: Boolean,
|
|
6300
|
+
nomodule: Boolean,
|
|
6652
6301
|
crossOrigin: CORS,
|
|
6653
6302
|
nonce: String,
|
|
6654
6303
|
integrity: String
|
|
@@ -6676,18 +6325,6 @@ var require_htmlelts = __commonJS({
|
|
|
6676
6325
|
size: { type: "unsigned long", default: 0 }
|
|
6677
6326
|
}
|
|
6678
6327
|
});
|
|
6679
|
-
define({
|
|
6680
|
-
tag: "source",
|
|
6681
|
-
name: "HTMLSourceElement",
|
|
6682
|
-
ctor: function HTMLSourceElement(doc, localName, prefix) {
|
|
6683
|
-
HTMLElement.call(this, doc, localName, prefix);
|
|
6684
|
-
},
|
|
6685
|
-
attributes: {
|
|
6686
|
-
src: URL,
|
|
6687
|
-
type: String,
|
|
6688
|
-
media: String
|
|
6689
|
-
}
|
|
6690
|
-
});
|
|
6691
6328
|
define({
|
|
6692
6329
|
tag: "span",
|
|
6693
6330
|
name: "HTMLSpanElement",
|
|
@@ -7063,7 +6700,9 @@ var require_htmlelts = __commonJS({
|
|
|
7063
6700
|
sizes: String,
|
|
7064
6701
|
media: String,
|
|
7065
6702
|
src: URL,
|
|
7066
|
-
type: String
|
|
6703
|
+
type: String,
|
|
6704
|
+
width: String,
|
|
6705
|
+
height: String
|
|
7067
6706
|
}
|
|
7068
6707
|
});
|
|
7069
6708
|
define({
|
|
@@ -7128,6 +6767,7 @@ var require_htmlelts = __commonJS({
|
|
|
7128
6767
|
"bdi",
|
|
7129
6768
|
"bdo",
|
|
7130
6769
|
"cite",
|
|
6770
|
+
"content",
|
|
7131
6771
|
"code",
|
|
7132
6772
|
"dd",
|
|
7133
6773
|
"dfn",
|
package/esm2022/src/http.mjs
CHANGED
|
@@ -13,11 +13,11 @@ class ServerXhr {
|
|
|
13
13
|
build() {
|
|
14
14
|
return new xhr2.XMLHttpRequest();
|
|
15
15
|
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
17
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ServerXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ServerXhr }); }
|
|
18
18
|
}
|
|
19
19
|
export { ServerXhr };
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ServerXhr, decorators: [{
|
|
21
21
|
type: Injectable
|
|
22
22
|
}] });
|
|
23
23
|
export const SERVER_HTTP_PROVIDERS = [
|
package/esm2022/src/location.mjs
CHANGED
|
@@ -105,11 +105,11 @@ class ServerPlatformLocation {
|
|
|
105
105
|
getState() {
|
|
106
106
|
return undefined;
|
|
107
107
|
}
|
|
108
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
109
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
108
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ServerPlatformLocation, deps: [{ token: DOCUMENT }, { token: INITIAL_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
109
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ServerPlatformLocation }); }
|
|
110
110
|
}
|
|
111
111
|
export { ServerPlatformLocation };
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ServerPlatformLocation, decorators: [{
|
|
113
113
|
type: Injectable
|
|
114
114
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
115
115
|
type: Inject,
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
8
|
export { PlatformState } from './platform_state';
|
|
9
|
-
export {
|
|
9
|
+
export { provideServerRendering } from './provide_server';
|
|
10
10
|
export { platformDynamicServer, platformServer, ServerModule } from './server';
|
|
11
11
|
export { BEFORE_APP_SERIALIZED, INITIAL_CONFIG } from './tokens';
|
|
12
12
|
export { ServerTransferStateModule } from './transfer_state';
|
|
13
13
|
export { renderApplication, renderModule } from './utils';
|
|
14
14
|
export * from './private_export';
|
|
15
15
|
export { VERSION } from './version';
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGxhdGZvcm0tc2VydmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvcGxhdGZvcm0tc2VydmVyL3NyYy9wbGF0Zm9ybS1zZXJ2ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsT0FBTyxFQUFDLGFBQWEsRUFBQyxNQUFNLGtCQUFrQixDQUFDO0FBQy9DLE9BQU8sRUFBQyxzQkFBc0IsRUFBQyxNQUFNLGtCQUFrQixDQUFDO0FBQ3hELE9BQU8sRUFBQyxxQkFBcUIsRUFBRSxjQUFjLEVBQUUsWUFBWSxFQUFDLE1BQU0sVUFBVSxDQUFDO0FBQzdFLE9BQU8sRUFBQyxxQkFBcUIsRUFBRSxjQUFjLEVBQWlCLE1BQU0sVUFBVSxDQUFDO0FBQy9FLE9BQU8sRUFBQyx5QkFBeUIsRUFBQyxNQUFNLGtCQUFrQixDQUFDO0FBQzNELE9BQU8sRUFBQyxpQkFBaUIsRUFBRSxZQUFZLEVBQUMsTUFBTSxTQUFTLENBQUM7QUFFeEQsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sV0FBVyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCB7UGxhdGZvcm1TdGF0ZX0gZnJvbSAnLi9wbGF0Zm9ybV9zdGF0ZSc7XG5leHBvcnQge3Byb3ZpZGVTZXJ2ZXJSZW5kZXJpbmd9IGZyb20gJy4vcHJvdmlkZV9zZXJ2ZXInO1xuZXhwb3J0IHtwbGF0Zm9ybUR5bmFtaWNTZXJ2ZXIsIHBsYXRmb3JtU2VydmVyLCBTZXJ2ZXJNb2R1bGV9IGZyb20gJy4vc2VydmVyJztcbmV4cG9ydCB7QkVGT1JFX0FQUF9TRVJJQUxJWkVELCBJTklUSUFMX0NPTkZJRywgUGxhdGZvcm1Db25maWd9IGZyb20gJy4vdG9rZW5zJztcbmV4cG9ydCB7U2VydmVyVHJhbnNmZXJTdGF0ZU1vZHVsZX0gZnJvbSAnLi90cmFuc2Zlcl9zdGF0ZSc7XG5leHBvcnQge3JlbmRlckFwcGxpY2F0aW9uLCByZW5kZXJNb2R1bGV9IGZyb20gJy4vdXRpbHMnO1xuXG5leHBvcnQgKiBmcm9tICcuL3ByaXZhdGVfZXhwb3J0JztcbmV4cG9ydCB7VkVSU0lPTn0gZnJvbSAnLi92ZXJzaW9uJztcbiJdfQ==
|
|
@@ -30,11 +30,11 @@ class PlatformState {
|
|
|
30
30
|
getDocument() {
|
|
31
31
|
return this._doc;
|
|
32
32
|
}
|
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
34
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: PlatformState, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
34
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: PlatformState }); }
|
|
35
35
|
}
|
|
36
36
|
export { PlatformState };
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: PlatformState, decorators: [{
|
|
38
38
|
type: Injectable
|
|
39
39
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
40
40
|
type: Inject,
|
|
@@ -7,6 +7,5 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export { setDomTypes as ɵsetDomTypes } from './domino_adapter';
|
|
9
9
|
export { INTERNAL_SERVER_PLATFORM_PROVIDERS as ɵINTERNAL_SERVER_PLATFORM_PROVIDERS, SERVER_RENDER_PROVIDERS as ɵSERVER_RENDER_PROVIDERS } from './server';
|
|
10
|
-
export { ServerRendererFactory2 as ɵServerRendererFactory2 } from './server_renderer';
|
|
11
10
|
export { SERVER_CONTEXT as ɵSERVER_CONTEXT } from './utils';
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpdmF0ZV9leHBvcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9wbGF0Zm9ybS1zZXJ2ZXIvc3JjL3ByaXZhdGVfZXhwb3J0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVILE9BQU8sRUFBQyxXQUFXLElBQUksWUFBWSxFQUFDLE1BQU0sa0JBQWtCLENBQUM7QUFDN0QsT0FBTyxFQUFDLGtDQUFrQyxJQUFJLG1DQUFtQyxFQUFFLHVCQUF1QixJQUFJLHdCQUF3QixFQUFDLE1BQU0sVUFBVSxDQUFDO0FBQ3hKLE9BQU8sRUFBQyxjQUFjLElBQUksZUFBZSxFQUFDLE1BQU0sU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCB7c2V0RG9tVHlwZXMgYXMgybVzZXREb21UeXBlc30gZnJvbSAnLi9kb21pbm9fYWRhcHRlcic7XG5leHBvcnQge0lOVEVSTkFMX1NFUlZFUl9QTEFURk9STV9QUk9WSURFUlMgYXMgybVJTlRFUk5BTF9TRVJWRVJfUExBVEZPUk1fUFJPVklERVJTLCBTRVJWRVJfUkVOREVSX1BST1ZJREVSUyBhcyDJtVNFUlZFUl9SRU5ERVJfUFJPVklERVJTfSBmcm9tICcuL3NlcnZlcic7XG5leHBvcnQge1NFUlZFUl9DT05URVhUIGFzIMm1U0VSVkVSX0NPTlRFWFR9IGZyb20gJy4vdXRpbHMnO1xuIl19
|
|
@@ -17,18 +17,18 @@ import { PLATFORM_SERVER_PROVIDERS } from './server';
|
|
|
17
17
|
* Basic example of how you can add server support to your application:
|
|
18
18
|
* ```ts
|
|
19
19
|
* bootstrapApplication(AppComponent, {
|
|
20
|
-
* providers: [
|
|
20
|
+
* providers: [provideServerRendering()]
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
24
24
|
* @publicApi
|
|
25
25
|
* @returns A set of providers to setup the server.
|
|
26
26
|
*/
|
|
27
|
-
export function
|
|
27
|
+
export function provideServerRendering() {
|
|
28
28
|
return makeEnvironmentProviders([
|
|
29
29
|
provideHttpClient(withInterceptorsFromDi()),
|
|
30
30
|
provideNoopAnimations(),
|
|
31
31
|
...PLATFORM_SERVER_PROVIDERS,
|
|
32
32
|
]);
|
|
33
33
|
}
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZV9zZXJ2ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9wbGF0Zm9ybS1zZXJ2ZXIvc3JjL3Byb3ZpZGVfc2VydmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVILE9BQU8sRUFBQyxpQkFBaUIsRUFBRSxzQkFBc0IsRUFBQyxNQUFNLHNCQUFzQixDQUFDO0FBQy9FLE9BQU8sRUFBdUIsd0JBQXdCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDN0UsT0FBTyxFQUFDLHFCQUFxQixFQUFDLE1BQU0sc0NBQXNDLENBQUM7QUFFM0UsT0FBTyxFQUFDLHlCQUF5QixFQUFDLE1BQU0sVUFBVSxDQUFDO0FBRW5EOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBQ0gsTUFBTSxVQUFVLHNCQUFzQjtJQUNwQyxPQUFPLHdCQUF3QixDQUFDO1FBQzlCLGlCQUFpQixDQUFDLHNCQUFzQixFQUFFLENBQUM7UUFDM0MscUJBQXFCLEVBQUU7UUFDdkIsR0FBRyx5QkFBeUI7S0FDN0IsQ0FBQyxDQUFDO0FBQ0wsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgTExDIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuXG5pbXBvcnQge3Byb3ZpZGVIdHRwQ2xpZW50LCB3aXRoSW50ZXJjZXB0b3JzRnJvbURpfSBmcm9tICdAYW5ndWxhci9jb21tb24vaHR0cCc7XG5pbXBvcnQge0Vudmlyb25tZW50UHJvdmlkZXJzLCBtYWtlRW52aXJvbm1lbnRQcm92aWRlcnN9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtwcm92aWRlTm9vcEFuaW1hdGlvbnN9IGZyb20gJ0Bhbmd1bGFyL3BsYXRmb3JtLWJyb3dzZXIvYW5pbWF0aW9ucyc7XG5cbmltcG9ydCB7UExBVEZPUk1fU0VSVkVSX1BST1ZJREVSU30gZnJvbSAnLi9zZXJ2ZXInO1xuXG4vKipcbiAqIFNldHMgdXAgcHJvdmlkZXJzIG5lY2Vzc2FyeSB0byBlbmFibGUgc2VydmVyIHJlbmRlcmluZyBmdW5jdGlvbmFsaXR5IGZvciB0aGUgYXBwbGljYXRpb24uXG4gKlxuICogQHVzYWdlTm90ZXNcbiAqXG4gKiBCYXNpYyBleGFtcGxlIG9mIGhvdyB5b3UgY2FuIGFkZCBzZXJ2ZXIgc3VwcG9ydCB0byB5b3VyIGFwcGxpY2F0aW9uOlxuICogYGBgdHNcbiAqIGJvb3RzdHJhcEFwcGxpY2F0aW9uKEFwcENvbXBvbmVudCwge1xuICogICBwcm92aWRlcnM6IFtwcm92aWRlU2VydmVyUmVuZGVyaW5nKCldXG4gKiB9KTtcbiAqIGBgYFxuICpcbiAqIEBwdWJsaWNBcGlcbiAqIEByZXR1cm5zIEEgc2V0IG9mIHByb3ZpZGVycyB0byBzZXR1cCB0aGUgc2VydmVyLlxuICovXG5leHBvcnQgZnVuY3Rpb24gcHJvdmlkZVNlcnZlclJlbmRlcmluZygpOiBFbnZpcm9ubWVudFByb3ZpZGVycyB7XG4gIHJldHVybiBtYWtlRW52aXJvbm1lbnRQcm92aWRlcnMoW1xuICAgIHByb3ZpZGVIdHRwQ2xpZW50KHdpdGhJbnRlcmNlcHRvcnNGcm9tRGkoKSksXG4gICAgcHJvdmlkZU5vb3BBbmltYXRpb25zKCksXG4gICAgLi4uUExBVEZPUk1fU0VSVkVSX1BST1ZJREVSUyxcbiAgXSk7XG59XG4iXX0=
|