Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/production'
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytlwu committed May 21, 2024
2 parents b82935b + da5043e commit 6a85c54
Show file tree
Hide file tree
Showing 18 changed files with 1,653 additions and 689 deletions.
5 changes: 3 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
"plugin:vue/essential"
],
"globals": {
"Vue": true
"Vue": true,
"CryptoJS": true
},
"rules": {
"no-new": 0
}
}
}
26 changes: 25 additions & 1 deletion build.html
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
<fl-record-container data-widget-name="record-container" data-record-container-id="{{id}}" data-view="content" data-node-name="Content">{{{ content }}}</fl-record-container>
<fl-record-container data-widget-name="record-container" data-record-container-id="{{id}}">
<template type="text/html" name="record">{{{content}}}</template>
<template type="text/html" name="empty"><div data-view-placeholder>Drag &amp; drop <strong>Text</strong> or <strong>Dynamic image</strong> component here to render dynamic data</div></template>
<template v-if="testMode">
<div class="record-container-test-mode alert alert-info" data-translate="widgets.recordContainer.testMode"></div>
</template>
<template v-if="error">
<div class="record-container-load-error">
<p data-translate="widgets.recordContainer.errors.loadingData"></p>
<p><small>\{{ error | parseError }}</small></p>
</div>
</template>
<!-- Loading -->
<template v-else-if="isLoading"><p class="text-center"><i class="fa fa-refresh fa-spin fa-2x fa-fw"></i></template>
<template v-else-if="!entry">
<!-- No data found -->
<p class="text-center">\{{ noDataTemplate }}</p>
</template>
<template v-else>
<!-- Has data -->
<record
v-bind:entry="entry"
/>
</template>
</fl-record-container>
11 changes: 11 additions & 0 deletions css/build.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
fl-record-container .record-container-load-error {
text-align: center;
}

fl-record-container .record-container-test-mode {
margin-bottom: 10px;
}

fl-record {
position: relative;
}
310 changes: 48 additions & 262 deletions dist/app.js

Large diffs are not rendered by default.

Binary file modified img/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6a85c54

Please sign in to comment.