@operato/data-grist 2.0.0-alpha.11 → 2.0.0-alpha.110
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/CHANGELOG.md +464 -0
- package/demo/data-grist-test.html +25 -14
- package/demo/index.html +25 -14
- package/demo/report-test.html +13 -2
- package/dist/src/configure/column-builder.js.map +1 -1
- package/dist/src/configure/rows-option-builder.js +2 -1
- package/dist/src/configure/rows-option-builder.js.map +1 -1
- package/dist/src/configure/zero-config.js +1 -0
- package/dist/src/configure/zero-config.js.map +1 -1
- package/dist/src/data-card/data-card-gutter-menu.d.ts +1 -1
- package/dist/src/data-card/data-card-gutter-menu.js +5 -5
- package/dist/src/data-card/data-card-gutter-menu.js.map +1 -1
- package/dist/src/data-card/data-card.d.ts +2 -2
- package/dist/src/data-card/data-card.js +3 -3
- package/dist/src/data-card/data-card.js.map +1 -1
- package/dist/src/data-card/event-handlers/record-card-click-handler.js +1 -1
- package/dist/src/data-card/event-handlers/record-card-click-handler.js.map +1 -1
- package/dist/src/data-card/record-card.d.ts +2 -2
- package/dist/src/data-card/record-card.js +26 -26
- package/dist/src/data-card/record-card.js.map +1 -1
- package/dist/src/data-grid/data-grid-accum-field.js +8 -3
- package/dist/src/data-grid/data-grid-accum-field.js.map +1 -1
- package/dist/src/data-grid/data-grid-body-style.js +1 -0
- package/dist/src/data-grid/data-grid-body-style.js.map +1 -1
- package/dist/src/data-grid/data-grid-body.d.ts +3 -3
- package/dist/src/data-grid/data-grid-body.js +9 -4
- package/dist/src/data-grid/data-grid-body.js.map +1 -1
- package/dist/src/data-grid/data-grid-field.d.ts +1 -1
- package/dist/src/data-grid/data-grid-field.js +2 -2
- package/dist/src/data-grid/data-grid-field.js.map +1 -1
- package/dist/src/data-grid/data-grid-footer.d.ts +2 -2
- package/dist/src/data-grid/data-grid-footer.js +17 -9
- package/dist/src/data-grid/data-grid-footer.js.map +1 -1
- package/dist/src/data-grid/data-grid-header.d.ts +1 -1
- package/dist/src/data-grid/data-grid-header.js +38 -35
- package/dist/src/data-grid/data-grid-header.js.map +1 -1
- package/dist/src/data-grid/data-grid.d.ts +1 -1
- package/dist/src/data-grid/data-grid.js +12 -2
- package/dist/src/data-grid/data-grid.js.map +1 -1
- package/dist/src/data-grist.d.ts +1 -1
- package/dist/src/data-grist.js +23 -22
- package/dist/src/data-grist.js.map +1 -1
- package/dist/src/data-list/data-list-gutter.js +12 -0
- package/dist/src/data-list/data-list-gutter.js.map +1 -1
- package/dist/src/data-list/data-list.d.ts +2 -2
- package/dist/src/data-list/data-list.js +3 -3
- package/dist/src/data-list/data-list.js.map +1 -1
- package/dist/src/data-list/event-handlers/record-partial-click-handler.js +1 -1
- package/dist/src/data-list/event-handlers/record-partial-click-handler.js.map +1 -1
- package/dist/src/data-list/record-partial.d.ts +2 -2
- package/dist/src/data-list/record-partial.js +20 -18
- package/dist/src/data-list/record-partial.js.map +1 -1
- package/dist/src/data-report/data-report-body.d.ts +1 -1
- package/dist/src/data-report/data-report-component.d.ts +1 -1
- package/dist/src/data-report.d.ts +1 -1
- package/dist/src/editors/ox-grist-editor-checkbox.d.ts +3 -2
- package/dist/src/editors/ox-grist-editor-checkbox.js +9 -2
- package/dist/src/editors/ox-grist-editor-checkbox.js.map +1 -1
- package/dist/src/editors/ox-grist-editor-color.d.ts +1 -1
- package/dist/src/editors/ox-grist-editor-date.d.ts +1 -1
- package/dist/src/editors/ox-grist-editor-datetime.d.ts +2 -2
- package/dist/src/editors/ox-grist-editor-datetime.js +1 -2
- package/dist/src/editors/ox-grist-editor-datetime.js.map +1 -1
- package/dist/src/editors/ox-grist-editor-email.d.ts +1 -1
- package/dist/src/editors/ox-grist-editor-file.d.ts +3 -2
- package/dist/src/editors/ox-grist-editor-file.js +8 -2
- package/dist/src/editors/ox-grist-editor-file.js.map +1 -1
- package/dist/src/editors/ox-grist-editor-image.d.ts +2 -2
- package/dist/src/editors/ox-grist-editor-image.js +8 -8
- package/dist/src/editors/ox-grist-editor-image.js.map +1 -1
- package/dist/src/editors/ox-grist-editor-month.d.ts +1 -1
- package/dist/src/editors/ox-grist-editor-multiple-select.d.ts +1 -1
- package/dist/src/editors/ox-grist-editor-number.d.ts +3 -2
- package/dist/src/editors/ox-grist-editor-number.js +10 -9
- package/dist/src/editors/ox-grist-editor-number.js.map +1 -1
- package/dist/src/editors/ox-grist-editor-password.d.ts +1 -1
- package/dist/src/editors/ox-grist-editor-select.d.ts +1 -1
- package/dist/src/editors/ox-grist-editor-select.js +37 -25
- package/dist/src/editors/ox-grist-editor-select.js.map +1 -1
- package/dist/src/editors/ox-grist-editor-tel.d.ts +1 -1
- package/dist/src/editors/ox-grist-editor-text.d.ts +2 -1
- package/dist/src/editors/ox-grist-editor-text.js +3 -0
- package/dist/src/editors/ox-grist-editor-text.js.map +1 -1
- package/dist/src/editors/ox-grist-editor-textarea.d.ts +2 -1
- package/dist/src/editors/ox-grist-editor-textarea.js +3 -0
- package/dist/src/editors/ox-grist-editor-textarea.js.map +1 -1
- package/dist/src/editors/ox-grist-editor-time.d.ts +1 -1
- package/dist/src/editors/ox-grist-editor-tree.d.ts +1 -1
- package/dist/src/editors/ox-grist-editor-week.d.ts +1 -1
- package/dist/src/editors/ox-grist-editor.d.ts +4 -4
- package/dist/src/editors/ox-grist-editor.js +14 -12
- package/dist/src/editors/ox-grist-editor.js.map +1 -1
- package/dist/src/editors/ox-input-tree.d.ts +1 -1
- package/dist/src/empty-note.d.ts +2 -2
- package/dist/src/empty-note.js +3 -3
- package/dist/src/empty-note.js.map +1 -1
- package/dist/src/filters/filter-checkbox.js +12 -5
- package/dist/src/filters/filter-checkbox.js.map +1 -1
- package/dist/src/filters/filter-range-date.js +12 -1
- package/dist/src/filters/filter-range-date.js.map +1 -1
- package/dist/src/filters/filter-select.js +30 -16
- package/dist/src/filters/filter-select.js.map +1 -1
- package/dist/src/filters/filter-styles.js +47 -28
- package/dist/src/filters/filter-styles.js.map +1 -1
- package/dist/src/filters/filters-form.d.ts +7 -1
- package/dist/src/filters/filters-form.js +154 -71
- package/dist/src/filters/filters-form.js.map +1 -1
- package/dist/src/gutters/gutter-button.d.ts +1 -1
- package/dist/src/gutters/gutter-button.js +3 -3
- package/dist/src/gutters/gutter-button.js.map +1 -1
- package/dist/src/gutters/gutter-dirty.d.ts +1 -1
- package/dist/src/gutters/gutter-dirty.js +5 -5
- package/dist/src/gutters/gutter-dirty.js.map +1 -1
- package/dist/src/handlers/contextmenu-tree-mutation.js +4 -22
- package/dist/src/handlers/contextmenu-tree-mutation.js.map +1 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.js +0 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/record-view/record-creator.d.ts +2 -2
- package/dist/src/record-view/record-creator.js +1 -1
- package/dist/src/record-view/record-creator.js.map +1 -1
- package/dist/src/record-view/record-view-body.d.ts +3 -3
- package/dist/src/record-view/record-view-body.js +4 -4
- package/dist/src/record-view/record-view-body.js.map +1 -1
- package/dist/src/record-view/record-view.d.ts +2 -2
- package/dist/src/record-view/record-view.js +5 -5
- package/dist/src/record-view/record-view.js.map +1 -1
- package/dist/src/renderers/ox-grist-renderer-progress.d.ts +1 -1
- package/dist/src/renderers/ox-grist-renderer-select.js +34 -4
- package/dist/src/renderers/ox-grist-renderer-select.js.map +1 -1
- package/dist/src/renderers/ox-grist-renderer-tree.d.ts +1 -1
- package/dist/src/renderers/ox-grist-renderer.d.ts +2 -2
- package/dist/src/sorters/sorters-control.js +3 -3
- package/dist/src/sorters/sorters-control.js.map +1 -1
- package/dist/src/types.d.ts +15 -9
- package/dist/src/types.js.map +1 -1
- package/dist/stories/{accumulator.stories.d.ts → accumulator-format.stories.d.ts} +1 -1
- package/dist/stories/{accumulator.stories.js → accumulator-format.stories.js} +58 -129
- package/dist/stories/accumulator-format.stories.js.map +1 -0
- package/dist/stories/barcode-input-filter.stories.d.ts +1 -1
- package/dist/stories/barcode-input-filter.stories.js +41 -79
- package/dist/stories/barcode-input-filter.stories.js.map +1 -1
- package/dist/stories/bounded-select-filters.stories.d.ts +25 -0
- package/dist/stories/bounded-select-filters.stories.js +264 -0
- package/dist/stories/bounded-select-filters.stories.js.map +1 -0
- package/dist/stories/bounded-select-record.stories.d.ts +25 -0
- package/dist/stories/bounded-select-record.stories.js +267 -0
- package/dist/stories/bounded-select-record.stories.js.map +1 -0
- package/dist/stories/creatable-only-column.stories.d.ts +25 -0
- package/dist/stories/creatable-only-column.stories.js +211 -0
- package/dist/stories/creatable-only-column.stories.js.map +1 -0
- package/dist/stories/default-filters.stories.d.ts +1 -1
- package/dist/stories/default-filters.stories.js +84 -79
- package/dist/stories/default-filters.stories.js.map +1 -1
- package/dist/stories/dynamic-editable.stories.d.ts +1 -1
- package/dist/stories/dynamic-editable.stories.js +61 -86
- package/dist/stories/dynamic-editable.stories.js.map +1 -1
- package/dist/stories/empty-sorters.stories.d.ts +1 -1
- package/dist/stories/empty-sorters.stories.js +41 -78
- package/dist/stories/empty-sorters.stories.js.map +1 -1
- package/dist/stories/explicit-fetch.stories.d.ts +1 -1
- package/dist/stories/explicit-fetch.stories.js +42 -79
- package/dist/stories/explicit-fetch.stories.js.map +1 -1
- package/dist/stories/fixed-column.stories.d.ts +1 -1
- package/dist/stories/fixed-column.stories.js +45 -127
- package/dist/stories/fixed-column.stories.js.map +1 -1
- package/dist/stories/grid-setting.stories.d.ts +36 -0
- package/dist/stories/grid-setting.stories.js +403 -0
- package/dist/stories/grid-setting.stories.js.map +1 -0
- package/dist/stories/grist-modes.stories.d.ts +1 -1
- package/dist/stories/grist-modes.stories.js +74 -140
- package/dist/stories/grist-modes.stories.js.map +1 -1
- package/dist/stories/group-header.stories.d.ts +1 -1
- package/dist/stories/group-header.stories.js +45 -127
- package/dist/stories/group-header.stories.js.map +1 -1
- package/dist/stories/textarea.stories.d.ts +1 -1
- package/dist/stories/textarea.stories.js +39 -121
- package/dist/stories/textarea.stories.js.map +1 -1
- package/dist/stories/tree-column-with-checkbox.stories.d.ts +1 -1
- package/dist/stories/tree-column-with-checkbox.stories.js +49 -136
- package/dist/stories/tree-column-with-checkbox.stories.js.map +1 -1
- package/dist/stories/tree-column.stories.d.ts +1 -1
- package/dist/stories/tree-column.stories.js +49 -136
- package/dist/stories/tree-column.stories.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/docs/default-value/default-value.md +1 -1
- package/docs/default-value/value-generator/date-generator.md +31 -2
- package/docs/default-value/value-generator/hour-time-generator.md +33 -0
- package/docs/default-value/value-generator/minute-time-generator.md +33 -0
- package/docs/default-value/value-generator/month-date-generator.md +4 -2
- package/docs/default-value/value-generator/now-generator.md +29 -0
- package/docs/default-value/value-generator/time-generator.md +31 -0
- package/docs/default-value/value-generator/today-generator.md +29 -0
- package/docs/default-value/value-generator/week-date-generator.md +33 -2
- package/docs/default-value/value-generator/year-date-generator.md +33 -2
- package/package.json +21 -20
- package/src/configure/column-builder.ts +1 -0
- package/src/configure/rows-option-builder.ts +11 -1
- package/src/configure/zero-config.ts +1 -0
- package/src/data-card/data-card-gutter-menu.ts +5 -5
- package/src/data-card/data-card.ts +3 -3
- package/src/data-card/event-handlers/record-card-click-handler.ts +1 -1
- package/src/data-card/record-card.ts +30 -32
- package/src/data-grid/data-grid-accum-field.ts +8 -3
- package/src/data-grid/data-grid-body-style.ts +1 -0
- package/src/data-grid/data-grid-body.ts +10 -5
- package/src/data-grid/data-grid-field.ts +1 -1
- package/src/data-grid/data-grid-footer.ts +18 -11
- package/src/data-grid/data-grid-header.ts +68 -65
- package/src/data-grid/data-grid.ts +14 -4
- package/src/data-grist.ts +25 -24
- package/src/data-list/data-list-gutter.ts +12 -0
- package/src/data-list/data-list.ts +3 -3
- package/src/data-list/event-handlers/record-partial-click-handler.ts +1 -1
- package/src/data-list/record-partial.ts +22 -22
- package/src/editors/ox-grist-editor-checkbox.ts +12 -2
- package/src/editors/ox-grist-editor-datetime.ts +1 -2
- package/src/editors/ox-grist-editor-file.ts +12 -2
- package/src/editors/ox-grist-editor-image.ts +10 -7
- package/src/editors/ox-grist-editor-number.ts +11 -9
- package/src/editors/ox-grist-editor-select.ts +41 -28
- package/src/editors/ox-grist-editor-text.ts +4 -0
- package/src/editors/ox-grist-editor-textarea.ts +4 -0
- package/src/editors/ox-grist-editor.ts +14 -10
- package/src/empty-note.ts +3 -3
- package/src/filters/filter-checkbox.ts +15 -5
- package/src/filters/filter-range-date.ts +16 -1
- package/src/filters/filter-select.ts +41 -28
- package/src/filters/filter-styles.ts +47 -28
- package/src/filters/filters-form.ts +159 -59
- package/src/gutters/gutter-button.ts +3 -3
- package/src/gutters/gutter-dirty.ts +5 -5
- package/src/handlers/contextmenu-tree-mutation.ts +4 -22
- package/src/index.ts +0 -1
- package/src/record-view/record-creator.ts +1 -1
- package/src/record-view/record-view-body.ts +4 -4
- package/src/record-view/record-view.ts +5 -5
- package/src/renderers/ox-grist-renderer-select.ts +41 -6
- package/src/sorters/sorters-control.ts +3 -3
- package/src/types.ts +20 -10
- package/stories/{accumulator.stories.ts → accumulator-format.stories.ts} +56 -130
- package/stories/barcode-input-filter.stories.ts +53 -89
- package/stories/bounded-select-filters.stories.ts +313 -0
- package/stories/bounded-select-record.stories.ts +316 -0
- package/stories/creatable-only-column.stories.ts +231 -0
- package/stories/default-filters.stories.ts +96 -89
- package/stories/dynamic-editable.stories.ts +68 -92
- package/stories/empty-sorters.stories.ts +53 -89
- package/stories/explicit-fetch.stories.ts +54 -90
- package/stories/fixed-column.stories.ts +57 -137
- package/stories/grid-setting.stories.ts +441 -0
- package/stories/grist-modes.stories.ts +86 -155
- package/stories/group-header.stories.ts +57 -137
- package/stories/textarea.stories.ts +42 -127
- package/stories/tree-column-with-checkbox.stories.ts +53 -138
- package/stories/tree-column.stories.ts +53 -138
- package/themes/grist-theme.css +3 -1
- package/yarn-error.log +16971 -0
- package/dist/src/value-generator/date-generator.d.ts +0 -6
- package/dist/src/value-generator/date-generator.js +0 -30
- package/dist/src/value-generator/date-generator.js.map +0 -1
- package/dist/src/value-generator/hour-time-generator.d.ts +0 -7
- package/dist/src/value-generator/hour-time-generator.js +0 -29
- package/dist/src/value-generator/hour-time-generator.js.map +0 -1
- package/dist/src/value-generator/index.d.ts +0 -1
- package/dist/src/value-generator/index.js +0 -2
- package/dist/src/value-generator/index.js.map +0 -1
- package/dist/src/value-generator/minute-time-generator.d.ts +0 -7
- package/dist/src/value-generator/minute-time-generator.js +0 -29
- package/dist/src/value-generator/minute-time-generator.js.map +0 -1
- package/dist/src/value-generator/month-date-generator.d.ts +0 -7
- package/dist/src/value-generator/month-date-generator.js +0 -31
- package/dist/src/value-generator/month-date-generator.js.map +0 -1
- package/dist/src/value-generator/now-generator.d.ts +0 -4
- package/dist/src/value-generator/now-generator.js +0 -8
- package/dist/src/value-generator/now-generator.js.map +0 -1
- package/dist/src/value-generator/registry.d.ts +0 -11
- package/dist/src/value-generator/registry.js +0 -50
- package/dist/src/value-generator/registry.js.map +0 -1
- package/dist/src/value-generator/time-generator.d.ts +0 -6
- package/dist/src/value-generator/time-generator.js +0 -28
- package/dist/src/value-generator/time-generator.js.map +0 -1
- package/dist/src/value-generator/today-generator.d.ts +0 -4
- package/dist/src/value-generator/today-generator.js +0 -8
- package/dist/src/value-generator/today-generator.js.map +0 -1
- package/dist/src/value-generator/week-date-generator.d.ts +0 -7
- package/dist/src/value-generator/week-date-generator.js +0 -29
- package/dist/src/value-generator/week-date-generator.js.map +0 -1
- package/dist/src/value-generator/year-date-generator.d.ts +0 -7
- package/dist/src/value-generator/year-date-generator.js +0 -29
- package/dist/src/value-generator/year-date-generator.js.map +0 -1
- package/dist/stories/accumulator.stories.js.map +0 -1
- package/src/value-generator/date-generator.ts +0 -35
- package/src/value-generator/hour-time-generator.ts +0 -43
- package/src/value-generator/index.ts +0 -1
- package/src/value-generator/minute-time-generator.ts +0 -43
- package/src/value-generator/month-date-generator.ts +0 -38
- package/src/value-generator/now-generator.ts +0 -10
- package/src/value-generator/registry.ts +0 -58
- package/src/value-generator/time-generator.ts +0 -33
- package/src/value-generator/today-generator.ts +0 -10
- package/src/value-generator/week-date-generator.ts +0 -40
- package/src/value-generator/year-date-generator.ts +0 -36
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,470 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## [2.0.0-alpha.110](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.109...v2.0.0-alpha.110) (2024-05-02)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @operato/data-grist
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## [2.0.0-alpha.108](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.107...v2.0.0-alpha.108) (2024-05-02)
|
15
|
+
|
16
|
+
|
17
|
+
### :rocket: New Features
|
18
|
+
|
19
|
+
* add reset method to ox-search-form and ox-filters-form to clear fields ([b41c48f](https://github.com/hatiolab/operato/commit/b41c48f93f3b1c947724b5f888cc17e6d2e1a385))
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
## [2.0.0-alpha.107](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.106...v2.0.0-alpha.107) (2024-05-01)
|
24
|
+
|
25
|
+
|
26
|
+
### :bug: Bug Fix
|
27
|
+
|
28
|
+
* form related stories ([e722c51](https://github.com/hatiolab/operato/commit/e722c51d1d26809e36a113574d848085386b24cd))
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
## [2.0.0-alpha.106](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.105...v2.0.0-alpha.106) (2024-04-26)
|
33
|
+
|
34
|
+
**Note:** Version bump only for package @operato/data-grist
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
## [2.0.0-alpha.105](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.104...v2.0.0-alpha.105) (2024-04-26)
|
41
|
+
|
42
|
+
**Note:** Version bump only for package @operato/data-grist
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
## [2.0.0-alpha.104](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.103...v2.0.0-alpha.104) (2024-04-26)
|
49
|
+
|
50
|
+
|
51
|
+
### :bug: Bug Fix
|
52
|
+
|
53
|
+
* time-calculator help document ([cbd2543](https://github.com/hatiolab/operato/commit/cbd254317e6132473b0efa7d2f49b2a1748227ac))
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
## [2.0.0-alpha.103](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.102...v2.0.0-alpha.103) (2024-04-26)
|
58
|
+
|
59
|
+
|
60
|
+
### :bug: Bug Fix
|
61
|
+
|
62
|
+
* ox-filter-form과 ox-search-form에서 필터들간에 연관 기능 지원 ([bc081f8](https://github.com/hatiolab/operato/commit/bc081f8dfbb303f8aa219f0b776aa0cc4b18e9cd))
|
63
|
+
|
64
|
+
|
65
|
+
### :mega: Other
|
66
|
+
|
67
|
+
* missing types ([ba44d36](https://github.com/hatiolab/operato/commit/ba44d36f525c0fc4cf48ebde54ff442e26a3e725))
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
## [2.0.0-alpha.102](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.101...v2.0.0-alpha.102) (2024-04-22)
|
72
|
+
|
73
|
+
**Note:** Version bump only for package @operato/data-grist
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
## [2.0.0-alpha.100](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.99...v2.0.0-alpha.100) (2024-04-21)
|
80
|
+
|
81
|
+
**Note:** Version bump only for package @operato/data-grist
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
## [2.0.0-alpha.99](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.98...v2.0.0-alpha.99) (2024-04-21)
|
88
|
+
|
89
|
+
**Note:** Version bump only for package @operato/data-grist
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
## [2.0.0-alpha.98](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.97...v2.0.0-alpha.98) (2024-04-21)
|
96
|
+
|
97
|
+
|
98
|
+
### :bug: Bug Fix
|
99
|
+
|
100
|
+
* set grid-setting z-index to 1 ([2da04e5](https://github.com/hatiolab/operato/commit/2da04e59195a37a126e36c3d065983aa685b73d3))
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
## [2.0.0-alpha.95](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.94...v2.0.0-alpha.95) (2024-04-21)
|
105
|
+
|
106
|
+
|
107
|
+
### :bug: Bug Fix
|
108
|
+
|
109
|
+
* add styles for CSStyles property into PropertySpec ([1c18564](https://github.com/hatiolab/operato/commit/1c185645c2f8e8b0c8a654d15e3b7603b80d2864))
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
## [2.0.0-alpha.94](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.93...v2.0.0-alpha.94) (2024-04-20)
|
114
|
+
|
115
|
+
**Note:** Version bump only for package @operato/data-grist
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
## [2.0.0-alpha.93](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.92...v2.0.0-alpha.93) (2024-04-19)
|
122
|
+
|
123
|
+
|
124
|
+
### :bug: Bug Fix
|
125
|
+
|
126
|
+
* grid body border-bottom style ([708a937](https://github.com/hatiolab/operato/commit/708a93789d23417a318e2ac9f499bec85d7e4776))
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
## [2.0.0-alpha.92](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.91...v2.0.0-alpha.92) (2024-04-19)
|
131
|
+
|
132
|
+
|
133
|
+
### :bug: Bug Fix
|
134
|
+
|
135
|
+
* common styles for grist ([6683ec7](https://github.com/hatiolab/operato/commit/6683ec7b21515b49d43420e6a5ef890ff882a96b))
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
## [2.0.0-alpha.90](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.89...v2.0.0-alpha.90) (2024-04-18)
|
140
|
+
|
141
|
+
|
142
|
+
### :bug: Bug Fix
|
143
|
+
|
144
|
+
* style for data-grid setting slot ([862b9b9](https://github.com/hatiolab/operato/commit/862b9b908b2fb09ce263897b4e9d704724b6e6d4))
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
## [2.0.0-alpha.89](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.88...v2.0.0-alpha.89) (2024-04-18)
|
149
|
+
|
150
|
+
**Note:** Version bump only for package @operato/data-grist
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
## [2.0.0-alpha.88](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.87...v2.0.0-alpha.88) (2024-04-18)
|
157
|
+
|
158
|
+
|
159
|
+
### :bug: Bug Fix
|
160
|
+
|
161
|
+
* put together data-grid setting slot ([b4b6c7d](https://github.com/hatiolab/operato/commit/b4b6c7d5cacfcd0191876e91a96d7c06c26fedee))
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
## [2.0.0-alpha.87](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.86...v2.0.0-alpha.87) (2024-04-17)
|
166
|
+
|
167
|
+
|
168
|
+
### :bug: Bug Fix
|
169
|
+
|
170
|
+
* data-grist filters-form stories ([5b46629](https://github.com/hatiolab/operato/commit/5b466290d70885b468fb17b7e294b361de058a2f))
|
171
|
+
* data-grist headroom stories ([fc4a193](https://github.com/hatiolab/operato/commit/fc4a193a1e50b5d63a4d7de2dec606d726cc4852))
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
## [2.0.0-alpha.86](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.85...v2.0.0-alpha.86) (2024-04-16)
|
176
|
+
|
177
|
+
|
178
|
+
### :bug: Bug Fix
|
179
|
+
|
180
|
+
* tweak filters-form style ([79e1f68](https://github.com/hatiolab/operato/commit/79e1f68f224770c8ad97d87e3f79327743a3d84d))
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
## [2.0.0-alpha.85](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.84...v2.0.0-alpha.85) (2024-04-16)
|
185
|
+
|
186
|
+
|
187
|
+
### :bug: Bug Fix
|
188
|
+
|
189
|
+
* tweak filters-form style ([6fb293d](https://github.com/hatiolab/operato/commit/6fb293d7d34ea7b01b3011264f554158beb62621))
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
## [2.0.0-alpha.82](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.81...v2.0.0-alpha.82) (2024-04-15)
|
194
|
+
|
195
|
+
**Note:** Version bump only for package @operato/data-grist
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
## [2.0.0-alpha.81](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.80...v2.0.0-alpha.81) (2024-04-15)
|
202
|
+
|
203
|
+
**Note:** Version bump only for package @operato/data-grist
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
## [2.0.0-alpha.80](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.79...v2.0.0-alpha.80) (2024-04-15)
|
210
|
+
|
211
|
+
**Note:** Version bump only for package @operato/data-grist
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
## [2.0.0-alpha.68](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.67...v2.0.0-alpha.68) (2024-04-13)
|
218
|
+
|
219
|
+
|
220
|
+
### :bug: Bug Fix
|
221
|
+
|
222
|
+
* mwc=>md for context ([2bc13f2](https://github.com/hatiolab/operato/commit/2bc13f285f257782f73e5d7b5d1ddd197df85393))
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
## [2.0.0-alpha.64](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.63...v2.0.0-alpha.64) (2024-04-13)
|
227
|
+
|
228
|
+
**Note:** Version bump only for package @operato/data-grist
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
## [2.0.0-alpha.62](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.61...v2.0.0-alpha.62) (2024-04-12)
|
235
|
+
|
236
|
+
|
237
|
+
### :bug: Bug Fix
|
238
|
+
|
239
|
+
* sorting option desc order를 명확하게 함 ([deae3e0](https://github.com/hatiolab/operato/commit/deae3e06e982fb645d1fd06e9ab5d60bb6e91970))
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
## [2.0.0-alpha.61](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.60...v2.0.0-alpha.61) (2024-04-11)
|
244
|
+
|
245
|
+
|
246
|
+
### :bug: Bug Fix
|
247
|
+
|
248
|
+
* sorters option 의 변경시 새로운 sorter 오브젝트로 리플레이스함 ([644336f](https://github.com/hatiolab/operato/commit/644336f2b643bc67c541c250ef5d5a548a88b030))
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
## [2.0.0-alpha.60](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.59...v2.0.0-alpha.60) (2024-04-11)
|
253
|
+
|
254
|
+
|
255
|
+
### :bug: Bug Fix
|
256
|
+
|
257
|
+
* escape null from filters-form ([f5e1507](https://github.com/hatiolab/operato/commit/f5e1507c759910bf670918a4c251f2d939cf188a))
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
## [2.0.0-alpha.59](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.58...v2.0.0-alpha.59) (2024-04-11)
|
262
|
+
|
263
|
+
**Note:** Version bump only for package @operato/data-grist
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
## [2.0.0-alpha.57](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.56...v2.0.0-alpha.57) (2024-04-07)
|
270
|
+
|
271
|
+
**Note:** Version bump only for package @operato/data-grist
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
**Note:** Version bump only for package @operato/data-grist
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
## [2.0.0-alpha.54](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.53...v2.0.0-alpha.54) (2024-04-01)
|
286
|
+
|
287
|
+
|
288
|
+
### :bug: Bug Fix
|
289
|
+
|
290
|
+
* 0값 null처리 되는 현상 수정 ([5e560c3](https://github.com/hatiolab/operato/commit/5e560c369dde7f446155aa7c408d13f346583c71))
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
## [2.0.0-alpha.52](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.51...v2.0.0-alpha.52) (2024-03-29)
|
295
|
+
|
296
|
+
**Note:** Version bump only for package @operato/data-grist
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
## [2.0.0-alpha.51](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.50...v2.0.0-alpha.51) (2024-03-29)
|
303
|
+
|
304
|
+
|
305
|
+
### :bug: Bug Fix
|
306
|
+
|
307
|
+
* upgrade lit ([e661c33](https://github.com/hatiolab/operato/commit/e661c333d2bb97f784b5ac2c0e365714ee5e80ff))
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
## [2.0.0-alpha.49](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.48...v2.0.0-alpha.49) (2024-03-28)
|
312
|
+
|
313
|
+
**Note:** Version bump only for package @operato/data-grist
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
## [2.0.0-alpha.48](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.47...v2.0.0-alpha.48) (2024-03-28)
|
320
|
+
|
321
|
+
|
322
|
+
### :bug: Bug Fix
|
323
|
+
|
324
|
+
* 모바일 디테일 버튼 클릭 쉽도록 스타일 수정 ([f7b9a34](https://github.com/hatiolab/operato/commit/f7b9a34a0c0d05f1806e6bc862249f2dafefbe7e))
|
325
|
+
* 헤더 z-index 수정 (fixed컬럼이랑 동일해야함) ([9ece220](https://github.com/hatiolab/operato/commit/9ece2201c765850ee9869ede2718d2986e0936ce))
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
## [2.0.0-alpha.47](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.46...v2.0.0-alpha.47) (2024-03-27)
|
330
|
+
|
331
|
+
**Note:** Version bump only for package @operato/data-grist
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
## [2.0.0-alpha.44](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.43...v2.0.0-alpha.44) (2024-03-24)
|
338
|
+
|
339
|
+
**Note:** Version bump only for package @operato/data-grist
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
## [2.0.0-alpha.35](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.34...v2.0.0-alpha.35) (2024-03-13)
|
346
|
+
|
347
|
+
|
348
|
+
### :bug: Bug Fix
|
349
|
+
|
350
|
+
* 리팩토링 grist editor 인라인에디터 ([a8922c4](https://github.com/hatiolab/operato/commit/a8922c40f960596ac58aea885fd7501267fd2d8b))
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
## [2.0.0-alpha.34](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.33...v2.0.0-alpha.34) (2024-03-12)
|
355
|
+
|
356
|
+
**Note:** Version bump only for package @operato/data-grist
|
357
|
+
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
## [2.0.0-alpha.32](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.31...v2.0.0-alpha.32) (2024-03-12)
|
363
|
+
|
364
|
+
**Note:** Version bump only for package @operato/data-grist
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
|
370
|
+
## [2.0.0-alpha.31](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.30...v2.0.0-alpha.31) (2024-03-03)
|
371
|
+
|
372
|
+
**Note:** Version bump only for package @operato/data-grist
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
## [2.0.0-alpha.30](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.29...v2.0.0-alpha.30) (2024-03-03)
|
379
|
+
|
380
|
+
**Note:** Version bump only for package @operato/data-grist
|
381
|
+
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
## [2.0.0-alpha.28](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.27...v2.0.0-alpha.28) (2024-02-20)
|
387
|
+
|
388
|
+
|
389
|
+
### :bug: Bug Fix
|
390
|
+
|
391
|
+
* upgrade devDependencies for webcomponents ([1489b8b](https://github.com/hatiolab/operato/commit/1489b8b790d9bcee779a070a630697f25c01728f))
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
## [2.0.0-alpha.27](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.26...v2.0.0-alpha.27) (2024-02-17)
|
396
|
+
|
397
|
+
|
398
|
+
### :bug: Bug Fix
|
399
|
+
|
400
|
+
* boolean값 붙여넣기시 true/false로 들어가게 수정 ([b2b371a](https://github.com/hatiolab/operato/commit/b2b371a52a472ffdd29f2e34d7550f6569f0a5eb))
|
401
|
+
* parameters 타입도 오브젝트 형식으로 체크 ([81369a0](https://github.com/hatiolab/operato/commit/81369a011fdd4f28befab1bcfddf9168934e830f))
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
## [2.0.0-alpha.23](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.22...v2.0.0-alpha.23) (2024-02-10)
|
406
|
+
|
407
|
+
|
408
|
+
### :bug: Bug Fix
|
409
|
+
|
410
|
+
* time-calculator relativeDate(s) => relativeDays ([1ad965e](https://github.com/hatiolab/operato/commit/1ad965e59232bdfe5d90938b95e1085a5e28a527))
|
411
|
+
|
412
|
+
|
413
|
+
|
414
|
+
## [2.0.0-alpha.22](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.21...v2.0.0-alpha.22) (2024-02-10)
|
415
|
+
|
416
|
+
|
417
|
+
### :bug: Bug Fix
|
418
|
+
|
419
|
+
* add time-calculator module for data-grist and form ([4d26d22](https://github.com/hatiolab/operato/commit/4d26d22b89e2c34cffe15eb0cc8520962644e8a1))
|
420
|
+
|
421
|
+
|
422
|
+
|
423
|
+
## [2.0.0-alpha.20](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.19...v2.0.0-alpha.20) (2024-02-05)
|
424
|
+
|
425
|
+
**Note:** Version bump only for package @operato/data-grist
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
## [2.0.0-alpha.19](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.18...v2.0.0-alpha.19) (2024-02-05)
|
432
|
+
|
433
|
+
**Note:** Version bump only for package @operato/data-grist
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
## [2.0.0-alpha.16](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.15...v2.0.0-alpha.16) (2024-02-03)
|
440
|
+
|
441
|
+
|
442
|
+
### :bug: Bug Fix
|
443
|
+
|
444
|
+
* rows.editable option for card and list (클릭시 레코드팝업을 보이지 않도록 하기위함) ([f353960](https://github.com/hatiolab/operato/commit/f35396037a7a6747348fc20089c139d5210e37c2))
|
445
|
+
|
446
|
+
|
447
|
+
|
448
|
+
## [2.0.0-alpha.13](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.12...v2.0.0-alpha.13) (2024-01-28)
|
449
|
+
|
450
|
+
|
451
|
+
### :bug: Bug Fix
|
452
|
+
|
453
|
+
* accumulator tag, 별도의 텍스트로 변경 ([a82ad24](https://github.com/hatiolab/operato/commit/a82ad24e09485b274d26a5767f4caf2edfc386e4))
|
454
|
+
* css-variable --grid-record-padding ([b057312](https://github.com/hatiolab/operato/commit/b0573120fcb46c71b6b283065f08ae926e9f826f))
|
455
|
+
* 그리드 필드타입 integer, float도 숫자 처리, 빈값일시 0 처리 추가 ([e964027](https://github.com/hatiolab/operato/commit/e9640270786cefe391f6b785e22a07176fc744f0))
|
456
|
+
* 스토리 테스트파일 수정 ([eab4645](https://github.com/hatiolab/operato/commit/eab4645a25c8949634d74e59975bcb4ecf503b16))
|
457
|
+
* 한글 입력 보정 ([3572600](https://github.com/hatiolab/operato/commit/3572600370b03c69eb2738640f8702d4fec424d8))
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
## [2.0.0-alpha.12](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2024-01-24)
|
462
|
+
|
463
|
+
|
464
|
+
### :bug: Bug Fix
|
465
|
+
|
466
|
+
* contextmenu-tree-mutation ([a2fec38](https://github.com/hatiolab/operato/commit/a2fec3894267f2b572d336297a5a50e84637fb9a))
|
467
|
+
|
468
|
+
|
469
|
+
|
6
470
|
## [2.0.0-alpha.11](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.10...v2.0.0-alpha.11) (2024-01-24)
|
7
471
|
|
8
472
|
**Note:** Version bump only for package @operato/data-grist
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!
|
1
|
+
<!doctype html>
|
2
2
|
<html lang="en-GB">
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
@@ -38,7 +38,18 @@
|
|
38
38
|
}
|
39
39
|
</style>
|
40
40
|
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
|
41
|
-
<link
|
41
|
+
<link
|
42
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
|
43
|
+
rel="stylesheet"
|
44
|
+
/>
|
45
|
+
<link
|
46
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
|
47
|
+
rel="stylesheet"
|
48
|
+
/>
|
49
|
+
<link
|
50
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
|
51
|
+
rel="stylesheet"
|
52
|
+
/>
|
42
53
|
|
43
54
|
<link href="/themes/app-theme.css" rel="stylesheet" />
|
44
55
|
<link href="/themes/oops-theme.css" rel="stylesheet" />
|
@@ -53,7 +64,7 @@
|
|
53
64
|
import '../dist/src/sorters/sorters-control.js'
|
54
65
|
import '../dist/src/record-view/record-creator.js'
|
55
66
|
import '@operato/popup/ox-popup-list.js'
|
56
|
-
import '@material/
|
67
|
+
import '@material/web/icon/icon.js'
|
57
68
|
import { CommonGristStyles } from '@operato/styles'
|
58
69
|
|
59
70
|
const fetchHandler = async ({ page, limit, sorters = [] }) => {
|
@@ -91,10 +102,10 @@
|
|
91
102
|
idx % 4 === 0
|
92
103
|
? '' /* no source */
|
93
104
|
: idx % 4 === 1
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
105
|
+
? `http://www.hatiolab.com/assets/img/operato-biz3.png`
|
106
|
+
: idx % 4 === 2
|
107
|
+
? `http://www.hatiolab.com/assets/img/thingsboard-30.png`
|
108
|
+
: `http://www.hatiolab.com/wrong-url.png` /* wrong source */,
|
98
109
|
role: ['admin', 'worker', 'tester'][idx % 3],
|
99
110
|
color: idx % 2 ? `#87f018` : `#180f87`,
|
100
111
|
rate: Math.round(Math.random() * 100),
|
@@ -411,7 +422,7 @@
|
|
411
422
|
|
412
423
|
<div id="sorters">
|
413
424
|
Sort
|
414
|
-
<
|
425
|
+
<md-icon
|
415
426
|
@click=${e => {
|
416
427
|
const target = e.currentTarget
|
417
428
|
this.renderRoot.querySelector('#sorter-control').open({
|
@@ -419,7 +430,7 @@
|
|
419
430
|
top: target.offsetTop + target.offsetHeight
|
420
431
|
})
|
421
432
|
}}
|
422
|
-
>expand_more</
|
433
|
+
>expand_more</md-icon
|
423
434
|
>
|
424
435
|
<ox-popup id="sorter-control">
|
425
436
|
<ox-sorters-control> </ox-sorters-control>
|
@@ -427,16 +438,16 @@
|
|
427
438
|
</div>
|
428
439
|
|
429
440
|
<div id="modes">
|
430
|
-
<
|
431
|
-
<
|
432
|
-
<
|
441
|
+
<md-icon @click=${() => (this.mode = 'GRID')} ?active=${mode == 'GRID'}>view_list</md-icon>
|
442
|
+
<md-icon @click=${() => (this.mode = 'LIST')} ?active=${mode == 'LIST'}>menu</md-icon>
|
443
|
+
<md-icon @click=${() => (this.mode = 'CARD')} ?active=${mode == 'CARD'}>apps</md-icon>
|
433
444
|
</div>
|
434
445
|
|
435
446
|
<ox-record-creator id="add" light-popup>
|
436
|
-
<button><
|
447
|
+
<button><md-icon>add</md-icon></button>
|
437
448
|
</ox-record-creator>
|
438
449
|
|
439
|
-
<button @click=${e => this.grist.cloneSelectedRecords()}><
|
450
|
+
<button @click=${e => this.grist.cloneSelectedRecords()}><md-icon>add</md-icon></button>
|
440
451
|
</div>
|
441
452
|
</ox-grist>
|
442
453
|
`
|
package/demo/index.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<!
|
1
|
+
<!doctype html>
|
2
2
|
<html lang="en-GB">
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
@@ -39,7 +39,18 @@
|
|
39
39
|
}
|
40
40
|
</style>
|
41
41
|
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
|
42
|
-
<link
|
42
|
+
<link
|
43
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
|
44
|
+
rel="stylesheet"
|
45
|
+
/>
|
46
|
+
<link
|
47
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
|
48
|
+
rel="stylesheet"
|
49
|
+
/>
|
50
|
+
<link
|
51
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
|
52
|
+
rel="stylesheet"
|
53
|
+
/>
|
43
54
|
|
44
55
|
<link href="/themes/app-theme.css" rel="stylesheet" />
|
45
56
|
<link href="/themes/oops-theme.css" rel="stylesheet" />
|
@@ -54,7 +65,7 @@
|
|
54
65
|
import '../dist/src/sorters/sorters-control.js'
|
55
66
|
import '../dist/src/record-view/record-creator.js'
|
56
67
|
import '@operato/popup/ox-popup-list.js'
|
57
|
-
import '@material/
|
68
|
+
import '@material/web/icon/icon.js'
|
58
69
|
import { CommonGristStyles } from '@operato/styles'
|
59
70
|
|
60
71
|
const fetchHandler = async ({ page, limit, sorters = [], filters }) => {
|
@@ -93,10 +104,10 @@
|
|
93
104
|
idx % 4 === 0
|
94
105
|
? '' /* no source */
|
95
106
|
: idx % 4 === 1
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
107
|
+
? `http://www.hatiolab.com/assets/img/operato-biz3.png`
|
108
|
+
: idx % 4 === 2
|
109
|
+
? `http://www.hatiolab.com/assets/img/thingsboard-30.png`
|
110
|
+
: `http://www.hatiolab.com/wrong-url.png` /* wrong source */,
|
100
111
|
file: 'abce.txt',
|
101
112
|
number: 100200300,
|
102
113
|
role: ['admin', 'worker', 'tester'][idx % 3],
|
@@ -484,7 +495,7 @@
|
|
484
495
|
|
485
496
|
<div id="sorters">
|
486
497
|
Sort
|
487
|
-
<
|
498
|
+
<md-icon
|
488
499
|
@click=${e => {
|
489
500
|
const target = e.currentTarget
|
490
501
|
this.renderRoot.querySelector('#sorter-control').open({
|
@@ -492,7 +503,7 @@
|
|
492
503
|
top: target.offsetTop + target.offsetHeight
|
493
504
|
})
|
494
505
|
}}
|
495
|
-
>expand_more</
|
506
|
+
>expand_more</md-icon
|
496
507
|
>
|
497
508
|
<ox-popup id="sorter-control">
|
498
509
|
<ox-sorters-control> </ox-sorters-control>
|
@@ -500,16 +511,16 @@
|
|
500
511
|
</div>
|
501
512
|
|
502
513
|
<div id="modes">
|
503
|
-
<
|
504
|
-
<
|
505
|
-
<
|
514
|
+
<md-icon @click=${() => (this.mode = 'GRID')} ?active=${mode == 'GRID'}>view_list</md-icon>
|
515
|
+
<md-icon @click=${() => (this.mode = 'LIST')} ?active=${mode == 'LIST'}>menu</md-icon>
|
516
|
+
<md-icon @click=${() => (this.mode = 'CARD')} ?active=${mode == 'CARD'}>apps</md-icon>
|
506
517
|
</div>
|
507
518
|
|
508
519
|
<ox-record-creator id="add" light-popup>
|
509
|
-
<button><
|
520
|
+
<button><md-icon>add</md-icon></button>
|
510
521
|
</ox-record-creator>
|
511
522
|
|
512
|
-
<button @click=${e => this.grist.cloneSelectedRecords()}><
|
523
|
+
<button @click=${e => this.grist.cloneSelectedRecords()}><md-icon>add</md-icon></button>
|
513
524
|
</div>
|
514
525
|
</ox-grist>
|
515
526
|
`
|
package/demo/report-test.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<!
|
1
|
+
<!doctype html>
|
2
2
|
<html lang="en-GB">
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
@@ -35,7 +35,18 @@
|
|
35
35
|
}
|
36
36
|
</style>
|
37
37
|
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
|
38
|
-
<link
|
38
|
+
<link
|
39
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
|
40
|
+
rel="stylesheet"
|
41
|
+
/>
|
42
|
+
<link
|
43
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
|
44
|
+
rel="stylesheet"
|
45
|
+
/>
|
46
|
+
<link
|
47
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
|
48
|
+
rel="stylesheet"
|
49
|
+
/>
|
39
50
|
|
40
51
|
<link href="/themes/app-theme.css" rel="stylesheet" />
|
41
52
|
<link href="/themes/oops-theme.css" rel="stylesheet" />
|