-
Notifications
You must be signed in to change notification settings - Fork 823
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '1e9ed297162430566de10c954cf0a7f3218acb13' into issue/74…
…40-WAVE-Alert-Level-A-and-Level-AA---Skipped-heading-level-because-a-survey-title-uses-H5-and-survey-description-uses-H3---The-H4-tag-is-missing
- Loading branch information
Showing
23 changed files
with
110 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -746,6 +746,7 @@ jobs: | |
- checkout: Service | ||
persistCredentials: true | ||
clean: true | ||
fetchDepth: 1 | ||
|
||
- task: NodeTool@0 | ||
inputs: | ||
|
@@ -916,9 +917,9 @@ jobs: | |
$env:GIT_REDIRECT_STDERR = '2>&1' | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "dmitrykurmanov" | ||
git checkout master | ||
git pull origin master | ||
git fetch --tags --force | ||
git fetch origin master --tags --force | ||
git checkout master | ||
git add surveyjs.io/App_Data/DocsLibrary | ||
git commit -m "updated survey-library docs [azurepipelines skip]" | ||
git pull origin master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { SvgRegistry } from "survey-core"; | ||
import { Component, ElementRef, OnInit, ViewChild } from "@angular/core"; | ||
@Component({ | ||
selector: "sv-svg-bundle", | ||
template: "<svg id='sv-icon-holder-global-container' #svgContainer></svg>", | ||
styles: [":host { display: none; }"] | ||
}) | ||
export class SvgBundleComponent implements OnInit { | ||
@ViewChild("svgContainer", { static: true }) svgContainer!: ElementRef<SVGElement>; | ||
ngOnInit(): void { | ||
this.svgContainer.nativeElement.innerHTML = SvgRegistry.iconsRenderedHtml(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<template> | ||
<svg id="sv-icon-holder-global-container" ref="root" v-show="false"></svg> | ||
</template> | ||
<script setup lang="ts"> | ||
import { SvgRegistry } from "survey-core"; | ||
import { onMounted, ref } from "vue"; | ||
const root = ref(); | ||
onMounted(() => { | ||
root.value.innerHTML = SvgRegistry.iconsRenderedHtml(); | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import * as ko from "knockout"; | ||
import { SvgRegistry } from "survey-core"; | ||
|
||
ko.components.register("sv-svg-bundle", { | ||
viewModel: { | ||
createViewModel: (params: any, componentInfo: any) => { | ||
const element = componentInfo.element.querySelector && componentInfo.element.querySelector("svg") || componentInfo.element.nextElementSibling; | ||
element.innerHTML = SvgRegistry.iconsRenderedHtml(); | ||
return params; | ||
} | ||
}, | ||
template: "<svg id='sv-icon-holder-global-container' style=\"display:none\"></svg>" | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
import React from "react"; | ||
import { SvgRegistry } from "survey-core"; | ||
|
||
export class SvgBundleComponent extends React.Component { | ||
private containerRef: React.RefObject<SVGSVGElement>; | ||
|
||
constructor(props: any) { | ||
super(props); | ||
this.containerRef = React.createRef(); | ||
} | ||
componentDidMount() { | ||
if (!!this.containerRef.current) { | ||
this.containerRef.current.innerHTML = SvgRegistry.iconsRenderedHtml(); | ||
} | ||
} | ||
render() { | ||
const svgStyle = { | ||
display: "none" | ||
}; | ||
return <svg style={svgStyle} id="sv-icon-holder-global-container" ref={this.containerRef}></svg>; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<template> | ||
<svg id="sv-icon-holder-global-container" ref="root" v-show="false"></svg> | ||
</template> | ||
<script lang="ts"> | ||
import Vue from "vue"; | ||
import { Component } from "vue-property-decorator"; | ||
import { SvgRegistry } from "survey-core"; | ||
@Component | ||
export class SvgBundle extends Vue { | ||
mounted() { | ||
this.$el.innerHTML = SvgRegistry.iconsRenderedHtml(); | ||
} | ||
} | ||
Vue.component("sv-svg-bundle", SvgBundle); | ||
export default SvgBundle; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters