@things-factory/reference-app 4.0.1 → 4.0.5
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/attachments/69808491-8e6b-45e2-9bf8-dccea1c5b52e.png +0 -0
- package/attachments/7927fe8e-2246-453d-9869-7072b983437c.png +0 -0
- package/attachments/7d150574-01b8-4439-96a0-d57299f3ffcf.png +0 -0
- package/attachments/a1cf142c-f3c2-442c-b8d5-a7f9cc6a59b3.png +0 -0
- package/attachments/cb3ac834-ece0-4802-bef0-dfdc0fcd93bd.png +0 -0
- package/client/bootstrap.js +30 -0
- package/client/components/camera-capturer.js +29 -2
- package/client/components/ocr-viewpart.js +79 -0
- package/client/menu.js +1 -1
- package/client/pages/grist-mode-page.js +1 -3
- package/client/pages/label-scan-page.js +189 -0
- package/client/pages/ocr-page.js +4 -3
- package/client/route.js +4 -0
- package/config/config.development.js +5 -1
- package/db.sqlite +0 -0
- package/dist-server/service/reference/lambda-call.js +68 -0
- package/dist-server/service/reference/lambda-call.js.map +1 -0
- package/dist-server/service/reference/reference-query.js +26 -4
- package/dist-server/service/reference/reference-query.js.map +1 -1
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +8 -3
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +12 -37
- package/logs/application-2021-11-04-14.log +4 -0
- package/logs/application-2021-11-05-18.log +6 -0
- package/{dist-client/helps/scene/component/image-view.md → logs/connections-2021-11-02-11.log} +0 -0
- package/logs/{connections-2021-11-02-12.log → connections-2021-11-03-11.log} +0 -0
- package/logs/{connections-2021-11-02-13.log → connections-2021-11-04-14.log} +0 -0
- package/logs/{connections-2021-11-02-14.log → connections-2021-11-05-18.log} +0 -0
- package/package.json +41 -40
- package/server/service/reference/lambda-call.ts +69 -0
- package/server/service/reference/reference-query.ts +35 -7
- package/things-factory.config.js +4 -0
- package/attachments/05284c84-1330-4b54-a698-bcd3020d9d90.png +0 -0
- package/attachments/3a328a7f-b7fd-4ea1-9c4c-005e24e1e897.png +0 -0
- package/attachments/4412432a-b79b-49b8-81b2-af6b927703b4.png +0 -0
- package/attachments/60ca3d2a-cfa4-4f14-b952-a96be9f64f96.png +0 -0
- package/attachments/90ea058c-ed47-4802-a694-bce0e86c217f.png +0 -0
- package/attachments/9c92e78d-afcb-4d62-b51e-f73f15211314.png +0 -0
- package/attachments/b27517ec-f2ac-4735-9d8a-353af2fa5f67.png +0 -0
- package/attachments/cc7892b9-fca6-49f9-a10b-3febeef83fd2.png +0 -0
- package/attachments/dbf0459a-4f1a-44c6-a4fc-d73adc3e4cfa.png +0 -0
- package/dist-client/17.js +0 -6
- package/dist-client/18.js +0 -15
- package/dist-client/19.js +0 -15
- package/dist-client/20.js +0 -15
- package/dist-client/21.js +0 -15
- package/dist-client/22.js +0 -1
- package/dist-client/23.js +0 -1
- package/dist-client/24.js +0 -1
- package/dist-client/25.js +0 -1
- package/dist-client/26.js +0 -1
- package/dist-client/27.js +0 -1
- package/dist-client/28.js +0 -1
- package/dist-client/29.js +0 -1
- package/dist-client/30.js +0 -12
- package/dist-client/31.js +0 -1
- package/dist-client/32.js +0 -17
- package/dist-client/33.js +0 -1
- package/dist-client/34.js +0 -1
- package/dist-client/35.js +0 -1
- package/dist-client/36.js +0 -1
- package/dist-client/37.js +0 -1
- package/dist-client/38.js +0 -1
- package/dist-client/39.js +0 -1
- package/dist-client/40.js +0 -1
- package/dist-client/41.js +0 -1
- package/dist-client/42.js +0 -1
- package/dist-client/43.js +0 -1
- package/dist-client/44.js +0 -1
- package/dist-client/45.js +0 -1
- package/dist-client/46.js +0 -1
- package/dist-client/47.js +0 -1
- package/dist-client/48.js +0 -1
- package/dist-client/49.js +0 -1
- package/dist-client/50.js +0 -1
- package/dist-client/51.js +0 -1
- package/dist-client/52.js +0 -1
- package/dist-client/53.js +0 -1
- package/dist-client/54.js +0 -1
- package/dist-client/55.js +0 -1
- package/dist-client/56.js +0 -1
- package/dist-client/57.js +0 -1
- package/dist-client/58.js +0 -1
- package/dist-client/59.js +0 -1
- package/dist-client/60.js +0 -1
- package/dist-client/61.js +0 -1
- package/dist-client/assets/bar-chart.png +0 -0
- package/dist-client/assets/beacon.png +0 -0
- package/dist-client/assets/button.png +0 -0
- package/dist-client/assets/clock-analog.png +0 -0
- package/dist-client/assets/clock-digital.png +0 -0
- package/dist-client/assets/doughnut-chart.png +0 -0
- package/dist-client/assets/favicon.ico +0 -0
- package/dist-client/assets/fieldset.png +0 -0
- package/dist-client/assets/form.png +0 -0
- package/dist-client/assets/gauge-circle.png +0 -0
- package/dist-client/assets/gauge-horizontal.png +0 -0
- package/dist-client/assets/gauge-vertical.png +0 -0
- package/dist-client/assets/half-round-rect.png +0 -0
- package/dist-client/assets/helps/index.md +0 -1
- package/dist-client/assets/horizontal-bar-chart.png +0 -0
- package/dist-client/assets/icon-embed.png +0 -0
- package/dist-client/assets/icon-news-ticker.png +0 -0
- package/dist-client/assets/icon-radio-group.png +0 -0
- package/dist-client/assets/icon-simple-switch.png +0 -0
- package/dist-client/assets/icon-video.png +0 -0
- package/dist-client/assets/iframe.png +0 -0
- package/dist-client/assets/images/3d.ico +0 -0
- package/dist-client/assets/images/background-animation.json +0 -1
- package/dist-client/assets/images/barcode.ico +0 -0
- package/dist-client/assets/images/barcode.png +0 -0
- package/dist-client/assets/images/bg-auth-ui.png +0 -0
- package/dist-client/assets/images/bg-blue.png +0 -0
- package/dist-client/assets/images/bg-green.png +0 -0
- package/dist-client/assets/images/bg-input-select.png +0 -0
- package/dist-client/assets/images/bg-rail.png +0 -0
- package/dist-client/assets/images/chart.ico +0 -0
- package/dist-client/assets/images/cj.ico +0 -0
- package/dist-client/assets/images/components/audio.png +0 -0
- package/dist-client/assets/images/components/both-arrow.png +0 -0
- package/dist-client/assets/images/components/color-image.png +0 -0
- package/dist-client/assets/images/components/container.png +0 -0
- package/dist-client/assets/images/components/dash.png +0 -0
- package/dist-client/assets/images/components/donut.png +0 -0
- package/dist-client/assets/images/components/ellipse.png +0 -0
- package/dist-client/assets/images/components/forklift.png +0 -0
- package/dist-client/assets/images/components/gif-image.png +0 -0
- package/dist-client/assets/images/components/global-reference.png +0 -0
- package/dist-client/assets/images/components/gray-image.png +0 -0
- package/dist-client/assets/images/components/humidity-sensor.png +0 -0
- package/dist-client/assets/images/components/info-window.png +0 -0
- package/dist-client/assets/images/components/line.png +0 -0
- package/dist-client/assets/images/components/local-reference.png +0 -0
- package/dist-client/assets/images/components/no-image.png +0 -0
- package/dist-client/assets/images/components/person.png +0 -0
- package/dist-client/assets/images/components/polygon.png +0 -0
- package/dist-client/assets/images/components/polyline.png +0 -0
- package/dist-client/assets/images/components/rect.png +0 -0
- package/dist-client/assets/images/components/single-arrow.png +0 -0
- package/dist-client/assets/images/components/star.png +0 -0
- package/dist-client/assets/images/components/text.png +0 -0
- package/dist-client/assets/images/components/triangle.png +0 -0
- package/dist-client/assets/images/ellipse.ico +0 -0
- package/dist-client/assets/images/etc.ico +0 -0
- package/dist-client/assets/images/forklift.png +0 -0
- package/dist-client/assets/images/gauge.ico +0 -0
- package/dist-client/assets/images/hatiolab-logo.bac71281.png +0 -0
- package/dist-client/assets/images/hatiolab-logo.png +0 -0
- package/dist-client/assets/images/home.png +0 -0
- package/dist-client/assets/images/icon-activate.png +0 -0
- package/dist-client/assets/images/icon-backinfo.png +0 -0
- package/dist-client/assets/images/icon-brand.png +0 -0
- package/dist-client/assets/images/icon-close.png +0 -0
- package/dist-client/assets/images/icon-collapse-active.png +0 -0
- package/dist-client/assets/images/icon-collapse.png +0 -0
- package/dist-client/assets/images/icon-congratulations.png +0 -0
- package/dist-client/assets/images/icon-domain.png +0 -0
- package/dist-client/assets/images/icon-editor-gradient-direction.png +0 -0
- package/dist-client/assets/images/icon-fullscreen.png +0 -0
- package/dist-client/assets/images/icon-htoolbar.png +0 -0
- package/dist-client/assets/images/icon-mobile-brand.png +0 -0
- package/dist-client/assets/images/icon-nametag.png +0 -0
- package/dist-client/assets/images/icon-pallet-barcode.png +0 -0
- package/dist-client/assets/images/icon-profile.png +0 -0
- package/dist-client/assets/images/icon-properties-arrow-type.png +0 -0
- package/dist-client/assets/images/icon-properties-gradient-direction.png +0 -0
- package/dist-client/assets/images/icon-properties-ipattern.png +0 -0
- package/dist-client/assets/images/icon-properties-label.png +0 -0
- package/dist-client/assets/images/icon-properties-line-type.png +0 -0
- package/dist-client/assets/images/icon-properties-padding.png +0 -0
- package/dist-client/assets/images/icon-properties-ratio.png +0 -0
- package/dist-client/assets/images/icon-properties-table.png +0 -0
- package/dist-client/assets/images/icon-properties.png +0 -0
- package/dist-client/assets/images/icon-resource-select.png +0 -0
- package/dist-client/assets/images/icon-result.png +0 -0
- package/dist-client/assets/images/icon-setting.png +0 -0
- package/dist-client/assets/images/icon-shell-inspector.png +0 -0
- package/dist-client/assets/images/icon-vtoolbar-objects.png +0 -0
- package/dist-client/assets/images/icon-vtoolbar.png +0 -0
- package/dist-client/assets/images/invitation.png +0 -0
- package/dist-client/assets/images/line.ico +0 -0
- package/dist-client/assets/images/media.ico +0 -0
- package/dist-client/assets/images/person.png +0 -0
- package/dist-client/assets/images/poly.ico +0 -0
- package/dist-client/assets/images/profile.png +0 -0
- package/dist-client/assets/images/rect.ico +0 -0
- package/dist-client/assets/images/shape.ico +0 -0
- package/dist-client/assets/images/spinner.png +0 -0
- package/dist-client/assets/images/table.ico +0 -0
- package/dist-client/assets/images/text.ico +0 -0
- package/dist-client/assets/images/warehouse.ico +0 -0
- package/dist-client/assets/img.png +0 -0
- package/dist-client/assets/indoor-map.png +0 -0
- package/dist-client/assets/input-checkbox.png +0 -0
- package/dist-client/assets/input-color.png +0 -0
- package/dist-client/assets/input-date.png +0 -0
- package/dist-client/assets/input-email.png +0 -0
- package/dist-client/assets/input-file.png +0 -0
- package/dist-client/assets/input-number.png +0 -0
- package/dist-client/assets/input-password.png +0 -0
- package/dist-client/assets/input-radio.png +0 -0
- package/dist-client/assets/input-range.png +0 -0
- package/dist-client/assets/input-reset.png +0 -0
- package/dist-client/assets/input-search.png +0 -0
- package/dist-client/assets/input-submit.png +0 -0
- package/dist-client/assets/input-text.png +0 -0
- package/dist-client/assets/line-chart.png +0 -0
- package/dist-client/assets/link.png +0 -0
- package/dist-client/assets/manifest/apple-1024.png +0 -0
- package/dist-client/assets/manifest/apple-120.png +0 -0
- package/dist-client/assets/manifest/apple-152.png +0 -0
- package/dist-client/assets/manifest/apple-167.png +0 -0
- package/dist-client/assets/manifest/apple-180.png +0 -0
- package/dist-client/assets/manifest/apple-touch-icon.png +0 -0
- package/dist-client/assets/manifest/badge-128x128.png +0 -0
- package/dist-client/assets/manifest/chrome-splashscreen-icon-384x384.png +0 -0
- package/dist-client/assets/manifest/chrome-touch-icon-192x192.png +0 -0
- package/dist-client/assets/manifest/icon-128x128.png +0 -0
- package/dist-client/assets/manifest/icon-192x192.png +0 -0
- package/dist-client/assets/manifest/icon-512x512.png +0 -0
- package/dist-client/assets/manifest/icon-72x72.png +0 -0
- package/dist-client/assets/manifest/icon-96x96.png +0 -0
- package/dist-client/assets/manifest/image-metaog.png +0 -0
- package/dist-client/assets/manifest/maskable_icon.png +0 -0
- package/dist-client/assets/manifest/ms-icon-144x144.png +0 -0
- package/dist-client/assets/manifest/ms-touch-icon-144x144-precomposed.png +0 -0
- package/dist-client/assets/manifest.json +0 -27
- package/dist-client/assets/mixed-chart.png +0 -0
- package/dist-client/assets/no-image.png +0 -0
- package/dist-client/assets/pie-chart.png +0 -0
- package/dist-client/assets/polar-area-chart.png +0 -0
- package/dist-client/assets/progress-circle.png +0 -0
- package/dist-client/assets/progress-horizontal.png +0 -0
- package/dist-client/assets/progress-vertical.png +0 -0
- package/dist-client/assets/rack.png +0 -0
- package/dist-client/assets/radar-chart.png +0 -0
- package/dist-client/assets/random.png +0 -0
- package/dist-client/assets/scripts/markdown-webworker.js +0 -30
- package/dist-client/assets/select.png +0 -0
- package/dist-client/assets/tab.png +0 -0
- package/dist-client/assets/textarea.png +0 -0
- package/dist-client/auth/activate.js +0 -362
- package/dist-client/auth/checkin.js +0 -310
- package/dist-client/auth/forgot-password.js +0 -467
- package/dist-client/auth/reset-password.js +0 -467
- package/dist-client/auth/result.js +0 -379
- package/dist-client/auth/signin.js +0 -450
- package/dist-client/auth/signup.js +0 -450
- package/dist-client/auth/unlock-user.js +0 -467
- package/dist-client/headless-scene-components.js +0 -401
- package/dist-client/helps/about/components.md +0 -3
- package/dist-client/helps/about/framework/redirection.md +0 -45
- package/dist-client/helps/about/framework/typegraphql.md +0 -74
- package/dist-client/helps/about/framework.md +0 -10
- package/dist-client/helps/about/modules.md +0 -7
- package/dist-client/helps/about/things-factory.en.md +0 -255
- package/dist-client/helps/about/things-factory.ko.md +0 -258
- package/dist-client/helps/auth/appliance.en.md +0 -22
- package/dist-client/helps/auth/appliance.ko.md +0 -40
- package/dist-client/helps/auth/application.en.md +0 -33
- package/dist-client/helps/auth/images/app-binding.png +0 -0
- package/dist-client/helps/auth/images/appliance-generate-key.png +0 -0
- package/dist-client/helps/auth/images/appliance-sandbox-auth-1.png +0 -0
- package/dist-client/helps/auth/images/appliance-sandbox-auth-2.png +0 -0
- package/dist-client/helps/auth/images/appliance-sandbox-auth-3.png +0 -0
- package/dist-client/helps/auth/images/application-hub.png +0 -0
- package/dist-client/helps/auth/images/authorization-postman.png +0 -0
- package/dist-client/helps/auth/images/create-button2.png +0 -0
- package/dist-client/helps/auth/images/create-role.png +0 -0
- package/dist-client/helps/auth/images/flowchart-appliance-registration.jpg +0 -0
- package/dist-client/helps/auth/images/flowchart-role-management.jpg +0 -0
- package/dist-client/helps/auth/images/flowchart-user-account.jpg +0 -0
- package/dist-client/helps/auth/images/invite-user.png +0 -0
- package/dist-client/helps/auth/images/owner-transfer-confirm.png +0 -0
- package/dist-client/helps/auth/images/owner-transfer.png +0 -0
- package/dist-client/helps/auth/images/postman.png +0 -0
- package/dist-client/helps/auth/images/register-appliance-new.png +0 -0
- package/dist-client/helps/auth/images/register-appliance.png +0 -0
- package/dist-client/helps/auth/images/register-application.png +0 -0
- package/dist-client/helps/auth/images/registered-role.png +0 -0
- package/dist-client/helps/auth/images/role-list.png +0 -0
- package/dist-client/helps/auth/images/role-privilage.png +0 -0
- package/dist-client/helps/auth/images/role-privileges.png +0 -0
- package/dist-client/helps/auth/images/save-button2.png +0 -0
- package/dist-client/helps/auth/images/save-button3.png +0 -0
- package/dist-client/helps/auth/images/transfer-owner.png +0 -0
- package/dist-client/helps/auth/images/update-roles.png +0 -0
- package/dist-client/helps/auth/images/user-delete.png +0 -0
- package/dist-client/helps/auth/images/user-error.png +0 -0
- package/dist-client/helps/auth/images/user-invite.png +0 -0
- package/dist-client/helps/auth/images/user-roles.png +0 -0
- package/dist-client/helps/auth/roles.en.md +0 -59
- package/dist-client/helps/auth/roles.ko.md +0 -42
- package/dist-client/helps/auth/users.en.md +0 -33
- package/dist-client/helps/auth/users.ko.md +0 -54
- package/dist-client/helps/board-modeller/data-binding.ko.md +0 -86
- package/dist-client/helps/board-modeller/data-binding.md +0 -83
- package/dist-client/helps/board-modeller/data-binding.zh.md +0 -86
- package/dist-client/helps/board-modeller/effects/animation.ko.md +0 -46
- package/dist-client/helps/board-modeller/effects/animation.md +0 -47
- package/dist-client/helps/board-modeller/effects/animation.zh.md +0 -47
- package/dist-client/helps/board-modeller/effects/hover-event.ko.md +0 -55
- package/dist-client/helps/board-modeller/effects/hover-event.md +0 -57
- package/dist-client/helps/board-modeller/effects/hover-event.zh.md +0 -55
- package/dist-client/helps/board-modeller/effects/retention.ko.md +0 -4
- package/dist-client/helps/board-modeller/effects/retention.md +0 -4
- package/dist-client/helps/board-modeller/effects/retention.zh.md +0 -4
- package/dist-client/helps/board-modeller/effects/shadow.ko.md +0 -18
- package/dist-client/helps/board-modeller/effects/shadow.md +0 -21
- package/dist-client/helps/board-modeller/effects/shadow.zh.md +0 -19
- package/dist-client/helps/board-modeller/effects/tap-event.ko.md +0 -74
- package/dist-client/helps/board-modeller/effects/tap-event.md +0 -74
- package/dist-client/helps/board-modeller/effects/tap-event.zh.md +0 -74
- package/dist-client/helps/board-modeller/images/animation-01.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-02.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-03.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-04.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-05.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-06.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-07.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-08.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-09.gif +0 -0
- package/dist-client/helps/board-modeller/images/animation-10.gif +0 -0
- package/dist-client/helps/board-modeller/images/common-property-text-align-horizontal.png +0 -0
- package/dist-client/helps/board-modeller/images/common-property-text-align-vertical.png +0 -0
- package/dist-client/helps/board-modeller/images/common-property-text-margin.png +0 -0
- package/dist-client/helps/board-modeller/images/component-3D.png +0 -0
- package/dist-client/helps/board-modeller/images/component-arrow.png +0 -0
- package/dist-client/helps/board-modeller/images/component-chart-gauge.png +0 -0
- package/dist-client/helps/board-modeller/images/component-container.png +0 -0
- package/dist-client/helps/board-modeller/images/component-datasource.png +0 -0
- package/dist-client/helps/board-modeller/images/component-etc.png +0 -0
- package/dist-client/helps/board-modeller/images/component-form.png +0 -0
- package/dist-client/helps/board-modeller/images/component-gauge.png +0 -0
- package/dist-client/helps/board-modeller/images/component-image.png +0 -0
- package/dist-client/helps/board-modeller/images/component-iot.png +0 -0
- package/dist-client/helps/board-modeller/images/component-line.png +0 -0
- package/dist-client/helps/board-modeller/images/component-shape.png +0 -0
- package/dist-client/helps/board-modeller/images/component-table.png +0 -0
- package/dist-client/helps/board-modeller/images/component-text-media.png +0 -0
- package/dist-client/helps/board-modeller/images/component-toolbar.png +0 -0
- package/dist-client/helps/board-modeller/images/component-warehouse.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-02.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-03.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-04.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-05.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-06.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-07.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-08.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-09.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-10.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-11.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-12.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-13.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-14.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-15.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-16.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-17.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-18.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-19.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-20.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-21.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-22.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-23.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-24.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-25.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-26.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-27.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-28.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-29.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-30.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-31.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar-32.png +0 -0
- package/dist-client/helps/board-modeller/images/control-toolbar.png +0 -0
- package/dist-client/helps/board-modeller/images/effect-property.png +0 -0
- package/dist-client/helps/board-modeller/images/hover-01.png +0 -0
- package/dist-client/helps/board-modeller/images/join-type-bevel.png +0 -0
- package/dist-client/helps/board-modeller/images/join-type-miter.png +0 -0
- package/dist-client/helps/board-modeller/images/join-type-round.png +0 -0
- package/dist-client/helps/board-modeller/images/modeler-layout-01.png +0 -0
- package/dist-client/helps/board-modeller/images/property-window.png +0 -0
- package/dist-client/helps/board-modeller/images/shadow-02.png +0 -0
- package/dist-client/helps/board-modeller/images/shadow-03.png +0 -0
- package/dist-client/helps/board-modeller/images/shadow-04.png +0 -0
- package/dist-client/helps/board-modeller/images/shadow-05.png +0 -0
- package/dist-client/helps/board-modeller/images/shape-property.png +0 -0
- package/dist-client/helps/board-modeller/images/specific-property.png +0 -0
- package/dist-client/helps/board-modeller/images/style-property.png +0 -0
- package/dist-client/helps/board-modeller/images/target-property.png +0 -0
- package/dist-client/helps/board-modeller/images/variable-property.png +0 -0
- package/dist-client/helps/board-modeller/modeller.ko.md +0 -244
- package/dist-client/helps/board-modeller/modeller.md +0 -206
- package/dist-client/helps/board-modeller/modeller.zh.md +0 -241
- package/dist-client/helps/board-modeller/shapes/3dish.ko.md +0 -3
- package/dist-client/helps/board-modeller/shapes/3dish.md +0 -3
- package/dist-client/helps/board-modeller/shapes/3dish.zh.md +0 -3
- package/dist-client/helps/board-modeller/shapes/print-option.ko.md +0 -3
- package/dist-client/helps/board-modeller/shapes/print-option.md +0 -3
- package/dist-client/helps/board-modeller/shapes/print-option.zh.md +0 -3
- package/dist-client/helps/board-modeller/shapes/shapes.ko.md +0 -15
- package/dist-client/helps/board-modeller/shapes/shapes.md +0 -18
- package/dist-client/helps/board-modeller/shapes/shapes.zh.md +0 -16
- package/dist-client/helps/board-modeller/shapes/size.ko.md +0 -5
- package/dist-client/helps/board-modeller/shapes/size.md +0 -5
- package/dist-client/helps/board-modeller/shapes/size.zh.md +0 -5
- package/dist-client/helps/board-modeller/shapes/text-box.ko.md +0 -19
- package/dist-client/helps/board-modeller/shapes/text-box.md +0 -18
- package/dist-client/helps/board-modeller/shapes/text-box.zh.md +0 -18
- package/dist-client/helps/board-modeller/shapes/viewer-option.ko.md +0 -8
- package/dist-client/helps/board-modeller/shapes/viewer-option.md +0 -8
- package/dist-client/helps/board-modeller/shapes/viewer-option.zh.md +0 -8
- package/dist-client/helps/board-modeller/styles/fill-style.ko.md +0 -17
- package/dist-client/helps/board-modeller/styles/fill-style.md +0 -17
- package/dist-client/helps/board-modeller/styles/fill-style.zh.md +0 -17
- package/dist-client/helps/board-modeller/styles/line-style.ko.md +0 -19
- package/dist-client/helps/board-modeller/styles/line-style.md +0 -23
- package/dist-client/helps/board-modeller/styles/line-style.zh.md +0 -19
- package/dist-client/helps/board-modeller/styles/opacity.ko.md +0 -3
- package/dist-client/helps/board-modeller/styles/opacity.md +0 -3
- package/dist-client/helps/board-modeller/styles/opacity.zh.md +0 -3
- package/dist-client/helps/board-modeller/styles/text-style.ko.md +0 -8
- package/dist-client/helps/board-modeller/styles/text-style.md +0 -8
- package/dist-client/helps/board-modeller/styles/text-style.zh.md +0 -8
- package/dist-client/helps/components/oops-progress.md +0 -73
- package/dist-client/helps/index.md +0 -1
- package/dist-client/helps/integration/concept/connection.md +0 -27
- package/dist-client/helps/integration/concept/context.md +0 -83
- package/dist-client/helps/integration/concept/data-accessor.md +0 -9
- package/dist-client/helps/integration/concept/pending-queue.md +0 -32
- package/dist-client/helps/integration/concept/scenario-engine.md +0 -10
- package/dist-client/helps/integration/concept/scenario.md +0 -4
- package/dist-client/helps/integration/concept/task.md +0 -25
- package/dist-client/helps/integration/connector/mqtt-connector.md +0 -17
- package/dist-client/helps/integration/connector/mssql-connector.md +0 -34
- package/dist-client/helps/integration/connector/oracle-connector.md +0 -66
- package/dist-client/helps/integration/connector/postgresql-connector.md +0 -34
- package/dist-client/helps/integration/connector/sqlite-connector.md +0 -17
- package/dist-client/helps/integration/index.md +0 -37
- package/dist-client/helps/integration/task/book-up-scenario.md +0 -24
- package/dist-client/helps/integration/task/end.md +0 -3
- package/dist-client/helps/integration/task/floating-point.md +0 -34
- package/dist-client/helps/integration/task/goto.md +0 -8
- package/dist-client/helps/integration/task/local-graphql-mutate.md +0 -21
- package/dist-client/helps/integration/task/local-graphql-query.md +0 -21
- package/dist-client/helps/integration/task/log.md +0 -14
- package/dist-client/helps/integration/task/mqtt-publish.md +0 -10
- package/dist-client/helps/integration/task/mqtt-subscribe.md +0 -15
- package/dist-client/helps/integration/task/pick-pending-scenario.md +0 -13
- package/dist-client/helps/integration/task/publish.md +0 -16
- package/dist-client/helps/integration/task/script.md +0 -39
- package/dist-client/helps/integration/task/sleep.md +0 -8
- package/dist-client/helps/integration/task/throw.md +0 -12
- package/dist-client/helps/integration/task/variables.md +0 -37
- package/dist-client/helps/integration/ui/connection.md +0 -16
- package/dist-client/helps/integration/ui/crontab-editor.md +0 -9
- package/dist-client/helps/integration/ui/integration-monitor.md +0 -29
- package/dist-client/helps/integration/ui/scenario-detail.md +0 -35
- package/dist-client/helps/integration/ui/scenario.md +0 -35
- package/dist-client/helps/module/api.md +0 -117
- package/dist-client/helps/module/dashboard.md +0 -27
- package/dist-client/helps/module/help.md +0 -40
- package/dist-client/helps/module/lite-menu.md +0 -112
- package/dist-client/helps/module/notification-images/config-app-1.png +0 -0
- package/dist-client/helps/module/notification-images/config-app-2.png +0 -0
- package/dist-client/helps/module/notification-images/config-server-key.png +0 -0
- package/dist-client/helps/module/notification-images/config-service-account.png +0 -0
- package/dist-client/helps/module/notification-images/config-vapidkey-1.png +0 -0
- package/dist-client/helps/module/notification-images/config-vapidkey-2-get-public-key.png +0 -0
- package/dist-client/helps/module/notification-images/config-vapidkey-3-get-private-key.png +0 -0
- package/dist-client/helps/module/notification-images/element-notification-badge.png +0 -0
- package/dist-client/helps/module/notification-images/element-notification-list.png +0 -0
- package/dist-client/helps/module/notification-images/element-notification-setting-let.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-chrome-1.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-chrome-2.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-firebase-1.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-firebase-2.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-firebase-3.png +0 -0
- package/dist-client/helps/module/notification-images/push-test-on-firebase-4.png +0 -0
- package/dist-client/helps/module/notification.md +0 -161
- package/dist-client/helps/oauth2-client/code-verifier.md +0 -5
- package/dist-client/helps/oauth2-client/credentials.md +0 -160
- package/dist-client/helps/oauth2-client/grant-type.md +0 -33
- package/dist-client/helps/scene/component/analog-clock.ko.md +0 -6
- package/dist-client/helps/scene/component/analog-clock.md +0 -8
- package/dist-client/helps/scene/component/analog-clock.zh.md +0 -6
- package/dist-client/helps/scene/component/arrow.ko.md +0 -9
- package/dist-client/helps/scene/component/arrow.md +0 -9
- package/dist-client/helps/scene/component/arrow.zh.md +0 -9
- package/dist-client/helps/scene/component/audio.ko.md +0 -1
- package/dist-client/helps/scene/component/audio.md +0 -1
- package/dist-client/helps/scene/component/audio.zh.md +0 -1
- package/dist-client/helps/scene/component/both-arrow.ko.md +0 -9
- package/dist-client/helps/scene/component/both-arrow.md +0 -9
- package/dist-client/helps/scene/component/both-arrow.zh.md +0 -9
- package/dist-client/helps/scene/component/chartjs.ko.md +0 -332
- package/dist-client/helps/scene/component/chartjs.md +0 -333
- package/dist-client/helps/scene/component/chartjs.zh.md +0 -331
- package/dist-client/helps/scene/component/color-image.ko.md +0 -9
- package/dist-client/helps/scene/component/color-image.md +0 -9
- package/dist-client/helps/scene/component/color-image.zh.md +0 -9
- package/dist-client/helps/scene/component/container.ko.md +0 -7
- package/dist-client/helps/scene/component/container.md +0 -9
- package/dist-client/helps/scene/component/container.zh.md +0 -8
- package/dist-client/helps/scene/component/donut.ko.md +0 -14
- package/dist-client/helps/scene/component/donut.md +0 -17
- package/dist-client/helps/scene/component/donut.zh.md +0 -18
- package/dist-client/helps/scene/component/dotted-line.ko.md +0 -7
- package/dist-client/helps/scene/component/dotted-line.md +0 -9
- package/dist-client/helps/scene/component/dotted-line.zh.md +0 -7
- package/dist-client/helps/scene/component/ellipse.ko.md +0 -11
- package/dist-client/helps/scene/component/ellipse.md +0 -11
- package/dist-client/helps/scene/component/ellipse.zh.md +0 -10
- package/dist-client/helps/scene/component/gauge-circle.ko.md +0 -168
- package/dist-client/helps/scene/component/gauge-circle.md +0 -167
- package/dist-client/helps/scene/component/gauge-circle.zh.md +0 -164
- package/dist-client/helps/scene/component/gauge-horizon.ko.md +0 -145
- package/dist-client/helps/scene/component/gauge-horizon.md +0 -145
- package/dist-client/helps/scene/component/gauge-horizon.zh.md +0 -145
- package/dist-client/helps/scene/component/gauge-vertical.ko.md +0 -12
- package/dist-client/helps/scene/component/gauge-vertical.md +0 -9
- package/dist-client/helps/scene/component/gauge-vertical.zh.md +0 -10
- package/dist-client/helps/scene/component/gif-view.ko.md +0 -10
- package/dist-client/helps/scene/component/gif-view.md +0 -10
- package/dist-client/helps/scene/component/gif-view.zh.md +0 -10
- package/dist-client/helps/scene/component/global-ref.ko.md +0 -1
- package/dist-client/helps/scene/component/global-ref.md +0 -1
- package/dist-client/helps/scene/component/global-ref.zh.md +0 -1
- package/dist-client/helps/scene/component/gray-image.ko.md +0 -9
- package/dist-client/helps/scene/component/gray-image.md +0 -9
- package/dist-client/helps/scene/component/gray-image.zh.md +0 -8
- package/dist-client/helps/scene/component/indoor-map.ko.md +0 -65
- package/dist-client/helps/scene/component/indoor-map.md +0 -65
- package/dist-client/helps/scene/component/indoor-map.zh.md +0 -65
- package/dist-client/helps/scene/component/info-window.ko.md +0 -1
- package/dist-client/helps/scene/component/info-window.md +0 -1
- package/dist-client/helps/scene/component/info-window.zh.md +0 -1
- package/dist-client/helps/scene/component/input.ko.md +0 -59
- package/dist-client/helps/scene/component/input.md +0 -59
- package/dist-client/helps/scene/component/input.zh.md +0 -58
- package/dist-client/helps/scene/component/line.ko.md +0 -9
- package/dist-client/helps/scene/component/line.md +0 -9
- package/dist-client/helps/scene/component/line.zh.md +0 -7
- package/dist-client/helps/scene/component/local-ref.ko.md +0 -1
- package/dist-client/helps/scene/component/local-ref.md +0 -1
- package/dist-client/helps/scene/component/local-ref.zh.md +0 -1
- package/dist-client/helps/scene/component/marker.ko.md +0 -15
- package/dist-client/helps/scene/component/marker.md +0 -15
- package/dist-client/helps/scene/component/marker.zh.md +0 -15
- package/dist-client/helps/scene/component/news-ticker.ko.md +0 -27
- package/dist-client/helps/scene/component/news-ticker.md +0 -27
- package/dist-client/helps/scene/component/news-ticker.zh.md +0 -27
- package/dist-client/helps/scene/component/polygon.ko.md +0 -9
- package/dist-client/helps/scene/component/polygon.md +0 -9
- package/dist-client/helps/scene/component/polygon.zh.md +0 -9
- package/dist-client/helps/scene/component/polyline.ko.md +0 -10
- package/dist-client/helps/scene/component/polyline.md +0 -10
- package/dist-client/helps/scene/component/polyline.zh.md +0 -10
- package/dist-client/helps/scene/component/progress-circle.ko.md +0 -41
- package/dist-client/helps/scene/component/progress-circle.md +0 -42
- package/dist-client/helps/scene/component/progress-circle.zh.md +0 -39
- package/dist-client/helps/scene/component/progress-horizontal.ko.md +0 -37
- package/dist-client/helps/scene/component/progress-horizontal.md +0 -31
- package/dist-client/helps/scene/component/progress-horizontal.zh.md +0 -31
- package/dist-client/helps/scene/component/progress-vertical.ko.md +0 -23
- package/dist-client/helps/scene/component/progress-vertical.md +0 -24
- package/dist-client/helps/scene/component/progress-vertical.zh.md +0 -23
- package/dist-client/helps/scene/component/rack.ko.md +0 -17
- package/dist-client/helps/scene/component/rack.md +0 -15
- package/dist-client/helps/scene/component/rack.zh.md +0 -16
- package/dist-client/helps/scene/component/random.ko.md +0 -12
- package/dist-client/helps/scene/component/random.md +0 -11
- package/dist-client/helps/scene/component/random.zh.md +0 -11
- package/dist-client/helps/scene/component/rect.ko.md +0 -17
- package/dist-client/helps/scene/component/rect.md +0 -16
- package/dist-client/helps/scene/component/rect.zh.md +0 -16
- package/dist-client/helps/scene/component/simple-switch.ko.md +0 -20
- package/dist-client/helps/scene/component/simple-switch.md +0 -19
- package/dist-client/helps/scene/component/simple-switch.zh.md +0 -19
- package/dist-client/helps/scene/component/star.ko.md +0 -19
- package/dist-client/helps/scene/component/star.md +0 -19
- package/dist-client/helps/scene/component/star.zh.md +0 -19
- package/dist-client/helps/scene/component/tab.ko.md +0 -14
- package/dist-client/helps/scene/component/tab.md +0 -13
- package/dist-client/helps/scene/component/tab.zh.md +0 -13
- package/dist-client/helps/scene/component/text-clock.ko.md +0 -25
- package/dist-client/helps/scene/component/text-clock.md +0 -22
- package/dist-client/helps/scene/component/text-clock.zh.md +0 -22
- package/dist-client/helps/scene/component/text.ko.md +0 -9
- package/dist-client/helps/scene/component/text.md +0 -9
- package/dist-client/helps/scene/component/text.zh.md +0 -9
- package/dist-client/helps/scene/component/top-rounded-ractangle.ko.md +0 -15
- package/dist-client/helps/scene/component/top-rounded-ractangle.md +0 -15
- package/dist-client/helps/scene/component/top-rounded-ractangle.zh.md +0 -15
- package/dist-client/helps/scene/component/triangle.ko.md +0 -9
- package/dist-client/helps/scene/component/triangle.md +0 -9
- package/dist-client/helps/scene/component/triangle.zh.md +0 -9
- package/dist-client/helps/scene/images/both-arrow-01.png +0 -0
- package/dist-client/helps/scene/images/button-evnet-mapping-01.png +0 -0
- package/dist-client/helps/scene/images/button-evnet-mapping-02.png +0 -0
- package/dist-client/helps/scene/images/button-evnet-mapping-03.png +0 -0
- package/dist-client/helps/scene/images/chart-bar-01.png +0 -0
- package/dist-client/helps/scene/images/chart-bar-02.png +0 -0
- package/dist-client/helps/scene/images/chart-bar-03.png +0 -0
- package/dist-client/helps/scene/images/chart-bar-08.png +0 -0
- package/dist-client/helps/scene/images/chart-bar-12.png +0 -0
- package/dist-client/helps/scene/images/chart-data-01.png +0 -0
- package/dist-client/helps/scene/images/chart-data-04.png +0 -0
- package/dist-client/helps/scene/images/chart-doughnut-01.png +0 -0
- package/dist-client/helps/scene/images/chart-horizontal-bar-01.png +0 -0
- package/dist-client/helps/scene/images/chart-line-01.png +0 -0
- package/dist-client/helps/scene/images/chart-mix-01.png +0 -0
- package/dist-client/helps/scene/images/chart-mix-02.png +0 -0
- package/dist-client/helps/scene/images/chart-pie-01.png +0 -0
- package/dist-client/helps/scene/images/chart-polar-01.png +0 -0
- package/dist-client/helps/scene/images/chart-radar-01.png +0 -0
- package/dist-client/helps/scene/images/clock-analog-01.png +0 -0
- package/dist-client/helps/scene/images/clock-text-01.png +0 -0
- package/dist-client/helps/scene/images/clock-text-02.png +0 -0
- package/dist-client/helps/scene/images/clock-text-03.png +0 -0
- package/dist-client/helps/scene/images/clock-text-04.png +0 -0
- package/dist-client/helps/scene/images/container-01.png +0 -0
- package/dist-client/helps/scene/images/container-03.png +0 -0
- package/dist-client/helps/scene/images/container-04.png +0 -0
- package/dist-client/helps/scene/images/dash-01.png +0 -0
- package/dist-client/helps/scene/images/donut-01.png +0 -0
- package/dist-client/helps/scene/images/donut-02.png +0 -0
- package/dist-client/helps/scene/images/ellipse-01.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-01.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-02.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-03.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-04.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-05.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-06.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-07.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-08.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-09.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-10.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-11.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-12.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-13.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-14.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-15.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-16.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-17.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-18.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-19.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-20.png +0 -0
- package/dist-client/helps/scene/images/gauge-circle-21.png +0 -0
- package/dist-client/helps/scene/images/gauge-horizontal-01.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-01.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-02.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-03.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-04.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-05.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-06.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-07.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-08.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-09.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-10.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-11.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-12.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-13.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-14.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-15.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-16.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-17.png +0 -0
- package/dist-client/helps/scene/images/gauge-vertical-18.png +0 -0
- package/dist-client/helps/scene/images/half-round-rect-01.png +0 -0
- package/dist-client/helps/scene/images/half-round-rect-02.png +0 -0
- package/dist-client/helps/scene/images/indoor-button-finish-01.gif +0 -0
- package/dist-client/helps/scene/images/indoor-create-01.png +0 -0
- package/dist-client/helps/scene/images/indoor-create-02.png +0 -0
- package/dist-client/helps/scene/images/indoor-create-03.png +0 -0
- package/dist-client/helps/scene/images/indoor-setting-01.png +0 -0
- package/dist-client/helps/scene/images/line-01.png +0 -0
- package/dist-client/helps/scene/images/marker-01.png +0 -0
- package/dist-client/helps/scene/images/marker-02.png +0 -0
- package/dist-client/helps/scene/images/media-01.png +0 -0
- package/dist-client/helps/scene/images/media-02.png +0 -0
- package/dist-client/helps/scene/images/news_ticker_1.png +0 -0
- package/dist-client/helps/scene/images/news_ticker_2.png +0 -0
- package/dist-client/helps/scene/images/news_ticker_3.png +0 -0
- package/dist-client/helps/scene/images/news_ticker_video_1.gif +0 -0
- package/dist-client/helps/scene/images/news_ticker_video_2.gif +0 -0
- package/dist-client/helps/scene/images/polygon-01.png +0 -0
- package/dist-client/helps/scene/images/polyline-01.png +0 -0
- package/dist-client/helps/scene/images/progress-circle-01.png +0 -0
- package/dist-client/helps/scene/images/progress-circle-02.png +0 -0
- package/dist-client/helps/scene/images/progress-circle-03.png +0 -0
- package/dist-client/helps/scene/images/progress-circle-04.png +0 -0
- package/dist-client/helps/scene/images/progress-circle-05.png +0 -0
- package/dist-client/helps/scene/images/progress-horizontal-01.png +0 -0
- package/dist-client/helps/scene/images/progress-horizontal-02.png +0 -0
- package/dist-client/helps/scene/images/progress-horizontal-03.png +0 -0
- package/dist-client/helps/scene/images/progress-horizontal-04.png +0 -0
- package/dist-client/helps/scene/images/progress-vertical-01.png +0 -0
- package/dist-client/helps/scene/images/progress-vertical-02.png +0 -0
- package/dist-client/helps/scene/images/progress-vertical-03.png +0 -0
- package/dist-client/helps/scene/images/rect-01.png +0 -0
- package/dist-client/helps/scene/images/rect-02.png +0 -0
- package/dist-client/helps/scene/images/single-arrow-01.png +0 -0
- package/dist-client/helps/scene/images/star-01.png +0 -0
- package/dist-client/helps/scene/images/star-02.png +0 -0
- package/dist-client/helps/scene/images/star-03.png +0 -0
- package/dist-client/helps/scene/images/text-01.png +0 -0
- package/dist-client/helps/scene/images/triangle-01.png +0 -0
- package/dist-client/helps/setting/images/confirm-button.PNG +0 -0
- package/dist-client/helps/setting/images/delete-button.png +0 -0
- package/dist-client/helps/setting/images/error-setting.png +0 -0
- package/dist-client/helps/setting/images/export-button.png +0 -0
- package/dist-client/helps/setting/images/flowchart-setting-management.jpg +0 -0
- package/dist-client/helps/setting/images/partner-setting.png +0 -0
- package/dist-client/helps/setting/images/partners-list.PNG +0 -0
- package/dist-client/helps/setting/images/save-button.png +0 -0
- package/dist-client/helps/setting/images/select-button.PNG +0 -0
- package/dist-client/helps/setting/images/setting-board.png +0 -0
- package/dist-client/helps/setting/images/upload-button.png +0 -0
- package/dist-client/helps/setting/partner-setting.en.md +0 -19
- package/dist-client/helps/setting/settings.en.md +0 -26
- package/dist-client/helps/setting/settings.ko.md +0 -4
- package/dist-client/index.html +0 -14
- package/dist-client/main.js +0 -228
- package/dist-client/modules.js +0 -171
- package/dist-client/node_modules/@hatiolab/things-scene/package.json +0 -81
- package/dist-client/node_modules/@hatiolab/things-scene/rollup.config.js +0 -40
- package/dist-client/node_modules/@hatiolab/things-scene/things-board.js +0 -9
- package/dist-client/node_modules/@hatiolab/things-scene/things-scene-ie.js +0 -1
- package/dist-client/node_modules/@hatiolab/things-scene/things-scene-min.js +0 -1
- package/dist-client/node_modules/@lottiefiles/lottie-player/dist/lottie-player.js +0 -44
- package/dist-client/node_modules/@lottiefiles/lottie-player/dist/lottie-player.js.map +0 -1
- package/dist-client/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js +0 -206
- package/dist-client/node_modules/marked/marked.min.js +0 -6
- package/dist-client/node_modules/marked/package.json +0 -88
- package/dist-client/node_modules/web-animations-js/web-animations-next.min.js +0 -16
- package/dist-client/node_modules/web-animations-js/web-animations-next.min.js.map +0 -1
- package/dist-client/oauth2/oauth2-decision-error-page.js +0 -299
- package/dist-client/oauth2/oauth2-decision-page.js +0 -362
- package/dist-client/openapi/unstable/scenario.yaml +0 -240
- package/dist-client/openapi/unstable.yaml +0 -41
- package/dist-client/profile.js +0 -1
- package/dist-client/public/home.js +0 -332
- package/dist-client/service-worker.js +0 -1
- package/dist-client/theme.css +0 -33
- package/dist-client/theme.js +0 -1
- package/dist-client/translations/en.json +0 -1083
- package/dist-client/translations/ko.json +0 -1083
- package/dist-client/translations/ms.json +0 -1073
- package/dist-client/translations/zh.json +0 -1061
- package/dist-client/vendors~modules.js +0 -2423
- package/dist-client/views/auth-page.html +0 -93
- package/dist-client/views/dependencies-view-graphviz.html +0 -75
- package/dist-client/views/dependencies-view.html +0 -139
- package/dist-client/views/internal-board-service-view.html +0 -65
- package/dist-client/views/internal-label-command-view.html +0 -301
- package/dist-client/views/oauth2-page.html +0 -90
- package/dist-client/views/public/home.html +0 -83
- package/dist-client/views/scenario-view.html +0 -64
- package/dist-client/views/template.html +0 -21
- package/logs/application-2021-11-08-10.log +0 -4
- package/logs/connections-2021-11-02-18.log +0 -0
- package/logs/connections-2021-11-03-09.log +0 -0
- package/logs/connections-2021-11-04-12.log +0 -0
- package/logs/connections-2021-11-04-13.log +0 -0
- package/logs/connections-2021-11-04-20.log +0 -0
- package/logs/connections-2021-11-08-10.log +0 -0
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<title>Reference App</title>
|
|
6
|
-
<meta name="generator" content="Things Factory Starter Kit" />
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
|
-
<meta name="description" content="Heart of Logistics" />
|
|
9
|
-
|
|
10
|
-
<base href="/" />
|
|
11
|
-
|
|
12
|
-
<link rel="icon" href="/assets/favicon.ico" />
|
|
13
|
-
|
|
14
|
-
<!-- See https://goo.gl/OOhYW5 -->
|
|
15
|
-
<link rel="manifest" href="/assets/manifest.json" />
|
|
16
|
-
|
|
17
|
-
<!-- See https://goo.gl/qRE0vM -->
|
|
18
|
-
<meta name="theme-color" content="#3f51b5" />
|
|
19
|
-
|
|
20
|
-
<!-- Add to homescreen for Chrome on Android. Fallback for manifest.json -->
|
|
21
|
-
<meta name="mobile-web-app-capable" content="yes" />
|
|
22
|
-
<meta name="application-name" content="Reference App" />
|
|
23
|
-
<meta name="application-description" content="Heart of Logistics" />
|
|
24
|
-
<meta name="application-copyright" content="Copyright © hatiolab.com. All Rights Reserved." />
|
|
25
|
-
<link rel="application-icon" href="/assets/manifest/icon-96x96.png" />
|
|
26
|
-
|
|
27
|
-
<!-- Add to homescreen for Safari on iOS -->
|
|
28
|
-
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
29
|
-
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
30
|
-
<meta name="apple-mobile-web-app-title" content="Reference App" />
|
|
31
|
-
|
|
32
|
-
<!-- Homescreen icons -->
|
|
33
|
-
<link rel="apple-touch-icon" href="/assets/manifest/icon-48x48.png" />
|
|
34
|
-
<link rel="apple-touch-icon" sizes="72x72" href="/assets/manifest/icon-72x72.png" />
|
|
35
|
-
<link rel="apple-touch-icon" sizes="96x96" href="/assets/manifest/icon-96x96.png" />
|
|
36
|
-
<link rel="apple-touch-icon" sizes="144x144" href="/assets/manifest/icon-144x144.png" />
|
|
37
|
-
<link rel="apple-touch-icon" sizes="192x192" href="/assets/manifest/icon-192x192.png" />
|
|
38
|
-
|
|
39
|
-
<!-- Tile icon for Windows 8 (144x144 + tile color) -->
|
|
40
|
-
<meta name="msapplication-TileImage" content="/assets/manifest/icon-144x144.png" />
|
|
41
|
-
<meta name="msapplication-TileColor" content="#3f51b5" />
|
|
42
|
-
<meta name="msapplication-tap-highlight" content="no" />
|
|
43
|
-
|
|
44
|
-
<!-- Default twitter cards -->
|
|
45
|
-
<meta name="twitter:card" content="summary" />
|
|
46
|
-
<meta name="twitter:site" content="@username" />
|
|
47
|
-
<meta property="og:type" content="website" />
|
|
48
|
-
<meta property="og:site_name" content="Reference App, Heart of platform." />
|
|
49
|
-
<meta property="og:image" content="/assets/manifest/image-metaog.png" />
|
|
50
|
-
|
|
51
|
-
<!-- Performance tip: hint to the browser to start the handshake for the fonts site -->
|
|
52
|
-
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin />
|
|
53
|
-
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Material+Icons&display=block" />
|
|
54
|
-
<link rel="stylesheet" href="/theme.css" />
|
|
55
|
-
|
|
56
|
-
<style>
|
|
57
|
-
body {
|
|
58
|
-
margin: 0;
|
|
59
|
-
padding: 0;
|
|
60
|
-
overflow: hidden;
|
|
61
|
-
|
|
62
|
-
/* This is a font-stack that tries to use the system-default sans-serifs first */
|
|
63
|
-
font-family: Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
64
|
-
line-height: 1.5;
|
|
65
|
-
-webkit-font-smoothing: antialiased;
|
|
66
|
-
}
|
|
67
|
-
</style>
|
|
68
|
-
|
|
69
|
-
<!--- prefetch -->
|
|
70
|
-
<link rel="prefetch" href="/auth/signin.js">
|
|
71
|
-
<link rel="prefetch" href="/auth/signup.js">
|
|
72
|
-
<link rel="prefetch" href="/auth/forgot-password.js">
|
|
73
|
-
<link rel="prefetch" href="/auth/checkin.js">
|
|
74
|
-
</head>
|
|
75
|
-
<body>
|
|
76
|
-
<<%- pageElement %> id="page"></<%- pageElement %>>
|
|
77
|
-
<noscript>
|
|
78
|
-
Please enable JavaScript to view this website.
|
|
79
|
-
</noscript>
|
|
80
|
-
<!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
|
|
81
|
-
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
|
|
82
|
-
<script src="node_modules/web-animations-js/web-animations-next.min.js"></script>
|
|
83
|
-
<script src="node_modules/@lottiefiles/lottie-player/dist/lottie-player.js"></script>
|
|
84
|
-
<!-- Built with love using PWA Starter Kit -->
|
|
85
|
-
|
|
86
|
-
<script src="<%- elementScript %>"></script>
|
|
87
|
-
<script src="/theme.js"></script>
|
|
88
|
-
<script>
|
|
89
|
-
var pageEl = document.querySelector('#page')
|
|
90
|
-
page.data = <%- JSON.stringify(data) %>
|
|
91
|
-
</script>
|
|
92
|
-
</body>
|
|
93
|
-
</html>
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
<script src="//d3js.org/d3.v4.min.js"></script>
|
|
2
|
-
<script src="https://unpkg.com/viz.js@1.8.0/viz.js" type="javascript/worker"></script>
|
|
3
|
-
<script src="https://unpkg.com/d3-graphviz@1.3.1/build/d3-graphviz.min.js"></script>
|
|
4
|
-
|
|
5
|
-
<div id="graph" style="text-align: center; width: 100%; height: 100%;"></div>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
var model = <%- JSON.stringify(model) %>;
|
|
9
|
-
|
|
10
|
-
var { edges, nodes } = model
|
|
11
|
-
|
|
12
|
-
console.log(edges, nodes)
|
|
13
|
-
|
|
14
|
-
// links = links.filter(edge => edge.target !== '@things-factory/shell')
|
|
15
|
-
nodes['@things-factory/shell'] = {
|
|
16
|
-
id: '@things-factory/shell',
|
|
17
|
-
name: 'shell'
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/* switch node id (modulename => index) */
|
|
21
|
-
Object.keys(nodes).forEach((nodename, idx) => {
|
|
22
|
-
nodes[nodename].id = idx
|
|
23
|
-
})
|
|
24
|
-
|
|
25
|
-
// Compute the distinct nodes from the links.
|
|
26
|
-
edges.forEach(function(edge) {
|
|
27
|
-
edge.source = nodes[edge.source] && nodes[edge.source].id
|
|
28
|
-
edge.target = nodes[edge.target] && nodes[edge.target].id
|
|
29
|
-
})
|
|
30
|
-
|
|
31
|
-
function templateNode(node) {
|
|
32
|
-
return `${node.id} [label="${node.name}"]\n`
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
function tempalteEdge(edge) {
|
|
36
|
-
return `${edge.source} -> ${edge.target}\n`
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
function templateDigraph(nodes, edges) {
|
|
40
|
-
return `digraph Curved {
|
|
41
|
-
ratio="fill"
|
|
42
|
-
node [shape=box]
|
|
43
|
-
|
|
44
|
-
${Object.keys(nodes).map(nodename => templateNode(nodes[nodename])).join('')}
|
|
45
|
-
${edges.map(edge => tempalteEdge(edge)).join('')}
|
|
46
|
-
}`
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
function attributer(datum, index, nodes) {
|
|
50
|
-
margin = 20; // to avoid scrollbars
|
|
51
|
-
var selection = d3.select(this);
|
|
52
|
-
if (datum.tag == "svg") {
|
|
53
|
-
var width = window.innerWidth;
|
|
54
|
-
var height = window.innerHeight;
|
|
55
|
-
datum.attributes.width = width - margin;
|
|
56
|
-
datum.attributes.height = height - margin;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// console.log(templateDigraph(nodes, edges))
|
|
61
|
-
|
|
62
|
-
var graphviz = d3
|
|
63
|
-
.select('#graph')
|
|
64
|
-
.graphviz()
|
|
65
|
-
.attributer(attributer)
|
|
66
|
-
.transition(function () {
|
|
67
|
-
return d3.transition("main")
|
|
68
|
-
.ease(d3.easeLinear)
|
|
69
|
-
.delay(500)
|
|
70
|
-
.duration(1500);
|
|
71
|
-
})
|
|
72
|
-
.renderDot(templateDigraph(nodes, edges))
|
|
73
|
-
|
|
74
|
-
graphviz.fit = true
|
|
75
|
-
</script>
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
<style>
|
|
2
|
-
svg {
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.link {
|
|
8
|
-
fill: none;
|
|
9
|
-
stroke: #666;
|
|
10
|
-
stroke-width: 1.5px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
#depends {
|
|
14
|
-
fill: green;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.link.depends {
|
|
18
|
-
stroke: #ccc;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
circle {
|
|
22
|
-
fill: #ccc;
|
|
23
|
-
stroke: #333;
|
|
24
|
-
stroke-width: 1.5px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
text {
|
|
28
|
-
font: 10px sans-serif;
|
|
29
|
-
pointer-events: none;
|
|
30
|
-
text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff;
|
|
31
|
-
}
|
|
32
|
-
</style>
|
|
33
|
-
|
|
34
|
-
<script src="//d3js.org/d3.v3.min.js"></script>
|
|
35
|
-
<script src="//cdn.jsdelivr.net/npm/d3-graphviz@2.6.1/build/d3-graphviz.min.js"></script>
|
|
36
|
-
|
|
37
|
-
<script>
|
|
38
|
-
var model = <%- JSON.stringify(model) %>;
|
|
39
|
-
|
|
40
|
-
var { edges: links, nodes } = model
|
|
41
|
-
|
|
42
|
-
// links = links.filter(edge => edge.target !== '@things-factory/shell')
|
|
43
|
-
|
|
44
|
-
// Compute the distinct nodes from the links.
|
|
45
|
-
links.forEach(function(link) {
|
|
46
|
-
link.source = nodes[link.source] || (nodes[link.source] = { name: link.source })
|
|
47
|
-
link.target = nodes[link.target] || (nodes[link.target] = { name: link.target })
|
|
48
|
-
})
|
|
49
|
-
|
|
50
|
-
var width = 1200,
|
|
51
|
-
height = 800
|
|
52
|
-
|
|
53
|
-
var force = d3.layout
|
|
54
|
-
.force()
|
|
55
|
-
.nodes(d3.values(nodes))
|
|
56
|
-
.links(links)
|
|
57
|
-
.size([width, height])
|
|
58
|
-
.linkDistance(280)
|
|
59
|
-
.charge(-300)
|
|
60
|
-
.on('tick', tick)
|
|
61
|
-
.start()
|
|
62
|
-
|
|
63
|
-
var svg = d3
|
|
64
|
-
.select('body')
|
|
65
|
-
.append('svg')
|
|
66
|
-
.attr('width', width)
|
|
67
|
-
.attr('height', height)
|
|
68
|
-
|
|
69
|
-
// Per-type markers, as they don't inherit styles.
|
|
70
|
-
svg
|
|
71
|
-
.append('defs')
|
|
72
|
-
.selectAll('marker')
|
|
73
|
-
.data(['depends'])
|
|
74
|
-
.enter()
|
|
75
|
-
.append('marker')
|
|
76
|
-
.attr('id', function(d) {
|
|
77
|
-
return d
|
|
78
|
-
})
|
|
79
|
-
.attr('viewBox', '0 -5 10 10')
|
|
80
|
-
.attr('refX', 15)
|
|
81
|
-
.attr('refY', -1.5)
|
|
82
|
-
.attr('markerWidth', 6)
|
|
83
|
-
.attr('markerHeight', 6)
|
|
84
|
-
.attr('orient', 'auto')
|
|
85
|
-
.append('path')
|
|
86
|
-
.attr('d', 'M0,-5L10,0L0,5')
|
|
87
|
-
|
|
88
|
-
var path = svg
|
|
89
|
-
.append('g')
|
|
90
|
-
.selectAll('path')
|
|
91
|
-
.data(force.links())
|
|
92
|
-
.enter()
|
|
93
|
-
.append('path')
|
|
94
|
-
.attr('class', function(d) {
|
|
95
|
-
return 'link depends'
|
|
96
|
-
})
|
|
97
|
-
.attr('marker-end', function(d) {
|
|
98
|
-
return 'url(#depends)'
|
|
99
|
-
})
|
|
100
|
-
|
|
101
|
-
var circle = svg
|
|
102
|
-
.append('g')
|
|
103
|
-
.selectAll('circle')
|
|
104
|
-
.data(force.nodes())
|
|
105
|
-
.enter()
|
|
106
|
-
.append('circle')
|
|
107
|
-
.attr('r', 6)
|
|
108
|
-
.call(force.drag)
|
|
109
|
-
|
|
110
|
-
var text = svg
|
|
111
|
-
.append('g')
|
|
112
|
-
.selectAll('text')
|
|
113
|
-
.data(force.nodes())
|
|
114
|
-
.enter()
|
|
115
|
-
.append('text')
|
|
116
|
-
.attr('x', 8)
|
|
117
|
-
.attr('y', '.31em')
|
|
118
|
-
.text(function(d) {
|
|
119
|
-
return d.name
|
|
120
|
-
})
|
|
121
|
-
|
|
122
|
-
// Use elliptical arc path segments to doubly-encode directionality.
|
|
123
|
-
function tick() {
|
|
124
|
-
path.attr('d', linkArc)
|
|
125
|
-
circle.attr('transform', transform)
|
|
126
|
-
text.attr('transform', transform)
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
function linkArc(d) {
|
|
130
|
-
var dx = d.target.x - d.source.x,
|
|
131
|
-
dy = d.target.y - d.source.y,
|
|
132
|
-
dr = Math.sqrt(dx * dx + dy * dy)
|
|
133
|
-
return 'M' + d.source.x + ',' + d.source.y + 'A' + dr + ',' + dr + ' 0 0,1 ' + d.target.x + ',' + d.target.y
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
function transform(d) {
|
|
137
|
-
return 'translate(' + d.x + ',' + d.y + ')'
|
|
138
|
-
}
|
|
139
|
-
</script>
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<link rel="icon" href="/assets/favicon.ico" />
|
|
6
|
-
<base href="<%= base ? base : '' %>" />
|
|
7
|
-
|
|
8
|
-
<style>
|
|
9
|
-
html,
|
|
10
|
-
body {
|
|
11
|
-
margin: 0;
|
|
12
|
-
padding: 0;
|
|
13
|
-
width: 100%;
|
|
14
|
-
height: 100%;
|
|
15
|
-
}
|
|
16
|
-
#scene {
|
|
17
|
-
width: 100%;
|
|
18
|
-
height: 100%;
|
|
19
|
-
}
|
|
20
|
-
</style>
|
|
21
|
-
</head>
|
|
22
|
-
<body>
|
|
23
|
-
<div id="scene"></div>
|
|
24
|
-
|
|
25
|
-
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script>
|
|
26
|
-
<script>
|
|
27
|
-
var model = <%- JSON.stringify(model) %>;
|
|
28
|
-
WebFont.load({
|
|
29
|
-
google: {
|
|
30
|
-
families: model.fonts || []
|
|
31
|
-
}
|
|
32
|
-
})
|
|
33
|
-
</script>
|
|
34
|
-
<script src="/node_modules/@hatiolab/things-scene/things-scene-min.js"></script>
|
|
35
|
-
<script src="/headless-scene-components.js"></script>
|
|
36
|
-
|
|
37
|
-
<script>
|
|
38
|
-
var el = document.getElementById('scene')
|
|
39
|
-
var s = scene.create({
|
|
40
|
-
model,
|
|
41
|
-
mode: 0,
|
|
42
|
-
refProvider: null //self.provider
|
|
43
|
-
})
|
|
44
|
-
s.target = el
|
|
45
|
-
|
|
46
|
-
function resize() {
|
|
47
|
-
s.fit('ratio')
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
resize()
|
|
51
|
-
|
|
52
|
-
addEventListener(
|
|
53
|
-
'resize',
|
|
54
|
-
function () {
|
|
55
|
-
if (requestAnimationFrame) {
|
|
56
|
-
requestAnimationFrame(resize)
|
|
57
|
-
} else {
|
|
58
|
-
setTimeout(resize, 66)
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
false
|
|
62
|
-
)
|
|
63
|
-
</script>
|
|
64
|
-
</body>
|
|
65
|
-
</html>
|
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<link rel="icon" href="/assets/favicon.ico" />
|
|
6
|
-
|
|
7
|
-
<style>
|
|
8
|
-
html,
|
|
9
|
-
body {
|
|
10
|
-
margin: 0;
|
|
11
|
-
padding: 0;
|
|
12
|
-
width: 100%;
|
|
13
|
-
height: 100%;
|
|
14
|
-
}
|
|
15
|
-
#scene-container {
|
|
16
|
-
display: flex;
|
|
17
|
-
}
|
|
18
|
-
</style>
|
|
19
|
-
</head>
|
|
20
|
-
<body>
|
|
21
|
-
<div id="scene-container"></div>
|
|
22
|
-
|
|
23
|
-
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script>
|
|
24
|
-
<script>
|
|
25
|
-
var model = <%- JSON.stringify(model) %>;
|
|
26
|
-
WebFont.load({
|
|
27
|
-
google: {
|
|
28
|
-
families: model.fonts || []
|
|
29
|
-
}
|
|
30
|
-
})
|
|
31
|
-
</script>
|
|
32
|
-
<script src="/node_modules/@hatiolab/things-scene/things-scene-min.js"></script>
|
|
33
|
-
<script src="/headless-scene-components.js"></script>
|
|
34
|
-
|
|
35
|
-
<script>
|
|
36
|
-
const sceneContainer = document.getElementById('scene-container')
|
|
37
|
-
|
|
38
|
-
function createScene(id, model) {
|
|
39
|
-
var el = document.createElement('div')
|
|
40
|
-
el.setAttribute('id', 'scene-' + id)
|
|
41
|
-
el.style.width = model.width + 'px'
|
|
42
|
-
el.style.height = model.height + 'px'
|
|
43
|
-
sceneContainer.appendChild(el)
|
|
44
|
-
var s = scene.create({
|
|
45
|
-
model,
|
|
46
|
-
mode: 0,
|
|
47
|
-
refProvider: null, //self.provider
|
|
48
|
-
target: el
|
|
49
|
-
})
|
|
50
|
-
s.fit('ratio')
|
|
51
|
-
return s
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// N: 0, R: 90, I: 180, B: 270
|
|
55
|
-
function imageDataToGrf(scene, model, orientation, mirror = false, upsideDown = false) {
|
|
56
|
-
var { width, height } = model
|
|
57
|
-
width = Math.round(width)
|
|
58
|
-
height = Math.round(height)
|
|
59
|
-
orientation = orientation || model.labelRotation || 'N'
|
|
60
|
-
var printWidth = width,
|
|
61
|
-
printHeight = height
|
|
62
|
-
var lay = false
|
|
63
|
-
|
|
64
|
-
var startX = 0,
|
|
65
|
-
startY = 0,
|
|
66
|
-
endX = printWidth,
|
|
67
|
-
endY = printHeight
|
|
68
|
-
|
|
69
|
-
switch (orientation) {
|
|
70
|
-
case 'R':
|
|
71
|
-
case 'r':
|
|
72
|
-
case 90:
|
|
73
|
-
printWidth = height
|
|
74
|
-
printHeight = width
|
|
75
|
-
|
|
76
|
-
if (mirror) {
|
|
77
|
-
startX = 0
|
|
78
|
-
endX = printWidth
|
|
79
|
-
} else {
|
|
80
|
-
startX = 1 - printWidth
|
|
81
|
-
endX = 1
|
|
82
|
-
}
|
|
83
|
-
if (upsideDown) {
|
|
84
|
-
startY = 1 - printHeight
|
|
85
|
-
endY = 1
|
|
86
|
-
} else {
|
|
87
|
-
startY = 0
|
|
88
|
-
endY = printHeight
|
|
89
|
-
}
|
|
90
|
-
lay = true
|
|
91
|
-
break
|
|
92
|
-
case 'I':
|
|
93
|
-
case 'i':
|
|
94
|
-
case 180:
|
|
95
|
-
if (mirror) {
|
|
96
|
-
startX = 0
|
|
97
|
-
endX = printWidth
|
|
98
|
-
} else {
|
|
99
|
-
startX = 1 - printWidth
|
|
100
|
-
endX = 1
|
|
101
|
-
}
|
|
102
|
-
if (upsideDown) {
|
|
103
|
-
startY = 0
|
|
104
|
-
endY = printHeight
|
|
105
|
-
} else {
|
|
106
|
-
startY = 1 - printHeight
|
|
107
|
-
endY = 1
|
|
108
|
-
}
|
|
109
|
-
break
|
|
110
|
-
case 'B':
|
|
111
|
-
case 'b':
|
|
112
|
-
case 270:
|
|
113
|
-
printWidth = height
|
|
114
|
-
printHeight = width
|
|
115
|
-
|
|
116
|
-
if (mirror) {
|
|
117
|
-
startX = 1 - printWidth
|
|
118
|
-
endX = 1
|
|
119
|
-
} else {
|
|
120
|
-
startX = 0
|
|
121
|
-
endX = printWidth
|
|
122
|
-
}
|
|
123
|
-
if (upsideDown) {
|
|
124
|
-
startY = 0
|
|
125
|
-
endY = printHeight
|
|
126
|
-
} else {
|
|
127
|
-
startY = 1 - printHeight
|
|
128
|
-
endY = 1
|
|
129
|
-
}
|
|
130
|
-
lay = true
|
|
131
|
-
break
|
|
132
|
-
case 'N':
|
|
133
|
-
case 'n':
|
|
134
|
-
case 0:
|
|
135
|
-
default:
|
|
136
|
-
if (mirror) {
|
|
137
|
-
startX = 1 - printWidth
|
|
138
|
-
endX = 1
|
|
139
|
-
}
|
|
140
|
-
if (upsideDown) {
|
|
141
|
-
startY = 1 - printHeight
|
|
142
|
-
endY = 1
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
const R = 0
|
|
147
|
-
const G = 1
|
|
148
|
-
const B = 2
|
|
149
|
-
const A = 3
|
|
150
|
-
const THRESHOLD = 95
|
|
151
|
-
|
|
152
|
-
const imageData = getImageData(scene, width, height) // 이미지 데이터
|
|
153
|
-
|
|
154
|
-
// 이미지의 가로 한 줄당 바이트
|
|
155
|
-
const bytesPerLine = (printWidth + 7) >> 3 // var bytesPerLine = Math.ceil(width / 8)
|
|
156
|
-
|
|
157
|
-
// 이미지 너비와 grf 포맷에서 사용할 비트의 차이
|
|
158
|
-
const diff = (bytesPerLine << 3) - printWidth
|
|
159
|
-
|
|
160
|
-
// GRF 사이즈 = 가로 바이트 사이즈 * 세로
|
|
161
|
-
const grfSize = Math.round(bytesPerLine * printHeight)
|
|
162
|
-
|
|
163
|
-
// 가로 한 줄당 최대 문자 수 (바이트 당 두 글자)
|
|
164
|
-
const maxCharsOfLine = bytesPerLine << 1
|
|
165
|
-
|
|
166
|
-
// grf 압축을 위한 앞뒤 문자 비교용 그릇
|
|
167
|
-
var shortInt = new Uint8Array(1)
|
|
168
|
-
|
|
169
|
-
// zpl 이미지 포맷에 맞게 압축된 문자열
|
|
170
|
-
var zippedGrf = ''
|
|
171
|
-
|
|
172
|
-
// 압축 전 grf 포맷에서 중복되는 문자 수
|
|
173
|
-
var count = 1
|
|
174
|
-
|
|
175
|
-
// 비교 기준 문자
|
|
176
|
-
var baseNibble = null
|
|
177
|
-
|
|
178
|
-
// 비교 대상 문자
|
|
179
|
-
var objectNibble = null
|
|
180
|
-
|
|
181
|
-
// 현재 처리중인 가로 한 줄 문자열
|
|
182
|
-
var currentLine = ''
|
|
183
|
-
|
|
184
|
-
// 이전 줄 문자열
|
|
185
|
-
var previousLine = ''
|
|
186
|
-
|
|
187
|
-
// 도트 단위 처리를 위해 이미지 크기만큼 루프
|
|
188
|
-
for (var cursorY = startY; cursorY < endY; cursorY++) {
|
|
189
|
-
let y = Math.abs(cursorY)
|
|
190
|
-
for (var cursorX = startX, sequenceX = 0; cursorX < endX; cursorX++, sequenceX++) {
|
|
191
|
-
let x = Math.abs(cursorX) // 이미지 회전 시 이 값을 사용
|
|
192
|
-
|
|
193
|
-
let j = lay ? width * x + y : width * y + x // 현재 도트 좌표 (처리중인 도트)
|
|
194
|
-
let i = j << 2 // 이미지 데이터의 도트 좌표 (도트 * 4)
|
|
195
|
-
|
|
196
|
-
// 도트의 밝기
|
|
197
|
-
let luminance = imageData[i + R] * 0.21 + imageData[i + G] * 0.71 + imageData[i + B] * 0.07
|
|
198
|
-
// Alpha 값이 낮을 수록 luminance가 높아지는 것으로 본다.
|
|
199
|
-
luminance = luminance + ((255 - imageData[i + A]) * (255 - luminance)) / 255
|
|
200
|
-
|
|
201
|
-
shortInt[0] <<= 1 // 도트 좌표 이동
|
|
202
|
-
if (luminance < THRESHOLD) shortInt[0] |= 1 // THRESHOLD 값으로 칠할지 여부 판단, 어두우면 칠함
|
|
203
|
-
|
|
204
|
-
// 4도트마다 압축 로직 적용 (16진수 문자 하나마다 압축 로직 적용)
|
|
205
|
-
if ((sequenceX & 3) == 3) {
|
|
206
|
-
// 현재 처리하는 바이트의 뒷 4자리(16진수 문자 하나)를 비교 대상으로 정한다.
|
|
207
|
-
objectNibble = shortInt[0] & 0b1111
|
|
208
|
-
|
|
209
|
-
// 행의 첫 문자는 비교 기준 문자로 정하고 다음 문자로 루프 넘김
|
|
210
|
-
if (sequenceX == 3) {
|
|
211
|
-
baseNibble = objectNibble
|
|
212
|
-
continue
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* 기준 문자와 대상 문자 비교하여 같은 문자가 나오면 count를 올리고
|
|
217
|
-
* 다른 문자가 나오면 기준이었던 문자와 count를 사용해 압축,
|
|
218
|
-
* 가로 줄 문자열에 추가
|
|
219
|
-
*/
|
|
220
|
-
if (baseNibble === objectNibble) count++
|
|
221
|
-
else {
|
|
222
|
-
currentLine += compressHexString(baseNibble.toString(16), count)
|
|
223
|
-
count = 1
|
|
224
|
-
baseNibble = objectNibble
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
// 끝의 8도트는 남는 도트 수만큼 왼쪽으로 밀어줌
|
|
230
|
-
shortInt[0] <<= diff
|
|
231
|
-
|
|
232
|
-
// 니블을 16진수 문자화
|
|
233
|
-
var baseChar = baseNibble.toString(16)
|
|
234
|
-
|
|
235
|
-
// 행의 마지막 바이트 압축 처리
|
|
236
|
-
if (diff != 0) {
|
|
237
|
-
// 차이가 4를 넘었을 때 앞 니블이 위의 루프에서 처리되지 않으므로 여기서 함
|
|
238
|
-
if (diff > 4) {
|
|
239
|
-
if (baseNibble == shortInt[0] >> 4) count++
|
|
240
|
-
else {
|
|
241
|
-
currentLine += compressHexString(baseChar, count)
|
|
242
|
-
count = 1
|
|
243
|
-
baseNibble = shortInt[0] >> 4
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
// 뒷 니블 처리
|
|
247
|
-
if (baseNibble == (shortInt[0] & 15)) count++
|
|
248
|
-
else {
|
|
249
|
-
currentLine += compressHexString(baseChar, count)
|
|
250
|
-
count = 1
|
|
251
|
-
baseNibble = shortInt[0] & 15
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
// 줄 마지막에 압축된 문자를 더함
|
|
256
|
-
// 이 줄 전부가 같은 문자인지 여부
|
|
257
|
-
var isOverTheLineMax = count >= maxCharsOfLine
|
|
258
|
-
// 이 줄이 모두 0이면 ','로 압축
|
|
259
|
-
if (isOverTheLineMax && baseNibble == 0) currentLine += ','
|
|
260
|
-
// 이 줄이 모두 F이면 '!'로 압축
|
|
261
|
-
else if (isOverTheLineMax && baseNibble == 0xf) currentLine += '!'
|
|
262
|
-
// 아니면 그냥 압축
|
|
263
|
-
else currentLine += compressHexString(baseChar, count)
|
|
264
|
-
count = 1
|
|
265
|
-
// 이전 줄과 현재 줄의 내용이 같으면 ':'로 압축, 아니면 그냥 추가함
|
|
266
|
-
if (currentLine == previousLine) zippedGrf += ':'
|
|
267
|
-
else zippedGrf += currentLine
|
|
268
|
-
// 초기화하고 루프로 돌아감
|
|
269
|
-
previousLine = currentLine
|
|
270
|
-
currentLine = ''
|
|
271
|
-
}
|
|
272
|
-
return `${grfSize},${grfSize},${bytesPerLine},${zippedGrf}`
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
// GRF 데이터를 압축
|
|
276
|
-
function compressHexString(char, count) {
|
|
277
|
-
const MAP_CODE = '\0GHIJKLMNOPQRSTUVWXYg' // 1 ~ 20
|
|
278
|
-
const MAP_CODE_2 = '\0ghijklmnopqrstuvwxyz' // (1 ~ 20) * 20
|
|
279
|
-
var result = ''
|
|
280
|
-
if (count > 1) {
|
|
281
|
-
while (count > 400) {
|
|
282
|
-
result += MAP_CODE_2[20]
|
|
283
|
-
count -= 400
|
|
284
|
-
}
|
|
285
|
-
if (count > 20) {
|
|
286
|
-
var multi20 = Math.trunc(count / 20)
|
|
287
|
-
var resto20 = count % 20
|
|
288
|
-
result += MAP_CODE_2[multi20]
|
|
289
|
-
if (resto20) result += MAP_CODE[resto20]
|
|
290
|
-
} else result += MAP_CODE[count]
|
|
291
|
-
}
|
|
292
|
-
result += char
|
|
293
|
-
return result
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
function getImageData(scene, width, height) {
|
|
297
|
-
return scene._container.model_layer.canvas.getContext('2d').getImageData(0, 0, width, height).data
|
|
298
|
-
}
|
|
299
|
-
</script>
|
|
300
|
-
</body>
|
|
301
|
-
</html>
|