@churchapps/apphelper 0.6.15 → 0.6.17
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/components/DisplayBox.d.ts +1 -1
- package/dist/components/DisplayBox.d.ts.map +1 -1
- package/dist/components/DisplayBox.js +2 -4
- package/dist/components/DisplayBox.js.map +1 -1
- package/dist/components/ErrorMessages.d.ts.map +1 -1
- package/dist/components/ErrorMessages.js +1 -1
- package/dist/components/ErrorMessages.js.map +1 -1
- package/dist/components/ExportLink.d.ts.map +1 -1
- package/dist/components/ExportLink.js +10 -10
- package/dist/components/ExportLink.js.map +1 -1
- package/dist/components/FloatingSupport.js.map +1 -1
- package/dist/components/FormCardPayment.d.ts.map +1 -1
- package/dist/components/FormCardPayment.js +20 -5
- package/dist/components/FormCardPayment.js.map +1 -1
- package/dist/components/FormSubmissionEdit.d.ts.map +1 -1
- package/dist/components/FormSubmissionEdit.js +8 -10
- package/dist/components/FormSubmissionEdit.js.map +1 -1
- package/dist/components/HelpIcon.d.ts.map +1 -1
- package/dist/components/HelpIcon.js.map +1 -1
- package/dist/components/ImageEditor.d.ts +1 -1
- package/dist/components/ImageEditor.d.ts.map +1 -1
- package/dist/components/ImageEditor.js +11 -11
- package/dist/components/ImageEditor.js.map +1 -1
- package/dist/components/InputBox.d.ts +1 -1
- package/dist/components/InputBox.d.ts.map +1 -1
- package/dist/components/InputBox.js +4 -6
- package/dist/components/InputBox.js.map +1 -1
- package/dist/components/Loading.d.ts.map +1 -1
- package/dist/components/Loading.js.map +1 -1
- package/dist/components/PageHeader.js +14 -14
- package/dist/components/PageHeader.js.map +1 -1
- package/dist/components/PersonAvatar.d.ts.map +1 -1
- package/dist/components/PersonAvatar.js +9 -16
- package/dist/components/PersonAvatar.js.map +1 -1
- package/dist/components/QuestionEdit.js +3 -3
- package/dist/components/QuestionEdit.js.map +1 -1
- package/dist/components/SmallButton.d.ts.map +1 -1
- package/dist/components/SmallButton.js +2 -1
- package/dist/components/SmallButton.js.map +1 -1
- package/dist/components/SupportModal.js.map +1 -1
- package/dist/components/gallery/GalleryModal.js +10 -10
- package/dist/components/gallery/GalleryModal.js.map +1 -1
- package/dist/components/gallery/StockPhotos.js +12 -12
- package/dist/components/gallery/StockPhotos.js.map +1 -1
- package/dist/components/header/Banner.d.ts.map +1 -1
- package/dist/components/header/Banner.js.map +1 -1
- package/dist/components/header/PrimaryMenu.js +4 -4
- package/dist/components/header/PrimaryMenu.js.map +1 -1
- package/dist/components/header/SecondaryMenu.d.ts.map +1 -1
- package/dist/components/header/SecondaryMenu.js.map +1 -1
- package/dist/components/header/SecondaryMenuAlt.d.ts.map +1 -1
- package/dist/components/header/SecondaryMenuAlt.js.map +1 -1
- package/dist/components/header/SiteHeader.d.ts.map +1 -1
- package/dist/components/header/SiteHeader.js +7 -7
- package/dist/components/header/SiteHeader.js.map +1 -1
- package/dist/components/header/SupportDrawer.js +2 -2
- package/dist/components/header/SupportDrawer.js.map +1 -1
- package/dist/components/notes/AddNote.js +14 -14
- package/dist/components/notes/Note.d.ts.map +1 -1
- package/dist/components/notes/Note.js +7 -7
- package/dist/components/notes/Note.js.map +1 -1
- package/dist/components/notes/Notes.d.ts.map +1 -1
- package/dist/components/notes/Notes.js +4 -4
- package/dist/components/notes/Notes.js.map +1 -1
- package/dist/components/wrapper/AppList.d.ts.map +1 -1
- package/dist/components/wrapper/AppList.js.map +1 -1
- package/dist/components/wrapper/ChurchList.js +5 -5
- package/dist/components/wrapper/ChurchList.js.map +1 -1
- package/dist/components/wrapper/NavItem.js +9 -3
- package/dist/components/wrapper/NavItem.js.map +1 -1
- package/dist/components/wrapper/NewPrivateMessage.d.ts.map +1 -1
- package/dist/components/wrapper/NewPrivateMessage.js +7 -6
- package/dist/components/wrapper/NewPrivateMessage.js.map +1 -1
- package/dist/components/wrapper/Notifications.d.ts.map +1 -1
- package/dist/components/wrapper/Notifications.js +12 -14
- package/dist/components/wrapper/Notifications.js.map +1 -1
- package/dist/components/wrapper/PrivateMessageDetails.js +10 -10
- package/dist/components/wrapper/PrivateMessages.d.ts.map +1 -1
- package/dist/components/wrapper/PrivateMessages.js +119 -123
- package/dist/components/wrapper/PrivateMessages.js.map +1 -1
- package/dist/components/wrapper/UserMenu.d.ts.map +1 -1
- package/dist/components/wrapper/UserMenu.js +15 -15
- package/dist/components/wrapper/UserMenu.js.map +1 -1
- package/dist/helpers/AnalyticsHelper.d.ts.map +1 -1
- package/dist/helpers/AnalyticsHelper.js +3 -3
- package/dist/helpers/AnalyticsHelper.js.map +1 -1
- package/dist/helpers/ArrayHelper.d.ts.map +1 -1
- package/dist/helpers/ArrayHelper.js.map +1 -1
- package/dist/helpers/CurrencyHelper.d.ts +4 -0
- package/dist/helpers/CurrencyHelper.d.ts.map +1 -1
- package/dist/helpers/CurrencyHelper.js +65 -0
- package/dist/helpers/CurrencyHelper.js.map +1 -1
- package/dist/helpers/ErrorHelper.d.ts.map +1 -1
- package/dist/helpers/ErrorHelper.js +2 -1
- package/dist/helpers/ErrorHelper.js.map +1 -1
- package/dist/helpers/EventHelper.d.ts.map +1 -1
- package/dist/helpers/EventHelper.js +1 -1
- package/dist/helpers/EventHelper.js.map +1 -1
- package/dist/helpers/FileHelper.d.ts.map +1 -1
- package/dist/helpers/FileHelper.js +3 -1
- package/dist/helpers/FileHelper.js.map +1 -1
- package/dist/helpers/Locale.d.ts.map +1 -1
- package/dist/helpers/Locale.js +10 -16
- package/dist/helpers/Locale.js.map +1 -1
- package/dist/helpers/NotificationService.js +4 -4
- package/dist/helpers/PersonHelper.d.ts.map +1 -1
- package/dist/helpers/PersonHelper.js +5 -4
- package/dist/helpers/PersonHelper.js.map +1 -1
- package/dist/helpers/SlugHelper.d.ts.map +1 -1
- package/dist/helpers/SlugHelper.js +5 -3
- package/dist/helpers/SlugHelper.js.map +1 -1
- package/dist/helpers/SocketHelper.d.ts.map +1 -1
- package/dist/helpers/SocketHelper.js +5 -12
- package/dist/helpers/SocketHelper.js.map +1 -1
- package/dist/helpers/UniqueIdHelper.d.ts.map +1 -1
- package/dist/helpers/UniqueIdHelper.js +132 -7
- package/dist/helpers/UniqueIdHelper.js.map +1 -1
- package/dist/helpers/UserHelper.d.ts.map +1 -1
- package/dist/helpers/UserHelper.js +2 -2
- package/dist/helpers/UserHelper.js.map +1 -1
- package/dist/hooks/useMountedState.d.ts.map +1 -1
- package/dist/hooks/useMountedState.js +1 -1
- package/dist/hooks/useMountedState.js.map +1 -1
- package/dist/hooks/useNotifications.d.ts +2 -2
- package/dist/hooks/useNotifications.js +5 -5
- package/dist/public/locales/de.json +15 -7
- package/dist/public/locales/es.json +193 -190
- package/dist/public/locales/fr.json +15 -7
- package/dist/public/locales/hi.json +15 -7
- package/dist/public/locales/it.json +15 -7
- package/dist/public/locales/ko.json +15 -7
- package/dist/public/locales/no.json +15 -7
- package/dist/public/locales/pt.json +15 -7
- package/dist/public/locales/ru.json +15 -7
- package/dist/public/locales/tl.json +15 -7
- package/dist/public/locales/zh.json +15 -7
- package/package.json +106 -73
- package/dist/helpers/DateHelper.d.ts +0 -18
- package/dist/helpers/DateHelper.d.ts.map +0 -1
- package/dist/helpers/DateHelper.js +0 -113
- package/dist/helpers/DateHelper.js.map +0 -1
- package/public/css/cropper.css +0 -309
- package/public/css/styles.css +0 -112
- package/public/locales/de.json +0 -273
- package/public/locales/en.json +0 -281
- package/public/locales/es.json +0 -278
- package/public/locales/fr.json +0 -273
- package/public/locales/hi.json +0 -273
- package/public/locales/it.json +0 -273
- package/public/locales/ko.json +0 -273
- package/public/locales/no.json +0 -273
- package/public/locales/pt.json +0 -273
- package/public/locales/ru.json +0 -273
- package/public/locales/tl.json +0 -273
- package/public/locales/zh.json +0 -273
- package/src/components/DisplayBox.tsx +0 -83
- package/src/components/ErrorMessages.tsx +0 -28
- package/src/components/ExportLink.tsx +0 -81
- package/src/components/FloatingSupport.tsx +0 -18
- package/src/components/FormCardPayment.tsx +0 -184
- package/src/components/FormSubmissionEdit.tsx +0 -168
- package/src/components/HelpIcon.tsx +0 -12
- package/src/components/ImageEditor.tsx +0 -167
- package/src/components/InputBox.tsx +0 -97
- package/src/components/Loading.tsx +0 -31
- package/src/components/PageHeader.tsx +0 -111
- package/src/components/PersonAvatar.tsx +0 -78
- package/src/components/QuestionEdit.tsx +0 -99
- package/src/components/SmallButton.tsx +0 -42
- package/src/components/SupportModal.tsx +0 -32
- package/src/components/TabPanel.tsx +0 -28
- package/src/components/gallery/GalleryModal.tsx +0 -170
- package/src/components/gallery/StockPhotos.tsx +0 -96
- package/src/components/gallery/index.ts +0 -2
- package/src/components/header/Banner.tsx +0 -11
- package/src/components/header/PrimaryMenu.tsx +0 -101
- package/src/components/header/SecondaryMenu.tsx +0 -23
- package/src/components/header/SecondaryMenuAlt.tsx +0 -40
- package/src/components/header/SiteHeader.tsx +0 -205
- package/src/components/header/SupportDrawer.tsx +0 -112
- package/src/components/header/index.tsx +0 -2
- package/src/components/index.tsx +0 -20
- package/src/components/notes/AddNote.tsx +0 -185
- package/src/components/notes/Note.tsx +0 -84
- package/src/components/notes/Notes.tsx +0 -208
- package/src/components/notes/index.ts +0 -3
- package/src/components/wrapper/AppList.tsx +0 -18
- package/src/components/wrapper/ChurchList.tsx +0 -145
- package/src/components/wrapper/NavItem.tsx +0 -47
- package/src/components/wrapper/NewPrivateMessage.tsx +0 -249
- package/src/components/wrapper/Notifications.tsx +0 -220
- package/src/components/wrapper/PrivateMessageDetails.tsx +0 -106
- package/src/components/wrapper/PrivateMessages.tsx +0 -574
- package/src/components/wrapper/UserMenu.tsx +0 -384
- package/src/components/wrapper/index.tsx +0 -8
- package/src/helpers/AnalyticsHelper.ts +0 -44
- package/src/helpers/AppearanceHelper.ts +0 -73
- package/src/helpers/ArrayHelper.ts +0 -87
- package/src/helpers/CurrencyHelper.ts +0 -10
- package/src/helpers/DateHelper.ts +0 -116
- package/src/helpers/ErrorHelper.ts +0 -41
- package/src/helpers/EventHelper.ts +0 -49
- package/src/helpers/FileHelper.ts +0 -31
- package/src/helpers/Locale.ts +0 -457
- package/src/helpers/NotificationService.ts +0 -233
- package/src/helpers/PersonHelper.ts +0 -62
- package/src/helpers/SlugHelper.ts +0 -27
- package/src/helpers/SocketHelper.ts +0 -183
- package/src/helpers/UniqueIdHelper.ts +0 -36
- package/src/helpers/UserHelper.ts +0 -103
- package/src/helpers/createEmotionCache.ts +0 -17
- package/src/helpers/index.ts +0 -58
- package/src/hooks/index.ts +0 -3
- package/src/hooks/useMountedState.ts +0 -18
- package/src/hooks/useNotifications.ts +0 -95
- package/src/index.ts +0 -3
- package/src/types/interface-extensions.d.ts +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { format as dateFormat } from "date-fns";
|
|
2
|
-
export class DateHelper {
|
|
3
|
-
//Fixes timezone issues when you just need the date.
|
|
4
|
-
static toDate(input) {
|
|
5
|
-
return new Date(Date.parse(input.toString().replace("Z", "")));
|
|
6
|
-
}
|
|
7
|
-
static toDateTime(input) {
|
|
8
|
-
return new Date(Date.parse(input.toString()));
|
|
9
|
-
}
|
|
10
|
-
static addDays(date, days) {
|
|
11
|
-
date.setDate(date.getDate() + days);
|
|
12
|
-
return date;
|
|
13
|
-
}
|
|
14
|
-
static prettyDate(date) {
|
|
15
|
-
if (date === undefined || date === null)
|
|
16
|
-
return "";
|
|
17
|
-
return this.formatDateTime(date, "MMM d, yyyy");
|
|
18
|
-
}
|
|
19
|
-
static prettyDateTime(date) {
|
|
20
|
-
if (date === undefined || date === null)
|
|
21
|
-
return "";
|
|
22
|
-
return this.formatDateTime(date, "MMM d, yyyy h:mm a");
|
|
23
|
-
}
|
|
24
|
-
static prettyTime(date) {
|
|
25
|
-
if (date === undefined || date === null)
|
|
26
|
-
return "";
|
|
27
|
-
return this.formatDateTime(date, "h:mm a");
|
|
28
|
-
}
|
|
29
|
-
static getLastSunday() {
|
|
30
|
-
let result = new Date();
|
|
31
|
-
while (result.getDay() !== 0)
|
|
32
|
-
result.setDate(result.getDate() - 1);
|
|
33
|
-
return result;
|
|
34
|
-
}
|
|
35
|
-
static getWeekSunday(year, week) {
|
|
36
|
-
let result = new Date(year, 0, 1);
|
|
37
|
-
while (result.getDay() !== 0)
|
|
38
|
-
result.setDate(result.getDate() + 1);
|
|
39
|
-
result.setDate(result.getDate() + ((week - 1) * 7));
|
|
40
|
-
return result;
|
|
41
|
-
}
|
|
42
|
-
static formatHtml5Date(date) {
|
|
43
|
-
if (!date)
|
|
44
|
-
return "";
|
|
45
|
-
// If already a YYYY-MM-DD string, return as-is
|
|
46
|
-
if (typeof date === 'string' && /^\d{4}-\d{2}-\d{2}$/.test(date))
|
|
47
|
-
return date;
|
|
48
|
-
// If ISO string, extract date portion (ignore timezone)
|
|
49
|
-
if (typeof date === 'string') {
|
|
50
|
-
const match = date.match(/^(\d{4}-\d{2}-\d{2})/);
|
|
51
|
-
if (match)
|
|
52
|
-
return match[1];
|
|
53
|
-
}
|
|
54
|
-
// For Date objects, use LOCAL year/month/day (not UTC)
|
|
55
|
-
const d = date instanceof Date ? date : new Date(date);
|
|
56
|
-
if (isNaN(d.getTime()))
|
|
57
|
-
return "";
|
|
58
|
-
const year = d.getFullYear();
|
|
59
|
-
const month = String(d.getMonth() + 1).padStart(2, '0');
|
|
60
|
-
const day = String(d.getDate()).padStart(2, '0');
|
|
61
|
-
return `${year}-${month}-${day}`;
|
|
62
|
-
}
|
|
63
|
-
static formatHtml5Time(time) {
|
|
64
|
-
let h = time.getHours();
|
|
65
|
-
let m = time.getMinutes();
|
|
66
|
-
let s = time.getSeconds();
|
|
67
|
-
return `${h < 10 ? ("0" + h) : h}:${m < 10 ? ("0" + m) : m}:${s < 10 ? ("0" + s) : s}`;
|
|
68
|
-
}
|
|
69
|
-
static formatHtml5DateTime(date) {
|
|
70
|
-
if (date === undefined || date === null)
|
|
71
|
-
return "";
|
|
72
|
-
else {
|
|
73
|
-
return this.formatDateTime(date, "yyyy-MM-dd") + "T" + this.formatDateTime(date, "HH:mm");
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
static getDisplayDuration(d) {
|
|
77
|
-
let seconds = Math.round((new Date().getTime() - d.getTime()) / 1000);
|
|
78
|
-
if (seconds > 86400) {
|
|
79
|
-
let days = Math.floor(seconds / 86400);
|
|
80
|
-
return (days === 1) ? "1d" : days.toString() + "d";
|
|
81
|
-
}
|
|
82
|
-
else if (seconds > 3600) {
|
|
83
|
-
let hours = Math.floor(seconds / 3600);
|
|
84
|
-
return (hours === 1) ? "1h" : hours.toString() + "h";
|
|
85
|
-
}
|
|
86
|
-
else if (seconds > 60) {
|
|
87
|
-
let minutes = Math.floor(seconds / 60);
|
|
88
|
-
return (minutes === 1) ? "1m" : minutes.toString() + "m";
|
|
89
|
-
}
|
|
90
|
-
else if (seconds < 1)
|
|
91
|
-
return "now";
|
|
92
|
-
else
|
|
93
|
-
return (seconds === 1) ? "1s" : Math.floor(seconds).toString() + "s";
|
|
94
|
-
}
|
|
95
|
-
static getShortDate(d) {
|
|
96
|
-
return (d.getMonth() + 1).toString() + "/" + (d.getDate()).toString() + "/" + d.getFullYear().toString();
|
|
97
|
-
}
|
|
98
|
-
static convertDatePickerFormat(d) {
|
|
99
|
-
const date = this.formatHtml5Date(d).split("-");
|
|
100
|
-
if (date.length === 3)
|
|
101
|
-
return new Date(`${date[1]}-${date[2]}-${date[0]}`);
|
|
102
|
-
return new Date();
|
|
103
|
-
}
|
|
104
|
-
static formatDateTime(date, format) {
|
|
105
|
-
try {
|
|
106
|
-
return dateFormat(date, format);
|
|
107
|
-
}
|
|
108
|
-
catch {
|
|
109
|
-
return "";
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
//# sourceMappingURL=DateHelper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DateHelper.js","sourceRoot":"","sources":["../../src/helpers/DateHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA;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AAO,EAAE,CAAC,CAAC,QAAQ,EAAE,GAAG,GAAG,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE,CAAC;IAC3G,CAAC;IAED,MAAM,CAAC,uBAAuB,CAAC,CAAO;QACpC,MAAM,IAAI,GAAG,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAChD,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,IAAI,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAC3E,OAAO,IAAI,IAAI,EAAE,CAAC;IACpB,CAAC;IAEO,MAAM,CAAC,cAAc,CAAC,IAAU,EAAE,MAAc;QACtD,IAAI,CAAC;YACH,OAAO,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAClC,CAAC;QAAC,MAAM,CAAC;YAAC,OAAO,EAAE,CAAC;QAAC,CAAC;IACxB,CAAC;CACF"}
|
package/public/css/cropper.css
DELETED
|
@@ -1,309 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Cropper.js v1.6.2
|
|
3
|
-
* https://fengyuanchen.github.io/cropperjs
|
|
4
|
-
*
|
|
5
|
-
* Copyright 2015-present Chen Fengyuan
|
|
6
|
-
* Released under the MIT license
|
|
7
|
-
*
|
|
8
|
-
* Date: 2024-04-21T07:43:02.731Z
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
.cropper-container {
|
|
12
|
-
direction: ltr;
|
|
13
|
-
font-size: 0;
|
|
14
|
-
line-height: 0;
|
|
15
|
-
position: relative;
|
|
16
|
-
-ms-touch-action: none;
|
|
17
|
-
touch-action: none;
|
|
18
|
-
-webkit-touch-callout: none;
|
|
19
|
-
-webkit-user-select: none;
|
|
20
|
-
-moz-user-select: none;
|
|
21
|
-
-ms-user-select: none;
|
|
22
|
-
user-select: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.cropper-container img {
|
|
26
|
-
backface-visibility: hidden;
|
|
27
|
-
display: block;
|
|
28
|
-
height: 100%;
|
|
29
|
-
image-orientation: 0deg;
|
|
30
|
-
max-height: none !important;
|
|
31
|
-
max-width: none !important;
|
|
32
|
-
min-height: 0 !important;
|
|
33
|
-
min-width: 0 !important;
|
|
34
|
-
width: 100%;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.cropper-wrap-box,
|
|
38
|
-
.cropper-canvas,
|
|
39
|
-
.cropper-drag-box,
|
|
40
|
-
.cropper-crop-box,
|
|
41
|
-
.cropper-modal {
|
|
42
|
-
bottom: 0;
|
|
43
|
-
left: 0;
|
|
44
|
-
position: absolute;
|
|
45
|
-
right: 0;
|
|
46
|
-
top: 0;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.cropper-wrap-box,
|
|
50
|
-
.cropper-canvas {
|
|
51
|
-
overflow: hidden;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.cropper-drag-box {
|
|
55
|
-
background-color: #fff;
|
|
56
|
-
opacity: 0;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.cropper-modal {
|
|
60
|
-
background-color: #000;
|
|
61
|
-
opacity: 0.5;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.cropper-view-box {
|
|
65
|
-
display: block;
|
|
66
|
-
height: 100%;
|
|
67
|
-
outline: 1px solid #39f;
|
|
68
|
-
outline-color: rgba(51, 153, 255, 0.75);
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
width: 100%;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.cropper-dashed {
|
|
74
|
-
border: 0 dashed #eee;
|
|
75
|
-
display: block;
|
|
76
|
-
opacity: 0.5;
|
|
77
|
-
position: absolute;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.cropper-dashed.dashed-h {
|
|
81
|
-
border-bottom-width: 1px;
|
|
82
|
-
border-top-width: 1px;
|
|
83
|
-
height: calc(100% / 3);
|
|
84
|
-
left: 0;
|
|
85
|
-
top: calc(100% / 3);
|
|
86
|
-
width: 100%;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.cropper-dashed.dashed-v {
|
|
90
|
-
border-left-width: 1px;
|
|
91
|
-
border-right-width: 1px;
|
|
92
|
-
height: 100%;
|
|
93
|
-
left: calc(100% / 3);
|
|
94
|
-
top: 0;
|
|
95
|
-
width: calc(100% / 3);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.cropper-center {
|
|
99
|
-
display: block;
|
|
100
|
-
height: 0;
|
|
101
|
-
left: 50%;
|
|
102
|
-
opacity: 0.75;
|
|
103
|
-
position: absolute;
|
|
104
|
-
top: 50%;
|
|
105
|
-
width: 0;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.cropper-center::before,
|
|
109
|
-
.cropper-center::after {
|
|
110
|
-
background-color: #eee;
|
|
111
|
-
content: ' ';
|
|
112
|
-
display: block;
|
|
113
|
-
position: absolute;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.cropper-center::before {
|
|
117
|
-
height: 1px;
|
|
118
|
-
left: -3px;
|
|
119
|
-
top: 0;
|
|
120
|
-
width: 7px;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.cropper-center::after {
|
|
124
|
-
height: 7px;
|
|
125
|
-
left: 0;
|
|
126
|
-
top: -3px;
|
|
127
|
-
width: 1px;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.cropper-face,
|
|
131
|
-
.cropper-line,
|
|
132
|
-
.cropper-point {
|
|
133
|
-
display: block;
|
|
134
|
-
height: 100%;
|
|
135
|
-
opacity: 0.1;
|
|
136
|
-
position: absolute;
|
|
137
|
-
width: 100%;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.cropper-face {
|
|
141
|
-
background-color: #fff;
|
|
142
|
-
left: 0;
|
|
143
|
-
top: 0;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.cropper-line {
|
|
147
|
-
background-color: #39f;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.cropper-line.line-e {
|
|
151
|
-
cursor: ew-resize;
|
|
152
|
-
right: -3px;
|
|
153
|
-
top: 0;
|
|
154
|
-
width: 5px;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.cropper-line.line-n {
|
|
158
|
-
cursor: ns-resize;
|
|
159
|
-
height: 5px;
|
|
160
|
-
left: 0;
|
|
161
|
-
top: -3px;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.cropper-line.line-w {
|
|
165
|
-
cursor: ew-resize;
|
|
166
|
-
left: -3px;
|
|
167
|
-
top: 0;
|
|
168
|
-
width: 5px;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.cropper-line.line-s {
|
|
172
|
-
bottom: -3px;
|
|
173
|
-
cursor: ns-resize;
|
|
174
|
-
height: 5px;
|
|
175
|
-
left: 0;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.cropper-point {
|
|
179
|
-
background-color: #39f;
|
|
180
|
-
height: 5px;
|
|
181
|
-
opacity: 0.75;
|
|
182
|
-
width: 5px;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.cropper-point.point-e {
|
|
186
|
-
cursor: ew-resize;
|
|
187
|
-
margin-top: -3px;
|
|
188
|
-
right: -3px;
|
|
189
|
-
top: 50%;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.cropper-point.point-n {
|
|
193
|
-
cursor: ns-resize;
|
|
194
|
-
left: 50%;
|
|
195
|
-
margin-left: -3px;
|
|
196
|
-
top: -3px;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.cropper-point.point-w {
|
|
200
|
-
cursor: ew-resize;
|
|
201
|
-
left: -3px;
|
|
202
|
-
margin-top: -3px;
|
|
203
|
-
top: 50%;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.cropper-point.point-s {
|
|
207
|
-
bottom: -3px;
|
|
208
|
-
cursor: s-resize;
|
|
209
|
-
left: 50%;
|
|
210
|
-
margin-left: -3px;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.cropper-point.point-ne {
|
|
214
|
-
cursor: nesw-resize;
|
|
215
|
-
right: -3px;
|
|
216
|
-
top: -3px;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.cropper-point.point-nw {
|
|
220
|
-
cursor: nwse-resize;
|
|
221
|
-
left: -3px;
|
|
222
|
-
top: -3px;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.cropper-point.point-sw {
|
|
226
|
-
bottom: -3px;
|
|
227
|
-
cursor: nesw-resize;
|
|
228
|
-
left: -3px;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.cropper-point.point-se {
|
|
232
|
-
bottom: -3px;
|
|
233
|
-
cursor: nwse-resize;
|
|
234
|
-
height: 20px;
|
|
235
|
-
opacity: 1;
|
|
236
|
-
right: -3px;
|
|
237
|
-
width: 20px;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
@media (min-width: 768px) {
|
|
241
|
-
|
|
242
|
-
.cropper-point.point-se {
|
|
243
|
-
height: 15px;
|
|
244
|
-
width: 15px;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
@media (min-width: 992px) {
|
|
249
|
-
|
|
250
|
-
.cropper-point.point-se {
|
|
251
|
-
height: 10px;
|
|
252
|
-
width: 10px;
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
@media (min-width: 1200px) {
|
|
257
|
-
|
|
258
|
-
.cropper-point.point-se {
|
|
259
|
-
height: 5px;
|
|
260
|
-
opacity: 0.75;
|
|
261
|
-
width: 5px;
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.cropper-point.point-se::before {
|
|
266
|
-
background-color: #39f;
|
|
267
|
-
bottom: -50%;
|
|
268
|
-
content: ' ';
|
|
269
|
-
display: block;
|
|
270
|
-
height: 200%;
|
|
271
|
-
opacity: 0;
|
|
272
|
-
position: absolute;
|
|
273
|
-
right: -50%;
|
|
274
|
-
width: 200%;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.cropper-invisible {
|
|
278
|
-
opacity: 0;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.cropper-bg {
|
|
282
|
-
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.cropper-hide {
|
|
286
|
-
display: block;
|
|
287
|
-
height: 0;
|
|
288
|
-
position: absolute;
|
|
289
|
-
width: 0;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.cropper-hidden {
|
|
293
|
-
display: none !important;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.cropper-move {
|
|
297
|
-
cursor: move;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.cropper-crop {
|
|
301
|
-
cursor: crosshair;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
.cropper-disabled .cropper-drag-box,
|
|
305
|
-
.cropper-disabled .cropper-face,
|
|
306
|
-
.cropper-disabled .cropper-line,
|
|
307
|
-
.cropper-disabled .cropper-point {
|
|
308
|
-
cursor: not-allowed;
|
|
309
|
-
}
|
package/public/css/styles.css
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--c1: #1565C0;
|
|
3
|
-
--c1l1: #3578CC;
|
|
4
|
-
--c1l2: #568BDA;
|
|
5
|
-
--c1l3: #77A0E5;
|
|
6
|
-
--c1l4: #99B5F0;
|
|
7
|
-
--c1l5: #BBCBF8;
|
|
8
|
-
--c1l6: #DDE1FC;
|
|
9
|
-
--c1l7: #F0F4FF;
|
|
10
|
-
--c1d1: #1358AD;
|
|
11
|
-
--c1d2: #114A99;
|
|
12
|
-
--c1d3: #0E3D86;
|
|
13
|
-
--c1d4: #0C3172;
|
|
14
|
-
--c1d5: #09245F;
|
|
15
|
-
--c1d6: #07184B;
|
|
16
|
-
--c1d7: #050C37;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
.sideNav ul {
|
|
21
|
-
padding-left: 0px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.sideNav li {
|
|
25
|
-
list-style-type: none;
|
|
26
|
-
border-bottom: 1px solid #ccc;
|
|
27
|
-
padding:8px 10px;
|
|
28
|
-
}
|
|
29
|
-
.sideNav li a {
|
|
30
|
-
color:#333;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.sideNav li.active {
|
|
34
|
-
list-style-type: none;
|
|
35
|
-
border-bottom: 1px solid var(--c1l2);
|
|
36
|
-
padding:8px 10px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.sideNav li.active a, .sideNav li a:hover {
|
|
40
|
-
color:var(--c1l2);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.sideNav .subhead {
|
|
44
|
-
margin-top:30px;
|
|
45
|
-
background-color:var(--c1l6);
|
|
46
|
-
padding-left:12px;
|
|
47
|
-
padding-top:5px;
|
|
48
|
-
padding-bottom: 5px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.sideNav li span {
|
|
52
|
-
padding-top:5px;
|
|
53
|
-
overflow:visible;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
#appBarSpacer {
|
|
57
|
-
height: 64px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
#primaryNavButton {
|
|
61
|
-
margin-right:15px;
|
|
62
|
-
text-transform: "none";
|
|
63
|
-
height: 48px !important;
|
|
64
|
-
min-height: 48px !important;
|
|
65
|
-
max-height: 48px !important;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
#primaryNavButton img {
|
|
69
|
-
height:35px !important;
|
|
70
|
-
margin-right:15px;
|
|
71
|
-
max-height:35px !important;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
#primaryNavButton h2 {
|
|
75
|
-
text-wrap: nowrap;
|
|
76
|
-
line-height: 1;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
#banner {
|
|
80
|
-
background-color:var(--c1l2);
|
|
81
|
-
color: #FFF;
|
|
82
|
-
padding: 12px 24px;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
#banner h1 {
|
|
86
|
-
border-bottom: none;
|
|
87
|
-
line-height: 30px;
|
|
88
|
-
margin-top:10px;
|
|
89
|
-
margin-bottom: 0px;
|
|
90
|
-
font-size:30px;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
#mainContent {
|
|
94
|
-
padding:24px;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
#primaryMenu span, #primaryMenu a {
|
|
98
|
-
color:#FFF;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
@media (max-width: 740px) {
|
|
103
|
-
#primaryNavButton h2 { display:none; }
|
|
104
|
-
#primaryNavButton>img {margin-right:0px;}
|
|
105
|
-
#primaryNavButton>span {margin-left:0px;}
|
|
106
|
-
#appBarSpacer { height:60px;}
|
|
107
|
-
#secondaryMenu { display:none; }
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
@media (min-width: 741px) {
|
|
111
|
-
#secondaryMenuAlt { display:none; width:100%; text-align: center;}
|
|
112
|
-
}
|