Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIO-8611: Remove build files from version control #122

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ coverage
node_modules
npm-debug.log
*~
.npmrc
.npmrc
dist
lib
2 changes: 1 addition & 1 deletion dist/bootstrap3.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/bootstrap4.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/bootstrap5.js

Large diffs are not rendered by default.

85 changes: 85 additions & 0 deletions lib/cjs/bootstrap3.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,91 @@ declare const _default: {
paginationBottom: {
html: string;
};
selectAllContent: {
html: string;
};
};
};
translations: {
en: {
edit: string;
remove: string;
addAnother: string;
next: string;
previous: string;
cancel: string;
loading: string;
help: string;
component: string;
save: string;
preview: string;
dragAndDropComponent: string;
searchFields: string;
noMatchesFound: string;
fileName: string;
size: string;
type: string;
gallery: string;
camera: string;
dropFilesToAttach: string;
useCamera: string;
browse: string;
takePicture: string;
switchToFileUpload: string;
completeStatus: string;
noStorageSet: string;
noFileApiSupport: string;
noFormDataSupport: string;
noProgressSupport: string;
close: string;
addResource: string;
autocomplete: string;
showPreview: string;
hidePreview: string;
createPage: string;
page: string;
closeBtnDescription: string;
cancelBtnDescription: string;
saveBtnDescription: string;
addOrRemove: string;
anyFileTypesAllowed: string;
allowedFileTypes: string;
syncing: string;
syncNow: string;
pressToOpen: string;
browseToAttachFileFor: string;
or: string;
numericOnly: string;
uploadPdfFile: string;
dropToStart: string;
expand: string;
collapse: string;
add: string;
delete: string;
revert: string;
removeBtnPressToRemove: string;
file: string;
captureVideo: string;
captureAudio: string;
captureImage: string;
browseFiles: string;
noComponentsSetInGrid: string;
sortAscending: string;
sortDescending: string;
filter: string;
clear: string;
showItemsWithValue: string;
gridItemsPerPage: string;
gridAllItems: string;
recordsSelectedOnPage: string;
recordsSelectedInTable: string;
gridSelectAll: string;
itemsInTable: string;
clearSelection: string;
editGridRow: string;
deleteGridRow: string;
selected: string;
actions: string;
};
};
};
Expand Down
2 changes: 2 additions & 0 deletions lib/cjs/bootstrap3.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const bootstrap3_1 = require("./templates/bootstrap3");
const translations_1 = require("./translations");
exports.default = {
framework: 'bootstrap3',
templates: {
bootstrap3: bootstrap3_1.default
},
translations: translations_1.default
};
85 changes: 85 additions & 0 deletions lib/cjs/bootstrap4.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ declare const _default: {
paginationBottom: {
html: string;
};
selectAllContent: {
html: string;
};
treeView: {
form: string;
};
Expand Down Expand Up @@ -242,5 +245,87 @@ declare const _default: {
};
};
};
translations: {
en: {
edit: string;
remove: string;
addAnother: string;
next: string;
previous: string;
cancel: string;
loading: string;
help: string;
component: string;
save: string;
preview: string;
dragAndDropComponent: string;
searchFields: string;
noMatchesFound: string;
fileName: string;
size: string;
type: string;
gallery: string;
camera: string;
dropFilesToAttach: string;
useCamera: string;
browse: string;
takePicture: string;
switchToFileUpload: string;
completeStatus: string;
noStorageSet: string;
noFileApiSupport: string;
noFormDataSupport: string;
noProgressSupport: string;
close: string;
addResource: string;
autocomplete: string;
showPreview: string;
hidePreview: string;
createPage: string;
page: string;
closeBtnDescription: string;
cancelBtnDescription: string;
saveBtnDescription: string;
addOrRemove: string;
anyFileTypesAllowed: string;
allowedFileTypes: string;
syncing: string;
syncNow: string;
pressToOpen: string;
browseToAttachFileFor: string;
or: string;
numericOnly: string;
uploadPdfFile: string;
dropToStart: string;
expand: string;
collapse: string;
add: string;
delete: string;
revert: string;
removeBtnPressToRemove: string;
file: string;
captureVideo: string;
captureAudio: string;
captureImage: string;
browseFiles: string;
noComponentsSetInGrid: string;
sortAscending: string;
sortDescending: string;
filter: string;
clear: string;
showItemsWithValue: string;
gridItemsPerPage: string;
gridAllItems: string;
recordsSelectedOnPage: string;
recordsSelectedInTable: string;
gridSelectAll: string;
itemsInTable: string;
clearSelection: string;
editGridRow: string;
deleteGridRow: string;
selected: string;
actions: string;
};
};
};
export default _default;
2 changes: 2 additions & 0 deletions lib/cjs/bootstrap4.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const bootstrap4_1 = require("./templates/bootstrap4");
const translations_1 = require("./translations");
exports.default = {
framework: 'bootstrap4',
templates: {
bootstrap4: bootstrap4_1.default
},
translations: translations_1.default
};
82 changes: 82 additions & 0 deletions lib/cjs/bootstrap5.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,87 @@ declare const _default: {
};
};
};
translations: {
en: {
edit: string;
remove: string;
addAnother: string;
next: string;
previous: string;
cancel: string;
loading: string;
help: string;
component: string;
save: string;
preview: string;
dragAndDropComponent: string;
searchFields: string;
noMatchesFound: string;
fileName: string;
size: string;
type: string;
gallery: string;
camera: string;
dropFilesToAttach: string;
useCamera: string;
browse: string;
takePicture: string;
switchToFileUpload: string;
completeStatus: string;
noStorageSet: string;
noFileApiSupport: string;
noFormDataSupport: string;
noProgressSupport: string;
close: string;
addResource: string;
autocomplete: string;
showPreview: string;
hidePreview: string;
createPage: string;
page: string;
closeBtnDescription: string;
cancelBtnDescription: string;
saveBtnDescription: string;
addOrRemove: string;
anyFileTypesAllowed: string;
allowedFileTypes: string;
syncing: string;
syncNow: string;
pressToOpen: string;
browseToAttachFileFor: string;
or: string;
numericOnly: string;
uploadPdfFile: string;
dropToStart: string;
expand: string;
collapse: string;
add: string;
delete: string;
revert: string;
removeBtnPressToRemove: string;
file: string;
captureVideo: string;
captureAudio: string;
captureImage: string;
browseFiles: string;
noComponentsSetInGrid: string;
sortAscending: string;
sortDescending: string;
filter: string;
clear: string;
showItemsWithValue: string;
gridItemsPerPage: string;
gridAllItems: string;
recordsSelectedOnPage: string;
recordsSelectedInTable: string;
gridSelectAll: string;
itemsInTable: string;
clearSelection: string;
editGridRow: string;
deleteGridRow: string;
selected: string;
actions: string;
};
};
};
export default _default;
2 changes: 2 additions & 0 deletions lib/cjs/bootstrap5.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const bootstrap5_1 = require("./templates/bootstrap5");
const translations_1 = require("./translations");
exports.default = {
framework: 'bootstrap5',
templates: {
bootstrap5: bootstrap5_1.default
},
translations: translations_1.default
};
18 changes: 9 additions & 9 deletions lib/cjs/templates/bootstrap3/builderEditForm/form.ejs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ function print() { __p += __j.call(arguments, '') }
__p += '<div class="row">\n <div class="col col-sm-6">\n <p class="lead">' +
((__t = (ctx.t(ctx.componentInfo.title, { _userInput: true }))) == null ? '' : __t) +
' ' +
((__t = (ctx.t('Component'))) == null ? '' : __t) +
((__t = (ctx.t('component'))) == null ? '' : __t) +
'</p>\n </div>\n ';
if (ctx.helplinks) { ;
__p += '\n <div class="col col-sm-6">\n <div class="pull-right" style="margin-right: 20px; margin-top: 10px">\n <a href="' +
((__t = (ctx.t(ctx.helplinks + ctx.componentInfo.documentation))) == null ? '' : __t) +
'" target="_blank">\n <i class="' +
((__t = (ctx.iconClass('new-window'))) == null ? '' : __t) +
'"> ' +
((__t = (ctx.t('Help'))) == null ? '' : __t) +
((__t = (ctx.t('help'))) == null ? '' : __t) +
'</i>\n </a>\n </div>\n </div>\n';
} ;
__p += '\n</div>\n<div class="row component-edit-content">\n <div class="col component-edit-tabs ';
Expand All @@ -29,17 +29,17 @@ __p += '">\n <div class="editForm" ref="editForm">\n ' +
'\n </div>\n ';
if (!ctx.preview) { ;
__p += '\n <div style="margin-top: 10px;">\n <button class="btn btn-success" style="margin-right: 10px;" ref="saveButton">' +
((__t = (ctx.t('Save'))) == null ? '' : __t) +
((__t = (ctx.t('save'))) == null ? '' : __t) +
'</button>\n <button class="btn btn-default" style="margin-right: 10px;" ref="cancelButton">' +
((__t = (ctx.t('Cancel'))) == null ? '' : __t) +
((__t = (ctx.t('cancel'))) == null ? '' : __t) +
'</button>\n <button class="btn btn-danger" ref="removeButton">' +
((__t = (ctx.t('Remove'))) == null ? '' : __t) +
((__t = (ctx.t('remove'))) == null ? '' : __t) +
'</button>\n </div>\n ';
} ;
__p += '\n </div>\n ';
if (ctx.preview) { ;
__p += '\n <div class="col col-sm-6">\n <div class="panel panel-default preview-panel">\n <div class="panel-heading">\n <h3 class="panel-title">' +
((__t = (ctx.t('Preview'))) == null ? '' : __t) +
((__t = (ctx.t('preview'))) == null ? '' : __t) +
'</h3>\n </div>\n <div class="panel-body">\n <div class="component-preview" ref="preview">\n ' +
((__t = (ctx.preview)) == null ? '' : __t) +
'\n </div>\n </div>\n </div>\n ';
Expand All @@ -49,11 +49,11 @@ __p += '\n <div class="well formio-settings-help">\n ' +
'\n </div>\n ';
} ;
__p += '\n <div style="margin-top: 10px;">\n <button class="btn btn-success" style="margin-right: 10px;" ref="saveButton">' +
((__t = (ctx.t('Save'))) == null ? '' : __t) +
((__t = (ctx.t('save'))) == null ? '' : __t) +
'</button>\n <button class="btn btn-default" style="margin-right: 10px;" ref="cancelButton">' +
((__t = (ctx.t('Cancel'))) == null ? '' : __t) +
((__t = (ctx.t('cancel'))) == null ? '' : __t) +
'</button>\n <button class="btn btn-danger" ref="removeButton">' +
((__t = (ctx.t('Remove'))) == null ? '' : __t) +
((__t = (ctx.t('remove'))) == null ? '' : __t) +
'</button>\n </div>\n </div>\n ';
} ;
__p += '\n</div>\n';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var __t, __p = '';
__p += '<div\n class="alert alert-info no-drag"\n style="text-align:center; margin-bottom: 5px;"\n role="alert"\n data-noattach="true"\n data-position="' +
((__t = (ctx.position)) == null ? '' : __t) +
'"\n>\n ' +
((__t = (ctx.t('Drag and Drop a form component'))) == null ? '' : __t) +
((__t = (ctx.t('dragAndDropComponent'))) == null ? '' : __t) +
'\n</div>\n';
return __p
}
2 changes: 1 addition & 1 deletion lib/cjs/templates/bootstrap3/builderSidebar/form.ejs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function print() { __p += __j.call(arguments, '') }
__p += '<div class="builder-sidebar' +
((__t = (ctx.scrollEnabled ? ' builder-sidebar_scroll' : '')) == null ? '' : __t) +
'" ref="sidebar">\n <input class="form-control builder-sidebar_search" type="search" ref="sidebar-search" placeholder="' +
((__t = (ctx.t('Search field(s)'))) == null ? '' : __t) +
((__t = (ctx.t('searchFields'))) == null ? '' : __t) +
'" />\n <div id="' +
((__t = (ctx.groupId)) == null ? '' : __t) +
'" class="panel-group" ref="sidebar-groups">\n ';
Expand Down
Loading
Loading