@operato/process 7.1.31 → 7.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/tsconfig.tsbuildinfo +1 -1
  3. package/package.json +14 -14
  4. package/.storybook/main.js +0 -3
  5. package/.storybook/preview.js +0 -52
  6. package/.storybook/server.mjs +0 -8
  7. package/demo/index-modeller.html +0 -112
  8. package/demo/index-viewer.html +0 -112
  9. package/demo/index.html +0 -112
  10. package/src/data-storage/data-storage.ts +0 -47
  11. package/src/graphql/data-subscription.ts +0 -30
  12. package/src/graphql/favorite-process.ts +0 -25
  13. package/src/graphql/index.ts +0 -3
  14. package/src/graphql/process-group.ts +0 -138
  15. package/src/graphql/process.ts +0 -141
  16. package/src/graphql/scenario.ts +0 -79
  17. package/src/index.ts +0 -8
  18. package/src/modeller/component-toolbar/component-detail.ts +0 -58
  19. package/src/modeller/component-toolbar/component-menu.ts +0 -193
  20. package/src/modeller/component-toolbar/component-toolbar.ts +0 -196
  21. package/src/modeller/component-toolbar/mode-icons.ts +0 -88
  22. package/src/modeller/edit-toolbar-style.ts +0 -229
  23. package/src/modeller/edit-toolbar.ts +0 -576
  24. package/src/modeller/property-sidebar/abstract-property.ts +0 -69
  25. package/src/modeller/property-sidebar/data-binding/data-binding-mapper.ts +0 -475
  26. package/src/modeller/property-sidebar/data-binding/data-binding.ts +0 -479
  27. package/src/modeller/property-sidebar/effects/effects-shared-style.ts +0 -62
  28. package/src/modeller/property-sidebar/effects/effects.ts +0 -52
  29. package/src/modeller/property-sidebar/effects/property-event-hover.ts +0 -201
  30. package/src/modeller/property-sidebar/effects/property-event-tap.ts +0 -212
  31. package/src/modeller/property-sidebar/effects/property-event.ts +0 -76
  32. package/src/modeller/property-sidebar/effects/property-shadow.ts +0 -114
  33. package/src/modeller/property-sidebar/effects/value-converter.ts +0 -23
  34. package/src/modeller/property-sidebar/inspector/inspector.ts +0 -408
  35. package/src/modeller/property-sidebar/property-shared-style.ts +0 -136
  36. package/src/modeller/property-sidebar/property-sidebar.ts +0 -342
  37. package/src/modeller/property-sidebar/shapes/box-padding-editor-styles.ts +0 -94
  38. package/src/modeller/property-sidebar/shapes/shapes.ts +0 -410
  39. package/src/modeller/property-sidebar/specifics/specific-properties-builder.ts +0 -147
  40. package/src/modeller/property-sidebar/specifics/specifics.ts +0 -81
  41. package/src/modeller/property-sidebar/styles/styles.ts +0 -577
  42. package/src/ox-editor-process-selector.ts +0 -91
  43. package/src/ox-process-list.ts +0 -401
  44. package/src/ox-process-modeller.ts +0 -432
  45. package/src/ox-process-template-list.ts +0 -272
  46. package/src/ox-process-template-viewer.ts +0 -198
  47. package/src/ox-process-viewer.ts +0 -575
  48. package/src/ox-property-editor-process-selector.ts +0 -23
  49. package/src/selector/ox-process-creation-card.ts +0 -95
  50. package/src/selector/ox-process-selector.ts +0 -324
  51. package/src/selector/process-creation-popup.ts +0 -151
  52. package/src/selector/process-thumbnail-card.ts +0 -175
  53. package/src/types.ts +0 -57
  54. package/stories/index.stories.ts +0 -54
  55. package/tsconfig.json +0 -24
  56. package/web-dev-server.config.mjs +0 -30
  57. package/web-test-runner.config.mjs +0 -29
@@ -1,54 +0,0 @@
1
- // import '@webcomponents/scoped-custom-element-registry' // later only for @open-wc/scoped-elements@3
2
-
3
- import '../index.js.js'
4
-
5
- import { TemplateResult, html } from 'lit'
6
-
7
- export default {
8
- title: 'ProcessViewer',
9
- component: 'process-viewer',
10
- argTypes: {
11
- title: { control: 'text' },
12
- counter: { control: 'number' },
13
- textColor: { control: 'color' }
14
- }
15
- }
16
-
17
- interface Story<T> {
18
- (args: T): TemplateResult
19
- args?: Partial<T>
20
- argTypes?: Record<string, unknown>
21
- }
22
-
23
- interface ArgTypes {
24
- title?: string
25
- counter?: number
26
- textColor?: string
27
- slot?: TemplateResult
28
- }
29
-
30
- const Template: Story<ArgTypes> = ({ title = 'Hello world', counter = 5, textColor, slot }: ArgTypes) => html`
31
- <ox-process-viewer style="--process-viewer-text-color: ${textColor || 'black'}" .title=${title} .counter=${counter}>
32
- ${slot}
33
- </ox-process-viewer>
34
- `
35
-
36
- export const Regular = Template.bind({})
37
-
38
- export const CustomTitle = Template.bind({})
39
- CustomTitle.args = {
40
- title: 'My title'
41
- }
42
-
43
- export const CustomCounter = Template.bind({})
44
- CustomCounter.args = {
45
- counter: 123456
46
- }
47
-
48
- export const SlottedContent = Template.bind({})
49
- SlottedContent.args = {
50
- slot: html`<p>Slotted content</p>`
51
- }
52
- SlottedContent.argTypes = {
53
- slot: { table: { disable: true } }
54
- }
package/tsconfig.json DELETED
@@ -1,24 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es2018",
4
- "module": "esnext",
5
- "moduleResolution": "node",
6
- "noEmitOnError": true,
7
- "lib": ["es2017", "dom"],
8
- "strict": true,
9
- "esModuleInterop": false,
10
- "allowSyntheticDefaultImports": true,
11
- "experimentalDecorators": true,
12
- "useDefineForClassFields": false,
13
- "importHelpers": true,
14
- "outDir": "dist",
15
- "sourceMap": true,
16
- "inlineSources": true,
17
- "rootDir": "./",
18
- "declaration": true,
19
- "incremental": true,
20
- "skipLibCheck": true,
21
- "types": ["node", "mocha"]
22
- },
23
- "include": ["**/*.ts", "*.d.ts"]
24
- }
@@ -1,30 +0,0 @@
1
- // import { hmrPlugin, presets } from '@open-wc/dev-server-hmr';
2
- import image from '@rollup/plugin-image'
3
-
4
- /** Use Hot Module replacement by adding --hmr to the start command */
5
- const hmr = process.argv.includes('--hmr')
6
-
7
- export default /** @type {import('@web/dev-server').DevServerConfig} */ ({
8
- nodeResolve: true,
9
- open: '/demo/',
10
- watch: !hmr,
11
-
12
- /** Compile JS for older browsers. Requires @web/dev-server-esbuild plugin */
13
- // esbuildTarget: 'auto'
14
-
15
- /** Set appIndex to enable SPA routing */
16
- // appIndex: 'demo/index.html',
17
-
18
- /** Confgure bare import resolve plugin */
19
- // nodeResolve: {
20
- // exportConditions: ['browser', 'development']
21
- // },
22
-
23
- plugins: [
24
- image()
25
- /** Use Hot Module Replacement by uncommenting. Requires @open-wc/dev-server-hmr plugin */
26
- // hmr && hmrPlugin({ exclude: ['**/*/node_modules/**/*'], presets: [presets.litElement] }),
27
- ]
28
-
29
- // See documentation for all available options
30
- })
@@ -1,29 +0,0 @@
1
- // import { playwrightLauncher } from '@web/test-runner-playwright';
2
-
3
- export default /** @type {import("@web/test-runner").TestRunnerConfig} */ ({
4
- files: 'dist/test/**/*.test.js',
5
- nodeResolve: true
6
-
7
- /** Compile JS for older browsers. Requires @web/dev-server-esbuild plugin */
8
- // esbuildTarget: 'auto',
9
-
10
- /** Confgure bare import resolve plugin */
11
- // nodeResolve: {
12
- // exportConditions: ['browser', 'development']
13
- // },
14
-
15
- /** Amount of browsers to run concurrently */
16
- // concurrentBrowsers: 2,
17
-
18
- /** Amount of test files per browser to test concurrently */
19
- // concurrency: 1,
20
-
21
- /** Browsers to run tests on */
22
- // browsers: [
23
- // playwrightLauncher({ product: 'chromium' }),
24
- // playwrightLauncher({ product: 'firefox' }),
25
- // playwrightLauncher({ product: 'webkit' }),
26
- // ],
27
-
28
- // See documentation for all available options
29
- })