legalesign-document-viewer 0.7.3 → 0.7.4
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/dist/cjs/index-Czv4Oowx.js +2010 -0
- package/dist/cjs/index-Czv4Oowx.js.map +1 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/ls-compose-manager.cjs.entry.js +26 -0
- package/dist/cjs/ls-document-options_45.cjs.entry.js +51720 -0
- package/dist/cjs/ls-document-viewer.cjs.js +27 -0
- package/dist/cjs/ls-document-viewer.cjs.js.map +1 -0
- package/dist/cjs/ls-field-properties-dropdown.cjs.entry.js +19 -0
- package/dist/cjs/ls-formfield.cjs.entry.js +160 -0
- package/dist/cjs/ls-number-input_5.cjs.entry.js +1129 -0
- package/dist/cjs/ls-title-input.cjs.entry.js +49 -0
- package/dist/collection/collection-manifest.json +65 -0
- package/dist/collection/components/interfaces/IToolboxField.js +2 -0
- package/dist/collection/components/interfaces/IToolboxField.js.map +1 -0
- package/dist/collection/components/ls-compose-manager/ls-compose-manager.css +3 -0
- package/dist/collection/components/ls-compose-manager/ls-compose-manager.js +54 -0
- package/dist/collection/components/ls-compose-manager/ls-compose-manager.js.map +1 -0
- package/dist/collection/components/ls-document-options/ls-document-options.css +386 -0
- package/dist/collection/components/ls-document-options/ls-document-options.js +163 -0
- package/dist/collection/components/ls-document-options/ls-document-options.js.map +1 -0
- package/dist/collection/components/ls-document-viewer/adapter/LsDocumentAdapter.js +89 -0
- package/dist/collection/components/ls-document-viewer/adapter/LsDocumentAdapter.js.map +1 -0
- package/dist/collection/components/ls-document-viewer/adapter/elementActions.js +72 -0
- package/dist/collection/components/ls-document-viewer/adapter/elementActions.js.map +1 -0
- package/dist/collection/components/ls-document-viewer/adapter/groupActions.js +96 -0
- package/dist/collection/components/ls-document-viewer/adapter/groupActions.js.map +1 -0
- package/dist/collection/components/ls-document-viewer/adapter/parameters.js +16 -0
- package/dist/collection/components/ls-document-viewer/adapter/parameters.js.map +1 -0
- package/dist/collection/components/ls-document-viewer/adapter/roleActions.js +70 -0
- package/dist/collection/components/ls-document-viewer/adapter/roleActions.js.map +1 -0
- package/dist/collection/components/ls-document-viewer/adapter/templateActions.js +95 -0
- package/dist/collection/components/ls-document-viewer/adapter/templateActions.js.map +1 -0
- package/dist/collection/components/ls-document-viewer/defaultFieldIcons.js +20 -0
- package/dist/collection/components/ls-document-viewer/defaultFieldIcons.js.map +1 -0
- package/dist/{ls-document-viewer/defaultFieldLabels-CUaKk41L.js → collection/components/ls-document-viewer/defaultFieldLabels.js} +7 -11
- package/dist/collection/components/ls-document-viewer/defaultFieldLabels.js.map +1 -0
- package/dist/{ls-document-viewer/defaultPalette-CwCWCxsI.js → collection/components/ls-document-viewer/defaultPalette.js} +2 -6
- package/dist/collection/components/ls-document-viewer/defaultPalette.js.map +1 -0
- package/dist/collection/components/ls-document-viewer/editorCalculator.js +133 -0
- package/dist/collection/components/ls-document-viewer/editorCalculator.js.map +1 -0
- package/dist/collection/components/ls-document-viewer/editorUtils.js +210 -0
- package/dist/collection/components/ls-document-viewer/editorUtils.js.map +1 -0
- package/dist/collection/components/ls-document-viewer/keyHandlers.js +76 -0
- package/dist/collection/components/ls-document-viewer/keyHandlers.js.map +1 -0
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.css +688 -0
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +1294 -0
- package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -0
- package/dist/{ls-document-viewer/mouseHandlers-ng8CZPvb.js → collection/components/ls-document-viewer/mouseHandlers.js} +10 -15
- package/dist/collection/components/ls-document-viewer/mouseHandlers.js.map +1 -0
- package/dist/collection/components/ls-document-viewer/validator.js +51 -0
- package/dist/collection/components/ls-document-viewer/validator.js.map +1 -0
- package/dist/collection/components/ls-editor-field/ls-editor-field.css +89 -0
- package/dist/collection/components/ls-editor-field/ls-editor-field.js +468 -0
- package/dist/collection/components/ls-editor-field/ls-editor-field.js.map +1 -0
- package/dist/collection/components/ls-editor-table/ls-editor-table.css +16 -0
- package/dist/collection/components/ls-editor-table/ls-editor-table.js +69 -0
- package/dist/collection/components/ls-editor-table/ls-editor-table.js.map +1 -0
- package/dist/collection/components/ls-feature-column/ls-feature-column.css +27 -0
- package/dist/collection/components/ls-feature-column/ls-feature-column.js +114 -0
- package/dist/collection/components/ls-feature-column/ls-feature-column.js.map +1 -0
- package/dist/collection/components/ls-field-alignment/ls-field-alignment.css +370 -0
- package/dist/collection/components/ls-field-alignment/ls-field-alignment.js +208 -0
- package/dist/collection/components/ls-field-alignment/ls-field-alignment.js.map +1 -0
- package/dist/collection/components/ls-field-content/ls-field-content.css +288 -0
- package/dist/collection/components/ls-field-content/ls-field-content.js +141 -0
- package/dist/collection/components/ls-field-content/ls-field-content.js.map +1 -0
- package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.css +353 -0
- package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.js +141 -0
- package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.js.map +1 -0
- package/dist/collection/components/ls-field-distribute/ls-field-distribute.css +376 -0
- package/dist/collection/components/ls-field-distribute/ls-field-distribute.js +213 -0
- package/dist/collection/components/ls-field-distribute/ls-field-distribute.js.map +1 -0
- package/dist/collection/components/ls-field-footer/ls-field-footer.css +55 -0
- package/dist/collection/components/ls-field-footer/ls-field-footer.js +145 -0
- package/dist/collection/components/ls-field-footer/ls-field-footer.js.map +1 -0
- package/dist/collection/components/ls-field-format/ls-field-format.css +297 -0
- package/dist/collection/components/ls-field-format/ls-field-format.js +145 -0
- package/dist/collection/components/ls-field-format/ls-field-format.js.map +1 -0
- package/dist/collection/components/ls-field-placement/ls-field-placement.css +370 -0
- package/dist/collection/components/ls-field-placement/ls-field-placement.js +121 -0
- package/dist/collection/components/ls-field-placement/ls-field-placement.js.map +1 -0
- package/dist/collection/components/ls-field-properties/ls-field-properties.css +286 -0
- package/dist/collection/components/ls-field-properties/ls-field-properties.js +83 -0
- package/dist/collection/components/ls-field-properties/ls-field-properties.js.map +1 -0
- package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.css +391 -0
- package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js +144 -0
- package/dist/collection/components/ls-field-properties-advanced/ls-field-properties-advanced.js.map +1 -0
- package/dist/collection/components/ls-field-properties-autosign/ls-field-properties-autosign.css +284 -0
- package/dist/collection/components/ls-field-properties-autosign/ls-field-properties-autosign.js +47 -0
- package/dist/collection/components/ls-field-properties-autosign/ls-field-properties-autosign.js.map +1 -0
- package/dist/collection/components/ls-field-properties-container/ls-field-properties-container.css +65 -0
- package/dist/collection/components/ls-field-properties-container/ls-field-properties-container.js +91 -0
- package/dist/collection/components/ls-field-properties-container/ls-field-properties-container.js.map +1 -0
- package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.css +302 -0
- package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.js +47 -0
- package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.js.map +1 -0
- package/dist/collection/components/ls-field-properties-dropdown/ls-field-properties-dropdown.css +3 -0
- package/dist/collection/components/ls-field-properties-dropdown/ls-field-properties-dropdown.js +47 -0
- package/dist/collection/components/ls-field-properties-dropdown/ls-field-properties-dropdown.js.map +1 -0
- package/dist/collection/components/ls-field-properties-email/ls-field-properties-email.css +304 -0
- package/dist/collection/components/ls-field-properties-email/ls-field-properties-email.js +47 -0
- package/dist/collection/components/ls-field-properties-email/ls-field-properties-email.js.map +1 -0
- package/dist/collection/components/ls-field-properties-file/ls-field-properties-file.css +304 -0
- package/dist/collection/components/ls-field-properties-file/ls-field-properties-file.js +47 -0
- package/dist/collection/components/ls-field-properties-file/ls-field-properties-file.js.map +1 -0
- package/dist/collection/components/ls-field-properties-general/ls-field-properties-general.css +304 -0
- package/dist/collection/components/ls-field-properties-general/ls-field-properties-general.js +47 -0
- package/dist/collection/components/ls-field-properties-general/ls-field-properties-general.js.map +1 -0
- package/dist/collection/components/ls-field-properties-image/ls-field-properties-image.css +304 -0
- package/dist/collection/components/ls-field-properties-image/ls-field-properties-image.js +47 -0
- package/dist/collection/components/ls-field-properties-image/ls-field-properties-image.js.map +1 -0
- package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.css +459 -0
- package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js +148 -0
- package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js.map +1 -0
- package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.css +304 -0
- package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.js +47 -0
- package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.js.map +1 -0
- package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.css +304 -0
- package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js +47 -0
- package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js.map +1 -0
- package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.css +301 -0
- package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.js +47 -0
- package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.js.map +1 -0
- package/dist/collection/components/ls-field-size/ls-field-size.css +376 -0
- package/dist/collection/components/ls-field-size/ls-field-size.js +87 -0
- package/dist/collection/components/ls-field-size/ls-field-size.js.map +1 -0
- package/dist/collection/components/ls-field-type-display/ls-field-type-display.css +35 -0
- package/dist/collection/components/ls-field-type-display/ls-field-type-display.js +75 -0
- package/dist/collection/components/ls-field-type-display/ls-field-type-display.js.map +1 -0
- package/dist/collection/components/ls-formfield/inputs/ls-number-input/ls-number-input.css +273 -0
- package/dist/collection/components/ls-formfield/inputs/ls-number-input/ls-number-input.js +336 -0
- package/dist/collection/components/ls-formfield/inputs/ls-number-input/ls-number-input.js.map +1 -0
- package/dist/collection/components/ls-formfield/inputs/ls-radio-input/ls-radio-input.css +69 -0
- package/dist/collection/components/ls-formfield/inputs/ls-radio-input/ls-radio-input.js +172 -0
- package/dist/collection/components/ls-formfield/inputs/ls-radio-input/ls-radio-input.js.map +1 -0
- package/dist/collection/components/ls-formfield/inputs/ls-select-input/ls-select-input.css +228 -0
- package/dist/collection/components/ls-formfield/inputs/ls-select-input/ls-select-input.js +288 -0
- package/dist/collection/components/ls-formfield/inputs/ls-select-input/ls-select-input.js.map +1 -0
- package/dist/collection/components/ls-formfield/inputs/ls-text-input/ls-text-input.css +218 -0
- package/dist/collection/components/ls-formfield/inputs/ls-text-input/ls-text-input.js +365 -0
- package/dist/collection/components/ls-formfield/inputs/ls-text-input/ls-text-input.js.map +1 -0
- package/dist/collection/components/ls-formfield/inputs/ls-textarea-input/ls-textarea-input.css +208 -0
- package/dist/collection/components/ls-formfield/inputs/ls-textarea-input/ls-textarea-input.js +326 -0
- package/dist/collection/components/ls-formfield/inputs/ls-textarea-input/ls-textarea-input.js.map +1 -0
- package/dist/collection/components/ls-formfield/ls-formfield.css +98 -0
- package/dist/collection/components/ls-formfield/ls-formfield.js +546 -0
- package/dist/collection/components/ls-formfield/ls-formfield.js.map +1 -0
- package/dist/collection/components/ls-helper-bar/ls-helper-bar.css +33 -0
- package/dist/collection/components/ls-helper-bar/ls-helper-bar.js +71 -0
- package/dist/collection/components/ls-helper-bar/ls-helper-bar.js.map +1 -0
- package/dist/collection/components/ls-icon/icons.js +6639 -0
- package/dist/collection/components/ls-icon/icons.js.map +1 -0
- package/dist/collection/components/ls-icon/ls-icon.js +145 -0
- package/dist/collection/components/ls-icon/ls-icon.js.map +1 -0
- package/dist/collection/components/ls-input-wrapper/ls-input-wrapper.css +29 -0
- package/dist/collection/components/ls-input-wrapper/ls-input-wrapper.js +70 -0
- package/dist/collection/components/ls-input-wrapper/ls-input-wrapper.js.map +1 -0
- package/dist/collection/components/ls-keyboard-shortcuts/ls-keyboard-shortcuts.css +45 -0
- package/dist/collection/components/ls-keyboard-shortcuts/ls-keyboard-shortcuts.js +19 -0
- package/dist/collection/components/ls-keyboard-shortcuts/ls-keyboard-shortcuts.js.map +1 -0
- package/dist/collection/components/ls-page-loader/ls-page-loader.css +20 -0
- package/dist/{ls-document-viewer/ls-page-loader.entry.js → collection/components/ls-page-loader/ls-page-loader.js} +18 -15
- package/dist/collection/components/ls-page-loader/ls-page-loader.js.map +1 -0
- package/dist/collection/components/ls-participant-card/ls-participant-card.css +430 -0
- package/dist/collection/components/ls-participant-card/ls-participant-card.js +280 -0
- package/dist/collection/components/ls-participant-card/ls-participant-card.js.map +1 -0
- package/dist/collection/components/ls-participant-manager/ls-participant-manager.css +350 -0
- package/dist/collection/components/ls-participant-manager/ls-participant-manager.js +190 -0
- package/dist/collection/components/ls-participant-manager/ls-participant-manager.js.map +1 -0
- package/dist/collection/components/ls-participant-select/ls-participant-select.css +431 -0
- package/dist/collection/components/ls-participant-select/ls-participant-select.js +198 -0
- package/dist/collection/components/ls-participant-select/ls-participant-select.js.map +1 -0
- package/dist/collection/components/ls-props-section/ls-props-section.css +42 -0
- package/dist/collection/components/ls-props-section/ls-props-section.js +84 -0
- package/dist/collection/components/ls-props-section/ls-props-section.js.map +1 -0
- package/dist/collection/components/ls-recipient-card/ls-recipient-card.css +464 -0
- package/dist/collection/components/ls-recipient-card/ls-recipient-card.js +299 -0
- package/dist/collection/components/ls-recipient-card/ls-recipient-card.js.map +1 -0
- package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.css +29 -0
- package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.js +19 -0
- package/dist/collection/components/ls-recipient-manager/ls-recipient-manager.js.map +1 -0
- package/dist/collection/components/ls-statusbar/ls-statusbar.css +212 -0
- package/dist/collection/components/ls-statusbar/ls-statusbar.js +143 -0
- package/dist/collection/components/ls-statusbar/ls-statusbar.js.map +1 -0
- package/dist/collection/components/ls-title-input/ls-title-input.css +320 -0
- package/dist/collection/components/ls-title-input/ls-title-input.js +106 -0
- package/dist/collection/components/ls-title-input/ls-title-input.js.map +1 -0
- package/dist/collection/components/ls-toggle/ls-toggle.css +90 -0
- package/dist/collection/components/ls-toggle/ls-toggle.js +86 -0
- package/dist/collection/components/ls-toggle/ls-toggle.js.map +1 -0
- package/dist/collection/components/ls-toolbar/ls-toolbar.css +303 -0
- package/dist/collection/components/ls-toolbar/ls-toolbar.js +215 -0
- package/dist/collection/components/ls-toolbar/ls-toolbar.js.map +1 -0
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.css +329 -0
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js +381 -0
- package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js.map +1 -0
- package/dist/collection/components/ls-tooltip/ls-tooltip.css +55 -0
- package/dist/collection/components/ls-tooltip/ls-tooltip.js +205 -0
- package/dist/collection/components/ls-tooltip/ls-tooltip.js.map +1 -0
- package/dist/collection/components/ls-validation-manager/ls-validation-manager.css +159 -0
- package/dist/collection/components/ls-validation-manager/ls-validation-manager.js +63 -0
- package/dist/collection/components/ls-validation-manager/ls-validation-manager.js.map +1 -0
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.css +232 -0
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.js +170 -0
- package/dist/collection/components/ls-validation-tag/ls-validation-tag.js.map +1 -0
- package/dist/collection/index.js +11 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/types/Icon.js +369 -0
- package/dist/collection/types/Icon.js.map +1 -0
- package/dist/collection/types/LSApiElement.js +2 -0
- package/dist/collection/types/LSApiElement.js.map +1 -0
- package/dist/collection/types/LSApiElementType.js +16 -0
- package/dist/collection/types/LSApiElementType.js.map +1 -0
- package/dist/collection/types/LSApiRecipient.js +2 -0
- package/dist/collection/types/LSApiRecipient.js.map +1 -0
- package/dist/collection/types/LSApiRole.js +2 -0
- package/dist/collection/types/LSApiRole.js.map +1 -0
- package/dist/collection/types/LSApiTemplate.js +2 -0
- package/dist/collection/types/LSApiTemplate.js.map +1 -0
- package/dist/collection/types/LSMutateEvent.js +2 -0
- package/dist/collection/types/LSMutateEvent.js.map +1 -0
- package/dist/collection/types/RoleColor.js +2 -0
- package/dist/collection/types/RoleColor.js.map +1 -0
- package/dist/collection/types/ValidationError.js +2 -0
- package/dist/collection/types/ValidationError.js.map +1 -0
- package/dist/collection/types/ValidationType.js +2 -0
- package/dist/collection/types/ValidationType.js.map +1 -0
- package/dist/collection/utils/tooltip.js +28 -0
- package/dist/collection/utils/tooltip.js.map +1 -0
- package/dist/collection/utils/utils.js +4 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/components/index.js +10 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/ls-compose-manager.js +49 -0
- package/dist/components/ls-compose-manager.js.map +1 -0
- package/dist/components/ls-document-options.js +9 -0
- package/dist/components/ls-document-options.js.map +1 -0
- package/dist/{ls-document-viewer/ls-document-viewer.entry.js → components/ls-document-viewer.js} +502 -879
- package/dist/components/ls-document-viewer.js.map +1 -0
- package/dist/components/ls-editor-field.js +9 -0
- package/dist/components/ls-editor-field.js.map +1 -0
- package/dist/components/ls-editor-table.js +9 -0
- package/dist/components/ls-editor-table.js.map +1 -0
- package/dist/components/ls-feature-column.js +9 -0
- package/dist/components/ls-feature-column.js.map +1 -0
- package/dist/components/ls-field-alignment.js +9 -0
- package/dist/components/ls-field-alignment.js.map +1 -0
- package/dist/components/ls-field-content.js +9 -0
- package/dist/components/ls-field-content.js.map +1 -0
- package/dist/components/ls-field-dimensions.js +9 -0
- package/dist/components/ls-field-dimensions.js.map +1 -0
- package/dist/components/ls-field-distribute.js +9 -0
- package/dist/components/ls-field-distribute.js.map +1 -0
- package/dist/components/ls-field-footer.js +9 -0
- package/dist/components/ls-field-footer.js.map +1 -0
- package/dist/components/ls-field-format.js +9 -0
- package/dist/components/ls-field-format.js.map +1 -0
- package/dist/components/ls-field-placement.js +9 -0
- package/dist/components/ls-field-placement.js.map +1 -0
- package/dist/components/ls-field-properties-advanced.js +9 -0
- package/dist/components/ls-field-properties-advanced.js.map +1 -0
- package/dist/components/ls-field-properties-autosign.js +9 -0
- package/dist/components/ls-field-properties-autosign.js.map +1 -0
- package/dist/components/ls-field-properties-container.js +9 -0
- package/dist/components/ls-field-properties-container.js.map +1 -0
- package/dist/components/ls-field-properties-date.js +9 -0
- package/dist/components/ls-field-properties-date.js.map +1 -0
- package/dist/components/ls-field-properties-dropdown.js +120 -0
- package/dist/components/ls-field-properties-dropdown.js.map +1 -0
- package/dist/components/ls-field-properties-email.js +9 -0
- package/dist/components/ls-field-properties-email.js.map +1 -0
- package/dist/components/ls-field-properties-file.js +9 -0
- package/dist/components/ls-field-properties-file.js.map +1 -0
- package/dist/components/ls-field-properties-general.js +9 -0
- package/dist/components/ls-field-properties-general.js.map +1 -0
- package/dist/components/ls-field-properties-image.js +9 -0
- package/dist/components/ls-field-properties-image.js.map +1 -0
- package/dist/components/ls-field-properties-multiple.js +9 -0
- package/dist/components/ls-field-properties-multiple.js.map +1 -0
- package/dist/components/ls-field-properties-number.js +9 -0
- package/dist/components/ls-field-properties-number.js.map +1 -0
- package/dist/components/ls-field-properties-signature.js +9 -0
- package/dist/components/ls-field-properties-signature.js.map +1 -0
- package/dist/components/ls-field-properties-text.js +9 -0
- package/dist/components/ls-field-properties-text.js.map +1 -0
- package/dist/components/ls-field-properties.js +9 -0
- package/dist/components/ls-field-properties.js.map +1 -0
- package/dist/components/ls-field-size.js +9 -0
- package/dist/components/ls-field-size.js.map +1 -0
- package/dist/components/ls-field-type-display.js +9 -0
- package/dist/components/ls-field-type-display.js.map +1 -0
- package/dist/components/ls-formfield.js +243 -0
- package/dist/components/ls-formfield.js.map +1 -0
- package/dist/components/ls-helper-bar.js +9 -0
- package/dist/components/ls-helper-bar.js.map +1 -0
- package/dist/components/ls-icon.js +9 -0
- package/dist/components/ls-icon.js.map +1 -0
- package/dist/components/ls-input-wrapper.js +9 -0
- package/dist/components/ls-input-wrapper.js.map +1 -0
- package/dist/components/ls-keyboard-shortcuts.js +9 -0
- package/dist/components/ls-keyboard-shortcuts.js.map +1 -0
- package/dist/components/ls-number-input.js +9 -0
- package/dist/components/ls-number-input.js.map +1 -0
- package/dist/components/ls-page-loader.js +9 -0
- package/dist/components/ls-page-loader.js.map +1 -0
- package/dist/components/ls-participant-card.js +9 -0
- package/dist/components/ls-participant-card.js.map +1 -0
- package/dist/components/ls-participant-manager.js +9 -0
- package/dist/components/ls-participant-manager.js.map +1 -0
- package/dist/components/ls-participant-select.js +9 -0
- package/dist/components/ls-participant-select.js.map +1 -0
- package/dist/components/ls-props-section.js +9 -0
- package/dist/components/ls-props-section.js.map +1 -0
- package/dist/components/ls-radio-input.js +9 -0
- package/dist/components/ls-radio-input.js.map +1 -0
- package/dist/components/ls-recipient-card.js +9 -0
- package/dist/components/ls-recipient-card.js.map +1 -0
- package/dist/components/ls-recipient-manager.js +9 -0
- package/dist/components/ls-recipient-manager.js.map +1 -0
- package/dist/components/ls-select-input.js +9 -0
- package/dist/components/ls-select-input.js.map +1 -0
- package/dist/components/ls-statusbar.js +9 -0
- package/dist/components/ls-statusbar.js.map +1 -0
- package/dist/components/ls-text-input.js +9 -0
- package/dist/components/ls-text-input.js.map +1 -0
- package/dist/components/ls-textarea-input.js +9 -0
- package/dist/components/ls-textarea-input.js.map +1 -0
- package/dist/components/ls-title-input.js +79 -0
- package/dist/components/ls-title-input.js.map +1 -0
- package/dist/components/ls-toggle.js +9 -0
- package/dist/components/ls-toggle.js.map +1 -0
- package/dist/components/ls-toolbar.js +9 -0
- package/dist/components/ls-toolbar.js.map +1 -0
- package/dist/components/ls-toolbox-field.js +9 -0
- package/dist/components/ls-toolbox-field.js.map +1 -0
- package/dist/components/ls-tooltip.js +9 -0
- package/dist/components/ls-tooltip.js.map +1 -0
- package/dist/components/ls-validation-manager.js +9 -0
- package/dist/components/ls-validation-manager.js.map +1 -0
- package/dist/components/ls-validation-tag.js +9 -0
- package/dist/components/ls-validation-tag.js.map +1 -0
- package/dist/{ls-document-viewer/ls-participant-card.entry.js → components/p-B4_-Y3Tc.js} +68 -19
- package/dist/components/p-B4_-Y3Tc.js.map +1 -0
- package/dist/components/p-B5cnJ7Uh.js +47 -0
- package/dist/components/p-B5cnJ7Uh.js.map +1 -0
- package/dist/{ls-document-viewer/ls-select-input.entry.js → components/p-B6kmJVw0.js} +48 -10
- package/dist/components/p-B6kmJVw0.js.map +1 -0
- package/dist/{ls-document-viewer/ls-field-footer.entry.js → components/p-BDTgDxaX.js} +37 -9
- package/dist/components/p-BDTgDxaX.js.map +1 -0
- package/dist/components/p-BFUdzGLI.js +48 -0
- package/dist/components/p-BFUdzGLI.js.map +1 -0
- package/dist/components/p-BKrsDBDB.js +219 -0
- package/dist/components/p-BKrsDBDB.js.map +1 -0
- package/dist/{ls-document-viewer/ls-field-properties-advanced.entry.js → components/p-BSpwN-xy.js} +45 -10
- package/dist/components/p-BSpwN-xy.js.map +1 -0
- package/dist/components/p-B_JOCgcw.js +105 -0
- package/dist/components/p-B_JOCgcw.js.map +1 -0
- package/dist/components/p-Baa34G0a.js +568 -0
- package/dist/components/p-Baa34G0a.js.map +1 -0
- package/dist/{ls-document-viewer/ls-document-options.entry.js → components/p-Bd5hHfVU.js} +53 -10
- package/dist/components/p-Bd5hHfVU.js.map +1 -0
- package/dist/components/p-BhZ5Udbm.js +1765 -0
- package/dist/components/p-BhZ5Udbm.js.map +1 -0
- package/dist/components/p-Bkyhs-9F.js +60 -0
- package/dist/components/p-Bkyhs-9F.js.map +1 -0
- package/dist/{ls-document-viewer/ls-number-input.entry.js → components/p-BrNFnrQ5.js} +51 -10
- package/dist/components/p-BrNFnrQ5.js.map +1 -0
- package/dist/{ls-document-viewer/ls-statusbar.entry.js → components/p-Bw19bxna.js} +62 -13
- package/dist/components/p-Bw19bxna.js.map +1 -0
- package/dist/components/p-C6pzA2Lp.js +59 -0
- package/dist/components/p-C6pzA2Lp.js.map +1 -0
- package/dist/{ls-document-viewer/ls-toolbox-field.entry.js → components/p-CI3IFKqK.js} +59 -14
- package/dist/components/p-CI3IFKqK.js.map +1 -0
- package/dist/components/p-CL6sB7_h.js +117 -0
- package/dist/components/p-CL6sB7_h.js.map +1 -0
- package/dist/components/p-CN4S8Tr6.js +64 -0
- package/dist/components/p-CN4S8Tr6.js.map +1 -0
- package/dist/{ls-document-viewer/ls-field-placement.entry.js → components/p-CYMm2d62.js} +45 -11
- package/dist/components/p-CYMm2d62.js.map +1 -0
- package/dist/{ls-document-viewer/tooltip-Cb8nDMs-.js → components/p-Cb8nDMs-.js} +2 -2
- package/dist/components/p-Cb8nDMs-.js.map +1 -0
- package/dist/{ls-document-viewer/ls-recipient-card.entry.js → components/p-CbSH7gJL.js} +63 -15
- package/dist/components/p-CbSH7gJL.js.map +1 -0
- package/dist/{ls-document-viewer/ls-field-format.entry.js → components/p-Ch9RTQWk.js} +57 -21
- package/dist/components/p-Ch9RTQWk.js.map +1 -0
- package/dist/{ls-document-viewer/clsx-ChV9xqsO.js → components/p-ChV9xqsO.js} +2 -2
- package/dist/components/p-ChV9xqsO.js.map +1 -0
- package/dist/{ls-document-viewer/editorUtils-B8pqYCt6.js → components/p-ClZqGgX5.js} +248 -58
- package/dist/components/p-ClZqGgX5.js.map +1 -0
- package/dist/{ls-document-viewer/ls-textarea-input.entry.js → components/p-CntMVGQM.js} +51 -10
- package/dist/components/p-CntMVGQM.js.map +1 -0
- package/dist/{ls-document-viewer/defaultFieldIcons-Cp3IxvzK.js → components/p-Cp3IxvzK.js} +2 -2
- package/dist/components/p-Cp3IxvzK.js.map +1 -0
- package/dist/components/p-CwkNbClZ.js +43 -0
- package/dist/components/p-CwkNbClZ.js.map +1 -0
- package/dist/{ls-document-viewer/ls-field-properties-autosign.entry.js → components/p-Cx-QcGQg.js} +67 -9
- package/dist/components/p-Cx-QcGQg.js.map +1 -0
- package/dist/components/p-D1Vbun-H.js +36 -0
- package/dist/components/p-D1Vbun-H.js.map +1 -0
- package/dist/components/p-D9j4pLd9.js +84 -0
- package/dist/components/p-D9j4pLd9.js.map +1 -0
- package/dist/{ls-document-viewer/ls-field-dimensions.entry.js → components/p-DBZFz4Ni.js} +47 -13
- package/dist/components/p-DBZFz4Ni.js.map +1 -0
- package/dist/{ls-document-viewer/ls-participant-select.entry.js → components/p-DK4_6BnD.js} +51 -18
- package/dist/components/p-DK4_6BnD.js.map +1 -0
- package/dist/components/p-DLzLG4FN.js +117 -0
- package/dist/components/p-DLzLG4FN.js.map +1 -0
- package/dist/{ls-document-viewer/ls-validation-tag.entry.js → components/p-DdAAJAZW.js} +43 -11
- package/dist/components/p-DdAAJAZW.js.map +1 -0
- package/dist/{ls-document-viewer/ls-keyboard-shortcuts.entry.js → components/p-DfkXv1vI.js} +29 -9
- package/dist/components/p-DfkXv1vI.js.map +1 -0
- package/dist/{ls-document-viewer/ls-field-content.entry.js → components/p-DhwqMQgK.js} +70 -13
- package/dist/components/p-DhwqMQgK.js.map +1 -0
- package/dist/{ls-document-viewer/ls-field-size.entry.js → components/p-DirhmWEt.js} +45 -11
- package/dist/components/p-DirhmWEt.js.map +1 -0
- package/dist/components/p-DnN65l1S.js +117 -0
- package/dist/components/p-DnN65l1S.js.map +1 -0
- package/dist/{ls-document-viewer/ls-icon.entry.js → components/p-DnyBXRV4.js} +34 -16
- package/dist/components/p-DnyBXRV4.js.map +1 -0
- package/dist/{ls-document-viewer/ls-field-properties-multiple.entry.js → components/p-DtTNtPXo.js} +101 -13
- package/dist/components/p-DtTNtPXo.js.map +1 -0
- package/dist/components/p-InLJa_sp.js +117 -0
- package/dist/components/p-InLJa_sp.js.map +1 -0
- package/dist/{ls-document-viewer/ls-validation-manager.entry.js → components/p-T6MZpv4Y.js} +51 -11
- package/dist/components/p-T6MZpv4Y.js.map +1 -0
- package/dist/{ls-document-viewer/ls-field-alignment.entry.js → components/p-UffBQXtF.js} +46 -12
- package/dist/components/p-UffBQXtF.js.map +1 -0
- package/dist/components/p-Y2Ws9MfN.js +117 -0
- package/dist/components/p-Y2Ws9MfN.js.map +1 -0
- package/dist/components/p-abczJmha.js +231 -0
- package/dist/components/p-abczJmha.js.map +1 -0
- package/dist/{ls-document-viewer/ls-participant-manager.entry.js → components/p-enO8g-4z.js} +58 -11
- package/dist/components/p-enO8g-4z.js.map +1 -0
- package/dist/{ls-document-viewer/ls-tooltip.entry.js → components/p-faUZy676.js} +45 -695
- package/dist/components/p-faUZy676.js.map +1 -0
- package/dist/components/p-jqUcLrMt.js +117 -0
- package/dist/components/p-jqUcLrMt.js.map +1 -0
- package/dist/components/p-kFpi12dV.js +117 -0
- package/dist/components/p-kFpi12dV.js.map +1 -0
- package/dist/components/p-kug3tj7P.js +115 -0
- package/dist/components/p-kug3tj7P.js.map +1 -0
- package/dist/{ls-document-viewer/ls-toggle.entry.js → components/p-mm_laW9q.js} +32 -10
- package/dist/components/p-mm_laW9q.js.map +1 -0
- package/dist/{ls-document-viewer/ls-toolbar.entry.js → components/p-pumCOAgo.js} +60 -10
- package/dist/components/p-pumCOAgo.js.map +1 -0
- package/dist/{ls-document-viewer/ls-text-input.entry.js → components/p-tbdpKil5.js} +53 -11
- package/dist/components/p-tbdpKil5.js.map +1 -0
- package/dist/components/p-xDwCTk5Z.js +117 -0
- package/dist/components/p-xDwCTk5Z.js.map +1 -0
- package/dist/esm/index-BwdJ-HOC.js +2000 -0
- package/dist/esm/index-BwdJ-HOC.js.map +1 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +13 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/ls-compose-manager.entry.js +24 -0
- package/dist/esm/ls-compose-manager.entry.js.map +1 -0
- package/dist/esm/ls-document-options_45.entry.js +51673 -0
- package/dist/esm/ls-document-viewer.js +23 -0
- package/dist/esm/ls-document-viewer.js.map +1 -0
- package/dist/esm/ls-field-properties-dropdown.entry.js +17 -0
- package/dist/esm/ls-field-properties-dropdown.entry.js.map +1 -0
- package/dist/{ls-document-viewer → esm}/ls-formfield.entry.js +4 -4
- package/dist/esm/ls-formfield.entry.js.map +1 -0
- package/dist/esm/ls-number-input_5.entry.js +1123 -0
- package/dist/{ls-document-viewer → esm}/ls-title-input.entry.js +3 -3
- package/dist/esm/ls-title-input.entry.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/ls-document-viewer/index.esm.js +1 -17
- package/dist/ls-document-viewer/index.esm.js.map +1 -1
- package/dist/ls-document-viewer/ls-document-viewer.css +1 -259
- package/dist/ls-document-viewer/ls-document-viewer.esm.js +1 -49
- package/dist/ls-document-viewer/ls-document-viewer.esm.js.map +1 -1
- package/dist/ls-document-viewer/p-00ab25ff.entry.js +2 -0
- package/dist/ls-document-viewer/p-00ab25ff.entry.js.map +1 -0
- package/dist/ls-document-viewer/p-131fe514.entry.js +2 -0
- package/dist/ls-document-viewer/p-131fe514.entry.js.map +1 -0
- package/dist/ls-document-viewer/p-96fe16df.entry.js +2 -0
- package/dist/ls-document-viewer/p-96fe16df.entry.js.map +1 -0
- package/dist/ls-document-viewer/p-BwdJ-HOC.js +3 -0
- package/dist/ls-document-viewer/p-BwdJ-HOC.js.map +1 -0
- package/dist/ls-document-viewer/p-bd532735.entry.js +2 -0
- package/dist/ls-document-viewer/p-bd532735.entry.js.map +1 -0
- package/dist/ls-document-viewer/p-ccbc4663.entry.js +2 -0
- package/dist/ls-document-viewer/p-ccbc4663.entry.js.map +1 -0
- package/dist/ls-document-viewer/p-e299145e.entry.js +4922 -0
- package/dist/ls-document-viewer/p-e299145e.entry.js.map +1 -0
- package/package.json +1 -1
- package/dist/ls-document-viewer/clsx-ChV9xqsO.js.map +0 -1
- package/dist/ls-document-viewer/defaultFieldIcons-Cp3IxvzK.js.map +0 -1
- package/dist/ls-document-viewer/defaultFieldLabels-CUaKk41L.js.map +0 -1
- package/dist/ls-document-viewer/defaultPalette-CwCWCxsI.js.map +0 -1
- package/dist/ls-document-viewer/editorUtils-B8pqYCt6.js.map +0 -1
- package/dist/ls-document-viewer/index-DANCsk1i.js +0 -4417
- package/dist/ls-document-viewer/index-DANCsk1i.js.map +0 -1
- package/dist/ls-document-viewer/ls-compose-manager.entry.js +0 -24
- package/dist/ls-document-viewer/ls-editor-field.entry.js +0 -203
- package/dist/ls-document-viewer/ls-editor-table.entry.js +0 -38
- package/dist/ls-document-viewer/ls-feature-column.entry.js +0 -49
- package/dist/ls-document-viewer/ls-field-distribute.entry.js +0 -159
- package/dist/ls-document-viewer/ls-field-properties-container.entry.js +0 -24
- package/dist/ls-document-viewer/ls-field-properties-date.entry.js +0 -17
- package/dist/ls-document-viewer/ls-field-properties-dropdown.entry.js +0 -17
- package/dist/ls-document-viewer/ls-field-properties-email.entry.js +0 -17
- package/dist/ls-document-viewer/ls-field-properties-file.entry.js +0 -17
- package/dist/ls-document-viewer/ls-field-properties-general.entry.js +0 -17
- package/dist/ls-document-viewer/ls-field-properties-image.entry.js +0 -17
- package/dist/ls-document-viewer/ls-field-properties-number.entry.js +0 -17
- package/dist/ls-document-viewer/ls-field-properties-signature.entry.js +0 -17
- package/dist/ls-document-viewer/ls-field-properties-text.entry.js +0 -17
- package/dist/ls-document-viewer/ls-field-properties.entry.js +0 -53
- package/dist/ls-document-viewer/ls-field-type-display.entry.js +0 -29
- package/dist/ls-document-viewer/ls-helper-bar.entry.js +0 -23
- package/dist/ls-document-viewer/ls-input-wrapper.entry.js +0 -18
- package/dist/ls-document-viewer/ls-props-section.entry.js +0 -19
- package/dist/ls-document-viewer/ls-radio-input.entry.js +0 -26
- package/dist/ls-document-viewer/ls-recipient-manager.entry.js +0 -16
- package/dist/ls-document-viewer/mouseHandlers-ng8CZPvb.js.map +0 -1
- package/dist/ls-document-viewer/tooltip-Cb8nDMs-.js.map +0 -1
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { t as transformTag, p as proxyCustomElement, H, h, c as Host } from './p-BhZ5Udbm.js';
|
|
2
|
+
import { d as defineCustomElement$d } from './p-ClZqGgX5.js';
|
|
3
|
+
import { d as defineCustomElement$c } from './p-DhwqMQgK.js';
|
|
4
|
+
import { d as defineCustomElement$b } from './p-DBZFz4Ni.js';
|
|
5
|
+
import { d as defineCustomElement$a } from './p-BDTgDxaX.js';
|
|
6
|
+
import { d as defineCustomElement$9 } from './p-CYMm2d62.js';
|
|
7
|
+
import { d as defineCustomElement$8 } from './p-BSpwN-xy.js';
|
|
8
|
+
import { d as defineCustomElement$7 } from './p-BFUdzGLI.js';
|
|
9
|
+
import { d as defineCustomElement$6 } from './p-kug3tj7P.js';
|
|
10
|
+
import { d as defineCustomElement$5 } from './p-DnyBXRV4.js';
|
|
11
|
+
import { d as defineCustomElement$4 } from './p-B5cnJ7Uh.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-CwkNbClZ.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './p-mm_laW9q.js';
|
|
14
|
+
import { d as defineCustomElement$1 } from './p-faUZy676.js';
|
|
15
|
+
|
|
16
|
+
const lsFieldPropertiesGeneralCss = () => `:host{display:flex;flex-direction:column;gap:1rem;width:100%;height:100%;position:relative}*{margin:0}.field-set{display:flex;flex-direction:column;gap:1rem;width:100%}p{color:var(--gray-80, #6c6e73);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.button-link,.button-link:hover{all:unset}select{appearance:none;height:2.25rem;width:100%}.has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.5rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover,select:hover,textarea:hover{border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #fff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #fff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type='checkbox']{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type='checkbox']:checked,input[type='checkbox'].indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type='checkbox']:checked::after{content:'';position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type='checkbox'].indeterminate::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type='checkbox']:checked:hover,input[type='checkbox'].indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type='checkbox']:hover{border:1px solid #9ca3af}input[type='checkbox']:focus,input[type='checkbox']:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type='checkbox']:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type='checkbox']:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.checkbox-container{display:flex;gap:0.5rem;width:100%}.checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #0c7cba)}button{display:flex;gap:0.5rem;border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;font-weight:500;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.tertiaryGrey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #787a80)}button.tertiaryGrey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.secondary{border:1px solid var(--gray-50, #c8c9cc);background:var(--white, #fff);color:var(--gray-90, #5e6066);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1)}button.secondary:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.destructive{border:1px solid var(--red-60, #f04438);background-color:white;color:var(--red-60)}button.destructive:hover{border:1px solid var(--red-70, #d92d20);background:var(--red-10, #fff1f0)}.button-group{display:flex;border-radius:0.5rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6c6e73)}.button-group button:hover{background:var(--gray-10, #f7f8fa)}.button-group>:first-child{border-radius:0.5rem 0 0 0.5rem}.button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;
|
|
17
|
+
|
|
18
|
+
const LsFieldPropertiesGeneral = /*@__PURE__*/ proxyCustomElement(class LsFieldPropertiesGeneral extends H {
|
|
19
|
+
constructor(registerHost) {
|
|
20
|
+
super();
|
|
21
|
+
if (registerHost !== false) {
|
|
22
|
+
this.__registerHost();
|
|
23
|
+
}
|
|
24
|
+
this.__attachShadow();
|
|
25
|
+
}
|
|
26
|
+
dataItem;
|
|
27
|
+
render() {
|
|
28
|
+
return (h(Host, { key: '9231fc9a9506b2c24a5980dd7fc37a5feb90fcdd' }, h("ls-field-properties-container", { key: 'fff36ff8b257ac84e6ba221066c74c29b5a6ea1a', tabs: ['content', 'placement', 'dimensions'] }, h("div", { key: '36546b46fd46b82ff4244978e6bfa5c816eac75d', class: 'field-set', slot: "content" }, h("ls-field-content", { key: '10f57091190a7e395f8f01f98280a8f1299f0ecb', dataItem: this.dataItem }), h("ls-field-properties-advanced", { key: '42b74f0a83dc7e3203e9fe3c4ff3f257174ae76d', dataItem: this.dataItem })), h("div", { key: '9041c439380fd62d4172dcf301fb3ce5c1d88ab5', class: 'field-set', slot: "dimensions" }, h("ls-field-dimensions", { key: 'b3d7062cd82f5f8a9a4087141d62dc99c8991637', dataItem: this.dataItem })), h("div", { key: '0d083497fc1b689ed1712c4537d05582426067be', class: 'field-set', slot: "placement" }, h("ls-field-placement", { key: 'd388a3cb53de483bdcda41c3531a84e7608bb1a6', dataItem: this.dataItem }))), h("ls-field-footer", { key: 'b9919112f4bf3d488ddcf07fd909549470d039a4', dataItem: this.dataItem })));
|
|
29
|
+
}
|
|
30
|
+
static get style() { return lsFieldPropertiesGeneralCss(); }
|
|
31
|
+
}, [769, "ls-field-properties-general", {
|
|
32
|
+
"dataItem": [16]
|
|
33
|
+
}]);
|
|
34
|
+
function defineCustomElement() {
|
|
35
|
+
if (typeof customElements === "undefined") {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
const components = ["ls-field-properties-general", "ls-editor-field", "ls-field-content", "ls-field-dimensions", "ls-field-footer", "ls-field-placement", "ls-field-properties-advanced", "ls-field-properties-container", "ls-field-type-display", "ls-icon", "ls-input-wrapper", "ls-props-section", "ls-toggle", "ls-tooltip"];
|
|
39
|
+
components.forEach(tagName => { switch (tagName) {
|
|
40
|
+
case "ls-field-properties-general":
|
|
41
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
42
|
+
customElements.define(transformTag(tagName), LsFieldPropertiesGeneral);
|
|
43
|
+
}
|
|
44
|
+
break;
|
|
45
|
+
case "ls-editor-field":
|
|
46
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
47
|
+
defineCustomElement$d();
|
|
48
|
+
}
|
|
49
|
+
break;
|
|
50
|
+
case "ls-field-content":
|
|
51
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
52
|
+
defineCustomElement$c();
|
|
53
|
+
}
|
|
54
|
+
break;
|
|
55
|
+
case "ls-field-dimensions":
|
|
56
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
57
|
+
defineCustomElement$b();
|
|
58
|
+
}
|
|
59
|
+
break;
|
|
60
|
+
case "ls-field-footer":
|
|
61
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
62
|
+
defineCustomElement$a();
|
|
63
|
+
}
|
|
64
|
+
break;
|
|
65
|
+
case "ls-field-placement":
|
|
66
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
67
|
+
defineCustomElement$9();
|
|
68
|
+
}
|
|
69
|
+
break;
|
|
70
|
+
case "ls-field-properties-advanced":
|
|
71
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
72
|
+
defineCustomElement$8();
|
|
73
|
+
}
|
|
74
|
+
break;
|
|
75
|
+
case "ls-field-properties-container":
|
|
76
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
77
|
+
defineCustomElement$7();
|
|
78
|
+
}
|
|
79
|
+
break;
|
|
80
|
+
case "ls-field-type-display":
|
|
81
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
82
|
+
defineCustomElement$6();
|
|
83
|
+
}
|
|
84
|
+
break;
|
|
85
|
+
case "ls-icon":
|
|
86
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
87
|
+
defineCustomElement$5();
|
|
88
|
+
}
|
|
89
|
+
break;
|
|
90
|
+
case "ls-input-wrapper":
|
|
91
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
92
|
+
defineCustomElement$4();
|
|
93
|
+
}
|
|
94
|
+
break;
|
|
95
|
+
case "ls-props-section":
|
|
96
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
97
|
+
defineCustomElement$3();
|
|
98
|
+
}
|
|
99
|
+
break;
|
|
100
|
+
case "ls-toggle":
|
|
101
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
102
|
+
defineCustomElement$2();
|
|
103
|
+
}
|
|
104
|
+
break;
|
|
105
|
+
case "ls-tooltip":
|
|
106
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
107
|
+
defineCustomElement$1();
|
|
108
|
+
}
|
|
109
|
+
break;
|
|
110
|
+
} });
|
|
111
|
+
}
|
|
112
|
+
defineCustomElement();
|
|
113
|
+
|
|
114
|
+
export { LsFieldPropertiesGeneral as L, defineCustomElement as d };
|
|
115
|
+
//# sourceMappingURL=p-CL6sB7_h.js.map
|
|
116
|
+
|
|
117
|
+
//# sourceMappingURL=p-CL6sB7_h.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-CL6sB7_h.js","mappings":";;;;;;;;;;;;;;;AAAA,MAAM,2BAA2B,GAAG,MAAM,CAAC,mtJAAmtJ,CAAC;;MCQlvJ,wBAAwB,iBAAAA,kBAAA,CAAA,MAAA,wBAAA,SAAAC,CAAA,CAAA;;;;;;;;AAC3B,IAAA,QAAQ;IAEhB,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAA+B,CAAA,+BAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,YAAY,CAAC,EAAA,EACzE,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,WAAW,EAAE,IAAI,EAAC,SAAS,EAAA,EACrC,CAAA,CAAA,kBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAkB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAI,CAAA,EAC7C,CAAA,CAAA,8BAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAA8B,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAI,CACrD,EACN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,WAAW,EAAE,IAAI,EAAC,YAAY,EAAA,EACxC,CAAA,CAAA,qBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAqB,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAI,CAC5C,EACN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,WAAW,EAAE,IAAI,EAAC,WAAW,EAAA,EACvC,CAAA,CAAA,oBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAoB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAA,CAAI,CAC3C,CACwB,EAChC,CAAiB,CAAA,iBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAI,CAAA,CACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ls-field-properties-general/ls-field-properties-general.css?tag=ls-field-properties-general&encapsulation=shadow","src/components/ls-field-properties-general/ls-field-properties-general.tsx"],"sourcesContent":[":host {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n width: 100%;\n height: 100%;\n position: relative;\n}\n\n* {\n margin: 0;\n}\n\n.field-set {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n width: 100%;\n}\n\n/* Global Styles */\n\np {\n color: var(--gray-80, #6c6e73);\n font-family: var(--font-family);\n font-size: var(--text-sm);\n font-style: normal;\n font-weight: 400;\n line-height: var(--text-sm-line-height);\n}\n\na {\n color: var(--primary-60, #4456f6);\n font-size: var(--text-sm);\n font-style: normal;\n font-weight: 400;\n line-height: var(--text-sm-line-height);\n cursor: pointer;\n}\n\na:hover {\n text-decoration: underline;\n color: var(--primary-70, #2134dc);\n}\n\n.button-link,\n.button-link:hover {\n all: unset;\n}\n\nselect {\n appearance: none;\n height: 2.25rem;\n width: 100%;\n}\n.has-leading-icon {\n padding-left: 2.5rem;\n}\n\n\ninput,\nselect,\ntextarea {\n border: 1px solid var(--gray-40, #d8d9dc);\n box-shadow: 0 1px 0.125rem rgba(0, 0, 0, 0.05);\n padding: 0.5rem 0.75rem;\n font-family: var(--font-family);\n font-size: var(--text-sm);\n border-radius: 0.5rem;\n color: var(--gray-100, #45484d);\n font-weight: 400;\n}\n\ninput::placeholder,\nselect::placeholder,\ntextarea::placeholder {\n color: var(--gray-60, #afb0b2);\n}\n\ninput:hover,\nselect:hover,\ntextarea:hover {\n border-color: var(--gray-50, #c8c9cc);\n background-color: var(--white, #fff);\n}\n\ninput:focus,\nselect:focus,\ntextarea:focus {\n outline: none;\n box-shadow: 0 0 0 0.25rem var(--primary-40, #79adfc);\n border-color: var(--primary-60, #4456f6);\n background-color: var(--white, #fff);\n}\n\ninput:active,\nselect:active,\ntextarea:active {\n border-color: var(--primary-50, #5185ff);\n}\n\ninput:disabled,\nselect:disabled,\ntextarea:disabled {\n cursor: not-allowed;\n background-color: var(--gray-10, #f7f8fa);\n}\n\ninput[type='checkbox'] {\n appearance: none;\n position: relative;\n height: 1rem;\n width: 1rem;\n padding: 0.25rem;\n border-radius: var(--radius-sm);\n border: 1px solid #d1d5db;\n background-color: #ffffff;\n cursor: pointer;\n}\n\ninput[type='checkbox']:checked,\ninput[type='checkbox'].indeterminate {\n background-color: var(--primary-60, #4456f6);\n border: none;\n}\n\ninput[type='checkbox']:checked::after {\n content: '';\n position: absolute;\n top: 45%;\n left: 50%;\n transform: translate(-50%, -50%) rotate(-45deg) scale(-1, 1);\n width: 0.5rem;\n height: 0.25rem;\n border-bottom: 0.125rem solid white;\n border-right: 0.125rem solid white;\n}\n\ninput[type='checkbox'].indeterminate::after {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 0.5rem;\n height: 0.125rem;\n background-color: white;\n}\n\ninput[type='checkbox']:checked:hover,\ninput[type='checkbox'].indeterminate:hover {\n background-color: var(--primary-70, #2134dc);\n border: none;\n}\n\ninput[type='checkbox']:hover {\n border: 1px solid #9ca3af;\n}\n\ninput[type='checkbox']:focus,\ninput[type='checkbox']:active {\n outline: none;\n box-shadow: 0 0 0 0.25rem var(--primary-20, #c7ddff);\n background-color: #f0f4f8;\n}\n\ninput[type='checkbox']:disabled {\n background-color: #f3f4f6;\n outline: none;\n cursor: not-allowed;\n}\n\ninput[type='checkbox']:disabled:checked {\n background-color: #e5e7eb;\n border: none;\n outline: none;\n cursor: not-allowed;\n}\n\n.checkbox-container {\n display: flex;\n gap: 0.5rem;\n width: 100%;\n}\n\n.checkbox-label {\n color: var(--gray-100, #45484d);\n font-size: 1rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1rem;\n}\n\n.form-label {\n color: var(--gray-100, #45484d);\n font-size: 1rem;\n font-style: normal;\n font-weight: 500;\n line-height: 1.5rem;\n}\n\n.form-field {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n width: 100%;\n}\n\n.loading-box {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100vh;\n color: var(--primary-60, #0c7cba);\n}\n\nbutton {\n display: flex;\n gap: 0.5rem;\n border: 0;\n appearance: button;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--radius-lg);\n background-color: var(--primary-60, #4456f6);\n color: white;\n font-weight: 500;\n text-transform: capitalize;\n min-height: 2.25rem;\n min-width: 2.25rem;\n}\n\nbutton.tertiaryGrey {\n border: 1px solid var(--gray-40, #d8d9dc);\n background-color: white;\n color: var(--gray-80, #787a80);\n}\n\nbutton.tertiaryGrey:hover {\n border: 1px solid var(--gray-50, #c8c9cc);\n background: var(--gray-10, #f7f8fa);\n}\n\nbutton.secondary {\n border: 1px solid var(--gray-50, #c8c9cc);\n background: var(--white, #fff);\n color: var(--gray-90, #5e6066);\n box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1);\n}\n\nbutton.secondary:hover {\n border: 1px solid var(--gray-50, #c8c9cc);\n background: var(--gray-10, #f7f8fa);\n}\n\nbutton.destructive {\n border: 1px solid var(--red-60, #f04438);\n background-color: white;\n color: var(--red-60);\n}\n\nbutton.destructive:hover {\n border: 1px solid var(--red-70, #d92d20);\n background: var(--red-10, #fff1f0);\n}\n\n\n\n.button-group {\n display: flex;\n border-radius: 0.5rem;\n border: 1px solid var(--gray-30, #e0e2e5);\n background: var(--white, #ffffff);\n overflow: clip;\n}\n\n.button-group button {\n display: flex;\n background: transparent;\n border-radius: unset;\n padding: 0.25rem 0.75rem;\n min-width: 2.156rem;\n min-height: unset;\n color: var(--gray-80, #6c6e73);\n}\n\n.button-group button:hover {\n background: var(--gray-10, #f7f8fa);\n}\n\n.button-group > :first-child {\n border-radius: 0.5rem 0 0 0.5rem;\n}\n\n.button-group > :last-child {\n border-radius: 0 0.5rem 0.5rem 0;\n}\n\n.button-group > :not(:first-child) {\n border-left: 1px solid var(--gray-30, #e0e2e5);\n}\n","import { Component, Host, Prop, h } from '@stencil/core';\nimport { LSApiElement } from '../../components';\n\n@Component({\n tag: 'ls-field-properties-general',\n styleUrl: 'ls-field-properties-general.css',\n shadow: true,\n})\nexport class LsFieldPropertiesGeneral {\n @Prop() dataItem: LSApiElement;\n\n render() {\n return (\n <Host>\n <ls-field-properties-container tabs={['content', 'placement', 'dimensions']}>\n <div class={'field-set'} slot=\"content\">\n <ls-field-content dataItem={this.dataItem} />\n <ls-field-properties-advanced dataItem={this.dataItem} />\n </div>\n <div class={'field-set'} slot=\"dimensions\">\n <ls-field-dimensions dataItem={this.dataItem} />\n </div>\n <div class={'field-set'} slot=\"placement\">\n <ls-field-placement dataItem={this.dataItem} />\n </div>\n </ls-field-properties-container>\n <ls-field-footer dataItem={this.dataItem} />\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { t as transformTag, p as proxyCustomElement, H, h, c as Host } from './p-BhZ5Udbm.js';
|
|
2
|
+
import { a as attachAllTooltips } from './p-Cb8nDMs-.js';
|
|
3
|
+
import { d as defineCustomElement$3 } from './p-DnyBXRV4.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './p-DfkXv1vI.js';
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-faUZy676.js';
|
|
6
|
+
|
|
7
|
+
const lsHelperBarCss = () => `.controls-bar{display:flex;flex-direction:column;background-color:white;border:1px solid var(--gray-30, #e0e2e5);box-shadow:0px 4px 16px rgba(0, 0, 0, 0.1);border-radius:1rem;gap:0.75rem;padding:0.5rem}button{all:unset;border:0;color:var(--gray-80, #6c6e73)}button:hover{color:var(--gray-100, #45484d);border-radius:0.5rem}button:disabled{color:var(--gray-40, #c1c4c8);cursor:not-allowed}.divider{height:1px;background-color:var(--gray-30, #e0e2e5);width:100%;margin:-0.25rem 0}`;
|
|
8
|
+
|
|
9
|
+
const LsHelperBar = /*@__PURE__*/ proxyCustomElement(class LsHelperBar extends H {
|
|
10
|
+
constructor(registerHost) {
|
|
11
|
+
super();
|
|
12
|
+
if (registerHost !== false) {
|
|
13
|
+
this.__registerHost();
|
|
14
|
+
}
|
|
15
|
+
this.__attachShadow();
|
|
16
|
+
}
|
|
17
|
+
get component() { return this; }
|
|
18
|
+
expanded = false;
|
|
19
|
+
showShortcuts = false;
|
|
20
|
+
componentDidLoad() {
|
|
21
|
+
attachAllTooltips(this.component.shadowRoot);
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
return (h(Host, { key: '80424695aca9605bd33babee48b04cddcaefa9d9' }, h("div", { key: '979fba7eec4fd2bf68c1ed007c9cc3e4b74d0c02', class: 'controls-bar', onMouseEnter: () => (this.expanded = true), onMouseLeave: () => (this.expanded = false) }, h("button", { key: '2b10c0bef11fd14a63c7628f99ae8de2513adb28', style: !this.expanded ? { display: 'none' } : { display: 'block', position: 'relative' }, id: "keyboard-btn", onMouseEnter: () => (this.showShortcuts = true), onMouseLeave: () => (this.showShortcuts = false) }, h("ls-keyboard-shortcuts", { key: '05b53b94530483978525287ff10dccc30ca76d0c', style: !this.showShortcuts ? { display: 'none' } : { display: 'block' } }), h("ls-icon", { key: '864e327f400448697409a8642f811b54a61bd4b0', name: "keyboard" })), h("button", { key: 'ff49004d9d542840ad6e9ba5773b5ef4800464e0', style: !this.expanded ? { display: 'none' } : { display: 'block' }, onClick: () => window.open('https://legalesign.com/articles/', '_blank') }, h("ls-icon", { key: '1fbff5315dbfc77f58614407c01cf49d73abcfae', name: "book-open", "data-tooltip": "View Documentation \u2197", "data-tooltip-placement": "left" })), h("button", { key: 'e143f7a303bec97b1e3b4908fba164c3254debac', style: !this.expanded ? { display: 'none' } : { display: 'block' }, onClick: () => window.open('https://support.legalesign.io/tickets', '_blank') }, h("ls-icon", { key: '7bec6819f47d101a99e52c9caeec453cb5c6375f', name: "support", "data-tooltip": "Contact Support", "data-tooltip-placement": "left" })), h("div", { key: 'ef1aebc179e96aa84fe9ca9a4317fdb6fcaff2f3', class: "divider", style: !this.expanded ? { display: 'none' } : { display: 'block' } }), h("button", { key: 'ac03a8fd323b0017bb5eb6b0aedb3ca2fed0978e' }, h("ls-icon", { key: '9c3a5b22caf69a0399ecae747e2bb41026ac455b', name: "question-mark-circle" }))), h("slot", { key: '3e618338807c195c821e0d08a04703d40fd6273f' }), h("ls-tooltip", { key: '30412afc90ae2ed34f669732d233457517727bbf', id: "ls-tooltip-master" })));
|
|
25
|
+
}
|
|
26
|
+
static get style() { return lsHelperBarCss(); }
|
|
27
|
+
}, [769, "ls-helper-bar", {
|
|
28
|
+
"expanded": [1028],
|
|
29
|
+
"showShortcuts": [1028, "show-shortcuts"]
|
|
30
|
+
}]);
|
|
31
|
+
function defineCustomElement() {
|
|
32
|
+
if (typeof customElements === "undefined") {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
const components = ["ls-helper-bar", "ls-icon", "ls-keyboard-shortcuts", "ls-tooltip"];
|
|
36
|
+
components.forEach(tagName => { switch (tagName) {
|
|
37
|
+
case "ls-helper-bar":
|
|
38
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
39
|
+
customElements.define(transformTag(tagName), LsHelperBar);
|
|
40
|
+
}
|
|
41
|
+
break;
|
|
42
|
+
case "ls-icon":
|
|
43
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
44
|
+
defineCustomElement$3();
|
|
45
|
+
}
|
|
46
|
+
break;
|
|
47
|
+
case "ls-keyboard-shortcuts":
|
|
48
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
49
|
+
defineCustomElement$2();
|
|
50
|
+
}
|
|
51
|
+
break;
|
|
52
|
+
case "ls-tooltip":
|
|
53
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
54
|
+
defineCustomElement$1();
|
|
55
|
+
}
|
|
56
|
+
break;
|
|
57
|
+
} });
|
|
58
|
+
}
|
|
59
|
+
defineCustomElement();
|
|
60
|
+
|
|
61
|
+
export { LsHelperBar as L, defineCustomElement as d };
|
|
62
|
+
//# sourceMappingURL=p-CN4S8Tr6.js.map
|
|
63
|
+
|
|
64
|
+
//# sourceMappingURL=p-CN4S8Tr6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-CN4S8Tr6.js","mappings":";;;;;;AAAA,MAAM,cAAc,GAAG,MAAM,CAAC,8dAA8d,CAAC;;MCQhf,WAAW,iBAAAA,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;;;;;;;;;IAEG,QAAQ,GAAY,KAAK;IACzB,aAAa,GAAY,KAAK;IAEvD,gBAAgB,GAAA;AACd,QAAA,iBAAiB,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC;;IAG9C,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,OAAO,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GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC,IAAI,CAAC,uCAAuC,EAAE,QAAQ,CAAC,EAAA,EACvJ,CAAS,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,SAAS,EAAA,cAAA,EAAc,iBAAiB,EAAwB,wBAAA,EAAA,MAAM,GAAG,CAChF,EACT,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,SAAS,EAAC,KAAK,EAAE,CAAC,IAAI,CAAC,QAAQ,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,EAAI,CAAA,EAC3F,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACE,CAAA,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAS,IAAI,EAAC,sBAAsB,EAAA,CAAG,CAChC,CACL,EACN,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,EACb,CAAA,CAAA,YAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAY,EAAE,EAAC,mBAAmB,EAAG,CAAA,CAChC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ls-helper-bar/ls-helper-bar.css?tag=ls-helper-bar&encapsulation=shadow","src/components/ls-helper-bar/ls-helper-bar.tsx"],"sourcesContent":[".controls-bar {\n display: flex;\n flex-direction: column;\n background-color: white;\n border: 1px solid var(--gray-30, #e0e2e5);\n box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);\n border-radius: 1rem;\n gap: 0.75rem;\n padding: 0.5rem;\n}\n\nbutton {\n all: unset;\n border: 0;\n color: var(--gray-80, #6c6e73);\n}\n\nbutton:hover {\n color: var(--gray-100, #45484d);\n border-radius: 0.5rem;\n}\n\nbutton:disabled {\n color: var(--gray-40, #c1c4c8);\n cursor: not-allowed;\n}\n\n.divider {\n height: 1px;\n background-color: var(--gray-30, #e0e2e5);\n width: 100%;\n margin: -0.25rem 0;\n}","import { Component, Element, Host, Prop, h } from '@stencil/core';\nimport { attachAllTooltips } from '../../utils/tooltip';\n\n@Component({\n tag: 'ls-helper-bar',\n styleUrl: 'ls-helper-bar.css',\n shadow: true,\n})\nexport class LsHelperBar {\n @Element() component: HTMLElement;\n @Prop({ mutable: true }) expanded: boolean = false;\n @Prop({ mutable: true }) showShortcuts: boolean = false;\n\n componentDidLoad() {\n attachAllTooltips(this.component.shadowRoot);\n }\n\n render() {\n return (\n <Host>\n <div class={'controls-bar'} onMouseEnter={() => (this.expanded = true)} onMouseLeave={() => (this.expanded = false)}>\n <button\n style={!this.expanded ? { display: 'none' } : { display: 'block', position: 'relative' }}\n id=\"keyboard-btn\"\n onMouseEnter={() => (this.showShortcuts = true)}\n onMouseLeave={() => (this.showShortcuts = false)}\n >\n <ls-keyboard-shortcuts style={!this.showShortcuts ? { display: 'none' } : { display: 'block' }} />\n <ls-icon name=\"keyboard\" />\n </button>\n {/* <button style={!this.expanded ? { display: 'none' } : { display: 'block' }} data-pendo=\"launch-new-edit-tour\">\n <ls-icon name=\"map\" data-tooltip=\"Take a Guided Tour\" data-tooltip-placement=\"left\" />\n </button> */}\n <button style={!this.expanded ? { display: 'none' } : { display: 'block' }} onClick={() => window.open('https://legalesign.com/articles/', '_blank')}>\n <ls-icon name=\"book-open\" data-tooltip=\"View Documentation ↗\" data-tooltip-placement=\"left\" />\n </button>\n <button style={!this.expanded ? { display: 'none' } : { display: 'block' }} onClick={() => window.open('https://support.legalesign.io/tickets', '_blank')}>\n <ls-icon name=\"support\" data-tooltip=\"Contact Support\" data-tooltip-placement=\"left\" />\n </button>\n <div class=\"divider\" style={!this.expanded ? { display: 'none' } : { display: 'block' }} />\n <button>\n <ls-icon name=\"question-mark-circle\" />\n </button>\n </div>\n <slot></slot>\n <ls-tooltip id=\"ls-tooltip-master\" />\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as attachAllTooltips } from './
|
|
1
|
+
import { t as transformTag, p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-BhZ5Udbm.js';
|
|
2
|
+
import { a as attachAllTooltips } from './p-Cb8nDMs-.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-DnyBXRV4.js';
|
|
4
|
+
import { d as defineCustomElement$1 } from './p-faUZy676.js';
|
|
3
5
|
|
|
4
6
|
const lsFieldPlacementCss = () => `:host{display:flex;flex-direction:column;gap:1rem;width:100%;position:relative}*{margin:0;box-sizing:border-box}.field-set{display:flex;flex-direction:column;gap:1rem;width:100%}.ls-field-properties-section{display:flex;position:relative;flex-direction:column;gap:0.5rem}.row{flex-direction:row;align-items:center;justify-content:space-between}.multi-button-group-row{display:flex;gap:0.5rem}.ls-field-properties-section-text{display:flex;flex-direction:column;gap:0.25rem;padding:0.25rem}.ls-field-properties-section-title{color:var(--gray-90, #5e6066);font-size:1rem;font-style:normal;font-weight:500;line-height:1.25rem;}.ls-field-properties-section-description{overflow:hidden;color:var(--gray-80, #6c6e73);text-overflow:ellipsis;font-size:0.75rem;font-style:normal;font-weight:400;line-height:0.75rem;}.input-row{display:flex;gap:0.5rem}.input-row .input-wrapper input{width:9.313rem;max-width:9.313rem}p{color:var(--gray-80, #6c6e73);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.button-link,.button-link:hover{all:unset}select{appearance:none;height:2.25rem}.input-wrapper{position:relative;width:100%}#selectorIcon{position:absolute;top:50%;right:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6c6e73)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6c6e73)}#selectLeadingIconDisabled{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-50, #d8d9dc)}.has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.5rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover:not(:disabled),select:hover:not(:disabled),textarea:hover:not(:disabled){border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #fff)}input:focus:not(:disabled),select:focus:not(:disabled),textarea:focus:not(:disabled){outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #fff)}input:active:not(:disabled),select:active:not(:disabled),textarea:active:not(:disabled){border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa);color:var(--gray-50, #d8d9dc);box-shadow:none}input[type='checkbox']{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type='checkbox']:checked,input[type='checkbox'].indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type='checkbox']:checked::after{content:'';position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type='checkbox'].indeterminate::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type='checkbox']:checked:hover,input[type='checkbox'].indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type='checkbox']:hover{border:1px solid #9ca3af}input[type='checkbox']:focus,input[type='checkbox']:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type='checkbox']:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type='checkbox']:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.checkbox-container{display:flex;gap:0.5rem;width:100%}.checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #0c7cba)}button{border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.tertiaryGrey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #787a80)}button.tertiaryGrey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.button-group{display:flex;border-radius:0.5rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip;width:100%}.button-group button{display:flex;width:100%;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;color:var(--gray-80, #6c6e73)}.button-group button:disabled{background:var(--gray-10, #f7f8fa);cursor:not-allowed;color:var(--gray-50, #d8d9dc)}.button-group button:hover{background:var(--gray-10, #f7f8fa)}.button-group>:first-child{border-radius:0.5rem 0 0 0.5rem}.button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;
|
|
5
7
|
|
|
6
|
-
const LsFieldPlacement = class {
|
|
7
|
-
constructor(
|
|
8
|
-
|
|
8
|
+
const LsFieldPlacement = /*@__PURE__*/ proxyCustomElement(class LsFieldPlacement extends H {
|
|
9
|
+
constructor(registerHost) {
|
|
10
|
+
super();
|
|
11
|
+
if (registerHost !== false) {
|
|
12
|
+
this.__registerHost();
|
|
13
|
+
}
|
|
14
|
+
this.__attachShadow();
|
|
9
15
|
this.mutate = createEvent(this, "mutate", 7);
|
|
10
16
|
}
|
|
11
|
-
get component() { return
|
|
17
|
+
get component() { return this; }
|
|
12
18
|
dataItem;
|
|
13
19
|
mutate;
|
|
14
20
|
isSingle(dt) {
|
|
@@ -58,10 +64,38 @@ const LsFieldPlacement = class {
|
|
|
58
64
|
attachAllTooltips(this.component.shadowRoot);
|
|
59
65
|
}
|
|
60
66
|
render() {
|
|
61
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: '8e93d504c59f8fe602219fbb3ac6e31557311557' }, this.isMultiple(this.dataItem) && (h("div", { key: 'a87c48d4e205430175a4f620117e4a01c2d2138d', class: 'ls-field-properties-section' }, h("div", { key: '2fa5668e33ff54813df4c4e96d643822a8cb2042', class: 'ls-field-properties-section-text' }, h("p", { key: '19a69739d7e581df62f647b234d0ef71a56a92ca', class: 'ls-field-properties-section-title' }, "Location"), h("p", { key: '67c1ae8cbdce9f640b1a0b05af316716d5d4cc46', class: 'ls-field-properties-section-description' }, "Use coordinates to move your fields on the page")), h("div", { key: '2e0b9e18f21e4d2ac6ec5568d3499b0f7dcc7cb1', class: 'input-row' }, h("div", { key: '30e1f4fcf72cd3b4a9fc8e7fcb110949904b7d13', class: 'input-wrapper' }, h("ls-icon", { key: 'c3a901e6ff2ef14267d6d8880174525ac85664d7', id: "selectLeadingIcon", name: "x-letter" }), h("input", { key: '8b154ebda590ac44903f36ba75b2604593833036', type: "number", class: 'has-leading-icon', aria: "top-location", id: "top-location", onChange: e => this.alter({ left: e.target.value }) })), h("div", { key: '22fb1402a7755e44b4bddf4679f7028316a8037f', class: 'input-wrapper' }, h("ls-icon", { key: 'f0f69c7ba55b081a974700ddff27498fd862be04', id: "selectLeadingIcon", name: "y" }), h("input", { key: 'e3c970c8eadabb84b23a54b766b094f659226b30', type: "number", class: 'has-leading-icon', aria: "left-location", id: "left-location", onChange: e => this.alter({ top: e.target.value }) }))))), this.isSingle(this.dataItem) && (h("div", { key: '9b901011d5f575852eed2b660b245163a7e3e94f', class: 'field-set' }, h("div", { key: 'd78045fbffb3cb4f9da7a8d6ce4b61dc81b2b066', class: 'ls-field-properties-section' }, h("div", { key: '3497a08b171472a7460ab994245100a041d8eef2', class: 'ls-field-properties-section-text' }, h("p", { key: '00da2370280a40f157f7ded56813f03ae59e1898', class: 'ls-field-properties-section-title' }, "Alignment"), h("p", { key: '2384ee6d72622669a83e5043553e175d65f4d654', class: 'ls-field-properties-section-description' }, "Align your Fields relative to the page or multi-select and align then to each other.")), h("div", { key: 'cd0d415acceacba5a59f8ae66678033b5a1b3e13', class: 'multi-button-group-row' }, h("div", { key: '0c175ae0dfde633e88ba491884b8cbe94482c31b', class: 'button-group' }, h("button", { key: '7ee30c1ea1dbabc2f8eb76dc2391e35cef084b1c', onClick: () => { this.alter({ left: 0 }); }, "data-tooltip": "Align Left" }, h("ls-icon", { key: '6fa865027b58d0d3db5382184823bab893f3469f', name: "field-alignment-left" })), h("button", { key: '4b376c40bc8e189649e8538f2847d445046bcb65', onClick: () => { this.alter({ left: this.center() }); }, "data-tooltip": "Align Center" }, h("ls-icon", { key: '326ebc8b0f8ff9a1170a05a5e75c38866ec55033', name: "field-alignment-centre" })), h("button", { key: '386854721462d3c450773070ee4d6dd56596c398', onClick: () => { this.alter({ left: this.right() }); }, "data-tooltip": "Align Right" }, h("ls-icon", { key: '92a089288cda26058db4b9b570caccd31fc852cf', name: "field-alignment-right" }))), h("div", { key: 'ed226a73dc0d32e6830eec80105e0938eaf8b8cf', class: 'button-group' }, h("button", { key: '8fc399e06bbf34284ab880490cbaa1745cc43c67', onClick: () => this.alter({ top: 0 }), "data-tooltip": "Align Top" }, h("ls-icon", { key: 'bd87c6420e3f4c5dbd409f371cc72964e295b776', name: "field-alignment-top" })), h("button", { key: 'cf4b6111d166e76f02bd34f881f7cb4817ffa723', onClick: () => { this.alter({ top: this.middle() }); }, "data-tooltip": "Align Middle" }, h("ls-icon", { key: '8a616e56f8dc692ae8043c0fe15045838d60507b', name: "field-alignment-middle" })), h("button", { key: '45a1b7eafdd09a024fb4dad806377f867c6e77a4', onClick: () => { this.alter({ top: this.bottom() }); }, "data-tooltip": "Align Bottom" }, h("ls-icon", { key: '020764a04b64100aac1019284a071d768fdccc5f', name: "field-alignment-bottom" }))))), h("div", { key: '09c4e324a65221a9e739fcd56e486e1167cb96e7', class: 'ls-field-properties-section' }, h("div", { key: 'd9e40fc3fcabc2d2fe52149f0a25389efea8989e', class: 'ls-field-properties-section-text' }, h("p", { key: 'de9f99818da2f31d61b2f844c245bf6eabda1e48', class: 'ls-field-properties-section-title' }, "Location"), h("p", { key: '5b5712bf6e3c3a5fdf84ed706bb7fb7aa62e30d9', class: 'ls-field-properties-section-description' }, "Use coordinates to move your fields on the page")), h("div", { key: '0f6221de9fd02346792e2b06f398ff9375461c46', class: 'input-row' }, h("div", { key: 'c7e40f6df6925b8905223a136c1d64f05b26d5f0', class: 'input-wrapper' }, h("ls-icon", { key: 'a2081cf36c44f3ccee7b737744e20fde96e3d58c', id: "selectLeadingIcon", name: "x-letter" }), h("input", { key: '29de67a93199f89da679902fd9e8964cd28d0dc0', type: "number", class: 'has-leading-icon', aria: "top-location", id: "top-location", value: this.dataItem?.left, onChange: e => this.alter({ left: e.target.value }) })), h("div", { key: 'd3b1c71eb1f261d8d26bafe6d245b0bb8087f3d7', class: 'input-wrapper' }, h("ls-icon", { key: '5822af40c40b8bba666592943271d11a54128dc9', id: "selectLeadingIcon", name: "y" }), h("input", { key: '56879c0e8195c943d59ddbaf0ff25704512e2a35', type: "number", class: 'has-leading-icon', aria: "left-location", id: "left-location", value: this.dataItem?.top, onChange: e => this.alter({ top: e.target.value }), width: "30" })))), h("div", { key: 'e33848f600c84029d2f59c039c5d17c622162f06', class: 'ls-field-properties-section' }, h("div", { key: '4edc72ca1c3e82db755ac4b5143fa618acf48195', class: 'ls-field-properties-section-text' }, h("p", { key: 'c46244e187dbd788eda6b4e9b3d4b94cd5f06ab6', class: 'ls-field-properties-section-title' }, "Distribution"), h("p", { key: 'f9172724db3f5df3ab9c39320fad11f9ea56f333', class: 'ls-field-properties-section-description' }, "Multi-select fields and evenly space them out")), h("div", { key: 'd7129f72c8057d07effcea7096d335545c56ac87', class: 'button-group' }, h("button", { key: '2645b0e213599bf1dc93fcd6ebf70f43710cf72a', disabled: true, "data-tooltip": "Select multiple Fields to to access distribution controls" }, h("ls-icon", { key: '0dbcc5c32141cf6c63e06feb1d31328bbd796fa8', name: "field-distribute-vertically" })), h("button", { key: '8acb95f4f0a5351bd9935f8524b712c08a15b48a', disabled: true, "data-tooltip": "Select multiple Fields to to access distribution controls" }, h("ls-icon", { key: 'f0a1a1df6c5c290b614839a33c90efa4fbda4e30', name: "field-distribute-horizontally" })))), h("div", { key: 'db2732da927ce155eea6de22a1918c268e129d85', class: 'ls-field-properties-section' }, h("div", { key: '9deb78c5a75ca1a541b2a3a2be272937a8a5a76b', class: 'ls-field-properties-section-text' }, h("p", { key: '78db32539b94166cb62bc518344dd4e6486cf453', class: 'ls-field-properties-section-title' }, "Gap"), h("p", { key: '95c9d982a1925b054737d6148c3ff361269d5ea4', class: 'ls-field-properties-section-description' }, "Define the exact gap between multi-select fields.")), h("div", { key: '43e4c3ce3848f4ffd8a867236f070dcfc0950e2a', class: 'input-row' }, h("div", { key: '032032a7ae2548e56bfe82cb17a3e7c6038a6aea', class: 'input-wrapper', "data-tooltip": "Select multiple Fields to to access gap controls" }, h("ls-icon", { key: '6f213b3a0556e8bcd0e419489c0575d543d8ac77', id: "selectLeadingIconDisabled", name: "field-distribute-vertically" }), h("input", { key: '956aba482021272690d298b56777bbc47cc534cd', type: "number", value: "0", class: 'has-leading-icon', aria: "vertical-gap", id: "vertical-gap", disabled: true })), h("div", { key: '41f66794a3c8c4370eca9adb25d6aa5cfa705300', class: 'input-wrapper', "data-tooltip": "Select multiple Fields to to access gap controls" }, h("ls-icon", { key: '10df619222401790e78687af57c3aff5c899cfc6', id: "selectLeadingIconDisabled", name: "field-distribute-horizontally" }), h("input", { key: 'fb21a896341bef926bd3357a70f79ab70c3c1175', type: "number", value: "0", class: 'has-leading-icon', aria: "horizontal-gap", id: "horizontal-gap", disabled: true })))))), h("ls-tooltip", { key: '1da98656abb6639ec60a4110a122587b8f721b16', id: "ls-tooltip-master" })));
|
|
68
|
+
}
|
|
69
|
+
static get style() { return lsFieldPlacementCss(); }
|
|
70
|
+
}, [769, "ls-field-placement", {
|
|
71
|
+
"dataItem": [1040]
|
|
72
|
+
}]);
|
|
73
|
+
function defineCustomElement() {
|
|
74
|
+
if (typeof customElements === "undefined") {
|
|
75
|
+
return;
|
|
62
76
|
}
|
|
63
|
-
|
|
64
|
-
|
|
77
|
+
const components = ["ls-field-placement", "ls-icon", "ls-tooltip"];
|
|
78
|
+
components.forEach(tagName => { switch (tagName) {
|
|
79
|
+
case "ls-field-placement":
|
|
80
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
81
|
+
customElements.define(transformTag(tagName), LsFieldPlacement);
|
|
82
|
+
}
|
|
83
|
+
break;
|
|
84
|
+
case "ls-icon":
|
|
85
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
86
|
+
defineCustomElement$2();
|
|
87
|
+
}
|
|
88
|
+
break;
|
|
89
|
+
case "ls-tooltip":
|
|
90
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
91
|
+
defineCustomElement$1();
|
|
92
|
+
}
|
|
93
|
+
break;
|
|
94
|
+
} });
|
|
95
|
+
}
|
|
96
|
+
defineCustomElement();
|
|
97
|
+
|
|
98
|
+
export { LsFieldPlacement as L, defineCustomElement as d };
|
|
99
|
+
//# sourceMappingURL=p-C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EAAA,GAAA,EAAA,0CAAA,EAAS,EAAE,EAAC,2BAA2B,EAAC,IAAI,EAAC,6BAA6B,EAAW,CAAA,EACrF,CAAO,CAAA,OAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,GAAG,EAAC,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAC,cAAc,EAAC,EAAE,EAAC,cAAc,EAAC,QAAQ,EAAA,IAAA,EAAA,CAAG,CACvG,EACN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,eAAe,EAAA,cAAA,EAAe,kDAAkD,EAAA,EAC1F,CAAA,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAS,EAAE,EAAC,2BAA2B,EAAC,IAAI,EAAC,+BAA+B,EAAW,CAAA,EACvF,CAAO,CAAA,OAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,GAAG,EAAC,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAC,gBAAgB,EAAC,EAAE,EAAC,gBAAgB,EAAC,QAAQ,EAAA,IAAA,EAAA,CAAG,CAC3G,CACF,CACF,CACF,CACP,EACD,CAAA,CAAA,YAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAY,EAAE,EAAC,mBAAmB,EAAG,CAAA,CAChC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ls-field-placement/ls-field-placement.css?tag=ls-field-placement&encapsulation=shadow","src/components/ls-field-placement/ls-field-placement.tsx"],"sourcesContent":[":host {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n width: 100%;\n position: relative;\n}\n\n* {\n margin: 0;\n box-sizing: border-box;\n}\n\n.field-set {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n width: 100%;\n}\n\n.ls-field-properties-section {\n display: flex;\n position: relative;\n flex-direction: column;\n gap: 0.5rem;\n}\n\n.row {\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n}\n\n.multi-button-group-row {\n display: flex;\n gap: 0.5rem;\n}\n\n.ls-field-properties-section-text {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n padding: 0.25rem;\n}\n\n.ls-field-properties-section-title {\n color: var(--gray-90, #5e6066);\n font-size: 1rem;\n font-style: normal;\n font-weight: 500;\n line-height: 1.25rem; /* 142.857% */\n}\n\n.ls-field-properties-section-description {\n overflow: hidden;\n color: var(--gray-80, #6c6e73);\n text-overflow: ellipsis;\n font-size: 0.75rem;\n font-style: normal;\n font-weight: 400;\n line-height: 0.75rem; /* 120% */\n}\n\n.input-row {\n display: flex;\n gap: 0.5rem;\n}\n\n.input-row .input-wrapper input {\n width: 9.313rem;\n max-width: 9.313rem;\n}\n\n/* Global Styles */\n\np {\n color: var(--gray-80, #6c6e73);\n font-family: var(--font-family);\n font-size: var(--text-sm);\n font-style: normal;\n font-weight: 400;\n line-height: var(--text-sm-line-height);\n}\n\na {\n color: var(--primary-60, #4456f6);\n font-size: var(--text-sm);\n font-style: normal;\n font-weight: 400;\n line-height: var(--text-sm-line-height);\n cursor: pointer;\n}\n\na:hover {\n text-decoration: underline;\n color: var(--primary-70, #2134dc);\n}\n\n.button-link,\n.button-link:hover {\n all: unset;\n}\n\nselect {\n appearance: none;\n height: 2.25rem;\n}\n\n.input-wrapper {\n position: relative;\n width: 100%;\n}\n\n#selectorIcon {\n position: absolute;\n top: 50%;\n right: 0.675rem;\n transform: translateY(-50%);\n pointer-events: none;\n color: var(--gray-80, #6c6e73);\n}\n\n#selectLeadingIcon {\n position: absolute;\n top: 50%;\n left: 0.675rem;\n transform: translateY(-50%);\n pointer-events: none;\n color: var(--gray-80, #6c6e73);\n}\n\n#selectLeadingIconDisabled {\n position: absolute;\n top: 50%;\n left: 0.675rem;\n transform: translateY(-50%);\n pointer-events: none;\n color: var(--gray-50, #d8d9dc);\n}\n\n\n.has-leading-icon {\n padding-left: 2.5rem;\n}\n\ninput,\nselect,\ntextarea {\n border: 1px solid var(--gray-40, #d8d9dc);\n box-shadow: 0 1px 0.125rem rgba(0, 0, 0, 0.05);\n padding: 0.5rem 0.75rem;\n font-family: var(--font-family);\n font-size: var(--text-sm);\n border-radius: 0.5rem;\n color: var(--gray-100, #45484d);\n font-weight: 400;\n}\n\ninput::placeholder,\nselect::placeholder,\ntextarea::placeholder {\n color: var(--gray-60, #afb0b2);\n}\n\ninput:hover:not(:disabled),\nselect:hover:not(:disabled),\ntextarea:hover:not(:disabled) {\n border-color: var(--gray-50, #c8c9cc);\n background-color: var(--white, #fff);\n}\n\ninput:focus:not(:disabled),\nselect:focus:not(:disabled),\ntextarea:focus:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 0.25rem var(--primary-40, #79adfc);\n border-color: var(--primary-60, #4456f6);\n background-color: var(--white, #fff);\n}\n\ninput:active:not(:disabled),\nselect:active:not(:disabled),\ntextarea:active:not(:disabled) {\n border-color: var(--primary-50, #5185ff);\n}\n\ninput:disabled,\nselect:disabled,\ntextarea:disabled {\n cursor: not-allowed;\n background-color: var(--gray-10, #f7f8fa);\n color: var(--gray-50, #d8d9dc);\n box-shadow: none;\n}\n\ninput[type='checkbox'] {\n appearance: none;\n position: relative;\n height: 1rem;\n width: 1rem;\n padding: 0.25rem;\n border-radius: var(--radius-sm);\n border: 1px solid #d1d5db;\n background-color: #ffffff;\n cursor: pointer;\n}\n\ninput[type='checkbox']:checked,\ninput[type='checkbox'].indeterminate {\n background-color: var(--primary-60, #4456f6);\n border: none;\n}\n\ninput[type='checkbox']:checked::after {\n content: '';\n position: absolute;\n top: 45%;\n left: 50%;\n transform: translate(-50%, -50%) rotate(-45deg) scale(-1, 1);\n width: 0.5rem;\n height: 0.25rem;\n border-bottom: 0.125rem solid white;\n border-right: 0.125rem solid white;\n}\n\ninput[type='checkbox'].indeterminate::after {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 0.5rem;\n height: 0.125rem;\n background-color: white;\n}\n\ninput[type='checkbox']:checked:hover,\ninput[type='checkbox'].indeterminate:hover {\n background-color: var(--primary-70, #2134dc);\n border: none;\n}\n\ninput[type='checkbox']:hover {\n border: 1px solid #9ca3af;\n}\n\ninput[type='checkbox']:focus,\ninput[type='checkbox']:active {\n outline: none;\n box-shadow: 0 0 0 0.25rem var(--primary-20, #c7ddff);\n background-color: #f0f4f8;\n}\n\ninput[type='checkbox']:disabled {\n background-color: #f3f4f6;\n outline: none;\n cursor: not-allowed;\n}\n\ninput[type='checkbox']:disabled:checked {\n background-color: #e5e7eb;\n border: none;\n outline: none;\n cursor: not-allowed;\n}\n\n.checkbox-container {\n display: flex;\n gap: 0.5rem;\n width: 100%;\n}\n\n.checkbox-label {\n color: var(--gray-100, #45484d);\n font-size: 1rem;\n font-style: normal;\n font-weight: 400;\n line-height: 1rem;\n}\n\n.form-label {\n color: var(--gray-100, #45484d);\n font-size: 1rem;\n font-style: normal;\n font-weight: 500;\n line-height: 1.5rem;\n}\n\n.form-field {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n width: 100%;\n}\n\n.loading-box {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100vh;\n color: var(--primary-60, #0c7cba);\n}\n\nbutton {\n border: 0;\n appearance: button;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--radius-lg);\n background-color: var(--primary-60, #4456f6);\n color: white;\n text-transform: capitalize;\n min-height: 2.25rem;\n min-width: 2.25rem;\n}\n\nbutton.tertiaryGrey {\n border: 1px solid var(--gray-40, #d8d9dc);\n background-color: white;\n color: var(--gray-80, #787a80);\n}\n\nbutton.tertiaryGrey:hover {\n border: 1px solid var(--gray-50, #c8c9cc);\n background: var(--gray-10, #f7f8fa);\n}\n\n.button-group {\n display: flex;\n border-radius: 0.5rem;\n border: 1px solid var(--gray-30, #e0e2e5);\n background: var(--white, #ffffff);\n overflow: clip;\n width: 100%;\n}\n\n.button-group button {\n display: flex;\n width: 100%;\n background: transparent;\n border-radius: unset;\n padding: 0.25rem 0.75rem;\n min-width: 2.156rem;\n color: var(--gray-80, #6c6e73);\n}\n\n.button-group button:disabled {\n background: var(--gray-10, #f7f8fa);\n cursor: not-allowed;\n color: var(--gray-50, #d8d9dc);\n}\n\n.button-group button:hover {\n background: var(--gray-10, #f7f8fa);\n}\n\n.button-group > :first-child {\n border-radius: 0.5rem 0 0 0.5rem;\n}\n\n.button-group > :last-child {\n border-radius: 0 0.5rem 0.5rem 0;\n}\n\n.button-group > :not(:first-child) {\n border-left: 1px solid var(--gray-30, #e0e2e5);\n}\n","import { Component, Host, Prop, h, Event, EventEmitter, Element } from '@stencil/core';\nimport { LSApiElement } from '../../types/LSApiElement';\nimport { LSMutateEvent } from '../../types/LSMutateEvent';\nimport { attachAllTooltips } from '../../utils/tooltip';\n\n@Component({\n tag: 'ls-field-placement',\n styleUrl: 'ls-field-placement.css',\n shadow: true,\n})\nexport class LsFieldPlacement {\n @Element() component: HTMLElement;\n @Prop({ mutable: true }) dataItem: LSApiElement | LSApiElement[];\n\n @Event({\n bubbles: true,\n cancelable: true,\n composed: true,\n })\n mutate: EventEmitter<LSMutateEvent[]>;\n\n isSingle(dt: LSApiElement | LSApiElement[]): dt is LSApiElement {\n return (dt as LSApiElement[]).length === undefined;\n }\n\n isMultiple(dt: LSApiElement | LSApiElement[]): dt is LSApiElement[] {\n return typeof (dt as LSApiElement[]).length === 'number';\n }\n\n getValue(key) {\n if (this.isMultiple(this.dataItem)) {\n return \"\";\n } else if (this.isSingle(this.dataItem)) {\n return this.dataItem[key]\n }\n return ''\n }\n\n // Send one or more mutations up the chain\n // The source of the chain fires the mutation\n alter(diff: object) {\n if (this.isMultiple(this.dataItem)) {\n const diffs: LSMutateEvent[] = this.dataItem.map(c => {\n return { action: 'update', data: { ...c, ...diff } as LSApiElement };\n });\n\n this.dataItem = diffs.map(d => d.data as LSApiElement);\n this.mutate.emit(diffs);\n } else {\n const singleDiff = { action: 'update', data: { ...this.dataItem, ...diff } as LSApiElement } as LSMutateEvent;\n this.dataItem = singleDiff.data as LSApiElement;\n this.mutate.emit([singleDiff]);\n }\n }\n\n center() {\n return this.dataItem[0].pageDimensions[this.dataItem[0].page].width / 2 - this.dataItem[0].width / 2;\n }\n\n right() {\n return this.dataItem[0].pageDimensions[this.dataItem[0].page].width - this.dataItem[0].width;\n }\n\n middle() {\n return this.dataItem[0].pageDimensions[this.dataItem[0].page].height / 2 - this.dataItem[0].height / 2;\n }\n\n bottom() {\n return this.dataItem[0].pageDimensions[this.dataItem[0].page].height - this.dataItem[0].height;\n }\n\n componentDidLoad() {\n attachAllTooltips(this.component.shadowRoot);\n }\n\n render() {\n return (\n <Host>\n {this.isMultiple(this.dataItem) && (\n <div class={'ls-field-properties-section'}>\n <div class={'ls-field-properties-section-text'}>\n <p class={'ls-field-properties-section-title'}>Location</p>\n <p class={'ls-field-properties-section-description'}>Use coordinates to move your fields on the page</p>\n </div>\n <div class={'input-row'}>\n <div class={'input-wrapper'}>\n <ls-icon id=\"selectLeadingIcon\" name=\"x-letter\"></ls-icon>\n <input type=\"number\" class={'has-leading-icon'} aria=\"top-location\" id=\"top-location\" onChange={e => this.alter({ left: (e.target as HTMLInputElement).value })} />\n </div>\n <div class={'input-wrapper'}>\n <ls-icon id=\"selectLeadingIcon\" name=\"y\"></ls-icon>\n <input\n type=\"number\"\n class={'has-leading-icon'}\n aria=\"left-location\"\n id=\"left-location\"\n onChange={e => this.alter({ top: (e.target as HTMLInputElement).value })}\n />\n </div>\n </div>\n </div>\n )}\n {this.isSingle(this.dataItem) && (\n <div class={'field-set'}>\n {/* @Alex I couldn't get this to work?? Only Top and Left */}\n\n <div class={'ls-field-properties-section'}>\n <div class={'ls-field-properties-section-text'}>\n <p class={'ls-field-properties-section-title'}>Alignment</p>\n <p class={'ls-field-properties-section-description'}>Align your Fields relative to the page or multi-select and align then to each other.</p>\n </div>\n <div class={'multi-button-group-row'}>\n <div class={'button-group'}>\n <button onClick={() => { this.alter({ left: 0 }) }} data-tooltip=\"Align Left\">\n <ls-icon name=\"field-alignment-left\"></ls-icon>\n </button>\n <button onClick={() => { this.alter({ left: this.center() }) }} data-tooltip=\"Align Center\">\n <ls-icon name=\"field-alignment-centre\"></ls-icon>\n </button>\n <button onClick={() => { this.alter({ left: this.right() }) }} data-tooltip=\"Align Right\">\n <ls-icon name=\"field-alignment-right\"></ls-icon>\n </button>\n </div>\n <div class={'button-group'}>\n <button onClick={() => this.alter({ top: 0 })} data-tooltip=\"Align Top\">\n <ls-icon name=\"field-alignment-top\"></ls-icon>\n </button>\n <button onClick={() => { this.alter({ top: this.middle() }) }} data-tooltip=\"Align Middle\">\n <ls-icon name=\"field-alignment-middle\"></ls-icon>\n </button>\n <button onClick={() => { this.alter({ top: this.bottom() }) }} data-tooltip=\"Align Bottom\">\n <ls-icon name=\"field-alignment-bottom\"></ls-icon>\n </button>\n </div>\n </div>\n </div>\n\n <div class={'ls-field-properties-section'}>\n <div class={'ls-field-properties-section-text'}>\n <p class={'ls-field-properties-section-title'}>Location</p>\n <p class={'ls-field-properties-section-description'}>Use coordinates to move your fields on the page</p>\n </div>\n <div class={'input-row'}>\n <div class={'input-wrapper'}>\n <ls-icon id=\"selectLeadingIcon\" name=\"x-letter\"></ls-icon>\n <input\n type=\"number\"\n class={'has-leading-icon'}\n aria=\"top-location\"\n id=\"top-location\"\n value={this.dataItem?.left}\n onChange={e => this.alter({ left: (e.target as HTMLInputElement).value })}\n />\n </div>\n <div class={'input-wrapper'}>\n <ls-icon id=\"selectLeadingIcon\" name=\"y\"></ls-icon>\n <input\n type=\"number\"\n class={'has-leading-icon'}\n aria=\"left-location\"\n id=\"left-location\"\n value={this.dataItem?.top}\n onChange={e => this.alter({ top: (e.target as HTMLInputElement).value })}\n width=\"30\"\n />\n </div>\n </div>\n </div>\n\n <div class={'ls-field-properties-section'}>\n <div class={'ls-field-properties-section-text'}>\n <p class={'ls-field-properties-section-title'}>Distribution</p>\n <p class={'ls-field-properties-section-description'}>Multi-select fields and evenly space them out</p>\n </div>\n <div class={'button-group'}>\n <button disabled data-tooltip=\"Select multiple Fields to to access distribution controls\">\n <ls-icon name=\"field-distribute-vertically\"></ls-icon>\n </button>\n <button disabled data-tooltip=\"Select multiple Fields to to access distribution controls\">\n <ls-icon name=\"field-distribute-horizontally\"></ls-icon>\n </button>\n </div>\n </div>\n\n <div class={'ls-field-properties-section'}>\n <div class={'ls-field-properties-section-text'}>\n <p class={'ls-field-properties-section-title'}>Gap</p>\n <p class={'ls-field-properties-section-description'}>Define the exact gap between multi-select fields.</p>\n </div>\n <div class={'input-row'}>\n <div class={'input-wrapper'} data-tooltip=\"Select multiple Fields to to access gap controls\">\n <ls-icon id=\"selectLeadingIconDisabled\" name=\"field-distribute-vertically\"></ls-icon>\n <input type=\"number\" value=\"0\" class={'has-leading-icon'} aria=\"vertical-gap\" id=\"vertical-gap\" disabled />\n </div>\n <div class={'input-wrapper'} data-tooltip=\"Select multiple Fields to to access gap controls\">\n <ls-icon id=\"selectLeadingIconDisabled\" name=\"field-distribute-horizontally\"></ls-icon>\n <input type=\"number\" value=\"0\" class={'has-leading-icon'} aria=\"horizontal-gap\" id=\"horizontal-gap\" disabled />\n </div>\n </div>\n </div>\n </div>\n )}\n <ls-tooltip id=\"ls-tooltip-master\" />\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -27,6 +27,6 @@ function attachAllTooltips(root) {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
export { attachAllTooltips as a };
|
|
30
|
-
//# sourceMappingURL=
|
|
30
|
+
//# sourceMappingURL=p-Cb8nDMs-.js.map
|
|
31
31
|
|
|
32
|
-
//# sourceMappingURL=
|
|
32
|
+
//# sourceMappingURL=p-Cb8nDMs-.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-Cb8nDMs-.js","mappings":"AAAM,SAAU,WAAW,CAAC,KAAK,EAAA;AAC/B,IAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,EAAE;IACnC,MAAM,OAAO,GAAG,QAAQ,CAAC,cAAc,CAAC,mBAAmB,CAAyB;AACpF,IAAA,OAAO,CAAC,gBAAgB,GAAG,KAAK,CAAC,aAA4B;AAC/D;AAEM,SAAU,WAAW,CAAC,MAAM,EAAA;AACjC,IAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,EAAE;IAClC,MAAM,OAAO,GAAG,QAAQ,CAAC,cAAc,CAAC,mBAAmB,CAAyB;;IAEpF,OAAO,CAAC,IAAI,EAAE;AAChB;AAEM,SAAU,iBAAiB,CAAC,IAA2B,EAAA;IAC3D,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC;AAC9D,IAAA,cAAc,CAAC,OAAO,CAAC,EAAE,IAAG;AAExB,QAAA,EAAE,CAAC,gBAAgB,CAAC,YAAY,EAAE,WAAW,CAAC;AAC9C,QAAA,EAAE,CAAC,gBAAgB,CAAC,YAAY,EAAE,WAAW,CAAC;AAC9C,QAAA,EAAE,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC;AACzC,QAAA,EAAE,CAAC,gBAAgB,CAAC,MAAM,EAAE,WAAW,CAAC;;;;;;;;AAQ5C,KAAC,CAAC;AACJ;;;;","names":[],"sources":["src/utils/tooltip.ts"],"sourcesContent":["export function showTooltip(event) {\n const rootNode = this.getRootNode();\n const tooltip = rootNode.getElementById('ls-tooltip-master') as HTMLLsTooltipElement;\n tooltip.referenceElement = event.currentTarget as HTMLElement;\n}\n\nexport function hideTooltip(_event) {\n const rootNode = this.getRootNode();\n const tooltip = rootNode.getElementById('ls-tooltip-master') as HTMLLsTooltipElement;\n // if (this.tooltipLocked) return;\n tooltip.hide();\n}\n\nexport function attachAllTooltips(root: ShadowRoot | Document) {\n const tooltipTargets = root.querySelectorAll('[data-tooltip]');\n tooltipTargets.forEach(tt => {\n \n tt.addEventListener('mouseenter', showTooltip);\n tt.addEventListener('mouseleave', hideTooltip);\n tt.addEventListener('focus', showTooltip);\n tt.addEventListener('blur', hideTooltip);\n // tt.addEventListener('click', (e) => {\n // hideTooltip(e);\n // this.tooltipLocked = true;\n // setTimeout(() => {\n // this.tooltipLocked = false;\n // }, 500);\n // });\n });\n}\n\n"],"version":3}
|
|
@@ -1,15 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as defaultRolePalette } from './
|
|
1
|
+
import { t as transformTag, p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-BhZ5Udbm.js';
|
|
2
|
+
import { d as defaultRolePalette } from './p-BKrsDBDB.js';
|
|
3
|
+
import { d as defineCustomElement$3 } from './p-DnyBXRV4.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './p-CI3IFKqK.js';
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-faUZy676.js';
|
|
3
6
|
|
|
4
7
|
const lsRecipientCardCss = () => `:host{display:block}*{box-sizing:border-box;margin:0}.participant-card{display:flex;padding:0.75rem;flex-direction:column;align-items:flex-start;gap:0.5rem;align-self:stretch;max-height:6.25rem;transition:max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden;transform-origin:top}.participant-card.expand-up{transform-origin:bottom}.participant-card.expand-down{transform-origin:top}.participant-card.expanded{max-height:125rem;}.dot{width:0.5rem;height:0.5rem;background:var(--red-50, #ff706b);border-radius:50%;margin-right:0.25rem}.top-card{border-radius:1rem 1rem 0 0}.full-card{border-radius:1.5rem}.bottom-card{border-radius:0 0 1rem 1rem}.participant-card-inner{width:100%;display:flex;flex-direction:column;gap:0.5rem}.hidden{visibility:hidden;display:none}.form-button-set{display:flex;gap:0.5rem}.role-label{display:flex;padding:0.125rem 0.5rem;justify-content:center;align-items:center;gap:0.25rem;border-radius:0.5rem;font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;}.fields-box{display:flex;flex-direction:column;gap:0.5rem;width:100%}.role-label.fields{border-radius:1rem;margin-top:0.5rem}.innerButton{margin:0px;padding:0px;max-height:1.25rem !important;max-width:1.25rem !important;background-color:transparent;border:none;cursor:pointer;color:var(--default-button-colour)}.innerButton:hover{color:var(--hover-button-colour)}.participant-card-top-items{display:flex;width:100%;justify-content:space-between;align-items:center}.button-set{display:flex;gap:0.125rem}.participant-text-description{font-size:0.875rem;font-style:normal;font-weight:500;line-height:1.25rem;}.participant-text-type{font-style:normal;font-weight:400;line-height:1.25rem;}.titleButton{width:100%;text-align:left;background-color:transparent;border:none}.full-width{width:100%}.participant-card-text{padding:0 0.125rem 0.125rem 0.125rem}p{color:var(--gray-80, #6c6e73);font-family:var(--font-family);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height)}a{color:var(--primary-60, #4456f6);font-size:var(--text-sm);font-style:normal;font-weight:400;line-height:var(--text-sm-line-height);cursor:pointer}a:hover{text-decoration:underline;color:var(--primary-70, #2134dc)}.button-link,.button-link:hover{all:unset}select{appearance:none;height:2.25rem;width:100%}.input-wrapper{position:relative;width:fit-content}#selectorIcon{position:absolute;top:50%;right:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6c6e73)}#selectLeadingIcon{position:absolute;top:50%;left:0.675rem;transform:translateY(-50%);pointer-events:none;color:var(--gray-80, #6c6e73)}.has-leading-icon{padding-left:2.5rem}input,select,textarea{border:1px solid var(--gray-40, #d8d9dc);box-shadow:0 1px 0.125rem rgba(0, 0, 0, 0.05);padding:0.5rem 0.75rem;font-family:var(--font-family);font-size:var(--text-sm);border-radius:0.5rem;color:var(--gray-100, #45484d);font-weight:400}input::placeholder,select::placeholder,textarea::placeholder{color:var(--gray-60, #afb0b2)}input:hover:not(:disabled),select:hover:not(:disabled),textarea:hover:not(:disabled){border-color:var(--gray-50, #c8c9cc);background-color:var(--white, #fff)}input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 0.25rem var(--primary-40, #79adfc);border-color:var(--primary-60, #4456f6);background-color:var(--white, #fff)}input:active,select:active,textarea:active{border-color:var(--primary-50, #5185ff)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background-color:var(--gray-10, #f7f8fa)}input[type='checkbox']{appearance:none;position:relative;height:1rem;width:1rem;padding:0.25rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background-color:#ffffff;cursor:pointer}input[type='checkbox']:checked,input[type='checkbox'].indeterminate{background-color:var(--primary-60, #4456f6);border:none}input[type='checkbox']:checked::after{content:'';position:absolute;top:45%;left:50%;transform:translate(-50%, -50%) rotate(-45deg) scale(-1, 1);width:0.5rem;height:0.25rem;border-bottom:0.125rem solid white;border-right:0.125rem solid white}input[type='checkbox'].indeterminate::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.5rem;height:0.125rem;background-color:white}input[type='checkbox']:checked:hover,input[type='checkbox'].indeterminate:hover{background-color:var(--primary-70, #2134dc);border:none}input[type='checkbox']:hover{border:1px solid #9ca3af}input[type='checkbox']:focus,input[type='checkbox']:active{outline:none;box-shadow:0 0 0 0.25rem var(--primary-20, #c7ddff);background-color:#f0f4f8}input[type='checkbox']:disabled{background-color:#f3f4f6;outline:none;cursor:not-allowed}input[type='checkbox']:disabled:checked{background-color:#e5e7eb;border:none;outline:none;cursor:not-allowed}.checkbox-container{display:flex;gap:0.5rem;width:100%}.checkbox-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:400;line-height:1rem}.form-label{color:var(--gray-100, #45484d);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.form-field{display:flex;flex-direction:column;gap:0.25rem;width:100%}.loading-box{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;color:var(--primary-60, #0c7cba)}button{border:0;appearance:button;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-lg);background-color:var(--primary-60, #4456f6);color:white;text-transform:capitalize;min-height:2.25rem;min-width:2.25rem}button.tertiaryGrey{border:1px solid var(--gray-40, #d8d9dc);background-color:white;color:var(--gray-80, #787a80)}button.tertiaryGrey:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}button.tertiary{border:1px solid var(--primary-60, #4456f6);background:transparent;color:var(--primary-70, #2134dc)}button.tertiary:hover{border:1px solid var(--primary-70, #2134dc);border:1px solid var(--primary-80, #0c34b8)}button.destructive{border:1px solid var(--red-60, #f04438);background:transparent;color:var(--red-60)}button.destructive:hover{border:1px solid var(--red-70, #d92d20);background:var(--red-10, #fff1f0);background-color:var(--red-10, #fff1f0)}button.secondary{border:1px solid var(--gray-50, #c8c9cc);background:var(--white, #fff);color:var(--gray-90, #5e6066);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.1)}button.secondary:hover{border:1px solid var(--gray-50, #c8c9cc);background:var(--gray-10, #f7f8fa)}.button-group{display:flex;border-radius:0.5rem;border:1px solid var(--gray-30, #e0e2e5);background:var(--white, #ffffff);overflow:clip}.button-group button{display:flex;background:transparent;border-radius:unset;padding:0.25rem 0.75rem;min-width:2.156rem;min-height:unset;color:var(--gray-80, #6c6e73)}.button-group button:hover{background:var(--gray-10, #f7f8fa)}.button-group>:first-child{border-radius:0.5rem 0 0 0.5rem}.button-group>:last-child{border-radius:0 0.5rem 0.5rem 0}.button-group>:not(:first-child){border-left:1px solid var(--gray-30, #e0e2e5)}`;
|
|
5
8
|
|
|
6
|
-
const LsRecipientCard = class {
|
|
7
|
-
constructor(
|
|
8
|
-
|
|
9
|
+
const LsRecipientCard = /*@__PURE__*/ proxyCustomElement(class LsRecipientCard extends H {
|
|
10
|
+
constructor(registerHost) {
|
|
11
|
+
super();
|
|
12
|
+
if (registerHost !== false) {
|
|
13
|
+
this.__registerHost();
|
|
14
|
+
}
|
|
15
|
+
this.__attachShadow();
|
|
9
16
|
this.changeSigner = createEvent(this, "changeSigner", 7);
|
|
10
17
|
this.fieldSelected = createEvent(this, "fieldSelected", 7);
|
|
11
18
|
}
|
|
12
|
-
get component() { return
|
|
19
|
+
get component() { return this; }
|
|
13
20
|
/**
|
|
14
21
|
* The initial template data, including the link for background PDF. See README and
|
|
15
22
|
* example for correct GraphQL query and data structure.
|
|
@@ -73,7 +80,7 @@ const LsRecipientCard = class {
|
|
|
73
80
|
render() {
|
|
74
81
|
const recipientFields = this.template.elementConnection.templateElements.filter(f => f.signer === this.recipient.signerIndex) || [];
|
|
75
82
|
const recipientSignatures = recipientFields.filter(f => f.elementType === 'signature' || f.elementType === 'auto sign');
|
|
76
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: '903130cf529b43981b952104f0becfe3072348b2' }, h("div", { key: '9297686e83f551a7b853fb4ac042d91353121bb9', ref: el => (this.cardRef = el), class: `participant-card top-card full-card ${this.activeRecipient === this.recipient.signerIndex ? 'expanded' : ''}`, style: {
|
|
77
84
|
background: defaultRolePalette[this.recipient?.signerIndex % 100].s10,
|
|
78
85
|
border: `1px ${this.recipient.roleType === 'WITNESS' ? 'dashed' : 'solid'} ${defaultRolePalette[this.recipient?.signerIndex % 100].s60}`,
|
|
79
86
|
outline: `${this.recipient.signerIndex === this.activeRecipient ? '4px solid ' + defaultRolePalette[this.recipient?.signerIndex % 100].s40 : 'none'}`,
|
|
@@ -85,20 +92,61 @@ const LsRecipientCard = class {
|
|
|
85
92
|
this.setIsHovered(true);
|
|
86
93
|
}, onMouseLeave: () => {
|
|
87
94
|
this.setIsHovered(false);
|
|
88
|
-
} }, h("div", { key: '
|
|
95
|
+
} }, h("div", { key: '4e11349918699d1c1a028ea57ad143ee11798acc', class: 'participant-card-inner' }, h("div", { key: '25d5256f08b22e56b63c4dfd2a5614f5fb385669', class: 'participant-card-top-items' }, h("div", { key: 'e1fe583fb47163e13c04f35d19322e52a5eb66b2', class: 'role-label', style: {
|
|
89
96
|
background: defaultRolePalette[this.recipient?.signerIndex % 100].s20,
|
|
90
97
|
color: defaultRolePalette[this.recipient?.signerIndex % 100].s90,
|
|
91
|
-
} }, h("ls-icon", { key: '
|
|
98
|
+
} }, h("ls-icon", { key: '4d0aca298ea272e3efc7fd0cf4a43472e3549d3d', name: this.recipient?.roleType === 'APPROVER' ? 'check-circle' : this.recipient?.roleType === 'WITNESS' ? 'eye' : 'signature', size: '1rem' }), this.recipient?.roleType || 'SIGNER'), h("ls-icon", { key: 'd0a84cacf3fb75a8a3d339bfbe549f9e5be23876', name: "cursor-click", size: "1rem", customStyle: { color: defaultRolePalette[this.recipient?.signerIndex % 100].s70 }, solid: true, style: { display: this.isHovered && this.recipient.signerIndex !== this.activeRecipient ? 'block' : 'none' } }), h("div", { key: '789121bc1d7d75fe452c2c67082816a10c27d570', class: "dot", style: { display: (!this.isHovered || this.recipient.signerIndex === this.activeRecipient) && this.validationErrors.filter(v => v?.signerIndex === this.recipient.signerIndex).length > 0 ? 'block' : 'none' } })), h("div", { key: 'fabf3a9a36b49213ebdee5cd409aa6bbcbc26ff6', class: 'participant-card-text' }, h("p", { key: 'ee1ff4dbb6c32a3a1ac1800e1b0354649dd47c77', class: "participant-text-description", style: {
|
|
92
99
|
color: defaultRolePalette[this.recipient?.signerIndex % 100].s100,
|
|
93
|
-
} }, this.recipient?.previousRecipientDecides ? 'To Be Decided' : this.recipient?.firstName + ' ' + this.recipient?.lastName), h("p", { key: '
|
|
100
|
+
} }, this.recipient?.previousRecipientDecides ? 'To Be Decided' : this.recipient?.firstName + ' ' + this.recipient?.lastName), h("p", { key: '63a110705d9ffdbc747c3d3d89f83e8a0ab3fa7f', class: "participant-text-type", style: {
|
|
94
101
|
color: defaultRolePalette[this.recipient?.signerIndex % 100].s80,
|
|
95
|
-
} }, this.recipient?.previousRecipientDecides ? 'Details will be decided by previous recipient' : this.recipient.email)), h("div", { key: '
|
|
102
|
+
} }, this.recipient?.previousRecipientDecides ? 'Details will be decided by previous recipient' : this.recipient.email)), h("div", { key: '364d0be6555c821ec7fc141991debe06808b0af2', class: "fields-box", style: { display: this.recipient.signerIndex === this.activeRecipient ? 'flex' : 'hidden' } }, this.recipient.signerIndex > 0 && this.showTool('signature') && (h("ls-toolbox-field", { key: '2ce8cc8bb0dcc4fd61d69c8d46b7afeb9e97be40', elementType: "signature", formElementType: "signature", label: "Signature", defaultHeight: 27, defaultWidth: 120, validation: 0, icon: "signature", tooltip: "Use this field to collect Signatures from Participants", signer: this.recipient.signerIndex, redDot: recipientSignatures.length === 0 && this.recipient.roleType !== 'APPROVER' })), this.recipient.signerIndex === 0 && this.showTool('auto sign') && (h("ls-toolbox-field", { key: 'b8a5595c5cc8243c8c2ceff8ca58561212cb3cdf', elementType: "auto sign", formElementType: "auto sign", label: "Auto Sign", defaultHeight: 27, defaultWidth: 120, validation: 3000, icon: "auto-sign", tooltip: "Auto-Sign lets Senders add a Signature to the Document that will be automatically applied upon Sending", signer: this.recipient.signerIndex })), this.showTool('text') && (h("ls-toolbox-field", { key: 'ba7f1f4e8a5fcb6ce9602347d2a83a7c9505d9fa', elementType: "text", formElementType: "text", label: "Text", defaultHeight: 27, defaultWidth: 100, validation: 0, icon: "text", tooltip: "A field for collecting any plain text values such as: names, addresses or descriptions", signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('signing date') && (h("ls-toolbox-field", { key: 'b500358ec8491731768aa20fc7e43899f221fb7e', elementType: "signing date", formElementType: "signing date", label: "Signing Date", defaultHeight: 27, defaultWidth: 120, validation: 30, icon: "auto-date", tooltip: "Automatically inserts the date upon completion by the assigned Participant", signer: this.recipient.signerIndex })), this.showTool('date') && (h("ls-toolbox-field", { key: '324a603ab9c3d5fb4d2376510f41f713cbaccf3b', elementType: "date", formElementType: "date", label: "Date", defaultHeight: 27, defaultWidth: 80, validation: 2, icon: "calender", tooltip: "A field for collecting dates with built-in date formatting options", signer: this.recipient.signerIndex })), this.showTool('email') && (h("ls-toolbox-field", { key: '742435eb1731203eda073ff2729bb2f4058fb623', elementType: "email", formElementType: "email", label: "Email", defaultHeight: 27, defaultWidth: 120, validation: 1, icon: "at-symbol", tooltip: "A Field to only accept entries formatted as an email address (e.g., example@example.com)", signer: this.recipient.signerIndex })), this.showTool('initials') && (h("ls-toolbox-field", { key: '138724929cfa7885b7fa0940e3158d773f201ff2', elementType: "initials", formElementType: "initials", label: "Initials", defaultHeight: 27, defaultWidth: 120, validation: 2000, icon: "initials", tooltip: "Use this field anywhere Participants are required to Initial your document", signer: this.recipient.signerIndex })), this.showTool('number') && (h("ls-toolbox-field", { key: '1710f3788c60fb66084726e40abec786200189dd', elementType: "number", formElementType: "number", label: "Number", defaultHeight: 27, defaultWidth: 80, validation: 50, icon: "hashtag", tooltip: "A Field to only accept entries in numerical format. Additional validations include character limit (1 to 12 digits), and currency format (2 decimal places)", signer: this.recipient.signerIndex })), this.showTool('dropdown') && (h("ls-toolbox-field", { key: '842aa2b0dd9054311d3fd78ca9ee8037353db1c5', elementType: "dropdown", formElementType: "dropdown", label: "Dropdown", defaultHeight: 27, defaultWidth: 80, validation: 20, icon: "dropdown", tooltip: "Use this field to create custom dropdown menus in your document, or place one of our handy presets for countries or prefixes", signer: this.recipient.signerIndex })), this.showTool('checkbox') && (h("ls-toolbox-field", { key: '0db32dd79537c11214972b4c33d7ab42ea339daa', elementType: "checkbox", formElementType: "checkbox", label: "Checkbox", defaultHeight: 27, defaultWidth: 27, validation: 25, icon: "check", tooltip: "Places a checkbox on your document. Handy for T&Cs or \u2714/\u2717 sections", signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('regex') && (h("ls-toolbox-field", { key: '0582074206874367e60fb53b295165d0c938b3ac', elementType: "regex", formElementType: "regex", label: "Regex", defaultHeight: 27, defaultWidth: 120, validation: 93, icon: "code", tooltip: "Need a specific validation? Use this field to enter a custom RegEx and have Participants enter exactly what you need", signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('image') && (h("ls-toolbox-field", { key: '2120a10a1d49be6f2d20080544323a4d6a3758f3', elementType: "image", formElementType: "image", label: "Image", defaultHeight: 27, defaultWidth: 120, validation: 90, icon: "photograph", tooltip: "Use when you need Participants to upload their own images during the signing process", signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('file') && (h("ls-toolbox-field", { key: 'd3f882ef0c1b587037b98eb0455e077d37fec16b', elementType: "file", formElementType: "file", label: "File", defaultHeight: 27, defaultWidth: 120, validation: 74, icon: "upload", tooltip: "Use when you need Participants to upload their own documents during the signing process", signer: this.recipient.signerIndex })), this.recipient.signerIndex > 0 && this.showTool('drawn') && (h("ls-toolbox-field", { key: '4625f03e884c54d0a9041a75d37c63013c8f9d9a', elementType: "drawn", formElementType: "drawn", label: "Drawn", defaultHeight: 120, defaultWidth: 120, validation: 90, icon: "pencil", tooltip: "Allow users to draw on the document using their mouse or touchscreen", signer: this.recipient.signerIndex }))))), h("slot", { key: '560a0d9cab342fe4e8dae4c7b4df19db491560aa' }), h("ls-tooltip", { key: '07c8b7d76388746cf267cf19f25204f2a6f6eb74', id: "ls-tooltip-master" })));
|
|
96
103
|
}
|
|
97
104
|
static get watchers() { return {
|
|
98
105
|
"activeRecipient": ["handleExpandCollapse"]
|
|
99
106
|
}; }
|
|
100
|
-
}
|
|
101
|
-
|
|
107
|
+
static get style() { return lsRecipientCardCss(); }
|
|
108
|
+
}, [769, "ls-recipient-card", {
|
|
109
|
+
"recipient": [16],
|
|
110
|
+
"activeRecipient": [2, "active-recipient"],
|
|
111
|
+
"fieldTypeSelected": [16],
|
|
112
|
+
"template": [16],
|
|
113
|
+
"validationErrors": [16],
|
|
114
|
+
"filtertoolbox": [1],
|
|
115
|
+
"isHovered": [32]
|
|
116
|
+
}, [[0, "fieldTypeSelected", "handleFieldTypeSelected"]], {
|
|
117
|
+
"activeRecipient": ["handleExpandCollapse"]
|
|
118
|
+
}]);
|
|
119
|
+
function defineCustomElement() {
|
|
120
|
+
if (typeof customElements === "undefined") {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
const components = ["ls-recipient-card", "ls-icon", "ls-toolbox-field", "ls-tooltip"];
|
|
124
|
+
components.forEach(tagName => { switch (tagName) {
|
|
125
|
+
case "ls-recipient-card":
|
|
126
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
127
|
+
customElements.define(transformTag(tagName), LsRecipientCard);
|
|
128
|
+
}
|
|
129
|
+
break;
|
|
130
|
+
case "ls-icon":
|
|
131
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
132
|
+
defineCustomElement$3();
|
|
133
|
+
}
|
|
134
|
+
break;
|
|
135
|
+
case "ls-toolbox-field":
|
|
136
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
137
|
+
defineCustomElement$2();
|
|
138
|
+
}
|
|
139
|
+
break;
|
|
140
|
+
case "ls-tooltip":
|
|
141
|
+
if (!customElements.get(transformTag(tagName))) {
|
|
142
|
+
defineCustomElement$1();
|
|
143
|
+
}
|
|
144
|
+
break;
|
|
145
|
+
} });
|
|
146
|
+
}
|
|
147
|
+
defineCustomElement();
|
|
148
|
+
|
|
149
|
+
export { LsRecipientCard as L, defineCustomElement as d };
|
|
150
|
+
//# sourceMappingURL=p-CbSH7gJL.js.map
|
|
102
151
|
|
|
103
|
-
|
|
104
|
-
//# sourceMappingURL=ls-recipient-card.entry.esm.js.map
|
|
152
|
+
//# sourceMappingURL=p-CbSH7gJL.js.map
|