@things-factory/auth-ui 5.0.0-alpha.3 → 5.0.0-alpha.30
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.
|
@@ -12,6 +12,10 @@ import { openPopup } from '@operato/layout'
|
|
|
12
12
|
import { CommonButtonStyles, CommonGristStyles, ScrollbarStyles } from '@operato/styles'
|
|
13
13
|
import { isMobileDevice } from '@operato/utils'
|
|
14
14
|
import { client, PageView, store } from '@things-factory/shell'
|
|
15
|
+
import moment from 'moment-timezone'
|
|
16
|
+
|
|
17
|
+
const DEFAULT_TZ = Intl.DateTimeFormat().resolvedOptions().timeZone
|
|
18
|
+
const TIMEZONE_OPTIONS = ['', DEFAULT_TZ, ...moment.tz.names().filter(tz => tz !== DEFAULT_TZ)]
|
|
15
19
|
|
|
16
20
|
export class DomainManagement extends connect(store)(localize(i18next)(PageView)) {
|
|
17
21
|
static get properties() {
|
|
@@ -162,6 +166,16 @@ export class DomainManagement extends connect(store)(localize(i18next)(PageView)
|
|
|
162
166
|
},
|
|
163
167
|
width: 70
|
|
164
168
|
},
|
|
169
|
+
{
|
|
170
|
+
type: 'select',
|
|
171
|
+
name: 'timezone',
|
|
172
|
+
header: i18next.t('field.timezone'),
|
|
173
|
+
record: {
|
|
174
|
+
editable: true,
|
|
175
|
+
options: TIMEZONE_OPTIONS
|
|
176
|
+
},
|
|
177
|
+
width: 120
|
|
178
|
+
},
|
|
165
179
|
{
|
|
166
180
|
type: 'datetime',
|
|
167
181
|
name: 'updatedAt',
|
|
@@ -195,6 +209,7 @@ export class DomainManagement extends connect(store)(localize(i18next)(PageView)
|
|
|
195
209
|
description
|
|
196
210
|
subdomain
|
|
197
211
|
extType
|
|
212
|
+
timezone
|
|
198
213
|
updatedAt
|
|
199
214
|
}
|
|
200
215
|
total
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/auth-ui",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.30",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -30,14 +30,15 @@
|
|
|
30
30
|
"@material/mwc-icon-button": "^0.25.3",
|
|
31
31
|
"@material/mwc-textarea": "^0.25.3",
|
|
32
32
|
"@material/mwc-textfield": "^0.25.3",
|
|
33
|
-
"@operato/data-grist": "
|
|
34
|
-
"@operato/i18n": "
|
|
35
|
-
"@operato/layout": "
|
|
36
|
-
"@operato/lottie-player": "
|
|
37
|
-
"@things-factory/auth-base": "^5.0.0-alpha.
|
|
38
|
-
"@things-factory/i18n-base": "^5.0.0-alpha.
|
|
39
|
-
"@things-factory/more-base": "^5.0.0-alpha.
|
|
40
|
-
"clipboard": "^2.0.6"
|
|
33
|
+
"@operato/data-grist": "1.0.0-beta.0",
|
|
34
|
+
"@operato/i18n": "1.0.0-beta.0",
|
|
35
|
+
"@operato/layout": "1.0.0-beta.0",
|
|
36
|
+
"@operato/lottie-player": "1.0.0-beta.0",
|
|
37
|
+
"@things-factory/auth-base": "^5.0.0-alpha.30",
|
|
38
|
+
"@things-factory/i18n-base": "^5.0.0-alpha.30",
|
|
39
|
+
"@things-factory/more-base": "^5.0.0-alpha.30",
|
|
40
|
+
"clipboard": "^2.0.6",
|
|
41
|
+
"moment-timezone": "^0.5.34"
|
|
41
42
|
},
|
|
42
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "352de3c888d68121aef99da33b31b966d0123328"
|
|
43
44
|
}
|