survey-creator-core 1.9.33 → 1.9.34
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/package.json +1 -1
- package/survey-creator-core.css +2 -6
- package/survey-creator-core.d.ts +20 -4
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +58 -22
- package/survey-creator-core.min.css +2 -2
- package/survey-creator-core.min.js +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.34
|
|
3
3
|
* (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
@font-face{font-family:"Open Sans";font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-UFVZ0b.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:"Open Sans";font-style:normal;font-weight:600;font-stretch:100%;src:local("Open Sans Semibold"),local("OpenSans-Semibold"),url(https://fonts.gstatic.com/s/opensans/v26/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:"Open Sans";font-style:normal;font-weight:700;font-stretch:100%;src:local("Open Sans Bold"),local("OpenSans-Bold"),url(https://fonts.gstatic.com/s/opensans/v26/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}:root{--font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif}svc-tab-test{width:100%;height:100%;background:var(--background-dim, #f3f3f3)}.svc-test-tab__content .svc-plugin-tab__content{overflow-y:auto}.svc-test-tab__content .svc-plugin-tab__content .sv-root-modern .sv-completedpage,.svc-test-tab__content .svc-plugin-tab__content .sv_default_css .sv_completed_page{margin:0;border:0;background-color:var(--background-dim, #f3f3f3)}.svc-test-tab__content .svc-plugin-tab__content .sv_default_css .sv_body{border:0}.svc-test-tab__content .svc-plugin-tab__content .svc-preview__test-again{width:calc(33 * var(--base-unit, 8px));margin-left:auto;margin-right:auto;margin-bottom:72px;margin-top:8px}.svc-creator-tab__content--with-toolbar.svc-test-tab__content .svc-plugin-tab__content{height:calc(100% - calc(6 * var(--base-unit, 8px)))}.svc-test-tab__content-actions{position:relative}.svc-test-tab__content-actions .sv-action-bar{padding:0;height:calc(6 * var(--base-unit, 8px));background:var(--background, #fff);border-top:1px solid var(--border, #d6d6d6);width:100%;position:absolute}.svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages{left:0;right:0;justify-content:center}.svc-test-tab__content-actions .sv-action-bar.sv-action-bar--pages .sv-action:not(:last-child)>.sv-action__content{padding-right:calc(1 * var(--base-unit, 8px))}.svc-test-tab__content-actions .sv-action-bar-item{font-family:var(--font-family);font-style:normal;font-weight:600;font-size:calc(1.5 * var(--base-unit, 8px));line-height:calc(2 * var(--base-unit, 8px));width:100%;height:calc(4 * var(--base-unit, 8px))}.svc-test-tab__content-actions .svc-page-selector{max-width:50%}.svc-test-tab__content-actions .svc-page-selector .sv-action-bar-item__title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--foreground, #161616);display:inline-block}.svc-test-tab__content.svc-creator-tab__content--with-toolbar .sd-body__navigation{padding-bottom:calc(8 * var(--base-unit, 8px))}.svc-test-tab__content .sd-body--empty{font-family:var(--font-family);font-style:normal;font-weight:400;font-size:calc(2 * var(--base-unit, 8px));color:var(--foreground, #161616);width:100%;position:absolute;top:50%;transform:translateY(-50%);text-align:center;overflow:hidden}
|
|
16
16
|
|
|
17
|
-
@font-face{font-family:"Open Sans";font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-UFVZ0b.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:"Open Sans";font-style:normal;font-weight:600;font-stretch:100%;src:local("Open Sans Semibold"),local("OpenSans-Semibold"),url(https://fonts.gstatic.com/s/opensans/v26/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:"Open Sans";font-style:normal;font-weight:700;font-stretch:100%;src:local("Open Sans Bold"),local("OpenSans-Bold"),url(https://fonts.gstatic.com/s/opensans/v26/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}:root{--font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif}.sl-table{width:50%;margin:0 25%}.sl-table__row{position:relative}.sl-table__cell.st-table__cell--actions:first-child .sv-action-bar{margin-top:calc(-.5 * var(--base-unit, 8px));padding-right:calc(4 * var(--base-unit, 8px))}.sl-table .sl-table__detail-button.sl-table__detail-button{width:calc(6 * var(--base-unit, 8px));height:calc(6 * var(--base-unit, 8px));box-sizing:border-box;border-radius:calc(12.5 * var(--base-unit, 8px));padding:0}.sl-table .sl-table__detail-button.sl-table__detail-button:hover,.sl-table .sl-table__detail-button.sl-table__detail-button.sv-focused--by-key{background-color:var(--primary-light, rgba(25,179,148,0.1));outline:none}.sl-table .sl-table__detail-button.sl-table__detail-button:hover use,.sl-table .sl-table__detail-button.sl-table__detail-button.sv-focused--by-key use{fill:var(--primary, #19b394)}.sl-table__remove-button .sv-action-bar-item{border-radius:calc(12.5 * var(--base-unit, 8px));padding:calc(1 * var(--base-unit, 8px));cursor:pointer}.sl-table__remove-button .sv-action-bar-item:hover,.sl-table__remove-button .sv-action-bar-item.sv-focused--by-key{background-color:var(--red-light, rgba(230,10,62,0.1));outline:none}.sl-table__remove-button .sv-action-bar-item:hover use,.sl-table__remove-button .sv-action-bar-item.sv-focused--by-key use{fill:var(--red, #e60a3e)}.sl-table__cell .sv-action-bar-item__icon{display:none}.sl-table__row:hover .sl-table__cell .sv-action-bar-item__icon,.sl-table__cell .sv-action-bar-item.sv-focused--by-key .sv-action-bar-item__icon{display:block}.sl-table__row:hover #remove-row .sv-action-bar-item,.sl-table__row #remove-row:focus-within .sv-action-bar-item{border:none;width:calc(5 * var(--base-unit, 8px));height:calc(5 * var(--base-unit, 8px))}.sl-table__row:hover #remove-row .sv-action-bar-item__icon use,.sl-table__row #remove-row:focus-within .sv-action-bar-item__icon use{fill:var(--red, #e60a3e)}.sl-table__row.sl-table__row--additional .sl-table__cell .svc-action-button{color:var(--secondary, #ff9814)}.sl-table__cell .svc-action-button,.sl-table__cell .svc-action-button:hover,.sl-table__cell .svc-action-button:focus{font-family:var(--font-family);font-style:normal;font-weight:bold;font-size:calc(3 * var(--base-unit, 8px));line-height:calc(4 * var(--base-unit, 8px));background:transparent;color:var(--foreground, #161616);outline:none;border:none;box-shadow:none;max-height:calc(13.5 * var(--base-unit, 8px));overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.sl-table__cell{color:var(--foreground, #161616);font-weight:bold;font-size:calc(2 * var(--base-unit, 8px));font-family:var(--font-family);vertical-align:top;padding:calc(2 * var(--base-unit, 8px)) 0;width:100%}.sl-table__cell--actions{position:absolute;width:max-content}.sl-table__cell--actions:first-child{
|
|
17
|
+
@font-face{font-family:"Open Sans";font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-UFVZ0b.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:"Open Sans";font-style:normal;font-weight:600;font-stretch:100%;src:local("Open Sans Semibold"),local("OpenSans-Semibold"),url(https://fonts.gstatic.com/s/opensans/v26/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:"Open Sans";font-style:normal;font-weight:700;font-stretch:100%;src:local("Open Sans Bold"),local("OpenSans-Bold"),url(https://fonts.gstatic.com/s/opensans/v26/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}:root{--font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif}.sl-table{width:50%;margin:0 25%}.sl-table__row{position:relative}.sl-table__cell.st-table__cell--actions:first-child .sv-action-bar{margin-top:calc(-.5 * var(--base-unit, 8px));padding-right:calc(4 * var(--base-unit, 8px))}.sl-table .sl-table__detail-button.sl-table__detail-button{width:calc(6 * var(--base-unit, 8px));height:calc(6 * var(--base-unit, 8px));box-sizing:border-box;border-radius:calc(12.5 * var(--base-unit, 8px));padding:0}.sl-table .sl-table__detail-button.sl-table__detail-button:hover,.sl-table .sl-table__detail-button.sl-table__detail-button.sv-focused--by-key{background-color:var(--primary-light, rgba(25,179,148,0.1));outline:none}.sl-table .sl-table__detail-button.sl-table__detail-button:hover use,.sl-table .sl-table__detail-button.sl-table__detail-button.sv-focused--by-key use{fill:var(--primary, #19b394)}.sl-table__remove-button .sv-action-bar-item{border-radius:calc(12.5 * var(--base-unit, 8px));padding:calc(1 * var(--base-unit, 8px));cursor:pointer}.sl-table__remove-button .sv-action-bar-item:hover,.sl-table__remove-button .sv-action-bar-item.sv-focused--by-key{background-color:var(--red-light, rgba(230,10,62,0.1));outline:none}.sl-table__remove-button .sv-action-bar-item:hover use,.sl-table__remove-button .sv-action-bar-item.sv-focused--by-key use{fill:var(--red, #e60a3e)}.sl-table__cell .sv-action-bar-item__icon{display:none}.sl-table__row:hover .sl-table__cell .sv-action-bar-item__icon,.sl-table__cell .sv-action-bar-item.sv-focused--by-key .sv-action-bar-item__icon{display:block}.sl-table__row:hover #remove-row .sv-action-bar-item,.sl-table__row #remove-row:focus-within .sv-action-bar-item{border:none;width:calc(5 * var(--base-unit, 8px));height:calc(5 * var(--base-unit, 8px))}.sl-table__row:hover #remove-row .sv-action-bar-item__icon use,.sl-table__row #remove-row:focus-within .sv-action-bar-item__icon use{fill:var(--red, #e60a3e)}.sl-table__row.sl-table__row--additional .sl-table__cell .svc-action-button{color:var(--secondary, #ff9814)}.sl-table__cell .svc-action-button,.sl-table__cell .svc-action-button:hover,.sl-table__cell .svc-action-button:focus{font-family:var(--font-family);font-style:normal;font-weight:bold;font-size:calc(3 * var(--base-unit, 8px));line-height:calc(4 * var(--base-unit, 8px));background:transparent;color:var(--foreground, #161616);outline:none;border:none;box-shadow:none;max-height:calc(13.5 * var(--base-unit, 8px));overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.sl-table__cell{color:var(--foreground, #161616);font-weight:bold;font-size:calc(2 * var(--base-unit, 8px));font-family:var(--font-family);vertical-align:top;padding:calc(2 * var(--base-unit, 8px)) 0;width:100%}.sl-table__cell--actions{position:absolute;width:max-content}.sl-table__cell--actions:first-child{transform:translateX(-100%)}.sl-table__cell--detail-button{overflow:hidden;appearance:none;outline:none;border:none;background-color:transparent}.sl-table{border-collapse:separate;border-spacing:0;table-layout:fixed}.sl-table thead th:first-child{position:absolute;left:0;transform:translateX(-100%)}.sl-table thead th:last-child{position:absolute;right:0;transform:translateX(100%)}.sl-table thead .sl-table__cell.st-table__cell--header{text-align:left}.sl-table tbody tr:last-child .sl-table__cell{padding-bottom:calc(10 * var(--base-unit, 8px))}.sl-table tr:first-child .sl-table__cell{padding-top:calc(4 * var(--base-unit, 8px))}.sl-table td:first-child,.sl-table th:first-child{padding-left:calc(4 * var(--base-unit, 8px))}.sl-table td:first-child .sv-action-bar,.sl-table th:first-child .sv-action-bar{justify-content:flex-end}.sl-table td:last-child,.sl-table th:last-child{padding-right:calc(4 * var(--base-unit, 8px))}.sl-panel .sl-panel__footer{padding:0}.sl-panel .sl-panel__footer .sv-action{width:100%}.sl-panel .sl-panel__footer .sv-action__content{width:100%}.sl-panel .sl-panel__footer button.sl-panel__done-button{width:100%;margin-top:calc(2 * var(--base-unit, 8px));margin-bottom:calc(10 * var(--base-unit, 8px));background-color:var(--green-light, rgba(25,179,148,0.1));color:var(--green, #19b394);font-family:var(--font-family);font-size:calc(2 * var(--base-unit, 8px));border-radius:calc(12.5 * var(--base-unit, 8px));display:flex;align-items:center;vertical-align:baseline;text-align:center;user-select:none}.sl-panel .sl-panel__footer button:hover{background-color:var(--green, #19b394);color:white}.sl-panel .sl-panel__footer .sv-action-bar-item__title{display:flex;align-items:center;flex-grow:1;justify-content:center;font-weight:600}.sl-element .sd-paneldynamic__buttons-container{padding:0}.sl-question{display:flex;align-items:center;margin-top:calc(2 * var(--base-unit, 8px))}.sl-row{display:flex;align-items:flex-start;flex-flow:row wrap}.sl-row--multiple .sl-panel{padding-bottom:0}.sl-question__header--left{margin-right:calc(1 * var(--base-unit, 8px))}.sl-question__title{font-size:calc(2 * var(--base-unit, 8px));line-height:calc(3 * var(--base-unit, 8px));margin:0;font-weight:600}.sl-question__title span+span{display:none}.sl-row--multiple .sl-question{padding-right:calc(1 * var(--base-unit, 8px))}.svc-logic-question-value{padding-right:calc(5 * var(--base-unit, 8px));margin-top:calc(2 * var(--base-unit, 8px))}.svc-logic_trigger-editor{margin-top:calc(2 * var(--base-unit, 8px))}.svc-logic_trigger-editor .svc-logic-question-value{margin-top:0}.sv-popup.sv-property-editor .sl-row{flex-flow:nowrap}.spg-comment.sl-comment{height:calc(17 * var(--base-unit, 8px))}
|
|
18
18
|
|
|
19
19
|
@font-face{font-family:"Open Sans";font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-UFVZ0b.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:"Open Sans";font-style:normal;font-weight:600;font-stretch:100%;src:local("Open Sans Semibold"),local("OpenSans-Semibold"),url(https://fonts.gstatic.com/s/opensans/v26/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:"Open Sans";font-style:normal;font-weight:700;font-stretch:100%;src:local("Open Sans Bold"),local("OpenSans-Bold"),url(https://fonts.gstatic.com/s/opensans/v26/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}:root{--font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif}.svc-tab-translation{width:100%;height:100%;background-color:var(--background-dim, #f3f3f3)}.st-properties .spg-item.spg-selectbase__label:focus-within{outline:1px dotted var(--primary, #19b394)}.st-properties .spg-selectbase__label:focus-within{outline:none}.st-properties .spg-panel__content .spg-row{margin-top:0}.st-no-strings{font-family:var(--font-family);font-style:normal;font-weight:400;font-size:calc(2 * var(--base-unit, 8px));color:var(--foreground, #161616);width:100%;position:absolute;top:50%;transform:translateY(-50%);text-align:center;overflow:hidden}.st-content{display:flex;height:100%}.st-strings{height:calc(100% - calc(6 * var(--base-unit, 8px)));overflow-y:auto;overflow-x:hidden}.st-strings-wrapper{flex-grow:1}.st-property-panel{flex-shrink:0;flex-grow:0;width:450px;border-left:1px solid var(--border, #d6d6d6)}.st-property-panel .spg-panel__content .spg-row{margin-top:0}.st-property-panel .spg-panel__content .spg-row:first-child{margin-top:calc(2 * var(--base-unit, 8px))}.st-strings-header .st-table__cell{background-color:var(--background-dim, #f3f3f3);height:auto}.st-root-modern{width:100%}.st-title.st-panel__title,.st-table__cell.st-table__cell--header{font-family:var(--font-family);font-style:normal;font-weight:600;font-size:calc(1.5 * var(--base-unit, 8px));line-height:calc(2 * var(--base-unit, 8px));color:var(--foreground-light, #909090);text-align:left}.st-title.st-panel__title{height:calc(4 * var(--base-unit, 8px));line-height:calc(4 * var(--base-unit, 8px));padding-left:calc(3 * var(--base-unit, 8px));margin:0;background-color:var(--background-for-editors, #f9f9f9);border-bottom:1px solid var(--border-light, #eaeaea)}.st-table tr{display:flex;align-items:stretch}.st-table__cell{display:block;flex:1 1;box-sizing:border-box;background-color:#fff;border-bottom:1px solid var(--border-light, #eaeaea);padding:calc(1 * var(--base-unit, 8px)) 0}.st-table__cell:first-child{font-family:var(--font-family);font-style:normal;font-weight:600;font-size:calc(2 * var(--base-unit, 8px));line-height:calc(3 * var(--base-unit, 8px));color:var(--foreground, #161616);max-width:300px;padding-right:calc(3 * var(--base-unit, 8px))}.st-table__cell:first-child span{display:inline-block;padding-left:calc(3 * var(--base-unit, 8px))}.st-panel-indent .st-table__cell:first-child span{padding-left:calc(6 * var(--base-unit, 8px))}.st-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}.st-comment{font-family:var(--font-family);font-style:normal;font-size:calc(2 * var(--base-unit, 8px));line-height:calc(3 * var(--base-unit, 8px));display:block;width:calc(100% - 3 * var(--base-unit, 8px));border:unset;outline:none;background-color:#fff;resize:none;padding:0}.sd-translation-line-skeleton{min-height:calc(5 * var(--base-unit, 8px));background-color:var(--background-dim, #f3f3f3)}
|
|
20
20
|
|