@tsed/tailwind-formio 3.0.0-alpha.10 → 3.0.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js.map +1 -1
- package/dist/tailwind/colors.js.map +1 -1
- package/dist/tailwind/preset.js.map +1 -1
- package/dist/templates/index.js.map +1 -1
- package/dist/templates/tailwind/address/index.js.map +1 -1
- package/dist/templates/tailwind/alert/index.js.map +1 -1
- package/dist/templates/tailwind/builder/index.js.map +1 -1
- package/dist/templates/tailwind/builderComponent/index.js.map +1 -1
- package/dist/templates/tailwind/builderComponents/index.js.map +1 -1
- package/dist/templates/tailwind/builderEditForm/index.js.map +1 -1
- package/dist/templates/tailwind/builderPlaceholder/index.js.map +1 -1
- package/dist/templates/tailwind/builderSidebar/index.js.map +1 -1
- package/dist/templates/tailwind/builderSidebarGroup/index.js.map +1 -1
- package/dist/templates/tailwind/builderWizard/index.js.map +1 -1
- package/dist/templates/tailwind/button/index.js.map +1 -1
- package/dist/templates/tailwind/checkbox/index.js.map +1 -1
- package/dist/templates/tailwind/columns/index.js.map +1 -1
- package/dist/templates/tailwind/component/index.js.map +1 -1
- package/dist/templates/tailwind/componentModal/index.js.map +1 -1
- package/dist/templates/tailwind/components/index.js.map +1 -1
- package/dist/templates/tailwind/container/index.js.map +1 -1
- package/dist/templates/tailwind/cssClasses.js.map +1 -1
- package/dist/templates/tailwind/datagrid/index.js.map +1 -1
- package/dist/templates/tailwind/day/index.js.map +1 -1
- package/dist/templates/tailwind/dialog/index.js.map +1 -1
- package/dist/templates/tailwind/editgrid/index.js.map +1 -1
- package/dist/templates/tailwind/editgridTable/index.js.map +1 -1
- package/dist/templates/tailwind/errorsList/index.js.map +1 -1
- package/dist/templates/tailwind/field/index.js.map +1 -1
- package/dist/templates/tailwind/fieldset/index.js.map +1 -1
- package/dist/templates/tailwind/file/index.js.map +1 -1
- package/dist/templates/tailwind/html/index.js.map +1 -1
- package/dist/templates/tailwind/icon/index.js.map +1 -1
- package/dist/templates/tailwind/iconClass.js.map +1 -1
- package/dist/templates/tailwind/index.js.map +1 -1
- package/dist/templates/tailwind/input/index.js.map +1 -1
- package/dist/templates/tailwind/label/index.js.map +1 -1
- package/dist/templates/tailwind/loader/index.js.map +1 -1
- package/dist/templates/tailwind/loading/index.js.map +1 -1
- package/dist/templates/tailwind/map/index.js.map +1 -1
- package/dist/templates/tailwind/message/index.js.map +1 -1
- package/dist/templates/tailwind/modalPreview/index.js.map +1 -1
- package/dist/templates/tailwind/modaldialog/index.js.map +1 -1
- package/dist/templates/tailwind/modaledit/index.js.map +1 -1
- package/dist/templates/tailwind/multiValueRow/index.js.map +1 -1
- package/dist/templates/tailwind/multiValueTable/index.js.map +1 -1
- package/dist/templates/tailwind/multipleMasksInput/index.js.map +1 -1
- package/dist/templates/tailwind/panel/index.js.map +1 -1
- package/dist/templates/tailwind/pdf/index.js.map +1 -1
- package/dist/templates/tailwind/pdfBuilder/index.js.map +1 -1
- package/dist/templates/tailwind/pdfBuilderUpload/index.js.map +1 -1
- package/dist/templates/tailwind/radio/index.js.map +1 -1
- package/dist/templates/tailwind/resourceAdd/index.js.map +1 -1
- package/dist/templates/tailwind/select/index.js.map +1 -1
- package/dist/templates/tailwind/selectOption/index.js.map +1 -1
- package/dist/templates/tailwind/signature/index.js.map +1 -1
- package/dist/templates/tailwind/survey/index.js.map +1 -1
- package/dist/templates/tailwind/tab/index.js.map +1 -1
- package/dist/templates/tailwind/table/index.js.map +1 -1
- package/dist/templates/tailwind/tableComponents/index.js.map +1 -1
- package/dist/templates/tailwind/tree/index.js.map +1 -1
- package/dist/templates/tailwind/tree/partials/index.js.map +1 -1
- package/dist/templates/tailwind/webform/index.js.map +1 -1
- package/dist/templates/tailwind/well/index.js.map +1 -1
- package/dist/templates/tailwind/wizard/index.js.map +1 -1
- package/dist/templates/tailwind/wizardHeader/index.js.map +1 -1
- package/dist/templates/tailwind/wizardHeaderClassic/index.js.map +1 -1
- package/dist/templates/tailwind/wizardHeaderVertical/index.js.map +1 -1
- package/dist/templates/tailwind/wizardNav/index.js.map +1 -1
- package/package.json +2 -2
- package/styles/tables.css +4 -0
- package/styles/tabs.css +67 -49
- package/vite.config.mts +1 -1
- package/tsconfig.app.json +0 -11
- package/tsconfig.json +0 -16
- package/tsconfig.node.json +0 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/file/form.ejs","../../../../src/templates/tailwind/file/index.ts"],"sourcesContent":["{% if (ctx.options.vpat) { %}\n <span tabindex=\"-1\" class=\"sr-only\" id=\"invisible-{{ctx.instance.id}}-{{ctx.component.key}}\"></span>\n{% } %}\n{% if (!ctx.self.imageUpload) { %}\n {% if (ctx.options.vpat) { %}\n <div>{{(!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern}}</div>\n {% } %}\n <ul class=\"list-group list-group-striped\">\n <li class=\"list-group-item list-group-header hidden-xs hidden-sm\">\n <div class=\"grid grid-cols-12 gap-4\">\n {% if (!ctx.disabled) { %}\n <div class=\"md:col-span-1\"></div>\n {% } %}\n <div class=\"md:col-span-{% if (ctx.self.hasTypes) { %}7{% } else { %}9{% } %}\"><strong>{{ctx.t('File Name')}}</strong></div>\n <div class=\"md:col-span-2\"><strong>{{ctx.t('Size')}}</strong></div>\n {% if (ctx.self.hasTypes) { %}\n <div class=\"md:col-span-2\"><strong>{{ctx.t('Type')}}</strong></div>\n {% } %}\n </div>\n </li>\n {% ctx.files.forEach(function(file) { %}\n <li class=\"list-group-item\">\n <div class=\"grid grid-cols-12 gap-4\">\n {% if (!ctx.disabled) { %}\n <div class=\"md:col-span-1\"><i tabindex=\"0\" class=\"{{ctx.iconClass('remove')}}\" ref=\"removeLink\"></i></div>\n {% } %}\n <div class=\"md:col-span-{% if (ctx.self.hasTypes) { %}7{% } else { %}9{% } %}\">\n {% if (ctx.component.uploadOnly) { %}\n {{file.originalName || file.name}}\n {% } else { %}\n <a href=\"{{file.url || '#'}}\" target=\"_blank\" ref=\"fileLink\">\n <span class=\"sr-only\">{{ctx.t('Press to open ')}}</span>{{file.originalName || file.name}}\n </a>\n {% } %}\n </div>\n <div class=\"md:col-span-2\">{{ctx.fileSize(file.size)}}</div>\n {% if (ctx.self.hasTypes && !ctx.disabled) { %}\n <div class=\"md:col-span-2\">\n <select class=\"file-type\" ref=\"fileType\">\n {% ctx.component.fileTypes.map(function(type) { %}\n <option class=\"test\" value=\"{{ type.value }}\" {% if (type.label === file.fileType) { %}selected=\"selected\"{% } %}>{{ctx.t(type.label)}}</option>\n {% }); %}\n </select>\n </div>\n {% } %}\n {% if (ctx.self.hasTypes && ctx.disabled) { %}\n <div class=\"md:col-span-2\">{{file.fileType}}</div>\n {% } %}\n </div>\n </li>\n {% }) %}\n </ul>\n{% } else { %}\n <div>\n {% ctx.files.forEach(function(file) { %}\n <div>\n <span>\n <img ref=\"fileImage\" src=\"\" alt=\"{{file.originalName || file.name}}\" style=\"width:{{ctx.component.imageSize}}px\">\n {% if (!ctx.disabled) { %}\n <i tabindex=\"0\" class=\"{{ctx.iconClass('remove')}}\" ref=\"removeLink\"></i>\n {% } %}\n </span>\n </div>\n {% }) %}\n </div>\n{% } %}\n{% if (!ctx.disabled && (ctx.component.multiple || !ctx.files.length)) { %}\n {% if (ctx.self.useWebViewCamera) { %}\n <div class=\"fileSelector\">\n <button class=\"btn btn-primary\" ref=\"galleryButton\"><i class=\"fa fa-book\"></i> {{ctx.t('Gallery')}}</button>\n <button class=\"btn btn-primary\" ref=\"cameraButton\"><i class=\"fa fa-camera\"></i> {{ctx.t('Camera')}}</button>\n </div>\n {% } else if (!ctx.self.cameraMode) { %}\n <div class=\"fileSelector\" ref=\"fileDrop\" {{ctx.fileDropHidden ?'hidden' : ''}}>\n <i class=\"{{ctx.iconClass('cloud-upload')}}\"></i> {{ctx.t('Drop files to attach,')}}\n {% if (ctx.self.imageUpload && ctx.component.webcam) { %}\n <a href=\"#\" ref=\"toggleCameraMode\"><i class=\"{{ctx.iconClass('camera')}}\"></i> {{ctx.t('use camera')}}</a>\n {% } %}\n {{ctx.t('or')}}\n <a href=\"#\" ref=\"fileBrowse\" class=\"browse\">\n {{ctx.t('browse')}}\n <span class=\"sr-only\">\n {{ctx.t('Browse to attach file for ' + ctx.component.label + '. ' +\n (ctx.component.description ? ctx.component.description + '. ' : '') +\n ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern))}}\n </span>\n </a>\n <div ref=\"fileProcessingLoader\" class=\"loader-wrapper\">\n <div class=\"loader text-center\"></div>\n </div>\n </div>\n {% } else { %}\n <div class=\"video-container\">\n <video class=\"video\" autoplay=\"true\" ref=\"videoPlayer\" tabindex=\"-1\"></video>\n </div>\n <button class=\"btn btn-primary\" ref=\"takePictureButton\"><i class=\"fa fa-camera\"></i> {{ctx.t('Take Picture')}}</button>\n <button class=\"btn btn-primary\" ref=\"toggleCameraMode\">{{ctx.t('Switch to file upload')}}</button>\n {% } %}\n{% } %}\n{% ctx.statuses.forEach(function(status) { %}\n <div class=\"file {{ctx.statuses.status === 'error' ? ' has-error' : ''}}\">\n <div class=\"grid grid-cols-12 gap-4\">\n <div class=\"fileName col-form-label sm:col-span-10\">{{status.originalName}}\n <i class=\"{{ctx.iconClass('remove')}}\" ref=\"fileStatusRemove\">\n <span class=\"sr-only\">{{ctx.t('Remove button. Press to remove ' + status.originalName || status.name + '.')}}</span>\n <span class=\"sr-only\">{{status.message ? status.message.replace(';', '.') : ''}}</span>\n </i>\n </div>\n <div class=\"fileSize col-form-label sm:col-span-2 text-right\">{{ctx.fileSize(status.size)}}</div>\n </div>\n <div class=\"grid grid-cols-12 gap-4\">\n <div class=\"sm:col-span-12\">\n {% if (status.status === 'progress') { %}\n <div class=\"progress\">\n <div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"{{status.progress}}\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: {{status.progress}}%\">\n <span class=\"sr-only\">{{status.progress}}% {{ctx.t('Complete')}}</span>\n </div>\n </div>\n {% } else if (status.status === 'error') { %}\n <div class=\"alert alert-danger bg-{{status.status}}\">{{ctx.t(status.message)}}</div>\n {% } else { %}\n <div class=\"bg-{{status.status}}\">{{ctx.t(status.message)}}</div>\n {% } %}\n </div>\n </div>\n </div>\n{% }) %}\n{% if (!ctx.component.storage || ctx.support.hasWarning) { %}\n <div class=\"alert alert-warning\">\n {% if (!ctx.component.storage) { %}\n <p>{{ctx.t('No storage has been set for this field. File uploads are disabled until storage is set up.')}}</p>\n {% } %}\n {% if (!ctx.support.filereader) { %}\n <p>{{ctx.t('File API & FileReader API not supported.')}}</p>\n {% } %}\n {% if (!ctx.support.formdata) { %}\n <p>{{ctx.t(\"XHR2's FormData is not supported.\")}}</p>\n {% } %}\n {% if (!ctx.support.progress) { %}\n <p>{{ctx.t(\"XHR2's upload progress isn't supported.\")}}</p>\n {% } %}\n </div>\n{% } %}\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","file","type","status"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAGd,SAAIF,EAAI,QAAQ,SACjBE,KAAO;AAAA,0DACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA,IAEAC,KAAO;AAAA,GACDF,EAAI,KAAK,eAmFfE,KAAO;AAAA;AAAA,OACNF,EAAI,MAAM,QAAQ,SAASG,GAAM;AAClC,IAAAD,KAAO;AAAA;AAAA;AAAA,iDACLD,IAAOE,EAAK,gBAAgBA,EAAK,SAAU,OAAO,KAAKF,KACzD,sBACEA,IAAOD,EAAI,UAAU,cAAe,OAAO,KAAKC,KAClD;AAAA,aACMD,EAAI,aACVE,KAAO;AAAA,yCACLD,IAAOD,EAAI,U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EAC,KAAO;AAAA,OACDF,EAAI,QAAQ,aAClBE,KAAO;AAAA,eACLD,IAAOD,EAAI,EAAE,yCAAyC,MAAO,OAAO,KAAKC,KAC3E;AAAA,QAEAC,KAAO;AAAA;AAAA,IAEPA,KAAO;AAAA,GACAA;AACP;AC7NA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/file/form.ejs","../../../../src/templates/tailwind/file/index.ts"],"sourcesContent":["{% if (ctx.options.vpat) { %}\n <span tabindex=\"-1\" class=\"sr-only\" id=\"invisible-{{ctx.instance.id}}-{{ctx.component.key}}\"></span>\n{% } %}\n{% if (!ctx.self.imageUpload) { %}\n {% if (ctx.options.vpat) { %}\n <div>{{(!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern}}</div>\n {% } %}\n <ul class=\"list-group list-group-striped\">\n <li class=\"list-group-item list-group-header hidden-xs hidden-sm\">\n <div class=\"grid grid-cols-12 gap-4\">\n {% if (!ctx.disabled) { %}\n <div class=\"md:col-span-1\"></div>\n {% } %}\n <div class=\"md:col-span-{% if (ctx.self.hasTypes) { %}7{% } else { %}9{% } %}\"><strong>{{ctx.t('File Name')}}</strong></div>\n <div class=\"md:col-span-2\"><strong>{{ctx.t('Size')}}</strong></div>\n {% if (ctx.self.hasTypes) { %}\n <div class=\"md:col-span-2\"><strong>{{ctx.t('Type')}}</strong></div>\n {% } %}\n </div>\n </li>\n {% ctx.files.forEach(function(file) { %}\n <li class=\"list-group-item\">\n <div class=\"grid grid-cols-12 gap-4\">\n {% if (!ctx.disabled) { %}\n <div class=\"md:col-span-1\"><i tabindex=\"0\" class=\"{{ctx.iconClass('remove')}}\" ref=\"removeLink\"></i></div>\n {% } %}\n <div class=\"md:col-span-{% if (ctx.self.hasTypes) { %}7{% } else { %}9{% } %}\">\n {% if (ctx.component.uploadOnly) { %}\n {{file.originalName || file.name}}\n {% } else { %}\n <a href=\"{{file.url || '#'}}\" target=\"_blank\" ref=\"fileLink\">\n <span class=\"sr-only\">{{ctx.t('Press to open ')}}</span>{{file.originalName || file.name}}\n </a>\n {% } %}\n </div>\n <div class=\"md:col-span-2\">{{ctx.fileSize(file.size)}}</div>\n {% if (ctx.self.hasTypes && !ctx.disabled) { %}\n <div class=\"md:col-span-2\">\n <select class=\"file-type\" ref=\"fileType\">\n {% ctx.component.fileTypes.map(function(type) { %}\n <option class=\"test\" value=\"{{ type.value }}\" {% if (type.label === file.fileType) { %}selected=\"selected\"{% } %}>{{ctx.t(type.label)}}</option>\n {% }); %}\n </select>\n </div>\n {% } %}\n {% if (ctx.self.hasTypes && ctx.disabled) { %}\n <div class=\"md:col-span-2\">{{file.fileType}}</div>\n {% } %}\n </div>\n </li>\n {% }) %}\n </ul>\n{% } else { %}\n <div>\n {% ctx.files.forEach(function(file) { %}\n <div>\n <span>\n <img ref=\"fileImage\" src=\"\" alt=\"{{file.originalName || file.name}}\" style=\"width:{{ctx.component.imageSize}}px\">\n {% if (!ctx.disabled) { %}\n <i tabindex=\"0\" class=\"{{ctx.iconClass('remove')}}\" ref=\"removeLink\"></i>\n {% } %}\n </span>\n </div>\n {% }) %}\n </div>\n{% } %}\n{% if (!ctx.disabled && (ctx.component.multiple || !ctx.files.length)) { %}\n {% if (ctx.self.useWebViewCamera) { %}\n <div class=\"fileSelector\">\n <button class=\"btn btn-primary\" ref=\"galleryButton\"><i class=\"fa fa-book\"></i> {{ctx.t('Gallery')}}</button>\n <button class=\"btn btn-primary\" ref=\"cameraButton\"><i class=\"fa fa-camera\"></i> {{ctx.t('Camera')}}</button>\n </div>\n {% } else if (!ctx.self.cameraMode) { %}\n <div class=\"fileSelector\" ref=\"fileDrop\" {{ctx.fileDropHidden ?'hidden' : ''}}>\n <i class=\"{{ctx.iconClass('cloud-upload')}}\"></i> {{ctx.t('Drop files to attach,')}}\n {% if (ctx.self.imageUpload && ctx.component.webcam) { %}\n <a href=\"#\" ref=\"toggleCameraMode\"><i class=\"{{ctx.iconClass('camera')}}\"></i> {{ctx.t('use camera')}}</a>\n {% } %}\n {{ctx.t('or')}}\n <a href=\"#\" ref=\"fileBrowse\" class=\"browse\">\n {{ctx.t('browse')}}\n <span class=\"sr-only\">\n {{ctx.t('Browse to attach file for ' + ctx.component.label + '. ' +\n (ctx.component.description ? ctx.component.description + '. ' : '') +\n ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern))}}\n </span>\n </a>\n <div ref=\"fileProcessingLoader\" class=\"loader-wrapper\">\n <div class=\"loader text-center\"></div>\n </div>\n </div>\n {% } else { %}\n <div class=\"video-container\">\n <video class=\"video\" autoplay=\"true\" ref=\"videoPlayer\" tabindex=\"-1\"></video>\n </div>\n <button class=\"btn btn-primary\" ref=\"takePictureButton\"><i class=\"fa fa-camera\"></i> {{ctx.t('Take Picture')}}</button>\n <button class=\"btn btn-primary\" ref=\"toggleCameraMode\">{{ctx.t('Switch to file upload')}}</button>\n {% } %}\n{% } %}\n{% ctx.statuses.forEach(function(status) { %}\n <div class=\"file {{ctx.statuses.status === 'error' ? ' has-error' : ''}}\">\n <div class=\"grid grid-cols-12 gap-4\">\n <div class=\"fileName col-form-label sm:col-span-10\">{{status.originalName}}\n <i class=\"{{ctx.iconClass('remove')}}\" ref=\"fileStatusRemove\">\n <span class=\"sr-only\">{{ctx.t('Remove button. Press to remove ' + status.originalName || status.name + '.')}}</span>\n <span class=\"sr-only\">{{status.message ? status.message.replace(';', '.') : ''}}</span>\n </i>\n </div>\n <div class=\"fileSize col-form-label sm:col-span-2 text-right\">{{ctx.fileSize(status.size)}}</div>\n </div>\n <div class=\"grid grid-cols-12 gap-4\">\n <div class=\"sm:col-span-12\">\n {% if (status.status === 'progress') { %}\n <div class=\"progress\">\n <div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"{{status.progress}}\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: {{status.progress}}%\">\n <span class=\"sr-only\">{{status.progress}}% {{ctx.t('Complete')}}</span>\n </div>\n </div>\n {% } else if (status.status === 'error') { %}\n <div class=\"alert alert-danger bg-{{status.status}}\">{{ctx.t(status.message)}}</div>\n {% } else { %}\n <div class=\"bg-{{status.status}}\">{{ctx.t(status.message)}}</div>\n {% } %}\n </div>\n </div>\n </div>\n{% }) %}\n{% if (!ctx.component.storage || ctx.support.hasWarning) { %}\n <div class=\"alert alert-warning\">\n {% if (!ctx.component.storage) { %}\n <p>{{ctx.t('No storage has been set for this field. File uploads are disabled until storage is set up.')}}</p>\n {% } %}\n {% if (!ctx.support.filereader) { %}\n <p>{{ctx.t('File API & FileReader API not supported.')}}</p>\n {% } %}\n {% if (!ctx.support.formdata) { %}\n <p>{{ctx.t(\"XHR2's FormData is not supported.\")}}</p>\n {% } %}\n {% if (!ctx.support.progress) { %}\n <p>{{ctx.t(\"XHR2's upload progress isn't supported.\")}}</p>\n {% } %}\n </div>\n{% } %}\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","file","type","status"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAGd,SAAIF,EAAI,QAAQ,SACjBE,KAAO;AAAA,0DACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA,IAEAC,KAAO;AAAA,GACDF,EAAI,KAAK,eAmFfE,KAAO;AAAA;AAAA,OACNF,EAAI,MAAM,QAAQ,SAASG,GAAM;AAClC,IAAAD,KAAO;AAAA;AAAA;AAAA,iDACLD,IAAOE,EAAK,gBAAgBA,EAAK,SAAU,OAAO,KAAKF,KACzD,sBACEA,IAAOD,EAAI,UAAU,cAAe,OAAO,KAAKC,KAClD;AAAA,aACMD,EAAI,aACVE,KAAO;AAAA,yCACLD,IAAOD,EAAI,UAAU,QAAQ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;AAAA,OACDF,EAAI,QAAQ,aAClBE,KAAO;AAAA,eACLD,IAAOD,EAAI,EAAE,yCAAyC,MAAO,OAAO,KAAKC,KAC3E;AAAA,QAEAC,KAAO;AAAA;AAAA,IAEPA,KAAO;AAAA,GACAA;AACP;AC7NA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/html/form.ejs","../../../../src/templates/tailwind/html/index.ts"],"sourcesContent":["<{{ctx.tag}} class=\"{{ ctx.component.className }}\" ref=\"html\"\n {% ctx.attrs.forEach(function(attr) { %}\n {{attr.attr}}=\"{{attr.value}}\"\n {% }) %}\n>{{ctx.t(ctx.content)}}{% if (!ctx.singleTags || ctx.singleTags.indexOf(ctx.tag) === -1) { %}</{{ctx.tag}}>{% } %}\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","attr","html"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/html/form.ejs","../../../../src/templates/tailwind/html/index.ts"],"sourcesContent":["<{{ctx.tag}} class=\"{{ ctx.component.className }}\" ref=\"html\"\n {% ctx.attrs.forEach(function(attr) { %}\n {{attr.attr}}=\"{{attr.value}}\"\n {% }) %}\n>{{ctx.t(ctx.content)}}{% if (!ctx.singleTags || ctx.singleTags.indexOf(ctx.tag) === -1) { %}</{{ctx.tag}}>{% } %}\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","attr","html"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,QACLD,IAAOD,EAAI,QAAS,OAAO,KAAKC,KAClC,eACEA,IAAQD,EAAI,UAAU,cAAgB,OAAO,KAAKC,KACpD;AAAA,KACCD,EAAI,MAAM,QAAQ,SAASG,GAAM;AAClC,IAAAD,KAAO;AAAA,UACLD,IAAOE,EAAK,SAAU,OAAO,KAAKF,KACpC,SACEA,IAAOE,EAAK,UAAW,OAAO,KAAKF,KACrC;AAAA;AAAA,EACC,CAAC,GACFC,KAAO;AAAA,OACLD,IAAOD,EAAI,EAAEA,EAAI,OAAO,MAAO,OAAO,KAAKC,KACxC,CAACD,EAAI,cAAcA,EAAI,WAAW,QAAQA,EAAI,GAAG,MAAM,QAC5DE,KAAO,SACLD,IAAOD,EAAI,QAAS,OAAO,KAAKC,KAClC,MAEAC,KAAO;AAAA,GACAA;AACP;ACtBA,MAAAE,IAAe,EAAE,MAAAL,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/icon/form.ejs","../../../../src/templates/tailwind/icon/index.ts"],"sourcesContent":["<i ref=\"{{ctx.ref}}\" class=\"{{ctx.className}}\" style=\"{{ctx.styles}}\">{{ctx.content}}</i>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","icon"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/icon/form.ejs","../../../../src/templates/tailwind/icon/index.ts"],"sourcesContent":["<i ref=\"{{ctx.ref}}\" class=\"{{ctx.className}}\" style=\"{{ctx.styles}}\">{{ctx.content}}</i>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","icon"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,eACLD,IAAOD,EAAI,QAAS,OAAO,KAAKC,KAClC,gBACEA,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC,gBACEA,IAAOD,EAAI,WAAY,OAAO,KAAKC,KACrC,SACEA,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA,GACOC;AACP;ACVA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconClass.js","sources":["../../../src/templates/tailwind/iconClass.ts"],"sourcesContent":["export const ICONS: Record<string, any> = {\n remove: \"bxs-trash\",\n \"question-sign\":\n \"bx-question-mark inline-block border-1 bg-gray-400 border-solid border-gray-400 text-white text-xxs rounded-full mx-2 mt-px\",\n \"new-window\": \"bx-windows\",\n \"minus-square-o\": \"bxs-minus-square\",\n cog: \"bx-cog\",\n move: \"bx-move\",\n wrench: \"bx-wrench\",\n save: \"bx-save\",\n copy: \"bx-copy\",\n calendar: \"bx-calendar\",\n file: \"bx-file\",\n wpforms: \"bxs-spreadsheet\",\n \"files-o\": \"bx-copy-alt\",\n refresh: \"bx-refresh\",\n indent: \"bx-right-indent\",\n tasks: \"bx-list-ul\",\n th: \"bx-table\",\n \"th-list\": \"bxs-spreadsheet\",\n \"folder-open\": \"bx-folder-open\",\n \"folder-o\": \"bx-folder-open\",\n \"user-secret\": \"bxs-user-badge\",\n table: \"bx-table\",\n pencil: \"bx-pencil\",\n code: \"bx-code\",\n terminal: \"bx-terminal\",\n home: \"bx-home\",\n html5: \"bxl-html5\",\n list: \"bx-list-ul\",\n usd: \"bx-dollar\",\n hashtag: \"bx-hash\",\n tags: \"bx-purchase-tag\",\n at: \"bx-at\",\n font: \"bx-font\",\n asterisk: \"bx-show\",\n plus: \"bx-plus\",\n \"plus-square\": \"bx-plus-circle\",\n \"plus-square-o\": \"bxs-plus-square\",\n \"dot-circle-o\": \"bx-radio-circle-marked\",\n \"phone-square\": \"bx-phone\",\n \"clock-o\": \"bx-time-five\",\n link: \"bx-link\",\n columns: \"bx-columns\",\n \"th-large\": \"bx-category\",\n \"list-alt\": \"bx-credit-card-front\",\n \"square-o\": \"bx-caret-down-square\",\n cubes: \"bxs-cube\",\n stop: \"bx-stop\",\n \"check-square\": \"bx-checkbox-checked\",\n \"remove-circle\": \"bx-x\",\n bars: \"bx-menu\"\n};\n\nexport default (iconset: string | undefined, name: string, spinning?: boolean) => {\n if (iconset === \"bx\") {\n if (ICONS[name]) {\n name = ICONS[name];\n } else {\n name = `${iconset}-${name}`;\n }\n }\n\n if (spinning) {\n if (name === \"bx-radio-circle\") {\n return `${iconset} ${name} bx-burst`;\n }\n return `${iconset} ${name} bx-spin`;\n }\n\n return `${iconset} ${name}`;\n};\n"],"names":["ICONS","iconClass","iconset","name","spinning"],"mappings":"AAAO,MAAMA,IAA6B;AAAA,EACxC,QAAQ;AAAA,EACR,iBACE;AAAA,EACF,cAAc;AAAA,EACd,kBAAkB;AAAA,EAClB,KAAK;AAAA,EACL,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,MAAM;AAAA,EACN,UAAU;AAAA,EACV,MAAM;AAAA,EACN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,IAAI;AAAA,EACJ,WAAW;AAAA,EACX,eAAe;AAAA,EACf,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,UAAU;AAAA,EACV,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AAAA,EACN,KAAK;AAAA,EACL,SAAS;AAAA,EACT,MAAM;AAAA,EACN,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,UAAU;AAAA,EACV,MAAM;AAAA,EACN,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,WAAW;AAAA,EACX,MAAM;AAAA,EACN,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,MAAM;AAAA,EACN,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,MAAM;AACR,GAEAC,IAAe,CAACC,GAA6BC,GAAcC,OACrDF,MAAY,SACVF,EAAMG,CAAI,IACZA,IAAOH,EAAMG,CAAI,
|
|
1
|
+
{"version":3,"file":"iconClass.js","sources":["../../../src/templates/tailwind/iconClass.ts"],"sourcesContent":["export const ICONS: Record<string, any> = {\n remove: \"bxs-trash\",\n \"question-sign\":\n \"bx-question-mark inline-block border-1 bg-gray-400 border-solid border-gray-400 text-white text-xxs rounded-full mx-2 mt-px\",\n \"new-window\": \"bx-windows\",\n \"minus-square-o\": \"bxs-minus-square\",\n cog: \"bx-cog\",\n move: \"bx-move\",\n wrench: \"bx-wrench\",\n save: \"bx-save\",\n copy: \"bx-copy\",\n calendar: \"bx-calendar\",\n file: \"bx-file\",\n wpforms: \"bxs-spreadsheet\",\n \"files-o\": \"bx-copy-alt\",\n refresh: \"bx-refresh\",\n indent: \"bx-right-indent\",\n tasks: \"bx-list-ul\",\n th: \"bx-table\",\n \"th-list\": \"bxs-spreadsheet\",\n \"folder-open\": \"bx-folder-open\",\n \"folder-o\": \"bx-folder-open\",\n \"user-secret\": \"bxs-user-badge\",\n table: \"bx-table\",\n pencil: \"bx-pencil\",\n code: \"bx-code\",\n terminal: \"bx-terminal\",\n home: \"bx-home\",\n html5: \"bxl-html5\",\n list: \"bx-list-ul\",\n usd: \"bx-dollar\",\n hashtag: \"bx-hash\",\n tags: \"bx-purchase-tag\",\n at: \"bx-at\",\n font: \"bx-font\",\n asterisk: \"bx-show\",\n plus: \"bx-plus\",\n \"plus-square\": \"bx-plus-circle\",\n \"plus-square-o\": \"bxs-plus-square\",\n \"dot-circle-o\": \"bx-radio-circle-marked\",\n \"phone-square\": \"bx-phone\",\n \"clock-o\": \"bx-time-five\",\n link: \"bx-link\",\n columns: \"bx-columns\",\n \"th-large\": \"bx-category\",\n \"list-alt\": \"bx-credit-card-front\",\n \"square-o\": \"bx-caret-down-square\",\n cubes: \"bxs-cube\",\n stop: \"bx-stop\",\n \"check-square\": \"bx-checkbox-checked\",\n \"remove-circle\": \"bx-x\",\n bars: \"bx-menu\"\n};\n\nexport default (iconset: string | undefined, name: string, spinning?: boolean) => {\n if (iconset === \"bx\") {\n if (ICONS[name]) {\n name = ICONS[name];\n } else {\n name = `${iconset}-${name}`;\n }\n }\n\n if (spinning) {\n if (name === \"bx-radio-circle\") {\n return `${iconset} ${name} bx-burst`;\n }\n return `${iconset} ${name} bx-spin`;\n }\n\n return `${iconset} ${name}`;\n};\n"],"names":["ICONS","iconClass","iconset","name","spinning"],"mappings":"AAAO,MAAMA,IAA6B;AAAA,EACxC,QAAQ;AAAA,EACR,iBACE;AAAA,EACF,cAAc;AAAA,EACd,kBAAkB;AAAA,EAClB,KAAK;AAAA,EACL,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,MAAM;AAAA,EACN,UAAU;AAAA,EACV,MAAM;AAAA,EACN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,IAAI;AAAA,EACJ,WAAW;AAAA,EACX,eAAe;AAAA,EACf,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,UAAU;AAAA,EACV,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AAAA,EACN,KAAK;AAAA,EACL,SAAS;AAAA,EACT,MAAM;AAAA,EACN,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,UAAU;AAAA,EACV,MAAM;AAAA,EACN,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,WAAW;AAAA,EACX,MAAM;AAAA,EACN,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,MAAM;AAAA,EACN,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,MAAM;AACR,GAEAC,IAAe,CAACC,GAA6BC,GAAcC,OACrDF,MAAY,SACVF,EAAMG,CAAI,IACZA,IAAOH,EAAMG,CAAI,IAEjBA,IAAO,GAAGD,CAAO,IAAIC,CAAI,KAIzBC,IACED,MAAS,oBACJ,GAAGD,CAAO,IAAIC,CAAI,cAEpB,GAAGD,CAAO,IAAIC,CAAI,aAGpB,GAAGD,CAAO,IAAIC,CAAI;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/templates/tailwind/index.ts"],"sourcesContent":["import address from \"./address\";\nimport alert from \"./alert\";\nimport builder from \"./builder\";\nimport builderComponent from \"./builderComponent\";\nimport builderComponents from \"./builderComponents\";\nimport builderEditForm from \"./builderEditForm\";\nimport builderPlaceholder from \"./builderPlaceholder\";\nimport builderSidebar from \"./builderSidebar\";\nimport builderSidebarGroup from \"./builderSidebarGroup\";\nimport builderWizard from \"./builderWizard\";\nimport button from \"./button\";\nimport checkbox from \"./checkbox\";\nimport columns from \"./columns\";\nimport component from \"./component\";\nimport componentModal from \"./componentModal\";\nimport components from \"./components\";\nimport container from \"./container\";\nimport cssClasses from \"./cssClasses\";\nimport datagrid from \"./datagrid\";\nimport day from \"./day\";\nimport dialog from \"./dialog\";\nimport editgrid from \"./editgrid\";\nimport editgridTable from \"./editgridTable\";\nimport errorsList from \"./errorsList\";\nimport field from \"./field\";\nimport fieldset from \"./fieldset\";\nimport file from \"./file\";\nimport html from \"./html\";\nimport icon from \"./icon\";\nimport iconClass, { ICONS } from \"./iconClass\";\nimport input from \"./input\";\nimport label from \"./label\";\nimport loader from \"./loader\";\nimport loading from \"./loading\";\nimport map from \"./map\";\nimport message from \"./message\";\nimport modaldialog from \"./modaldialog\";\nimport modaledit from \"./modaledit\";\nimport modalPreview from \"./modalPreview\";\nimport multipleMasksInput from \"./multipleMasksInput\";\nimport multiValueRow from \"./multiValueRow\";\nimport multiValueTable from \"./multiValueTable\";\nimport panel from \"./panel\";\nimport pdf from \"./pdf\";\nimport pdfBuilder from \"./pdfBuilder\";\nimport pdfBuilderUpload from \"./pdfBuilderUpload\";\nimport radio from \"./radio\";\nimport resourceAdd from \"./resourceAdd\";\nimport select from \"./select\";\nimport selectOption from \"./selectOption\";\nimport signature from \"./signature\";\nimport survey from \"./survey\";\nimport tab from \"./tab\";\nimport table from \"./table\";\nimport tableComponents from \"./tableComponents\";\nimport tree from \"./tree\";\nimport treePartials from \"./tree/partials\";\nimport webform from \"./webform\";\nimport well from \"./well\";\nimport wizard from \"./wizard\";\nimport wizardHeader from \"./wizardHeader\";\nimport wizardHeaderClassic from \"./wizardHeaderClassic\";\nimport wizardHeaderVertical from \"./wizardHeaderVertical\";\nimport wizardNav from \"./wizardNav\";\n\nexport default {\n ICONS,\n transform(type: string, text: string) {\n if (!text) {\n return text;\n }\n switch (type) {\n case \"class\":\n return this.cssClasses.hasOwnProperty(text.toString()) ? (this.cssClasses as any)[text.toString()] : text;\n }\n return text;\n },\n defaultIconset: \"bx\",\n iconClass,\n cssClasses,\n address,\n builder,\n builderComponent,\n builderComponents,\n builderEditForm,\n builderPlaceholder,\n builderSidebar,\n builderSidebarGroup,\n builderWizard,\n button,\n checkbox,\n columns,\n component,\n componentModal,\n components,\n tableComponents,\n container,\n datagrid,\n day,\n dialog,\n editgrid,\n editgridTable,\n field,\n fieldset,\n file,\n html,\n icon,\n input,\n label,\n loader,\n loading,\n map,\n message,\n modaledit,\n modaldialog,\n modalPreview,\n multipleMasksInput,\n multiValueRow,\n multiValueTable,\n panel,\n pdf,\n pdfBuilder,\n pdfBuilderUpload,\n radio,\n resourceAdd,\n select,\n selectOption,\n signature,\n survey,\n tab,\n table,\n tree,\n ...treePartials,\n webform,\n well,\n wizard,\n wizardHeader,\n wizardHeaderClassic,\n wizardHeaderVertical,\n wizardNav,\n errorsList,\n alert\n};\n"],"names":["tailwind","ICONS","type","text","iconClass","cssClasses","address","builder","builderComponent","builderComponents","builderEditForm","builderPlaceholder","builderSidebar","builderSidebarGroup","builderWizard","button","checkbox","columns","component","componentModal","components","tableComponents","container","datagrid","day","dialog","editgrid","editgridTable","field","fieldset","file","html","icon","input","label","loader","loading","map","message","modaledit","modaldialog","modalPreview","multipleMasksInput","multiValueRow","multiValueTable","panel","pdf","pdfBuilder","pdfBuilderUpload","radio","resourceAdd","select","selectOption","signature","survey","tab","table","tree","treePartials","webform","well","wizard","wizardHeader","wizardHeaderClassic","wizardHeaderVertical","wizardNav","errorsList","alert"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiEA,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/templates/tailwind/index.ts"],"sourcesContent":["import address from \"./address\";\nimport alert from \"./alert\";\nimport builder from \"./builder\";\nimport builderComponent from \"./builderComponent\";\nimport builderComponents from \"./builderComponents\";\nimport builderEditForm from \"./builderEditForm\";\nimport builderPlaceholder from \"./builderPlaceholder\";\nimport builderSidebar from \"./builderSidebar\";\nimport builderSidebarGroup from \"./builderSidebarGroup\";\nimport builderWizard from \"./builderWizard\";\nimport button from \"./button\";\nimport checkbox from \"./checkbox\";\nimport columns from \"./columns\";\nimport component from \"./component\";\nimport componentModal from \"./componentModal\";\nimport components from \"./components\";\nimport container from \"./container\";\nimport cssClasses from \"./cssClasses\";\nimport datagrid from \"./datagrid\";\nimport day from \"./day\";\nimport dialog from \"./dialog\";\nimport editgrid from \"./editgrid\";\nimport editgridTable from \"./editgridTable\";\nimport errorsList from \"./errorsList\";\nimport field from \"./field\";\nimport fieldset from \"./fieldset\";\nimport file from \"./file\";\nimport html from \"./html\";\nimport icon from \"./icon\";\nimport iconClass, { ICONS } from \"./iconClass\";\nimport input from \"./input\";\nimport label from \"./label\";\nimport loader from \"./loader\";\nimport loading from \"./loading\";\nimport map from \"./map\";\nimport message from \"./message\";\nimport modaldialog from \"./modaldialog\";\nimport modaledit from \"./modaledit\";\nimport modalPreview from \"./modalPreview\";\nimport multipleMasksInput from \"./multipleMasksInput\";\nimport multiValueRow from \"./multiValueRow\";\nimport multiValueTable from \"./multiValueTable\";\nimport panel from \"./panel\";\nimport pdf from \"./pdf\";\nimport pdfBuilder from \"./pdfBuilder\";\nimport pdfBuilderUpload from \"./pdfBuilderUpload\";\nimport radio from \"./radio\";\nimport resourceAdd from \"./resourceAdd\";\nimport select from \"./select\";\nimport selectOption from \"./selectOption\";\nimport signature from \"./signature\";\nimport survey from \"./survey\";\nimport tab from \"./tab\";\nimport table from \"./table\";\nimport tableComponents from \"./tableComponents\";\nimport tree from \"./tree\";\nimport treePartials from \"./tree/partials\";\nimport webform from \"./webform\";\nimport well from \"./well\";\nimport wizard from \"./wizard\";\nimport wizardHeader from \"./wizardHeader\";\nimport wizardHeaderClassic from \"./wizardHeaderClassic\";\nimport wizardHeaderVertical from \"./wizardHeaderVertical\";\nimport wizardNav from \"./wizardNav\";\n\nexport default {\n ICONS,\n transform(type: string, text: string) {\n if (!text) {\n return text;\n }\n switch (type) {\n case \"class\":\n return this.cssClasses.hasOwnProperty(text.toString()) ? (this.cssClasses as any)[text.toString()] : text;\n }\n return text;\n },\n defaultIconset: \"bx\",\n iconClass,\n cssClasses,\n address,\n builder,\n builderComponent,\n builderComponents,\n builderEditForm,\n builderPlaceholder,\n builderSidebar,\n builderSidebarGroup,\n builderWizard,\n button,\n checkbox,\n columns,\n component,\n componentModal,\n components,\n tableComponents,\n container,\n datagrid,\n day,\n dialog,\n editgrid,\n editgridTable,\n field,\n fieldset,\n file,\n html,\n icon,\n input,\n label,\n loader,\n loading,\n map,\n message,\n modaledit,\n modaldialog,\n modalPreview,\n multipleMasksInput,\n multiValueRow,\n multiValueTable,\n panel,\n pdf,\n pdfBuilder,\n pdfBuilderUpload,\n radio,\n resourceAdd,\n select,\n selectOption,\n signature,\n survey,\n tab,\n table,\n tree,\n ...treePartials,\n webform,\n well,\n wizard,\n wizardHeader,\n wizardHeaderClassic,\n wizardHeaderVertical,\n wizardNav,\n errorsList,\n alert\n};\n"],"names":["tailwind","ICONS","type","text","iconClass","cssClasses","address","builder","builderComponent","builderComponents","builderEditForm","builderPlaceholder","builderSidebar","builderSidebarGroup","builderWizard","button","checkbox","columns","component","componentModal","components","tableComponents","container","datagrid","day","dialog","editgrid","editgridTable","field","fieldset","file","html","icon","input","label","loader","loading","map","message","modaledit","modaldialog","modalPreview","multipleMasksInput","multiValueRow","multiValueTable","panel","pdf","pdfBuilder","pdfBuilderUpload","radio","resourceAdd","select","selectOption","signature","survey","tab","table","tree","treePartials","webform","well","wizard","wizardHeader","wizardHeaderClassic","wizardHeaderVertical","wizardNav","errorsList","alert"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiEA,MAAAA,KAAe;AAAA,EACb,OAAAC;AAAA,EACA,UAAUC,GAAcC,GAAc;AACpC,QAAI,CAACA;AACH,aAAOA;AAET,YAAQD,GAAA;AAAA,MACN,KAAK;AACH,eAAO,KAAK,WAAW,eAAeC,EAAK,SAAA,CAAU,IAAK,KAAK,WAAmBA,EAAK,SAAA,CAAU,IAAIA;AAAA,IAAA;AAEzG,WAAOA;AAAA,EACT;AAAA,EACA,gBAAgB;AAAA,EAChB,WAAAC;AAAA,EACA,YAAAC;AAAA,EACA,SAAAC;AAAA,EACA,SAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,eAAAC;AAAA,EACA,QAAAC;AAAA,EACA,UAAAC;AAAA,EACA,SAAAC;AAAA,EACA,WAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,YAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,KAAAC;AAAA,EACA,QAAAC;AAAA,EACA,UAAAC;AAAA,EACA,eAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,MAAAC;AAAA,EACA,MAAAC;AAAA,EACA,MAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,QAAAC;AAAA,EACA,SAAAC;AAAA,EACA,KAAAC;AAAA,EACA,SAAAC;AAAA,EACA,WAAAC;AAAA,EACA,aAAAC;AAAA,EACA,cAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,eAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,OAAAC;AAAA,EACA,KAAAC;AAAA,EACA,YAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,QAAAC;AAAA,EACA,cAAAC;AAAA,EACA,WAAAC;AAAA,EACA,QAAAC;AAAA,EACA,KAAAC;AAAA,EACA,OAAAC;AAAA,EACA,MAAAC;AAAA,EACA,GAAGC;AAAA,EACH,SAAAC;AAAA,EACA,MAAAC;AAAA,EACA,QAAAC;AAAA,EACA,cAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,sBAAAC;AAAA,EACA,WAAAC;AAAA,EACA,YAAAC;AAAA,EACA,OAAAC;AACF;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/input/form.ejs","../../../../src/templates/tailwind/input/html.ejs","../../../../src/templates/tailwind/input/index.ts"],"sourcesContent":["{% if (ctx.prefix || ctx.suffix) { %}\n<div class=\"input-group\">\n {% } %}\n {% if (ctx.prefix) { %}\n <div class=\"input-group-prepend\" ref=\"prefix\">\n <span class=\"input-group-text\">\n {% if(ctx.prefix instanceof HTMLElement){ %}\n {{ ctx.t(ctx.prefix.outerHTML, { _userInput: true }) }}\n {% } else{ %}\n {{ ctx.t(ctx.prefix, { _userInput: true }) }}\n {% } %}\n </span>\n </div>\n {% } %}\n {% if (!ctx.component.editor && !ctx.component.wysiwyg) { %}\n <{{ctx.input.type}}\n ref=\"{{ctx.input.ref ? ctx.input.ref : 'input'}}\"\n {% for (var attr in ctx.input.attr) { %}\n {{attr}}=\"{{ctx.input.attr[attr]}}\"\n {% } %}\n id=\"{{ctx.instance.id}}-{{ctx.component.key}}\"\n aria-labelledby=\"l-{{ctx.instance.id}}-{{ctx.component.key}} {% if (ctx.component.description) { %}d-{{ctx.instance.id}}-{{ctx.component.key}}{% } %}\"\n aria-required=\"{{ctx.input.ref === 'input' || !ctx.input.ref ? ctx.component.validate.required :\n ctx.component.fields && ctx.component.fields[ctx.input.ref] && ctx.component.fields[ctx.input.ref].required || false}}\"\n >{{ctx.input.content}}</{{ctx.input.type}}>\n {% if (ctx.hasValueMaskInput) { %}\n <input ref=\"valueMaskInput\" />\n {% } %}\n{% } %}\n{% if (ctx.component.editor || ctx.component.wysiwyg) { %}\n <div ref=\"input\"></div>\n{% } %}\n{% if (ctx.component.type === 'datetime') { %}\n<span aria-live=\"assertive\" id=\"{{ctx.instance.id}}-liveRegion\" class=\"sr-only\" ref=\"liveRegion\"></span>\n{% } %}\n{% if (ctx.suffix) { %}\n <div class=\"input-group-append\" ref=\"suffix\">\n <span class=\"input-group-text\">\n {% if(ctx.suffix instanceof HTMLElement){ %}\n {{ ctx.t(ctx.suffix.outerHTML, { _userInput: true }) }}\n {% } else{ %}\n {{ ctx.t(ctx.suffix, { _userInput: true }) }}\n {% } %}\n </span>\n </div>\n{% } %}\n{% if (ctx.prefix || ctx.suffix) { %}\n </div>\n{% } %}\n{% if (ctx.component.showCharCount || ctx.component.showWordCount) { %}\n<div class=\"form-text {{ctx.component.description ? 'pull-right' : 'text-right'}}\">\n {% if (ctx.component.showCharCount) { %}\n <span class=\"text-muted\" ref=\"charcount\" aria-live=\"polite\"></span>\n {% } %}\n {% if (ctx.component.showWordCount) { %}\n <span class=\"text-muted\" ref=\"wordcount\" aria-live=\"polite\"></span>\n {% } %}\n</div>\n{% } %}\n","<div ref=\"value\">{% if (ctx.value) { %}{{ctx.value}}{% } else { %}-{% } %}</div>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","attr","html","input"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/input/form.ejs","../../../../src/templates/tailwind/input/html.ejs","../../../../src/templates/tailwind/input/index.ts"],"sourcesContent":["{% if (ctx.prefix || ctx.suffix) { %}\n<div class=\"input-group\">\n {% } %}\n {% if (ctx.prefix) { %}\n <div class=\"input-group-prepend\" ref=\"prefix\">\n <span class=\"input-group-text\">\n {% if(ctx.prefix instanceof HTMLElement){ %}\n {{ ctx.t(ctx.prefix.outerHTML, { _userInput: true }) }}\n {% } else{ %}\n {{ ctx.t(ctx.prefix, { _userInput: true }) }}\n {% } %}\n </span>\n </div>\n {% } %}\n {% if (!ctx.component.editor && !ctx.component.wysiwyg) { %}\n <{{ctx.input.type}}\n ref=\"{{ctx.input.ref ? ctx.input.ref : 'input'}}\"\n {% for (var attr in ctx.input.attr) { %}\n {{attr}}=\"{{ctx.input.attr[attr]}}\"\n {% } %}\n id=\"{{ctx.instance.id}}-{{ctx.component.key}}\"\n aria-labelledby=\"l-{{ctx.instance.id}}-{{ctx.component.key}} {% if (ctx.component.description) { %}d-{{ctx.instance.id}}-{{ctx.component.key}}{% } %}\"\n aria-required=\"{{ctx.input.ref === 'input' || !ctx.input.ref ? ctx.component.validate.required :\n ctx.component.fields && ctx.component.fields[ctx.input.ref] && ctx.component.fields[ctx.input.ref].required || false}}\"\n >{{ctx.input.content}}</{{ctx.input.type}}>\n {% if (ctx.hasValueMaskInput) { %}\n <input ref=\"valueMaskInput\" />\n {% } %}\n{% } %}\n{% if (ctx.component.editor || ctx.component.wysiwyg) { %}\n <div ref=\"input\"></div>\n{% } %}\n{% if (ctx.component.type === 'datetime') { %}\n<span aria-live=\"assertive\" id=\"{{ctx.instance.id}}-liveRegion\" class=\"sr-only\" ref=\"liveRegion\"></span>\n{% } %}\n{% if (ctx.suffix) { %}\n <div class=\"input-group-append\" ref=\"suffix\">\n <span class=\"input-group-text\">\n {% if(ctx.suffix instanceof HTMLElement){ %}\n {{ ctx.t(ctx.suffix.outerHTML, { _userInput: true }) }}\n {% } else{ %}\n {{ ctx.t(ctx.suffix, { _userInput: true }) }}\n {% } %}\n </span>\n </div>\n{% } %}\n{% if (ctx.prefix || ctx.suffix) { %}\n </div>\n{% } %}\n{% if (ctx.component.showCharCount || ctx.component.showWordCount) { %}\n<div class=\"form-text {{ctx.component.description ? 'pull-right' : 'text-right'}}\">\n {% if (ctx.component.showCharCount) { %}\n <span class=\"text-muted\" ref=\"charcount\" aria-live=\"polite\"></span>\n {% } %}\n {% if (ctx.component.showWordCount) { %}\n <span class=\"text-muted\" ref=\"wordcount\" aria-live=\"polite\"></span>\n {% } %}\n</div>\n{% } %}\n","<div ref=\"value\">{% if (ctx.value) { %}{{ctx.value}}{% } else { %}-{% } %}</div>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","attr","html","input"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAqBd,OAlBIF,EAAI,UAAUA,EAAI,YACvBE,KAAO;AAAA;AAAA,MAEPA,KAAO;AAAA,KACFF,EAAI,WACTE,KAAO;AAAA;AAAA;AAAA,SACHF,EAAI,kBAAkB,cAC1BE,KAAO;AAAA,cACLD,IAAQD,EAAI,EAAEA,EAAI,OAAO,WAAW,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKC,KAC9E;AAAA,UAEAC,KAAO;AAAA,cACLD,IAAQD,EAAI,EAAEA,EAAI,QAAQ,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKC,KACpE;AAAA,SAEAC,KAAO;AAAA;AAAA;AAAA,MAEPA,KAAO;AAAA,KACF,CAACF,EAAI,UAAU,UAAU,CAACA,EAAI,UAAU,SAAS;AACtD,IAAAE,KAAO;AAAA,WACLD,IAAOD,EAAI,MAAM,SAAU,OAAO,KAAKC,KACzC;AAAA,iBACEA,IAAOD,EAAI,MAAM,MAAMA,EAAI,MAAM,MAAM,YAAa,OAAO,KAAKC,KAClE;AAAA;AACC,aAASE,KAAQH,EAAI,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,kBAAkB,cAC1BE,KAAO;AAAA,cACLD,IAAQD,EAAI,EAAEA,EAAI,OAAO,WAAW,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKC,KAC9E;AAAA,UAEAC,KAAO;AAAA,cACLD,IAAQD,EAAI,EAAEA,EAAI,QAAQ,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKC,KACpE;AAAA,SAEAC,KAAO;AAAA;AAAA;AAAA,IAEPA,KAAO;AAAA,IACFF,EAAI,UAAUA,EAAI,YACvBE,KAAO;AAAA;AAAA,IAEPA,KAAO;AAAA,IACFF,EAAI,UAAU,iBAAiBA,EAAI,UAAU,mBAClDE,KAAO;AAAA,4BACLD,IAAOD,EAAI,UAAU,cAAc,eAAe,iBAAkB,OAAO,KAAKC,KAClF;AAAA,KACKD,EAAI,UAAU,kBACnBE,KAAO;AAAA;AAAA,MAEPA,KAAO;AAAA,KACFF,EAAI,UAAU,kBACnBE,KAAO;AAAA;AAAA,MAEPA,KAAO;AAAA;AAAA,IAEPA,KAAO;AAAA,GACAA;AACP;AC3Ge,SAAAE,EAASJ,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,qBACFF,EAAI,QACTE,MACED,IAAOD,EAAI,UAAW,OAAO,KAAKC,IAEpCC,KAAO,KAEPA,KAAO;AAAA,GACAA;AACP;ACTA,MAAAG,IAAe,EAAE,MAAAN,GAAM,MAAAK,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/label/form.ejs","../../../../src/templates/tailwind/label/index.ts"],"sourcesContent":["<label\n ref=\"label\"\n class=\"col-form-label {{ctx.label.className}}\"\n for=\"{{ctx.instance.id}}-{{ctx.component.key}}\"\n id=\"l-{{ctx.instance.id}}-{{ctx.component.key}}\"\n>\n {{ ctx.t(ctx.component.label, { _userInput: true }) }}\n {% if (ctx.component.type === 'number' || ctx.component.type === 'phoneNumber' || ctx.component.type === 'currency') { %}\n <span class='sr-only'>, {{ctx.t('numeric only')}},</span>\n {% } %}\n {% if (ctx.component.tooltip) { %}\n <i ref=\"tooltip\" tabindex=\"0\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{ctx.component.tooltip}}\"></i>\n {% } %}\n</label>\n","import form from \"./form.ejs\";\nexport default { form };\n"],"names":["form","ctx","__t","__p","label"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/label/form.ejs","../../../../src/templates/tailwind/label/index.ts"],"sourcesContent":["<label\n ref=\"label\"\n class=\"col-form-label {{ctx.label.className}}\"\n for=\"{{ctx.instance.id}}-{{ctx.component.key}}\"\n id=\"l-{{ctx.instance.id}}-{{ctx.component.key}}\"\n>\n {{ ctx.t(ctx.component.label, { _userInput: true }) }}\n {% if (ctx.component.type === 'number' || ctx.component.type === 'phoneNumber' || ctx.component.type === 'currency') { %}\n <span class='sr-only'>, {{ctx.t('numeric only')}},</span>\n {% } %}\n {% if (ctx.component.tooltip) { %}\n <i ref=\"tooltip\" tabindex=\"0\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{ctx.component.tooltip}}\"></i>\n {% } %}\n</label>\n","import form from \"./form.ejs\";\nexport default { form };\n"],"names":["form","ctx","__t","__p","label"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA;AAAA,8BACLD,IAAOD,EAAI,MAAM,cAAe,OAAO,KAAKC,KAC9C;AAAA,aACEA,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA,cACEA,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA;AAAA,QACEA,IAAQD,EAAI,EAAEA,EAAI,UAAU,OAAO,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKC,KAC7E;AAAA,MACKD,EAAI,UAAU,SAAS,YAAYA,EAAI,UAAU,SAAS,iBAAiBA,EAAI,UAAU,SAAS,gBACvGE,KAAO;AAAA,kCACLD,IAAOD,EAAI,EAAE,cAAc,MAAO,OAAO,KAAKC,KAChD;AAAA,MAEAC,KAAO;AAAA,KACFF,EAAI,UAAU,YACnBE,KAAO;AAAA,+CACLD,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD,kCACEA,IAAOD,EAAI,UAAU,YAAa,OAAO,KAAKC,KAChD;AAAA,MAEAC,KAAO;AAAA;AAAA,GACAA;AACP;AC9BA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/loader/form.ejs","../../../../src/templates/tailwind/loader/index.ts"],"sourcesContent":["<div class=\"formio-loader\">\n <div class=\"loader-wrapper\">\n <div class=\"loader text-center\"></div>\n </div> \n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__p","loader"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/loader/form.ejs","../../../../src/templates/tailwind/loader/index.ts"],"sourcesContent":["<div class=\"formio-loader\">\n <div class=\"loader-wrapper\">\n <div class=\"loader text-center\"></div>\n </div> \n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__p","loader"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAAMC,IAAM;AACf,SAAAA,KAAO;AAAA;AAAA;AAAA;AAAA;AAAA,GACAA;AACP;ACFA,MAAAC,IAAe,EAAE,MAAAH,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/loading/form.ejs","../../../../src/templates/tailwind/loading/index.ts"],"sourcesContent":["{{ctx.t('Loading')}}...\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","loading"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/loading/form.ejs","../../../../src/templates/tailwind/loading/index.ts"],"sourcesContent":["{{ctx.t('Loading')}}...\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","loading"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,OACED,IAAOD,EAAI,EAAE,SAAS,MAAO,OAAO,KAAKC,KAC3C;AAAA,GACOC;AACP;ACJA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/map/form.ejs","../../../../src/templates/tailwind/map/index.ts"],"sourcesContent":["<div id=\"{{ctx.mapId}}\" style=\"min-height: 300px; height: calc(100vh - 600px);\" ref=\"gmapElement\"></div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","map"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/map/form.ejs","../../../../src/templates/tailwind/map/index.ts"],"sourcesContent":["<div id=\"{{ctx.mapId}}\" style=\"min-height: 300px; height: calc(100vh - 600px);\" ref=\"gmapElement\"></div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","map"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,gBACLD,IAAOD,EAAI,UAAW,OAAO,KAAKC,KACpC;AAAA,GACOC;AACP;ACJA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/message/form.ejs","../../../../src/templates/tailwind/message/index.ts"],"sourcesContent":["<div id=\"e-{{ctx.instance.id}}-{{ctx.key}}\" class=\"form-text {{ctx.level || 'error'}}\">{{ctx.message}}</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","message"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/message/form.ejs","../../../../src/templates/tailwind/message/index.ts"],"sourcesContent":["<div id=\"e-{{ctx.instance.id}}-{{ctx.key}}\" class=\"form-text {{ctx.level || 'error'}}\">{{ctx.message}}</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","message"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,kBACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,QAAS,OAAO,KAAKC,KAClC,0BACEA,IAAOD,EAAI,SAAS,YAAa,OAAO,KAAKC,KAC/C,SACEA,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA,GACOC;AACP;ACVA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/modalPreview/form.ejs","../../../../src/templates/tailwind/modalPreview/index.ts"],"sourcesContent":["<label id=\"l-{{ctx.component.key}}\" class=\"control-label {{ ctx.label.className }}\">\n {{ ctx.t(ctx.component.label, { _userInput: true }) }}<span ref=\"modalLabelValue\" class=\"sr-only\">. {{ ctx.component.type === 'signature' ? ctx.self.getValueAsString(ctx.previewText) : ctx.previewText }}</span>\n</label><br>\n<span class=\"sr-only\" ref=\"modalPreviewLiveRegion\" aria-live=\"assertive\"></span>\n<button\n lang=\"en\"\n class=\"btn btn-light btn-md open-modal-button form-control {{ctx.openModalBtnClasses || ''}}\"\n ref=\"openModal\"\n aria-labelledby=\"l-{{ctx.component.key}}\"\n>\n {{ ctx.previewText }}\n</button>\n<div class=\"formio-errors invalid-feedback\">\n {{ ctx.messages }}\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","modalPreview"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/modalPreview/form.ejs","../../../../src/templates/tailwind/modalPreview/index.ts"],"sourcesContent":["<label id=\"l-{{ctx.component.key}}\" class=\"control-label {{ ctx.label.className }}\">\n {{ ctx.t(ctx.component.label, { _userInput: true }) }}<span ref=\"modalLabelValue\" class=\"sr-only\">. {{ ctx.component.type === 'signature' ? ctx.self.getValueAsString(ctx.previewText) : ctx.previewText }}</span>\n</label><br>\n<span class=\"sr-only\" ref=\"modalPreviewLiveRegion\" aria-live=\"assertive\"></span>\n<button\n lang=\"en\"\n class=\"btn btn-light btn-md open-modal-button form-control {{ctx.openModalBtnClasses || ''}}\"\n ref=\"openModal\"\n aria-labelledby=\"l-{{ctx.component.key}}\"\n>\n {{ ctx.previewText }}\n</button>\n<div class=\"formio-errors invalid-feedback\">\n {{ ctx.messages }}\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","modalPreview"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,oBACLD,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C,8BACEA,IAAQD,EAAI,MAAM,cAAgB,OAAO,KAAKC,KAChD;AAAA,QACEA,IAAQD,EAAI,EAAEA,EAAI,UAAU,OAAO,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKC,KAC7E,qDACEA,IAAQD,EAAI,UAAU,SAAS,cAAcA,EAAI,KAAK,iBAAiBA,EAAI,WAAW,IAAIA,EAAI,gBAAkB,OAAO,KAAKC,KAC9H;AAAA;AAAA;AAAA;AAAA;AAAA,mEACEA,IAAOD,EAAI,uBAAuB,OAAQ,OAAO,KAAKC,KACxD;AAAA;AAAA,2BACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA;AAAA,QACEA,IAAQD,EAAI,gBAAkB,OAAO,KAAKC,KAC5C;AAAA;AAAA;AAAA,QACEA,IAAQD,EAAI,aAAe,OAAO,KAAKC,KACzC;AAAA;AAAA,GACOC;AACP;AClBA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/modaldialog/form.ejs","../../../../src/templates/tailwind/modaldialog/index.ts"],"sourcesContent":["<div class=\"formio-dialog formio-dialog-theme-default formio-modaledit-dialog\">\n <div ref=\"overlay\" class=\"formio-dialog-overlay\"></div>\n <div ref=\"content\" class=\"formio-modaledit-content\">\n <button\n ref=\"close\"\n type=\"button\"\n role=\"button\"\n class=\"btn btn-primary btn-xs formio-modaledit-close\">\n {{ctx.t('Close')}}\n </button>\n <div ref=\"inner\" class=\"reset-margins\"></div>\n </div>\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","modaldialog"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/modaldialog/form.ejs","../../../../src/templates/tailwind/modaldialog/index.ts"],"sourcesContent":["<div class=\"formio-dialog formio-dialog-theme-default formio-modaledit-dialog\">\n <div ref=\"overlay\" class=\"formio-dialog-overlay\"></div>\n <div ref=\"content\" class=\"formio-modaledit-content\">\n <button\n ref=\"close\"\n type=\"button\"\n role=\"button\"\n class=\"btn btn-primary btn-xs formio-modaledit-close\">\n {{ctx.t('Close')}}\n </button>\n <div ref=\"inner\" class=\"reset-margins\"></div>\n </div>\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","modaldialog"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YACLD,IAAOD,EAAI,EAAE,OAAO,MAAO,OAAO,KAAKC,KACzC;AAAA;AAAA;AAAA;AAAA;AAAA,GACOC;AACP;ACJA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/modaledit/form.ejs","../../../../src/templates/tailwind/modaledit/index.ts"],"sourcesContent":["<div ref=\"container\" class=\"formio-modaledit-view-container\">\n <button\n ref=\"edit\"\n type=\"button\"\n role=\"button\"\n class=\"btn btn-xxs btn-warning formio-modaledit-edit\">\n <i class=\"{{ctx.iconClass('edit')}}\"></i>\n </button>\n <div ref=\"input\" class=\"modaledit-view-inner reset-margins\">{{ctx.content}}</div>\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","modaledit"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/modaledit/form.ejs","../../../../src/templates/tailwind/modaledit/index.ts"],"sourcesContent":["<div ref=\"container\" class=\"formio-modaledit-view-container\">\n <button\n ref=\"edit\"\n type=\"button\"\n role=\"button\"\n class=\"btn btn-xxs btn-warning formio-modaledit-edit\">\n <i class=\"{{ctx.iconClass('edit')}}\"></i>\n </button>\n <div ref=\"input\" class=\"modaledit-view-inner reset-margins\">{{ctx.content}}</div>\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","modaledit"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBACLD,IAAOD,EAAI,UAAU,MAAM,MAAO,OAAO,KAAKC,KAChD;AAAA;AAAA,oEACEA,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA,GACOC;AACP;ACNA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/multiValueRow/form.ejs","../../../../src/templates/tailwind/multiValueRow/index.ts"],"sourcesContent":["<tr ref=\"row\">\n <td>\n {{ctx.element}}\n </td>\n {% if (!ctx.disabled) { %}\n <td>\n <button type=\"button\" class=\"btn btn-secondary\" ref=\"removeRow\">\n <i class=\"{{ctx.iconClass('remove-circle')}}\"></i>\n </button>\n </td>\n {% } %}\n</tr>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","multiValueRow"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/multiValueRow/form.ejs","../../../../src/templates/tailwind/multiValueRow/index.ts"],"sourcesContent":["<tr ref=\"row\">\n <td>\n {{ctx.element}}\n </td>\n {% if (!ctx.disabled) { %}\n <td>\n <button type=\"button\" class=\"btn btn-secondary\" ref=\"removeRow\">\n <i class=\"{{ctx.iconClass('remove-circle')}}\"></i>\n </button>\n </td>\n {% } %}\n</tr>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","multiValueRow"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA;AAAA,UACLD,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA,KACMD,EAAI,aACVE,KAAO;AAAA;AAAA;AAAA,sBACLD,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD;AAAA;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA,GACAA;AACP;ACXA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/multiValueTable/form.ejs","../../../../src/templates/tailwind/multiValueTable/index.ts"],"sourcesContent":["<table class=\"table table-bordered\">\n <tbody>\n {{ctx.rows}}\n {% if (!ctx.disabled) { %}\n <tr>\n <td colspan=\"2\">\n <button class=\"btn btn-primary formio-button-add-another\" ref=\"addButton\"><i class=\"{{ctx.iconClass('plus')}}\"></i> {{ctx.t(ctx.addAnother, { _userInput: true })}}</button>\n </td>\n </tr>\n {% } %}\n </tbody>\n</table>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","multiValueTable"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/multiValueTable/form.ejs","../../../../src/templates/tailwind/multiValueTable/index.ts"],"sourcesContent":["<table class=\"table table-bordered\">\n <tbody>\n {{ctx.rows}}\n {% if (!ctx.disabled) { %}\n <tr>\n <td colspan=\"2\">\n <button class=\"btn btn-primary formio-button-add-another\" ref=\"addButton\"><i class=\"{{ctx.iconClass('plus')}}\"></i> {{ctx.t(ctx.addAnother, { _userInput: true })}}</button>\n </td>\n </tr>\n {% } %}\n </tbody>\n</table>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","multiValueTable"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA;AAAA,QACLD,IAAOD,EAAI,SAAU,OAAO,KAAKC,KACnC;AAAA,KACMD,EAAI,aACVE,KAAO;AAAA;AAAA;AAAA,gGACLD,IAAOD,EAAI,UAAU,MAAM,MAAO,OAAO,KAAKC,KAChD,cACEA,IAAOD,EAAI,EAAEA,EAAI,YAAY,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKC,KACtE;AAAA;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;ACbA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/multipleMasksInput/form.ejs","../../../../src/templates/tailwind/multipleMasksInput/index.ts"],"sourcesContent":["<div\n class=\"input-group formio-multiple-mask-container\"\n ref=\"{{ctx.input.ref ? ctx.input.ref : 'input'}}\"\n>\n <select\n class=\"form-control formio-multiple-mask-select\"\n id=\"{{ctx.key}}-mask\"\n ref=\"select\"\n {% if (ctx.input.attr.disabled) { %}disabled{% } %}>\n {% ctx.selectOptions.forEach(function(option) { %}\n <option value=\"{{option.value}}\">{{option.label}}</option>\n {% }); %}\n </select>\n <input\n ref=\"mask\"\n {% for (var attr in ctx.input.attr) { %}\n {{attr}}=\"{{ctx.input.attr[attr]}}\"\n {% } %}\n >\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","option","attr","multipleMasksInput"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/multipleMasksInput/form.ejs","../../../../src/templates/tailwind/multipleMasksInput/index.ts"],"sourcesContent":["<div\n class=\"input-group formio-multiple-mask-container\"\n ref=\"{{ctx.input.ref ? ctx.input.ref : 'input'}}\"\n>\n <select\n class=\"form-control formio-multiple-mask-select\"\n id=\"{{ctx.key}}-mask\"\n ref=\"select\"\n {% if (ctx.input.attr.disabled) { %}disabled{% } %}>\n {% ctx.selectOptions.forEach(function(option) { %}\n <option value=\"{{option.value}}\">{{option.label}}</option>\n {% }); %}\n </select>\n <input\n ref=\"mask\"\n {% for (var attr in ctx.input.attr) { %}\n {{attr}}=\"{{ctx.input.attr[attr]}}\"\n {% } %}\n >\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","option","attr","multipleMasksInput"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,EAAAA,KAAO;AAAA;AAAA,aACLD,IAAOD,EAAI,MAAM,MAAMA,EAAI,MAAM,MAAM,YAAa,OAAO,KAAKC,KAClE;AAAA;AAAA;AAAA;AAAA,cACEA,IAAOD,EAAI,QAAS,OAAO,KAAKC,KAClC;AAAA;AAAA,OACKD,EAAI,MAAM,KAAK,aACpBE,KAAO,aAEPA,KAAO;AAAA,OACNF,EAAI,cAAc,QAAQ,SAASG,GAAQ;AAC5C,IAAAD,KAAO;AAAA,yBACLD,IAAOE,EAAO,UAAW,OAAO,KAAKF,KACvC,SACEA,IAAOE,EAAO,UAAW,OAAO,KAAKF,KACvC;AAAA;AAAA,EACC,CAAC,GACFC,KAAO;AAAA;AAAA;AAAA;AAAA;AACN,WAASE,KAAQJ,EAAI,MAAM;AAC5B,IAAAE,KAAO;AAAA,UACLD,IAAOG,MAAU,OAAO,KAAKH,KAC/B,SACEA,IAAOD,EAAI,MAAM,KAAKI,CAAI,MAAO,OAAO,KAAKH,KAC/C;AAAA;AAEA,SAAAC,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;AC3BA,MAAAG,IAAe,EAAE,MAAAN,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/panel/form.ejs","../../../../src/templates/tailwind/panel/index.ts"],"sourcesContent":["<div class=\"mb-2 card border\">\n {% if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { %}\n <div class=\"card-header {{ctx.transform('class', 'bg-' + ctx.component.theme)}}\"\n {% if (ctx.component.collapsible) { %}\n tabindex=\"0\"\n {% } %}\n role=\"button\"\n aria-expanded=\"{{ctx.component.collapsible ? !ctx.collapsed : true}}\"\n aria-controls=\"{{ctx.instance.id}}-{{ctx.component.key}}\"\n ref=\"header\"\n >\n <span class=\"mb-0 card-title {% if (ctx.component.theme && ctx.component.theme !== 'default') { %}text-light{% } %}\">\n {% if (ctx.component.collapsible) { %}\n <i class=\"formio-collapse-icon {{ctx.iconClass(ctx.collapsed ? 'plus-square-o' : 'minus-square-o')}} text-muted\" data-title=\"Collapse Panel\"></i>\n {% } %}\n {% if (!ctx.component.hideLabel || ctx.builder) { %}\n {{ctx.t(ctx.component.title, { _userInput: true })}}\n {% } %}\n {% if (ctx.component.tooltip) { %}\n <i ref=\"tooltip\" tabindex=\"0\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{ctx.component.tooltip}}\"></i>\n {% } %}\n </span>\n </div>\n {% } %}\n {% if (!ctx.collapsed || ctx.builder) { %}\n <div class=\"card-body\" ref=\"{{ctx.nestedKey}}\" id=\"{{ctx.instance.id}}-{{ctx.component.key}}\">\n {{ctx.children}}\n </div>\n {% } %}\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","panel"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/panel/form.ejs","../../../../src/templates/tailwind/panel/index.ts"],"sourcesContent":["<div class=\"mb-2 card border\">\n {% if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { %}\n <div class=\"card-header {{ctx.transform('class', 'bg-' + ctx.component.theme)}}\"\n {% if (ctx.component.collapsible) { %}\n tabindex=\"0\"\n {% } %}\n role=\"button\"\n aria-expanded=\"{{ctx.component.collapsible ? !ctx.collapsed : true}}\"\n aria-controls=\"{{ctx.instance.id}}-{{ctx.component.key}}\"\n ref=\"header\"\n >\n <span class=\"mb-0 card-title {% if (ctx.component.theme && ctx.component.theme !== 'default') { %}text-light{% } %}\">\n {% if (ctx.component.collapsible) { %}\n <i class=\"formio-collapse-icon {{ctx.iconClass(ctx.collapsed ? 'plus-square-o' : 'minus-square-o')}} text-muted\" data-title=\"Collapse Panel\"></i>\n {% } %}\n {% if (!ctx.component.hideLabel || ctx.builder) { %}\n {{ctx.t(ctx.component.title, { _userInput: true })}}\n {% } %}\n {% if (ctx.component.tooltip) { %}\n <i ref=\"tooltip\" tabindex=\"0\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{ctx.component.tooltip}}\"></i>\n {% } %}\n </span>\n </div>\n {% } %}\n {% if (!ctx.collapsed || ctx.builder) { %}\n <div class=\"card-body\" ref=\"{{ctx.nestedKey}}\" id=\"{{ctx.instance.id}}-{{ctx.component.key}}\">\n {{ctx.children}}\n </div>\n {% } %}\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","panel"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA,MACF,CAACF,EAAI,UAAU,aAAaA,EAAI,WAAWA,EAAI,UAAU,eAAeA,EAAI,UAAU,aAC3FE,KAAO;AAAA,gCACLD,IAAOD,EAAI,UAAU,SAAS,QAAQA,EAAI,UAAU,KAAK,MAAO,OAAO,KAAKC,KAC9E;AAAA,OACKD,EAAI,UAAU,gBACnBE,KAAO;AAAA;AAAA,QAEPA,KAAO;AAAA;AAAA,yBACLD,IAAOD,EAAI,UAAU,cAAc,CAACA,EAAI,YAAY,OAAU,OAAO,KAAKC,KAC5E;AAAA,yBACEA,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA;AAAA;AAAA,oCACKD,EAAI,UAAU,SAASA,EAAI,UAAU,UAAU,cACpDE,KAAO,eAEPA,KAAO;AAAA,SACFF,EAAI,UAAU,gBACnBE,KAAO;AAAA,6CACLD,IAAOD,EAAI,UAAUA,EAAI,YAAY,kBAAkB,gBAAgB,MAAO,OAAO,KAAKC,KAC5F;AAAA,UAEAC,KAAO;AAAA,UACF,CAACF,EAAI,UAAU,aAAaA,EAAI,aACrCE,KAAO;AAAA,YACLD,IAAOD,EAAI,EAAEA,EAAI,UAAU,OAAO,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKC,KAC3E;AAAA,UAEAC,KAAO;AAAA,SACFF,EAAI,UAAU,YACnBE,KAAO;AAAA,mDACLD,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD,kCACEA,IAAOD,EAAI,UAAU,YAAa,OAAO,KAAKC,KAChD;AAAA,UAEAC,KAAO;AAAA;AAAA;AAAA,MAEPA,KAAO;AAAA,MACF,CAACF,EAAI,aAAaA,EAAI,aAC3BE,KAAO;AAAA,oCACLD,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC,aACEA,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA,UACEA,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA,GACAA;AACP;ACvDA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/pdf/form.ejs","../../../../src/templates/tailwind/pdf/index.ts"],"sourcesContent":["<div class=\"{{ctx.classes}}\" ref=\"webform\">\n\t<button data-noattach=\"true\" ref=\"zoomIn\" style=\"position:absolute;right:10px;top:10px;cursor:pointer;\" class=\"btn btn-default btn-secondary no-disable\">\n\t\t<i class=\"{{ ctx.iconClass('zoom-in') }}\"></i>\n\t</button>\n\t<button data-noattach=\"true\" ref=\"zoomOut\" style=\"position:absolute;right:10px;top:60px;cursor:pointer;\" class=\"btn btn-default btn-secondary no-disable\">\n\t\t<i class=\"{{ ctx.iconClass('zoom-out') }}\"></i>\n\t</button>\n <div data-noattach=\"true\" ref=\"iframeContainer\"></div>\n {{ ctx.submitButton }}\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","pdf"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/pdf/form.ejs","../../../../src/templates/tailwind/pdf/index.ts"],"sourcesContent":["<div class=\"{{ctx.classes}}\" ref=\"webform\">\n\t<button data-noattach=\"true\" ref=\"zoomIn\" style=\"position:absolute;right:10px;top:10px;cursor:pointer;\" class=\"btn btn-default btn-secondary no-disable\">\n\t\t<i class=\"{{ ctx.iconClass('zoom-in') }}\"></i>\n\t</button>\n\t<button data-noattach=\"true\" ref=\"zoomOut\" style=\"position:absolute;right:10px;top:60px;cursor:pointer;\" class=\"btn btn-default btn-secondary no-disable\">\n\t\t<i class=\"{{ ctx.iconClass('zoom-out') }}\"></i>\n\t</button>\n <div data-noattach=\"true\" ref=\"iframeContainer\"></div>\n {{ ctx.submitButton }}\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","pdf"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,mBACLD,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA,kBACEA,IAAQD,EAAI,UAAU,SAAS,MAAQ,OAAO,KAAKC,KACrD;AAAA;AAAA;AAAA,kBACEA,IAAQD,EAAI,UAAU,UAAU,MAAQ,OAAO,KAAKC,KACtD;AAAA;AAAA;AAAA,QACEA,IAAQD,EAAI,iBAAmB,OAAO,KAAKC,KAC7C;AAAA;AAAA,GACOC;AACP;ACVA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/pdfBuilder/form.ejs","../../../../src/templates/tailwind/pdfBuilder/index.ts"],"sourcesContent":["<div class=\"formio builder grid grid-cols-12 gap-4 formbuilder\">\n <div class=\"col-span-12 xs:col-span-4 sm:col-span-3 md:col-span-2 formcomponents\">\n {{ctx.sidebar}}\n </div>\n <div class=\"col-span-12 xs:col-span-8 sm:col-span-9 md:col-span-10 formarea\" ref=\"form\">\n\t <div class=\"formio-drop-zone\" ref=\"iframeDropzone\"></div>\n {{ctx.form}}\n </div>\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","pdfBuilder"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/pdfBuilder/form.ejs","../../../../src/templates/tailwind/pdfBuilder/index.ts"],"sourcesContent":["<div class=\"formio builder grid grid-cols-12 gap-4 formbuilder\">\n <div class=\"col-span-12 xs:col-span-4 sm:col-span-3 md:col-span-2 formcomponents\">\n {{ctx.sidebar}}\n </div>\n <div class=\"col-span-12 xs:col-span-8 sm:col-span-9 md:col-span-10 formarea\" ref=\"form\">\n\t <div class=\"formio-drop-zone\" ref=\"iframeDropzone\"></div>\n {{ctx.form}}\n </div>\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","pdfBuilder"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO;AAAA;AAAA,UACLD,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA;AAAA;AAAA,UACEA,IAAOD,EAAI,SAAU,OAAO,KAAKC,KACnC;AAAA;AAAA;AAAA,GACOC;AACP;ACNA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/pdfBuilderUpload/form.ejs","../../../../src/templates/tailwind/pdfBuilderUpload/index.ts"],"sourcesContent":["<div class=\"pdf-upload formio-component-file\">\n <h3 class=\"label\">{{ctx.t('Upload a PDF File')}}</h3>\n <input type=\"file\" style=\"opacity: 0; position: absolute;\" tabindex=\"-1\" accept=\".pdf\" ref=\"hiddenFileInputElement\">\n <div class=\"fileSelector\" ref=\"fileDrop\">\n <span ref=\"dragDropText\">\n <i class=\"{{ctx.iconClass('cloud-upload')}}\"></i>{{ctx.t('Drop pdf to start, or')}} <a href=\"#\" ref=\"fileBrowse\" class=\"browse\">{{ctx.t('browse')}}</a>\n </span>\n <div class=\"progress pdf-progress\" ref=\"uploadProgressWrapper\" style=\"display:none;\">\n <div class=\"progress-bar\" ref=\"uploadProgress\" role=\"progressbar\" aria-valuenow=\"0\" aria-valuemin=\"0\" aria-valuemax=\"100\"></div>\n </div>\n </div>\n <div class=\"alert alert-danger\" ref=\"uploadError\">\n\n </div>\n</div>\n\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","pdfBuilderUpload"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/pdfBuilderUpload/form.ejs","../../../../src/templates/tailwind/pdfBuilderUpload/index.ts"],"sourcesContent":["<div class=\"pdf-upload formio-component-file\">\n <h3 class=\"label\">{{ctx.t('Upload a PDF File')}}</h3>\n <input type=\"file\" style=\"opacity: 0; position: absolute;\" tabindex=\"-1\" accept=\".pdf\" ref=\"hiddenFileInputElement\">\n <div class=\"fileSelector\" ref=\"fileDrop\">\n <span ref=\"dragDropText\">\n <i class=\"{{ctx.iconClass('cloud-upload')}}\"></i>{{ctx.t('Drop pdf to start, or')}} <a href=\"#\" ref=\"fileBrowse\" class=\"browse\">{{ctx.t('browse')}}</a>\n </span>\n <div class=\"progress pdf-progress\" ref=\"uploadProgressWrapper\" style=\"display:none;\">\n <div class=\"progress-bar\" ref=\"uploadProgress\" role=\"progressbar\" aria-valuenow=\"0\" aria-valuemin=\"0\" aria-valuemax=\"100\"></div>\n </div>\n </div>\n <div class=\"alert alert-danger\" ref=\"uploadError\">\n\n </div>\n</div>\n\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","pdfBuilderUpload"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO;AAAA,0BACLD,IAAOD,EAAI,EAAE,mBAAmB,MAAO,OAAO,KAAKC,KACrD;AAAA;AAAA;AAAA;AAAA,sBACEA,IAAOD,EAAI,UAAU,cAAc,MAAO,OAAO,KAAKC,KACxD,aACEA,IAAOD,EAAI,EAAE,uBAAuB,MAAO,OAAO,KAAKC,KACzD,oDACEA,IAAOD,EAAI,EAAE,QAAQ,MAAO,OAAO,KAAKC,KAC1C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACOC;AACP;ACVA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/radio/form.ejs","../../../../src/templates/tailwind/radio/html.ejs","../../../../src/templates/tailwind/radio/index.ts"],"sourcesContent":["<div\n class=\"form-radio radio\"\n ref=\"radioGroup\"\n role=\"{{ctx.component.type === 'selectboxes' ? 'group' : 'radiogroup'}}\"\n aria-required=\"{{ctx.input.component.validate.required}}\"\n aria-labelledby=\"l-{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% if (ctx.component.description) { %}\n aria-describedby=\"d-{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% } %}\n>\n {% ctx.values.forEach(function(item) { %}\n <div class=\"{{ctx.input.attr.type}} {{ ctx.component.optionsLabelPosition && ctx.component.optionsLabelPosition !== 'right' ? 'pl-0' : ''}} form-check{{ctx.inline ? '-inline' : ''}}\" ref=\"wrapper\">\n <label class=\"form-check-label label-position-{{ ctx.component.optionsLabelPosition }}\" for=\"{{ctx.instance.root && ctx.instance.root.id}}-{{ctx.id}}-{{ctx.row}}-{{item.value}}\">\n {% if (ctx.component.optionsLabelPosition === 'left' || ctx.component.optionsLabelPosition === 'top') { %}\n <span>{{ctx.t(item.label, { _userInput: true })}}</span>\n {% } %}\n <{{ctx.input.type}}\n ref=\"input\"\n {% for (var attr in ctx.input.attr) { %}\n {{attr}}=\"{{ctx.input.attr[attr]}}\"\n {% } %}\n value=\"{{item.value}}\"\n {% if (ctx.value && (ctx.value === item.value || (typeof ctx.value === 'object' && ctx.value.hasOwnProperty(item.value) && ctx.value[item.value]))) { %}\n checked=true\n {% } %}\n {% if (item.disabled) { %}\n disabled=true\n {% } %}\n id=\"{{ctx.instance.root && ctx.instance.root.id}}-{{ctx.id}}-{{ctx.row}}-{{item.value}}\"\n role=\"{{ctx.component.type === 'selectboxes' ? 'checkbox' : 'radio'}}\"\n >\n {% if (!ctx.component.optionsLabelPosition || ctx.component.optionsLabelPosition === 'right' || ctx.component.optionsLabelPosition === 'bottom') { %}\n <span>{{ctx.t(item.label, { _userInput: true })}}</span>\n {% } %}\n </label>\n </div>\n {% }) %}\n</div>\n","<div ref=\"value\">\n {% var filtered = ctx.values.filter(function(item) {return ctx.value === item.value || (typeof ctx.value === 'object' && ctx.value.hasOwnProperty(item.value) && ctx.value[item.value])}).map(function(item) { return ctx.t(item.label, { _userInput: true })}).join(', ') %}\n {{ filtered }}\n</div>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","item","attr","html","filtered","radio"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/radio/form.ejs","../../../../src/templates/tailwind/radio/html.ejs","../../../../src/templates/tailwind/radio/index.ts"],"sourcesContent":["<div\n class=\"form-radio radio\"\n ref=\"radioGroup\"\n role=\"{{ctx.component.type === 'selectboxes' ? 'group' : 'radiogroup'}}\"\n aria-required=\"{{ctx.input.component.validate.required}}\"\n aria-labelledby=\"l-{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% if (ctx.component.description) { %}\n aria-describedby=\"d-{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% } %}\n>\n {% ctx.values.forEach(function(item) { %}\n <div class=\"{{ctx.input.attr.type}} {{ ctx.component.optionsLabelPosition && ctx.component.optionsLabelPosition !== 'right' ? 'pl-0' : ''}} form-check{{ctx.inline ? '-inline' : ''}}\" ref=\"wrapper\">\n <label class=\"form-check-label label-position-{{ ctx.component.optionsLabelPosition }}\" for=\"{{ctx.instance.root && ctx.instance.root.id}}-{{ctx.id}}-{{ctx.row}}-{{item.value}}\">\n {% if (ctx.component.optionsLabelPosition === 'left' || ctx.component.optionsLabelPosition === 'top') { %}\n <span>{{ctx.t(item.label, { _userInput: true })}}</span>\n {% } %}\n <{{ctx.input.type}}\n ref=\"input\"\n {% for (var attr in ctx.input.attr) { %}\n {{attr}}=\"{{ctx.input.attr[attr]}}\"\n {% } %}\n value=\"{{item.value}}\"\n {% if (ctx.value && (ctx.value === item.value || (typeof ctx.value === 'object' && ctx.value.hasOwnProperty(item.value) && ctx.value[item.value]))) { %}\n checked=true\n {% } %}\n {% if (item.disabled) { %}\n disabled=true\n {% } %}\n id=\"{{ctx.instance.root && ctx.instance.root.id}}-{{ctx.id}}-{{ctx.row}}-{{item.value}}\"\n role=\"{{ctx.component.type === 'selectboxes' ? 'checkbox' : 'radio'}}\"\n >\n {% if (!ctx.component.optionsLabelPosition || ctx.component.optionsLabelPosition === 'right' || ctx.component.optionsLabelPosition === 'bottom') { %}\n <span>{{ctx.t(item.label, { _userInput: true })}}</span>\n {% } %}\n </label>\n </div>\n {% }) %}\n</div>\n","<div ref=\"value\">\n {% var filtered = ctx.values.filter(function(item) {return ctx.value === item.value || (typeof ctx.value === 'object' && ctx.value.hasOwnProperty(item.value) && ctx.value[item.value])}).map(function(item) { return ctx.t(item.label, { _userInput: true })}).join(', ') %}\n {{ filtered }}\n</div>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","item","attr","html","filtered","radio"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA;AAAA;AAAA,cACLD,IAAOD,EAAI,UAAU,SAAS,gBAAgB,UAAU,iBAAkB,OAAO,KAAKC,KACxF;AAAA,uBACEA,IAAOD,EAAI,MAAM,UAAU,SAAS,aAAc,OAAO,KAAKC,KAChE;AAAA,2BAC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AAI,EAAEG,EAAK,OAAO,EAAE,YAAY,GAAI,CAAE;AAAA,EAAC,CAAC,EAAE,KAAK,IAAI;AACvQ,SAAAD,KAAO;AAAA,QACLD,IAAQK,MAAe,OAAO,KAAKL,KACrC;AAAA;AAAA,GACOC;AACP;ACNA,MAAAK,IAAe,EAAE,MAAAR,GAAM,MAAAM,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/resourceAdd/form.ejs","../../../../src/templates/tailwind/resourceAdd/index.ts"],"sourcesContent":["<table class=\"table table-bordered\">\n <tbody>\n <tr>\n <td>\n {{ctx.element}}\n </td>\n </tr>\n <tr>\n <td colspan=\"2\">\n <button class=\"btn btn-primary formio-button-add-resource\" ref=\"addResource\">\n <i class=\"{{ctx.iconClass('plus')}} mr-1\"></i>\n {{ctx.t(ctx.component.addResourceLabel || 'Add Resource', { _userInput: true })}}\n </button>\n </td>\n </tr>\n </tbody>\n</table>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","resourceAdd"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/resourceAdd/form.ejs","../../../../src/templates/tailwind/resourceAdd/index.ts"],"sourcesContent":["<table class=\"table table-bordered\">\n <tbody>\n <tr>\n <td>\n {{ctx.element}}\n </td>\n </tr>\n <tr>\n <td colspan=\"2\">\n <button class=\"btn btn-primary formio-button-add-resource\" ref=\"addResource\">\n <i class=\"{{ctx.iconClass('plus')}} mr-1\"></i>\n {{ctx.t(ctx.component.addResourceLabel || 'Add Resource', { _userInput: true })}}\n </button>\n </td>\n </tr>\n </tbody>\n</table>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","resourceAdd"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO;AAAA;AAAA;AAAA;AAAA,cACLD,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BACEA,IAAOD,EAAI,UAAU,MAAM,MAAO,OAAO,KAAKC,KAChD;AAAA,gBACEA,IAAOD,EAAI,EAAEA,EAAI,UAAU,oBAAoB,gBAAgB,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKC,KACxG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACOC;AACP;ACRA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/select/form.ejs","../../../../src/templates/tailwind/select/html.ejs","../../../../src/templates/tailwind/select/index.ts"],"sourcesContent":["<select\n ref=\"{{ctx.input.ref ? ctx.input.ref : 'selectContainer'}}\"\n {{ ctx.input.multiple ? 'multiple' : '' }}\n {% for (var attr in ctx.input.attr) { %}\n {{attr}}=\"{{ctx.input.attr[attr]}}\"\n {% } %}\n {% if (!ctx.input.attr.id) { %}\n id=\"{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% } %}\n {% if (ctx.component.description) { %}\n aria-describedby=\"d-{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% } %}\n aria-required=\"{{ctx.input.ref === 'selectContainer' || !ctx.input.ref ? ctx.input.component.validate.required : ctx.component.fields[ctx.input.ref].required}}\"\n>{{ctx.selectOptions}}</select>\n<input type=\"text\"\n class=\"formio-select-autocomplete-input\"\n ref=\"autocompleteInput\"\n {% if (ctx.input.attr.autocomplete) { %}\n autocomplete=\"{{ctx.input.attr.autocomplete}}\"\n {% } %}\n tabindex=\"-1\"\n aria-label=\"{{ctx.t('autocomplete')}}\"\n/>\n","<div ref=\"value\">{% if (ctx.value) { %}{{ ctx.self.itemValueForHTMLMode(ctx.value) }}{% } else { %}-{% } %}</div>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","attr","html","select"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/select/form.ejs","../../../../src/templates/tailwind/select/html.ejs","../../../../src/templates/tailwind/select/index.ts"],"sourcesContent":["<select\n ref=\"{{ctx.input.ref ? ctx.input.ref : 'selectContainer'}}\"\n {{ ctx.input.multiple ? 'multiple' : '' }}\n {% for (var attr in ctx.input.attr) { %}\n {{attr}}=\"{{ctx.input.attr[attr]}}\"\n {% } %}\n {% if (!ctx.input.attr.id) { %}\n id=\"{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% } %}\n {% if (ctx.component.description) { %}\n aria-describedby=\"d-{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% } %}\n aria-required=\"{{ctx.input.ref === 'selectContainer' || !ctx.input.ref ? ctx.input.component.validate.required : ctx.component.fields[ctx.input.ref].required}}\"\n>{{ctx.selectOptions}}</select>\n<input type=\"text\"\n class=\"formio-select-autocomplete-input\"\n ref=\"autocompleteInput\"\n {% if (ctx.input.attr.autocomplete) { %}\n autocomplete=\"{{ctx.input.attr.autocomplete}}\"\n {% } %}\n tabindex=\"-1\"\n aria-label=\"{{ctx.t('autocomplete')}}\"\n/>\n","<div ref=\"value\">{% if (ctx.value) { %}{{ ctx.self.itemValueForHTMLMode(ctx.value) }}{% } else { %}-{% } %}</div>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","attr","html","select"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,EAAAA,KAAO;AAAA,aACLD,IAAOD,EAAI,MAAM,MAAMA,EAAI,MAAM,MAAM,sBAAuB,OAAO,KAAKC,KAC5E;AAAA,QACEA,IAAQD,EAAI,MAAM,WAAW,aAAa,OAAS,OAAO,KAAKC,KACjE;AAAA;AACC,WAASE,KAAQH,EAAI,MAAM;AAC5B,IAAAE,KAAO;AAAA,QACLD,IAAOE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"index.js","sources":["../../../../src/templates/tailwind/selectOption/form.ejs","../../../../src/templates/tailwind/selectOption/html.ejs","../../../../src/templates/tailwind/selectOption/index.ts"],"sourcesContent":["<option {{ ctx.selected ? 'selected=\"selected\"' : '' }}\n value='{{ctx.useId ? ctx.id : ctx.option.value}}'\n {% for (var attr in ctx.attrs) { %}\n {{attr}}=\"{{ctx.attrs[attr]}}\"\n {% } %}\n >\n {{ctx.t(ctx.option.label, { _userInput: true })}}\n</option>\n","{% if (ctx.selected) { %}{{ctx.t(ctx.option.label, { _userInput: true })}}{% } %}\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","attr","html","selectOption"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/selectOption/form.ejs","../../../../src/templates/tailwind/selectOption/html.ejs","../../../../src/templates/tailwind/selectOption/index.ts"],"sourcesContent":["<option {{ ctx.selected ? 'selected=\"selected\"' : '' }}\n value='{{ctx.useId ? ctx.id : ctx.option.value}}'\n {% for (var attr in ctx.attrs) { %}\n {{attr}}=\"{{ctx.attrs[attr]}}\"\n {% } %}\n >\n {{ctx.t(ctx.option.label, { _userInput: true })}}\n</option>\n","{% if (ctx.selected) { %}{{ctx.t(ctx.option.label, { _userInput: true })}}{% } %}\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","attr","html","selectOption"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,EAAAA,KAAO,eACLD,IAAQD,EAAI,WAAW,wBAAwB,OAAS,OAAO,KAAKC,KACtE;AAAA,eACEA,IAAOD,EAAI,QAAQA,EAAI,KAAKA,EAAI,OAAO,UAAW,OAAO,KAAKC,KAChE;AAAA;AACC,WAASE,KAAQH,EAAI;AACtB,IAAAE,KAAO;AAAA,QACLD,IAAOE,MAAU,OAAO,KAAKF,KAC/B,SACEA,IAAOD,EAAI,MAAMG,CAAI,MAAO,OAAO,KAAKF,KAC1C;AAAA;AAEA,SAAAC,KAAO;AAAA;AAAA,QACLD,IAAOD,EAAI,EAAEA,EAAI,OAAO,OAAO,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKC,KACxE;AAAA;AAAA,GACOC;AACP;ACnBe,SAAAE,EAASJ,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAGd,SAAIF,EAAI,aACTE,MACED,IAAOD,EAAI,EAAEA,EAAI,OAAO,OAAO,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKC,IAExEC,KAAO;AAAA,GACAA;AACP;ACPA,MAAAG,IAAe,EAAE,MAAAN,GAAM,MAAAK,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/signature/form.ejs","../../../../src/templates/tailwind/signature/html.ejs","../../../../src/templates/tailwind/signature/index.ts"],"sourcesContent":["{{ctx.element}}\n<div\n class=\"signature-pad-body\"\n style=\"width: {{ctx.component.width}};height: {{ctx.component.height}};padding:0;margin:0;\"\n tabindex=\"{{ctx.component.tabindex || 0}}\"\n ref=\"padBody\"\n>\n <button class=\"btn btn-sm btn-light signature-pad-refresh\" ref=\"refresh\">\n <i class=\"{{ctx.iconClass('refresh')}}\"></i>\n </button>\n <canvas class=\"signature-pad-canvas\" style=\"display: none;\" height=\"{{ctx.component.height}}\" ref=\"canvas\"></canvas>\n {% if (ctx.required) { %}\n <span class=\"form-control-feedback field-required-inline text-danger\">\n <i class=\"{{ctx.iconClass('asterisk')}}\"></i>\n </span>\n {% } %}\n <img style=\"width: 100%;display: inherit;\" ref=\"signatureImage\">\n</div>\n{% if (ctx.component.footer) { %}\n <div class=\"signature-pad-footer\">\n {{ctx.t(ctx.component.footer, { _userInput: true })}}\n </div>\n{% } %}\n","<img style=\"width: 100%;\" ref=\"signatureImage\">\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","html","signature"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/signature/form.ejs","../../../../src/templates/tailwind/signature/html.ejs","../../../../src/templates/tailwind/signature/index.ts"],"sourcesContent":["{{ctx.element}}\n<div\n class=\"signature-pad-body\"\n style=\"width: {{ctx.component.width}};height: {{ctx.component.height}};padding:0;margin:0;\"\n tabindex=\"{{ctx.component.tabindex || 0}}\"\n ref=\"padBody\"\n>\n <button class=\"btn btn-sm btn-light signature-pad-refresh\" ref=\"refresh\">\n <i class=\"{{ctx.iconClass('refresh')}}\"></i>\n </button>\n <canvas class=\"signature-pad-canvas\" style=\"display: none;\" height=\"{{ctx.component.height}}\" ref=\"canvas\"></canvas>\n {% if (ctx.required) { %}\n <span class=\"form-control-feedback field-required-inline text-danger\">\n <i class=\"{{ctx.iconClass('asterisk')}}\"></i>\n </span>\n {% } %}\n <img style=\"width: 100%;display: inherit;\" ref=\"signatureImage\">\n</div>\n{% if (ctx.component.footer) { %}\n <div class=\"signature-pad-footer\">\n {{ctx.t(ctx.component.footer, { _userInput: true })}}\n </div>\n{% } %}\n","<img style=\"width: 100%;\" ref=\"signatureImage\">\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","html","signature"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,OACED,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA;AAAA,sBACEA,IAAOD,EAAI,UAAU,UAAW,OAAO,KAAKC,KAC9C,gBACEA,IAAOD,EAAI,UAAU,WAAY,OAAO,KAAKC,KAC/C;AAAA,kBACEA,IAAOD,EAAI,UAAU,YAAY,MAAO,OAAO,KAAKC,KACtD;AAAA;AAAA;AAAA;AAAA,oBACEA,IAAOD,EAAI,UAAU,SAAS,MAAO,OAAO,KAAKC,KACnD;AAAA;AAAA,4EACEA,IAAOD,EAAI,UAAU,WAAY,OAAO,KAAKC,KAC/C;AAAA,KACKD,EAAI,aACTE,KAAO;AAAA;AAAA,oBACLD,IAAOD,EAAI,UAAU,UAAU,MAAO,OAAO,KAAKC,KACpD;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA;AAAA,GACFF,EAAI,UAAU,WACnBE,KAAO;AAAA;AAAA,UACLD,IAAOD,EAAI,EAAEA,EAAI,UAAU,QAAQ,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKC,KAC5E;AAAA;AAAA,IAEAC,KAAO;AAAA,GACAA;AACP;AC7Be,SAAAC,EAASH,GAAK;AAC1B,MAAME,IAAM;AACf,SAAAA,KAAO;AAAA,GACAA;AACP;ACDA,MAAAE,IAAe,EAAE,MAAAL,GAAM,MAAAI,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/survey/form.ejs","../../../../src/templates/tailwind/survey/html.ejs","../../../../src/templates/tailwind/survey/index.ts"],"sourcesContent":["<table class=\"table table-striped table-bordered\" aria-labelledby=\"l-{{ctx.instance.id}}-{{ctx.component.key}}\">\n <thead>\n <tr>\n <th></th>\n {% ctx.component.values.forEach(function(value) { %}\n <th style=\"text-align: center;\">\n {{ctx.t(value.label, { _userInput: true })}}\n {% if (value.tooltip) { %}\n <i ref=\"tooltip\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{value.tooltip}}\"></i>\n {% } %}\n </th>\n {% }) %}\n </tr>\n </thead>\n <tbody>\n {% ctx.component.questions.forEach(function(question) { %}\n <tr>\n <td>\n {{ctx.t(question.label)}}\n {% if (question.tooltip) { %}\n <i ref=\"tooltip\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{question.tooltip}}\"></i>\n {% } %}\n </td>\n {% ctx.component.values.forEach(function(value) { %}\n <td style=\"text-align: center;\">\n <input type=\"radio\" name=\"{{ ctx.self.getInputName(question) }}\" value=\"{{value.value}}\" id=\"{{ctx.key}}-{{question.value}}-{{value.value}}\" ref=\"input\">\n </td>\n {% }) %}\n </tr>\n {% }) %}\n </tbody>\n</table>\n","<table class=\"table table-striped table-bordered\">\n <tbody>\n {% ctx.component.questions.forEach(function(question) { %}\n <tr>\n <th>{{ctx.t(question.label)}}</th>\n <td>\n {% ctx.component.values.forEach(function(item) { %}\n {% if (ctx.value && ctx.value.hasOwnProperty(question.value) && ctx.value[question.value] === item.value) { %}\n {{ctx.t(item.label)}}\n {% } %}\n {% }) %}\n </td>\n </tr>\n {% }) %}\n </tbody>\n</table>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","value","question","html","item","survey"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/survey/form.ejs","../../../../src/templates/tailwind/survey/html.ejs","../../../../src/templates/tailwind/survey/index.ts"],"sourcesContent":["<table class=\"table table-striped table-bordered\" aria-labelledby=\"l-{{ctx.instance.id}}-{{ctx.component.key}}\">\n <thead>\n <tr>\n <th></th>\n {% ctx.component.values.forEach(function(value) { %}\n <th style=\"text-align: center;\">\n {{ctx.t(value.label, { _userInput: true })}}\n {% if (value.tooltip) { %}\n <i ref=\"tooltip\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{value.tooltip}}\"></i>\n {% } %}\n </th>\n {% }) %}\n </tr>\n </thead>\n <tbody>\n {% ctx.component.questions.forEach(function(question) { %}\n <tr>\n <td>\n {{ctx.t(question.label)}}\n {% if (question.tooltip) { %}\n <i ref=\"tooltip\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{question.tooltip}}\"></i>\n {% } %}\n </td>\n {% ctx.component.values.forEach(function(value) { %}\n <td style=\"text-align: center;\">\n <input type=\"radio\" name=\"{{ ctx.self.getInputName(question) }}\" value=\"{{value.value}}\" id=\"{{ctx.key}}-{{question.value}}-{{value.value}}\" ref=\"input\">\n </td>\n {% }) %}\n </tr>\n {% }) %}\n </tbody>\n</table>\n","<table class=\"table table-striped table-bordered\">\n <tbody>\n {% ctx.component.questions.forEach(function(question) { %}\n <tr>\n <th>{{ctx.t(question.label)}}</th>\n <td>\n {% ctx.component.values.forEach(function(item) { %}\n {% if (ctx.value && ctx.value.hasOwnProperty(question.value) && ctx.value[question.value] === item.value) { %}\n {{ctx.t(item.label)}}\n {% } %}\n {% }) %}\n </td>\n </tr>\n {% }) %}\n </tbody>\n</table>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","value","question","html","item","survey"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,4EACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA;AAAA;AAAA;AAAA,SACCD,EAAI,UAAU,OAAO,QAAQ,SAASG,GAAO;AAC9C,IAAAD,KAAO;AAAA;AAAA,cACLD,IAAOD,EAAI,EAAEG,EAAM,OAAO,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKF,KACnE;AAAA,WACKE,EAAM,YACXD,KAAO;AAAA,wCACLD,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD,kCACEA,IAAOE,EAAM,YAAa,OAAO,KAAKF,KACxC;AAAA,YAEAC,KAAO;AAAA;AAAA;AAAA,EACN,CAAC,GACFA,KAAO;AAAA;AAAA;AAAA;AAAA,OACNF,EAAI,UAAU,UAAU,QAAQ,SAASI,GAAU;AACpD,IAAAF,KAAO;AAAA;AAAA;AAAA,cACLD,IAAOD,EAAI,EAAEI,EAAS,KAAK,MAAO,OAAO,KAAKH,KAChD;AAAA,WACKG,EAAS,YACdF,KAAO;AAAA,w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,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/tab/flat.ejs","../../../../src/templates/tailwind/tab/form.ejs","../../../../src/templates/tailwind/tab/index.ts"],"sourcesContent":["{% ctx.component.components.forEach(function(tab, index) { %}\n <div class=\"mb-2 card border\">\n <div class=\"card-header bg-default\">\n <h4 class=\"mb-0 card-title\">{{ ctx.t(tab.label, { _userInput: true }) }}</h4>\n </div>\n <div\n class=\"card-body\"\n ref=\"{{ctx.tabKey}}\"\n >\n {{ ctx.tabComponents[index] }}\n </div>\n </div>\n{% }) %}\n","<div class=\"card card-tabs { ctx.component.verticalLayout ? ' card-vertical' : ''}}\">\n <div class=\"card-header card-header-tabs\">\n <ul class=\"nav nav-tabs {{ ctx.component.verticalLayout ? ' nav-tabs-vertical' : ''}}\" role=\"tablist\">\n {% ctx.component.components.forEach(function(tab, index) { %}\n <li class=\"nav-item {{ ctx.currentTab === index ? ' active' : ''}}\" role=\"tab\" ref=\"{{ctx.tabLikey}}\">\n <a\n class=\"nav-link{{ ctx.currentTab === index ? ' active' : ''}}{{ ctx.component.verticalLayout ? ' nav-link-vertical' : ''}}\"\n href=\"#{{tab.key}}\"\n ref=\"{{ctx.tabLinkKey}}\"\n >\n {{ctx.t(tab.label, { _userInput: true })}}\n </a>\n <div class=\"nav-border\"></div>\n </li>\n {% }) %}\n </ul>\n </div>\n {% ctx.component.components.forEach(function(tab, index) { %}\n <div\n role=\"tabpanel\"\n class=\"card-body tab-pane{{ ctx.currentTab === index ? ' active' : ''}}\"\n style=\"display: {{ctx.currentTab === index ? 'block' : 'none'}}\"\n ref=\"{{ctx.tabKey}}\"\n >\n {{ctx.tabComponents[index]}}\n </div>\n {% }) %}\n</div>\n","import flat from \"./flat.ejs\";\nimport form from \"./form.ejs\";\n\nexport default { flat, form };\n"],"names":["flat","ctx","__t","__p","tab","index","form"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/tab/flat.ejs","../../../../src/templates/tailwind/tab/form.ejs","../../../../src/templates/tailwind/tab/index.ts"],"sourcesContent":["{% ctx.component.components.forEach(function(tab, index) { %}\n <div class=\"mb-2 card border\">\n <div class=\"card-header bg-default\">\n <h4 class=\"mb-0 card-title\">{{ ctx.t(tab.label, { _userInput: true }) }}</h4>\n </div>\n <div\n class=\"card-body\"\n ref=\"{{ctx.tabKey}}\"\n >\n {{ ctx.tabComponents[index] }}\n </div>\n </div>\n{% }) %}\n","<div class=\"card card-tabs { ctx.component.verticalLayout ? ' card-vertical' : ''}}\">\n <div class=\"card-header card-header-tabs\">\n <ul class=\"nav nav-tabs {{ ctx.component.verticalLayout ? ' nav-tabs-vertical' : ''}}\" role=\"tablist\">\n {% ctx.component.components.forEach(function(tab, index) { %}\n <li class=\"nav-item {{ ctx.currentTab === index ? ' active' : ''}}\" role=\"tab\" ref=\"{{ctx.tabLikey}}\">\n <a\n class=\"nav-link{{ ctx.currentTab === index ? ' active' : ''}}{{ ctx.component.verticalLayout ? ' nav-link-vertical' : ''}}\"\n href=\"#{{tab.key}}\"\n ref=\"{{ctx.tabLinkKey}}\"\n >\n {{ctx.t(tab.label, { _userInput: true })}}\n </a>\n <div class=\"nav-border\"></div>\n </li>\n {% }) %}\n </ul>\n </div>\n {% ctx.component.components.forEach(function(tab, index) { %}\n <div\n role=\"tabpanel\"\n class=\"card-body tab-pane{{ ctx.currentTab === index ? ' active' : ''}}\"\n style=\"display: {{ctx.currentTab === index ? 'block' : 'none'}}\"\n ref=\"{{ctx.tabKey}}\"\n >\n {{ctx.tabComponents[index]}}\n </div>\n {% }) %}\n</div>\n","import flat from \"./flat.ejs\";\nimport form from \"./form.ejs\";\n\nexport default { flat, form };\n"],"names":["flat","ctx","__t","__p","tab","index","form"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAGd,SAAAF,EAAI,UAAU,WAAW,QAAQ,SAASG,GAAKC,GAA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OAAQ,OAAO,KAAKH,KACrE;AAAA,0BACEA,IAAOD,EAAI,eAAeI,IAAQ,UAAU,WAAY,OAAO,KAAKH,KACtE;AAAA,eACEA,IAAOD,EAAI,WAAY,OAAO,KAAKC,KACrC;AAAA;AAAA,UACEA,IAAOD,EAAI,cAAcI,CAAK,MAAO,OAAO,KAAKH,KACnD;AAAA;AAAA;AAAA,EACC,CAAC,GACFC,KAAO;AAAA;AAAA,GACAA;AACP;AClCA,MAAAC,IAAe,EAAE,MAAAJ,GAAM,MAAAM,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/table/form.ejs","../../../../src/templates/tailwind/table/index.ts"],"sourcesContent":["<table class=\"table\n {{ ctx.component.striped ? 'table-striped' : ''}}\n {{ ctx.component.bordered ? 'table-bordered' : ''}}\n {{ ctx.component.hover ? 'table-hover' : ''}}\n {{ ctx.component.condensed ? 'table-sm' : ''}}\n \">\n <caption class=\"sr-only\">{{ctx.t(ctx.component.label)}}</caption>\n {% if (ctx.component.header && ctx.component.header.length > 0) { %}\n <thead>\n <tr>\n {% ctx.component.header.forEach(function(header) { %}\n <th>{{ctx.t(header)}}</th>\n {% }) %}\n </tr>\n </thead>\n {% } %}\n <tbody>\n {% ctx.tableComponents.forEach(function(row, rowIndex) { %}\n <tr ref=\"row-{{ctx.id}}\">\n {% row.forEach(function(column, colIndex) { %}\n <td ref=\"{{ctx.tableKey}}-{{rowIndex}}\"{% if (ctx.cellClassName) { %} class=\"{{ctx.cellClassName}}\"{% } %}>{{column}}</td>\n {% }) %}\n </tr>\n {% }) %}\n </tbody>\n</table>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","header","row","rowIndex","column","colIndex","table"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/table/form.ejs","../../../../src/templates/tailwind/table/index.ts"],"sourcesContent":["<table class=\"table\n {{ ctx.component.striped ? 'table-striped' : ''}}\n {{ ctx.component.bordered ? 'table-bordered' : ''}}\n {{ ctx.component.hover ? 'table-hover' : ''}}\n {{ ctx.component.condensed ? 'table-sm' : ''}}\n \">\n <caption class=\"sr-only\">{{ctx.t(ctx.component.label)}}</caption>\n {% if (ctx.component.header && ctx.component.header.length > 0) { %}\n <thead>\n <tr>\n {% ctx.component.header.forEach(function(header) { %}\n <th>{{ctx.t(header)}}</th>\n {% }) %}\n </tr>\n </thead>\n {% } %}\n <tbody>\n {% ctx.tableComponents.forEach(function(row, rowIndex) { %}\n <tr ref=\"row-{{ctx.id}}\">\n {% row.forEach(function(column, colIndex) { %}\n <td ref=\"{{ctx.tableKey}}-{{rowIndex}}\"{% if (ctx.cellClassName) { %} class=\"{{ctx.cellClassName}}\"{% } %}>{{column}}</td>\n {% }) %}\n </tr>\n {% }) %}\n </tbody>\n</table>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","header","row","rowIndex","column","colIndex","table"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA,UACLD,IAAQD,EAAI,UAAU,UAAU,kBAAkB,OAAQ,OAAO,KAAKC,KACxE;AAAA,UACEA,IAAQD,EAAI,UAAU,WAAW,mBAAmB,OAAQ,OAAO,KAAKC,KAC1E;AAAA,UACEA,IAAQD,EAAI,UAAU,QAAQ,gBAAgB,OAAQ,OAAO,KAAKC,KACpE;AAAA,UACEA,IAAQD,EAAI,UAAU,YAAY,aAAa,OAAQ,OAAO,KAAKC,KACrE;AAAA;AAAA,iCACEA,IAAOD,EAAI,EAAEA,EAAI,UAAU,KAAK,MAAO,OAAO,KAAKC,KACrD;AAAA,KACKD,EAAI,UAAU,UAAUA,EAAI,UAAU,OAAO,SAAS,MAC3DE,KAAO;AAAA;AAAA;AAAA,SACNF,EAAI,UAAU,OAAO,QAAQ,SAASG,GAAQ;AAC/C,IAAAD,KAAO;AAAA,gBACLD,IAAOD,EAAI,EAAEG,CAAM,MAAO,OAAO,KAAKF,KACxC;AAAA;AAAA,EACC,CAAC,GACFC,KAAO;AAAA;AAAA;AAAA,MAEPA,KAAO;AAAA;AAAA,OACNF,EAAI,gBAAgB,QAAQ,SAASI,GAAKC,GAAU;AACrD,IAAAH,KAAO;AAAA,uBACLD,IAAOD,EAAI,OAAQ,OAAO,KAAKC,KACjC;AAAA,SACCG,EAAI,QAAQ,SAASE,GAAQC,GAAU;AACxC,MAAAL,KAAO;AAAA,qBACLD,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC,QACEA,IAAOI,MAAc,OAAO,KAAKJ,KACnC,KACKD,EAAI,kBACTE,KAAO,eACLD,IAAOD,EAAI,kBAAmB,OAAO,KAAKC,KAC5C,MAEAC,KAAO,QACLD,IAAOK,MAAY,OAAO,KAAKL,KACjC;AAAA;AAAA,IACC,CAAC,GACFC,KAAO;AAAA;AAAA;AAAA,EACN,CAAC,GACFA,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;AC7CA,MAAAM,IAAe,EAAE,MAAAT,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/tableComponents/form.ejs","../../../../src/templates/tailwind/tableComponents/index.ts"],"sourcesContent":["{% ctx.children.forEach(function(component) { %}\n <td class=\"editgrid-table-column\">\n {{ component }}\n </td>\n{% }) %}\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","component","tableComponents"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/tableComponents/form.ejs","../../../../src/templates/tailwind/tableComponents/index.ts"],"sourcesContent":["{% ctx.children.forEach(function(component) { %}\n <td class=\"editgrid-table-column\">\n {{ component }}\n </td>\n{% }) %}\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","component","tableComponents"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAGd,SAAAF,EAAI,SAAS,QAAQ,SAASG,GAAW;AAC1C,IAAAD,KAAO;AAAA;AAAA,UACLD,IAAQE,MAAgB,OAAO,KAAKF,KACtC;AAAA;AAAA;AAAA,EACC,CAAC,GACFC,KAAO;AAAA,GACAA;AACP;ACTA,MAAAE,IAAe,EAAE,MAAAL,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/tree/form.ejs","../../../../src/templates/tailwind/tree/index.ts"],"sourcesContent":["{% if (ctx.node.isRoot) { %}\n <div ref=\"root\" class=\"list-group-item\">\n{% } else { %}\n <li ref=\"node\" class=\"list-group-item sm:col-span-12 tree__level tree__level_{{ ctx.odd ? 'odd' : 'even' }}\">\n{% } %}\n {% if (ctx.content) { %}\n <div ref=\"content\" class=\"tree__node-content\">\n {{ ctx.content }}\n </div>\n {% } %}\n {% if (ctx.childNodes && ctx.childNodes.length) { %}\n <ul ref=\"childNodes\" class=\"tree__node-children list-group grid grid-cols-12 gap-4\">\n {{ ctx.childNodes.join('') }}\n </ul>\n {% } %}\n{% if (ctx.node.isRoot) { %}\n </div>\n{% } else { %}\n </li>\n{% } %}\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","tree"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/tree/form.ejs","../../../../src/templates/tailwind/tree/index.ts"],"sourcesContent":["{% if (ctx.node.isRoot) { %}\n <div ref=\"root\" class=\"list-group-item\">\n{% } else { %}\n <li ref=\"node\" class=\"list-group-item sm:col-span-12 tree__level tree__level_{{ ctx.odd ? 'odd' : 'even' }}\">\n{% } %}\n {% if (ctx.content) { %}\n <div ref=\"content\" class=\"tree__node-content\">\n {{ ctx.content }}\n </div>\n {% } %}\n {% if (ctx.childNodes && ctx.childNodes.length) { %}\n <ul ref=\"childNodes\" class=\"tree__node-children list-group grid grid-cols-12 gap-4\">\n {{ ctx.childNodes.join('') }}\n </ul>\n {% } %}\n{% if (ctx.node.isRoot) { %}\n </div>\n{% } else { %}\n </li>\n{% } %}\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","tree"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAGd,SAAIF,EAAI,KAAK,SACdE,KAAO;AAAA;AAAA,IAEPA,KAAO;AAAA,qFACLD,IAAQD,EAAI,MAAM,QAAQ,WAAa,OAAO,KAAKC,KACrD;AAAA,GAEAC,KAAO;AAAA,KACFF,EAAI,YACTE,KAAO;AAAA;AAAA,YACLD,IAAQD,EAAI,YAAc,OAAO,KAAKC,KACxC;AAAA;AAAA,MAEAC,KAAO;AAAA,KACFF,EAAI,cAAcA,EAAI,WAAW,WACtCE,KAAO;AAAA;AAAA,YACLD,IAAQD,EAAI,WAAW,KAAK,EAAE,MAAQ,OAAO,KAAKC,KACpD;AAAA;AAAA,MAEAC,KAAO;AAAA,GACFF,EAAI,KAAK,SACdE,KAAO;AAAA;AAAA,IAEPA,KAAO;AAAA;AAAA,GAEPA,KAAO;AAAA,GACAA;AACP;AC7BA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/templates/tailwind/tree/partials/edit.ejs","../../../../../src/templates/tailwind/tree/partials/view.ejs","../../../../../src/templates/tailwind/tree/partials/index.ts"],"sourcesContent":["<div class=\"node-edit\">\n <div ref=\"nodeEdit\">{{ ctx.children }}</div>\n {% if (!ctx.readOnly) { %}\n <div class=\"node-actions\">\n <button ref=\"saveNode\" class=\"btn btn-primary saveNode\">{{ ctx.t('Save') }}</button>\n <button ref=\"cancelNode\" class=\"btn btn-danger cancelNode\">{{ ctx.t('Cancel') }}</button>\n </div>\n {% } %}\n</div>\n","<div class=\"grid grid-cols-12 gap-4\">\n {% ctx.values.forEach(function(value) { %}\n <div class=\"sm:col-span-2\">\n {{ value }}\n </div>\n {% }) %}\n <div class=\"sm:col-span-3\">\n <div class=\"btn-group pull-right\">\n {% if (ctx.node.hasChildren) { %}\n <button ref=\"toggleNode\" class=\"btn btn-default btn-sm toggleNode\">{{ ctx.t(ctx.node.collapsed ? 'Expand' : 'Collapse') }}</button>\n {% } %}\n {% if (!ctx.readOnly) { %}\n <button ref=\"addChild\" class=\"btn btn-default btn-sm addChild\">{{ ctx.t('Add') }}</button>\n <button ref=\"editNode\" class=\"btn btn-default btn-sm editNode\">{{ ctx.t('Edit') }}</button>\n <button ref=\"removeNode\" class=\"btn btn-danger btn-sm removeNode\">{{ ctx.t('Delete') }}</button>\n {% if (ctx.node.revertAvailable) { %}\n <button ref=\"revertNode\" class=\"btn btn-danger btn-sm revertNode\">{{ ctx.t('Revert') }}</button>\n {% } %}\n {% } %}\n </div>\n </div>\n</div>\n","import edit from \"./edit.ejs\";\nimport view from \"./view.ejs\";\n\nexport default {\n treeView: {\n form: view\n },\n treeEdit: {\n form: edit\n }\n};\n"],"names":["edit","ctx","__t","__p","view","value","treePartials"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/templates/tailwind/tree/partials/edit.ejs","../../../../../src/templates/tailwind/tree/partials/view.ejs","../../../../../src/templates/tailwind/tree/partials/index.ts"],"sourcesContent":["<div class=\"node-edit\">\n <div ref=\"nodeEdit\">{{ ctx.children }}</div>\n {% if (!ctx.readOnly) { %}\n <div class=\"node-actions\">\n <button ref=\"saveNode\" class=\"btn btn-primary saveNode\">{{ ctx.t('Save') }}</button>\n <button ref=\"cancelNode\" class=\"btn btn-danger cancelNode\">{{ ctx.t('Cancel') }}</button>\n </div>\n {% } %}\n</div>\n","<div class=\"grid grid-cols-12 gap-4\">\n {% ctx.values.forEach(function(value) { %}\n <div class=\"sm:col-span-2\">\n {{ value }}\n </div>\n {% }) %}\n <div class=\"sm:col-span-3\">\n <div class=\"btn-group pull-right\">\n {% if (ctx.node.hasChildren) { %}\n <button ref=\"toggleNode\" class=\"btn btn-default btn-sm toggleNode\">{{ ctx.t(ctx.node.collapsed ? 'Expand' : 'Collapse') }}</button>\n {% } %}\n {% if (!ctx.readOnly) { %}\n <button ref=\"addChild\" class=\"btn btn-default btn-sm addChild\">{{ ctx.t('Add') }}</button>\n <button ref=\"editNode\" class=\"btn btn-default btn-sm editNode\">{{ ctx.t('Edit') }}</button>\n <button ref=\"removeNode\" class=\"btn btn-danger btn-sm removeNode\">{{ ctx.t('Delete') }}</button>\n {% if (ctx.node.revertAvailable) { %}\n <button ref=\"revertNode\" class=\"btn btn-danger btn-sm revertNode\">{{ ctx.t('Revert') }}</button>\n {% } %}\n {% } %}\n </div>\n </div>\n</div>\n","import edit from \"./edit.ejs\";\nimport view from \"./view.ejs\";\n\nexport default {\n treeView: {\n form: view\n },\n treeEdit: {\n form: edit\n }\n};\n"],"names":["edit","ctx","__t","__p","view","value","treePartials"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA,4BACLD,IAAQD,EAAI,aAAe,OAAO,KAAKC,KACzC;AAAA,KACMD,EAAI,aACVE,KAAO;AAAA;AAAA,oEACLD,IAAQD,EAAI,EAAE,MAAM,MAAQ,OAAO,KAAKC,KAC1C;AAAA,uEACEA,IAAQD,EAAI,EAAE,QAAQ,MAAQ,OAAO,KAAKC,KAC5C;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA,GACAA;AACP;ACfe,SAAAC,EAASH,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA,KACNF,EAAI,OAAO,QAAQ,SAASI,GAAO;AACpC,IAAAF,KAAO;AAAA;AAAA,YACLD,IAAQG,MAAY,OAAO,KAAKH,KAClC;AAAA;AAAA;AAAA,EACC,CAAC,GACFC,KAAO;AAAA;AAAA;AAAA,SACFF,EAAI,KAAK,gBACdE,KAAO;AAAA,iFACLD,IAAQD,EAAI,EAAEA,EAAI,KAAK,YAAY,WAAW,UAAU,MAAQ,OAAO,KAAKC,KAC9E;AAAA,UAEAC,KAAO;AAAA,SACDF,EAAI,aACVE,KAAO;AAAA,6EACLD,IAAQD,EAAI,EAAE,KAAK,MAAQ,OAAO,KAAKC,KACzC;AAAA,6EACEA,IAAQD,EAAI,EAAE,MAAM,MAAQ,OAAO,KAAKC,KAC1C;AAAA,gFACEA,IAAQD,EAAI,EAAE,QAAQ,MAAQ,OAAO,KAAKC,KAC5C;AAAA,WACKD,EAAI,KAAK,oBACdE,KAAO;AAAA,kFACLD,IAAQD,EAAI,EAAE,QAAQ,MAAQ,OAAO,KAAKC,KAC5C;AAAA,YAEAC,KAAO;AAAA,UAEPA,KAAO;AAAA;AAAA;AAAA;AAAA,GACAA;AACP;AC9BA,MAAAG,IAAe;AAAA,EACb,UAAU;AAAA,IACR,MAAMF;AAAA,EAAA;AAAA,EAER,UAAU;AAAA,IACR,MAAMJ;AAAA,EAAA;AAEV;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/webform/builder.ejs","../../../../src/templates/tailwind/webform/form.ejs","../../../../src/templates/tailwind/webform/index.ts"],"sourcesContent":["<div class=\"text-muted text-center p-2\">{{ ctx.t(ctx.component.title, { _userInput: true }) }}</div>\n","<div class=\"{{ctx.classes}}\" ref=\"webform\" novalidate>{{ctx.children}}</div>\n","import builder from \"./builder.ejs\";\nimport form from \"./form.ejs\";\n\nexport default { form, builder };\n"],"names":["builder","ctx","__t","__p","form","webform"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/webform/builder.ejs","../../../../src/templates/tailwind/webform/form.ejs","../../../../src/templates/tailwind/webform/index.ts"],"sourcesContent":["<div class=\"text-muted text-center p-2\">{{ ctx.t(ctx.component.title, { _userInput: true }) }}</div>\n","<div class=\"{{ctx.classes}}\" ref=\"webform\" novalidate>{{ctx.children}}</div>\n","import builder from \"./builder.ejs\";\nimport form from \"./form.ejs\";\n\nexport default { form, builder };\n"],"names":["builder","ctx","__t","__p","form","webform"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,+CACLD,IAAQD,EAAI,EAAEA,EAAI,UAAU,OAAO,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKC,KAC7E;AAAA,GACOC;AACP;ACNe,SAAAC,EAASH,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,mBACLD,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC,kCACEA,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA,GACOC;AACP;ACLA,MAAAE,IAAe,EAAE,MAAAD,GAAM,SAAAJ,EAAA;"}
|