@stackline/angular-multiselect-dropdown 12.0.0 → 13.0.0

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/README.md +12 -12
  2. package/esm2020/lib/clickOutside.mjs +78 -0
  3. package/esm2020/lib/list-filter.mjs +33 -0
  4. package/esm2020/lib/menu-item.mjs +62 -0
  5. package/esm2020/lib/multiselect.component.mjs +397 -0
  6. package/esm2020/lib/multiselect.interface.mjs +2 -0
  7. package/esm2020/lib/multiselect.model.mjs +9 -0
  8. package/esm2020/public-api.mjs +6 -0
  9. package/esm2020/stackline-angular-multiselect-dropdown.mjs +5 -0
  10. package/fesm2015/stackline-angular-multiselect-dropdown.mjs +576 -0
  11. package/fesm2015/stackline-angular-multiselect-dropdown.mjs.map +1 -0
  12. package/fesm2020/stackline-angular-multiselect-dropdown.mjs +576 -0
  13. package/fesm2020/stackline-angular-multiselect-dropdown.mjs.map +1 -0
  14. package/lib/clickOutside.d.ts +27 -0
  15. package/lib/list-filter.d.ts +9 -0
  16. package/lib/menu-item.d.ts +25 -0
  17. package/lib/multiselect.component.d.ts +80 -0
  18. package/lib/multiselect.interface.d.ts +22 -0
  19. package/lib/multiselect.model.d.ts +10 -0
  20. package/package.json +37 -105
  21. package/public-api.d.ts +6 -0
  22. package/stackline-angular-multiselect-dropdown.d.ts +5 -0
  23. package/angular2-multiselect-dropdown.ts +0 -1
  24. package/gulpfile.js +0 -68
  25. package/inline-resources.js +0 -119
  26. package/multiselect.component.css +0 -733
  27. package/src/app/angular2-multiselect-dropdown/angular2-multiselect-dropdown.ts +0 -6
  28. package/src/app/angular2-multiselect-dropdown/clickOutside.ts +0 -60
  29. package/src/app/angular2-multiselect-dropdown/index.ts +0 -6
  30. package/src/app/angular2-multiselect-dropdown/list-filter.ts +0 -29
  31. package/src/app/angular2-multiselect-dropdown/menu-item.ts +0 -55
  32. package/src/app/angular2-multiselect-dropdown/multiselect.component.html +0 -88
  33. package/src/app/angular2-multiselect-dropdown/multiselect.component.scss +0 -710
  34. package/src/app/angular2-multiselect-dropdown/multiselect.component.ts +0 -405
  35. package/src/app/angular2-multiselect-dropdown/multiselect.interface.ts +0 -22
  36. package/src/app/angular2-multiselect-dropdown/multiselect.model.ts +0 -13
  37. package/tsconfig-aot.json +0 -32
  38. package/tsconfig.json +0 -36
  39. package/webpack-test.config.ts +0 -70
  40. package/webpack-umd.config.ts +0 -98
@@ -1,98 +0,0 @@
1
- import * as webpack from 'webpack';
2
- import * as path from 'path';
3
- import * as fs from 'fs';
4
- import * as angularExternals from 'webpack-angular-externals';
5
- import * as rxjsExternals from 'webpack-rxjs-externals';
6
-
7
- const pkg = JSON.parse(fs.readFileSync('./package.json').toString());
8
-
9
- export default {
10
- entry: {
11
- 'index.umd': './src/app/angular2-multiselect-dropdown/index.ts',
12
- 'index.umd.min': './src/app/angular2-multiselect-dropdown/index.ts',
13
- 'angular2-multiselect-dropdown.umd': './src/app/angular2-multiselect-dropdown/angular2-multiselect-dropdown.ts',
14
- 'angular2-multiselect-dropdown.umd.min': './src/app/angular2-multiselect-dropdown/angular2-multiselect-dropdown.ts'
15
- },
16
- output: {
17
- path: path.join(__dirname, 'dist'),
18
- filename: '[name].js',
19
- libraryTarget: 'umd',
20
- library: 'ticktock'
21
- },
22
- resolve: {
23
- extensions: [ '.ts', '.js', '.json' ]
24
- },
25
- externals: [
26
- angularExternals(),
27
- rxjsExternals()
28
- ],
29
- devtool: 'source-map',
30
- module: {
31
- rules: [
32
- {
33
- test: /\.ts$/,
34
- use: [
35
- {
36
- loader: 'awesome-typescript-loader',
37
- options: {
38
- configFileName: 'tsconfig.json'
39
- }
40
- },
41
- {
42
- loader: 'angular2-template-loader'
43
- }
44
- ],
45
- exclude: [
46
- /node_modules/,
47
- /\.(spec|e2e)\.ts$/
48
- ]
49
- },
50
-
51
- {
52
- test: /\.json$/,
53
- use: 'json-loader'
54
- },
55
-
56
- {
57
- test: /\.css$/,
58
- use: ['to-string-loader', 'css-loader']
59
- },
60
-
61
- {
62
- test: /\.scss$/,
63
- use: ['to-string-loader', 'css-loader', 'sass-loader']
64
- },
65
-
66
- {
67
- test: /\.html$/,
68
- use: 'raw-loader'
69
- }
70
- ]
71
- },
72
- plugins: [
73
- new webpack.ContextReplacementPlugin(
74
- /angular(\\|\/)core(\\|\/)@angular/,
75
- path.join(__dirname, 'src')
76
- ),
77
-
78
- new webpack.optimize.UglifyJsPlugin({
79
- include: /\.min\.js$/,
80
- sourceMap: true
81
- }),
82
-
83
- new webpack.BannerPlugin({
84
- banner: `
85
- /**
86
- * ${pkg.name} - ${pkg.description}
87
- * @version v${pkg.version}
88
- * @author ${pkg.author.name}
89
- * @link ${pkg.homepage}
90
- * @license ${pkg.license}
91
- */
92
- `.trim(),
93
- raw: true,
94
- entryOnly: true
95
- })
96
-
97
- ]
98
- } as webpack.Configuration;