@operato/form 8.0.0-beta.0 → 8.0.0-beta.1

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 (40) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/package.json +7 -7
  3. package/.editorconfig +0 -29
  4. package/.storybook/main.js +0 -3
  5. package/.storybook/preview.js +0 -52
  6. package/.storybook/server.mjs +0 -8
  7. package/src/components/ox-custom-input.ts +0 -102
  8. package/src/components/ox-custom-select.ts +0 -91
  9. package/src/components/ox-file-uploader.ts +0 -164
  10. package/src/components/ox-form-master.ts +0 -246
  11. package/src/components/ox-form-paginator.ts +0 -60
  12. package/src/components/ox-search-form-paginator.ts +0 -46
  13. package/src/components/ox-search-form.ts +0 -467
  14. package/src/filters/filter-checkbox.ts +0 -34
  15. package/src/filters/filter-input-barcode.ts +0 -35
  16. package/src/filters/filter-input.ts +0 -30
  17. package/src/filters/filter-range-date.ts +0 -81
  18. package/src/filters/filter-range-number.ts +0 -64
  19. package/src/filters/filter-select.ts +0 -56
  20. package/src/filters/filter-styles.ts +0 -127
  21. package/src/filters/index.ts +0 -10
  22. package/src/filters/ox-filter-personalizer.ts +0 -188
  23. package/src/filters/ox-filters-form-base.ts +0 -437
  24. package/src/filters/registry.ts +0 -54
  25. package/src/index.ts +0 -4
  26. package/src/styles/index.ts +0 -3
  27. package/src/styles/multi-column-form-styles.ts +0 -192
  28. package/src/styles/search-form-styles.ts +0 -160
  29. package/src/styles/single-column-form-styles.ts +0 -114
  30. package/src/types.ts +0 -106
  31. package/stories/ox-filters-form-barcode.stories.ts +0 -140
  32. package/stories/ox-filters-form-base-bounded.stories.ts +0 -208
  33. package/stories/ox-filters-form-base-change-handler.stories.ts +0 -220
  34. package/stories/ox-filters-form-base-page-preference.stories.ts +0 -177
  35. package/stories/ox-filters-form-base.stories.ts +0 -179
  36. package/stories/ox-search-form-change-handler.stories.ts +0 -253
  37. package/stories/ox-search-form.stories.ts +0 -258
  38. package/tsconfig.json +0 -24
  39. package/web-dev-server.config.mjs +0 -27
  40. package/web-test-runner.config.mjs +0 -41
@@ -1,27 +0,0 @@
1
- // import { hmrPlugin, presets } from '@open-wc/dev-server-hmr';
2
-
3
- /** Use Hot Module replacement by adding --hmr to the start command */
4
- const hmr = process.argv.includes('--hmr');
5
-
6
- export default /** @type {import('@web/dev-server').DevServerConfig} */ ({
7
- open: '/demo/',
8
- /** Use regular watch mode if HMR is not enabled. */
9
- watch: !hmr,
10
- /** Resolve bare module imports */
11
- nodeResolve: {
12
- exportConditions: ['browser', 'development'],
13
- },
14
-
15
- /** Compile JS for older browsers. Requires @web/dev-server-esbuild plugin */
16
- // esbuildTarget: 'auto'
17
-
18
- /** Set appIndex to enable SPA routing */
19
- // appIndex: 'demo/index.html',
20
-
21
- plugins: [
22
- /** Use Hot Module Replacement by uncommenting. Requires @open-wc/dev-server-hmr plugin */
23
- // hmr && hmrPlugin({ exclude: ['**/*/node_modules/**/*'], presets: [presets.litElement] }),
24
- ],
25
-
26
- // See documentation for all available options
27
- });
@@ -1,41 +0,0 @@
1
- // import { playwrightLauncher } from '@web/test-runner-playwright';
2
-
3
- const filteredLogs = ['Running in dev mode', 'lit-html is in dev mode'];
4
-
5
- export default /** @type {import("@web/test-runner").TestRunnerConfig} */ ({
6
- /** Test files to run */
7
- files: 'dist/test/**/*.test.js',
8
-
9
- /** Resolve bare module imports */
10
- nodeResolve: {
11
- exportConditions: ['browser', 'development'],
12
- },
13
-
14
- /** Filter out lit dev mode logs */
15
- filterBrowserLogs(log) {
16
- for (const arg of log.args) {
17
- if (typeof arg === 'string' && filteredLogs.some(l => arg.includes(l))) {
18
- return false;
19
- }
20
- }
21
- return true;
22
- },
23
-
24
- /** Compile JS for older browsers. Requires @web/dev-server-esbuild plugin */
25
- // esbuildTarget: 'auto',
26
-
27
- /** Amount of browsers to run concurrently */
28
- // concurrentBrowsers: 2,
29
-
30
- /** Amount of test files per browser to test concurrently */
31
- // concurrency: 1,
32
-
33
- /** Browsers to run tests on */
34
- // browsers: [
35
- // playwrightLauncher({ product: 'chromium' }),
36
- // playwrightLauncher({ product: 'firefox' }),
37
- // playwrightLauncher({ product: 'webkit' }),
38
- // ],
39
-
40
- // See documentation for all available options
41
- });