Skip to content

Commit 3d5ea12

Browse files
committed
2 parents 99f9808 + 2946acc commit 3d5ea12

File tree

9 files changed

+1112
-2811
lines changed

9 files changed

+1112
-2811
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Build.Node.js CI
5+
6+
on:
7+
push:
8+
branches: [ "master" ]
9+
pull_request:
10+
branches: [ "master" ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
matrix:
19+
node-version: [12.x, 14.x, 16.x, 18.x]
20+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21+
22+
steps:
23+
- uses: actions/checkout@v3
24+
- name: Use Node.js ${{ matrix.node-version }}
25+
uses: actions/setup-node@v3
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
cache: 'npm'
29+
- run: npm ci
30+
- run: npm run build --if-present
31+
- run: npm test --if-present

CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,52 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [1.9.50](https://github.com/surveyjs/custom-widgets/compare/v1.9.49...v1.9.50) (2022-09-20)
6+
7+
### [1.9.49](https://github.com/surveyjs/custom-widgets/compare/v1.9.48...v1.9.49) (2022-09-15)
8+
9+
### [1.9.48](https://github.com/surveyjs/custom-widgets/compare/v1.9.47...v1.9.48) (2022-09-07)
10+
11+
### [1.9.47](https://github.com/surveyjs/custom-widgets/compare/v1.9.46...v1.9.47) (2022-08-31)
12+
13+
### [1.9.46](https://github.com/surveyjs/custom-widgets/compare/v1.9.45...v1.9.46) (2022-08-23)
14+
15+
### [1.9.45](https://github.com/surveyjs/custom-widgets/compare/v1.9.44...v1.9.45) (2022-08-16)
16+
17+
### [1.9.44](https://github.com/surveyjs/custom-widgets/compare/v1.9.43...v1.9.44) (2022-08-09)
18+
19+
### [1.9.43](https://github.com/surveyjs/custom-widgets/compare/v1.9.42...v1.9.43) (2022-08-03)
20+
21+
### [1.9.42](https://github.com/surveyjs/custom-widgets/compare/v1.9.41...v1.9.42) (2022-07-27)
22+
23+
### [1.9.41](https://github.com/surveyjs/custom-widgets/compare/v1.9.40...v1.9.41) (2022-07-20)
24+
25+
### [1.9.40](https://github.com/surveyjs/custom-widgets/compare/v1.9.39...v1.9.40) (2022-07-12)
26+
27+
### [1.9.39](https://github.com/surveyjs/custom-widgets/compare/v1.9.38...v1.9.39) (2022-07-05)
28+
29+
### [1.9.38](https://github.com/surveyjs/custom-widgets/compare/v1.9.37...v1.9.38) (2022-06-29)
30+
31+
### [1.9.37](https://github.com/surveyjs/custom-widgets/compare/v1.9.36...v1.9.37) (2022-06-22)
32+
33+
### [1.9.36](https://github.com/surveyjs/custom-widgets/compare/v1.9.35...v1.9.36) (2022-06-21)
34+
35+
### [1.9.35](https://github.com/surveyjs/custom-widgets/compare/v1.9.34...v1.9.35) (2022-06-14)
36+
37+
### [1.9.34](https://github.com/surveyjs/custom-widgets/compare/v1.9.33...v1.9.34) (2022-06-07)
38+
39+
### [1.9.33](https://github.com/surveyjs/custom-widgets/compare/v1.9.32...v1.9.33) (2022-05-31)
40+
41+
### [1.9.32](https://github.com/surveyjs/custom-widgets/compare/v1.9.31...v1.9.32) (2022-05-24)
42+
43+
### [1.9.31](https://github.com/surveyjs/custom-widgets/compare/v1.9.30...v1.9.31) (2022-05-18)
44+
45+
### [1.9.30](https://github.com/surveyjs/custom-widgets/compare/v1.9.29...v1.9.30) (2022-05-17)
46+
47+
### [1.9.29](https://github.com/surveyjs/custom-widgets/compare/v1.9.28...v1.9.29) (2022-05-11)
48+
49+
### [1.9.28](https://github.com/surveyjs/custom-widgets/compare/v1.9.27...v1.9.28) (2022-05-04)
50+
551
### [1.9.27](https://github.com/surveyjs/custom-widgets/compare/v1.9.26...v1.9.27) (2022-04-27)
652

753
### [1.9.26](https://github.com/surveyjs/custom-widgets/compare/v1.9.25...v1.9.26) (2022-04-19)

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
## Widgets
2+
[![Build.Node.js CI](https://github.com/surveyjs/custom-widgets/actions/workflows/build.node.js.yml/badge.svg)](https://github.com/surveyjs/custom-widgets/actions/workflows/build.node.js.yml)
3+
24
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE)
35

46
- select2: [site](https://select2.org/), [repo](https://github.com/select2/select2), license: MIT
@@ -78,9 +80,9 @@ To build library yourself:
7880
7981
4. **Add your own custom widget**
8082
81-
Please go to [this plunker](https://plnkr.co/edit/HdnYE5?p=preview) and select customwidget.js to review the code and comments.
83+
Please go to [this plunker](https://plnkr.co/edit/dL5LwrEmGZsCfsPW) and select `customwidget.js` to review the code and comments.
8284
83-
The [same plunker example](https://plnkr.co/edit/fUTjd8JcTFLxtr2tkTJf?p=preview), but for Survey Creator / Form Builder
85+
The [same plunker example](https://plnkr.co/edit/8092Z3gQseG32fOA), but for Survey Creator / Form Builder
8486
8587
## License
8688

examples/angular/index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<head>
55
<title>Welcome to Angular</title>
6-
<script src="https://npmcdn.com/core-js/client/shim.min.js"></script>
6+
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.14/es5-shim.min.js"></script>
77
<script src="https://npmcdn.com/[email protected]?main=browser"></script>
88
<script src="https://npmcdn.com/[email protected]"></script>
99
<script src="https://npmcdn.com/[email protected]/bundles/Rx.umd.js"></script>
@@ -16,6 +16,7 @@
1616

1717
<script src="https://unpkg.com/jquery"></script>
1818
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/bootstrap.min.css">
19+
<link href="https://unpkg.com/survey-core/defaultV2.min.css" type="text/css" rel="stylesheet">
1920

2021
<!-- custom widgets -->
2122
<!-- select2 -->
@@ -38,9 +39,7 @@
3839
<script src="https://unpkg.com/easy-autocomplete"></script>
3940
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/easy-autocomplete.css">
4041
<!-- eo custom widgets-->
41-
42-
<script src="https://unpkg.com/survey-angular"></script>
43-
<!-- <script src="http://127.0.0.1:8080/packages/survey-angular/survey.angular.js"></script> -->
42+
<script src="https://unpkg.com/survey-angular"></script>
4443

4544
<script src="../../package/surveyjs-widgets.js"></script>
4645
</head>

examples/angular/index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
function init() {
22
var json = { questions: [
3-
{ type: "dropdown", renderAs: "select2", choicesByUrl: { url: "https://restcountries.eu/rest/v1/all" }, name: "countries", title: "Please select the country you have arrived from:"}
3+
{ type: "dropdown", renderAs: "select2", choicesByUrl: { url: "https://surveyjs.io/api/CountriesExample" }, name: "countries", title: "Please select the country you have arrived from:"}
44
]};
5-
6-
Survey.defaultBootstrapCss.navigationButton = "btn btn-primary";
7-
Survey.Survey.cssType = "bootstrap";
5+
Survey.defaultBootstrapCss.navigationButton = "btn btn-primary";
6+
Survey.StylesManager.applyTheme("defaultV2");
87

98
var model = new Survey.Model(json);
109
window.survey = model;

examples/jquery/index.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<!DOCTYPE html>
22
<html>
3-
43
<head>
54
<title>Welcome to JQuery</title>
65
<script src="https://unpkg.com/jquery"></script>
@@ -28,9 +27,7 @@
2827
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/easy-autocomplete.css">
2928
<!-- eo custom widgets-->
3029

31-
<script src="https://unpkg.com/survey-jquery"></script>
32-
<!-- <script src="http://127.0.0.1:7777/packages/survey-jquery/survey.jquery.js"></script> -->
33-
30+
<script src="https://unpkg.com/survey-jquery"></script>
3431
<script src="../../package/surveyjs-widgets.js"></script>
3532
</head>
3633

0 commit comments

Comments
 (0)