survey-creator-core 1.9.91 → 1.9.92
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/fonts.fontless.css +1 -1
- package/fonts.fontless.min.css +1 -1
- package/package.json +2 -2
- package/survey-creator-core.css +63 -13
- package/survey-creator-core.fontless.css +62 -12
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +3 -3
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +93 -22
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +4 -4
- package/survey-creator-core.min.js +2 -2
- package/typings/components/action-container-view-model.d.ts +1 -0
- package/typings/components/question.d.ts +8 -1
- package/typings/editorLocalization.d.ts +3 -0
- package/typings/localization/english.d.ts +3 -0
- package/typings/property-grid/index.d.ts +2 -0
- package/typings/property-grid-theme/property-grid.d.ts +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.92
|
|
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
|
|
@@ -42,7 +42,7 @@ svc-page{display:block}.svc-page{margin-top:calc(2 * var(--base-unit, 8px))}.svc
|
|
|
42
42
|
|
|
43
43
|
.svc-row{width:100%;position:relative}.svc-row .sd-row--multiple{padding:calc(1 * var(--base-unit, 8px));gap:calc(1 * var(--base-unit, 8px))}.svc-row .sd-row--multiple .sd-row--multiple{overflow:unset}.sd-panel .svc-row .sd-row--multiple{padding:calc(0 * var(--base-unit, 8px));box-shadow:none;border-radius:0;padding:2px;margin:-2px}.svc-row.svc-row--ghost .svc-question__content{padding:0;border:none;box-shadow:none}.svc-row.svc-row--ghost .sd-row{height:calc(4 * var(--base-unit, 8px))}.svc-row.svc-row--ghost:last-child .sd-row{height:initial;margin-top:calc(2 * var(--base-unit, 8px));margin-bottom:calc(2 * var(--base-unit, 8px))}.svc-row.svc-row--ghost+.svc-row .sd-page__row{margin-top:0}.svc-panel .svc-row.svc-row--ghost.svc-row.svc-row--ghost .sd-row{height:initial;margin-top:calc(2 * var(--base-unit, 8px));margin-bottom:calc(2 * var(--base-unit, 8px))}.svc-row--drag-over-top:before{content:" ";position:absolute;left:0;background:var(--secondary, #ff9814);top:6px;width:100%;height:4px}.svc-row--drag-over-bottom:after{content:" ";position:absolute;left:0;background:var(--secondary, #ff9814);bottom:-10px;width:100%;height:4px}.svc-question__content--panel .svc-row--drag-over-top:before,.sd-panel__content .svc-row--drag-over-top:before{top:-6px}.svc-question__content--panel .svc-row--drag-over-bottom:after,.sd-panel__content .svc-row--drag-over-bottom:after{bottom:-6px}
|
|
44
44
|
|
|
45
|
-
svc-question{display:block;position:absolute;top:1px;left:1px;right:1px;bottom:1px}.svc-question__adorner{position:relative;height:100%;width:100%}.svc-question__adorner .sv-action-bar{overflow:visible}.svc-question__adorner .sv-action-bar .sv-action:not(:first-child) .sv-action-bar-item{border:none}.svc-question__adorner .sv-action-bar .sv-action:not(:first-child) .sv-action-bar-item:active{opacity:0.5;background-color:var(--background-dim, #f3f3f3)}.svc-question__content{display:flex;flex-direction:column;align-items:flex-start;position:relative;width:100%;height:100%;border-radius:calc(.5 * var(--base-unit, 8px));box-sizing:border-box;padding:calc(4 * var(--base-unit, 8px)) calc(5 * var(--base-unit, 8px)) calc(8 * var(--base-unit, 8px));background:var(--background, #fff);box-shadow:0px 1px 2px rgba(0,0,0,0.15);border:2px solid transparent;outline:none}.svc-question__content .sd-element__header .sd-description{margin-top:0}.svc-question__content .sd-selectbase:not(.sd-imagepicker){overflow-x:auto;padding-left:calc(5 * var(--base-unit, 8px));margin-left:calc(-5 * var(--base-unit, 8px))}.svc-question__content .sd-table .sd-selectbase:not(.sd-imagepicker){overflow-x:visible;padding-left:0;margin-left:0}.svc-question__content .sd-multipletext__item-title{color:var(--foreground, #161616)}.svc-question__content .sd-multipletext__item-container.sd-input:focus-within{box-shadow:inset 0px 1px 2px rgba(0,0,0,0.15)}.svc-question__content .sd-matrixdynamic__btn.sd-matrixdynamic__add-btn{color:var(--foreground, #161616);opacity:0.25}.svc-question__content>div{overflow:visible}.svc-panel__placeholder{color:var(--foreground-light, #909090)}.svc-question__content-actions{position:absolute;display:none;bottom:calc(2 * var(--base-unit, 8px));inset-inline-start:calc(4 * var(--base-unit, 8px));inset-inline-end:calc(3.5 * var(--base-unit, 8px))}.svc-question__content-actions .sv-action--convertTo{min-width:calc(13 * var(--base-unit, 8px));max-width:max-content}.svc-question__content-actions .sv-action--convertTo .sv-action-bar-item{max-width:100%;flex-direction:row-reverse}.svc-question__content-actions .sv-action--convertTo .sv-action-bar-item__title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:inline-block;justify-content:left}.svc-question__content-actions .sv-action--convertTo .sv-action-bar-item__title--with-icon{margin-inline-start:0;margin-inline-end:calc(.5 * var(--base-unit, 8px))}.svc-question__content-actions .sv-action--convertTo.sv-action--hidden{min-width:0}.svc-question__content-actions .sv-action--convertTo-last{margin-inline-end:auto}.svc-question__content:focus,.svc-creator .svc-page .svc-hovered>.svc-question__content{box-shadow:0 0 0 2px var(--secondary-light, rgba(255,152,20,0.25))}.svc-creator .svc-page .svc-question__content--selected:not(.svc-question__content--dragged).svc-question__content--selected,.svc-creator:not(.svc-creator--mobile) .svc-page .svc-hovered>.svc-question__content:not(.svc-question__content--dragged).svc-question__content--selected{box-shadow:0 0 0 2px var(--secondary, #ff9814)}.svc-creator .svc-page .svc-question__content--selected:not(.svc-question__content--dragged)>.svc-question__content-actions,.svc-creator:not(.svc-creator--mobile) .svc-page .svc-hovered>.svc-question__content:not(.svc-question__content--dragged)>.svc-question__content-actions{display:block}.svc-question__content--dragged{background:var(--background-for-editors, #f9f9f9)}.svc-question__content--dragged .sd-question__title{color:var(--foreground-light, #909090)}.svc-question__content--dragged.svc-question__content--selected .svc-question__content-actions{display:none}.svc-question__content .sd-question.sd-question--table{margin-top:calc(-1 * var(--base-unit, 8px));padding-top:calc(1 * var(--base-unit, 8px))}.svc-dragged-element-shortcut{min-width:100px;height:calc(3 * var(--base-unit, 8px));border-radius:calc(12.5 * var(--base-unit, 8px));background-color:var(--background, #fff);color:var(--foreground, #161616);padding:calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px));cursor:grabbing;position:absolute;z-index:1000;box-shadow:0px 8px 16px rgba(0,0,0,0.1);-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;max-width:500px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.svc-dragged-element-shortcut .sv-svg-icon use{fill:var(--primary, #19b394)}.svc-dragged-element-shortcut--selected{border:2px solid var(--secondary, #ff9814)}.svc-dragged-element-shortcut__text{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));margin-left:calc(4 * var(--base-unit, 8px));line-height:calc(3 * var(--base-unit, 8px))}.svc-dragged-element-shortcut__icon{position:absolute;width:calc(3 * var(--base-unit, 8px));height:calc(3 * var(--base-unit, 8px))}.svc-question__content--drag-over-inside .svc-panel__placeholder_frame,.svc-hovered>.svc-question__content--drag-over-inside .svc-panel__placeholder_frame{box-shadow:0 0 0 2px var(--primary, #19b394);background:var(--primary-light, rgba(25,179,148,0.1))}.svc-question__content--drag-over-inside .svc-panel__placeholder_frame>.svc-question__content-actions,.svc-hovered>.svc-question__content--drag-over-inside .svc-panel__placeholder_frame>.svc-question__content-actions{display:block}.svc-question__content--drag-over-left:before{content:" ";position:absolute;left:-7px;background:var(--secondary, #ff9814);top:0;height:100%;width:4px}.svc-question__content--drag-over-right:after{content:" ";position:absolute;right:-7px;background:var(--secondary, #ff9814);top:0;height:100%;width:4px}.svc-question__content--drag-over-top:before{content:" ";position:absolute;left:0;background:var(--secondary, #ff9814);top:-12px;width:100%;height:4px}.svc-question__content--drag-over-bottom:before{content:" ";position:absolute;left:0;background:var(--secondary, #ff9814);bottom:-12px;width:100%;height:4px}.svc-question__content--panel .sd-row>div:first-child .svc-question__content--drag-over-left,.sd-panel__content .sd-row>div:first-child .svc-question__content--drag-over-left{margin-left:8px;width:calc(100% - 8px)}.svc-question__content--panel .sd-row>div:last-child .svc-question__content--drag-over-right,.sd-panel__content .sd-row>div:last-child .svc-question__content--drag-over-right{margin-right:8px;width:calc(100% - 8px)}.svc-question__content-actions .sv-action-bar{box-sizing:border-box;padding:0;justify-content:flex-end}svc-question sv-action-bar,svc-question .sv-action-bar,.svc-question sv-action-bar,.svc-question .sv-action-bar{padding:0}.svc-panel__edge{position:absolute;border:1px solid orange;height:10px;width:100%}.svc-panel__edge--top{top:0}.svc-panel__edge--bottom{bottom:0}.svc-question__adorner--start-with-new-line[data-sv-drop-target-survey-element="sv-drag-drop-ghost-survey-element-name"]{height:100%;overflow:hidden;min-width:4px}.svc-question__adorner--start-with-new-line[data-sv-drop-target-survey-element="sv-drag-drop-ghost-survey-element-name"] .svc-question__content.svc-question__content.svc-question__content{border:0;padding:0}[data-sv-drop-target-survey-element="sv-drag-drop-ghost-survey-element-name"]{border:none;height:0}[data-sv-drop-target-survey-element="sv-drag-drop-ghost-survey-element-name"] .svc-question__drag-area{display:none}[data-sv-drop-target-survey-element="sv-drag-drop-ghost-survey-element-name"] .svc-question__drag-element{display:none}[data-sv-drop-target-survey-element="sv-drag-drop-ghost-survey-element-name"] .svc-question__content{background:transparent;box-shadow:none}.svc-hovered>.svc-question__content>.svc-question__drag-area{visibility:visible}.svc-question__content.svc-question__content--selected>.svc-question__drag-area{visibility:visible;z-index:1}.svc-question__drag-area{position:absolute;cursor:move;top:0;left:0;visibility:hidden;height:calc(3.5 * var(--base-unit, 8px));width:100%;display:flex;align-items:center;justify-content:center}.svc-question__drag-element{width:100%;height:calc(4 * var(--base-unit, 8px));opacity:0.5}.svc-question__drag-element use{fill:var(--foreground-light, #909090)}.sd-panel :not(.svc-hovered)>.svc-question__content:not(.svc-question__content--selected),.sd-row--multiple :not(.svc-hovered)>.svc-question__content:not(.svc-question__content--selected){border:1px dashed var(--border, #d6d6d6);box-shadow:none}.sd-panel .svc-question__content,.sd-row--multiple .svc-question__content{border-radius:0}.sd-panel .svc-question__content.svc-question__content--selected,.sd-row--multiple .svc-question__content.svc-question__content--selected{border:1px solid transparent;box-shadow:none}.sd-panel .svc-question__content:hover,.sd-row--multiple .svc-question__content:hover{border:1px solid transparent;box-shadow:none}.sd-row--multiple .svc-hovered>.svc-question__content:not(.svc-question__content--selected){border:1px solid var(--secondary-light, rgba(255,152,20,0.25));box-shadow:0 0 0 1px var(--secondary-light, rgba(255,152,20,0.25))}.sd-panel .svc-row--ghost.svc-row--ghost .svc-question__content.svc-question__content{border:none}.svc-widget__content{width:100%}.svc-widget__content .sd-question__content{pointer-events:none}.svc-question__content .sd-paneldynamic__footer,.svc-question__content .sd-paneldynamic__separator{display:none}.svc-panel__placeholder_frame{border:1px dashed var(--border, #d6d6d6);width:100%;box-sizing:border-box;height:calc(30 * var(--base-unit, 8px));display:flex;align-items:center;justify-content:center;flex-direction:column;padding:calc(2 * var(--base-unit, 8px)) calc(8 * var(--base-unit, 8px))}.svc-panel__add-new-question-container{width:100%;display:flex;justify-content:center;position:relative}.svc-panel__add-new-question{align-items:center;margin-top:calc(2 * var(--base-unit, 8px));margin-left:0;margin-right:0;width:auto;height:calc(5 * var(--base-unit, 8px));line-height:calc(5 * var(--base-unit, 8px));vertical-align:baseline;text-align:center;background-color:var(--background, #fff);cursor:pointer;user-select:none;border:none;box-shadow:none}.svc-panel__add-new-question:hover{outline:none}.svc-panel__add-new-question .svc-text{display:flex;align-items:center;flex-grow:1;justify-content:center;margin:calc(1 * var(--base-unit, 8px)) calc(3 * var(--base-unit, 8px));line-height:calc(2 * var(--base-unit, 8px));color:var(--primary, #19b394)}.svc-panel__question-type-selector{appearance:none;display:flex;height:calc(5 * var(--base-unit, 8px));padding:calc(1 * var(--base-unit, 8px));box-sizing:border-box;border:none;border-radius:2px;background-color:transparent;cursor:pointer;margin-right:calc(1 * var(--base-unit, 8px));outline:none;top:calc(2 * var(--base-unit, 8px));margin:0;position:absolute;right:0}.svc-panel__question-type-selector use{fill:var(--foreground-light, #909090)}.svc-panel__question-type-selector:hover{background-color:var(--background-dim, #f3f3f3)}.svc-panel__question-type-selector:focus{background-color:var(--sjs-primary-backcolor-light, rgba(25,179,148,0.1))}.sd-panel .svc-row{margin-top:calc(1 * var(--base-unit, 8px))}.sd-panel .svc-row:first-of-type{margin-top:0}.sd-panel .svc-row .sd-row{margin-top:0;margin-bottom:0}
|
|
45
|
+
.svc-carry-forward-panel{box-sizing:border-box;width:100%;padding:calc(4 * var(--base-unit, 8px)) calc(8 * var(--base-unit, 8px));margin-top:calc(2 * var(--base-unit, 8px));border-radius:calc(1 * var(--base-unit, 8px));background-color:#F8F8F8;text-align:center;font-weight:400;font-size:calc(2 * var(--base-unit, 8px));line-height:calc(3 * var(--base-unit, 8px));color:rgba(0,0,0,0.45)}.svc-carry-forward-panel__link .svc-action-button{padding:0;border:none;font-weight:inherit;color:inherit;text-decoration:underline;cursor:pointer}.svc-carry-forward-panel__link .svc-action-button:hover,.svc-carry-forward-panel__link .svc-action-button:focus{background-color:transparent}svc-question{display:block;position:absolute;top:1px;left:1px;right:1px;bottom:1px}.svc-question__adorner{position:relative;height:100%;width:100%}.svc-question__adorner .sv-action-bar{overflow:visible}.svc-question__adorner .sv-action-bar .sv-action:not(:first-child) .sv-action-bar-item{border:none}.svc-question__adorner .sv-action-bar .sv-action:not(:first-child) .sv-action-bar-item:active{opacity:0.5;background-color:var(--background-dim, #f3f3f3)}.svc-question__content{display:flex;flex-direction:column;align-items:flex-start;position:relative;width:100%;height:100%;border-radius:calc(.5 * var(--base-unit, 8px));box-sizing:border-box;padding:calc(4 * var(--base-unit, 8px)) calc(5 * var(--base-unit, 8px)) calc(8 * var(--base-unit, 8px));background:var(--background, #fff);box-shadow:0px 1px 2px rgba(0,0,0,0.15);border:2px solid transparent;outline:none}.svc-question__content .sd-selectbase:not(.sd-imagepicker){overflow-x:auto;padding-left:calc(5 * var(--base-unit, 8px));margin-left:calc(-5 * var(--base-unit, 8px))}.svc-question__content .sd-table .sd-selectbase:not(.sd-imagepicker){overflow-x:visible;padding-left:0;margin-left:0}.svc-question__content .sd-multipletext__item-title{color:var(--foreground, #161616)}.svc-question__content .sd-multipletext__item-container.sd-input:focus-within{box-shadow:inset 0px 1px 2px rgba(0,0,0,0.15)}.svc-question__content .sd-matrixdynamic__btn.sd-matrixdynamic__add-btn{color:var(--foreground, #161616);opacity:0.25}.svc-question__content>div{overflow:visible}.svc-panel__placeholder{color:var(--foreground-light, #909090)}.svc-question__content-actions{position:absolute;display:none;bottom:calc(2 * var(--base-unit, 8px));inset-inline-start:calc(4 * var(--base-unit, 8px));inset-inline-end:calc(3.5 * var(--base-unit, 8px))}.svc-question__content-actions .sv-action--convertTo{min-width:calc(13 * var(--base-unit, 8px));max-width:max-content}.svc-question__content-actions .sv-action--convertTo .sv-action-bar-item{max-width:100%;flex-direction:row-reverse}.svc-question__content-actions .sv-action--convertTo .sv-action-bar-item__title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:inline-block;justify-content:left}.svc-question__content-actions .sv-action--convertTo .sv-action-bar-item__title--with-icon{margin-inline-start:0;margin-inline-end:calc(.5 * var(--base-unit, 8px))}.svc-question__content-actions .sv-action--convertTo.sv-action--hidden{min-width:0}.svc-question__content-actions .sv-action--convertTo-last{margin-inline-end:auto}.svc-question__content:focus,.svc-creator .svc-page .svc-hovered>.svc-question__content{box-shadow:0 0 0 2px var(--secondary-light, rgba(255,152,20,0.25))}.svc-creator .svc-page .svc-question__content--selected:not(.svc-question__content--dragged).svc-question__content--selected,.svc-creator:not(.svc-creator--mobile) .svc-page .svc-hovered>.svc-question__content:not(.svc-question__content--dragged).svc-question__content--selected{box-shadow:0 0 0 2px var(--secondary, #ff9814)}.svc-creator .svc-page .svc-question__content--selected:not(.svc-question__content--dragged)>.svc-question__content-actions,.svc-creator:not(.svc-creator--mobile) .svc-page .svc-hovered>.svc-question__content:not(.svc-question__content--dragged)>.svc-question__content-actions{display:block}.svc-question__content--dragged{background:var(--background-for-editors, #f9f9f9)}.svc-question__content--dragged .sd-question__title{color:var(--foreground-light, #909090)}.svc-question__content--dragged.svc-question__content--selected .svc-question__content-actions{display:none}.svc-question__content .sd-question.sd-question--table{margin-top:calc(-1 * var(--base-unit, 8px));padding-top:calc(1 * var(--base-unit, 8px))}.svc-dragged-element-shortcut{min-width:100px;height:calc(3 * var(--base-unit, 8px));border-radius:calc(12.5 * var(--base-unit, 8px));background-color:var(--background, #fff);color:var(--foreground, #161616);padding:calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px));cursor:grabbing;position:absolute;z-index:1000;box-shadow:0px 8px 16px rgba(0,0,0,0.1);-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;max-width:500px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.svc-dragged-element-shortcut .sv-svg-icon use{fill:var(--primary, #19b394)}.svc-dragged-element-shortcut--selected{border:2px solid var(--secondary, #ff9814)}.svc-dragged-element-shortcut__text{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));margin-left:calc(4 * var(--base-unit, 8px));line-height:calc(3 * var(--base-unit, 8px))}.svc-dragged-element-shortcut__icon{position:absolute;width:calc(3 * var(--base-unit, 8px));height:calc(3 * var(--base-unit, 8px))}.svc-question__content--drag-over-inside .svc-panel__placeholder_frame,.svc-hovered>.svc-question__content--drag-over-inside .svc-panel__placeholder_frame{box-shadow:0 0 0 2px var(--primary, #19b394);background:var(--primary-light, rgba(25,179,148,0.1))}.svc-question__content--drag-over-inside .svc-panel__placeholder_frame>.svc-question__content-actions,.svc-hovered>.svc-question__content--drag-over-inside .svc-panel__placeholder_frame>.svc-question__content-actions{display:block}.svc-question__content--drag-over-left:before{content:" ";position:absolute;left:-7px;background:var(--secondary, #ff9814);top:0;height:100%;width:4px}.svc-question__content--drag-over-right:after{content:" ";position:absolute;right:-7px;background:var(--secondary, #ff9814);top:0;height:100%;width:4px}.svc-question__content--drag-over-top:before{content:" ";position:absolute;left:0;background:var(--secondary, #ff9814);top:-12px;width:100%;height:4px}.svc-question__content--drag-over-bottom:before{content:" ";position:absolute;left:0;background:var(--secondary, #ff9814);bottom:-12px;width:100%;height:4px}.svc-question__content--panel .sd-row>div:first-child .svc-question__content--drag-over-left,.sd-panel__content .sd-row>div:first-child .svc-question__content--drag-over-left{margin-left:8px;width:calc(100% - 8px)}.svc-question__content--panel .sd-row>div:last-child .svc-question__content--drag-over-right,.sd-panel__content .sd-row>div:last-child .svc-question__content--drag-over-right{margin-right:8px;width:calc(100% - 8px)}.svc-question__content-actions .sv-action-bar{box-sizing:border-box;padding:0;justify-content:flex-end}svc-question sv-action-bar,svc-question .sv-action-bar,.svc-question sv-action-bar,.svc-question .sv-action-bar{padding:0}.svc-panel__edge{position:absolute;border:1px solid orange;height:10px;width:100%}.svc-panel__edge--top{top:0}.svc-panel__edge--bottom{bottom:0}.svc-question__adorner--start-with-new-line[data-sv-drop-target-survey-element="sv-drag-drop-ghost-survey-element-name"]{height:100%;overflow:hidden;min-width:4px}.svc-question__adorner--start-with-new-line[data-sv-drop-target-survey-element="sv-drag-drop-ghost-survey-element-name"] .svc-question__content.svc-question__content.svc-question__content{border:0;padding:0}[data-sv-drop-target-survey-element="sv-drag-drop-ghost-survey-element-name"]{border:none;height:0}[data-sv-drop-target-survey-element="sv-drag-drop-ghost-survey-element-name"] .svc-question__drag-area{display:none}[data-sv-drop-target-survey-element="sv-drag-drop-ghost-survey-element-name"] .svc-question__drag-element{display:none}[data-sv-drop-target-survey-element="sv-drag-drop-ghost-survey-element-name"] .svc-question__content{background:transparent;box-shadow:none}.svc-hovered>.svc-question__content>.svc-question__drag-area{visibility:visible}.svc-question__content.svc-question__content--selected>.svc-question__drag-area{visibility:visible;z-index:1}.svc-question__drag-area{position:absolute;cursor:move;top:0;left:0;visibility:hidden;height:calc(3.5 * var(--base-unit, 8px));width:100%;display:flex;align-items:center;justify-content:center}.svc-question__drag-element{width:100%;height:calc(4 * var(--base-unit, 8px));opacity:0.5}.svc-question__drag-element use{fill:var(--foreground-light, #909090)}.sd-panel :not(.svc-hovered)>.svc-question__content:not(.svc-question__content--selected),.sd-row--multiple :not(.svc-hovered)>.svc-question__content:not(.svc-question__content--selected){border:1px dashed var(--border, #d6d6d6);box-shadow:none}.sd-panel .svc-question__content,.sd-row--multiple .svc-question__content{border-radius:0}.sd-panel .svc-question__content.svc-question__content--selected,.sd-row--multiple .svc-question__content.svc-question__content--selected{border:1px solid transparent;box-shadow:none}.sd-panel .svc-question__content:hover,.sd-row--multiple .svc-question__content:hover{border:1px solid transparent;box-shadow:none}.sd-row--multiple .svc-hovered>.svc-question__content:not(.svc-question__content--selected){border:1px solid var(--secondary-light, rgba(255,152,20,0.25));box-shadow:0 0 0 1px var(--secondary-light, rgba(255,152,20,0.25))}.sd-panel .svc-row--ghost.svc-row--ghost .svc-question__content.svc-question__content{border:none}.svc-widget__content{width:100%}.svc-widget__content .sd-question__content{pointer-events:none}.svc-question__content .sd-paneldynamic__footer,.svc-question__content .sd-paneldynamic__separator{display:none}.svc-panel__placeholder_frame{border:1px dashed var(--border, #d6d6d6);width:100%;box-sizing:border-box;height:calc(30 * var(--base-unit, 8px));display:flex;align-items:center;justify-content:center;flex-direction:column;padding:calc(2 * var(--base-unit, 8px)) calc(8 * var(--base-unit, 8px))}.svc-panel__add-new-question-container{width:100%;display:flex;justify-content:center;position:relative}.svc-panel__add-new-question{align-items:center;margin-top:calc(2 * var(--base-unit, 8px));margin-left:0;margin-right:0;width:auto;height:calc(5 * var(--base-unit, 8px));line-height:calc(5 * var(--base-unit, 8px));vertical-align:baseline;text-align:center;background-color:var(--background, #fff);cursor:pointer;user-select:none;border:none;box-shadow:none}.svc-panel__add-new-question:hover{outline:none}.svc-panel__add-new-question .svc-text{display:flex;align-items:center;flex-grow:1;justify-content:center;margin:calc(1 * var(--base-unit, 8px)) calc(3 * var(--base-unit, 8px));line-height:calc(2 * var(--base-unit, 8px));color:var(--primary, #19b394)}.svc-panel__question-type-selector{appearance:none;display:flex;height:calc(5 * var(--base-unit, 8px));padding:calc(1 * var(--base-unit, 8px));box-sizing:border-box;border:none;border-radius:2px;background-color:transparent;cursor:pointer;margin-right:calc(1 * var(--base-unit, 8px));outline:none;top:calc(2 * var(--base-unit, 8px));margin:0;position:absolute;right:0}.svc-panel__question-type-selector use{fill:var(--foreground-light, #909090)}.svc-panel__question-type-selector:hover{background-color:var(--background-dim, #f3f3f3)}.svc-panel__question-type-selector:focus{background-color:var(--sjs-primary-backcolor-light, rgba(25,179,148,0.1))}.sd-panel .svc-row{margin-top:calc(1 * var(--base-unit, 8px))}.sd-panel .svc-row:first-of-type{margin-top:0}.sd-panel .svc-row .sd-row{margin-top:0;margin-bottom:0}
|
|
46
46
|
|
|
47
47
|
.svc-question__dropdown-choices{margin-top:calc(2 * var(--base-unit, 8px))}.svc-question__dropdown-choice--collapsed:nth-last-child(1){opacity:0.25}.svc-question__dropdown-choice--collapsed:nth-last-child(2){opacity:0.5}.svc-question__dropdown-choice--collapsed:nth-last-child(3){opacity:0.75}.svc-question__dropdown-choices--wrapper .svc-action-button{margin-left:calc(6.75 * var(--base-unit, 8px));margin-top:calc(1 * var(--base-unit, 8px));cursor:pointer}
|
|
48
48
|
|
|
@@ -76,7 +76,7 @@ svc-toolbox{display:flex;flex-direction:column;position:absolute}.svc-toolbox{he
|
|
|
76
76
|
|
|
77
77
|
.svc-side-bar__container{display:block;position:relative;font-family:var(--font-family);min-width:370px;max-width:calc(68 * var(--base-unit, 8px));width:450px;height:100%}.svc-side-bar__container .svc-resizer{width:3px;height:100%;position:absolute;top:0;background-color:transparent;cursor:e-resize}.svc-resizer-west{left:0}.svc-resizer-east{right:0}.svc-side-bar__container-header{background:var(--background, #fff);box-shadow:inset 0px -2px 0px var(--primary, #19b394);text-align:right;line-height:calc(3 * var(--base-unit, 8px));display:flex}.svc-side-bar__container-content{display:flex;flex-direction:column;align-items:flex-start;height:calc(100% - calc(8 * var(--base-unit, 8px)));overflow-y:auto;background-color:var(--background, #fff)}.svc-side-bar__container-container{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:0px calc(2 * var(--base-unit, 8px)) calc(3 * var(--base-unit, 8px));box-sizing:border-box;background:var(--background-dim, #f3f3f3);box-shadow:inset 0px -1px 0px var(--border, #d6d6d6)}.svc-side-bar__container-title{display:flex;line-height:calc(4.5 * var(--base-unit, 8px));flex-grow:1;flex-shrink:0;justify-content:flex-end;padding:calc(1.5 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px))}.svc-side-bar__container-actions{width:100%;padding:calc(1.5 * var(--base-unit, 8px)) calc(1 * var(--base-unit, 8px))}.svc-side-bar__container-actions .sv-action-bar{justify-content:flex-end;padding:0}.svc-side-bar__container-close{display:none}.svc-flex-column.svc-side-bar__wrapper{width:auto;border-left:1px solid var(--border, #d6d6d6);height:100%;background-color:var(--background-dim, #f3f3f3)}.svc-side-bar{height:100%}.svc-flyout-side-bar{width:0;overflow:visible}.svc-flyout-side-bar .svc-side-bar__shadow{background-color:var(--foreground-light, #909090);opacity:0.75;position:absolute;top:0;bottom:0;right:0;left:0;z-index:9000}.svc-flyout-side-bar .svc-side-bar__wrapper{border-left:none;z-index:10000;position:absolute;right:0;display:inline-block;height:100%;max-width:100%}.svc-full-container.svc-creator__side-bar--left{flex-direction:row-reverse}.svc-full-container.svc-creator__side-bar--left .svc-side-bar__wrapper{left:0;right:unset}.svc-full-container.svc-creator__side-bar--left .svc-side-bar__container-header .sv-action-bar{flex-direction:row-reverse}.svc-full-container.svc-creator__side-bar--left .sv-action--object-selector{justify-content:flex-start;flex:1;display:flex}.svc-full-container.svc-creator__side-bar--left .svd-grid-hide .sv-svg-icon{transform:rotate(180deg)}.svd-grid-hide{margin-inline-end:auto}.sv-mobile-side-bar .svc-side-bar__container-actions{display:none}.sv-mobile-side-bar .svc-side-bar__container-title{display:block;font-weight:bold;font-size:calc(3 * var(--base-unit, 8px));line-height:calc(4 * var(--base-unit, 8px));flex:unset}.sv-mobile-side-bar .svc-side-bar__wrapper{top:calc(2 * var(--base-unit, 8px));background:none}.sv-mobile-side-bar .svc-side-bar__container{width:100%;min-width:338px}.sv-mobile-side-bar .svc-side-bar__container-header{border:unset;box-shadow:0px calc(1 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px));border-radius:calc(2 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) 0px 0px}.sv-mobile-side-bar .svc-side-bar__container-content{height:calc(100% - 20 * var(--base-unit, 8px));background-color:var(--background-dim, #f3f3f3)}.sv-mobile-side-bar .svc-side-bar__container-close{display:flex;background-color:var(--background-dim, #f3f3f3)}.sv-mobile-side-bar .svc-side-bar__container-close .svc-side-bar__container-close-button{width:100%;margin:calc(2 * var(--base-unit, 8px))}.svc-side-bar .svc-toolbox{width:100%}
|
|
78
78
|
|
|
79
|
-
.spg-action-bar{display:flex;box-sizing:content-box;padding-right:calc(.5 * var(--base-unit, 8px));position:relative;align-items:center;margin-left:auto;overflow:hidden;white-space:nowrap}.spg-action-bar .sv-action:not(.sv-action--hidden):not(:last-of-type)>.sv-action__content{padding-right:0}.spg-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;padding:calc(1 * var(--base-unit, 8px));box-sizing:border-box;border:none;border-radius:calc(12.5 * var(--base-unit, 8px));background-color:transparent;cursor:pointer}.spg-action-button:hover,.spg-action-button:focus{opacity:1;outline:none;background-color:var(--primary-light, rgba(25,179,148,0.1))}.spg-action-button:hover use,.spg-action-button:focus use{fill:var(--primary, #19b394)}.spg-action-button__icon{display:block}.spg-action-button__icon use{fill:var(--foreground-light, #909090)}.spg-action-button--danger:hover,.spg-action-button--danger:focus{background-color:var(--red-light, rgba(229,10,62,0.1))}.spg-action-button--danger:hover use,.spg-action-button--danger:focus use{fill:var(--red, #e60a3e)}button.spg-action-button--large{padding:calc(.5 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px))}.spg-action-button:disabled{opacity:0.25;pointer-events:none;cursor:default}.spg-action-button--muted{opacity:0.5}.spg-action-button:active{opacity:0.5}.spg-question{display:flex;flex-direction:column;align-items:flex-start;padding:0px}.spg-question__header{width:100%}.spg-question__title{width:100%;margin:0;padding:calc(1 * var(--base-unit, 8px)) 0;line-height:calc(3 * var(--base-unit, 8px));font-size:calc(2 * var(--base-unit, 8px));font-family:var(--font-family);color:var(--foreground-light, #909090);font-weight:normal;box-sizing:border-box}.spg-question__content{width:100%;color:var(--primary, #19b394);cursor:pointer}.spg-text__content,.spg-comment__content{position:relative}.spg-question__content:focus-within .spg-remaining-character-counter{display:flex}.spg-remaining-character-counter{display:none;flex-direction:row;justify-content:flex-end;align-items:flex-end;padding:0px;font-family:var(--font-family);line-height:calc(2 * var(--base-unit, 8px));font-size:calc(1.5 * var(--base-unit, 8px));color:var(--foreground-light, #909090);position:absolute;inset-inline-end:calc(.75 * var(--base-unit, 8px));inset-block-end:calc(.5 * var(--base-unit, 8px))}.spg-question__description{line-height:calc(3 * var(--base-unit, 8px));font-size:calc(2 * var(--base-unit, 8px));color:var(--foreground, #161616);padding-bottom:calc(2 * var(--base-unit, 8px));white-space:normal}.spg-row-narrow__question{margin-top:calc(-2 * var(--base-unit, 8px))}.spg-question--location--left{flex-direction:row;background:var(--background, #fff);border:1px solid var(--border, #d6d6d6);line-height:calc(6 * var(--base-unit, 8px));vertical-align:middle;align-items:stretch}.spg-question--location--left:focus-within{border-color:var(--primary, #19b394);box-shadow:0 0 0 1px var(--primary, #19b394)}.spg-question__header--location--left{width:auto;box-sizing:border-box;max-width:50%;flex:1;display:flex;align-items:center}.spg-question__header--location--left .spg-question__title{padding:calc(1 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px));border-right:1px solid var(--border, #d6d6d6);display:inline-block}.spg-question__content--left{flex:2}.spg-question__content--left .spg-input.spg-input.spg-input{border:none}.spg-question__content--left .spg-input.spg-input.spg-input:focus,.spg-question__content--left .spg-input.spg-input.spg-input:focus-within{box-shadow:none}.spg-row--multiple{display:flex;gap:calc(1 * var(--base-unit, 8px));flex-wrap:wrap}.spg-row--multiple>div{flex-grow:1;min-width:calc(25.5 * var(--base-unit, 8px))}.spg-row--multiple>div .spg-question__header--location--left{min-width:calc(8 * var(--base-unit, 8px))}.spg-row--multiple>div input{min-width:calc(max(17 * var(--base-unit, 8px), 100%));width:0}.spg-question__erbox{padding:calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px)) calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px));color:var(--foreground, #161616);background-color:var(--red-light, rgba(229,10,62,0.1));border-radius:calc(.5 * var(--base-unit, 8px));line-height:calc(3 * var(--base-unit, 8px))}.spg-question__erbox>div{display:flex;gap:calc(1 * var(--base-unit, 8px))}.spg-question__erbox-icon{display:block;flex-grow:0;flex-shrink:0;width:calc(3 * var(--base-unit, 8px));height:calc(3 * var(--base-unit, 8px));background-size:calc(3 * var(--base-unit, 8px)) calc(3 * var(--base-unit, 8px));background-repeat:no-repeat;background-position:0 0;line-height:calc(3 * var(--base-unit, 8px));background-image:url("data:image/svg+xml,%3Csvg width='24' height='20' viewBox='0 0 24 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.0336 15.4803L14.5736 1.45346C13.9936 0.487805 12.9936 0 12.0036 0C11.0136 0 10.0136 0.487805 9.43364 1.45346L0.973642 15.4803C-0.226358 17.4714 1.21364 20 3.54364 20H20.4536C22.7836 20 24.2236 17.4714 23.0236 15.4803H23.0336ZM21.3336 17.5112C21.2436 17.6605 20.9936 18.0189 20.4636 18.0189H3.54364C3.01364 18.0189 2.76364 17.6705 2.67364 17.5112C2.58364 17.3519 2.41364 16.9537 2.68364 16.5057L11.1436 2.47885C11.4036 2.04082 11.8336 1.99104 12.0036 1.99104C12.1736 1.99104 12.5936 2.04082 12.8636 2.47885L21.3136 16.5057C21.5836 16.9537 21.4136 17.3519 21.3236 17.5112H21.3336ZM13.0036 7.05824V12.0358C13.0036 12.5834 12.5536 13.0314 12.0036 13.0314C11.4536 13.0314 11.0036 12.5834 11.0036 12.0358V7.05824C11.0036 6.5107 11.4536 6.06272 12.0036 6.06272C12.5536 6.06272 13.0036 6.5107 13.0036 7.05824ZM13.0036 15.0224C13.0036 15.5699 12.5536 16.0179 12.0036 16.0179C11.4536 16.0179 11.0036 15.5699 11.0036 15.0224C11.0036 14.4749 11.4536 14.0269 12.0036 14.0269C12.5536 14.0269 13.0036 14.4749 13.0036 15.0224Z' fill='%23E60A3E'/%3E%3C/svg%3E")}.spg-question__erbox--location--bottom{margin-top:calc(1 * var(--base-unit, 8px))}.spg-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;background-color:var(--background, #fff);box-sizing:border-box;width:100%;height:calc(6 * var(--base-unit, 8px));border:1px solid var(--border-inside, rgba(0,0,0,0.16));padding:calc(1.5 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px));outline:none;font-size:calc(2 * var(--base-unit, 8px));font-family:var(--font-family);color:var(--foreground, #161616)}.spg-input::placeholder{color:var(--foreground-light, #909090)}.spg-input:focus,.spg-input.spg-dropdown:focus,.spg-input.spg-dropdown:focus-within,.spg-input-container:focus-within{border-color:var(--primary, #19b394);box-shadow:inset 0 0 0 1px var(--primary, #19b394)}.spg-input:disabled,.spg-input:disabled::placeholder{color:var(--foreground, #161616);opacity:0.25}.spg-input[type="color"]{padding-left:0;padding-right:0;min-width:calc(8 * var(--base-unit, 8px))}.spg-input__edit-button{position:relative;box-sizing:border-box;appearance:none;background:var(--background, #fff);border:none;outline:none;width:calc(5 * var(--base-unit, 8px));height:calc(5 * var(--base-unit, 8px));padding:calc(1 * var(--base-unit, 8px));line-height:0}.spg-input__edit-button:hover{background:var(--background-dim, #f3f3f3)}.spg-input__edit-button:active{opacity:0.5}.spg-input__edit-button:disabled{opacity:0.25;background:var(--background, #fff)}.spg-input__edit-button svg{height:24px;width:24px;fill:rgba(0,0,0,0.45)}.spg-input.spg-input--error{border-color:var(--red, #e60a3e);box-shadow:none}.spg-input-container__input{flex-grow:1;width:100%;padding:calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px));color:var(--foreground, #161616);font-size:calc(2 * var(--base-unit, 8px));font-family:var(--font-family);outline:none;border:none}.spg-input-container__buttons-container{display:flex}.spg-dropdown{border-radius:0;display:flex;padding-right:calc(5.5 * var(--base-unit, 8px));box-shadow:none;line-height:normal;background-position:right calc(1.625 * var(--base-unit, 8px)) top 50%,0 0}.spg-dropdown__filter-string-input{line-height:unset}.spg-comment{height:calc(9 * var(--base-unit, 8px));max-width:100%;min-width:calc(6 * var(--base-unit, 8px));min-height:calc(6 * var(--base-unit, 8px));line-height:calc(3 * var(--base-unit, 8px))}.spg-panel__title{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;width:100%;padding:calc(2 * var(--base-unit, 8px));border:none;outline:none;color:var(--foreground-light, #909090);cursor:pointer;text-align:left;background-color:var(--background, #fff);box-shadow:inset 0px -1px 0px var(--border, #d6d6d6);font-family:var(--font-family);font-size:calc(2 * var(--base-unit, 8px));font-weight:400;margin:0}.spg-panel__title:disabled,.spg-panel__title:disabled:hover{color:var(--foreground, #161616);opacity:0.25;cursor:default}.spg-panel__title--expandable:not(.spg-panel__title[aria-expanded=true]):hover,.spg-panel__title--expandable:not(.spg-panel__title[aria-expanded=true]):focus{background-color:var(--background-dim, #f3f3f3)}.spg-panel__title[aria-expanded=true],.spg-panel__title--expanded{color:var(--foreground, #161616);font-weight:600}.spg-panel__content{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:0 calc(4 * var(--base-unit, 8px)) calc(5 * var(--base-unit, 8px));box-sizing:border-box;background:var(--background-dim, #f3f3f3);box-shadow:inset 0px -1px 0px var(--border, #d6d6d6)}.spg-panel__content .spg-row{width:100%;margin-top:calc(2 * var(--base-unit, 8px))}.spg-panel__content .spg-row--multiple{margin-top:calc(1 * var(--base-unit, 8px))}.sv-mobile-side-bar .spg-panel__content{padding:0 calc(2 * var(--base-unit, 8px)) calc(5 * var(--base-unit, 8px))}.spg-checkbox{cursor:pointer;margin-top:calc(2 * var(--base-unit, 8px))}.spg-checkbox--disabled{cursor:default}.spg-checkbox--disabled .spg-checkbox{cursor:default}.spg-checkbox--disabled .spg-checkbox__caption{color:var(--foreground-light, #909090)}.spg-checkbox__caption{font-family:var(--font-family);font-size:calc(2 * var(--base-unit, 8px));color:var(--foreground, #161616);line-height:calc(3 * var(--base-unit, 8px))}.spg-checkbox__rectangle{background:var(--background, #fff);border:1px solid var(--border, #d6d6d6);box-sizing:border-box;width:calc(3 * var(--base-unit, 8px));height:calc(3 * var(--base-unit, 8px));flex-shrink:0;padding:1px 1px}.spg-checkbox:hover .spg-checkbox__rectangle{background-color:var(--background-dim, #f3f3f3)}.spg-checkbox--disabled .spg-checkbox__rectangle:hover{background:var(--background, #fff)}.spg-checkbox__control:focus+.spg-checkbox__rectangle{outline:2px solid var(--primary, #19b394);outline-offset:-2px}.spg-checkbox .spg-checkbox__svg{display:none}.spg-checkbox--checked .spg-checkbox__svg{display:block;width:calc(2.5 * var(--base-unit, 8px));height:calc(2.5 * var(--base-unit, 8px));background-repeat:no-repeat;background-size:calc(2 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px));fill:var(--primary, #19b394)}.spg-checkbox--disabled.spg-checkbox--checked .spg-checkbox__svg{fill:var(--border, #d6d6d6)}.spg-checkbox__control{position:fixed;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px)}.spg-checkbox__hidden{display:none}.spg-selectbase{border:none;padding:0;margin:0}.spg-selectbase__label{display:flex;align-items:flex-start;gap:calc(1 * var(--base-unit, 8px))}.spg-matrixdynamic__drag-element{padding:calc(2 * var(--base-unit, 8px))}.spg-matrixdynamic__drag-element:hover{background-color:var(--background, #fff)}.spg-matrixdynamic__drag-element:after{content:" ";display:block;height:calc(.5 * var(--base-unit, 8px))}.spg-drag-element__svg{width:calc(3 * var(--base-unit, 8px));height:calc(3 * var(--base-unit, 8px));padding:calc(1 * var(--base-unit, 8px));display:block;opacity:0.5}.spg-drag-element__svg use{fill:var(--foreground-light, #909090)}.spg-matrixdynamic__drag-drop-ghost-position-top,.spg-matrixdynamic__drag-drop-ghost-position-bottom{position:relative}.spg-matrixdynamic__drag-drop-ghost-position-top::after,.spg-matrixdynamic__drag-drop-ghost-position-bottom::after{content:"";width:100%;height:calc(.5 * var(--base-unit, 8px));background-color:var(--secondary, #ff9814);position:absolute;left:0}.spg-matrixdynamic__drag-drop-ghost-position-top::after{top:0}.spg-matrixdynamic__drag-drop-ghost-position-bottom::after{bottom:0}.spg-matrixdynamic__placeholder{padding:calc(6 * var(--base-unit, 8px)) 0;display:flex;flex-direction:column;justify-content:center;align-items:center;background:var(--background, #fff);border:1px solid var(--border, #d6d6d6);box-sizing:border-box}.spg-matrixdynamic__placeholder .spg-matrixdynamic__add-btn{display:initial}.spg-matrixdynamic__placeholder-text{font-size:calc(2 * var(--base-unit, 8px));line-height:calc(3 * var(--base-unit, 8px));color:var(--foreground-light, #909090)}.spg-matrixdynamic__add-btn{display:none;appearance:none;border:none;margin-top:calc(.5 * var(--base-unit, 8px));background:transparent;color:var(--primary, #19b394);font-family:var(--font-family);font-size:calc(2 * var(--base-unit, 8px));font-weight:600;line-height:calc(3 * var(--base-unit, 8px))}.spg-smiley-icon{width:calc(3 * var(--base-unit, 8px));height:calc(3 * var(--base-unit, 8px));margin:calc(1 * var(--base-unit, 8px));border-radius:100px;border:1px solid var(--foreground, #161616);display:flex;justify-content:center;align-items:center;margin-right:calc(4 * var(--base-unit, 8px))}.spg-smiley-icon svg{width:calc(1.5 * var(--base-unit, 8px));height:calc(1.5 * var(--base-unit, 8px));fill:var(--foreground, #161616)}.spg-table-wrapper{border:1px solid var(--border, #d6d6d6);border-bottom:none}.spg-table{width:100%;background-color:var(--background, #fff);border-collapse:collapse}.spg-table tr{border-bottom:1px solid var(--border, #d6d6d6)}.spg-table__cell{padding:0}.spg-table__cell .spg-checkbox{margin:0 calc(2 * var(--base-unit, 8px))}.spg-table__cell--detail-panel{background:var(--background-dim, #f3f3f3)}.spg-table__cell--detail-panel .spg-panel__content{box-shadow:none}.spg-table__cell:not(.spg-table__cell--detail-panel):not(.spg-table__cell--actions):first-of-type{padding-left:8px}.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input{appearance:none;line-height:calc(3 * var(--base-unit, 8px));font-size:calc(2 * var(--base-unit, 8px));border:none;border-radius:calc(.5 * var(--base-unit, 8px));background-color:transparent;padding:calc(1 * var(--base-unit, 8px));height:auto}.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input[type="color"]{padding-right:0}.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input:focus,.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input:focus-within{box-shadow:inset 0 0 0 2px var(--primary, #19b394)}.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-dropdown{width:max-content;padding-right:calc(4 * var(--base-unit, 8px));background-size:calc(3 * var(--base-unit, 8px)) calc(3 * var(--base-unit, 8px));background-position:right calc(.5 * var(--base-unit, 8px)) top 50%,0 0;background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 15L17 10H7L12 15Z' fill='%2390909080'/%3E%3C/svg%3E%0A")}.spg-table__cell:not(.spg-table__cell--detail-panel):first-of-type .spg-text{padding-left:calc(2 * var(--base-unit, 8px))}.spg-table__cell--actions:first-of-type{width:calc(5 * var(--base-unit, 8px))}.spg-table__cell--actions:last-of-type .spg-action-bar{justify-content:flex-end}.spg-table__cell--actions>.spg-matrixdynamic__drag-element{display:inline-block;margin-top:calc(.5 * var(--base-unit, 8px));cursor:move}.spg-table__cell--header{font-size:calc(1.5 * var(--base-unit, 8px));font-weight:normal;color:var(--foreground-light, #909090);line-height:calc(3 * var(--base-unit, 8px));background:var(--background-dim, #f3f3f3);text-align:left;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100px}.spg-table__question-wrapper{padding:calc(.5 * var(--base-unit, 8px)) 0}.spg-question-group .spg-row{margin-top:0}.spg-question-group .spg-row:not(:first-of-type){margin-top:calc(1 * var(--base-unit, 8px))}.spg-input-container{display:flex;justify-content:space-between;cursor:default;padding:calc(.5 * var(--base-unit, 8px));align-items:center;gap:calc(.5 * var(--base-unit, 8px))}.spg-color-editor__input{line-height:calc(3 * var(--base-unit, 8px))}.spg-color-editor__color-input{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);left:0;top:100%;transform:translateY(-50%)}.spg-color-editor__color-item{display:flex;gap:calc(2 * var(--base-unit, 8px))}.spg-color-editor__color-item .spg-color-editor__color-swatch{margin-left:0}.spg-color-editor__color-swatch{position:relative;flex-shrink:0;flex-grow:0;border-radius:3px;width:calc(4 * var(--base-unit, 8px));height:calc(3 * var(--base-unit, 8px));box-sizing:border-box;border:1px solid rgba(0,0,0,0.16);margin-left:calc(1.5 * var(--base-unit, 8px))}.spg-color-editor__color-swatch .sv-svg-icon{position:absolute;width:calc(2 * var(--base-unit, 8px));height:calc(2 * var(--base-unit, 8px));left:50%;top:50%;transform:translate(-50%, -50%);fill:var(--background, #fff)}.spg-color-editor div:last-child{display:none}.spg-file-edit__choose-button{position:relative}.spg-link{display:flex}.spg-theme-builder-root .spg-paneldynamic__separator{border:none;height:calc(2 * var(--base-unit, 8px));margin:0}.spg-theme-builder-root .spg-paneldynamic__remove-btn{display:none}.spg-theme-builder-root .spg-row--multiple .spg-spin-editor .spg-input-container__buttons-container{display:none}.spg-theme-builder-root .spg-row--multiple .spg-question__header--location--left{min-width:auto}.spg-theme-builder-root .spg-row--multiple>div{flex:1 1 0;min-width:calc(12.5 * var(--base-unit, 8px))}.spg-theme-builder-root .spg-row--multiple>div input{min-width:0}.spg-theme-builder-root .spg-row--multiple>div .spg-question--location--left{height:calc(6 * var(--base-unit, 8px));box-sizing:border-box}.spg-theme-builder-root .spg-row--multiple>div .spg-question--location--left .spg-input{height:auto}.spg-theme-builder-root .sv-button-group{overflow:hidden}.spg-theme-builder-root .spg-question__header--location--left{width:max-content;flex:0 0}.spg-theme-builder-root .spg-question__header--location--left .spg-question__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.spg-theme-builder-root .spg-panel__content .spg-panel__content{padding:0;padding-bottom:calc(5 * var(--base-unit, 8px));box-shadow:none}.spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__title{background-color:transparent;box-shadow:none;padding:calc(1 * var(--base-unit, 8px)) 0}.spg-theme-builder-root .spg-panel__content .spg-panel__content::after{content:" ";display:block;position:relative;left:calc(-4 * var(--base-unit, 8px));top:calc(5 * var(--base-unit, 8px));width:calc(8 * var(--base-unit, 8px) + 100%);height:1px;background-color:var(--border, #d6d6d6)}.spg-theme-builder-root .spg-panel__content .spg-panel__content>.spg-row:first-of-type{margin-top:0}.spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content{padding-bottom:0}.spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content::after{content:none}.spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content .spg-row{margin-top:calc(1 * var(--base-unit, 8px))}.spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content .spg-row:first-of-type{margin-top:0}.spg-theme-builder-root .spg-panel__content .spg-row:last-of-type .spg-panel__content{padding-bottom:0}.spg-theme-builder-root .spg-panel__content .spg-row:last-of-type .spg-panel__content::after{content:none}.spg-root-modern{width:100%;border-right:1px solid var(--border, #d6d6d6);box-sizing:border-box}.sv-popup--modal{padding:calc(4 * var(--base-unit, 8px))}.sv-popup--modal.sv-property-editor .sv-popup__container .sv-popup_shadow{background-color:transparent}.sv-popup--modal.sv-property-editor .sv-popup__container .sd-root-modern{background-color:transparent}.sv-popup--modal.sv-property-editor .sv-popup__container .sd-page{margin:0;padding:0}.sv-popup--modal .sv-popup__footer{padding-bottom:2px}.sv-popup--modal .sd-body,.sv-popup--modal .sl-body{min-width:calc(78 * var(--base-unit, 8px))}.sv-popup.sv-property-editor .sd-root-modern{--sd-mobile-width: 0}.svc-object-selector .sv-popup__container{margin-left:calc(1 * var(--base-unit, 8px));margin-right:calc(1 * var(--base-unit, 8px))}.svc-object-selector__content{position:relative;height:100%;min-height:0;display:flex;flex-direction:column}.spg-title .spg-action-bar{margin-top:calc(-1 * var(--base-unit, 8px));margin-bottom:calc(-1 * var(--base-unit, 8px));margin-right:1px}.spg-body{width:100%}.spg-body--empty{margin:calc(3 * var(--base-unit, 8px))}
|
|
79
|
+
.spg-action-bar{display:flex;box-sizing:content-box;padding-right:calc(.5 * var(--base-unit, 8px));position:relative;align-items:center;margin-left:auto;overflow:hidden;white-space:nowrap}.spg-action-bar .sv-action:not(.sv-action--hidden):not(:last-of-type)>.sv-action__content{padding-right:0}.spg-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;padding:calc(1 * var(--base-unit, 8px));box-sizing:border-box;border:none;color:var(--primary, #19b394);font-weight:600;font-size:calc(2 * var(--base-unit, 8px));line-height:calc(3 * var(--base-unit, 8px));font-family:var(--font-family);border-radius:calc(12.5 * var(--base-unit, 8px));background-color:transparent;cursor:pointer}.spg-action-button:hover,.spg-action-button:focus{opacity:1;outline:none;background-color:var(--primary-light, rgba(25,179,148,0.1))}.spg-action-button:hover use,.spg-action-button:focus use{fill:var(--primary, #19b394)}.spg-action-button__icon{display:block}.spg-action-button__icon use{fill:var(--foreground-light, #909090)}.spg-action-button--danger{color:var(--red, #e60a3e)}.spg-action-button--danger:hover,.spg-action-button--danger:focus{background-color:var(--red-light, rgba(229,10,62,0.1))}.spg-action-button--danger:hover use,.spg-action-button--danger:focus use{fill:var(--red, #e60a3e)}button.spg-action-button--large{padding:calc(.5 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px))}.spg-action-button:disabled{opacity:0.25;pointer-events:none;cursor:default}.spg-action-button--muted{opacity:0.5}.spg-action-button:active{opacity:0.5}.spg-action-button--text{padding:calc(.5 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px))}.spg-question{display:flex;flex-direction:column;align-items:flex-start;padding:0px}.spg-question__header{width:100%}.spg-question__title{width:100%;margin:0;padding:calc(1 * var(--base-unit, 8px)) 0;line-height:calc(3 * var(--base-unit, 8px));font-size:calc(2 * var(--base-unit, 8px));font-family:var(--font-family);color:var(--foreground-light, #909090);font-weight:normal;box-sizing:border-box}.spg-question__content{width:100%;color:var(--primary, #19b394);cursor:pointer}.spg-text__content,.spg-comment__content{position:relative}.spg-question__content:focus-within .spg-remaining-character-counter{display:flex}.spg-remaining-character-counter{display:none;flex-direction:row;justify-content:flex-end;align-items:flex-end;padding:0px;font-family:var(--font-family);line-height:calc(2 * var(--base-unit, 8px));font-size:calc(1.5 * var(--base-unit, 8px));color:var(--foreground-light, #909090);position:absolute;inset-inline-end:calc(.75 * var(--base-unit, 8px));inset-block-end:calc(.5 * var(--base-unit, 8px))}.spg-question__description{line-height:calc(3 * var(--base-unit, 8px));font-size:calc(2 * var(--base-unit, 8px));color:var(--foreground, #161616);padding-bottom:calc(2 * var(--base-unit, 8px));white-space:normal}.spg-row-narrow__question{margin-top:calc(-2 * var(--base-unit, 8px))}.spg-row--multiple>div>.spg-row-narrow__question{margin-top:calc(-1 * var(--base-unit, 8px))}.spg-question--location--left{flex-direction:row;background:var(--background, #fff);border:1px solid var(--border, #d6d6d6);line-height:calc(6 * var(--base-unit, 8px));vertical-align:middle;align-items:stretch}.spg-question--location--left:focus-within{border-color:var(--primary, #19b394);box-shadow:0 0 0 1px var(--primary, #19b394)}.spg-question__header--location--left{width:auto;box-sizing:border-box;max-width:50%;flex:1;display:flex;align-items:center}.spg-question__header--location--left .spg-question__title{padding:calc(1 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px));border-right:1px solid var(--border, #d6d6d6);display:inline-block}.spg-question__content--left{flex:2}.spg-question__content--left .spg-input.spg-input.spg-input{border:none}.spg-question__content--left .spg-input.spg-input.spg-input:focus,.spg-question__content--left .spg-input.spg-input.spg-input:focus-within{box-shadow:none}.spg-row--multiple{display:flex;gap:calc(1 * var(--base-unit, 8px));flex-wrap:wrap}.spg-row--multiple>div{flex-grow:1;min-width:calc(25.5 * var(--base-unit, 8px))}.spg-row--multiple>div .spg-question__header--location--left{min-width:calc(8 * var(--base-unit, 8px))}.spg-row--multiple>div input{min-width:calc(max(17 * var(--base-unit, 8px), 100%));width:0}.spg-question__erbox{padding:calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px)) calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px));color:var(--foreground, #161616);background-color:var(--red-light, rgba(229,10,62,0.1));border-radius:calc(.5 * var(--base-unit, 8px));line-height:calc(3 * var(--base-unit, 8px))}.spg-question__erbox>div{display:flex;gap:calc(1 * var(--base-unit, 8px))}.spg-question__erbox-icon{display:block;flex-grow:0;flex-shrink:0;width:calc(3 * var(--base-unit, 8px));height:calc(3 * var(--base-unit, 8px));background-size:calc(3 * var(--base-unit, 8px)) calc(3 * var(--base-unit, 8px));background-repeat:no-repeat;background-position:0 0;line-height:calc(3 * var(--base-unit, 8px));background-image:url("data:image/svg+xml,%3Csvg width='24' height='20' viewBox='0 0 24 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.0336 15.4803L14.5736 1.45346C13.9936 0.487805 12.9936 0 12.0036 0C11.0136 0 10.0136 0.487805 9.43364 1.45346L0.973642 15.4803C-0.226358 17.4714 1.21364 20 3.54364 20H20.4536C22.7836 20 24.2236 17.4714 23.0236 15.4803H23.0336ZM21.3336 17.5112C21.2436 17.6605 20.9936 18.0189 20.4636 18.0189H3.54364C3.01364 18.0189 2.76364 17.6705 2.67364 17.5112C2.58364 17.3519 2.41364 16.9537 2.68364 16.5057L11.1436 2.47885C11.4036 2.04082 11.8336 1.99104 12.0036 1.99104C12.1736 1.99104 12.5936 2.04082 12.8636 2.47885L21.3136 16.5057C21.5836 16.9537 21.4136 17.3519 21.3236 17.5112H21.3336ZM13.0036 7.05824V12.0358C13.0036 12.5834 12.5536 13.0314 12.0036 13.0314C11.4536 13.0314 11.0036 12.5834 11.0036 12.0358V7.05824C11.0036 6.5107 11.4536 6.06272 12.0036 6.06272C12.5536 6.06272 13.0036 6.5107 13.0036 7.05824ZM13.0036 15.0224C13.0036 15.5699 12.5536 16.0179 12.0036 16.0179C11.4536 16.0179 11.0036 15.5699 11.0036 15.0224C11.0036 14.4749 11.4536 14.0269 12.0036 14.0269C12.5536 14.0269 13.0036 14.4749 13.0036 15.0224Z' fill='%23E60A3E'/%3E%3C/svg%3E")}.spg-question__erbox--location--bottom{margin-top:calc(1 * var(--base-unit, 8px))}.spg-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;background-color:var(--background, #fff);box-sizing:border-box;width:100%;height:calc(6 * var(--base-unit, 8px));border:1px solid var(--border-inside, rgba(0,0,0,0.16));padding:calc(1.5 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px));outline:none;font-size:calc(2 * var(--base-unit, 8px));font-family:var(--font-family);color:var(--foreground, #161616)}.spg-input::placeholder{color:var(--foreground-light, #909090)}.spg-input:focus,.spg-input.spg-dropdown:focus,.spg-input.spg-dropdown:focus-within,.spg-input-container:focus-within{border-color:var(--primary, #19b394);box-shadow:inset 0 0 0 1px var(--primary, #19b394)}.spg-input:disabled,.spg-input:disabled::placeholder{color:var(--foreground, #161616);opacity:0.25}.spg-input[type="color"]{padding-left:0;padding-right:0;min-width:calc(8 * var(--base-unit, 8px))}.spg-input__edit-button{position:relative;box-sizing:border-box;appearance:none;background:var(--background, #fff);border:none;outline:none;width:calc(5 * var(--base-unit, 8px));height:calc(5 * var(--base-unit, 8px));padding:calc(1 * var(--base-unit, 8px));line-height:0}.spg-input__edit-button:hover{background:var(--background-dim, #f3f3f3)}.spg-input__edit-button:active{opacity:0.5}.spg-input__edit-button:disabled{opacity:0.25;background:var(--background, #fff)}.spg-input__edit-button svg{height:24px;width:24px;fill:rgba(0,0,0,0.45)}.spg-input.spg-input--error{border-color:var(--red, #e60a3e);box-shadow:none}.spg-input-container__input{flex-grow:1;width:100%;padding:calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px));color:var(--foreground, #161616);font-size:calc(2 * var(--base-unit, 8px));font-family:var(--font-family);outline:none;border:none}.spg-input-container__buttons-container{display:flex}.spg-dropdown{border-radius:0;display:flex;padding-right:calc(5.5 * var(--base-unit, 8px));box-shadow:none;line-height:normal;background-position:right calc(1.625 * var(--base-unit, 8px)) top 50%,0 0}.spg-dropdown__filter-string-input{line-height:unset}.spg-comment{height:calc(9 * var(--base-unit, 8px));max-width:100%;min-width:calc(6 * var(--base-unit, 8px));min-height:calc(6 * var(--base-unit, 8px));line-height:calc(3 * var(--base-unit, 8px))}.spg-panel__title{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;width:100%;padding:calc(2 * var(--base-unit, 8px));border:none;outline:none;color:var(--foreground-light, #909090);cursor:pointer;text-align:left;background-color:var(--background, #fff);box-shadow:inset 0px -1px 0px var(--border, #d6d6d6);font-family:var(--font-family);font-size:calc(2 * var(--base-unit, 8px));font-weight:400;margin:0}.spg-panel__title:disabled,.spg-panel__title:disabled:hover{color:var(--foreground, #161616);opacity:0.25;cursor:default}.spg-panel__title--expandable:not(.spg-panel__title[aria-expanded=true]):hover,.spg-panel__title--expandable:not(.spg-panel__title[aria-expanded=true]):focus{background-color:var(--background-dim, #f3f3f3)}.spg-panel__title[aria-expanded=true],.spg-panel__title--expanded{color:var(--foreground, #161616);font-weight:600}.spg-panel__content{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:0 calc(4 * var(--base-unit, 8px)) calc(5 * var(--base-unit, 8px));box-sizing:border-box;background:var(--background-dim, #f3f3f3);box-shadow:inset 0px -1px 0px var(--border, #d6d6d6)}.spg-panel__content .spg-row{width:100%;margin-top:calc(2 * var(--base-unit, 8px))}.spg-panel__content .spg-row--multiple{margin-top:calc(1 * var(--base-unit, 8px))}.sv-mobile-side-bar .spg-panel__content{padding:0 calc(2 * var(--base-unit, 8px)) calc(5 * var(--base-unit, 8px))}.spg-checkbox{cursor:pointer;margin-top:calc(2 * var(--base-unit, 8px))}.spg-checkbox--disabled{cursor:default}.spg-checkbox--disabled .spg-checkbox{cursor:default}.spg-checkbox--disabled .spg-checkbox__caption{color:var(--foreground-light, #909090)}.spg-checkbox__caption{font-family:var(--font-family);font-size:calc(2 * var(--base-unit, 8px));color:var(--foreground, #161616);line-height:calc(3 * var(--base-unit, 8px))}.spg-checkbox__rectangle{background:var(--background, #fff);border:1px solid var(--border, #d6d6d6);box-sizing:border-box;width:calc(3 * var(--base-unit, 8px));height:calc(3 * var(--base-unit, 8px));flex-shrink:0;padding:1px 1px}.spg-checkbox:hover .spg-checkbox__rectangle{background-color:var(--background-dim, #f3f3f3)}.spg-checkbox--disabled .spg-checkbox__rectangle:hover{background:var(--background, #fff)}.spg-checkbox__control:focus+.spg-checkbox__rectangle{outline:2px solid var(--primary, #19b394);outline-offset:-2px}.spg-checkbox .spg-checkbox__svg{display:none}.spg-checkbox--checked .spg-checkbox__svg{display:block;width:calc(2.5 * var(--base-unit, 8px));height:calc(2.5 * var(--base-unit, 8px));background-repeat:no-repeat;background-size:calc(2 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px));fill:var(--primary, #19b394)}.spg-checkbox--disabled.spg-checkbox--checked .spg-checkbox__svg{fill:var(--border, #d6d6d6)}.spg-checkbox__control{position:fixed;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px)}.spg-checkbox__hidden{display:none}.spg-selectbase{border:none;padding:0;margin:0}.spg-selectbase__label{display:flex;align-items:flex-start;gap:calc(1 * var(--base-unit, 8px))}.spg-matrixdynamic__drag-element{padding:calc(2 * var(--base-unit, 8px))}.spg-matrixdynamic__drag-element:hover{background-color:var(--background, #fff)}.spg-matrixdynamic__drag-element:after{content:" ";display:block;height:calc(.5 * var(--base-unit, 8px))}.spg-drag-element__svg{width:calc(3 * var(--base-unit, 8px));height:calc(3 * var(--base-unit, 8px));padding:calc(1 * var(--base-unit, 8px));display:block;opacity:0.5}.spg-drag-element__svg use{fill:var(--foreground-light, #909090)}.spg-matrixdynamic__drag-drop-ghost-position-top,.spg-matrixdynamic__drag-drop-ghost-position-bottom{position:relative}.spg-matrixdynamic__drag-drop-ghost-position-top::after,.spg-matrixdynamic__drag-drop-ghost-position-bottom::after{content:"";width:100%;height:calc(.5 * var(--base-unit, 8px));background-color:var(--secondary, #ff9814);position:absolute;left:0}.spg-matrixdynamic__drag-drop-ghost-position-top::after{top:0}.spg-matrixdynamic__drag-drop-ghost-position-bottom::after{bottom:0}.spg-matrixdynamic__placeholder{padding:calc(6 * var(--base-unit, 8px)) 0;display:flex;flex-direction:column;justify-content:center;align-items:center;background:var(--background, #fff);border:1px solid var(--border, #d6d6d6);box-sizing:border-box}.spg-matrixdynamic__placeholder .spg-matrixdynamic__add-btn{display:initial}.spg-matrixdynamic__placeholder-text{font-size:calc(2 * var(--base-unit, 8px));line-height:calc(3 * var(--base-unit, 8px));color:var(--foreground-light, #909090)}.spg-matrixdynamic__add-btn{display:none;appearance:none;border:none;margin-top:calc(.5 * var(--base-unit, 8px));background:transparent;color:var(--primary, #19b394);font-family:var(--font-family);font-size:calc(2 * var(--base-unit, 8px));font-weight:600;line-height:calc(3 * var(--base-unit, 8px))}.spg-smiley-icon{width:calc(3 * var(--base-unit, 8px));height:calc(3 * var(--base-unit, 8px));margin:calc(1 * var(--base-unit, 8px));border-radius:100px;border:1px solid var(--foreground, #161616);display:flex;justify-content:center;align-items:center;margin-right:calc(4 * var(--base-unit, 8px))}.spg-smiley-icon svg{width:calc(1.5 * var(--base-unit, 8px));height:calc(1.5 * var(--base-unit, 8px));fill:var(--foreground, #161616)}.spg-table-wrapper{border:1px solid var(--border, #d6d6d6);border-bottom:none}.spg-table{width:100%;background-color:var(--background, #fff);border-collapse:collapse}.spg-table tr{border-bottom:1px solid var(--border, #d6d6d6)}.spg-table__cell{padding:0}.spg-table__cell .spg-checkbox{margin:0 calc(2 * var(--base-unit, 8px))}.spg-table__cell--detail-panel{background:var(--background-dim, #f3f3f3)}.spg-table__cell--detail-panel .spg-panel__content{box-shadow:none}.spg-table__cell:not(.spg-table__cell--detail-panel):not(.spg-table__cell--actions):first-of-type{padding-left:8px}.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input{appearance:none;line-height:calc(3 * var(--base-unit, 8px));font-size:calc(2 * var(--base-unit, 8px));border:none;border-radius:calc(.5 * var(--base-unit, 8px));background-color:transparent;padding:calc(1 * var(--base-unit, 8px));height:auto}.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input[type="color"]{padding-right:0}.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input:focus,.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-input:focus-within{box-shadow:inset 0 0 0 2px var(--primary, #19b394)}.spg-table__cell:not(.spg-table__cell--detail-panel) .spg-dropdown{width:max-content;padding-right:calc(4 * var(--base-unit, 8px));background-size:calc(3 * var(--base-unit, 8px)) calc(3 * var(--base-unit, 8px));background-position:right calc(.5 * var(--base-unit, 8px)) top 50%,0 0;background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 15L17 10H7L12 15Z' fill='%2390909080'/%3E%3C/svg%3E%0A")}.spg-table__cell:not(.spg-table__cell--detail-panel):first-of-type .spg-text{padding-left:calc(2 * var(--base-unit, 8px))}.spg-table__cell--actions:first-of-type{width:calc(5 * var(--base-unit, 8px))}.spg-table__cell--actions:last-of-type .spg-action-bar{justify-content:flex-end}.spg-table__cell--actions>.spg-matrixdynamic__drag-element{display:inline-block;margin-top:calc(.5 * var(--base-unit, 8px));cursor:move}.spg-table__cell--header{font-size:calc(1.5 * var(--base-unit, 8px));font-weight:normal;color:var(--foreground-light, #909090);line-height:calc(3 * var(--base-unit, 8px));background:var(--background-dim, #f3f3f3);text-align:left;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100px}.spg-table__question-wrapper{padding:calc(.5 * var(--base-unit, 8px)) 0}.spg-question-group .spg-row{margin-top:0}.spg-question-group .spg-row:not(:first-of-type){margin-top:calc(1 * var(--base-unit, 8px))}.spg-input-container{display:flex;justify-content:space-between;cursor:default;padding:calc(.5 * var(--base-unit, 8px));align-items:center;gap:calc(.5 * var(--base-unit, 8px))}.spg-color-editor__input{line-height:calc(3 * var(--base-unit, 8px))}.spg-color-editor__color-input{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);left:0;top:100%;transform:translateY(-50%)}.spg-color-editor__color-item{display:flex;gap:calc(2 * var(--base-unit, 8px))}.spg-color-editor__color-item .spg-color-editor__color-swatch{margin-left:0}.spg-color-editor__color-swatch{position:relative;flex-shrink:0;flex-grow:0;border-radius:3px;width:calc(4 * var(--base-unit, 8px));height:calc(3 * var(--base-unit, 8px));box-sizing:border-box;border:1px solid rgba(0,0,0,0.16);margin-left:calc(1.5 * var(--base-unit, 8px))}.spg-color-editor__color-swatch .sv-svg-icon{position:absolute;width:calc(2 * var(--base-unit, 8px));height:calc(2 * var(--base-unit, 8px));left:50%;top:50%;transform:translate(-50%, -50%);fill:var(--background, #fff)}.spg-color-editor div:last-child{display:none}.spg-file-edit__choose-button{position:relative}.spg-link{display:flex}.spg-theme-builder-root .spg-paneldynamic__separator{border:none;margin:0;height:calc(2 * var(--base-unit, 8px))}.spg-theme-builder-root .spg-panel__footer{margin:calc(1 * var(--base-unit, 8px)) auto 0}.spg-theme-builder-root .spg-paneldynamic__add-btn{margin:0 auto}.spg-theme-builder-root .spg-row--multiple .spg-spin-editor .spg-input-container__buttons-container{display:none}.spg-theme-builder-root .spg-row--multiple .spg-question__header--location--left{min-width:auto}.spg-theme-builder-root .spg-row--multiple>div{flex:1 1 0;min-width:calc(12.5 * var(--base-unit, 8px))}.spg-theme-builder-root .spg-row--multiple>div input{min-width:0}.spg-theme-builder-root .spg-row--multiple>div .spg-question--location--left{height:calc(6 * var(--base-unit, 8px));box-sizing:border-box}.spg-theme-builder-root .spg-row--multiple>div .spg-question--location--left .spg-input{height:auto}.spg-theme-builder-root .sv-button-group{overflow:hidden}.spg-theme-builder-root .spg-question__header--location--left{width:max-content;flex:0 0}.spg-theme-builder-root .spg-question__header--location--left .spg-question__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.spg-theme-builder-root .spg-panel__content .spg-panel__content{padding:0;padding-bottom:calc(5 * var(--base-unit, 8px));box-shadow:none}.spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__title{background-color:transparent;box-shadow:none;padding:calc(1 * var(--base-unit, 8px)) 0}.spg-theme-builder-root .spg-panel__content .spg-panel__content::after{content:" ";display:block;position:relative;left:calc(-4 * var(--base-unit, 8px));top:calc(5 * var(--base-unit, 8px));width:calc(8 * var(--base-unit, 8px) + 100%);height:1px;background-color:var(--border, #d6d6d6)}.spg-theme-builder-root .spg-panel__content .spg-panel__content>.spg-row:first-of-type{margin-top:0}.spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content{padding-bottom:0}.spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content::after{content:none}.spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content .spg-row{margin-top:calc(1 * var(--base-unit, 8px))}.spg-theme-builder-root .spg-panel__content .spg-panel__content .spg-panel__content .spg-row:first-of-type{margin-top:0}.spg-theme-builder-root .spg-panel__content .spg-row:last-of-type .spg-panel__content{padding-bottom:0}.spg-theme-builder-root .spg-panel__content .spg-row:last-of-type .spg-panel__content::after{content:none}.spg-boolean-wrapper--overriding.spg-boolean-wrapper--overriding{min-width:0;flex:0 0 max-content}.spg-link-wrapper--overriding{align-self:end}.spg-link-wrapper--overriding .svc-action-button{text-decoration:underline;padding:0;border:none;margin:0}.spg-link-wrapper--overriding .svc-action-button:focus,.spg-link-wrapper--overriding .svc-action-button:hover{background-color:transparent}.spg-root-modern{width:100%;border-right:1px solid var(--border, #d6d6d6);box-sizing:border-box}.sv-popup--modal{padding:calc(4 * var(--base-unit, 8px))}.sv-popup--modal.sv-property-editor .sv-popup__container .sv-popup_shadow{background-color:transparent}.sv-popup--modal.sv-property-editor .sv-popup__container .sd-root-modern{background-color:transparent}.sv-popup--modal.sv-property-editor .sv-popup__container .sd-page{margin:0;padding:0}.sv-popup--modal .sv-popup__footer{padding-bottom:2px}.sv-popup--modal .sd-body,.sv-popup--modal .sl-body{min-width:calc(78 * var(--base-unit, 8px))}.sv-popup.sv-property-editor .sd-root-modern{--sd-mobile-width: 0}.svc-object-selector .sv-popup__container{margin-left:calc(1 * var(--base-unit, 8px));margin-right:calc(1 * var(--base-unit, 8px))}.svc-object-selector__content{position:relative;height:100%;min-height:0;display:flex;flex-direction:column}.spg-title .spg-action-bar{margin-top:calc(-1 * var(--base-unit, 8px));margin-bottom:calc(-1 * var(--base-unit, 8px));margin-right:1px}.spg-body{width:100%}.spg-body--empty{margin:calc(3 * var(--base-unit, 8px))}
|
|
80
80
|
|
|
81
81
|
.svc-text{font-family:var(--font-family);font-style:normal;font-weight:normal;color:var(--foreground, #161616)}.svc-text--normal{font-size:calc(2 * var(--base-unit, 8px));line-height:calc(3 * var(--base-unit, 8px))}.svc-text--small{font-size:calc(1.5 * var(--base-unit, 8px));line-height:calc(2 * var(--base-unit, 8px))}.svc-text--bold{font-weight:600}
|
|
82
82
|
|
package/survey-creator-core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.92
|
|
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
|
|
@@ -213,6 +213,7 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
213
213
|
};
|
|
214
214
|
SurveyElementAdornerBase.prototype.updateElementAllowOptions = function (options, operationsAllow) {
|
|
215
215
|
this.allowDragging = operationsAllow && options.allowDragging;
|
|
216
|
+
this.allowEditOption = (options.allowEdit == undefined || !!options.allowEdit);
|
|
216
217
|
this.updateActionVisibility("delete", operationsAllow && options.allowDelete);
|
|
217
218
|
this.updateActionVisibility("duplicate", operationsAllow && options.allowCopy);
|
|
218
219
|
var settingsVisibility = (options.allowEdit !== undefined) ? (operationsAllow && options.allowEdit) : this.creator.sidebar.flyoutMode;
|
|
@@ -277,7 +278,7 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
277
278
|
};
|
|
278
279
|
Object.defineProperty(SurveyElementAdornerBase.prototype, "allowEdit", {
|
|
279
280
|
get: function () {
|
|
280
|
-
return !!this.creator && !this.creator.readOnly;
|
|
281
|
+
return !!this.creator && !this.creator.readOnly && this.allowEditOption;
|
|
281
282
|
},
|
|
282
283
|
enumerable: false,
|
|
283
284
|
configurable: true
|
|
@@ -1988,7 +1989,7 @@ var QuestionImageAdornerViewModel = /** @class */ (function (_super) {
|
|
|
1988
1989
|
var _this = this;
|
|
1989
1990
|
this.filePresentationModel = survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].createClass("file", { name: this.question.name });
|
|
1990
1991
|
this.filePresentationModel.setSurveyImpl(this.question.getSurvey());
|
|
1991
|
-
this.filePresentationModel.forceIsInputReadOnly =
|
|
1992
|
+
this.filePresentationModel.forceIsInputReadOnly = !this.creator.isCanModifyProperty(this.question, "imageLink");
|
|
1992
1993
|
this.filePresentationModel.dragAreaPlaceholder = this.placeholderText;
|
|
1993
1994
|
this.filePresentationModel.chooseButtonCaption = this.chooseImageText;
|
|
1994
1995
|
this.filePresentationModel.acceptedTypes = "image/*";
|
|
@@ -2403,6 +2404,27 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
2403
2404
|
enumerable: false,
|
|
2404
2405
|
configurable: true
|
|
2405
2406
|
});
|
|
2407
|
+
Object.defineProperty(QuestionAdornerViewModel.prototype, "isUsingCarryForward", {
|
|
2408
|
+
get: function () {
|
|
2409
|
+
var _a;
|
|
2410
|
+
return (_a = this.element) === null || _a === void 0 ? void 0 : _a.isUsingCarryForward;
|
|
2411
|
+
},
|
|
2412
|
+
enumerable: false,
|
|
2413
|
+
configurable: true
|
|
2414
|
+
});
|
|
2415
|
+
QuestionAdornerViewModel.prototype.createCarryForwardParams = function () {
|
|
2416
|
+
var _this = this;
|
|
2417
|
+
var _a;
|
|
2418
|
+
if (!this.isUsingCarryForward)
|
|
2419
|
+
return null;
|
|
2420
|
+
var name = (_a = this.element) === null || _a === void 0 ? void 0 : _a.choicesFromQuestion;
|
|
2421
|
+
if (!name)
|
|
2422
|
+
return null;
|
|
2423
|
+
var question = this.creator.survey.getQuestionByName(name);
|
|
2424
|
+
if (!question)
|
|
2425
|
+
return null;
|
|
2426
|
+
return { question: question, text: this.creator.getLocString("ed.carryForwardChoicesCopied"), onClick: function () { _this.creator.selectElement(question); } };
|
|
2427
|
+
};
|
|
2406
2428
|
QuestionAdornerViewModel.prototype.dispose = function () {
|
|
2407
2429
|
this.surveyElement.unRegisterFunctionOnPropertyValueChanged("isRequired", "isRequiredAdorner");
|
|
2408
2430
|
this.surveyElement.unRegisterFunctionOnPropertyValueChanged("inputType", "inputTypeAdorner");
|
|
@@ -4055,7 +4077,7 @@ var StringEditorViewModelBase = /** @class */ (function (_super) {
|
|
|
4055
4077
|
}
|
|
4056
4078
|
};
|
|
4057
4079
|
StringEditorViewModelBase.prototype.onKeyDown = function (event) {
|
|
4058
|
-
if (event.keyCode === 13) {
|
|
4080
|
+
if (event.keyCode === 13 && (this.editAsText || !event.shiftKey)) {
|
|
4059
4081
|
this.blurEditor();
|
|
4060
4082
|
if (!event.ctrlKey && !event.metaKey) {
|
|
4061
4083
|
this.connector.onEditComplete.fire(this, {});
|
|
@@ -9739,10 +9761,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_1__["ComponentCollection"].Instance.add({
|
|
|
9739
9761
|
showInToolbox: false,
|
|
9740
9762
|
questionJSON: {
|
|
9741
9763
|
"type": "paneldynamic",
|
|
9742
|
-
"panelCount": 1,
|
|
9743
|
-
//temp
|
|
9744
|
-
"maxPanelCount": 1,
|
|
9745
9764
|
"minPanelCount": 1,
|
|
9765
|
+
"panelAddText": Object(_editorLocalization__WEBPACK_IMPORTED_MODULE_0__["getLocString"])("theme.boxShadowAddRule"),
|
|
9746
9766
|
"templateElements": [
|
|
9747
9767
|
{
|
|
9748
9768
|
"type": "spinedit",
|
|
@@ -18446,7 +18466,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18446
18466
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
18447
18467
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_70___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_70__);
|
|
18448
18468
|
var Version;
|
|
18449
|
-
Version = "" + "1.9.
|
|
18469
|
+
Version = "" + "1.9.92";
|
|
18450
18470
|
//should be loaded before other styles for easier override
|
|
18451
18471
|
__webpack_require__(/*! ../utils/context-button.scss */ "./src/utils/context-button.scss");
|
|
18452
18472
|
|
|
@@ -18535,7 +18555,7 @@ __webpack_require__(/*! ../utils/design.scss */ "./src/utils/design.scss");
|
|
|
18535
18555
|
__webpack_require__(/*! ../utils/layout.scss */ "./src/utils/layout.scss");
|
|
18536
18556
|
|
|
18537
18557
|
survey_core__WEBPACK_IMPORTED_MODULE_70__["settings"].supportCreatorV2 = true;
|
|
18538
|
-
Object(survey_core__WEBPACK_IMPORTED_MODULE_70__["checkLibraryVersion"])("" + "1.9.
|
|
18558
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_70__["checkLibraryVersion"])("" + "1.9.92", "survey-creator-core");
|
|
18539
18559
|
|
|
18540
18560
|
|
|
18541
18561
|
/***/ }),
|
|
@@ -20730,6 +20750,7 @@ var enStrings = {
|
|
|
20730
20750
|
underline: "Underline",
|
|
20731
20751
|
addNewQuestion: "Add Question",
|
|
20732
20752
|
selectPage: "Select page...",
|
|
20753
|
+
carryForwardChoicesCopied: "Choices are copied from",
|
|
20733
20754
|
htmlPlaceHolder: "HTML content will be here.",
|
|
20734
20755
|
panelPlaceHolder: "Drop a question from the toolbox here.",
|
|
20735
20756
|
surveyPlaceHolder: "The survey is empty. Drag an element from the toolbox or click the button below.",
|
|
@@ -20863,6 +20884,7 @@ var enStrings = {
|
|
|
20863
20884
|
assistantTitle: "Available questions",
|
|
20864
20885
|
cellsEmptyRowsColumns: "There is should be at least one column or row",
|
|
20865
20886
|
showPreviewBeforeComplete: "Preview answers before submitting the survey",
|
|
20887
|
+
overridingPropertyPrefix: "Set by ",
|
|
20866
20888
|
propertyIsEmpty: "Please enter a value",
|
|
20867
20889
|
propertyIsNoUnique: "Please enter a unique value",
|
|
20868
20890
|
propertyNameIsNotUnique: "Please enter a unique name",
|
|
@@ -21594,11 +21616,12 @@ var enStrings = {
|
|
|
21594
21616
|
pageDescription: "Page Description Font",
|
|
21595
21617
|
boxShadowX: "X",
|
|
21596
21618
|
boxShadowY: "Y",
|
|
21619
|
+
boxShadowAddRule: "Add More Shadow Effect",
|
|
21597
21620
|
opacity: "Opacity",
|
|
21598
21621
|
boxShadowBlur: "Blur",
|
|
21599
21622
|
boxShadowSpread: "Spread",
|
|
21600
21623
|
questionShadow: "Question Panel Border / Shadow",
|
|
21601
|
-
editorShadow: "Editor Border / Shadow"
|
|
21624
|
+
editorShadow: "Editor Border / Shadow",
|
|
21602
21625
|
},
|
|
21603
21626
|
};
|
|
21604
21627
|
// Uncomment the line below if you create a custom dictionary.
|
|
@@ -22328,8 +22351,8 @@ var propertyGridCss = {
|
|
|
22328
22351
|
root: "spg-paneldynamic",
|
|
22329
22352
|
navigation: "spg-paneldynamic__navigation",
|
|
22330
22353
|
title: "spg-title spg-question__title",
|
|
22331
|
-
button: "spg-
|
|
22332
|
-
buttonRemove: "spg-
|
|
22354
|
+
button: "spg-action-button spg-action-button--text",
|
|
22355
|
+
buttonRemove: "spg-action-button--danger",
|
|
22333
22356
|
buttonAdd: "spg-paneldynamic__add-btn",
|
|
22334
22357
|
progressTop: "spg-paneldynamic__progress spg-paneldynamic__progress--top",
|
|
22335
22358
|
progressBottom: "spg-paneldynamic__progress spg-paneldynamic__progress--bottom",
|
|
@@ -22339,6 +22362,7 @@ var propertyGridCss = {
|
|
|
22339
22362
|
progress: "spg-progress",
|
|
22340
22363
|
progressBar: "spg-progress__bar",
|
|
22341
22364
|
progressText: "spg-paneldynamic__progress-text",
|
|
22365
|
+
panelFooter: "spg-panel__footer",
|
|
22342
22366
|
separator: "spg-paneldynamic__separator"
|
|
22343
22367
|
},
|
|
22344
22368
|
progress: "spg-progress spg-body__progress",
|
|
@@ -24361,7 +24385,13 @@ function propertyVisibleIf(params) {
|
|
|
24361
24385
|
return false;
|
|
24362
24386
|
return this.question.property.visibleIf(this.question.obj);
|
|
24363
24387
|
}
|
|
24388
|
+
function propertyEnableIf(params) {
|
|
24389
|
+
if (!this.question || !this.question.obj || !this.question.property)
|
|
24390
|
+
return false;
|
|
24391
|
+
return !this.question.obj[this.question.property.overridingProperty];
|
|
24392
|
+
}
|
|
24364
24393
|
survey_core__WEBPACK_IMPORTED_MODULE_1__["FunctionFactory"].Instance.register("propertyVisibleIf", propertyVisibleIf);
|
|
24394
|
+
survey_core__WEBPACK_IMPORTED_MODULE_1__["FunctionFactory"].Instance.register("propertyEnableIf", propertyEnableIf);
|
|
24365
24395
|
function setSurveyJSONForPropertyGrid(json, updateOnTyping, titleLocationLeft) {
|
|
24366
24396
|
if (updateOnTyping === void 0) { updateOnTyping = true; }
|
|
24367
24397
|
if (titleLocationLeft === void 0) { titleLocationLeft = true; }
|
|
@@ -24686,10 +24716,21 @@ var PropertyJSONGenerator = /** @class */ (function () {
|
|
|
24686
24716
|
q.obj = this.obj;
|
|
24687
24717
|
q.options = this.options;
|
|
24688
24718
|
var eventVisibility = this.getVisibilityOnEvent(prop);
|
|
24689
|
-
|
|
24719
|
+
var eventReadOnly = this.isPropertyReadOnly(prop);
|
|
24720
|
+
q.readOnly = q.readOnly || eventReadOnly;
|
|
24690
24721
|
q.visible = q.visible && eventVisibility;
|
|
24691
|
-
if (!!prop.visibleIf) {
|
|
24692
|
-
q.visibleIf =
|
|
24722
|
+
if (!!prop.visibleIf && eventVisibility) {
|
|
24723
|
+
q.visibleIf = "propertyVisibleIf() = true";
|
|
24724
|
+
}
|
|
24725
|
+
if (!!prop.overridingProperty) {
|
|
24726
|
+
q.onUpdateCssClassesCallback = function (css) {
|
|
24727
|
+
css.questionWrapper = "spg-boolean-wrapper--overriding";
|
|
24728
|
+
};
|
|
24729
|
+
if (!eventReadOnly) {
|
|
24730
|
+
q.enableIf = "propertyEnableIf() = true";
|
|
24731
|
+
}
|
|
24732
|
+
var overridingQuestion = this.createOverridingQuestion(panel, q, prop.overridingProperty);
|
|
24733
|
+
q.parent.addElement(overridingQuestion, q.parent.elements.indexOf(q) + 1);
|
|
24693
24734
|
}
|
|
24694
24735
|
q.descriptionLocation = "hidden";
|
|
24695
24736
|
var helpText = _editorLocalization__WEBPACK_IMPORTED_MODULE_2__["editorLocalization"].getPropertyHelpInEditor(this.obj.getType(), prop.name, prop.type);
|
|
@@ -24707,6 +24748,27 @@ var PropertyJSONGenerator = /** @class */ (function () {
|
|
|
24707
24748
|
PropertyJSONGenerator.prototype.isPropertyReadOnly = function (prop) {
|
|
24708
24749
|
return PropertyJSONGenerator.isPropertyReadOnly(prop, this.options, this.obj, this.parentObj, this.parentProperty);
|
|
24709
24750
|
};
|
|
24751
|
+
PropertyJSONGenerator.prototype.createOverridingQuestion = function (panel, question, overridingProp) {
|
|
24752
|
+
var linkValue = survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].createClass("linkvalue");
|
|
24753
|
+
linkValue.name = question.name + "_" + "overridingProperty";
|
|
24754
|
+
linkValue.startWithNewLine = false;
|
|
24755
|
+
linkValue.property = question.property;
|
|
24756
|
+
linkValue.obj = question.obj;
|
|
24757
|
+
linkValue.visibleIf = "propertyEnableIf() = false";
|
|
24758
|
+
var overridingQuestion = panel.getQuestionByName(overridingProp);
|
|
24759
|
+
var text = !!overridingQuestion ? overridingQuestion.title : overridingProp;
|
|
24760
|
+
linkValue.linkValueText = _editorLocalization__WEBPACK_IMPORTED_MODULE_2__["editorLocalization"].getString("pe.overridingPropertyPrefix") + text;
|
|
24761
|
+
linkValue.titleLocation = "hidden";
|
|
24762
|
+
linkValue.onUpdateCssClassesCallback = function (css) {
|
|
24763
|
+
css.questionWrapper = "spg-link-wrapper--overriding";
|
|
24764
|
+
};
|
|
24765
|
+
if (!!overridingQuestion) {
|
|
24766
|
+
linkValue.linkClickCallback = function () {
|
|
24767
|
+
overridingQuestion.focus();
|
|
24768
|
+
};
|
|
24769
|
+
}
|
|
24770
|
+
return linkValue;
|
|
24771
|
+
};
|
|
24710
24772
|
PropertyJSONGenerator.prototype.getClasPropName = function () {
|
|
24711
24773
|
if (!!this.parentObj && !!this.parentProperty)
|
|
24712
24774
|
return this.parentProperty.name;
|
|
@@ -25323,18 +25385,27 @@ var PropertyGridEditor = /** @class */ (function () {
|
|
|
25323
25385
|
PropertyGridEditor.prototype.isSupportGrouping = function () {
|
|
25324
25386
|
return false;
|
|
25325
25387
|
};
|
|
25326
|
-
PropertyGridEditor.prototype.
|
|
25327
|
-
if (!this.isSupportGrouping())
|
|
25328
|
-
return;
|
|
25329
|
-
var question = options.question;
|
|
25388
|
+
PropertyGridEditor.prototype.hasPreviousElementForGrouping = function (question) {
|
|
25330
25389
|
if (!question || !question.parent)
|
|
25331
|
-
return;
|
|
25390
|
+
return false;
|
|
25332
25391
|
var index = question.parent.elements.indexOf(question);
|
|
25333
25392
|
if (index < 1)
|
|
25334
25393
|
return;
|
|
25335
|
-
|
|
25394
|
+
var prevElement = question.parent.elements[index - 1];
|
|
25395
|
+
var prevPrevElement = question.parent.elements[index - 2];
|
|
25396
|
+
if (prevElement.getType() === question.getType())
|
|
25397
|
+
return true;
|
|
25398
|
+
//in case of overriding property
|
|
25399
|
+
if (index > 1 && !prevElement.startWithNewLine && prevPrevElement["property"] === prevElement["property"] && prevPrevElement.getType() === question.getType())
|
|
25400
|
+
return true;
|
|
25401
|
+
return false;
|
|
25402
|
+
};
|
|
25403
|
+
PropertyGridEditor.prototype.onUpdateQuestionCssClasses = function (obj, options) {
|
|
25404
|
+
if (!this.isSupportGrouping())
|
|
25336
25405
|
return;
|
|
25337
|
-
options.
|
|
25406
|
+
if (this.hasPreviousElementForGrouping(options.question)) {
|
|
25407
|
+
options.cssClasses.mainRoot += " spg-row-narrow__question";
|
|
25408
|
+
}
|
|
25338
25409
|
};
|
|
25339
25410
|
return PropertyGridEditor;
|
|
25340
25411
|
}());
|