@tsed/tailwind-formio 3.0.0-alpha.8 → 3.0.0-rc.1
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.d.ts +4 -1
- 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.d.ts +4 -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/bxIconsMapping.d.ts +1 -0
- package/dist/templates/tailwind/bxIconsMapping.js +74 -0
- package/dist/templates/tailwind/bxIconsMapping.js.map +1 -0
- 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.d.ts +0 -1
- package/dist/templates/tailwind/iconClass.js +4 -54
- package/dist/templates/tailwind/iconClass.js.map +1 -1
- package/dist/templates/tailwind/index.d.ts +4 -1
- package/dist/templates/tailwind/index.js +109 -104
- 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/lucideIconsMapping.d.ts +1 -0
- package/dist/templates/tailwind/lucideIconsMapping.js +76 -0
- package/dist/templates/tailwind/lucideIconsMapping.js.map +1 -0
- 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 +12 -4
- package/readme.md +20 -42
- package/src/templates/tailwind/button/button.stories.jsx +19 -19
- package/src/templates/tailwind/bxIconsMapping.ts +70 -0
- package/src/templates/tailwind/iconClass.ts +11 -62
- package/src/templates/tailwind/index.ts +8 -3
- package/src/templates/tailwind/lucideIconsMapping.ts +72 -0
- package/styles/animations.css +341 -0
- package/styles/badge.css +4 -4
- package/styles/choices.css +32 -25
- package/styles/form.css +7 -2
- package/styles/icon.css +33 -0
- package/styles/index.css +1 -0
- package/styles/react-select.css +69 -5
- package/styles/tables.css +24 -57
- 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/editgridTable/form.ejs","../../../../src/templates/tailwind/editgridTable/html.ejs","../../../../src/templates/tailwind/editgridTable/index.ts"],"sourcesContent":["<div class=\"editgrid-table-container\">\n <div class=\"table-responsive\">\n <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 {% if (ctx.header) { %}\n <thead class=\"editgrid-table-head\">\n {{ctx.header}}\n </thead>\n {% } %}\n <tbody class=\"editgrid-table-body\">\n {% ctx.rows.forEach(function(row, rowIndex) { %}\n <tr ref=\"{{ctx.ref.row}}\">\n {{row}}\n {% if (ctx.openRows[rowIndex] && !ctx.readOnly) { %}\n <td class=\"editgrid-table-column\">\n <div class=\"editgrid-actions\">\n <button class=\"btn btn-primary\" ref=\"{{ctx.ref.saveRow}}\">{{ctx.t(ctx.component.saveRow || 'Save', { _userInput: true })}}</button>\n {% if (ctx.component.removeRow) { %}\n <button class=\"btn btn-danger\" ref=\"{{ctx.ref.cancelRow}}\">{{ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true })}}</button>\n {% } %}\n </div>\n </td>\n {% } %}\n {% if (ctx.errors[rowIndex]) { %}\n <td class=\"editgrid-table-column\">\n <div class=\"has-error\">\n <div class=\"editgrid-row-error help-block\">\n {{ctx.errors[rowIndex]}}\n </div>\n </div>\n </td>\n {% } %}\n </tr>\n {% }) %}\n </tbody>\n {% if (ctx.footer) { %}\n <tfoot>\n <tr>\n {{ctx.footer}}\n </tr>\n <tfoot>\n {% } %}\n </table>\n </div>\n</div>\n{% if (!ctx.readOnly && ctx.hasAddButton) { %}\n<button class=\"btn btn-primary\" ref=\"{{ctx.ref.addRow}}\">\n <i class=\"{{ctx.iconClass('plus')}}\"></i>\n {{ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true })}}\n</button>\n{% } %}\n","<div class=\"editgrid-table-container\">\n <div class=\"table-responsive\">\n <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 {% if (ctx.header) { %}\n <thead class=\"editgrid-table-head\">\n {{ctx.header}}\n </thead>\n {% } %}\n <tbody class=\"editgrid-table-body\">\n {% ctx.rows.forEach(function(row, rowIndex) { %}\n <tr ref=\"{{ctx.ref.row}}\">\n {{row}}\n {% if (ctx.openRows[rowIndex] && !ctx.readOnly) { %}\n <td class=\"editgrid-table-column\">\n <div class=\"editgrid-actions\">\n <button class=\"btn btn-primary\" ref=\"{{ctx.ref.saveRow}}\">{{ctx.t(ctx.component.saveRow || 'Save', { _userInput: true })}}</button>\n {% if (ctx.component.removeRow) { %}\n <button class=\"btn btn-danger\" ref=\"{{ctx.ref.cancelRow}}\">{{ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true })}}</button>\n {% } %}\n </div>\n </td>\n {% } %}\n {% if (ctx.errors[rowIndex]) { %}\n <td class=\"editgrid-table-column\">\n <div class=\"has-error\">\n <div class=\"editgrid-row-error help-block\">\n {{ctx.errors[rowIndex]}}\n </div>\n </div>\n </td>\n {% } %}\n </tr>\n {% }) %}\n </tbody>\n {% if (ctx.footer) { %}\n <tfoot>\n <tr>\n {{ctx.footer}}\n </tr>\n <tfoot>\n {% } %}\n </table>\n </div>\n</div>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","row","rowIndex","html","editgridTable"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/editgridTable/form.ejs","../../../../src/templates/tailwind/editgridTable/html.ejs","../../../../src/templates/tailwind/editgridTable/index.ts"],"sourcesContent":["<div class=\"editgrid-table-container\">\n <div class=\"table-responsive\">\n <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 {% if (ctx.header) { %}\n <thead class=\"editgrid-table-head\">\n {{ctx.header}}\n </thead>\n {% } %}\n <tbody class=\"editgrid-table-body\">\n {% ctx.rows.forEach(function(row, rowIndex) { %}\n <tr ref=\"{{ctx.ref.row}}\">\n {{row}}\n {% if (ctx.openRows[rowIndex] && !ctx.readOnly) { %}\n <td class=\"editgrid-table-column\">\n <div class=\"editgrid-actions\">\n <button class=\"btn btn-primary\" ref=\"{{ctx.ref.saveRow}}\">{{ctx.t(ctx.component.saveRow || 'Save', { _userInput: true })}}</button>\n {% if (ctx.component.removeRow) { %}\n <button class=\"btn btn-danger\" ref=\"{{ctx.ref.cancelRow}}\">{{ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true })}}</button>\n {% } %}\n </div>\n </td>\n {% } %}\n {% if (ctx.errors[rowIndex]) { %}\n <td class=\"editgrid-table-column\">\n <div class=\"has-error\">\n <div class=\"editgrid-row-error help-block\">\n {{ctx.errors[rowIndex]}}\n </div>\n </div>\n </td>\n {% } %}\n </tr>\n {% }) %}\n </tbody>\n {% if (ctx.footer) { %}\n <tfoot>\n <tr>\n {{ctx.footer}}\n </tr>\n <tfoot>\n {% } %}\n </table>\n </div>\n</div>\n{% if (!ctx.readOnly && ctx.hasAddButton) { %}\n<button class=\"btn btn-primary\" ref=\"{{ctx.ref.addRow}}\">\n <i class=\"{{ctx.iconClass('plus')}}\"></i>\n {{ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true })}}\n</button>\n{% } %}\n","<div class=\"editgrid-table-container\">\n <div class=\"table-responsive\">\n <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 {% if (ctx.header) { %}\n <thead class=\"editgrid-table-head\">\n {{ctx.header}}\n </thead>\n {% } %}\n <tbody class=\"editgrid-table-body\">\n {% ctx.rows.forEach(function(row, rowIndex) { %}\n <tr ref=\"{{ctx.ref.row}}\">\n {{row}}\n {% if (ctx.openRows[rowIndex] && !ctx.readOnly) { %}\n <td class=\"editgrid-table-column\">\n <div class=\"editgrid-actions\">\n <button class=\"btn btn-primary\" ref=\"{{ctx.ref.saveRow}}\">{{ctx.t(ctx.component.saveRow || 'Save', { _userInput: true })}}</button>\n {% if (ctx.component.removeRow) { %}\n <button class=\"btn btn-danger\" ref=\"{{ctx.ref.cancelRow}}\">{{ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true })}}</button>\n {% } %}\n </div>\n </td>\n {% } %}\n {% if (ctx.errors[rowIndex]) { %}\n <td class=\"editgrid-table-column\">\n <div class=\"has-error\">\n <div class=\"editgrid-row-error help-block\">\n {{ctx.errors[rowIndex]}}\n </div>\n </div>\n </td>\n {% } %}\n </tr>\n {% }) %}\n </tbody>\n {% if (ctx.footer) { %}\n <tfoot>\n <tr>\n {{ctx.footer}}\n </tr>\n <tfoot>\n {% } %}\n </table>\n </div>\n</div>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","row","rowIndex","html","editgridTable"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA;AAAA;AAAA,YACLD,IAAQD,EAAI,UAAU,UAAU,kBAAkB,OAAQ,OAAO,KAAKC,KACxE;AAAA,YACEA,IAAQD,EAAI,UAAU,WAAW,mBAAmB,OAAQ,OAAO,KAAKC,KAC1E;AAAA,YACEA,IAAQD,EAAI,UAAU,QAAQ,gBAAgB,OAAQ,OAAO,KAAKC,KACpE;AAAA,YACEA,IAAQD,EAAI,UAAU,YAAY,aAAa,OAAQ,OAAO,KAAKC,KACrE;AAAA;AAAA,SACKD,EAAI,WACTE,KAAO;AAAA;AAAA,cACLD,IAAOD,EAAI,WAAY,OAAO,KAAKC,KACrC;AAAA;AAAA,UAEAC,KAAO;AAAA;AAAA,WACNF,EAAI,KAAK,QAAQ,SAASG,GAAKC,GAAU;AAC1C,IAAAF,KAAO;AAAA,uBACLD,IAAOD,EAAI,IAAI,QAAS,OAAO,KAAKC,KACtC;A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OI,CAAQ,MAAO,OAAO,KAAKH,KAC/C;AAAA;AAAA;AAAA;AAAA,cAEAC,KAAO;AAAA;AAAA;AAAA,EACN,CAAC,GACFA,KAAO;AAAA;AAAA,SACFF,EAAI,WACTE,KAAO;AAAA;AAAA;AAAA,gBACLD,IAAOD,EAAI,WAAY,OAAO,KAAKC,KACrC;AAAA;AAAA;AAAA,UAEAC,KAAO;AAAA;AAAA;AAAA;AAAA,GACAA;AACP;ACpDA,MAAAI,IAAe,EAAE,MAAAP,GAAM,MAAAM,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/errorsList/form.ejs","../../../../src/templates/tailwind/errorsList/index.ts"],"sourcesContent":["<p>{{ctx.t('error')}}\n {% if (ctx.options.vpat) { %}\n <span ref=\"errorTooltip\" class=\"{{ctx.iconClass('question-sign')}}\" tabindex=\"0\"></span>\n {% } %}\n</p>\n<ul>\n {% ctx.errors.forEach(function(err) { %}\n <li>\n <span\n data-component-key = \"{{err.keyOrPath}}\"\n ref = \"errorRef\"\n tabIndex = \"0\"\n role=\"link\"\n >\n {{err.message}}\n </span>\n </li>\n {% }) %}\n</ul>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","err","errorsList"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/errorsList/form.ejs","../../../../src/templates/tailwind/errorsList/index.ts"],"sourcesContent":["<p>{{ctx.t('error')}}\n {% if (ctx.options.vpat) { %}\n <span ref=\"errorTooltip\" class=\"{{ctx.iconClass('question-sign')}}\" tabindex=\"0\"></span>\n {% } %}\n</p>\n<ul>\n {% ctx.errors.forEach(function(err) { %}\n <li>\n <span\n data-component-key = \"{{err.keyOrPath}}\"\n ref = \"errorRef\"\n tabIndex = \"0\"\n role=\"link\"\n >\n {{err.message}}\n </span>\n </li>\n {% }) %}\n</ul>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","err","errorsList"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,UACLD,IAAOD,EAAI,EAAE,OAAO,MAAO,OAAO,KAAKC,KACzC;AAAA,KACKD,EAAI,QAAQ,SACjBE,KAAO;AAAA,wCACLD,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD;AAAA,MAEAC,KAAO;AAAA;AAAA;AAAA,KACNF,EAAI,OAAO,QAAQ,SAASG,GAAK;AAClC,IAAAD,KAAO;AAAA;AAAA;AAAA,kCACLD,IAAOE,EAAI,cAAe,OAAO,KAAKF,KACxC;AAAA;AAAA;AAAA;AAAA;AAAA,YACEA,IAAOE,EAAI,YAAa,OAAO,KAAKF,KACtC;AAAA;AAAA;AAAA;AAAA,EACC,CAAC,GACFC,KAAO;AAAA;AAAA,GACAA;AACP;ACnBA,MAAAE,IAAe,EAAE,MAAAL,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/field/align.ejs","../../../../src/templates/tailwind/field/form.ejs","../../../../src/templates/tailwind/field/index.ts"],"sourcesContent":["<div class=\"field-wrapper\n {{ctx.isRightPosition ? 'field-wrapper--reverse' : ''}}\">\n {% if (!ctx.label.hidden) { %}\n <div class=\"field-label\n {{ctx.isRightAlign ? 'field-label--right' : ''}}\"\n style=\"{{ctx.labelStyles}}\">\n {{ ctx.labelMarkup }}\n </div>\n {% } %}\n\n {% if (ctx.label.hidden && ctx.label.className && ctx.component.validate.required) { %}\n <div class=\"field-label\n {{ctx.isRightAlign ? 'field-label--right' : ''}}\"\n style=\"{{ctx.labelStyles}}\">\n <label class=\"{{ctx.label.className}}\"></label>\n </div>\n {% } %}\n\n <div class=\"field-content\" style=\"{{ctx.contentStyles}}\">\n {{ctx.element}}\n </div>\n</div>\n\n{% if (ctx.component.description) { %}\n <div class=\"form-text text-muted\">{{ctx.t(ctx.component.description, { _userInput: true })}}</div>\n{% } %}\n","{% if (!ctx.label.hidden && ctx.label.labelPosition !== 'bottom') { %}\n {{ ctx.labelMarkup }}\n{% } %}\n\n{% if (ctx.label.hidden && ctx.label.className && ctx.component.validate.required) { %}\n <label class=\"{{ctx.label.className}}\"></label>\n{% } %}\n\n{{ctx.element}}\n\n{% if (!ctx.label.hidden && ctx.label.labelPosition === 'bottom') { %}\n {{ ctx.labelMarkup }}\n{% } %}\n{% if (ctx.component.description) { %}\n <div id=\"d-{{ctx.instance.id}}-{{ctx.component.key}}\" class=\"form-text text-muted\">{{ctx.t(ctx.component.description, { _userInput: true })}}</div>\n{% } %}\n","import align from \"./align.ejs\";\nimport form from \"./form.ejs\";\n\nexport default { form, align };\n"],"names":["align","ctx","__t","__p","form","field"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/field/align.ejs","../../../../src/templates/tailwind/field/form.ejs","../../../../src/templates/tailwind/field/index.ts"],"sourcesContent":["<div class=\"field-wrapper\n {{ctx.isRightPosition ? 'field-wrapper--reverse' : ''}}\">\n {% if (!ctx.label.hidden) { %}\n <div class=\"field-label\n {{ctx.isRightAlign ? 'field-label--right' : ''}}\"\n style=\"{{ctx.labelStyles}}\">\n {{ ctx.labelMarkup }}\n </div>\n {% } %}\n\n {% if (ctx.label.hidden && ctx.label.className && ctx.component.validate.required) { %}\n <div class=\"field-label\n {{ctx.isRightAlign ? 'field-label--right' : ''}}\"\n style=\"{{ctx.labelStyles}}\">\n <label class=\"{{ctx.label.className}}\"></label>\n </div>\n {% } %}\n\n <div class=\"field-content\" style=\"{{ctx.contentStyles}}\">\n {{ctx.element}}\n </div>\n</div>\n\n{% if (ctx.component.description) { %}\n <div class=\"form-text text-muted\">{{ctx.t(ctx.component.description, { _userInput: true })}}</div>\n{% } %}\n","{% if (!ctx.label.hidden && ctx.label.labelPosition !== 'bottom') { %}\n {{ ctx.labelMarkup }}\n{% } %}\n\n{% if (ctx.label.hidden && ctx.label.className && ctx.component.validate.required) { %}\n <label class=\"{{ctx.label.className}}\"></label>\n{% } %}\n\n{{ctx.element}}\n\n{% if (!ctx.label.hidden && ctx.label.labelPosition === 'bottom') { %}\n {{ ctx.labelMarkup }}\n{% } %}\n{% if (ctx.component.description) { %}\n <div id=\"d-{{ctx.instance.id}}-{{ctx.component.key}}\" class=\"form-text text-muted\">{{ctx.t(ctx.component.description, { _userInput: true })}}</div>\n{% } %}\n","import align from \"./align.ejs\";\nimport form from \"./form.ejs\";\n\nexport default { form, align };\n"],"names":["align","ctx","__t","__p","form","field"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA,QACLD,IAAOD,EAAI,kBAAkB,2BAA2B,OAAQ,OAAO,KAAKC,KAC9E;AAAA,KACMD,EAAI,MAAM,WAChBE,KAAO;AAAA;AAAA,YACLD,IAAOD,EAAI,eAAe,uBAAuB,OAAQ,OAAO,KAAKC,KACvE;AAAA,mBACEA,IAAOD,EAAI,gBAAiB,OAAO,KAAKC,KAC1C;AAAA,UACEA,IAAQD,EAAI,gBAAkB,OAAO,KAAKC,KAC5C;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA,KACFF,EAAI,MAAM,UAAUA,EAAI,MAAM,aAAaA,EAAI,UAAU,SAAS,aACvEE,KAAO;AAAA;AAAA,YACLD,IAAOD,EAAI,eAAe,uBAAuB,OAAQ,OAAO,KAAKC,KACvE;AAAA,mBACEA,IAAOD,EAAI,gBAAiB,OAAO,KAAKC,KAC1C;AAAA,0BACEA,IAAOD,EAAI,MAAM,cAAe,OAAO,KAAKC,KAC9C;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA,0CACLD,IAAOD,EAAI,kBAAmB,OAAO,KAAKC,KAC5C;AAAA,UACEA,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA;AAAA;AAAA,GACKD,EAAI,UAAU,gBACnBE,KAAO;AAAA,0CACLD,IAAOD,EAAI,EAAEA,EAAI,UAAU,aAAa,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKC,KACjF;AAAA,IAEAC,KAAO;AAAA,GACAA;AACP;ACrCe,SAAAC,EAASH,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAGd,SAAI,CAACF,EAAI,MAAM,UAAUA,EAAI,MAAM,kBAAkB,aACtDE,KAAO;AAAA,QACLD,IAAQD,EAAI,gBAAkB,OAAO,KAAKC,KAC5C;AAAA,IAEAC,KAAO;AAAA;AAAA,GACFF,EAAI,MAAM,UAAUA,EAAI,MAAM,aAAaA,EAAI,UAAU,SAAS,aACvEE,KAAO;AAAA,sBACLD,IAAOD,EAAI,MAAM,cAAe,OAAO,KAAKC,KAC9C;AAAA,IAEAC,KAAO;AAAA;AAAA,MACLD,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA,GACK,CAACD,EAAI,MAAM,UAAUA,EAAI,MAAM,kBAAkB,aACtDE,KAAO;AAAA,QACLD,IAAQD,EAAI,gBAAkB,OAAO,KAAKC,KAC5C;AAAA,IAEAC,KAAO;AAAA,GACFF,EAAI,UAAU,gBACnBE,KAAO;AAAA,mBACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C,sCACEA,IAAOD,EAAI,EAAEA,EAAI,UAAU,aAAa,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKC,KACjF;AAAA,IAEAC,KAAO;AAAA,GACAA;AACP;AChCA,MAAAE,IAAe,EAAE,MAAAD,GAAM,OAAAJ,EAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/fieldset/form.ejs","../../../../src/templates/tailwind/fieldset/index.ts"],"sourcesContent":["<fieldset>\n {% if (ctx.component.legend) { %}\n <legend ref=\"header\" class=\"{{ctx.component.collapsible ? 'formio-clickable' : ''}}\">\n {{ctx.t(ctx.component.legend, { _userInput: true })}}\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 </legend>\n {% } %}\n {% if (!ctx.collapsed) { %}\n <div class=\"fieldset-body\" ref=\"{{ctx.nestedKey}}\">\n {{ctx.children}}\n </div>\n {% } %}\n</fieldset>\n\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","fieldset"],"mappings":"AAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/fieldset/form.ejs","../../../../src/templates/tailwind/fieldset/index.ts"],"sourcesContent":["<fieldset>\n {% if (ctx.component.legend) { %}\n <legend ref=\"header\" class=\"{{ctx.component.collapsible ? 'formio-clickable' : ''}}\">\n {{ctx.t(ctx.component.legend, { _userInput: true })}}\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 </legend>\n {% } %}\n {% if (!ctx.collapsed) { %}\n <div class=\"fieldset-body\" ref=\"{{ctx.nestedKey}}\">\n {{ctx.children}}\n </div>\n {% } %}\n</fieldset>\n\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","fieldset"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA,KACFF,EAAI,UAAU,WACnBE,KAAO;AAAA,oCACLD,IAAOD,EAAI,UAAU,cAAc,qBAAqB,OAAQ,OAAO,KAAKC,KAC9E;AAAA,UACEA,IAAOD,EAAI,EAAEA,EAAI,UAAU,QAAQ,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKC,KAC5E;AAAA,OACKD,EAAI,UAAU,YACnBE,KAAO;AAAA,iDACLD,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD,kCACEA,IAAOD,EAAI,UAAU,YAAa,OAAO,KAAKC,KAChD;AAAA,QAEAC,KAAO;AAAA;AAAA,MAEPA,KAAO;AAAA,KACDF,EAAI,cACVE,KAAO;AAAA,wCACLD,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC;AAAA,UACEA,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;AC3BA,MAAAC,IAAe,EAAE,MAAAJ,EAAA;"}
|
|
@@ -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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AAI,QAAQ,eAClBE,KAAO;AAAA,eACLD,IAAOD,EAAI,EAAE,0CAA0C,MAAO,OAAO,KAAKC,KAC5E;AAAA,QAEAC,KAAO;AAAA,OACDF,EAAI,QAAQ,aAClBE,KAAO;AAAA,eACLD,IAAOD,EAAI,EAAE,mCAAmC,MAAO,OAAO,KAAKC,KACrE;AAAA,QAEAC,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,G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,eAClBE,KAAO;AAAA,eACLD,IAAOD,EAAI,EAAE,0CAA0C,MAAO,OAAO,KAAKC,KAC5E;AAAA,QAEAC,KAAO;AAAA,OACDF,EAAI,QAAQ,aAClBE,KAAO;AAAA,eACLD,IAAOD,EAAI,EAAE,mCAAmC,MAAO,OAAO,KAAKC,KACrE;AAAA,QAEAC,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,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,57 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"new-window": "bx-windows",
|
|
5
|
-
"minus-square-o": "bxs-minus-square",
|
|
6
|
-
cog: "bx-cog",
|
|
7
|
-
move: "bx-move",
|
|
8
|
-
wrench: "bx-wrench",
|
|
9
|
-
save: "bx-save",
|
|
10
|
-
copy: "bx-copy",
|
|
11
|
-
calendar: "bx-calendar",
|
|
12
|
-
file: "bx-file",
|
|
13
|
-
wpforms: "bxs-spreadsheet",
|
|
14
|
-
"files-o": "bx-copy-alt",
|
|
15
|
-
refresh: "bx-refresh",
|
|
16
|
-
indent: "bx-right-indent",
|
|
17
|
-
tasks: "bx-list-ul",
|
|
18
|
-
th: "bx-table",
|
|
19
|
-
"th-list": "bxs-spreadsheet",
|
|
20
|
-
"folder-open": "bx-folder-open",
|
|
21
|
-
"folder-o": "bx-folder-open",
|
|
22
|
-
"user-secret": "bxs-user-badge",
|
|
23
|
-
table: "bx-table",
|
|
24
|
-
pencil: "bx-pencil",
|
|
25
|
-
code: "bx-code",
|
|
26
|
-
terminal: "bx-terminal",
|
|
27
|
-
home: "bx-home",
|
|
28
|
-
html5: "bxl-html5",
|
|
29
|
-
list: "bx-list-ul",
|
|
30
|
-
usd: "bx-dollar",
|
|
31
|
-
hashtag: "bx-hash",
|
|
32
|
-
tags: "bx-purchase-tag",
|
|
33
|
-
at: "bx-at",
|
|
34
|
-
font: "bx-font",
|
|
35
|
-
asterisk: "bx-show",
|
|
36
|
-
plus: "bx-plus",
|
|
37
|
-
"plus-square": "bx-plus-circle",
|
|
38
|
-
"plus-square-o": "bxs-plus-square",
|
|
39
|
-
"dot-circle-o": "bx-radio-circle-marked",
|
|
40
|
-
"phone-square": "bx-phone",
|
|
41
|
-
"clock-o": "bx-time-five",
|
|
42
|
-
link: "bx-link",
|
|
43
|
-
columns: "bx-columns",
|
|
44
|
-
"th-large": "bx-category",
|
|
45
|
-
"list-alt": "bx-credit-card-front",
|
|
46
|
-
"square-o": "bx-caret-down-square",
|
|
47
|
-
cubes: "bxs-cube",
|
|
48
|
-
stop: "bx-stop",
|
|
49
|
-
"check-square": "bx-checkbox-checked",
|
|
50
|
-
"remove-circle": "bx-x",
|
|
51
|
-
bars: "bx-menu"
|
|
52
|
-
}, x = (r, e, b) => (r === "bx" && (s[e] ? e = s[e] : e = `${r}-${e}`), b ? e === "bx-radio-circle" ? `${r} ${e} bx-burst` : `${r} ${e} bx-spin` : `${r} ${e}`);
|
|
1
|
+
import { BxIconsMapping as t } from "./bxIconsMapping.js";
|
|
2
|
+
import { LucideIconsMapping as l } from "./lucideIconsMapping.js";
|
|
3
|
+
const u = (i, r, o) => i === "lu" ? (r = l[r] || r, [`icon-${r}`, o && (r === "bx-radio-circle" ? "animate-burst" : "animate-spin")].filter(Boolean).join(" ")) : i === "bx" ? (t[r] ? r = t[r] : r = `${i}-${r}`, [i, r, o && (r === "bx-radio-circle" ? "animate-burst" : "animate-spin")].filter(Boolean).join(" ")) : `${i} ${i}-${r}`;
|
|
53
4
|
export {
|
|
54
|
-
|
|
55
|
-
x as default
|
|
5
|
+
u as default
|
|
56
6
|
};
|
|
57
7
|
//# sourceMappingURL=iconClass.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconClass.js","sources":["../../../src/templates/tailwind/iconClass.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"iconClass.js","sources":["../../../src/templates/tailwind/iconClass.ts"],"sourcesContent":["import { BxIconsMapping } from \"./bxIconsMapping.js\";\nimport { LucideIconsMapping } from \"./lucideIconsMapping.js\";\n\nexport default (iconset: string | undefined, name: string, spinning?: boolean) => {\n if (iconset === \"lu\") {\n name = LucideIconsMapping[name] || name;\n\n return [`icon-${name}`, spinning && (name === \"bx-radio-circle\" ? \"animate-burst\" : \"animate-spin\")].filter(Boolean).join(\" \");\n }\n if (iconset === \"bx\") {\n if (BxIconsMapping[name]) {\n name = BxIconsMapping[name];\n } else {\n name = `${iconset}-${name}`;\n }\n\n return [iconset, name, spinning && (name === \"bx-radio-circle\" ? \"animate-burst\" : \"animate-spin\")].filter(Boolean).join(\" \");\n }\n\n return `${iconset} ${iconset}-${name}`;\n};\n"],"names":["iconClass","iconset","name","spinning","LucideIconsMapping","BxIconsMapping"],"mappings":";;AAGA,MAAAA,IAAe,CAACC,GAA6BC,GAAcC,MACrDF,MAAY,QACdC,IAAOE,EAAmBF,CAAI,KAAKA,GAE5B,CAAC,QAAQA,CAAI,IAAIC,MAAaD,MAAS,oBAAoB,kBAAkB,eAAe,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,KAE3HD,MAAY,QACVI,EAAeH,CAAI,IACrBA,IAAOG,EAAeH,CAAI,IAE1BA,IAAO,GAAGD,CAAO,IAAIC,CAAI,IAGpB,CAACD,GAASC,GAAMC,MAAaD,MAAS,oBAAoB,kBAAkB,eAAe,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,KAGvH,GAAGD,CAAO,IAAIA,CAAO,IAAIC,CAAI;"}
|
|
@@ -34,7 +34,10 @@ declare const _default: {
|
|
|
34
34
|
treeEdit: {
|
|
35
35
|
form: string;
|
|
36
36
|
};
|
|
37
|
-
ICONS:
|
|
37
|
+
ICONS: {
|
|
38
|
+
bx: Record<string, any>;
|
|
39
|
+
lu: Record<string, any>;
|
|
40
|
+
};
|
|
38
41
|
transform(type: string, text: string): any;
|
|
39
42
|
defaultIconset: string;
|
|
40
43
|
iconClass: (iconset: string | undefined, name: string, spinning?: boolean) => string;
|
|
@@ -9,61 +9,66 @@ import l from "./builderSidebar/index.js";
|
|
|
9
9
|
import d from "./builderSidebarGroup/index.js";
|
|
10
10
|
import s from "./builderWizard/index.js";
|
|
11
11
|
import n from "./button/index.js";
|
|
12
|
-
import u from "./
|
|
13
|
-
import c from "./
|
|
14
|
-
import b from "./
|
|
12
|
+
import { BxIconsMapping as u } from "./bxIconsMapping.js";
|
|
13
|
+
import c from "./checkbox/index.js";
|
|
14
|
+
import b from "./columns/index.js";
|
|
15
|
+
import g from "./component/index.js";
|
|
15
16
|
import w from "./componentModal/index.js";
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
17
|
+
import C from "./components/index.js";
|
|
18
|
+
import h from "./container/index.js";
|
|
19
|
+
import z from "./cssClasses.js";
|
|
20
|
+
import I from "./datagrid/index.js";
|
|
20
21
|
import S from "./day/index.js";
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
22
|
+
import M from "./dialog/index.js";
|
|
23
|
+
import P from "./editgrid/index.js";
|
|
24
|
+
import v from "./editgridTable/index.js";
|
|
25
|
+
import y from "./errorsList/index.js";
|
|
26
|
+
import B from "./field/index.js";
|
|
27
|
+
import H from "./fieldset/index.js";
|
|
28
|
+
import O from "./file/index.js";
|
|
29
|
+
import V from "./html/index.js";
|
|
30
|
+
import k from "./icon/index.js";
|
|
31
|
+
import L from "./iconClass.js";
|
|
32
|
+
import N from "./input/index.js";
|
|
33
|
+
import T from "./label/index.js";
|
|
34
|
+
import A from "./loader/index.js";
|
|
35
|
+
import E from "./loading/index.js";
|
|
36
|
+
import { LucideIconsMapping as F } from "./lucideIconsMapping.js";
|
|
35
37
|
import G from "./map/index.js";
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
const
|
|
66
|
-
ICONS:
|
|
38
|
+
import R from "./message/index.js";
|
|
39
|
+
import U from "./modaldialog/index.js";
|
|
40
|
+
import W from "./modaledit/index.js";
|
|
41
|
+
import j from "./modalPreview/index.js";
|
|
42
|
+
import q from "./multipleMasksInput/index.js";
|
|
43
|
+
import D from "./multiValueRow/index.js";
|
|
44
|
+
import J from "./multiValueTable/index.js";
|
|
45
|
+
import K from "./panel/index.js";
|
|
46
|
+
import Q from "./pdf/index.js";
|
|
47
|
+
import X from "./pdfBuilder/index.js";
|
|
48
|
+
import Y from "./pdfBuilderUpload/index.js";
|
|
49
|
+
import Z from "./radio/index.js";
|
|
50
|
+
import _ from "./resourceAdd/index.js";
|
|
51
|
+
import $ from "./select/index.js";
|
|
52
|
+
import x from "./selectOption/index.js";
|
|
53
|
+
import rr from "./signature/index.js";
|
|
54
|
+
import or from "./survey/index.js";
|
|
55
|
+
import mr from "./tab/index.js";
|
|
56
|
+
import ir from "./table/index.js";
|
|
57
|
+
import tr from "./tableComponents/index.js";
|
|
58
|
+
import pr from "./tree/index.js";
|
|
59
|
+
import fr from "./tree/partials/index.js";
|
|
60
|
+
import er from "./webform/index.js";
|
|
61
|
+
import ar from "./well/index.js";
|
|
62
|
+
import lr from "./wizard/index.js";
|
|
63
|
+
import dr from "./wizardHeader/index.js";
|
|
64
|
+
import sr from "./wizardHeaderClassic/index.js";
|
|
65
|
+
import nr from "./wizardHeaderVertical/index.js";
|
|
66
|
+
import ur from "./wizardNav/index.js";
|
|
67
|
+
const Bo = {
|
|
68
|
+
ICONS: {
|
|
69
|
+
bx: u,
|
|
70
|
+
lu: F
|
|
71
|
+
},
|
|
67
72
|
transform(o, r) {
|
|
68
73
|
if (!r)
|
|
69
74
|
return r;
|
|
@@ -73,9 +78,9 @@ const yo = {
|
|
|
73
78
|
}
|
|
74
79
|
return r;
|
|
75
80
|
},
|
|
76
|
-
defaultIconset: "
|
|
77
|
-
iconClass:
|
|
78
|
-
cssClasses:
|
|
81
|
+
defaultIconset: "lu",
|
|
82
|
+
iconClass: L,
|
|
83
|
+
cssClasses: z,
|
|
79
84
|
address: m,
|
|
80
85
|
builder: t,
|
|
81
86
|
builderComponent: p,
|
|
@@ -86,60 +91,60 @@ const yo = {
|
|
|
86
91
|
builderSidebarGroup: d,
|
|
87
92
|
builderWizard: s,
|
|
88
93
|
button: n,
|
|
89
|
-
checkbox:
|
|
90
|
-
columns:
|
|
91
|
-
component:
|
|
94
|
+
checkbox: c,
|
|
95
|
+
columns: b,
|
|
96
|
+
component: g,
|
|
92
97
|
componentModal: w,
|
|
93
|
-
components:
|
|
94
|
-
tableComponents:
|
|
95
|
-
container:
|
|
96
|
-
datagrid:
|
|
98
|
+
components: C,
|
|
99
|
+
tableComponents: tr,
|
|
100
|
+
container: h,
|
|
101
|
+
datagrid: I,
|
|
97
102
|
day: S,
|
|
98
|
-
dialog:
|
|
99
|
-
editgrid:
|
|
100
|
-
editgridTable:
|
|
101
|
-
field:
|
|
102
|
-
fieldset:
|
|
103
|
-
file:
|
|
104
|
-
html:
|
|
105
|
-
icon:
|
|
106
|
-
input:
|
|
107
|
-
label:
|
|
108
|
-
loader:
|
|
109
|
-
loading:
|
|
103
|
+
dialog: M,
|
|
104
|
+
editgrid: P,
|
|
105
|
+
editgridTable: v,
|
|
106
|
+
field: B,
|
|
107
|
+
fieldset: H,
|
|
108
|
+
file: O,
|
|
109
|
+
html: V,
|
|
110
|
+
icon: k,
|
|
111
|
+
input: N,
|
|
112
|
+
label: T,
|
|
113
|
+
loader: A,
|
|
114
|
+
loading: E,
|
|
110
115
|
map: G,
|
|
111
|
-
message:
|
|
112
|
-
modaledit:
|
|
113
|
-
modaldialog:
|
|
114
|
-
modalPreview:
|
|
115
|
-
multipleMasksInput:
|
|
116
|
-
multiValueRow:
|
|
117
|
-
multiValueTable:
|
|
118
|
-
panel:
|
|
119
|
-
pdf:
|
|
120
|
-
pdfBuilder:
|
|
121
|
-
pdfBuilderUpload:
|
|
122
|
-
radio:
|
|
123
|
-
resourceAdd:
|
|
124
|
-
select:
|
|
125
|
-
selectOption:
|
|
126
|
-
signature:
|
|
127
|
-
survey:
|
|
128
|
-
tab:
|
|
129
|
-
table:
|
|
130
|
-
tree:
|
|
131
|
-
...
|
|
132
|
-
webform:
|
|
133
|
-
well:
|
|
134
|
-
wizard:
|
|
135
|
-
wizardHeader:
|
|
136
|
-
wizardHeaderClassic:
|
|
137
|
-
wizardHeaderVertical:
|
|
138
|
-
wizardNav:
|
|
139
|
-
errorsList:
|
|
116
|
+
message: R,
|
|
117
|
+
modaledit: W,
|
|
118
|
+
modaldialog: U,
|
|
119
|
+
modalPreview: j,
|
|
120
|
+
multipleMasksInput: q,
|
|
121
|
+
multiValueRow: D,
|
|
122
|
+
multiValueTable: J,
|
|
123
|
+
panel: K,
|
|
124
|
+
pdf: Q,
|
|
125
|
+
pdfBuilder: X,
|
|
126
|
+
pdfBuilderUpload: Y,
|
|
127
|
+
radio: Z,
|
|
128
|
+
resourceAdd: _,
|
|
129
|
+
select: $,
|
|
130
|
+
selectOption: x,
|
|
131
|
+
signature: rr,
|
|
132
|
+
survey: or,
|
|
133
|
+
tab: mr,
|
|
134
|
+
table: ir,
|
|
135
|
+
tree: pr,
|
|
136
|
+
...fr,
|
|
137
|
+
webform: er,
|
|
138
|
+
well: ar,
|
|
139
|
+
wizard: lr,
|
|
140
|
+
wizardHeader: dr,
|
|
141
|
+
wizardHeaderClassic: sr,
|
|
142
|
+
wizardHeaderVertical: nr,
|
|
143
|
+
wizardNav: ur,
|
|
144
|
+
errorsList: y,
|
|
140
145
|
alert: i
|
|
141
146
|
};
|
|
142
147
|
export {
|
|
143
|
-
|
|
148
|
+
Bo as default
|
|
144
149
|
};
|
|
145
150
|
//# sourceMappingURL=index.js.map
|
|
@@ -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
|
|
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 { BxIconsMapping } from \"./bxIconsMapping.js\";\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 from \"./iconClass\";\nimport input from \"./input\";\nimport label from \"./label\";\nimport loader from \"./loader\";\nimport loading from \"./loading\";\nimport { LucideIconsMapping } from \"./lucideIconsMapping.js\";\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 bx: BxIconsMapping,\n lu: LucideIconsMapping\n },\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: \"lu\",\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","BxIconsMapping","LucideIconsMapping","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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEA,MAAAA,KAAe;AAAA,EACb,OAAO;AAAA,IACL,IAAIC;AAAA,IACJ,IAAIC;AAAA,EAAA;AAAA,EAEN,UAAUC,GAAcC,GAAc;AACpC,QAAI,CAACA;AACH,aAAOA;AA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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\";\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,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;"}
|