initial
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<?php return array('hash_map' => array('admin-components.min.css' => array('version' => '9e6a21c15febade916be165db973f469', 'file' => 'admin-components.min.css'), 'admin-css-utilities.min.css' => array('version' => 'ef231e8c9c725d6772039daecf1ef14c', 'file' => 'admin-css-utilities.min.css'), 'admin-icons.min.css' => array('version' => 'ced7ea9f2ef4d75d5c10de08cb9fe877', 'file' => 'admin-icons.min.css'), 'admin.min.css' => array('version' => '42a89c75cb4eec1f48b9df2cc19611f5', 'file' => 'admin.min.css'), 'basic.min.css' => array('version' => 'af2743a5a1378cf8db1c913b6350a5f4', 'file' => 'basic.min.css'), 'blocks.min.css' => array('version' => '42efc27d6b7310fce3380a1edf5b7ae3', 'file' => 'blocks.min.css'), 'common-css-utilities.min.css' => array('version' => '2633df3a029b0d34687e2d197707e947', 'file' => 'common-css-utilities.min.css'), 'editor.min.css' => array('version' => '5747d2fc974004e21fe202792c68f325', 'file' => 'editor.min.css'), 'font-awesome.min.css' => array('version' => 'ab928ca9bd3a308082b143be8a422524', 'file' => 'font-awesome.min.css'), 'gravity-forms-common-icons.min.css' => array('version' => '99232cad7dd8c574dabc838c13c30168', 'file' => 'gravity-forms-common-icons.min.css'), 'gravity-forms-orbital-theme.min.css' => array('version' => 'd41d8cd98f00b204e9800998ecf8427e', 'file' => 'gravity-forms-orbital-theme.min.css'), 'gravity-forms-theme-foundation-admin.min.css' => array('version' => '6eb1952ff6fa10e13ef353db8aba13b6', 'file' => 'gravity-forms-theme-foundation-admin.min.css'), 'gravity-forms-theme-foundation.min.css' => array('version' => '4182c476552d5a4acbc74f17842b16ae', 'file' => 'gravity-forms-theme-foundation.min.css'), 'gravity-forms-theme-framework-admin.min.css' => array('version' => '8e16f30ddaf6af7663c7cb1b73139b64', 'file' => 'gravity-forms-theme-framework-admin.min.css'), 'gravity-forms-theme-framework.min.css' => array('version' => '8f432e79b590748636f6abae45bee4eb', 'file' => 'gravity-forms-theme-framework.min.css'), 'gravity-forms-theme-reset.min.css' => array('version' => 'b5955038d1dea5ceb0e0b83d5d7a50d9', 'file' => 'gravity-forms-theme-reset.min.css'), 'settings.min.css' => array('version' => '5a0d9aad21807a5be41d17ee5884c035', 'file' => 'settings.min.css'), 'setup-wizard.min.css' => array('version' => 'e70f2ddff664c316ba79741d33c28146', 'file' => 'setup-wizard.min.css'), 'template-library.min.css' => array('version' => 'a5538c98c9fac1d818afaa79120838b5', 'file' => 'template-library.min.css'), 'theme-admin.min.css' => array('version' => '36621594488be92da16408c679c9d4ef', 'file' => 'theme-admin.min.css'), 'theme-components.min.css' => array('version' => 'd41d8cd98f00b204e9800998ecf8427e', 'file' => 'theme-components.min.css'), 'theme.min.css' => array('version' => '518820c1681a640f8774e8e378e38b6e', 'file' => 'theme.min.css')));
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.gform-common .gform-common-util-animate-fade-in{opacity:0;will-change:opacity}.gform-common .gform-common-util-translate-y-20{transform:translateY(20px);will-change:transform}.gform-common .gform-common-util-translate-y--20{transform:translateY(-20px);will-change:transform}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
@font-face{font-family:gform-icons-common;src:url('fonts/gform-icons-common.eot?nlvqn');src:url('../../../fonts/gform-icons-common.eot?nlvqn#iefix') format('embedded-opentype'),url('../../../fonts/gform-icons-common.woff2?nlvqn') format('woff2'),url('../../../fonts/gform-icons-common.ttf?nlvqn') format('truetype'),url('../../../fonts/gform-icons-common.woff?nlvqn') format('woff'),url('../../../fonts/gform-icons-common.svg?nlvqn#gform-icons-common') format('svg');font-weight:400;font-style:normal;font-display:block}.gform-common-icon{font-family:gform-icons-common!important;speak:never;font-style:normal;font-weight:400;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gform-common-icon--arrow-path:before{content:"\e914"}.gform-common-icon--document-text:before{content:"\e915"}.gform-common-icon--trash:before{content:"\e912"}.gform-common-icon--photograph:before{content:"\e90f"}.gform-common-icon--star:before{content:"\e90c"}.gform-common-icon--credit-card:before{content:"\e90a"}.gform-common-icon--exclamation-circle:before{content:"\e90b"}.gform-common-icon--check-circle:before{content:"\e902"}.gform-common-icon--exclamation:before{content:"\e910"}.gform-common-icon--information-circle:before{content:"\e911"}.gform-common-icon--eye:before{content:"\e909"}.gform-common-icon--eye-off:before{content:"\e913"}.gform-common-icon--pencil:before{content:"\e908"}.gform-common-icon--arrow-narrow-left:before{content:"\e900"}.gform-common-icon--arrow-narrow-right:before{content:"\e901"}.gform-common-icon--check-mark-alt:before{content:"\e903"}.gform-common-icon--check-mark:before{content:"\e904"}.gform-common-icon--chevron-down:before{content:"\e905"}.gform-common-icon--chevron-up:before{content:"\e906"}.gform-common-icon--x:before{content:"\e907"}.gform-common-icon--upload-file:before{content:"\e90e"}.gform-common-icon--play-arrow:before{content:"\e90d"}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
.gform-theme--foundation.gform_editor .gfield{padding:16px;position:relative}.gform-theme--foundation.gform_editor .gform_fields{--gf-form-gap-y:10px}.gform-theme--foundation.gform_editor.gform-editor--compact .gform_fields{--gf-form-gap-y:14px}@media (min-width:640px){.gform-theme--foundation.gform_editor.gform-editor--compact .gform_fields{--gf-form-gap-x:14px}}.form_editor_fields_container:where(:not(.gform-compact-view)) .left_label #field_submit:where([data-field-position=bottom]) .gfield-admin-wrapper,.form_editor_fields_container:where(:not(.gform-compact-view)) .right_label #field_submit:where([data-field-position=bottom]) .gfield-admin-wrapper{padding-inline-start:var(--gf-label-width)}
|
||||
+1
File diff suppressed because one or more lines are too long
Vendored
+1
@@ -0,0 +1 @@
|
||||
.gform-theme--framework.gform_editor .ginput_preview_list{display:none!important}.gform-theme--framework.gform-editor--compact{--gf-ctrl-label-font-size-req:11px}.gform-theme--framework.gform_editor{--gf-field-img-choice-size:100%;--gf-field-img-choice-card-placeholder-bg-color:rgba(var(--gf-color-in-ctrl-light-rgb), 0.5);--gf-field-img-choice-shadow-hover:0 0 0 rgba(18, 25, 97, 0.05),0 2px 5px rgba(18, 25, 97, 0.1),0 1px 1px rgba(18, 25, 97, 0.15)}.gform-theme--framework.gform_editor .gfield--type-image_choice .gfield_checkbox,.gform-theme--framework.gform_editor .gfield--type-image_choice .gfield_radio{display:grid;grid-template-columns:repeat(4,1fr)}.gform-theme--framework.gform_editor .gfield--type-image_choice.gfield--image-choice-appearance-card .gchoice[\:has\(.gfield-choice-input\:disabled\)],.gform-theme--framework.gform_editor .gfield--type-image_choice.gfield--image-choice-appearance-no-card .gchoice[\:has\(.gfield-choice-input\:disabled\)] .gfield-choice-image-wrapper{--gf-local-shadow:var(--gf-field-img-choice-shadow)}.gform-theme--framework.gform_editor .gfield--type-image_choice.gfield--image-choice-appearance-card .gchoice:has(.gfield-choice-input:disabled),.gform-theme--framework.gform_editor .gfield--type-image_choice.gfield--image-choice-appearance-no-card .gchoice:has(.gfield-choice-input:disabled) .gfield-choice-image-wrapper{--gf-local-shadow:var(--gf-field-img-choice-shadow)}.gform-theme--framework.gform_editor .gfield--type-image_choice .gchoice[\:has\(.gfield-choice-input\:disabled\)] .gfield-choice-image-wrapper{opacity:1}.gform-theme--framework.gform_editor .gfield--type-image_choice .gchoice:has(.gfield-choice-input:disabled) .gfield-choice-image-wrapper{opacity:1}.gform-theme--framework.gform_editor .gfield--type-image_choice.gfield--image-choice-appearance-card .gchoice[\:has\(.gfield-choice-input\:disabled\)]{--gf-local-bg-color:var(--gf-ctrl-bg-color);--gf-local-border-color:var(--gf-color-in-ctrl-light-darker)}.gform-theme--framework.gform_editor .gfield--type-image_choice.gfield--image-choice-appearance-card .gchoice:has(.gfield-choice-input:disabled){--gf-local-bg-color:var(--gf-ctrl-bg-color);--gf-local-border-color:var(--gf-color-in-ctrl-light-darker)}.gform-theme--framework.gform_editor .gfield--type-image_choice.gfield--image-choice-appearance-card .gchoice[\:has\(.gfield-choice-input\:disabled\)] .gform-field-label{--gf-local-color:var(--gf-ctrl-color)}.gform-theme--framework.gform_editor .gfield--type-image_choice.gfield--image-choice-appearance-card .gchoice:has(.gfield-choice-input:disabled) .gform-field-label{--gf-local-color:var(--gf-ctrl-color)}.gform-theme--framework.gform_editor .gfield--input-type-datepicker.gfield--datepicker-custom-icon .ginput_container_date input{--gf-local-padding-x:var(--gf-ctrl-padding-x)}
|
||||
+1
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
.gform-theme--framework :where(
|
||||
:not(html):not(iframe):not(canvas):not(img):not(svg):not(video):not(svg *):not(symbol *):not(.gform-theme__no-reset--el):not(.gform-theme__no-reset--children *):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-reset):not(.gform-theme__disable-reset *):not(.gform_heading *):not(.gfield--type-html *):not(.gfield--type-section *):not(.form_saved_message > *):not(.form_saved_message_sent > *):not(.gform_confirmation_message *):not(.wp-editor-container):not(.mce-tinymce):not(.mce-tinymce *):not(.wp-editor-area):not(.gfield_description > *):not(.gform-field-label--type-inline > :not(span)):not(.ui-resizable-handle):not(.hidden)
|
||||
){all:unset;display:revert}.gform-theme--framework *,.gform-theme--framework ::after,.gform-theme--framework ::before{box-sizing:border-box}.gform-theme--framework a,.gform-theme--framework button{cursor:revert}.gform-theme--framework menu,.gform-theme--framework ol:where(:not(.gform_heading *):not(.gfield--type-html *):not(.gfield--type-section *):not(.form_saved_message > *):not(.form_saved_message_sent > *):not(.gform_confirmation_message *)),.gform-theme--framework ul:where(:not(.gform_heading *):not(.gfield--type-html *):not(.gfield--type-section *):not(.form_saved_message > *):not(.form_saved_message_sent > *):not(.gform_confirmation_message *)){list-style:none}.gform-theme--framework img{max-inline-size:100%;max-block-size:100%}.gform-theme--framework table{border-collapse:collapse}.gform-theme--framework input,.gform-theme--framework textarea{-webkit-user-select:auto}.gform-theme--framework textarea{white-space:revert}.gform-theme--framework meter{-webkit-appearance:revert;-moz-appearance:revert;appearance:revert}.gform-theme--framework :where(pre){all:revert}.gform-theme--framework ::-moz-placeholder{color:unset}.gform-theme--framework ::placeholder{color:unset}.gform-theme--framework :where([hidden]){display:none}.gform-theme--framework :where([contenteditable]:not([contenteditable=false])){-moz-user-modify:read-write;-webkit-user-modify:read-write;word-wrap:break-word;-webkit-line-break:after-white-space;-webkit-user-select:auto}.gform-theme--framework :where([draggable=true]){-webkit-user-drag:element}.gform-theme--framework :where(dialog:modal){all:revert}.gform-theme--framework input[type=checkbox]::before,.gform-theme--framework input[type=radio]::before{height:auto;margin-block:0;margin-inline:0;position:static;width:auto}.gform-theme--framework input[type=checkbox]::after,.gform-theme--framework input[type=radio]::after{content:none}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.gform-admin.gform-setup-wizard--open [data-js=gf-template-library]{display:none}.gform-admin .gform-template-library__mask,.gform-admin .gform-template-library__mask *,.gform-admin .gform-template-library__mask ::after,.gform-admin .gform-template-library__mask ::before,.gform-admin .gform-template-library__mask::after,.gform-admin .gform-template-library__mask::before{box-sizing:border-box}.gform-admin .gform-template-library__mask.gform-template-library--flyout-open .gform-template-library__alert .gform-dialog__content::before{content:none}.gform-admin .gform-template-library__mask .gform-flyout__mask{transition-duration:150ms}.gform-admin .gform-template-library__flyout{background-color:#f6f9fc;overflow-y:auto;padding:0;transition-duration:150ms}.gform-admin .gform-template-library__flyout .simplebar-content{display:flex;flex-flow:row wrap;height:100%}.gform-admin .gform-template-library__flyout .gform-flyout__head{align-self:start;background-color:#fff;padding-block:3.1875rem;padding-inline:3.5625rem;width:100%}.gform-admin .gform-template-library__flyout .gform-flyout__close.gform-button.gform-button--size-xs{inset-block-start:1.25rem;inset-inline-end:1.25rem;padding:0;position:absolute}.gform-admin .gform-template-library__flyout .gform-flyout__body{flex-grow:1;overflow-y:unset;padding-block:2.5rem;padding-inline:3.5625rem}.gform-admin .gform-template-library__flyout .gform-flyout__body .gform-input-help-text--required{color:#dd301d;font-size:.875rem;font-weight:500;vertical-align:bottom}.gform-admin .gform-template-library__flyout .gform-flyout__body .gform-input--textarea{font-size:.875rem;min-block-size:8rem}.gform-admin .gform-template-library__flyout .gform-flyout__body-inner{margin:0 auto;max-inline-size:32.5rem}.gform-admin .gform-template-library__flyout .gform-flyout__foot{align-items:center;align-self:end;background-color:#fff;box-shadow:0 -4px 33px rgba(18,25,97,.07);display:flex;flex-flow:column;inline-size:100%}.gform-admin .gform-template-library__flyout .gform-flyout__foot::before{background:#ecedf8;block-size:0.0625rem;content:"";inline-size:100%}.gform-admin .gform-template-library__flyout .gform-flyout__foot .gform-flyout__foot-inner{align-items:flex-start;display:flex;inline-size:100%;justify-content:flex-end;padding-block:2rem;padding-inline:2.5rem}.gform-admin .gform-template-library__flyout .gform-flyout__foot .gform-flyout__foot-inner .gform-flyout__foot-primary-button{margin-inline-start:.75rem}.gform-admin .gform-template-library__flyout .gform-template-library__flyout-textarea{resize:none}.gform-admin .gform-template-library__flyout-alert.gform-alert--error .gform-alert__message{color:#dd301d}.gform-admin .gform-template-library{block-size:100vh;border-radius:.1875rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;inline-size:100vw;max-inline-size:none;min-inline-size:22.5rem;padding:0}@media (min-width:960px){.gform-admin .gform-template-library{block-size:90vh;inline-size:90vw}}.gform-admin .gform-template-library .gform-template-library__exit-button{inset-block-start:1.25rem;inset-inline-end:1.25rem}.gform-admin .gform-template-library [data-simplebar]{block-size:100%;overflow-y:auto}.gform-admin .gform-template-library .simplebar-content-wrapper{background-color:#f6f9fc}.gform-admin .gform-template-library .gform-dialog__content{block-size:100%;display:flex;flex-direction:column;padding:0}.gform-admin .gform-template-library__card-grid-container{padding:2.75rem 3.5625rem}.gform-admin .gform-template-library__card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(18.5rem,1fr))}.gform-admin .gform-template-library__heading{border-bottom:1px solid #ecedf8;padding:2.0625rem 3.5625rem}.gform-admin .gform-template-library__alert{max-width:25rem}html[dir=rtl] .gform-template-library .gform-image__image{transform:scale(-1,1)}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<?php return array('hash_map' => array('admin-components.min.js' => array('version' => 'e2921035d60b649e1024f56997ef34ff', 'file' => 'admin-components.min.js'), 'libraries.min.js' => array('version' => '6d369309f01747ee7c078398c8bfb871', 'file' => 'libraries.min.js'), 'react-utils.min.js' => array('version' => 'e0b61a4fab9ddf94ca03c23965b60c32', 'file' => 'react-utils.min.js'), 'scripts-admin.min.js' => array('version' => '441c0ddc3e19d59138a0467a7134d464', 'file' => 'scripts-admin.min.js'), 'scripts-theme.min.js' => array('version' => '301fdc9aa6144168f3b854c4c2c8f6d3', 'file' => 'scripts-theme.min.js'), 'utils.min.js' => array('version' => '3f278756f0a3032bed328ff6a9f6c01d', 'file' => 'utils.min.js'), 'vendor-admin.min.js' => array('version' => 'edfe59fc3629d182de97037bca4adc5d', 'file' => 'vendor-admin.min.js'), 'vendor-theme.min.js' => array('version' => '7c651d0ba638ce98b9c65141edddd567', 'file' => 'vendor-theme.min.js')));
|
||||
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[290],{6051:function(e,t,i){i.r(t);var l=i(5798),f=function(e){var t=e.delegateTarget;t.multiple||n(t)},n=function(e){if(e.files.length){var t=e.parentElement.querySelector(".gform_delete_file");t&&t.click()}};t.default=function(){(0,l.delegate)(document.body,'.gfield--type-fileupload input[type="file"], .gfield--input-type-fileupload input[type="file"], .gfield--type-post_image input[type="file"]',"change",f),(0,l.consoleInfo)("Gravity Forms Theme: Initialized file upload fields.")}}}]);
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[952],{8398:function(e,t,c){c.r(t);var i=c(5798),a=function(e){var t=e.delegateTarget,c=(0,i.getNode)(".gfield-choice-input",t,!0);if(!c.disabled&&("INPUT"!==e.target.tagName||"checkbox"!==e.target.type&&"radio"!==e.target.type)&&"LABEL"!==e.target.tagName){"checkbox"===c.type&&(c.checked=!c.checked),"radio"===c.type&&(c.checked=!0);var a=new Event("change",{bubbles:!0});c.dispatchEvent(a);var o=c.id.split("_"),d=o[1],g=o[2];window.gform.doAction("gform_input_change",c,d,g),c.focus()}};t.default=function(){(0,i.delegate)(document.body,".gfield--type-image_choice .gchoice","click",a),(0,i.consoleInfo)("Gravity Forms Theme: Initialized image choice field.")}}}]);
|
||||
Vendored
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[157],{9845:function(t,e,n){n.r(e),n.d(e,{default:function(){return y}});var r=n(5798),i=n(8134),o=n(455),u=n(9280),c=n.n(u),d=n(3771),a=n(8773),p=function(t){var e=a.getFormId(t.target),n=a.getFieldId(t.target),i=t.target;(0,r.trigger)({event:"gform/products/product_field_changed",data:{event:t,formId:e,productFieldId:n,htmlInput:i},native:!1}),l(e)},l=function(){var t=(0,o.A)(c().mark(function t(e){var n,i,o,u;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=(0,r.getNode)("#gform_".concat(e),document,!0)){t.next=3;break}return t.abrupt("return");case 3:return i={products:[]},a.getProductFields(n).forEach(function(t){var e=a.getProductMeta(n,t);if(0!==e.length){var r=e[0];r.quantity=a.getProductQuantity(n,t),r.options=g(n,t),i.products.push(r)}}),(o=f(n))&&(i.shipping=o),t.next=10,(0,r.filter)({event:"gform/products/product_changed",data:{formId:e,products:i}});case 10:u=t.sent,i=u.products,e=u.formId,d.hZ(e,"products",i);case 14:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}(),f=function(t){var e=a.getShippingField(t);if(!e)return null;var n=a.getProductMeta(t,e);return n.length>0?n[0]:null},g=function(t,e){var n=[];return a.getOptionFields(t,e).forEach(function(e){var r=a.getProductMeta(t,e);0!==r.length&&(r.forEach(function(t){t.field_label=a.getFieldLabel(e)}),n.push.apply(n,(0,i.A)(r)))}),n};window.gform.products={getPaymentAmount:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=d.Jt(t,"products");if(0===(null==r||null===(e=r.products)||void 0===e?void 0:e.length))return 0;for(var i=0,o=0;o<r.products.length;o++){for(var u=r.products[o],c=u.price,a=0;a<u.options.length;a++)c+=u.options[a].price;if(c*=u.quantity,n&&parseFloat(n)===parseFloat(u.id))return c;i+=c}if(n)return 0;r.shipping&&(i+=r.shipping.price);var p=i;return!((i=window.gform.applyFilters("gform_product_total",i,t))!==p)&&r.discount&&(i-=r.discount),i},handleConditionalLogicExecuted:function(t){var e=t.detail.formId;l(e)},handleProductChange:p,updateProducts:l,parser:a};var s=n(428),h=n.n(s),v=function(){document.addEventListener("gform/conditionalLogic/applyRules/end",function(t){l(t.detail.formId)}),document.addEventListener("gform/frontend_pages/evaluated",function(t){l(t.detail.formId)}),m("input",'.gfield_price input[type="text"], .gfield_price input[type="number"]',p),m("change",'.gfield_price input[type="text"], .gfield_price input[type="number"]',p),m("change",".ginput_calculated_price",p),m("click",'.gfield_price input[type="radio"], .gfield_price input[type="checkbox"]',p),h()(document).on("change",".gfield_price select",p)},m=function(t,e,n){document.addEventListener(t,function(t){t.target.closest(e)&&n.call(t.target,t)})},y=function(t){l(t),v(),(0,r.consoleInfo)("Gravity Forms Theme: Initialized product field.")}}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[957],{2623:function(t,e,o){o.d(e,{default:function(){return h}});var i,n=o(5798),a=o(9662),c=o.n(a),d=o(8264),s=o.n(d),r=o(3963),l=o.n(r),g=o(1533),m=o.n(g),f=o(7122),u=o.n(f),b=o(912),v=(null===m()||void 0===m()||null===(i=m().components)||void 0===i?void 0:i.editor_button)||{},p=function(t,e){var o=v.endpoints.save_editor_settings.action,i=v.endpoints.save_editor_settings.nonce,n=v.form;(0,b.bE)({endpoint:u()+"?action="+o,body:{form:n,name:t,value:e,_ajax_nonce:i}})},w=function(){var t,e,o,i,a,d,r;c().instances=c().instances||{},c().instances.editorbutton={},c().instances.editorbutton.compactToggle={},c().instances.editorbutton.idToggle={},t=v.i18n,e=t.title,o=t.closeButtonAriaLabel,c().instances.editorbutton.flyout=new(l())({id:"editor-button-flyout",title:(0,n.escapeHtml)(e),triggers:'[data-js="editor-flyout-trigger"]',closeButtonTitle:o,closeButtonAriaLabel:o,closeButtonClasses:"gform-button--circular",closeButtonSize:"xs",closeButtonType:"simplified",wrapperClasses:"gform-dialog gform-dialog--editor-button"}),function(){var t=v.i18n,e=t.compactToggleLabel,o=t.compactToggleText;c().instances.editorbutton.compactToggle=new(s())({customAttributes:{"data-js":"editor-flyout-toggle"},id:"editor-button-flyout-toggle-compact",icons:!0,label:e,labelPosition:"right",labelVisible:!0,name:e,target:'[data-js="gform-dialog-content"]',targetPosition:"beforeend",ariaDescribedby:"editor-button-flyout-toggle-compact-description",initialChecked:v.compactViewEnabled,theme:"cosmos"});var i='<div class="gform-dialog__content-toggle-text" id="editor-button-flyout-toggle-compact-description"> '.concat(o," </div>");(0,n.getNode)("gform-dialog-content").insertAdjacentHTML("beforeend",i)}(),function(){var t=v.i18n,e=t.idToggleLabel,o=t.idToggleText;c().instances.editorbutton.idToggle=new(s())({customAttributes:{"data-js":"editor-flyout-toggle"},customClasses:["gform-toggle-id"],id:"editor-button-flyout-toggle-id",icons:!0,label:e,labelPosition:"right",labelVisible:!0,name:e,target:'[data-js="gform-dialog-content"]',targetPosition:"beforeend",ariaDescribedby:"editor-button-flyout-toggle-id-description",disabled:!v.compactViewEnabled,initialChecked:v.fieldIdEnabled});var i='<div class="gform-dialog__content-toggle-text" id="editor-button-flyout-toggle-id-description"> '.concat(o," </div>");(0,n.getNode)("gform-dialog-content").insertAdjacentHTML("beforeend",i)}(),i=c().instances.editorbutton.compactToggle.elements.input,a=c().instances.editorbutton.idToggle.elements.input,d=(0,n.getNode)("form-editor"),r=(0,n.getNode)(".gform_editor",d,!0),i.checked?(d.classList.add("gform-compact-view"),r.classList.add("gform-editor--compact"),(0,n.trigger)({event:"gform/form_editor/compact-view-active",native:!1})):(0,n.trigger)({event:"gform/form_editor/compact-view-inactive",native:!1}),i.addEventListener("change",function(){i.checked?(v.compactViewEnabled=!0,d.classList.add("gform-compact-view"),r.classList.add("gform-editor--compact"),a.disabled=!1,(0,n.trigger)({event:"gform/form_editor/compact-view-active",native:!1})):(d.classList.remove("gform-compact-view"),r.classList.remove("gform-editor--compact"),v.compactViewEnabled=!1,a.disabled=!0,(0,n.trigger)({event:"gform/form_editor/compact-view-inactive",native:!1})),p("compact_view",i.checked?"enable":"disable")}),function(){var t=c().instances.editorbutton.idToggle.elements.input,e=(0,n.getNode)("form-editor"),o=(0,n.getNode)(".gform_editor",e,!0);t.checked&&(e.classList.add("gform-compact-view--show-id"),o.classList.add("gform-editor--compact-show-id")),t.addEventListener("change",function(){t.checked?(v.fieldIdEnabled=!0,e.classList.add("gform-compact-view--show-id"),o.classList.add("gform-editor--compact-show-id")):(v.fieldIdEnabled=!1,e.classList.remove("gform-compact-view--show-id"),o.classList.remove("gform-editor--compact-show-id")),p("compact_view_show_id",t.checked?"enable":"disable")})}()},h=function(){w(),(0,n.consoleInfo)("Gravity Forms Admin: Initialized all editor button scripts.")}}}]);
|
||||
Vendored
+1
File diff suppressed because one or more lines are too long
Vendored
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[10],{8015:function(n,a,e){var s=e(9662),i=e.n(s),r=e(1533),t=e.n(r),v=e(1281),o=(null===t()||void 0===t()?void 0:t().admin_save_form)||{};i().instances=(null===i()||void 0===i()?void 0:i().instances)||{};a.default=function(){var n=new v.A(o,{});i().instances.adminFormSaver=n,i().instances.formSaverEventsManager=n.eventsManager}}}]);
|
||||
wp-content/plugins/gravityforms/assets/js/dist/scripts-admin.form-editor.c6e75c1c3612daba73b3.min.js
Vendored
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[355],{4832:function(e,t,n){n.d(t,{default:function(){return w}});var r,o=n(5798),i=n(9662),s=n.n(i),a=n(1533),c=n.n(a),l=n(7122),d=n.n(l),u=(null===c()||void 0===c()||null===(r=c().components)||void 0===r?void 0:r.form_switcher)||{},f=function(e){s().instances.postSelects=[],e.forEach(function(e){var t;t=u.endpoints,s().instances.formSwitcher=new(s().components.admin.html.elements.Dropdown)({detectTitleLength:!0,onItemSelect:m,onItemSelectTimedOut:p,onOpen:v,reveal:"hover",selector:"gform-form-switcher",showSpinner:!0,searchType:"async",baseUrl:d(),endpoints:t,endpointKey:"get_forms",endpointRequestOptions:{method:"POST"},endpointUseRest:!1})})};function g(e,t){var n="";""===t&&(t=document.location.search.substring(1));for(var r=t.split("&"),o=0;o<r.length;o++){var i=r[o].split("=");i[0]!==e&&(n+=i[0]+"="+i[1]+"&")}return n.length>0&&(n=n.substring(0,n.length-1)),n}function m(e){if(e.length>0){var t=function(e,t){for(var n="",r=document.location.search.substring(1).split("&"),o=!1,i=0;i<r.length;i++){var s=r[i].split("=");s[0]===e?(n+=e+"="+t+"&",o=!0):"display_settings"!==s[0]&&(n+=s[0]+"="+s[1]+"&")}return n.length>0&&(n=n.substring(0,n.length-1)),o||(n+=n.length>0?"&"+e+"="+t:"?"+e+"="+t),n}("id",e=parseInt(e)),n=document.querySelector(".gform-dropdown__trigger[data-value='".concat(e,"']")),r=g("paged",t);r=g("s",r=r.replace("gf_new_form","gf_edit_forms")),r=g("operator",r),r=g("type",r),r=g("field_id",r),r=g("lid",r),r=g("fid",r),r=g("cid",r),r=g("nid",r),r=g("filter",r),r=g("pos",r);var o=new URLSearchParams(r).get("subview");if(o){var i=n?JSON.parse(n.dataset.subviews):null;i&&!i.includes(o)&&(r=g("subview",r))}var s=r.indexOf("gf_results_")>=0;r.indexOf("page=gf_entries")>=0&&!s&&(r="page=gf_entries&id="+e),s&&(r=n&&""!==n.dataset.resultsSlug&&void 0!==n.dataset.resultsSlug?"page=gf_entries&view=gf_results_".concat(n.dataset.resultsSlug,"&id=").concat(e):"page=gf_entries&id=".concat(e)),document.location="?"+r}}function p(e){if(e.length>0){var t=document.getElementById("gform-form-switcher-control"),n=t.querySelector('[data-js="gform-dropdown-control-text"]'),r=t.getAttribute("data-value-previous");if(r){var o=document.querySelector('.gform-dropdown__trigger-text[data-value="'+r+'"]');t.setAttribute("data-value",r),o&&(n.innerText=o.innerText)}}}function v(){var e=document.getElementById("gform-form-switcher-control"),t=e.getAttribute("data-value");t&&e.setAttribute("data-value-previous",t)}var h=function(e){f(e)},w=function(e){h(e),(0,o.consoleInfo)("Gravity Forms Admin: Initialized form switcher dropdown component.")}}}]);
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[781],{5194:function(f,s,t){var u=t(6940);s.default=function(){(0,u.A)()}}}]);
|
||||
@@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array('gform_gravityforms_admin_components', 'gform_gravityforms_libraries', 'gform_gravityforms_react_utils', 'gform_gravityforms_utils', 'jquery', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-server-side-render'), 'version' => 'd162a08962fd10e1bc1d');
|
||||
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
wp-content/plugins/gravityforms/assets/js/dist/scripts-admin.post-select.00e02633ef98b450f4b2.min.js
Vendored
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[610],{3865:function(e,t,n){n.d(t,{default:function(){return g}});var s,o=n(5798),i=n(7195),c=n.n(i),a=n(9662),r=n.n(a),d=n(1533),l=n.n(d),p=(null===l()||void 0===l()||null===(s=l().components)||void 0===s?void 0:s.post_select)||{},u=function(e){var t=(0,o.getClosest)(e,".gform-settings-field"),n=e.dataset.postType,s=p[n],i=s.endpoints,a=s.data;r().instances.postSelects.push(new(c())({container:t.id,selector:"gform-settings-field-select",render:!1,renderListData:!0,searchType:"async",onItemSelect:function(e){return function(e,t){(0,o.getNodes)("gf-post-select-input",!0,t,!1)[0].value=e}(e,t)},baseUrl:i.get,endpoints:i,endpointKey:"get",endpointRequestOptions:{method:"GET"},endpointUseRest:!0,listData:a}))},f=function(e){!function(e){r().instances.postSelects=[],e.forEach(function(e){u(e)})}(e)},g=function(e){f(e),(0,o.consoleInfo)("Gravity Forms Admin: Initialized post select dropdown component.")}}}]);
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[909],{9445:function(e,t,a){var n=a(7616),i=a(9877),s=a.n(i),c=a(484),r=a.n(c),l=a(6648),o=a.n(l),u=a(7038),m=a.n(u),d=a(8200),g=a.n(d),p=a(2368),f=a.n(p),h=a(2225),z=a.n(h),_=a(7290),w=a(8335);t.default=function(e){var t=e.data,a=e.i18n,i=(0,_.default)(function(e){return e.licenseKey}).length>0,c=(0,_.default)(function(e){return e.hideLicense}),l=(0,_.default)(function(e){return e.activeStep}),u=(0,_.default)(function(e){return e.setHideLicense}),d=a.set_up_title,p=a.set_up_copy,h=a.for_client,x=a.hide_license,y=a.enable_updates,R=a.enable_updates_tag,C=a.enable_updates_locked,E=a.updates_recommended,b=a.which_currency,v=a.previous,k={ref:(0,w.useFocusTrap)(2===l),className:(0,n.classnames)({"gform-setup-wizard__screen":!0,"gform-setup-wizard__screen--step-2":!0}),"aria-hidden":2!==l};return n.React.createElement("div",k,n.React.createElement("div",{className:"gform-setup-wizard__content"},n.React.createElement(o(),{content:d,customClasses:["gform-typography--md-size-display-sm"],size:"display-xs",weight:"medium",spacing:{"":3,md:5},tagName:"h2"}),n.React.createElement(z(),{content:p,spacing:{"":5,md:8},size:"text-md",weight:"regular"}),n.React.createElement(o(),{content:y,customClasses:["gform-typography--md-text-size-xl"],spacing:3,size:"text-lg",tagName:"h3",weight:"medium"},!i&&n.React.createElement(m(),{customClasses:["gform-setup-wizard__feature-disabled-tag"],content:C,triangleTag:!0}),i&&n.React.createElement(m(),{customClasses:["gform-setup-wizard__feature-disabled-tag"],content:R,triangleTag:!0})),n.React.createElement(z(),{content:E,size:"text-sm",weight:"regular",spacing:3}),n.React.createElement(g(),{size:"size-l",disabled:!i,initialChecked:(0,_.default)(function(e){return e.autoUpdate}),onChange:(0,_.default)(function(e){return e.setAutoUpdate}),spacing:{"":6,md:8},ariaLabel:y}),n.React.createElement(o(),{content:b,customClasses:["gform-typography--md-text-size-xl"],size:"text-lg",spacing:{"":3,md:5},weight:"medium"}),n.React.createElement(s(),{customClasses:["gform-setup-wizard__currency-container"],spacing:{"":6,md:8}},n.React.createElement(f(),{ariaLabel:b,initialValue:(0,_.default)(function(e){return e.currency}),onChange:(0,_.default)(function(e){return e.setCurrency}),options:t.options.currencies,size:"size-xl"})),i&&n.React.createElement(n.React.Fragment,null,n.React.createElement(o(),{content:h,customClasses:["gform-typography--md-text-size-xl"],spacing:3,size:"text-lg",tagName:"h3",weight:"medium"}),n.React.createElement(z(),{content:x,spacing:3,size:"text-sm",weight:"regular"}),n.React.createElement(g(),{size:"size-l",initialChecked:c,onChange:u,spacing:{"":6,md:8},ariaLabel:x})),n.React.createElement(s(),{x:850,customClasses:["gform-setup-wizard__footer"],display:"flex"},!t.options.hasLicense&&n.React.createElement(r(),{size:"size-height-xl",type:"white",icon:"arrow-narrow-left",iconPrefix:"gform-common-icon",onClick:(0,_.default)(function(e){return e.setActiveStepPrevious}),ariaLabel:v}),n.React.createElement(r(),{size:"size-height-xl",customClasses:["gform-setup-wizard__nav-next-alt"],label:"Next",icon:"arrow-narrow-right",iconPrefix:"gform-common-icon",iconPosition:"trailing",onClick:(0,_.default)(function(e){return e.setActiveStepNext})}))))}}}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[100],{7526:function(e,t,a){var r=a(8140),n=a(7616),i=a(9877),s=a.n(i),o=a(484),c=a.n(o),l=a(6648),u=a.n(l),m=a(7510),f=a.n(m),p=a(3841),d=a.n(p),g=a(2368),z=a.n(g),h=a(2225),_=a.n(h),w=a(7290),C=a(8335),v=n.React.useState;t.default=function(e){var t=e.data,a=e.i18n,i=v(!1),o=(0,r.A)(i,1)[0],l=(0,w.default)(function(e){return e.activeStep}),m=(0,w.default)(function(e){return e.setFormTypesOther}),p=(0,w.default)(function(e){return e.setOrganizationOther}),g=(0,w.default)(function(e){return e.setServicesOther}),h=a.describe_organization,x=a.form_type,y=a.next,R=a.personalize_copy,E=a.personalize_title,b=a.services_connect,k=a.other_label,A=a.other_placeholder,N=a.previous,T={ref:(0,C.useFocusTrap)(3===l),className:(0,n.classnames)({"gform-setup-wizard__screen":!0,"gform-setup-wizard__screen--step-3":!0}),"aria-hidden":3!==l};return n.React.createElement("div",T,n.React.createElement("div",{className:"gform-setup-wizard__content"},n.React.createElement(u(),{content:E,customClasses:["gform-typography--md-size-display-sm"],spacing:{"":3,md:5},size:"display-xs",weight:"medium",tagName:"h2"}),n.React.createElement(_(),{content:R,spacing:{"":5,md:8},size:"text-md",weight:"regular"}),n.React.createElement(u(),{content:h,customClasses:["gform-typography--md-text-size-xl"],size:"text-lg",spacing:{"":3,md:5},tagName:"h3",weight:"medium"}),n.React.createElement(s(),{customClasses:["gform-setup-wizard__organization-container"],setDisplay:!1,spacing:{"":6,md:8}},n.React.createElement(z(),{customClasses:(0,n.classnames)("gform-setup-wizard__organization",{"gform-setup-wizard__organization--is-placeholder":!(0,w.default)(function(e){return e.organization})}),initialValue:(0,w.default)(function(e){return e.organization}),onChange:(0,w.default)(function(e){return e.setOrganization}),options:t.options.organization,ariaLabel:h,size:"size-xl"}),"other"===(0,w.default)(function(e){return e.organization})&&n.React.createElement(s(),{customClasses:["gform-setup-wizard__other-container"]},n.React.createElement(f(),{labelAttributes:{label:k},onChange:p,placeholder:A,size:"size-xl"}))),n.React.createElement(u(),{content:x,customClasses:["gform-typography--md-text-size-xl"],size:"text-lg",weight:"medium",tagName:"h3"}),n.React.createElement(s(),{customClasses:["gform-setup-wizard__form-types","gform-setup-wizard__input-group"],spacing:{"":6,md:8}},n.React.createElement(d(),{id:"setup-wizard-form-types",data:(0,w.default)(function(e){return e.formTypes}),onChange:(0,w.default)(function(e){return e.patchFormTypes}),useWrapper:!0}),(0,w.default)(function(e){return e.formTypes}).filter(function(e){return e.initialChecked}).map(function(e){return e.value}).includes("other")&&n.React.createElement(s(),{customClasses:["gform-setup-wizard__other-container"]},n.React.createElement(f(),{labelAttributes:{label:k},onChange:m,placeholder:A,size:"size-xl"}))),n.React.createElement(u(),{content:b,customClasses:["gform-typography--md-text-size-xl"],size:"text-lg",weight:"medium",tagName:"h3"}),n.React.createElement(s(),{customClasses:["gform-setup-wizard__services-container","gform-setup-wizard__input-group"],spacing:{"":6,md:8}},n.React.createElement(d(),{id:"setup-wizard-services",data:(0,w.default)(function(e){return e.services}),onChange:(0,w.default)(function(e){return e.patchServices}),useWrapper:!0}),(0,w.default)(function(e){return e.services}).filter(function(e){return e.initialChecked}).map(function(e){return e.value}).includes("other")&&n.React.createElement(s(),{customClasses:["gform-setup-wizard__other-container"]},n.React.createElement(f(),{labelAttributes:{label:k},onChange:g,placeholder:A,size:"size-xl"}))),n.React.createElement(s(),{x:850,customClasses:["gform-setup-wizard__footer"],display:"flex"},n.React.createElement(c(),{size:"size-height-xl",type:"white",icon:"arrow-narrow-left",iconPrefix:"gform-common-icon",onClick:(0,w.default)(function(e){return e.setActiveStepPrevious}),ariaLabel:N}),n.React.createElement(c(),{size:"size-height-xl",customClasses:["gform-setup-wizard__nav-next-alt"],label:y,activeText:y,icon:"arrow-narrow-right",iconAttributes:{customClasses:["gform-button__icon--inactive"]},iconPrefix:"gform-common-icon",active:o,activeType:"loader",disabled:o,iconPosition:"trailing",onClick:(0,w.default)(function(e){return e.setActiveStepNext})}))))}}}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[707],{4679:function(e,t,n){var r=n(527),i=n(455),a=n(8140),o=n(9280),c=n.n(o),s=n(7616),u=n(912),l=n(5798),f=n(7122),p=n.n(f),m=n(9877),d=n.n(m),v=n(484),g=n.n(v),h=n(6648),b=n.n(h),y=n(2225),w=n.n(y),_=n(7290),x=n(8335);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var P=s.React.useState;t.default=function(e){var t,n=e.endpoints,r=e.i18n,o=P(!1),f=(0,a.A)(o,2),m=f[0],v=f[1],h=P(!1),y=(0,a.A)(h,2),O=y[0],z=y[1],C=(0,_.default)(function(e){return e.activeStep}),j=(0,_.default)(function(e){return e.setActiveStepNext}),E=(0,_.default)(function(e){return e.setDataCollection}),T="mock_endpoint"===(null==n||null===(t=n.save_prefs)||void 0===t?void 0:t.action),R=r.help_improve_copy,D=r.help_improve_title,A=r.no_thanks_button,S=r.yes_button,N=r.previous,I=function(){var e=(0,i.A)(c().mark(function e(){var t,r,i,a,o,s,f=arguments;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(f.length>0&&void 0!==f[0]&&f[0]?(z(!0),E(!0)):(v(!0),E(!1)),(t=_.default.getData()).formTypes=t.formTypes.filter(function(e){return e.initialChecked}).map(function(e){return e.value}),t.services=t.services.filter(function(e){return e.initialChecked}).map(function(e){return e.value}),r={baseUrl:p(),method:"POST",body:k({},t)},!T){e.next=14;break}return(0,l.consoleInfo)("Mock endpoint, data that would have been sent is:"),(0,l.consoleInfo)(r),e.next=11,new Promise(function(e){return setTimeout(e,1e3)});case 11:j(),e.next=23;break;case 14:return a=Date.now(),e.next=17,(0,u.Ay)("save_prefs",n,r);case 17:if(o=e.sent,!((s=Date.now()-a)<600)){e.next=22;break}return e.next=22,new Promise(function(e){return setTimeout(e,600-s)});case 22:null!=o&&null!==(i=o.data)&&void 0!==i&&i.success&&j();case 23:return e.next=25,new Promise(function(e){return setTimeout(function(){v(!1),z(!1),e()},200)});case 25:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),F={ref:(0,x.useFocusTrap)(4===C),className:(0,s.classnames)({"gform-setup-wizard__screen":!0,"gform-setup-wizard__screen--step-4":!0}),"aria-hidden":4!==C};return s.React.createElement("div",F,s.React.createElement("div",{className:"gform-setup-wizard__content"},s.React.createElement(b(),{content:D,customClasses:["gform-typography--md-size-display-sm"],spacing:{"":3,md:5},size:"display-xs",weight:"medium",tagName:"h2"}),s.React.createElement(w(),{content:R,asHtml:!0,spacing:{"":5,md:8},size:"text-md",weight:"regular"}),s.React.createElement(d(),{x:850,customClasses:["gform-setup-wizard__footer"],display:"flex"},s.React.createElement(g(),{size:"size-height-xl",type:"white",icon:"arrow-narrow-left",iconPrefix:"gform-common-icon",onClick:(0,_.default)(function(e){return e.setActiveStepPrevious}),ariaLabel:N}),s.React.createElement(d(),{customClasses:["gform-setup-wizard__nav-next-alt"],display:"flex"},s.React.createElement(g(),{activeText:A,label:A,onClick:function(){I()},active:m,activeType:"loader",disabled:m,iconPosition:"trailing",size:"size-height-xl",type:"white"}),s.React.createElement(g(),{label:S,activeText:S,customClasses:["gform-setup-wizard__data-button"],size:"size-height-xl",active:O,activeType:"loader",disabled:O,iconPosition:"trailing",onClick:function(){I(!0)}})))))}}}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[898],{528:function(e,t,i){var n=i(7616),o=i(9877),a=i.n(o),c=i(484),r=i.n(c),s=i(6648),l=i.n(s),m=i(2225),d=i.n(m),u=i(8332),f=i.n(u),p=i(7290),g=i(8335);t.default=function(e){var t,i=e.data,o=e.endpoints,c=e.i18n,s=(0,p.default)(function(e){return e.closeDialog}),m=(0,p.default)(function(e){return e.activeStep}),u="mock_endpoint"===(null==o||null===(t=o.validate_license)||void 0===t?void 0:t.action),w=c.redirect_prompt,_=c.complete_title,h=c.complete_message,v=c.create_form_button,z=c.previous,x={ref:(0,g.useFocusTrap)(5===m),className:(0,n.classnames)({"gform-setup-wizard__screen":!0,"gform-setup-wizard__screen--step-5":!0}),"aria-hidden":5!==m};return n.React.createElement("div",x,n.React.createElement("div",{className:"gform-setup-wizard__content"},n.React.createElement(l(),{content:_,customClasses:["gform-typography--md-size-display-sm"],spacing:{"":3,md:5},tagName:"h2",size:"display-xs",weight:"medium"}),n.React.createElement(d(),{content:h,spacing:{"":6,md:8},size:"text-md",weight:"regular"}),n.React.createElement(r(),{size:"size-height-xl",icon:"pencil",iconPosition:"leading",iconPrefix:"gform-common-icon",label:v,onClick:function(){var e;s(),e="".concat(i.dashboard_url,"admin.php?page=gf_new_form"),window.location.href!==e?window.location.href=e:document.body.classList.remove("gform-setup-wizard--open")},spacing:{"":6,md:8}}),n.React.createElement(f(),{videoOptions:{uuid:i.video_id}}),n.React.createElement(a(),{x:850,customClasses:["gform-setup-wizard__footer"],display:"flex"},n.React.createElement(r(),{size:"size-height-xl",type:"white",icon:"arrow-narrow-left",iconPrefix:"gform-common-icon",onClick:(0,p.default)(function(e){return e.setActiveStepPrevious}),ariaLabel:z}),n.React.createElement(r(),{size:"size-height-xl",customClasses:["gform-setup-wizard__nav-next-alt"],label:w,icon:"settings",iconPosition:"leading",iconPrefix:"gform-icon",type:"white",onClick:function(){s(),u||window.location.href===i.redirect_url?document.body.classList.remove("gform-setup-wizard--open"):window.location.href=i.redirect_url}}))))}}}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[694],{516:function(e,t,a){var n=a(8140),o=a(7616),s=a(5798),i=a(484),c=a.n(i),r=a(5704),u=a.n(r),l=a(9914),d=a.n(l),f=a(9877),m=a.n(f),p=a(9708),g=a(9445),v=a(7526),w=a(4679),C=a(528),k=a(3499),_=a.n(k),z=a(7290),R=o.React.useState,E=o.React.useEffect;t.default=function(e){var t,a="mock_endpoint"===(null===(t=e.endpoints)||void 0===t||null===(t=t.validate_license)||void 0===t?void 0:t.action),i=R(!0),r=(0,n.A)(i,2),l=r[0],f=r[1],k=(0,z.default)(function(e){return e.innerDialogOpen}),b=(0,z.default)(function(e){return e.activeStep}),S=(0,z.default)(function(e){return e.isOpen}),y={closeOnMaskClick:!1,closeButtonTitle:e.i18n.close_button,customCloseButtonClasses:["gform-setup-wizard--exit-button"],customWrapperClasses:["gform-setup-wizard","gform-setup-wizard--step-".concat((0,z.default)(function(e){return e.activeStep})),"gform-setup-wizard--inner-dialog-".concat((0,z.default)(function(e){return e.innerDialogOpen}))],customMaskClasses:[!l&&"gform-setup-wizard--not-fullscreen"],id:"gform-setup-wizard",isOpen:S,lockBody:!0,onCloseAfterAnimation:function(){var t=s.cookieStorage.get(e.data.options.invalidKeyCookieName);a||5===b||e.data.options.isSettingsPage&&t||(window.location.href=e.data.dashboard_url),(0,s.trigger)({event:"gform/video/pauseAll",native:!1,data:{}})},position:l?"fixed":"absolute",mode:"container",zIndex:100001};return E(function(){S&&document.body.classList.add("gform-setup-wizard--open")},[S]),o.React.createElement(u(),y,o.React.createElement(d(),{customClasses:["gform-setup-wizard__nav-bar"]},o.React.createElement(_(),{activeStep:(0,z.default)(function(e){return e.activeStep}),customClasses:["gform-setup-wizard__steps"],numSteps:5,spacing:[8,0,0]})),o.React.createElement(m(),{x:1030,customClasses:["gform-setup-wizard__content-mask"],setDisplay:!1}),!k&&o.React.createElement(c(),{ariaLabel:e.i18n.toggle_fullscreen,circular:!0,customClasses:["gform-setup-wizard__fullscreen-toggle"],icon:l?"contract":"expand",onClick:function(){f(!l)},type:"white"}),o.React.createElement(p.default,e),o.React.createElement(g.default,e),o.React.createElement(v.default,e),o.React.createElement(w.default,e),o.React.createElement(C.default,e))}}}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[854],{7290:function(n,e,t){var r,i=t(7616),u=t(8335),o=t(5798),c=t(1533),a=t.n(c),f=(null===(r=(0,o.getConfig)(a(),"gform_admin_config"))||void 0===r||null===(r=r.components)||void 0===r||null===(r=r.setup_wizard)||void 0===r||null===(r=r.data)||void 0===r?void 0:r.defaults)||{},s=(0,u.create)(f,function(n){return{closeDialog:function(){return n(function(){return{isOpen:!1}})},patchFormTypes:function(e,t){return n((0,i.immer)(function(n){n.formTypes.forEach(function(r,i){r.value===t.target.value&&(n.formTypes[i].initialChecked=e),"other"!==t.target.value||e||(n.formTypesOther="")})}))},patchServices:function(e,t){return n((0,i.immer)(function(n){n.services.forEach(function(r,i){r.value===t.target.value&&(n.services[i].initialChecked=e),"other"!==t.target.value||e||(n.servicesOther="")})}))},setActiveStepNext:function(){return n(function(n){return{activeStep:n.activeStep+1}})},setActiveStepPrevious:function(){return n(function(n){return{activeStep:n.activeStep-1}})},setAutoUpdate:function(){return n(function(n){return{autoUpdate:!n.autoUpdate}})},setCurrency:function(e){return n(function(){return{currency:e}})},setDataCollection:function(e){return n(function(){return{dataCollection:e}})},setEmail:function(e){return n(function(){return{email:e}})},setEmailConsent:function(e){return n(function(){return{emailConsent:e}})},setFormTypesOther:function(e){return n(function(){return{formTypesOther:(0,o.slugify)(e)}})},setHideLicense:function(){return n(function(n){return{hideLicense:!n.hideLicense}})},setInnerDialogOpen:function(e){return n(function(){return{innerDialogOpen:e}})},setLicenseKey:function(e){return n(function(){return{licenseKey:e}})},setOrganization:function(e){return n(function(n){return{organization:e,organizationOther:"other"===e?n.organizationOther:""}})},setOrganizationOther:function(e){return n(function(){return{organizationOther:(0,o.slugify)(e)}})},setServicesOther:function(e){return n(function(){return{servicesOther:(0,o.slugify)(e)}})}}});e.default=s}}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[874],{1907:function(e,t,o){var a,n=o(7616),r=o(5798),u=o(1533),c=o.n(u),i=o(516),l=n.ReactDOM.createRoot,s=(null===c()||void 0===c()||null===(a=c().components)||void 0===a?void 0:a.setup_wizard)||{};t.default=function(){window.scrollTo(0,0);var e=(0,r.getNode)("setup-wizard");l(e).render(n.React.createElement(i.default,s))}}}]);
|
||||
wp-content/plugins/gravityforms/assets/js/dist/scripts-admin.splash-page.3c69f86dd4d6fc6dc359.min.js
Vendored
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[318],{7363:function(o,n,e){e.d(n,{default:function(){return g}});var a,l=e(5798),s=e(9662),i=e.n(s),t=e(3963),d=e.n(t),c=(null===(a=window)||void 0===a?void 0:a.SimpleBar)||{};i().instances=i().instances||{};var r=function(o){var n;n=o.innerHTML,i().instances.splashPageModal=new(d())({animationDelay:250,closeButtonClasses:"gform-dialog__close gform-dialog__close--plain",closeButtonTitle:"Close modal",content:n,id:"splash-page-modal",lockBody:!0,mode:"modal",title:"",titleIcon:"",titleIconColor:"",zIndex:100055,wrapperClasses:"gform-dialog gform-dialog--full-screen"}),new c(i().instances.splashPageModal.elements.dialog),window.setTimeout(function(){i().instances.splashPageModal.showDialog()},1e3)},g=function(o){r(o),(0,l.consoleInfo)("Gravity Forms Admin: Initialized splash page modal.")}}}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[959],{9712:function(t,e,o){o.d(e,{default:function(){return u}});var s=o(5798),r=function(t){var e=t.delegateTarget,o=(0,s.getNode)("system-status-copy-label",e),r=(0,s.getNode)("system-status-copy-copied",e),n=(0,s.getNode)("system-report-text");(0,s.clipboard)(n.innerHTML)?(setTimeout(function(){i(o,r,e,!0)},100),setTimeout(function(){i(r,o,e,!1)},7e3)):(0,s.consoleInfo)("There was an error copying to clipboard.")},i=function(t,e,o,s){t.setAttribute("aria-hidden","true"),e.setAttribute("aria-hidden","false"),s?o.classList.add("gform-system-report__copy-button-copied"):o.classList.remove("gform-system-report__copy-button-copied")},n=function(t,e){e&&!confirm(e)||((0,s.getNode)("system-report-action").value=t,(0,s.getNode)("system-report-form").submit())},a=function(t){var e=(0,s.getNode)("system-report-action"),o=(0,s.getNode)("system-report-form");e&&o&&(e.value=t.dataset.actionCode||"",o.submit())},c=function(t){!function(t){(0,s.delegate)(t,'[data-js="gf-copy-system-report"]',"click",r)}(t),window.gfDoAction=n,window.gfSystemReportAction=a},u=function(t){c(t),(0,s.consoleInfo)("Gravity Forms Admin: Initialized system report")}}}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[907],{9049:function(t,n,e){var r,u,o,i=e(8335),l=e(5798),f=e(1533),a=e.n(f),c=null===(r=(0,l.getConfig)(a(),"gform_admin_config"))||void 0===r||null===(r=r.components)||void 0===r?void 0:r.template_library,s=(null==c||null===(u=c.data)||void 0===u?void 0:u.defaults)||{};"mock_endpoint"===(null==c||null===(o=c.endpoints)||void 0===o||null===(o=o.create_from_template)||void 0===o?void 0:o.action)&&(s.isLibraryOpen=!0);var y=(0,i.create)(s,function(t){return{setIsLibraryOpen:function(n){return t(function(){return{isLibraryOpen:n}})},setFlyoutOpen:function(n){return t(function(){return{flyoutOpen:n}})},setFlyoutFooterButtonLabel:function(n){return t(function(){return{flyoutFooterButtonLabel:n}})},setFlyoutTitleValue:function(n){return t(function(){return{flyoutTitleValue:n}})},setFlyoutDescriptionValue:function(n){return t(function(){return{flyoutDescriptionValue:n}})},setSelectedTemplate:function(n){return t(function(){return{selectedTemplate:n}})},setFlyoutTitleErrorState:function(n){return t(function(){return{flyoutTitleErrorState:n}})},setFlyoutTitleErrorMessage:function(n){return t(function(){return{flyoutTitleErrorMessage:n}})},setImportError:function(n){return t(function(){return{importError:n}})},setFlyoutPrimaryLoadingState:function(n){return t(function(){return{flyoutPrimaryLoadingState:n}})}}});n.default=y}}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[752],{7688:function(e,t,r){var n=r(1860),o=r(527),a=r(7616),i=r(5798),c=r(9877),l=r.n(c),u=r(484),s=r.n(u),f=r(7510),m=r.n(f),p=r(4496),d=r.n(p),y=r(1862),b=r.n(y),g=r(2312),v=r.n(g),h=r(2045),E=r.n(h),O=r(9049);function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach(function(t){(0,o.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var A=a.React.useCallback,R=a.React.useEffect,P=a.React.useRef;t.default=function(e){var t=e.flyoutAttributes,r=void 0===t?{}:t,o=e.footerAttributes,c=void 0===o?{}:o,u=e.showAlert,f=void 0!==u&&u,p=e.strings,y=void 0===p?{}:p,g=e.titleInputState,h=void 0===g?{}:g,w=(0,O.default)(function(e){return e.flyoutTitleValue}),_=(0,O.default)(function(e){return e.setFlyoutTitleValue}),j=(0,O.default)(function(e){return e.flyoutDescriptionValue}),k=(0,O.default)(function(e){return e.setFlyoutDescriptionValue}),D=(0,O.default)(function(e){return e.flyoutOpen}),x=P(null);R(function(){D&&x.current&&setTimeout(function(){var e=Array.from(x.current.children).find(function(e){return"INPUT"===e.tagName});e&&e.focus()},100)},[D]),R(function(){var e=function(e){if("Enter"===e.key&&D&&x.current){var t=Array.from(x.current.children).find(function(e){return"INPUT"===e.tagName});t===document.activeElement&&N.current&&(e.preventDefault(),_(t.value),setTimeout(function(){N.current()},100))}};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}});var T={className:(0,a.classnames)({"gform-flyout__foot":!0})},z=C(C({},c.primaryButtonAttributes),{},{customClasses:(0,a.classnames)({"gform-flyout__foot-primary-button":!0}),type:"primary-new"}),N=P(z.onClick);N.current=z.onClick;var I=C(C({},c.secondaryButtonAttributes),{},{customClasses:(0,a.classnames)({"gform-flyout__foot-secondary-button":!0}),type:"white"});r.afterContent=a.React.createElement("footer",T,a.React.createElement("div",{className:"gform-flyout__foot-inner"},a.React.createElement(s(),I),a.React.createElement(s(),z)));var F=A((0,i.debounce)(_,{wait:300}),[w]),S=A((0,i.debounce)(k,{wait:300}),[j]),V=C({animationDelay:150,closeButtonCustomAttributes:{circular:!0,icon:"x",iconPrefix:"gform-common-icon",size:"size-xs",type:"simplified"},customClasses:["gform-template-library__flyout"],direction:"right",headerHeadingCustomAttributes:{size:"display-sm",weight:"semibold"},zIndex:100001},r),q={controlled:!0,id:"template-library-form-title-input",required:!0,requiredLabel:{content:"(".concat(y.required,")")},placeholder:y.titlePlaceholder,size:"size-l",labelPosition:"above",labelAttributes:{label:y.title,htmlFor:"template-library-form-title-input"},onChange:F,error:h.errorState,helpTextAttributes:{content:h.errorMessage},value:w};return a.React.createElement(E(),V,f&&a.React.createElement(v(),{content:y.upgradeAlert,contentCustomAttributes:{asHtml:!0},customClasses:["gform-template-library__flyout-alert"],isInline:!0,spacing:6,type:"error"}),a.React.createElement(l(),{spacing:6},a.React.createElement(m(),(0,n.A)({},q,{ref:x}))),a.React.createElement(l(),{spacing:6},a.React.createElement(d(),{label:y.description,htmlFor:"template-library-form-description-text"}),a.React.createElement(b(),{controlled:!0,id:"template-library-form-description-text",placeholder:y.formDescriptionPlaceHolder,onChange:S,value:j,customClasses:["gform-template-library__flyout-textarea"]})))}}}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[441],{1159:function(e,t,a){var r=a(8134),i=a(7616),n=a(9652),l=a.n(n),c=a(6243),s=a.n(c),m=a(8045),o=a.n(m),u=a(5078);t.default=function(e){var t,a,n,c=e.blankOnClick,m=void 0===c?function(){}:c,g=e.licenseType,p=void 0===g?"":g,d=e.strings,b=void 0===d?{}:d,f=e.templateOnClick,h=void 0===f?function(){}:f,k=e.templates,v=void 0===k?[]:k,y=e.thumbnailUrl,_=void 0===y?"":y;return i.React.createElement(i.SimpleBar,null,i.React.createElement("div",{className:"gform-template-library__card-grid-container"},i.React.createElement(l(),{container:!0,wrap:!0,rowSpacing:6,columnSpacing:6,customClasses:["gform-template-library__card-grid"],justifyContent:"flex-start"},(t={headingAttributes:{content:b.blankForm,weight:"medium",size:"text-sm",tagName:"h2"},textAttributes:{content:b.createForm,size:"text-sm"},blankButtonAttributes:{onClick:m},imageAttributes:{asBg:!0,url:"https://i.imgur.com/KsZxvrs.png",altText:b.blankForm},style:"form-template-blank"},a=i.React.createElement(l(),{key:0,customClasses:["gform-template-library__card-grid-item"],item:!0},i.React.createElement(o(),t)),n=v.map(function(e,t){var a=p&&p.slice(2).toLowerCase()||"single",r=(0,u.r)({accessLevels:e.template_access_level,licenseLevel:a})?b.upgradeTag:"",n=b.useTemplateWithTitle.split("%s"),c=b.previewWithTitle.split("%s"),m={customClasses:["gform-card__form-template-secondary-button-icon"],customAttributes:{"aria-hidden":"true"},icon:"external-link",iconPrefix:"gform-icon"},g={bgColor:e.template_background,headingAttributes:{content:e.title,weight:"medium",size:"text-sm",tagName:"h2"},primaryCtaAttrs:{ctaType:"button",children:i.React.createElement(i.React.Fragment,null,n[0],i.React.createElement("span",{className:"gform-visually-hidden"},'"'.concat(e.title,'"')),n[1]),onClick:h(e)},secondaryCtaAttrs:{ctaType:"link",children:i.React.createElement(i.React.Fragment,null,i.React.createElement(s(),m),c[0],i.React.createElement("span",{className:"gform-visually-hidden"},'"'.concat(e.title,'"')),c[1]),href:e.template_preview_url,target:"_blank"},imageAttributes:{asBg:!0,url:"".concat(_).concat(e.template_thumbnail),imagePosition:"top center",imageAttributes:{style:{backgroundSize:"100%"}},altText:e.title},tagAttributes:{content:r,size:"text-xxs"},style:"form-template"};return i.React.createElement(l(),{key:t+1,customClasses:["gform-template-library__card-grid-item"],item:!0},i.React.createElement(o(),g))}),[a].concat((0,r.A)(n))))))}}}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[528],{7174:function(e,t,n){var r=n(455),l=n(9280),i=n.n(l),a=n(7616),o=n(5704),u=n.n(o),s=n(9877),c=n.n(s),f=n(6648),d=n.n(f),m=n(2225),p=n.n(m),y=n(1159),b=n(7688),T=n(5078),g=n(9049),k=a.React.useEffect;t.default=function(e){var t=(0,g.default)(function(e){return e.flyoutOpen}),n=(0,g.default)(function(e){return e.setFlyoutOpen}),l=(0,g.default)(function(e){return e.flyoutFooterButtonLabel}),o=(0,g.default)(function(e){return e.setFlyoutFooterButtonLabel}),s=(0,g.default)(function(e){return e.flyoutTitleValue}),f=(0,g.default)(function(e){return e.setFlyoutTitleValue}),m=(0,g.default)(function(e){return e.flyoutDescriptionValue}),h=(0,g.default)(function(e){return e.setFlyoutDescriptionValue}),C=(0,g.default)(function(e){return e.selectedTemplate}),v=(0,g.default)(function(e){return e.setSelectedTemplate}),_=(0,g.default)(function(e){return e.flyoutTitleErrorState}),E=(0,g.default)(function(e){return e.setFlyoutTitleErrorState}),B=(0,g.default)(function(e){return e.flyoutTitleErrorMessage}),F=(0,g.default)(function(e){return e.setFlyoutTitleErrorMessage}),O=(0,g.default)(function(e){return e.importError}),x=(0,g.default)(function(e){return e.setImportError}),L=(0,g.default)(function(e){return e.flyoutPrimaryLoadingState}),w=(0,g.default)(function(e){return e.setFlyoutPrimaryLoadingState}),R=(0,g.default)(function(e){return e.bypassTemplateLibrary}),A=(0,g.default)(function(e){return e.isLibraryOpen}),V=(0,g.default)(function(e){return e.setIsLibraryOpen});k(function(){document.addEventListener("gform/template_library/set_open_status",function(e){V(e.detail.isOpen),e.detail.isOpen&&R&&n(!0)})},[]);var D=function(){var t=(0,r.A)(i().mark(function t(){var n,r;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return S(),w(!0),t.next=4,(0,T.D)({template:C,title:s,description:m,endpoints:e.endpoints});case 4:(n=t.sent)&&n.error&&(-1!==n.error.code.indexOf("_title")?(E(!0),r="duplicate_title"===n.error.code?e.i18n.duplicateTitle:e.i18n.missingTitle,F(r)):x(!0),w(!1));case 6:case"end":return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}(),S=function(){E(!1),F("")},I={closeButtonType:"simplified",closeButtonTitle:e.i18n.closeButton,customCloseButtonClasses:["gform-template-library__exit-button"],customMaskClasses:t?["gform-template-library--flyout-open","gform-template-library__mask"]:["gform-template-library__mask"],customWrapperClasses:["gform-template-library"],id:"gform-template-library",isOpen:A,lockBody:!0,maskBlur:!1,maskTheme:"dark",mode:"modal",padContent:!1,zIndex:1e5,onClose:function(){V(!1)}},z={blankOnClick:function(){return S(),v({title:e.i18n.blankFormTitle,description:e.i18n.blankFormDescription,id:"blank"}),n(!0),void o(e.i18n.createForm)},licenseType:e.data.licenseType,strings:e.i18n,templateOnClick:function(t){return function(t){return function(){S(),v(t),n(!0),o(e.i18n.useTemplate)}}(t)},templates:e.data.templates,thumbnailUrl:e.data.thumbnail_url},M={flyoutAttributes:{isOpen:t,onClose:function(){f(""),h(""),n(!1),R&&V(!1)},simplebar:!0,title:null==C?void 0:C.title},titleInputState:{errorState:_,errorMessage:B},footerAttributes:{primaryButtonAttributes:{label:l,onClick:D,active:L,activeType:"loader",activeText:e.i18n.createActiveText},secondaryButtonAttributes:{label:e.i18n.cancel,onClick:function(){n(!1)}}},setFlyoutTitleValue:f,setFlyoutDescriptionValue:h,flyoutTitleValue:s,flyoutDescriptionValue:m,showAlert:"blank"!==C.id&&(0,T.r)({accessLevels:C.template_access_level,licenseLevel:e.data.licenseType&&e.data.licenseType.slice(2).toLowerCase()||"single"}),strings:e.i18n};return a.React.createElement(u(),I,a.React.createElement(c(),{customClasses:["gform-template-library__heading"]},a.React.createElement(d(),{size:"display-sm",weight:"semibold",spacing:3,content:e.i18n.heading}),a.React.createElement(p(),{content:e.i18n.subheading,size:"text-md",weight:"regular"})),!R&&a.React.createElement(y.default,z),a.React.createElement(b.default,M),O&&a.React.createElement(u(),{alertButtonText:e.i18n.importErrorCloseText,buttonWidth:"full",confirmButtonType:"white",content:e.i18n.failedRequest,customWrapperClasses:["gform-template-library__alert"],isOpen:!0,maskBlur:!0,maskTheme:"dark",mode:"alert",onCloseAfterAnimation:function(){return x(!1)},showCloseButton:!1,theme:"cosmos",title:e.i18n.failedRequestDialogTitle,titleIndicatorType:"error",zIndex:100001}))}}}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[215],{5078:function(e,t,r){r.d(t,{D:function(){return d},r:function(){return c}});var n=r(455),i=r(9280),a=r.n(i),u=r(7122),l=r.n(u),o=r(912),s=r(5798),d=function(){var e=(0,n.A)(a().mark(function e(t){var r,n,i,u,d,c,f,p,v,m,g;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=t.template.id,u=t.title,d=t.description,c=t.endpoints,u){e.next=3;break}return e.abrupt("return",{error:{code:"missing_title"}});case 3:return f={baseUrl:l(),method:"POST",body:{templateId:i,form:{title:u,description:d}}},e.next=6,(0,o.Ay)("create_from_template",c,f);case 6:if(p=e.sent,v=null==p||null===(r=p.data)||void 0===r||null===(r=r.data)||void 0===r?void 0:r.form_id,null==p||null===(n=p.data)||void 0===n||!n.success||!v){e.next=13;break}m=(0,s.updateQueryVar)("page","gf_edit_forms"),window.location.href=(0,s.updateQueryVar)("id",v,m),e.next=14;break;case 13:return e.abrupt("return",{error:{code:null!=p&&null!==(g=p.data)&&void 0!==g&&null!==(g=g.data)&&void 0!==g&&g.message?p.data.data.message:"failedRequest"}});case 14:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),c=function(e){var t=e.accessLevels,r=void 0===t?[]:t,n=e.licenseLevel,i=void 0===n?"single":n,a=["basic","pro","dev","ltdev","elite","single","ltsingle","multi","ltmulti","nonprofit","enterprise","gravityflow","gravityview","godaddy","wpcom"];return!r.filter(function(e){return a.includes(e)}).includes(i)}}}]);
|
||||
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[647],{5584:function(e,t,r){var a,o,i=r(7616),n=r(1533),l=r.n(n),d=r(5798),m=r(7174),u=i.ReactDOM.createRoot,c=(null===l()||void 0===l()||null===(a=l().components)||void 0===a?void 0:a.template_library)||{},g=(null===l()||void 0===l()||null===(o=l().apps)||void 0===o?void 0:o.template_library)||{},p={templateLibraryTrigger:(0,d.getNode)("gform-add-new-form"),root:(0,d.getNode)(g.root_element)},s=function(){(0,d.trigger)({event:"gform/template_library/set_open_status",el:document,data:{isOpen:!0},native:!1})};t.default=function(){u(p.root).render(i.React.createElement(m.default,c)),p.templateLibraryTrigger&&p.templateLibraryTrigger.addEventListener("click",s)}}}]);
|
||||
wp-content/plugins/gravityforms/assets/js/dist/scripts-admin.user-select.2b2ae9346745bef479e8.min.js
Vendored
+1
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkgravityforms=self.webpackChunkgravityforms||[]).push([[631],{4060:function(e,n,t){t.d(n,{default:function(){return v}});var s,o=t(5798),i=t(7195),c=t.n(i),r=t(9662),a=t.n(r),u=t(1533),d=t.n(u),l=(null===d()||void 0===d()||null===(s=d().components)||void 0===s?void 0:s.user_select)||{},f=function(e){var n=(0,o.getClosest)(e,".gform-settings-field"),t=l.endpoints,s=l.data;a().instances.postSelects.push(new(c())({container:n.id,selector:"gform-settings-field-user-select",render:!1,renderListData:!0,searchType:"async",onItemSelect:function(e){return function(e,n){var t=(0,o.getNodes)("gf-user-select-input",!0,n,!1)[0];t.value=e;var s=new Event("change");t.dispatchEvent(s)}(e,n)},baseUrl:t.get,endpoints:t,endpointKey:"get",endpointRequestOptions:{method:"GET"},endpointUseRest:!0,listData:s}))},p=function(e){!function(e){a().instances.postSelects=[],e.forEach(function(e){f(e)})}(e)},v=function(e){p(e),(0,o.consoleInfo)("Gravity Forms Admin: Initialized user select dropdown component.")}}}]);
|
||||
@@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array('gform_gravityforms_utils', 'jquery', 'wp-polyfill'), 'version' => 'a2540dbd0a124d8d094b');
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array(), 'version' => '67e8a68d50e294242069');
|
||||
File diff suppressed because one or more lines are too long
Vendored
+1
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array(), 'version' => '933d5d93e6d705284572');
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,20 @@
|
||||
@font-face {
|
||||
font-family: 'gravityforms';
|
||||
src: url( '../fonts/dashicons.eot' );
|
||||
src: url( '../fonts/dashicons.eot?#iefix' ) format( 'embedded-opentype' ),
|
||||
url( '../fonts/dashicons.woff' ) format( 'woff' ),
|
||||
url( '../fonts/dashicons.ttf' ) format( 'truetype' ),
|
||||
url( '../fonts/dashicons.svg#gravityforms' ) format( 'svg' );
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
|
||||
}
|
||||
|
||||
.dashicons-gravityforms:before {
|
||||
display: inline-block;
|
||||
font-family: 'gravityforms';
|
||||
line-height: 1;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
content: 'a';
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
@font-face{font-family:gravityforms;src:url('../fonts/dashicons.eot');src:url('../fonts/dashicons.eot?#iefix') format( 'embedded-opentype' ),url('../fonts/dashicons.woff') format( 'woff' ),url('../fonts/dashicons.ttf') format( 'truetype' ),url('../fonts/dashicons.svg#gravityforms') format( 'svg' );font-weight:400;font-style:normal}.dashicons-gravityforms:before{display:inline-block;font-family:gravityforms;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:'a'}
|
||||
@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
//Nothing to see here
|
||||
@@ -0,0 +1,564 @@
|
||||
/*
|
||||
----------------------------------------------------------------
|
||||
|
||||
preview.css
|
||||
Gravity Forms Form Preview Styles
|
||||
http://www.gravityforms.com
|
||||
updated: November 11, 2016 9:28 AM GMT-5
|
||||
|
||||
Gravity Forms is a Rocketgenius project
|
||||
copyright 2016 Rocketgenius Inc.
|
||||
http: //www.rocketgenius.com
|
||||
this may not be redistributed without the
|
||||
express written permission of the author.
|
||||
|
||||
NOTE: DO NOT EDIT THIS FILE!
|
||||
THIS FILE IS REPLACED DURING AUTO UPGRADE
|
||||
AND ANY CHANGES MADE HERE WILL BE OVERWRITTTEN.
|
||||
|
||||
----------------------------------------------------------------
|
||||
*/
|
||||
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
*,
|
||||
*:before,
|
||||
*:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
body {
|
||||
display: block !important;
|
||||
font-family: "lucida sans", "lucida grande", lucida , arial, sans-serif;
|
||||
font-size: 16px;
|
||||
padding: 0 0 20px 0;
|
||||
background-color: #f1f1f1;
|
||||
}
|
||||
|
||||
div#preview_hdr {
|
||||
margin: 0;
|
||||
color: #fff;
|
||||
font-family: "Open Sans",sans-serif;
|
||||
padding: 10px 20px 8px 0;
|
||||
font-size: 16px;
|
||||
background-color: #0074a2;
|
||||
display:block !important;
|
||||
}
|
||||
|
||||
div#preview_hdr h2 {
|
||||
font-weight: normal;
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
font-size: 18px;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
|
||||
div#preview_hdr div:first-child {
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
div#preview_hdr span.toggle_helpers {
|
||||
width: auto !important;
|
||||
display: block;
|
||||
float: right;
|
||||
text-align: right;
|
||||
margin-top: 2px;
|
||||
font-family: "lucida sans", "lucida grande", lucida , sans-serif;
|
||||
color: #d;
|
||||
font-weight: normal;
|
||||
letter-spacing: normal;
|
||||
font-size: 12px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
div#preview_hdr span.toggle_helpers label {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
div#preview_hdr a {
|
||||
color: #FFF;
|
||||
text-decoration: none;
|
||||
display: inline;
|
||||
font-weight: normal;
|
||||
letter-spacing: normal;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
div#preview_hdr a:hover {
|
||||
color: #FFF;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
div#preview_note {
|
||||
background-color: #fff;
|
||||
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
|
||||
display: inline-block;
|
||||
font-family: "lucida sans", "lucida grande", lucida , sans-serif;
|
||||
font-size: 12px;
|
||||
line-height: 1.6;
|
||||
margin: 12px 24px -6px 24px;
|
||||
padding: 11px 30px 11px 15px;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
border-left: 4px solid #ffba00;
|
||||
}
|
||||
|
||||
div#preview_note i.hidenotice {
|
||||
margin-left: 6px;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9Ii0yODkgMzgxIDMyIDMyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IC0yODkgMzgxIDMyIDMyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHN0eWxlIHR5cGU9InRleHQvY3NzIj4uc3Qwe2ZpbGw6Izc5MDAwMDt9PC9zdHlsZT48cGF0aCBjbGFzcz0ic3QwIiBkPSJNLTI1OC4zLDM4Ny44bC05LjIsOS4zbDkuMiw5LjJjMC40LDAuNCwwLjQsMSwwLDEuNGwtNC4yLDQuMmMtMC40LDAuNC0xLDAuNC0xLjQsMGwtOS4yLTkuMmwtOS4xLDkuMmMtMC40LDAuNC0xLDAuNC0xLjQsMGwtNC4yLTQuMmMtMC40LTAuNC0wLjQtMSwwLTEuNGw5LjEtOS4ybC05LjEtOS4xYy0wLjQtMC40LTAuNC0xLDAtMS40bDQuMi00LjJjMC40LTAuNCwxLTAuNCwxLjQsMGw5LjEsOS4xbDkuMi05LjNjMC40LTAuNCwxLTAuNCwxLjQsMGw0LjIsNC4yQy0yNTcuOSwzODYuOC0yNTcuOSwzODcuNC0yNTguMywzODcuOHoiLz48L3N2Zz4=);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 10px 10px;
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
div#preview_form_container {
|
||||
padding: 20px 20px 32px 20px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #fff;
|
||||
border-bottom: 4px solid #d3d3d3;
|
||||
}
|
||||
|
||||
div#preview_form_container.showgrid {
|
||||
border: 1px solid #e6e6e6;
|
||||
border-bottom: 4px solid #d3d3d3;
|
||||
background-image:url(../images/preview_grid.gif);
|
||||
background-position: 20px 0;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
div#preview_form_container .gfield input[type="checkbox"] {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 641px) {
|
||||
|
||||
div#preview_form_container.showgrid .gform_wrapper form {
|
||||
z-index: 50 !important;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div#preview_form_container.showgrid span.rule25 {
|
||||
padding-left: 4px;
|
||||
display: inline-block;
|
||||
height: 100% !important;
|
||||
border-left: 1px solid rgba(116, 156, 40, .5);
|
||||
position: absolute;
|
||||
left: 25%;
|
||||
top: 0;
|
||||
vertical-align: top;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
div#preview_form_container.showgrid span.rule25:before {
|
||||
content:"25%";
|
||||
font-size: .75rem;
|
||||
color: rgba(116, 156, 40, .5);
|
||||
background-color: rgba(255, 255, 255, .5);
|
||||
margin-left: -.75rem;
|
||||
font-weight: 700;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
div#preview_form_container.showgrid span.rule33 {
|
||||
padding-left: 4px;
|
||||
display: inline-block;
|
||||
height: 100% !important;
|
||||
border-left: 1px solid rgba(198, 7, 9, .25);
|
||||
position: absolute;
|
||||
left: 33.3%;
|
||||
top: 0;
|
||||
vertical-align: top;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
div#preview_form_container.showgrid span.rule33:before {
|
||||
content:"33%";
|
||||
font-size: .75rem;
|
||||
color: rgba(198, 7, 9, .5);
|
||||
background-color: rgba(255, 255, 255, .5);
|
||||
margin-left: -.75rem;
|
||||
font-weight: 700;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
div#preview_form_container.showgrid span.rule50 {
|
||||
padding-left: 4px;
|
||||
display: inline-block;
|
||||
height: 100% !important;
|
||||
border-left: 1px solid rgba(116, 156, 40, .5);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 0;
|
||||
vertical-align: top;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
div#preview_form_container.showgrid span.rule50:before {
|
||||
content:"50%";
|
||||
font-size: .75rem;
|
||||
color: rgba(116, 156, 40, .5);
|
||||
background-color: rgba(255, 255, 255, .5);
|
||||
margin-left: -.75rem;
|
||||
font-weight: 700;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
div#preview_form_container.showgrid span.rule66 {
|
||||
padding-left: 4px;
|
||||
display: inline-block;
|
||||
height: 100% !important;
|
||||
border-left: 1px solid rgba(198, 7, 9, .25);
|
||||
position: absolute;
|
||||
left: 66.6%;
|
||||
top: 0;
|
||||
vertical-align: top;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
div#preview_form_container.showgrid span.rule66:before {
|
||||
content:"66%";
|
||||
font-size: .75rem;
|
||||
color: rgba(198, 7, 9, .5);
|
||||
background-color: rgba(255, 255, 255, .5);
|
||||
margin-left: -.75rem;
|
||||
font-weight: 700;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
div#preview_form_container.showgrid span.rule75 {
|
||||
padding-left: 4px;
|
||||
display: inline-block;
|
||||
height: 100% !important;
|
||||
border-left: 1px solid rgba(116, 156, 40, .5);
|
||||
position: absolute;
|
||||
left: 75%;
|
||||
top: 0;
|
||||
vertical-align: top;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
div#preview_form_container.showgrid span.rule75:before {
|
||||
content:"75%";
|
||||
font-size: .75rem;
|
||||
color: rgba(116, 156, 40, .5);
|
||||
background-color: rgba(255, 255, 255, .5);
|
||||
margin-left: -.75rem;
|
||||
font-weight: 700;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.gform_wrapper {
|
||||
color: #000;
|
||||
font-size: 1em;
|
||||
margin: 16px auto;
|
||||
}
|
||||
|
||||
.gform_legacy_markup_wrapper .gform_footer input.button:disabled {
|
||||
height: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div#helper_legend_container,
|
||||
div#helper_legend_container ul#helper_legend {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div#browser_size_info {
|
||||
position: fixed;
|
||||
right: 5px;
|
||||
bottom: 5px;
|
||||
z-index: 9999;
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
width: auto;
|
||||
display: -moz-inline-stack;
|
||||
display: inline-block;
|
||||
padding: 4px 8px;
|
||||
background-color: #FFFBCC;
|
||||
border: 1px solid #E6DB55;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 320px) {
|
||||
|
||||
/* experimental styles to display field ids and class names in preview */
|
||||
|
||||
div#helper_legend_container {
|
||||
background-color:#fff;
|
||||
padding: 12px 20px 16px 20px;
|
||||
margin: 16px 24px 0 24px;
|
||||
width: auto;
|
||||
border-bottom: 4px solid #D3D3D3;
|
||||
}
|
||||
|
||||
div#helper_legend_container ul#helper_legend {
|
||||
display: block;
|
||||
}
|
||||
|
||||
ul#helper_legend li {
|
||||
display: -moz-inline-stack;
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
vertical-align: middle;
|
||||
font-size: 16px;
|
||||
position: relative;
|
||||
padding-left: 20px;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
ul#helper_legend li.showclass:before {
|
||||
content:"";
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: -moz-inline-stack;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 0;
|
||||
background-color: #ff9;
|
||||
border: 2px solid #FC6;
|
||||
}
|
||||
|
||||
ul#helper_legend li.showid:before {
|
||||
content:"";
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: -moz-inline-stack;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 0;
|
||||
background-color: #CF9;
|
||||
border: 2px solid #73e600;
|
||||
}
|
||||
|
||||
.gform_wrapper .gf_showme ul.gform_fields li.gfield:before {
|
||||
content:"\25bc " attr(id);
|
||||
line-height: 2.5;
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
background-color: #CF9;
|
||||
border-left: 4px solid #73e600;
|
||||
color: #060;
|
||||
padding: 2px 4px;
|
||||
text-indent: 4px;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.gform_wrapper .gf_showme ul.gfield_checkbox li label:before,
|
||||
.gform_wrapper .gf_showme ul.gfield_radio li label:before {
|
||||
content:"\25bc " attr(id);
|
||||
line-height: 2.5;
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
font-weight: 400;
|
||||
background-color: #CF9;
|
||||
border-left: 4px solid #73e600;
|
||||
color: #060;
|
||||
padding: 2px 4px;
|
||||
text-indent: 4px;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.gform_wrapper .gf_showme .gform_heading,
|
||||
.gform_wrapper .gf_showme .gform_body,
|
||||
.gform_wrapper .gf_showme .gform_footer,
|
||||
.gform_wrapper .gf_showme .gform_page_footer,
|
||||
.gform_wrapper .gf_showme .gform_page {
|
||||
border: 1px dashed #F60;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.gform_wrapper .gf_showme .gform_heading .gform_title,
|
||||
.gform_wrapper .gf_showme .gform_heading .gform_description {
|
||||
border: 1px dashed #060;
|
||||
padding: 16px;
|
||||
margin-top: 8px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.gform_wrapper .gf_showme ul.gform_fields li.gfield {
|
||||
border: 1px dashed #060;
|
||||
margin-top: 32px !important;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.gform_wrapper .gf_showme ul.gform_fields label.gfield_label {
|
||||
border: 1px dashed #060;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.gform_wrapper .gf_showme ul.gform_fields label.gfield_label span.gfield_required {
|
||||
border: 1px dashed #060;
|
||||
padding: 8px;
|
||||
display: -moz-inline-stack;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.gform_wrapper .gf_showme ul.gform_fields,
|
||||
.gform_wrapper .gf_showme ul.gform_fields .ginput_container,
|
||||
.gform_wrapper .gf_showme ul.gform_fields li .gfield_description,
|
||||
.gform_wrapper .gf_showme table.gfield_list,
|
||||
.gform_wrapper .gf_showme table.gfield_list td.gfield_list_cell,
|
||||
.gform_wrapper .gf_showme table.gfield_list td.gfield_list_icons,
|
||||
.gform_wrapper .gf_showme .gform_card_icon_container,
|
||||
.gform_wrapper .gf_showme ul.gfield_checkbox,
|
||||
.gform_wrapper .gf_showme ul.gfield_checkbox li,
|
||||
.gform_wrapper .gf_showme ul.gfield_radio,
|
||||
.gform_wrapper .gf_showme ul.gfield_radio li,
|
||||
.gform_wrapper .gf_showme .gform_footer a.gform_save_link,
|
||||
.gform_wrapper .gf_showme .gform_page_footer a.gform_save_link,
|
||||
.gform_wrapper .gf_showme .chosen-container,
|
||||
.gform_wrapper .gf_showme .gsection_description,
|
||||
.gform_wrapper .gf_showme .gsection_title {
|
||||
border: 1px dashed #060;
|
||||
padding: 16px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.gform_wrapper .gf_showme ul.gfield_checkbox li {
|
||||
display: block;
|
||||
margin-bottom: 8px !important;
|
||||
}
|
||||
.gform_wrapper .gf_showme li.gf_list_2col ul.gfield_checkbox li,
|
||||
.gform_wrapper .gf_showme li.gf_list_3col ul.gfield_checkbox li,
|
||||
.gform_wrapper .gf_showme li.gf_list_4col ul.gfield_checkbox li,
|
||||
.gform_wrapper .gf_showme li.gf_list_5col ul.gfield_checkbox li {
|
||||
margin-bottom: 8px !important;
|
||||
}
|
||||
.gform_wrapper .gf_showme li.gf_list_2col ul li {
|
||||
width: 49% !important;
|
||||
margin-right: 8px !important;
|
||||
}
|
||||
.gform_wrapper .gf_showme li.gf_list_3col ul li {
|
||||
width: 32.3% !important;
|
||||
margin-right: 8px !important;
|
||||
}
|
||||
.gform_wrapper .gf_showme li.gf_list_4col ul li {
|
||||
width: 24% !important;
|
||||
margin-right: 8px !important;
|
||||
}
|
||||
.gform_wrapper .gf_showme li.gf_list_5col ul li {
|
||||
width: 19% !important;
|
||||
margin-right: 8px !important;
|
||||
}
|
||||
.gform_wrapper .gf_showme li.gf_list_inline ul li {
|
||||
margin-right: 8px !important;
|
||||
}
|
||||
|
||||
.gform_wrapper .gf_showme table.gfield_list td.gfield_list_cell {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.gform_wrapper .gf_showme table.gfield_list {
|
||||
display: -moz-inline-stack;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
.gform_wrapper .gf_showme table.gfield_list thead,
|
||||
.gform_wrapper .gf_showme table.gfield_list tbody,
|
||||
.gform_wrapper .gf_showme table.gfield_list tfoot {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gform_wrapper .gf_showme ul.gform_fields li .ginput_container_name span,
|
||||
.gform_wrapper .gf_showme ul.gform_fields li .ginput_container_address span {
|
||||
border: 1px dashed #060;
|
||||
padding: 16px;
|
||||
margin-top: 8px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.gform_wrapper .gf_showme ul.gform_fields li .ginput_container_address span.ginput_full {
|
||||
width: 100%;
|
||||
display: -moz-inline-stack;
|
||||
display: inline-block;
|
||||
}
|
||||
.gform_wrapper .gf_showme ul.gform_fields li .ginput_container_address span.ginput_left,
|
||||
.gform_wrapper .gf_showme ul.gform_fields li .ginput_container_address span.ginput_right {
|
||||
width: 49%;
|
||||
}
|
||||
|
||||
|
||||
.gform_wrapper .gf_showme ul.gform_fields li .ginput_container_name span:last-child,
|
||||
.gform_wrapper .gf_showme ul.gform_fields li .ginput_container_address span:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.gform_wrapper .gf_showme ul.gform_fields li.gfield.gf_left_half,
|
||||
.gform_wrapper .gf_showme ul.gform_fields li.gfield.gf_right_half {
|
||||
width: 49%;
|
||||
}
|
||||
|
||||
.gform_wrapper .gf_showme ul.gform_fields li.gfield.gf_left_half,
|
||||
.gform_wrapper .gf_showme ul.gform_fields li.gfield.gf_left_third,
|
||||
.gform_wrapper .gf_showme ul.gform_fields li.gfield.gf_middle_third {
|
||||
margin-right:16px;
|
||||
}
|
||||
.gform_wrapper .gf_showme *:not(label):after,
|
||||
.gform_wrapper .gf_showme *:not(option):after,
|
||||
.gform_wrapper .gf_showme label.gfield_label:after,
|
||||
.gform_wrapper .gf_showme ul.gform_fields li.gfield:after,
|
||||
.gform_wrapper .gf_showme ul.gfield_checkbox li label:after,
|
||||
.gform_wrapper .gf_showme .gform_footer input[type='submit'].gform_button.button:after {
|
||||
content: "\25b2 " attr(class);
|
||||
line-height: 2.5;
|
||||
display: block;
|
||||
width: auto;
|
||||
font-size: 11px;
|
||||
font-weight: 400;
|
||||
background-color: #FF9;
|
||||
border-left: 4px solid #FC6;
|
||||
margin-top: 8px;
|
||||
padding: 2px 4px;
|
||||
color: #963;
|
||||
text-indent: 4px;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.gform_wrapper .gf_showme .gform_footer input[type='submit'].gform_button.button {
|
||||
display: -moz-inline-stack;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.gform_wrapper .gf_showme li.gfield_html *:after,
|
||||
.gform_wrapper .gf_showme table thead:after,
|
||||
.gform_wrapper .gf_showme table tbody:after,
|
||||
.gform_wrapper .gf_showme table th:after,
|
||||
.gform_wrapper .gf_showme table tr:after,
|
||||
.gform_wrapper .gf_showme table tfoot:after,
|
||||
.gform_wrapper .gf_showme .ginput_full label:after,
|
||||
.gform_wrapper .gf_showme .ginput_left label:after,
|
||||
.gform_wrapper .gf_showme .ginput_right label:after,
|
||||
.gform_wrapper .gf_showme .gf_clear:after,
|
||||
.gform_wrapper .gf_showme .ginput_container_multiselect option:after,
|
||||
.gform_wrapper .gf_showme ul.gfield_checkbox li label:after,
|
||||
.gform_wrapper .gf_showme ul.gfield_radio li label:after,
|
||||
.gform_wrapper .gf_showme .ginput_container_name label:after,
|
||||
.gform_wrapper .gf_showme .ginput_container_select option:after,
|
||||
.gform_wrapper .gf_showme option:after {
|
||||
content: none !important;
|
||||
}
|
||||
|
||||
div#preview_form_container {
|
||||
margin: 24px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 640px) {
|
||||
span.toggle_helpers {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,400 @@
|
||||
/*
|
||||
----------------------------------------------------------------
|
||||
|
||||
print.css
|
||||
Gravity Forms Print Entry Styles
|
||||
http://www.gravityforms.com
|
||||
updated: April 23, 2013 10:38 AM
|
||||
|
||||
Gravity Forms is a Rocketgenius project
|
||||
copyright 2013 Rocketgenius Inc.
|
||||
http: //www.rocketgenius.com
|
||||
this may not be re-distributed without the
|
||||
express written permission of the author.
|
||||
|
||||
NOTE: DO NOT EDIT THIS FILE!
|
||||
THIS FILE IS REPLACED DURING AUTO UPGRADE
|
||||
AND ANY CHANGES MADE HERE WILL BE OVERWRITTEN.
|
||||
|
||||
------------------------------------------------
|
||||
*/
|
||||
|
||||
@media screen
|
||||
{
|
||||
body{
|
||||
color: #333
|
||||
}
|
||||
:focus {
|
||||
outline: 0
|
||||
}
|
||||
div#print_preview_hdr {
|
||||
margin: 0 0 16px 0;
|
||||
color: #18749d;
|
||||
font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif;
|
||||
padding: 12px 20px 12px 0;
|
||||
font-size: 16px;
|
||||
border-bottom: 2px solid #c5d7f1;
|
||||
background-color: #dfefff;
|
||||
display: block !important
|
||||
}
|
||||
div#print_preview_hdr div:first-child {
|
||||
/*background-image: url(../images/wp-logo.png);*/
|
||||
background-position: 16px center;
|
||||
background-repeat: no-repeat;
|
||||
padding-left: 36px
|
||||
}
|
||||
div#print_preview_hdr span.actionlinks {
|
||||
width: 200px;
|
||||
display: block;
|
||||
float: right;
|
||||
text-align: right;
|
||||
margin-top: 5px;
|
||||
font-family: "lucida sans", "lucida grande", lucida , sans-serif;
|
||||
font-size: 12px;
|
||||
color: #ccc
|
||||
}
|
||||
div#print_preview_hdr a {
|
||||
color: #21759b;
|
||||
text-decoration: none;
|
||||
display: inline;
|
||||
font-weight: normal;
|
||||
letter-spacing: normal
|
||||
}
|
||||
div#print_preview_hdr a:hover {
|
||||
color: #21759b;
|
||||
text-decoration: underline
|
||||
}
|
||||
div#view-container {
|
||||
margin: 0 20px 20px 20px
|
||||
}
|
||||
div.print-hr {
|
||||
border-top: 1px dotted #ccc;
|
||||
margin: 15px 0 30px
|
||||
}
|
||||
}
|
||||
|
||||
@media print
|
||||
{
|
||||
body{
|
||||
color:#000
|
||||
}
|
||||
div#print-preview-header,
|
||||
div#print-preview-header span.actionlinks,
|
||||
div#print-preview-header span.actionlinks a {
|
||||
display: none !important
|
||||
}
|
||||
div#print-preview-header {
|
||||
margin-left:-9000px
|
||||
}
|
||||
div.print-page-break {
|
||||
page-break-after: always;
|
||||
border-top: 0;
|
||||
margin: 0
|
||||
}
|
||||
}
|
||||
|
||||
@media screen,print
|
||||
{
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
}
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
font-size: 12px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
height: 100%
|
||||
}
|
||||
ul {
|
||||
margin: 10px 0;
|
||||
padding: 0
|
||||
}
|
||||
img {
|
||||
border: 0
|
||||
}
|
||||
.entry-details-table,
|
||||
.widefat {
|
||||
background-color: #fff;
|
||||
border-color: #dfdfdf
|
||||
}
|
||||
.entry-details-table,
|
||||
.widefat {
|
||||
-moz-border-radius: 4px;
|
||||
-khtml-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
border-spacing: 0;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
clear: both;
|
||||
margin: 0;
|
||||
width: 100%
|
||||
}
|
||||
.entry-details-table,
|
||||
table.fixed {
|
||||
table-layout: fixed
|
||||
}
|
||||
table.entry-detail-view, table.entry-details-table, table.entry-detail-notes {
|
||||
margin: 0 0 16px 0
|
||||
}
|
||||
table.entry-detail-view th, table.entry-detail-notes th, table.entry-details-table th {
|
||||
font-size: 14px;
|
||||
text-shadow: 0 1px 0 #FFF;
|
||||
text-align: left;
|
||||
padding: 7px;
|
||||
background-color: #E3E3E3
|
||||
}
|
||||
table.entry-details-table td.lastrow,
|
||||
table.entry-detail-view td.lastrow,
|
||||
table.entry-detail-notes td.lastrow {
|
||||
border-bottom: none !important
|
||||
}
|
||||
td.entry-view-section-break {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
background-color: #EEE;
|
||||
border-bottom: 1px solid #DFDFDF;
|
||||
padding: 7px 7px
|
||||
}
|
||||
td.entry-view-field-name {
|
||||
font-weight: bold;
|
||||
background-color: #EAF2FA;
|
||||
border-bottom: 1px solid #FFF;
|
||||
line-height: 150%;
|
||||
padding: 7px 7px
|
||||
}
|
||||
td.entry-view-field-value {
|
||||
border-bottom: 1px solid #DFDFDF;
|
||||
padding: 7px 7px 7px 40px;
|
||||
line-height: 150%
|
||||
}
|
||||
td.entry-view-field-value p {
|
||||
text-align: left;
|
||||
line-height: 150%
|
||||
}
|
||||
td.entry-view-field-value ul.bulleted {
|
||||
margin-left:12px
|
||||
}
|
||||
td.entry-view-field-value ul.bulleted li {
|
||||
list-style-type:disc
|
||||
}
|
||||
td.entry-detail-note {
|
||||
border-bottom: 1px solid #DFDFDF;
|
||||
padding: 7px 7px;
|
||||
line-height: 150%
|
||||
}
|
||||
.entry-notes-print-header {
|
||||
display: block;
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
text-shadow: 0 1px 0 #FFF;
|
||||
text-align: left;
|
||||
padding: 7px;
|
||||
background-color: #E3E3E3;
|
||||
}
|
||||
.entry-notes {
|
||||
border-radius: 4px;
|
||||
border-spacing: 0;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
clear: both;
|
||||
margin: 0 0 16px 0;
|
||||
background-color: #fff;
|
||||
border-color: #dfdfdf;
|
||||
}
|
||||
.note {
|
||||
padding: 7px;
|
||||
border-bottom: 1px solid #DFDFDF;
|
||||
}
|
||||
.entry-notes .note-details {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.entry-notes .note-details .author {
|
||||
flex: 1 1 auto;
|
||||
display: flex;
|
||||
font-weight: normal;
|
||||
}
|
||||
.entry-notes .note-details .author .avatar {
|
||||
flex: 0 0 auto;
|
||||
margin-right: 1rem;
|
||||
border-radius: 50%;
|
||||
width: 2.25rem;
|
||||
height: auto;
|
||||
}
|
||||
.entry-notes .note-details .author .text {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
.entry-notes .note-details .author .text h6 {
|
||||
font-size: 14px;
|
||||
line-height: 14px;
|
||||
color: #242748;
|
||||
margin: 0 0 0.5rem 0;
|
||||
}
|
||||
.entry-notes .note-details .author .text time {
|
||||
font-size: 13px;
|
||||
line-height: 13px;
|
||||
color: #A7A9C1;
|
||||
}
|
||||
.entry-notes .note-content {
|
||||
margin-top: 1.3125rem;
|
||||
margin-bottom: 1.625rem;
|
||||
font-size: 13px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.entry-notes .note-content.alert {
|
||||
margin-top: 1.3125rem;
|
||||
margin-bottom: 1.625rem;
|
||||
}
|
||||
.entry-notes .note-content:not(.alert) {
|
||||
color: #242748;
|
||||
padding: 19px 16px 22px 16px;
|
||||
}
|
||||
div.note-avatar {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
float: left;
|
||||
margin-right: 6px
|
||||
}
|
||||
h6.note-author {
|
||||
font-weight: bold;
|
||||
font-size: 13px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
line-height: 100%
|
||||
}
|
||||
div.detail-note-content {
|
||||
margin: 10px 0 10px 54px;
|
||||
line-height: 150%
|
||||
}
|
||||
div.detail-note-content p {
|
||||
line-height: 150%
|
||||
}
|
||||
|
||||
/* transaction table styles ------------------------------------------------------------------------- */
|
||||
|
||||
table.entry-products {
|
||||
border: 1px solid #DFDFDF;
|
||||
border-right: none;
|
||||
border-bottom: none;
|
||||
margin: 10px 0
|
||||
}
|
||||
table.entry-products th[scope=col] {
|
||||
background-color: #F4F4F4;
|
||||
border-right: 1px solid #DFDFDF !important;
|
||||
border-bottom: 1px solid #DFDFDF
|
||||
}
|
||||
table.entry-products col.entry-products-col2 {
|
||||
width: 50px
|
||||
}
|
||||
table.entry-products col.entry-products-col3 {
|
||||
width: 155px
|
||||
}
|
||||
table.entry-products col.entry-products-col4 {
|
||||
width: 155px
|
||||
}
|
||||
table.entry-products td {
|
||||
border-right: 1px solid #DFDFDF !important;
|
||||
border-bottom: 1px solid #DFDFDF;
|
||||
padding: 7px 7px 8px 7px;
|
||||
vertical-align: top
|
||||
}
|
||||
table.entry-products td.textcenter,
|
||||
table.entry-products th.textcenter {
|
||||
text-align: center
|
||||
}
|
||||
table.entry-products td.textright,
|
||||
table.entry-products th.textright {
|
||||
text-align: right
|
||||
}
|
||||
table.entry-products td.grandtotal,
|
||||
table.entry-products td.grandtotal_amount,
|
||||
table.entry-products td.shipping,
|
||||
table.entry-products td.shipping_amount {
|
||||
font-weight: bold;
|
||||
font-size: 13px;
|
||||
padding-top: 7px;
|
||||
padding-bottom: 8px
|
||||
}
|
||||
table.entry-products td.emptycell {
|
||||
background-color: #F4F4F4
|
||||
}
|
||||
table.entry-products td div.product_name {
|
||||
font-weight: bold;
|
||||
color: #BF461E;
|
||||
font-size: 13px;
|
||||
margin-bottom: 5px
|
||||
}
|
||||
table.entry-products td ul.product_options {}
|
||||
table.entry-products td ul.product_options li {
|
||||
background-image: url(../images/prodlist.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: left top;
|
||||
overflow: visible;
|
||||
margin: 0 0 0 2px !important;
|
||||
padding: 4px 0 4px 16px;
|
||||
list-style-type: none
|
||||
}
|
||||
table.entry-products td ul.product_options li.lastitem {
|
||||
background-image: url(../images/prodlist_last.png)
|
||||
}
|
||||
|
||||
/* list table styles ------------------------------------------------------------------------- */
|
||||
|
||||
table.gfield_list td.gfield_list_cell {
|
||||
padding: 8px 0
|
||||
}
|
||||
table.gfield_list td.gfield_list_cell + td.gfield_list_cell {
|
||||
padding: 8px 10px
|
||||
}
|
||||
table.gfield_list thead tr th {
|
||||
padding: 8px 0;
|
||||
font-weight: bold
|
||||
}
|
||||
table.gfield_list thead tr th + th {
|
||||
padding: 8px 10px
|
||||
}
|
||||
table.widefat tbody tr td.entry-view-field-value table.gfield_list {
|
||||
border-top: 1px solid #DFDFDF !important;
|
||||
border-left: 1px solid #DFDFDF !important;
|
||||
border-spacing: 0;
|
||||
padding: 0;
|
||||
margin: 2px 0 6px;
|
||||
width: 100%
|
||||
}
|
||||
table.widefat tbody tr td.entry-view-field-value table.gfield_list td {
|
||||
border-right: 1px solid #DFDFDF !important;
|
||||
font-family: sans-serif !important
|
||||
}
|
||||
table.widefat tbody tr td.entry-view-field-value table.gfield_list thead tr th {
|
||||
background-image: none !important;
|
||||
border-right: 1px solid #DFDFDF !important;
|
||||
padding: 6px 10px;
|
||||
font-family: sans-serif !important
|
||||
}
|
||||
table.widefat tbody tr td.entry-view-field-value ul li {
|
||||
color: #555 !important
|
||||
}
|
||||
table.widefat tbody tr td.entry-view-field-value table.gfield_list td,
|
||||
table.widefat tbody tr td.entry-view-field-value table.gfield_list th {
|
||||
border-bottom: 1px solid #DFDFDF;
|
||||
padding: 6px 10px
|
||||
}
|
||||
table.widefat tbody tr td.entry-view-field-value table.gfield_list td {
|
||||
border-top: 1px solid #FFF
|
||||
}
|
||||
table.widefat tbody tr td.entry-view-field-value table.gfield_list th {
|
||||
color: #333;
|
||||
background-color: #F1F1F1;
|
||||
font-size: 12px
|
||||
}
|
||||
table.widefat tbody tr td.entry-view-field-value table.gfield_list td {
|
||||
font-size: 12px;
|
||||
padding: 4px 7px 3px 10px;
|
||||
vertical-align: top;
|
||||
color: #555;
|
||||
word-wrap: break-word
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,3 @@
|
||||
.wpview-type-gravityform {
|
||||
min-height: 100px!important;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.wpview-type-gravityform{min-height:100px!important}
|
||||
@@ -0,0 +1,42 @@
|
||||
.gf-edit-shortcode-form {
|
||||
padding: 5px 15px; }
|
||||
.gf-edit-shortcode-form input, .gf-edit-shortcode-form textarea {
|
||||
border: 1px solid #ddd;
|
||||
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
|
||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
|
||||
background-color: #fff;
|
||||
color: #333;
|
||||
outline: none;
|
||||
-webkit-transition: 0.05s border-color ease-in-out;
|
||||
transition: 0.05s border-color ease-in-out;
|
||||
max-width: 100%; }
|
||||
.gf-edit-shortcode-form textarea {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
min-height: 100px; }
|
||||
.gf-edit-shortcode-form .gf-edit-shortcode-form-fields > div {
|
||||
margin-bottom: 10px; }
|
||||
.gf-edit-shortcode-form .field-block label {
|
||||
display: block;
|
||||
margin-bottom: 5px; }
|
||||
.gf-edit-shortcode-form .field-inline {
|
||||
padding-top: 10px; }
|
||||
.gf-edit-shortcode-form .field-inline label {
|
||||
display: inline-block; }
|
||||
|
||||
|
||||
.gf-edit-shortcode-form-standard-attrs div{
|
||||
display: inline;
|
||||
margin-right:15px;
|
||||
}
|
||||
#gf-edit-shortcode-form-advanced-attrs div{
|
||||
margin-bottom:5px;
|
||||
}
|
||||
|
||||
#gf-edit-shortcode-form-advanced-attrs{
|
||||
margin-left:15px;
|
||||
}
|
||||
|
||||
#TB_ajaxContent {
|
||||
min-height:92%!important;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.gf-edit-shortcode-form{padding:5px 15px}.gf-edit-shortcode-form input,.gf-edit-shortcode-form textarea{border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#333;outline:0;-webkit-transition:50ms border-color ease-in-out;transition:50ms border-color ease-in-out;max-width:100%}.gf-edit-shortcode-form textarea{width:100%;max-width:100%;min-height:100px}.gf-edit-shortcode-form .gf-edit-shortcode-form-fields>div{margin-bottom:10px}.gf-edit-shortcode-form .field-block label{display:block;margin-bottom:5px}.gf-edit-shortcode-form .field-inline{padding-top:10px}.gf-edit-shortcode-form .field-inline label{display:inline-block}.gf-edit-shortcode-form-standard-attrs div{display:inline;margin-right:15px}#gf-edit-shortcode-form-advanced-attrs div{margin-bottom:5px}#gf-edit-shortcode-form-advanced-attrs{margin-left:15px}#TB_ajaxContent{min-height:92%!important}
|
||||
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
----------------------------------------------------------------
|
||||
|
||||
tooltip.css
|
||||
Gravity Forms Admin Tooltip Styles
|
||||
http://www.gravityforms.com
|
||||
updated: November 6, 2013 12:42 PM
|
||||
|
||||
Gravity Forms is a Rocketgenius project
|
||||
copyright 2013 Rocketgenius Inc.
|
||||
http: //www.rocketgenius.com
|
||||
this may not be re-distributed without the
|
||||
express written permission of the author.
|
||||
|
||||
NOTE: DO NOT EDIT THIS FILE!
|
||||
THIS FILE IS REPLACED DURING AUTO UPGRADE
|
||||
AND ANY CHANGES MADE HERE WILL BE OVERWRITTEN.
|
||||
|
||||
----------------------------------------------------------------
|
||||
*/
|
||||
|
||||
.gf_tooltip {
|
||||
|
||||
background: #ECEDF8;
|
||||
border: 1px solid transparent;;
|
||||
border-radius: 50%;
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
height: 1rem;
|
||||
line-height: 1rem;
|
||||
margin-left: .5rem;
|
||||
text-align: center;
|
||||
width: 1rem;
|
||||
|
||||
}
|
||||
|
||||
.gf_tooltip svg {
|
||||
|
||||
margin-top: -4px;
|
||||
vertical-align: middle;
|
||||
|
||||
}
|
||||
|
||||
.gf_tooltip:hover {
|
||||
|
||||
border-color: #3E7DA6;
|
||||
|
||||
}
|
||||
|
||||
.ui-tooltip.ui-widget-content {
|
||||
|
||||
background: rgba( 28, 31, 63, 0.9 );
|
||||
box-shadow: 0 4px 10px rgba( 18, 25, 97, 0.0779552 );
|
||||
border-radius: 5px;
|
||||
color: #FFF;
|
||||
font: 400 .8125rem 'Open Sans', sans-serif;
|
||||
line-height: 1.538461538em;
|
||||
max-width: 13.125rem;
|
||||
mix-blend-mode: normal;
|
||||
padding: .625rem 1rem;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
z-index: 1000;
|
||||
|
||||
}
|
||||
|
||||
.ui-tooltip.ui-widget-content a {
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.ui-tooltip.ui-widget-content.arrow-bottom:after {
|
||||
|
||||
border-left: 6px solid transparent;
|
||||
border-right: 6px solid transparent;
|
||||
border-top: 6px solid rgba( 28, 31, 63, 0.9 );
|
||||
bottom: -6px;
|
||||
box-shadow: 0 4px 10px rgba( 18, 25, 97, 0.0779552 );
|
||||
content: '';
|
||||
position: absolute;
|
||||
margin-left: -3px;
|
||||
|
||||
}
|
||||
|
||||
.ui-tooltip.ui-widget-content.arrow-left:after {
|
||||
|
||||
border-bottom: 6px solid transparent;
|
||||
border-right: 6px solid rgba( 28, 31, 63, 0.9 );
|
||||
border-top: 6px solid transparent;
|
||||
box-shadow: 0 4px 10px rgba( 18, 25, 97, 0.0779552 );
|
||||
content: '';
|
||||
left: -6px;
|
||||
margin-top: -6px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
|
||||
}
|
||||
|
||||
.ui-tooltip.ui-widget-content h6 {
|
||||
|
||||
font: inherit;
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.gf_tooltip{background:#ecedf8;border:1px solid transparent;border-radius:50%;box-sizing:border-box;display:inline-block;height:1rem;line-height:1rem;margin-left:.5rem;text-align:center;width:1rem}.gf_tooltip svg{margin-top:-4px;vertical-align:middle}.gf_tooltip:hover{border-color:#3e7da6}.ui-tooltip.ui-widget-content{background:rgba(28,31,63,.9);box-shadow:0 4px 10px rgba(18,25,97,.0779552);border-radius:5px;color:#fff;font:400 .8125rem 'Open Sans',sans-serif;line-height:1.538461538em;max-width:13.125rem;mix-blend-mode:normal;padding:.625rem 1rem;position:absolute;text-align:center;z-index:1000}.ui-tooltip.ui-widget-content a{color:#fff}.ui-tooltip.ui-widget-content.arrow-bottom:after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid rgba(28,31,63,.9);bottom:-6px;box-shadow:0 4px 10px rgba(18,25,97,.0779552);content:'';position:absolute;margin-left:-3px}.ui-tooltip.ui-widget-content.arrow-left:after{border-bottom:6px solid transparent;border-right:6px solid rgba(28,31,63,.9);border-top:6px solid transparent;box-shadow:0 4px 10px rgba(18,25,97,.0779552);content:'';left:-6px;margin-top:-6px;position:absolute;top:50%}.ui-tooltip.ui-widget-content h6{font:inherit;font-weight:600;margin:0}
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
----------------------------------------------------------------
|
||||
|
||||
ui.tabs.css
|
||||
Gravity Forms - admin UI tab styles
|
||||
http://www.gravityforms.com
|
||||
updated: January 3, 2012 11:54 AM
|
||||
|
||||
Gravity Forms is a Rocketgenius project
|
||||
copyright 2012 Rocketgenius Inc.
|
||||
http: //www.rocketgenius.com
|
||||
this may not be re-distributed without the
|
||||
express written permission of the author.
|
||||
|
||||
NOTE: DO NOT EDIT THIS FILE!
|
||||
THIS FILE IS REPLACED DURING AUTO UPGRADE
|
||||
AND ANY CHANGES MADE HERE WILL BE OVERWRITTEN.
|
||||
|
||||
----------------------------------------------------------------
|
||||
*/
|
||||
|
||||
.ui-tabs {
|
||||
padding: 0.2em;
|
||||
zoom: 1
|
||||
}
|
||||
.ui-tabs .ui-tabs-nav {
|
||||
list-style: none;
|
||||
position: relative;
|
||||
padding: 0.2em 0.2em 0
|
||||
}
|
||||
.ui-tabs .ui-tabs-nav li {
|
||||
position: relative;
|
||||
float: left;
|
||||
border-bottom-width: 0 !important;
|
||||
margin: 0 .2em -1px 0;
|
||||
padding: 0
|
||||
}
|
||||
.ui-tabs .ui-tabs-nav li a {
|
||||
float: left;
|
||||
text-decoration: none;
|
||||
padding: 0.5em 1em
|
||||
}
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-selected {
|
||||
padding-bottom: 1px;
|
||||
border-bottom-width: 0
|
||||
}
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a,
|
||||
.ui-tabs .ui-tabs-nav li.ui-state-disabled a,
|
||||
.ui-tabs .ui-tabs-nav li.ui-state-processing a {
|
||||
cursor: text
|
||||
}
|
||||
.ui-tabs .ui-tabs-nav li a,
|
||||
.ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a {
|
||||
cursor: pointer
|
||||
}
|
||||
.ui-tabs .ui-tabs-panel {
|
||||
padding: 1em 1.4em;
|
||||
display: block;
|
||||
border-width: 0;
|
||||
background: none
|
||||
}
|
||||
.ui-tabs .ui-tabs-hide {
|
||||
display: none !important
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.ui-tabs{padding:.2em;zoom:1}.ui-tabs .ui-tabs-nav{list-style:none;position:relative;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{position:relative;float:left;border-bottom-width:0!important;margin:0 .2em -1px 0;padding:0}.ui-tabs .ui-tabs-nav li a{float:left;text-decoration:none;padding:.5em 1em}.ui-tabs .ui-tabs-nav li.ui-tabs-selected{padding-bottom:1px;border-bottom-width:0}.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-state-processing a,.ui-tabs .ui-tabs-nav li.ui-tabs-selected a{cursor:text}.ui-tabs .ui-tabs-nav li a,.ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a{cursor:pointer}.ui-tabs .ui-tabs-panel{padding:1em 1.4em;display:block;border-width:0;background:0 0}.ui-tabs .ui-tabs-hide{display:none!important}
|
||||
@@ -0,0 +1,472 @@
|
||||
<?php
|
||||
|
||||
if ( ! class_exists( 'GFForms' ) ) {
|
||||
die();
|
||||
}
|
||||
|
||||
if ( ! class_exists( 'RGCurrency' ) ) {
|
||||
|
||||
class RGCurrency {
|
||||
private $currency;
|
||||
|
||||
public function __construct( $currency ) {
|
||||
if ( is_array( $currency ) ) {
|
||||
$this->currency = $currency;
|
||||
} else {
|
||||
$this->currency = self::get_currency( $currency );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes currency formatting from a value.
|
||||
*
|
||||
* @since unknown
|
||||
*
|
||||
* @param string|float|int $text The value to be cleaned of currency formatting.
|
||||
*
|
||||
* @return false|float|int
|
||||
*/
|
||||
public function to_number( $text ) {
|
||||
$text = strval( $text );
|
||||
|
||||
if ( is_numeric( $text ) ) {
|
||||
return $this->convert_number( $text );
|
||||
}
|
||||
|
||||
//Making sure symbol is in unicode format (i.e. ᅜ)
|
||||
$text = preg_replace( '/&.*?;/', '', $text );
|
||||
|
||||
//Removing symbol from text
|
||||
$text = str_replace( $this->currency['symbol_right'], '', $text );
|
||||
$text = str_replace( $this->currency['symbol_left'], '', $text );
|
||||
if ( ! empty( $this->currency['symbol_old'] ) ) {
|
||||
$text = str_replace( $this->currency['symbol_old'], '', $text );
|
||||
}
|
||||
|
||||
//Removing all non-numeric characters
|
||||
$array = str_split( $text );
|
||||
$is_negative = false;
|
||||
$clean_number = '';
|
||||
foreach ( $array as $char ) {
|
||||
|
||||
if ( ( $char >= '0' && $char <= '9' ) || $char == $this->currency['decimal_separator'] ) {
|
||||
$clean_number .= $char;
|
||||
} elseif ( $char == '-' ) {
|
||||
$is_negative = true;
|
||||
}
|
||||
}
|
||||
|
||||
$decimal_separator = $this->currency && $this->currency['decimal_separator'] ? $this->currency['decimal_separator'] : '.';
|
||||
|
||||
//Removing thousand separators but keeping decimal point
|
||||
$array = str_split( $clean_number );
|
||||
$float_number = '';
|
||||
for ( $i = 0, $count = sizeof( $array ); $i < $count; $i ++ ) {
|
||||
$char = $array[ $i ];
|
||||
|
||||
if ( $char >= '0' && $char <= '9' ) {
|
||||
$float_number .= $char;
|
||||
} elseif ( $char == $decimal_separator ) {
|
||||
$float_number .= '.';
|
||||
}
|
||||
}
|
||||
|
||||
if ( $is_negative ) {
|
||||
$float_number = '-' . $float_number;
|
||||
}
|
||||
|
||||
if ( ! is_numeric( $float_number ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return $this->convert_number( $float_number );
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the given value as an integer or float based on the decimal configuration of the current currency.
|
||||
*
|
||||
* @since 2.6.1
|
||||
*
|
||||
* @param string $value The value to be converted.
|
||||
*
|
||||
* @return float|int
|
||||
*/
|
||||
private function convert_number( $value ) {
|
||||
return $this->is_zero_decimal() ? intval( $value ) : floatval( $value );
|
||||
}
|
||||
|
||||
public function to_money( $number, $do_encode = false ) {
|
||||
|
||||
if ( ! is_numeric( $number ) ) {
|
||||
$number = $this->to_number( $number );
|
||||
}
|
||||
|
||||
if ( $number === false ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$negative = '';
|
||||
if ( strpos( strval( $number ), '-' ) !== false ) {
|
||||
$negative = '-';
|
||||
$number = floatval( substr( $number, 1 ) );
|
||||
}
|
||||
|
||||
$money = number_format( $number, $this->currency['decimals'], $this->currency['decimal_separator'], $this->currency['thousand_separator'] );
|
||||
|
||||
if ( $money == '0.00' ) {
|
||||
$negative = '';
|
||||
}
|
||||
|
||||
$symbol_left = ! empty( $this->currency['symbol_left'] ) ? $this->currency['symbol_left'] . $this->currency['symbol_padding'] : '';
|
||||
$symbol_right = ! empty( $this->currency['symbol_right'] ) ? $this->currency['symbol_padding'] . $this->currency['symbol_right'] : '';
|
||||
|
||||
if ( $do_encode ) {
|
||||
$symbol_left = html_entity_decode( $symbol_left );
|
||||
$symbol_right = html_entity_decode( $symbol_right );
|
||||
}
|
||||
|
||||
return $negative . $symbol_left . $money . $symbol_right;
|
||||
}
|
||||
|
||||
public static function get_currency( $code ) {
|
||||
$currencies = self::get_currencies();
|
||||
|
||||
return $currencies[ $code ];
|
||||
}
|
||||
|
||||
public function is_zero_decimal() {
|
||||
|
||||
return empty( $this->currency['decimals'] );
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an array that contains all the supported currencies and their configurations.
|
||||
*
|
||||
* @since unknown.
|
||||
* @since 2.5.13 add currency code to the configuration array.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function get_currencies() {
|
||||
$currencies = array(
|
||||
'USD' => array(
|
||||
'name' => esc_html__( 'U.S. Dollar', 'gravityforms' ),
|
||||
'symbol_left' => '$',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => '',
|
||||
'thousand_separator' => ',',
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'code' => 'USD',
|
||||
),
|
||||
'GBP' => array(
|
||||
'name' => esc_html__( 'Pound Sterling', 'gravityforms' ),
|
||||
'symbol_left' => '£',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => ',',
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'code' => 'GBP',
|
||||
),
|
||||
'EUR' => array(
|
||||
'name' => esc_html__( 'Euro', 'gravityforms' ),
|
||||
'symbol_left' => '',
|
||||
'symbol_right' => '€',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => '.',
|
||||
'decimal_separator' => ',',
|
||||
'decimals' => 2,
|
||||
'code' => 'EUR',
|
||||
),
|
||||
'AUD' => array(
|
||||
'name' => esc_html__( 'Australian Dollar', 'gravityforms' ),
|
||||
'symbol_left' => '$',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => ',',
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'code' => 'AUD',
|
||||
),
|
||||
'BRL' => array(
|
||||
'name' => esc_html__( 'Brazilian Real', 'gravityforms' ),
|
||||
'symbol_left' => 'R$',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => '.',
|
||||
'decimal_separator' => ',',
|
||||
'decimals' => 2,
|
||||
'code' => 'BRL',
|
||||
),
|
||||
'CAD' => array(
|
||||
'name' => esc_html__( 'Canadian Dollar', 'gravityforms' ),
|
||||
'symbol_left' => '$',
|
||||
'symbol_right' => 'CAD',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => ',',
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'code' => 'CAD',
|
||||
),
|
||||
'CZK' => array(
|
||||
'name' => esc_html__( 'Czech Koruna', 'gravityforms' ),
|
||||
'symbol_left' => '',
|
||||
'symbol_right' => 'Kč',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => ' ',
|
||||
'decimal_separator' => ',',
|
||||
'decimals' => 2,
|
||||
'code' => 'CZK',
|
||||
),
|
||||
'DKK' => array(
|
||||
'name' => esc_html__( 'Danish Krone', 'gravityforms' ),
|
||||
'symbol_left' => '',
|
||||
'symbol_right' => 'kr.',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => '.',
|
||||
'decimal_separator' => ',',
|
||||
'decimals' => 2,
|
||||
'code' => 'DKK',
|
||||
),
|
||||
'HKD' => array(
|
||||
'name' => esc_html__( 'Hong Kong Dollar', 'gravityforms' ),
|
||||
'symbol_left' => 'HK$',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => '',
|
||||
'thousand_separator' => ',',
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'code' => 'HKD',
|
||||
),
|
||||
'HUF' => array(
|
||||
'name' => esc_html__( 'Hungarian Forint', 'gravityforms' ),
|
||||
'symbol_left' => '',
|
||||
'symbol_right' => 'Ft',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => '.',
|
||||
'decimal_separator' => ',',
|
||||
'decimals' => 2,
|
||||
'code' => 'HUF',
|
||||
),
|
||||
'ILS' => array(
|
||||
'name' => esc_html__( 'Israeli New Sheqel', 'gravityforms' ),
|
||||
'symbol_left' => '₪',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => ',',
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'code' => 'ILS',
|
||||
),
|
||||
'JPY' => array(
|
||||
'name' => esc_html__( 'Japanese Yen', 'gravityforms' ),
|
||||
'symbol_left' => '¥',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => ',',
|
||||
'decimal_separator' => '',
|
||||
'decimals' => 0,
|
||||
'code' => 'JPY',
|
||||
),
|
||||
'MYR' => array(
|
||||
'name' => esc_html__( 'Malaysian Ringgit', 'gravityforms' ),
|
||||
'symbol_left' => 'RM',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => ',',
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'code' => 'MYR',
|
||||
),
|
||||
'MXN' => array(
|
||||
'name' => esc_html__( 'Mexican Peso', 'gravityforms' ),
|
||||
'symbol_left' => '$',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => ',',
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'code' => 'MXN',
|
||||
),
|
||||
'NOK' => array(
|
||||
'name' => esc_html__( 'Norwegian Krone', 'gravityforms' ),
|
||||
'symbol_left' => 'Kr',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => '.',
|
||||
'decimal_separator' => ',',
|
||||
'decimals' => 2,
|
||||
'code' => 'NOK',
|
||||
),
|
||||
'NZD' => array(
|
||||
'name' => esc_html__( 'New Zealand Dollar', 'gravityforms' ),
|
||||
'symbol_left' => '$',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => ',',
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'code' => 'NZD',
|
||||
),
|
||||
'PHP' => array(
|
||||
'name' => esc_html__( 'Philippine Peso', 'gravityforms' ),
|
||||
'symbol_left' => 'Php',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => ',',
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'code' => 'PHP', // bun not intended.
|
||||
),
|
||||
'PLN' => array(
|
||||
'name' => esc_html__( 'Polish Zloty', 'gravityforms' ),
|
||||
'symbol_left' => 'zł',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => '.',
|
||||
'decimal_separator' => ',',
|
||||
'decimals' => 2,
|
||||
'code' => 'PLN',
|
||||
),
|
||||
'RUB' => array(
|
||||
'name' => esc_html__( 'Russian Ruble', 'gravityforms' ),
|
||||
'symbol_left' => '',
|
||||
'symbol_right' => 'pyб',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => ' ',
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'code' => 'RUB',
|
||||
),
|
||||
'SGD' => array(
|
||||
'name' => esc_html__( 'Singapore Dollar', 'gravityforms' ),
|
||||
'symbol_left' => '$',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => ',',
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'code' => 'SGD',
|
||||
),
|
||||
'ZAR' => array(
|
||||
'name' => esc_html__( 'South African Rand', 'gravityforms' ),
|
||||
'symbol_left' => 'R',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => '',
|
||||
'thousand_separator' => ',',
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'code' => 'ZAR',
|
||||
),
|
||||
'SEK' => array(
|
||||
'name' => esc_html__( 'Swedish Krona', 'gravityforms' ),
|
||||
'symbol_left' => '',
|
||||
'symbol_right' => 'Kr',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => ' ',
|
||||
'decimal_separator' => ',',
|
||||
'decimals' => 2,
|
||||
'code' => 'SEK',
|
||||
),
|
||||
'CHF' => array(
|
||||
'name' => esc_html__( 'Swiss Franc', 'gravityforms' ),
|
||||
'symbol_left' => 'CHF',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => "'",
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'symbol_old' => 'Fr.',
|
||||
'code' => 'CHF',
|
||||
),
|
||||
'TWD' => array(
|
||||
'name' => esc_html__( 'Taiwan New Dollar', 'gravityforms' ),
|
||||
'symbol_left' => '$',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => ',',
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'code' => 'TWD',
|
||||
),
|
||||
'THB' => array(
|
||||
'name' => esc_html__( 'Thai Baht', 'gravityforms' ),
|
||||
'symbol_left' => '฿',
|
||||
'symbol_right' => '',
|
||||
'symbol_padding' => ' ',
|
||||
'thousand_separator' => ',',
|
||||
'decimal_separator' => '.',
|
||||
'decimals' => 2,
|
||||
'code' => 'THB',
|
||||
),
|
||||
);
|
||||
|
||||
return apply_filters( 'gform_currencies', $currencies );
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a sorted data object with filterable common currencies listed first, then all currencies either listed in
|
||||
* alphabetical or original order as found in self::get_currencies() above. Designed to drive a select
|
||||
* in a format that select2 and our react select component understands.
|
||||
*
|
||||
* @since 2.7
|
||||
*
|
||||
* @param $placeholder
|
||||
* @param $sort
|
||||
*
|
||||
* @return array|array[]
|
||||
*/
|
||||
|
||||
public static function get_grouped_currency_options( $placeholder = true, $sort = true ) {
|
||||
/**
|
||||
* Filter the common currencies shown in currency selects that use this data. You'll
|
||||
* want to make sure the custom data that maps to the key is included in the gform_currencies
|
||||
* filter.
|
||||
*
|
||||
* @since 2.7
|
||||
*
|
||||
* @param array The currency keys to include.
|
||||
*/
|
||||
$common_currency_keys = apply_filters( 'gform_common_currencies', array(
|
||||
'USD',
|
||||
'GBP',
|
||||
'EUR',
|
||||
) );
|
||||
|
||||
$common_options = array_intersect_key( self::get_currencies(), array_flip( $common_currency_keys ) );
|
||||
$all_options = self::get_currencies();
|
||||
|
||||
if ( $sort ) {
|
||||
uasort( $all_options, function( $a, $b ) {
|
||||
return strcmp( strtolower( $a[ 'name' ] ), strtolower( $b[ 'name' ] ) );
|
||||
} );
|
||||
}
|
||||
|
||||
$options = $placeholder ? array(
|
||||
array(
|
||||
'label' => esc_html__( 'Select a Currency', 'gravityforms' ),
|
||||
'value' => '',
|
||||
)
|
||||
) : array();
|
||||
|
||||
foreach( $common_options as $item ) {
|
||||
$options[] = array(
|
||||
'label' => esc_html__( $item['name'] ),
|
||||
'value' => esc_html__( $item['code'] ),
|
||||
);
|
||||
}
|
||||
|
||||
foreach( $all_options as $item ) {
|
||||
$options[] = array(
|
||||
'label' => esc_html__( $item['name'] ),
|
||||
'value' => esc_html__( $item['code'] ),
|
||||
);
|
||||
}
|
||||
|
||||
return $options;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>Generated by Fontastic.me</metadata>
|
||||
<defs>
|
||||
<font id="gravityforms" horiz-adv-x="512">
|
||||
<font-face font-family="gravityforms" units-per-em="512" ascent="480" descent="-32"/>
|
||||
<missing-glyph horiz-adv-x="512" />
|
||||
|
||||
<glyph glyph-name="dashicons-gravityforms" unicode="a" d="M451 411l-158 92c-20 12-54 12-74 0l-158-92c-21-11-37-40-37-63l0-184c0-23 16-52 37-63l158-92c20-12 54-12 74 0l158 92c21 11 37 40 37 63l0 184c0 23-16 52-37 63z m-62-123l-179 0c-10 0-17-3-23-9-13-14-17-40-18-55l173 0 0 24 45 0 0-70-262 0-1 21c0 3-6 74 30 112 15 15 34 23 57 23l178 0 0-46z"/>
|
||||
</font></defs></svg>
|
||||
|
After Width: | Height: | Size: 770 B |
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user