@dssp/project 0.0.2 → 0.0.6

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.
Files changed (196) hide show
  1. package/client/pages/checklist/checklist-importer.ts +6 -8
  2. package/client/pages/checklist/checklist-list-page.ts +10 -25
  3. package/client/pages/project/popup/popup-plan-upload.ts +138 -0
  4. package/client/pages/project/{project-create-popup.ts → popup/popup-project-create.ts} +2 -3
  5. package/client/pages/project/project-detail.ts +11 -11
  6. package/client/pages/project/project-list.ts +17 -10
  7. package/client/pages/project/project-plan-management.ts +117 -39
  8. package/client/pages/project/project-schedule-list.ts +2 -0
  9. package/client/pages/project/project-schedule.ts +296 -7
  10. package/client/pages/project/project-setting-list.ts +10 -6
  11. package/client/pages/project/project-update.ts +5 -2
  12. package/client/pages/resource/construction-type-management.ts +211 -0
  13. package/client/pages/resource/manager-management.ts +202 -0
  14. package/client/pages/resource/worker-type-management.ts +226 -0
  15. package/client/pages/task/task-importer.ts +6 -8
  16. package/client/pages/task/task-list-page.ts +10 -25
  17. package/client/route.ts +8 -4
  18. package/dist-client/pages/checklist/checklist-importer.d.ts +1 -0
  19. package/dist-client/pages/checklist/checklist-importer.js +3 -2
  20. package/dist-client/pages/checklist/checklist-importer.js.map +1 -1
  21. package/dist-client/pages/checklist/checklist-list-page.d.ts +1 -0
  22. package/dist-client/pages/checklist/checklist-list-page.js +8 -16
  23. package/dist-client/pages/checklist/checklist-list-page.js.map +1 -1
  24. package/dist-client/pages/project/popup/popup-plan-upload.d.ts +10 -0
  25. package/dist-client/pages/project/popup/popup-plan-upload.js +139 -0
  26. package/dist-client/pages/project/popup/popup-plan-upload.js.map +1 -0
  27. package/dist-client/pages/project/{project-create-popup.d.ts → popup/popup-project-create.d.ts} +1 -3
  28. package/dist-client/pages/project/{project-create-popup.js → popup/popup-project-create.js} +9 -10
  29. package/dist-client/pages/project/popup/popup-project-create.js.map +1 -0
  30. package/dist-client/pages/project/project-detail.d.ts +5 -4
  31. package/dist-client/pages/project/project-detail.js +9 -10
  32. package/dist-client/pages/project/project-detail.js.map +1 -1
  33. package/dist-client/pages/project/project-list.d.ts +12 -2
  34. package/dist-client/pages/project/project-list.js +11 -14
  35. package/dist-client/pages/project/project-list.js.map +1 -1
  36. package/dist-client/pages/project/project-plan-management.d.ts +9 -4
  37. package/dist-client/pages/project/project-plan-management.js +105 -35
  38. package/dist-client/pages/project/project-plan-management.js.map +1 -1
  39. package/dist-client/pages/project/project-schedule-list.d.ts +1 -0
  40. package/dist-client/pages/project/project-schedule-list.js +1 -0
  41. package/dist-client/pages/project/project-schedule-list.js.map +1 -1
  42. package/dist-client/pages/project/project-schedule.d.ts +10 -3
  43. package/dist-client/pages/project/project-schedule.js +294 -7
  44. package/dist-client/pages/project/project-schedule.js.map +1 -1
  45. package/dist-client/pages/project/project-setting-list.d.ts +3 -2
  46. package/dist-client/pages/project/project-setting-list.js +9 -6
  47. package/dist-client/pages/project/project-setting-list.js.map +1 -1
  48. package/dist-client/pages/project/project-update.d.ts +3 -2
  49. package/dist-client/pages/project/project-update.js +4 -2
  50. package/dist-client/pages/project/project-update.js.map +1 -1
  51. package/dist-client/pages/resource/construction-type-management.d.ts +22 -0
  52. package/dist-client/pages/resource/construction-type-management.js +208 -0
  53. package/dist-client/pages/resource/construction-type-management.js.map +1 -0
  54. package/dist-client/pages/resource/manager-management.d.ts +31 -0
  55. package/dist-client/pages/resource/manager-management.js +196 -0
  56. package/dist-client/pages/resource/manager-management.js.map +1 -0
  57. package/dist-client/pages/resource/worker-type-management.d.ts +28 -0
  58. package/dist-client/pages/resource/worker-type-management.js +222 -0
  59. package/dist-client/pages/resource/worker-type-management.js.map +1 -0
  60. package/dist-client/pages/task/task-importer.d.ts +1 -0
  61. package/dist-client/pages/task/task-importer.js +3 -2
  62. package/dist-client/pages/task/task-importer.js.map +1 -1
  63. package/dist-client/pages/task/task-list-page.d.ts +1 -0
  64. package/dist-client/pages/task/task-list-page.js +8 -16
  65. package/dist-client/pages/task/task-list-page.js.map +1 -1
  66. package/dist-client/route.d.ts +1 -1
  67. package/dist-client/route.js +7 -4
  68. package/dist-client/route.js.map +1 -1
  69. package/dist-client/tsconfig.tsbuildinfo +1 -1
  70. package/dist-server/controllers/index.d.ts +0 -0
  71. package/dist-server/controllers/project-to-excel.d.ts +7 -0
  72. package/dist-server/index.d.ts +2 -0
  73. package/dist-server/middlewares/index.d.ts +1 -0
  74. package/dist-server/routes.d.ts +1 -0
  75. package/dist-server/service/check-item/check-item-mutation.d.ts +10 -0
  76. package/dist-server/service/check-item/check-item-query.d.ts +11 -0
  77. package/dist-server/service/check-item/check-item-type.d.ts +18 -0
  78. package/dist-server/service/check-item/check-item.d.ts +18 -0
  79. package/dist-server/service/check-item/index.d.ts +5 -0
  80. package/dist-server/service/checklist/checklist-mutation.d.ts +10 -0
  81. package/dist-server/service/checklist/checklist-query.d.ts +11 -0
  82. package/dist-server/service/checklist/checklist-type.d.ts +18 -0
  83. package/dist-server/service/checklist/checklist.d.ts +26 -0
  84. package/dist-server/service/checklist/index.d.ts +5 -0
  85. package/dist-server/service/construction-type/construction-type-mutation.d.ts +6 -0
  86. package/dist-server/service/construction-type/construction-type-mutation.js +64 -0
  87. package/dist-server/service/construction-type/construction-type-mutation.js.map +1 -0
  88. package/dist-server/service/construction-type/construction-type-query.d.ts +11 -0
  89. package/dist-server/service/construction-type/construction-type-query.js +78 -0
  90. package/dist-server/service/construction-type/construction-type-query.js.map +1 -0
  91. package/dist-server/service/construction-type/construction-type-type.d.ts +11 -0
  92. package/dist-server/service/construction-type/construction-type-type.js +43 -0
  93. package/dist-server/service/construction-type/construction-type-type.js.map +1 -0
  94. package/dist-server/service/construction-type/construction-type.d.ts +16 -0
  95. package/dist-server/service/construction-type/construction-type.js +77 -0
  96. package/dist-server/service/construction-type/construction-type.js.map +1 -0
  97. package/dist-server/service/construction-type/index.d.ts +5 -0
  98. package/dist-server/service/construction-type/index.js +9 -0
  99. package/dist-server/service/construction-type/index.js.map +1 -0
  100. package/dist-server/service/index.d.ts +12 -0
  101. package/dist-server/service/index.js +12 -4
  102. package/dist-server/service/index.js.map +1 -1
  103. package/dist-server/service/manager/index.d.ts +5 -0
  104. package/dist-server/service/manager/index.js +9 -0
  105. package/dist-server/service/manager/index.js.map +1 -0
  106. package/dist-server/service/manager/manager-mutation.d.ts +5 -0
  107. package/dist-server/service/manager/manager-mutation.js +39 -0
  108. package/dist-server/service/manager/manager-mutation.js.map +1 -0
  109. package/dist-server/service/manager/manager-query.d.ts +4 -0
  110. package/dist-server/service/manager/manager-query.js +39 -0
  111. package/dist-server/service/manager/manager-query.js.map +1 -0
  112. package/dist-server/service/manager/manager-type.d.ts +15 -0
  113. package/dist-server/service/manager/manager-type.js +62 -0
  114. package/dist-server/service/manager/manager-type.js.map +1 -0
  115. package/dist-server/service/manager/manager.d.ts +8 -0
  116. package/dist-server/service/manager/manager.js +41 -0
  117. package/dist-server/service/manager/manager.js.map +1 -0
  118. package/dist-server/service/project/index.d.ts +7 -0
  119. package/dist-server/service/project/project-mutation.d.ts +9 -0
  120. package/dist-server/service/project/project-mutation.js +61 -55
  121. package/dist-server/service/project/project-mutation.js.map +1 -1
  122. package/dist-server/service/project/project-query.d.ts +16 -0
  123. package/dist-server/service/project/project-query.js +3 -3
  124. package/dist-server/service/project/project-query.js.map +1 -1
  125. package/dist-server/service/project/project-type.d.ts +29 -0
  126. package/dist-server/service/project/project-type.js +1 -2
  127. package/dist-server/service/project/project-type.js.map +1 -1
  128. package/dist-server/service/project/project.d.ts +35 -0
  129. package/dist-server/service/project/project.js +1 -2
  130. package/dist-server/service/project/project.js.map +1 -1
  131. package/dist-server/service/task/index.d.ts +5 -0
  132. package/dist-server/service/task/task-mutation.d.ts +10 -0
  133. package/dist-server/service/task/task-query.d.ts +11 -0
  134. package/dist-server/service/task/task-type.d.ts +18 -0
  135. package/dist-server/service/task/task.d.ts +25 -0
  136. package/dist-server/service/worker-type/index.d.ts +5 -0
  137. package/dist-server/service/worker-type/index.js +9 -0
  138. package/dist-server/service/worker-type/index.js.map +1 -0
  139. package/dist-server/service/worker-type/worker-type-mutation.d.ts +6 -0
  140. package/dist-server/service/worker-type/worker-type-mutation.js +64 -0
  141. package/dist-server/service/worker-type/worker-type-mutation.js.map +1 -0
  142. package/dist-server/service/worker-type/worker-type-query.d.ts +11 -0
  143. package/dist-server/service/{resource/resource-query.js → worker-type/worker-type-query.js} +31 -39
  144. package/dist-server/service/worker-type/worker-type-query.js.map +1 -0
  145. package/dist-server/service/worker-type/worker-type-type.d.ts +11 -0
  146. package/dist-server/service/worker-type/worker-type-type.js +43 -0
  147. package/dist-server/service/worker-type/worker-type-type.js.map +1 -0
  148. package/dist-server/service/worker-type/worker-type.d.ts +16 -0
  149. package/dist-server/service/{resource/resource.js → worker-type/worker-type.js} +35 -20
  150. package/dist-server/service/worker-type/worker-type.js.map +1 -0
  151. package/dist-server/tsconfig.tsbuildinfo +1 -1
  152. package/package.json +3 -3
  153. package/server/service/construction-type/construction-type-mutation.ts +66 -0
  154. package/server/service/construction-type/construction-type-query.ts +47 -0
  155. package/server/service/construction-type/construction-type-type.ts +26 -0
  156. package/server/service/{resource/resource.ts → construction-type/construction-type.ts} +18 -6
  157. package/server/service/construction-type/index.ts +6 -0
  158. package/server/service/index.ts +12 -4
  159. package/server/service/manager/index.ts +6 -0
  160. package/server/service/manager/manager-mutation.ts +42 -0
  161. package/server/service/manager/manager-query.ts +28 -0
  162. package/server/service/manager/manager-type.ts +40 -0
  163. package/server/service/manager/manager.ts +29 -0
  164. package/server/service/project/project-mutation.ts +101 -79
  165. package/server/service/project/project-query.ts +5 -8
  166. package/server/service/worker-type/index.ts +6 -0
  167. package/server/service/worker-type/worker-type-mutation.ts +66 -0
  168. package/server/service/worker-type/worker-type-query.ts +47 -0
  169. package/server/service/worker-type/worker-type-type.ts +26 -0
  170. package/server/service/worker-type/worker-type.ts +68 -0
  171. package/things-factory.config.js +3 -0
  172. package/client/pages/project/ox-progress-circle.ts +0 -133
  173. package/client/pages/resource/resource-importer.ts +0 -96
  174. package/client/pages/resource/resource-list-page.ts +0 -355
  175. package/dist-client/pages/project/ox-progress-circle.d.ts +0 -41
  176. package/dist-client/pages/project/ox-progress-circle.js +0 -182
  177. package/dist-client/pages/project/ox-progress-circle.js.map +0 -1
  178. package/dist-client/pages/project/project-create-popup.js.map +0 -1
  179. package/dist-client/pages/resource/resource-importer.d.ts +0 -9
  180. package/dist-client/pages/resource/resource-importer.js +0 -100
  181. package/dist-client/pages/resource/resource-importer.js.map +0 -1
  182. package/dist-client/pages/resource/resource-list-page.d.ts +0 -62
  183. package/dist-client/pages/resource/resource-list-page.js +0 -331
  184. package/dist-client/pages/resource/resource-list-page.js.map +0 -1
  185. package/dist-server/service/resource/index.js +0 -9
  186. package/dist-server/service/resource/index.js.map +0 -1
  187. package/dist-server/service/resource/resource-mutation.js +0 -129
  188. package/dist-server/service/resource/resource-mutation.js.map +0 -1
  189. package/dist-server/service/resource/resource-query.js.map +0 -1
  190. package/dist-server/service/resource/resource-type.js +0 -69
  191. package/dist-server/service/resource/resource-type.js.map +0 -1
  192. package/dist-server/service/resource/resource.js.map +0 -1
  193. package/server/service/resource/index.ts +0 -6
  194. package/server/service/resource/resource-mutation.ts +0 -139
  195. package/server/service/resource/resource-query.ts +0 -56
  196. package/server/service/resource/resource-type.ts +0 -49
@@ -1,355 +0,0 @@
1
- import '@operato/data-grist'
2
-
3
- import { CommonButtonStyles, CommonGristStyles, ScrollbarStyles } from '@operato/styles'
4
- import { PageView, store } from '@operato/shell'
5
- import { css, html } from 'lit'
6
- import { customElement, property, query, state } from 'lit/decorators.js'
7
- import { ScopedElementsMixin } from '@open-wc/scoped-elements'
8
- import {
9
- ColumnConfig,
10
- DataGrist,
11
- FetchOption,
12
- SortersControl
13
- } from '@operato/data-grist'
14
- import { client } from '@operato/graphql'
15
- import { i18next, localize } from '@operato/i18n'
16
- import { notify, openPopup } from '@operato/layout'
17
- import { OxPopup, OxPrompt } from '@operato/popup'
18
- import { isMobileDevice } from '@operato/utils'
19
-
20
- import { connect } from 'pwa-helpers/connect-mixin'
21
- import gql from 'graphql-tag'
22
-
23
- import { ResourceImporter } from './resource-importer'
24
-
25
- @customElement('resource-list-page')
26
- export class ResourceListPage extends connect(store)(localize(i18next)(ScopedElementsMixin(PageView))) {
27
-
28
- static styles = [
29
- ScrollbarStyles,
30
- CommonGristStyles,
31
- css`
32
- :host {
33
- display: flex;
34
-
35
- width: 100%;
36
-
37
- --grid-record-emphasized-background-color: red;
38
- --grid-record-emphasized-color: yellow;
39
- }
40
- `
41
- ]
42
-
43
- static get scopedElements() {
44
- return {
45
- 'resource-importer': ResourceImporter
46
- }
47
- }
48
-
49
- @state() private gristConfig: any
50
- @state() private mode: 'CARD' | 'GRID' | 'LIST' = isMobileDevice() ? 'CARD' : 'GRID'
51
-
52
- @query('ox-grist') private grist!: DataGrist
53
- @query('#sorter-control') private sortersControl!: OxPopup
54
-
55
- get context() {
56
- return {
57
- title: i18next.t('title.resource list'),
58
- search: {
59
- handler: (search: string) => {
60
- this.grist.searchText = search
61
- },
62
- value: this.grist.searchText
63
- },
64
- filter: {
65
- handler: () => {
66
- this.grist.toggleHeadroom()
67
- }
68
- },
69
- help: 'project/resource',
70
- actions: [
71
- {
72
- title: i18next.t('button.save'),
73
- action: this.updateResource.bind(this),
74
- ...CommonButtonStyles.save
75
- },
76
- {
77
- title: i18next.t('button.delete'),
78
- action: this.deleteResource.bind(this),
79
- ...CommonButtonStyles.delete
80
- }
81
- ],
82
- exportable: {
83
- name: i18next.t('title.resource list'),
84
- data: this.exportHandler.bind(this)
85
- },
86
- importable: {
87
- handler: this.importHandler.bind(this)
88
- }
89
- }
90
- }
91
-
92
- render() {
93
- const mode = this.mode || (isMobileDevice() ? 'CARD' : 'GRID')
94
-
95
- return html`
96
- <ox-grist
97
- .mode=${mode}
98
- .config=${this.gristConfig}
99
- .fetchHandler=${this.fetchHandler.bind(this)}
100
- >
101
- <div slot="headroom">
102
- <div id="filters">
103
- <ox-filters-form autofocus></ox-filters-form>
104
- </div>
105
-
106
- <div id="sorters">
107
- Sort
108
- <mwc-icon
109
- @click=${e => {
110
- const target = e.currentTarget
111
- this.sortersControl.open({
112
- right: 0,
113
- top: target.offsetTop + target.offsetHeight
114
- })
115
- }}
116
- >expand_more</mwc-icon
117
- >
118
- <ox-popup id="sorter-control">
119
- <ox-sorters-control> </ox-sorters-control>
120
- </ox-popup>
121
- </div>
122
-
123
- <div id="modes">
124
- <mwc-icon @click=${() => (this.mode = 'GRID')} ?active=${mode == 'GRID'}>grid_on</mwc-icon>
125
- <mwc-icon @click=${() => (this.mode = 'LIST')} ?active=${mode == 'LIST'}>format_list_bulleted</mwc-icon>
126
- <mwc-icon @click=${() => (this.mode = 'CARD')} ?active=${mode == 'CARD'}>apps</mwc-icon>
127
- </div>
128
- </div>
129
- </ox-grist>
130
- `
131
- }
132
-
133
- async pageInitialized(lifecycle: any) {
134
- this.gristConfig = {
135
- list: {
136
- fields: ['name', 'description'],
137
- details: ['active', 'updatedAt']
138
- },
139
- columns: [
140
- { type: 'gutter', gutterName: 'sequence' },
141
- { type: 'gutter', gutterName: 'row-selector', multiple: true },
142
- {
143
- type: 'string',
144
- name: 'name',
145
- header: i18next.t('field.name'),
146
- record: {
147
- editable: true
148
- },
149
- filter: 'search',
150
- sortable: true,
151
- width: 150
152
- },
153
- {
154
- type: 'string',
155
- name: 'description',
156
- header: i18next.t('field.description'),
157
- record: {
158
- editable: true
159
- },
160
- filter: 'search',
161
- width: 200
162
- },
163
- {
164
- type: 'checkbox',
165
- name: 'active',
166
- label: true,
167
- header: i18next.t('field.active'),
168
- record: {
169
- editable: true
170
- },
171
- filter: true,
172
- sortable: true,
173
- width: 60
174
- },
175
- {
176
- type: 'resource-object',
177
- name: 'updater',
178
- header: i18next.t('field.updater'),
179
- record: {
180
- editable: false
181
- },
182
- sortable: true,
183
- width: 120
184
- },
185
- {
186
- type: 'datetime',
187
- name: 'updatedAt',
188
- header: i18next.t('field.updated_at'),
189
- record: {
190
- editable: false
191
- },
192
- sortable: true,
193
- width: 180
194
- }
195
- ],
196
- rows: {
197
- selectable: {
198
- multiple: true
199
- }
200
- },
201
- sorters: [
202
- {
203
- name: 'name'
204
- }
205
- ]
206
- }
207
- }
208
-
209
- async pageUpdated(changes: any, lifecycle: any) {
210
- if (this.active) {
211
- // do something here when this page just became as active
212
- }
213
- }
214
-
215
- async fetchHandler({ page = 1, limit = 100, sortings = [], filters = [] }: FetchOption) {
216
- const response = await client.query({
217
- query: gql`
218
- query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
219
- responses: resources(filters: $filters, pagination: $pagination, sortings: $sortings) {
220
- items {
221
- id
222
- name
223
- description
224
- active
225
- updater {
226
- id
227
- name
228
- }
229
- updatedAt
230
- }
231
- total
232
- }
233
- }
234
- `,
235
- variables: {
236
- filters,
237
- pagination: { page, limit },
238
- sortings
239
- }
240
- })
241
-
242
- return {
243
- total: response.data.responses.total || 0,
244
- records: response.data.responses.items || []
245
- }
246
- }
247
-
248
- private async deleteResource() {
249
- if (
250
- await OxPrompt.open({
251
- title: i18next.t('text.are_you_sure'),
252
- text: i18next.t('text.sure_to_x', { x: i18next.t('text.delete') }),
253
- confirmButton: { text: i18next.t('button.confirm') },
254
- cancelButton: { text: i18next.t('button.cancel') }
255
- })
256
- ) {
257
- const ids = this.grist.selected.map(record => record.id)
258
- if (ids && ids.length > 0) {
259
- const response = await client.mutate({
260
- mutation: gql`
261
- mutation ($ids: [String!]!) {
262
- deleteResources(ids: $ids)
263
- }
264
- `,
265
- variables: {
266
- ids
267
- }
268
- })
269
-
270
- if (!response.errors) {
271
- this.grist.fetch()
272
- notify({
273
- message: i18next.t('text.info_x_successfully', { x: i18next.t('text.delete') })
274
- })
275
- }
276
- }
277
- }
278
- }
279
-
280
- private async updateResource() {
281
- let patches = this.grist.dirtyRecords
282
- if (patches && patches.length) {
283
- patches = patches.map(patch => {
284
- let patchField: any = patch.id ? { id: patch.id } : {}
285
- const dirtyFields = patch.__dirtyfields__
286
- for (let key in dirtyFields) {
287
- patchField[key] = dirtyFields[key].after
288
- }
289
- patchField.cuFlag = patch.__dirty__
290
-
291
- return patchField
292
- })
293
-
294
- const response = await client.mutate({
295
- mutation: gql`
296
- mutation ($patches: [ResourcePatch!]!) {
297
- updateMultipleResource(patches: $patches) {
298
- name
299
- }
300
- }
301
- `,
302
- variables: {
303
- patches
304
- }
305
- })
306
-
307
- if (!response.errors) {
308
- this.grist.fetch()
309
- }
310
- }
311
- }
312
-
313
- private async exportHandler() {
314
- const exportTargets = this.grist.selected.length ? this.grist.selected : this.grist.dirtyData.records
315
- const targetFieldSet = new Set([
316
- 'id',
317
- 'name',
318
- 'description',
319
- 'active'
320
- ])
321
-
322
- return exportTargets.map(resource => {
323
- let tempObj = {}
324
- for (const field of targetFieldSet) {
325
- tempObj[field] = resource[field]
326
- }
327
-
328
- return tempObj
329
- })
330
- }
331
-
332
- private async importHandler(records) {
333
- const popup = openPopup(
334
- html`
335
- <resource-importer
336
- .resources=${records}
337
- @imported=${() => {
338
- history.back()
339
- this.grist.fetch()
340
- }}
341
- ></resource-importer>
342
- `,
343
- {
344
- backdrop: true,
345
- size: 'large',
346
- title: i18next.t('title.import resource')
347
- }
348
- )
349
-
350
- popup.onclosed = () => {
351
- this.grist.fetch()
352
- }
353
- }
354
- }
355
-
@@ -1,41 +0,0 @@
1
- /**
2
- * @license Copyright © HatioLab Inc. All rights reserved.
3
- */
4
- import { PropertyValues, LitElement } from 'lit';
5
- /**
6
- WEB Component for code-mirror code editor.
7
-
8
- Example:
9
- <ox-progress-circle
10
- .value=${70}
11
- titleText="전체"
12
- suffix="%"
13
- fontSize="29px"
14
- fontColor="#4E5055"
15
- borderStyle="none"
16
- innerCircleSize="28%"
17
- circleColor="#0595E5"
18
- shadow="#00000026 4px 4px 4px"
19
- background="#eaf5fd"
20
- ></ox-progress-circle>
21
- */
22
- export declare class OxProgressCircle extends LitElement {
23
- static styles: import("lit").CSSResult[];
24
- value: number;
25
- suffix: string;
26
- titleText: string;
27
- fontSize: string;
28
- fontColor: string;
29
- borderStyle: string;
30
- innerCircleSize: string;
31
- shadow: string;
32
- circleColor: string;
33
- background: string;
34
- circle: HTMLDivElement;
35
- innerCircle: HTMLDivElement;
36
- progressTitle?: HTMLSpanElement;
37
- firstUpdated(): void;
38
- updated(changes: PropertyValues<this>): void;
39
- updateCircleBackground(): void;
40
- render(): import("lit-html").TemplateResult<1>;
41
- }
@@ -1,182 +0,0 @@
1
- /**
2
- * @license Copyright © HatioLab Inc. All rights reserved.
3
- */
4
- import { __decorate, __metadata } from "tslib";
5
- import { LitElement, css, html } from 'lit';
6
- import { customElement, property, query } from 'lit/decorators.js';
7
- import { ScrollbarStyles } from '@operato/styles';
8
- /**
9
- WEB Component for code-mirror code editor.
10
-
11
- Example:
12
- <ox-progress-circle
13
- .value=${70}
14
- titleText="전체"
15
- suffix="%"
16
- fontSize="29px"
17
- fontColor="#4E5055"
18
- borderStyle="none"
19
- innerCircleSize="28%"
20
- circleColor="#0595E5"
21
- shadow="#00000026 4px 4px 4px"
22
- background="#eaf5fd"
23
- ></ox-progress-circle>
24
- */
25
- let OxProgressCircle = class OxProgressCircle extends LitElement {
26
- constructor() {
27
- super(...arguments);
28
- this.value = 0;
29
- this.suffix = '';
30
- this.titleText = '';
31
- this.fontSize = '10px';
32
- this.fontColor = '';
33
- this.borderStyle = '';
34
- this.innerCircleSize = '10%';
35
- this.shadow = '';
36
- this.circleColor = 'yellowgreen';
37
- this.background = '';
38
- }
39
- firstUpdated() {
40
- if (this.fontSize) {
41
- this.circle.style.fontSize = this.fontSize;
42
- }
43
- if (this.fontColor) {
44
- this.innerCircle.style.color = this.fontColor;
45
- }
46
- if (this.borderStyle) {
47
- this.circle.style.border = this.borderStyle;
48
- }
49
- if (this.innerCircleSize) {
50
- this.innerCircle.style.width = `calc(100% - ${this.innerCircleSize})`;
51
- }
52
- if (this.shadow) {
53
- this.circle.style.boxShadow = this.shadow;
54
- }
55
- if (this.background) {
56
- this.innerCircle.style.background = this.background;
57
- }
58
- if (this.progressTitle && this.circleColor) {
59
- this.progressTitle.style.color = this.circleColor;
60
- }
61
- }
62
- updated(changes) {
63
- if (changes.has('value')) {
64
- this.updateCircleBackground();
65
- }
66
- }
67
- updateCircleBackground() {
68
- const position = this.value * 3.6; // 360 = 100%
69
- this.circle.style.background = `conic-gradient(${this.circleColor} ${position}deg, ${this.background} 0deg)`;
70
- }
71
- render() {
72
- return html `
73
- <div circle>
74
- <div inner-circle>
75
- ${this.titleText ? html `<span progress-title>${this.titleText}</span>` : ''}
76
- <span>${this.value}${this.suffix}</span>
77
- </div>
78
- </div>
79
- `;
80
- }
81
- };
82
- OxProgressCircle.styles = [
83
- ScrollbarStyles,
84
- css `
85
- :host {
86
- display: flex;
87
- }
88
-
89
- div[circle] {
90
- font-size: 29px;
91
- font-weight: bold;
92
- width: 100%;
93
- aspect-ratio: 1;
94
- display: flex;
95
- border-radius: 50%;
96
- border: 1px solid #353b48;
97
- position: relative;
98
- background: conic-gradient(yellowgreen 0deg, white 0deg);
99
- box-shadow: #00000026 5px 5px 5px;
100
- }
101
- div[inner-circle] {
102
- width: 90%;
103
- aspect-ratio: 1;
104
- border-radius: inherit;
105
- background-color: #353b48;
106
- margin: auto;
107
- display: flex;
108
- flex-direction: column;
109
- align-items: center;
110
- color: white;
111
- justify-content: center;
112
- box-shadow: inset #00000026 -2px 2px 8px;
113
- }
114
-
115
- div[inner-circle] span {
116
- display: flex;
117
- align-items: center;
118
- }
119
-
120
- span[progress-title] {
121
- font-size: 0.65em;
122
- margin-bottom: -5%;
123
- }
124
- `
125
- ];
126
- __decorate([
127
- property({ type: Number }),
128
- __metadata("design:type", Number)
129
- ], OxProgressCircle.prototype, "value", void 0);
130
- __decorate([
131
- property({ type: String }),
132
- __metadata("design:type", String)
133
- ], OxProgressCircle.prototype, "suffix", void 0);
134
- __decorate([
135
- property({ type: String }),
136
- __metadata("design:type", String)
137
- ], OxProgressCircle.prototype, "titleText", void 0);
138
- __decorate([
139
- property({ type: String }),
140
- __metadata("design:type", String)
141
- ], OxProgressCircle.prototype, "fontSize", void 0);
142
- __decorate([
143
- property({ type: String }),
144
- __metadata("design:type", String)
145
- ], OxProgressCircle.prototype, "fontColor", void 0);
146
- __decorate([
147
- property({ type: String }),
148
- __metadata("design:type", String)
149
- ], OxProgressCircle.prototype, "borderStyle", void 0);
150
- __decorate([
151
- property({ type: String }),
152
- __metadata("design:type", String)
153
- ], OxProgressCircle.prototype, "innerCircleSize", void 0);
154
- __decorate([
155
- property({ type: String }),
156
- __metadata("design:type", String)
157
- ], OxProgressCircle.prototype, "shadow", void 0);
158
- __decorate([
159
- property({ type: String }),
160
- __metadata("design:type", String)
161
- ], OxProgressCircle.prototype, "circleColor", void 0);
162
- __decorate([
163
- property({ type: String }),
164
- __metadata("design:type", String)
165
- ], OxProgressCircle.prototype, "background", void 0);
166
- __decorate([
167
- query('div[circle]'),
168
- __metadata("design:type", HTMLDivElement)
169
- ], OxProgressCircle.prototype, "circle", void 0);
170
- __decorate([
171
- query('div[inner-circle]'),
172
- __metadata("design:type", HTMLDivElement)
173
- ], OxProgressCircle.prototype, "innerCircle", void 0);
174
- __decorate([
175
- query('span[progress-title]'),
176
- __metadata("design:type", HTMLSpanElement)
177
- ], OxProgressCircle.prototype, "progressTitle", void 0);
178
- OxProgressCircle = __decorate([
179
- customElement('ox-progress-circle')
180
- ], OxProgressCircle);
181
- export { OxProgressCircle };
182
- //# sourceMappingURL=ox-progress-circle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ox-progress-circle.js","sourceRoot":"","sources":["../../../client/pages/project/ox-progress-circle.ts"],"names":[],"mappings":"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","sourcesContent":["/**\n * @license Copyright © HatioLab Inc. All rights reserved.\n */\n\nimport { PropertyValues, LitElement, css, html } from 'lit'\nimport { customElement, property, query } from 'lit/decorators.js'\nimport { ScrollbarStyles } from '@operato/styles'\n\n/**\nWEB Component for code-mirror code editor.\n\nExample:\n <ox-progress-circle\n .value=${70}\n titleText=\"전체\"\n suffix=\"%\"\n fontSize=\"29px\"\n fontColor=\"#4E5055\"\n borderStyle=\"none\"\n innerCircleSize=\"28%\"\n circleColor=\"#0595E5\"\n shadow=\"#00000026 4px 4px 4px\"\n background=\"#eaf5fd\"\n ></ox-progress-circle>\n*/\n@customElement('ox-progress-circle')\nexport class OxProgressCircle extends LitElement {\n static styles = [\n ScrollbarStyles,\n css`\n :host {\n display: flex;\n }\n\n div[circle] {\n font-size: 29px;\n font-weight: bold;\n width: 100%;\n aspect-ratio: 1;\n display: flex;\n border-radius: 50%;\n border: 1px solid #353b48;\n position: relative;\n background: conic-gradient(yellowgreen 0deg, white 0deg);\n box-shadow: #00000026 5px 5px 5px;\n }\n div[inner-circle] {\n width: 90%;\n aspect-ratio: 1;\n border-radius: inherit;\n background-color: #353b48;\n margin: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n color: white;\n justify-content: center;\n box-shadow: inset #00000026 -2px 2px 8px;\n }\n\n div[inner-circle] span {\n display: flex;\n align-items: center;\n }\n\n span[progress-title] {\n font-size: 0.65em;\n margin-bottom: -5%;\n }\n `\n ]\n\n @property({ type: Number }) value: number = 0\n @property({ type: String }) suffix: string = ''\n @property({ type: String }) titleText: string = ''\n @property({ type: String }) fontSize: string = '10px'\n @property({ type: String }) fontColor: string = ''\n @property({ type: String }) borderStyle: string = ''\n @property({ type: String }) innerCircleSize: string = '10%'\n @property({ type: String }) shadow: string = ''\n @property({ type: String }) circleColor: string = 'yellowgreen'\n @property({ type: String }) background: string = ''\n\n @query('div[circle]') circle!: HTMLDivElement\n @query('div[inner-circle]') innerCircle!: HTMLDivElement\n @query('span[progress-title]') progressTitle?: HTMLSpanElement\n\n firstUpdated() {\n if (this.fontSize) {\n this.circle.style.fontSize = this.fontSize\n }\n if (this.fontColor) {\n this.innerCircle.style.color = this.fontColor\n }\n if (this.borderStyle) {\n this.circle.style.border = this.borderStyle\n }\n if (this.innerCircleSize) {\n this.innerCircle.style.width = `calc(100% - ${this.innerCircleSize})`\n }\n if (this.shadow) {\n this.circle.style.boxShadow = this.shadow\n }\n if (this.background) {\n this.innerCircle.style.background = this.background\n }\n if (this.progressTitle && this.circleColor) {\n this.progressTitle.style.color = this.circleColor\n }\n }\n\n updated(changes: PropertyValues<this>) {\n if (changes.has('value')) {\n this.updateCircleBackground()\n }\n }\n\n updateCircleBackground() {\n const position = this.value * 3.6 // 360 = 100%\n this.circle.style.background = `conic-gradient(${this.circleColor} ${position}deg, ${this.background} 0deg)`\n }\n\n render() {\n return html`\n <div circle>\n <div inner-circle>\n ${this.titleText ? html`<span progress-title>${this.titleText}</span>` : ''}\n <span>${this.value}${this.suffix}</span>\n </div>\n </div>\n `\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"project-create-popup.js","sourceRoot":"","sources":["../../../client/pages/project/project-create-popup.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,GAAG,MAAM,aAAa,CAAA;AAC7B,OAAO,gDAAgD,CAAA;AACvD,OAAO,yCAAyC,CAAA;AAGzC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,QAAQ,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC;IAA9D;;QAmEY,gBAAW,GAAW,EAAE,CAAA;IAsE3C,CAAC;IAnEC,MAAM;QACJ,OAAO,IAAI,CAAA;;;;;;;;qBAQM,IAAI,CAAC,WAAW;qBAChB,IAAI,CAAC,cAAc;;;;;;uCAMD,IAAI,CAAC,cAAc;;;uCAGnB,IAAI,CAAC,MAAM;;;KAG7C,CAAA;IACH,CAAC;IAED,UAAU;IACF,KAAK,CAAC,cAAc;QAC1B,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;YACrB,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,oBAAoB,EAAE,CAAC,CAAA;YACxD,OAAM;SACP;QAED,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC;YACnC,QAAQ,EAAE,GAAG,CAAA;;;;;;OAMZ;YACD,SAAS,EAAE;gBACT,OAAO,EAAE;oBACP,IAAI,EAAE,IAAI,CAAC,WAAW;iBACvB;aACF;SACF,CAAC,CAAA;QAEF,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE;YACpB,MAAM,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC,CAAA;SAChC;QAED,kBAAkB;QAClB,IAAI,CAAC,SAAS,EAAE,CAAA;QAEhB,mBAAmB;QACnB,OAAO,CAAC,IAAI,EAAE,CAAA;IAChB,CAAC;IAEO,MAAM;QACZ,OAAO,CAAC,IAAI,EAAE,CAAA;IAChB,CAAC;IAED,gCAAgC;IACxB,cAAc,CAAC,KAAiB;QACtC,MAAM,MAAM,GAAG,KAAK,CAAC,MAA0B,CAAA;QAC/C,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,KAAK,CAAA;IACjC,CAAC;;AAvIM,yBAAM,GAAG;IACd,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA8DF;CACF,CAAA;AAED;IAAC,KAAK,EAAE;;uDAAiC;AACzC;IAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;8BAAqB,QAAQ;qDAAA;AApE/C,kBAAkB;IAD9B,aAAa,CAAC,sBAAsB,CAAC;GACzB,kBAAkB,CAyI9B;SAzIY,kBAAkB","sourcesContent":["import { css, html, LitElement } from 'lit'\nimport { customElement, property, state } from 'lit/decorators.js'\nimport { client } from '@operato/graphql'\nimport { i18next, localize } from '@operato/i18n'\nimport { notify } from '@operato/layout'\nimport gql from 'graphql-tag'\nimport '@material/web/textfield/outlined-text-field.js'\nimport '@material/web/button/elevated-button.js'\n\n@customElement('project-create-popup')\nexport class ProjectCreatePopup extends localize(i18next)(LitElement) {\n static styles = [\n css`\n :host {\n display: flex;\n flex-direction: column;\n background-color: #fff;\n width: 100%;\n }\n\n div[body] {\n flex: 1;\n\n label {\n color: #4e5055;\n font-size: 16px;\n }\n\n div[input-container] {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-top: 22px;\n\n md-outlined-text-field {\n width: 60%;\n margin-left: 15px;\n\n --md-outlined-text-field-container-shape: 9px;\n --md-sys-color-primary: #586878;\n --md-sys-color-surface-container-highest: transparent;\n --md-outlined-text-field-label-text-color: #999999;\n --md-outlined-text-field-input-text-line-height: 20px;\n --md-outlined-text-field-input-text-size: 16px;\n --md-outlined-field-bottom-space: 10px;\n --md-outlined-field-top-space: 10px;\n }\n }\n\n div[button-container] {\n margin-top: 50px;\n margin-bottom: 20px;\n text-align: center;\n\n md-elevated-button {\n margin: 0px 5px;\n\n --md-elevated-button-container-height: 40px;\n --md-elevated-button-container-color: #fff;\n --md-elevated-button-label-text-size: 16px;\n }\n md-elevated-button:first-child {\n --md-elevated-button-container-color: #0595e5;\n --md-elevated-button-label-text-color: #fff;\n --md-elevated-button-hover-label-text-color: #fff;\n --md-elevated-button-pressed-label-text-color: #fff;\n --md-elevated-button-focus-label-text-color: #fff;\n --md-elevated-button-icon-color: #fff;\n --md-elevated-button-hover-icon-color: #fff;\n --md-elevated-button-pressed-icon-color: #fff;\n --md-elevated-button-focus-icon-color: #fff;\n }\n }\n }\n `\n ]\n\n @state() private projectName: string = ''\n @property({ type: Function }) private refreshFn!: Function\n\n render() {\n return html`\n <div body>\n <div input-container>\n <label>프로젝트 이름</label>\n <md-outlined-text-field\n name=\"projectName\"\n type=\"text\"\n placeholder=\"신규 프로젝트명\"\n .value=${this.projectName}\n @input=${this._onInputChange}\n >\n </md-outlined-text-field>\n </div>\n\n <div button-container>\n <md-elevated-button @click=${this._createProject}>\n <md-icon slot=\"icon\">add</md-icon>프로젝트 생성\n </md-elevated-button>\n <md-elevated-button @click=${this._close}> <md-icon slot=\"icon\">close</md-icon>취소 </md-elevated-button>\n </div>\n </div>\n `\n }\n\n // 프로젝트 생성\n private async _createProject() {\n if (!this.projectName) {\n notify({ level: 'warn', message: '프로젝트 이름은 필수 값 입니다.' })\n return\n }\n\n const response = await client.mutate({\n mutation: gql`\n mutation CreateProject($project: NewProject!) {\n response: createProject(project: $project) {\n id\n }\n }\n `,\n variables: {\n project: {\n name: this.projectName\n }\n }\n })\n\n if (!response.errors) {\n notify({ message: '저장되었습니다.' })\n }\n\n // 설정 정보 리스트 다시 조회\n this.refreshFn()\n\n // 팝업 템플릿을 닫기 위한 동작\n history.back()\n }\n\n private _close() {\n history.back()\n }\n\n // Input 요소의 값이 변경될 때 호출되는 콜백 함수\n private _onInputChange(event: InputEvent) {\n const target = event.target as HTMLInputElement\n this.projectName = target.value\n }\n}\n"]}
@@ -1,9 +0,0 @@
1
- import '@operato/data-grist';
2
- import { LitElement } from 'lit';
3
- export declare class ResourceImporter extends LitElement {
4
- static styles: import("lit").CSSResult[];
5
- private resources;
6
- private columns;
7
- render(): import("lit-html").TemplateResult<1>;
8
- private save;
9
- }