survey-creator-core 1.9.74 → 1.9.76
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/README.md +32 -5
- package/package.json +2 -2
- package/survey-creator-core.css +6 -3
- package/survey-creator-core.d.ts +18 -2
- package/survey-creator-core.fontless.css +5 -2
- package/survey-creator-core.fontless.min.css +2 -2
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +93 -40
- package/survey-creator-core.min.css +3 -3
- package/survey-creator-core.min.js +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.76
|
|
3
3
|
* (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -46,7 +46,7 @@ svc-question{display:block;position:absolute;top:1px;left:1px;right:1px;bottom:1
|
|
|
46
46
|
|
|
47
47
|
.svc-rating-question-controls{position:absolute}.svc-question__content--selected-no-border .svc-rating-question-controls.svc-item-value-controls{display:flex}.svc-question__content--selected .svc-rating-question-controls.svc-item-value-controls{display:flex}.svc-question__content .sd-rating{margin-inline-start:calc(9 * var(--base-unit, 8px));width:calc(100% - 9 * var(--base-unit, 8px))}.svc-question__content .svc-rating-question-controls{display:flex;width:calc(8 * var(--base-unit, 8px));min-width:auto;justify-content:flex-start}
|
|
48
48
|
|
|
49
|
-
.svc-item-value-wrapper{position:relative;display:flex;gap:calc(1 * var(--base-unit, 8px));align-items:center;margin-left:calc(-5 * var(--base-unit, 8px));min-width:calc(27 * var(--base-unit, 8px))}.svc-question__dropdown-choice .svc-item-value-wrapper,.sd-selectbase .svc-item-value-wrapper{align-items:flex-start}.svc-question__content .sd-selectbase__column:not(.sd-imagepicker__column):not(:first-of-type){margin-left:calc(5 * var(--base-unit, 8px))}.svc-question__content .sd-selectbase__column:not(:last-child){padding-right:0}.svc-item-value--dragging{background:var(--background, #fff);box-shadow:0px calc(1 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) rgba(0,0,0,0.1);border-radius:calc(12.5 * var(--base-unit, 8px));padding-right:calc(3 * var(--base-unit, 8px));padding-left:calc(.5 * var(--base-unit, 8px));-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.svc-item-value-controls{display:flex;margin:calc(1 * var(--base-unit, 8px)) 0;height:calc(4 * var(--base-unit, 8px));box-sizing:border-box;flex-shrink:0;min-width:72px;justify-content:flex-end}.svc-item-value-controls__button{border-radius:50%;padding:calc(1 * var(--base-unit, 8px));cursor:pointer;display:inline-block;outline:none;height:calc(2 * var(--base-unit, 8px));box-sizing:content-box}.svc-item-value-controls__button .sv-svg-icon{display:block}.svc-item-value-controls__button>span{display:block}.svc-item-value-controls__drag-icon{display:block}.svc-item-value-wrapper:hover:not(.svc-item-value--ghost) .svc-item-value-controls__drag-icon,.svc-item-value-controls__drag:hover:not(.svc-item-value--ghost) .svc-item-value-controls__drag-icon{visibility:visible}.svc-item-value-controls__drag{padding:calc(.5 * var(--base-unit, 8px)) calc(1 * var(--base-unit, 8px));cursor:move;opacity:0.25}.svc-item-value-controls__drag .svc-item-value-controls__drag-icon{visibility:hidden}.svc-item-value-controls__drag use{fill:var(--foreground, #161616)}.svc-item-value-controls__remove use{fill:var(--red, #e60a3e)}.svc-item-value-controls__add use{fill:var(--primary, #19b394)}.svc-item-value-controls__add:hover,.svc-item-value-controls__add:focus{background-color:var(--primary-light, rgba(25,179,148,0.1))}.svc-item-value-controls__remove:hover,.svc-item-value-controls__remove:focus{background-color:var(--red-light, rgba(229,10,62,0.1))}.sv-string-editor{cursor:text}.svc-item-value--new .svc-item-value__item .sd-item__control-label,.svc-item-value--new .svc-item-value__item .sv-ranking-item__text{color:var(--foreground-light, #909090)}.svc-item-value--new .svc-item-value__item .sd-item__decorator{opacity:0.35}.svc-item-value--new .sv-ranking-item__index{background:var(--background-for-editors, #f9f9f9)}.sv-ranking .svc-item-value-wrapper{align-items:center}.svc-item-value__item .sv-ranking-item__content{padding-left:0}.svc-item-value__item .sv-ranking-item__icon-container{display:none}.svc-item-value--ghost .svc-item-value__ghost{display:block}.svc-item-value--ghost .svc-item-value-controls{visibility:hidden}.svc-item-value--movedown{transform:translate(0, 0);animation:svdragdropmovedown 0.1s;animation-timing-function:ease-in-out}@keyframes svdragdropmovedown{0%{transform:translate(0, -50px)}100%{transform:translate(0, 0)}}.svc-item-value--moveup{transform:translate(0, 0);animation:svdragdropmoveup 0.1s;animation-timing-function:ease-in-out}@keyframes svdragdropmoveup{0%{transform:translate(0, 50px)}100%{transform:translate(0, 0)}}.svc-item-value__ghost{display:none;background:var(--background-dim, #f3f3f3);border-radius:calc(12.5 * var(--base-unit, 8px));width:calc(25 * var(--base-unit, 8px));height:55px;z-index:11;position:absolute;left:35px}
|
|
49
|
+
.svc-item-value-wrapper{position:relative;display:flex;gap:calc(1 * var(--base-unit, 8px));align-items:center;margin-left:calc(-5 * var(--base-unit, 8px));min-width:calc(27 * var(--base-unit, 8px))}.svc-question__dropdown-choice .svc-item-value-wrapper,.sd-selectbase .svc-item-value-wrapper{align-items:flex-start}.svc-question__content .sd-selectbase__column:not(.sd-imagepicker__column):not(:first-of-type){margin-left:calc(5 * var(--base-unit, 8px))}.svc-question__content .sd-selectbase__column:not(:last-child){padding-right:0}.svc-item-value--dragging{background:var(--background, #fff);box-shadow:0px calc(1 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) rgba(0,0,0,0.1);border-radius:calc(12.5 * var(--base-unit, 8px));padding-right:calc(3 * var(--base-unit, 8px));padding-left:calc(.5 * var(--base-unit, 8px));-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.svc-item-value-controls{display:flex;margin:calc(1 * var(--base-unit, 8px)) 0;height:calc(4 * var(--base-unit, 8px));box-sizing:border-box;flex-shrink:0;min-width:72px;justify-content:flex-end}.svc-item-value-controls__button{border-radius:50%;padding:calc(1 * var(--base-unit, 8px));cursor:pointer;display:inline-block;outline:none;height:calc(2 * var(--base-unit, 8px));box-sizing:content-box}.svc-item-value-controls__button .sv-svg-icon{display:block}.svc-item-value-controls__button>span{display:block}.svc-item-value-controls__drag-icon{display:block}.svc-item-value-wrapper:hover:not(.svc-item-value--ghost) .svc-item-value-controls__drag-icon,.svc-item-value-controls__drag:hover:not(.svc-item-value--ghost) .svc-item-value-controls__drag-icon{visibility:visible}.svc-item-value-controls__drag{padding:calc(.5 * var(--base-unit, 8px)) calc(1 * var(--base-unit, 8px));cursor:move;opacity:0.25}.svc-item-value-controls__drag .svc-item-value-controls__drag-icon{visibility:hidden}.svc-item-value-controls__drag use{fill:var(--foreground, #161616)}.svc-item-value-controls__remove use{fill:var(--red, #e60a3e)}.svc-item-value-controls__add use{fill:var(--primary, #19b394)}.svc-item-value-controls__add:hover,.svc-item-value-controls__add:focus{background-color:var(--primary-light, rgba(25,179,148,0.1))}.svc-item-value-controls__remove:hover,.svc-item-value-controls__remove:focus{background-color:var(--red-light, rgba(229,10,62,0.1))}.sv-string-editor{cursor:text}.svc-item-value--new .svc-item-value__item .sd-item__control-label,.svc-item-value--new .svc-item-value__item .sv-ranking-item__text{color:var(--foreground-light, #909090)}.svc-item-value--new .svc-item-value__item .sd-item__decorator{opacity:0.35}.svc-item-value--new .sv-ranking-item__index{background:var(--background-for-editors, #f9f9f9)}.sv-ranking .svc-item-value-wrapper{align-items:center}.svc-item-value__item .sv-ranking-item__content{padding-left:0}.svc-item-value__item .sv-ranking-item__icon-container{display:none}.svc-item-value__item .sv-ranking-item__text{overflow:visible}.svc-item-value--ghost .svc-item-value__ghost{display:block}.svc-item-value--ghost .svc-item-value-controls{visibility:hidden}.svc-item-value--movedown{transform:translate(0, 0);animation:svdragdropmovedown 0.1s;animation-timing-function:ease-in-out}@keyframes svdragdropmovedown{0%{transform:translate(0, -50px)}100%{transform:translate(0, 0)}}.svc-item-value--moveup{transform:translate(0, 0);animation:svdragdropmoveup 0.1s;animation-timing-function:ease-in-out}@keyframes svdragdropmoveup{0%{transform:translate(0, 50px)}100%{transform:translate(0, 0)}}.svc-item-value__ghost{display:none;background:var(--background-dim, #f3f3f3);border-radius:calc(12.5 * var(--base-unit, 8px));width:calc(25 * var(--base-unit, 8px));height:55px;z-index:11;position:absolute;left:35px}
|
|
50
50
|
|
|
51
51
|
.svc-image-item-value-wrapper{display:inline-block;position:relative}.svc-image-item-value--new{display:none;height:max-content}.svc-image-item-value--new .sd-imagepicker__image{box-sizing:border-box;border:1px dashed var(--border, #d6d6d6)}.svc-image-item-value--file-dragging .sd-imagepicker__image{border:2px solid var(--primary, #19b394);background-color:var(--primary-light, rgba(25,179,148,0.1))}.svc-image-item-value--file-dragging .svc-image-item-value__item{position:relative;z-index:2}.svc-question__content--selected .svc-image-item-value--new{display:inline-block}.svc-image-item-value-controls{position:absolute;top:calc(1 * var(--base-unit, 8px));right:calc(1 * var(--base-unit, 8px))}.svc-image-item-value--new .svc-image-item-value-controls{top:calc(50% - 3 * var(--base-unit, 8px));left:calc(50% - 3 * var(--base-unit, 8px))}.svc-image-item-value-controls{display:flex}.svc-image-item-value-controls__button{display:block;background-color:var(--background, #fff);border-radius:50%;width:calc(6 * var(--base-unit, 8px));height:calc(6 * var(--base-unit, 8px));cursor:pointer;outline:none}.svc-image-item-value-controls__button:not(:last-child){margin-right:calc(1 * var(--base-unit, 8px))}.svc-image-item-value-controls__button .sv-svg-icon{margin-top:calc(50% - 1.5 * var(--base-unit, 8px));margin-left:calc(50% - 1.5 * var(--base-unit, 8px))}.svc-image-item-value-controls__button use{fill:var(--foreground-light, #909090)}.svc-image-item-value--new .svc-image-item-value-controls__button{background-color:transparent}.svc-image-item-value-controls__choose-file:hover use,.svc-image-item-value-controls__choose-file:focus use{fill:var(--primary, #19b394)}.svc-image-item-value-controls__remove:hover use,.svc-image-item-value-controls__remove:focus use{fill:var(--red, #e60a3e)}.svc-image-item-value-controls__add use{fill:var(--primary, #19b394)}.svc-image-item-value-controls__add:hover,.svc-image-item-value-controls__add:focus{background-color:var(--primary-light, rgba(25,179,148,0.1))}.svc-choose-file-input{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden}.svc-image-item-value__item .sd-imagepicker__item.sd-imagepicker__item{width:100%}.svc-question__content--selected .svc-image-item-value-wrapper:hover .svc-image-item-value-controls__drag-area-indicator{display:block}.svc-image-item-value-controls__drag-area-indicator{cursor:move;position:absolute;top:calc(1 * var(--base-unit, 8px));left:calc(1 * var(--base-unit, 8px));display:none}.svc-image-item-value-wrapper--ghost .svc-image-item-value-wrapper__ghost{display:block}.svc-image-item-value-wrapper--ghost .svc-image-item-value-wrapper__content{display:none}.svc-image-item-value-wrapper__ghost{display:none;background:var(--background-dim, #f3f3f3)}.svc-image-item-value--single{width:100%}.svc-image-item-value--single .sd-imagepicker__image{height:calc(30 * var(--base-unit, 8px))}
|
|
52
52
|
|