@ldmjs/ui 1.0.89 → 2.0.0-beta.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 (101) hide show
  1. package/README.md +39 -94
  2. package/dist/components/ld-avatar.js +1 -0
  3. package/dist/components/ld-badge.js +1 -0
  4. package/dist/components/ld-breadcrumbs.js +1 -0
  5. package/dist/components/ld-button.js +1 -0
  6. package/dist/components/ld-calendar.js +1 -0
  7. package/dist/components/ld-checkbox.js +1 -0
  8. package/dist/components/ld-chip.js +1 -0
  9. package/dist/components/ld-combobox.js +1 -0
  10. package/dist/components/ld-data-iterator.js +1 -0
  11. package/dist/components/ld-datepicker.js +1 -0
  12. package/dist/components/ld-dialog.js +1 -0
  13. package/dist/components/ld-edit-list-box.js +1 -0
  14. package/dist/components/ld-edit-masked-text.js +1 -0
  15. package/dist/components/ld-edit-text.js +1 -0
  16. package/dist/components/ld-icon.js +1 -0
  17. package/dist/components/ld-loader.js +1 -0
  18. package/dist/components/ld-page-toolbar.js +1 -0
  19. package/dist/components/ld-pager.js +1 -0
  20. package/dist/components/ld-progress.js +1 -0
  21. package/dist/components/ld-radiobutton.js +1 -0
  22. package/dist/components/ld-radiogroup.js +1 -0
  23. package/dist/components/ld-select-list-box.js +1 -0
  24. package/dist/components/ld-select.js +1 -0
  25. package/dist/components/ld-slider.js +1 -0
  26. package/dist/components/ld-splitter.js +1 -0
  27. package/dist/components/ld-step.js +1 -0
  28. package/dist/components/ld-switch.js +1 -0
  29. package/dist/components/ld-tab.js +1 -0
  30. package/dist/components/ld-tabs.js +1 -0
  31. package/dist/components/ld-text-markup.js +1 -0
  32. package/dist/components/ld-text-viewer.js +1 -0
  33. package/dist/components/ld-textarea.js +1 -0
  34. package/dist/components/ld-timepicker.js +1 -0
  35. package/dist/components/ld-toggle-buttons.js +1 -0
  36. package/dist/components/ld-uploader.js +1 -0
  37. package/dist/fonts/Roboto-Medium.ttf +0 -0
  38. package/dist/fonts/Roboto-Medium.woff +0 -0
  39. package/dist/fonts/Roboto-Medium.woff2 +0 -0
  40. package/dist/fonts/Roboto-SemiBold.ttf +0 -0
  41. package/dist/fonts/Roboto-SemiBold.woff +0 -0
  42. package/dist/fonts/Roboto-SemiBold.woff2 +0 -0
  43. package/dist/i18n/ru/ru-Ru.json +49 -2
  44. package/dist/index.d.ts +18 -15
  45. package/dist/index.js +1 -21178
  46. package/dist/lib/runtime-template.js +1 -1
  47. package/dist/lib/toastification.js +1 -1
  48. package/dist/scss/_animations.scss +31 -12
  49. package/dist/scss/_avatar.scss +333 -0
  50. package/dist/scss/_badge.scss +128 -0
  51. package/dist/scss/_breadcrumbs.scss +133 -17
  52. package/dist/scss/_buttons.scss +584 -282
  53. package/dist/scss/_calendar.scss +154 -51
  54. package/dist/scss/_checkbox.scss +245 -0
  55. package/dist/scss/_chip.scss +163 -63
  56. package/dist/scss/_colors.scss +21 -19
  57. package/dist/scss/_dialogs.scss +285 -178
  58. package/dist/scss/_editor.scss +146 -0
  59. package/dist/scss/_fonts.scss +115 -0
  60. package/dist/scss/_inputs.scss +905 -138
  61. package/dist/scss/_loader.scss +163 -0
  62. package/dist/scss/_pager.scss +83 -16
  63. package/dist/scss/_progress.scss +282 -0
  64. package/dist/scss/_radiobutton.scss +218 -0
  65. package/dist/scss/_radiogroup.scss +86 -0
  66. package/dist/scss/_scroll.scss +65 -0
  67. package/dist/scss/_shadows.scss +47 -0
  68. package/dist/scss/_slider.scss +53 -0
  69. package/dist/scss/_splitter.scss +60 -0
  70. package/dist/scss/_step.scss +179 -0
  71. package/dist/scss/_switch.scss +192 -0
  72. package/dist/scss/_tabs.scss +318 -0
  73. package/dist/scss/_textmarkup.scss +47 -0
  74. package/dist/scss/_textviewer.scss +13 -0
  75. package/dist/scss/_toasted.scss +44 -22
  76. package/dist/scss/_toggle.scss +125 -0
  77. package/dist/scss/_toolbar.scss +40 -1
  78. package/dist/scss/_tooltip.scss +30 -0
  79. package/dist/scss/_treeview.scss +35 -0
  80. package/dist/scss/_uploader.scss +167 -0
  81. package/dist/scss/_variables.scss +5 -27
  82. package/dist/scss/index.scss +140 -16
  83. package/dist/scss/utils.scss +17 -0
  84. package/dist/types/breadcrumbs.d.ts +2 -0
  85. package/dist/types/calendar.d.ts +8 -73
  86. package/dist/types/combobox.d.ts +10 -0
  87. package/dist/types/dialogs.d.ts +26 -1
  88. package/dist/types/form.d.ts +6 -0
  89. package/dist/types/options.d.ts +8 -1
  90. package/dist/types/toasted.d.ts +4 -4
  91. package/dist/utils/validators.js +1 -1
  92. package/package.json +122 -120
  93. package/dist/css/calendar.css +0 -1066
  94. package/dist/css/index.css +0 -20
  95. package/dist/css/root.css +0 -86
  96. package/dist/lib/calendar.js +0 -1
  97. package/dist/lib/floating.js +0 -1
  98. package/dist/lib/multiselect.js +0 -1
  99. package/dist/scss/_multiselect.scss +0 -170
  100. package/dist/scss/_toasted-old.scss +0 -408
  101. package/dist/scss/index-old.scss +0 -16
@@ -0,0 +1,10 @@
1
+ export type TElement = string | number | IComboboxItem;
2
+
3
+ export interface IComboboxItem {
4
+ id: number | string;
5
+ value: string;
6
+ }
7
+
8
+ export interface IMessages {
9
+ [key: string]: string;
10
+ }
@@ -1,3 +1,23 @@
1
+ export interface IDialogProps {
2
+ title: string;
3
+ content?: string;
4
+ pressEnterAsOk?: boolean;
5
+ pressEscAsCancel?: boolean;
6
+ hostObject?: IHostObject;
7
+ size?: string;
8
+ width?: string | number;
9
+ height?: string | number;
10
+ }
11
+
12
+ export interface IInterativeDialogProps extends IDialogProps {
13
+ loading?: boolean;
14
+ fullHeight?: boolean;
15
+ okTitle?: string;
16
+ cancelTitle?: string;
17
+ closable?: boolean;
18
+ hideFooter?: boolean;
19
+ }
20
+
1
21
  export interface IViewModel<T> {
2
22
  id: T;
3
23
  name: string;
@@ -8,6 +28,7 @@ export interface IHostObject {
8
28
  contentType: unknown;
9
29
  id: number | string;
10
30
  kind: unknown;
31
+ parentId?: number | string;
11
32
  }
12
33
 
13
34
  export interface IModalResult<T> {
@@ -48,6 +69,7 @@ export interface IModalInfo {
48
69
  okResult?: number | string | boolean | IModalResult<IViewModel<number | string>>;
49
70
  cancelResult?: number | string | boolean | IModalResult<IViewModel<number | string>>;
50
71
  hideFooter?: boolean;
72
+ size?: DialogSize;
51
73
  width?: number | string;
52
74
  height?: number | string;
53
75
  fullHeight?: boolean;
@@ -79,6 +101,7 @@ export interface IModalWindow extends IModalInfo {
79
101
  id: number;
80
102
  type: ModalType;
81
103
  show: boolean;
104
+ visible: boolean;
82
105
  component?: string;
83
106
  componentInstance?: {
84
107
  save?(): void;
@@ -95,6 +118,8 @@ export interface IModalWindow extends IModalInfo {
95
118
  export type ModalWindow = IModalWindow<IViewModel<number | string>>;
96
119
 
97
120
  export class Dialog {
121
+ /* eslint-disable-next-line @typescript-eslint/naming-convention */
122
+ readonly __constructor: string;
98
123
  constructor(
99
124
  public title: string,
100
125
  public content?: string,
@@ -107,7 +132,7 @@ export class Dialog {
107
132
  export class AlertDialog extends Dialog {
108
133
  constructor(data: {
109
134
  title: string;
110
- text: string;
135
+ content: string;
111
136
  pressEnterAsOk?: boolean;
112
137
  pressEscAsCancel?: boolean;
113
138
  hostObject?: IHostObject;
@@ -0,0 +1,6 @@
1
+ import { Vue } from 'vue-class-component';
2
+
3
+ export interface IInjectionForm {
4
+ register?: (component: Vue, param: unknown) => void;
5
+ unregister?: (component: Vue, param: unknown) => void;
6
+ }
@@ -1,10 +1,15 @@
1
1
  /* eslint-disable-next-line @typescript-eslint/naming-convention */
2
2
  export interface ldmuiOptions {
3
+ prefix?: string;
3
4
  aliases?: {
4
5
  'ld-button'?: string;
5
6
  'ld-icon'?: string;
7
+ 'ld-chip'?: string;
8
+ 'ld-badge'?: string;
9
+ 'ld-avatar'?: string;
6
10
  'ld-splitter'?: string;
7
11
  'ld-loader'?: string;
12
+ 'ld-progress'?: string;
8
13
  'ld-toggle-buttons'?: string;
9
14
  'ld-breadcrumbs'?: string;
10
15
  'ld-edit-text'?: string;
@@ -29,7 +34,9 @@ export interface ldmuiOptions {
29
34
  'ld-data-iterator'?: string;
30
35
  'ld-pager'?: string;
31
36
  'ld-edit-list-box'?: string;
32
- 'ld-time'?: string;
37
+ 'ld-uploader'?: string;
38
+ 'ld-step'?: string;
39
+ 'ld-slider'?: string;
33
40
  };
34
41
  viewport?: {
35
42
  isMobile: string;
@@ -1,6 +1,6 @@
1
1
  export interface IToasted {
2
- success: (content: string) => void;
3
- info: (content: string) => void;
4
- error: (content: string) => void;
5
- warning: (content: string) => void;
2
+ success: (title: string, text?: string) => void;
3
+ info: (title: string, text?: string) => void;
4
+ error: (title: string, text?: string) => void;
5
+ warning: (title: string, text?: string) => void;
6
6
  }
@@ -1 +1 @@
1
- (function webpackUniversalModuleDefinition(e,l){"object"===typeof exports&&"object"===typeof module?module.exports=l(require("@vuelidate/validators")):"function"===typeof define&&define.amd?define(["@vuelidate/validators"],l):"object"===typeof exports?exports["ldmui"]=l(require("@vuelidate/validators")):e["ldmui"]=l(e["@vuelidate/validators"])})(self,e=>(()=>{"use strict";var l={887:l=>{l.exports=e}},r={};function __webpack_require__(e){var u=r[e];if(void 0!==u)return u.exports;var t=r[e]={exports:{}};return l[e](t,t.exports,__webpack_require__),t.exports}(()=>{__webpack_require__.n=e=>{var l=e&&e.__esModule?()=>e["default"]:()=>e;return __webpack_require__.d(l,{a:l}),l}})(),(()=>{__webpack_require__.d=(e,l)=>{for(var r in l)__webpack_require__.o(l,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:l[r]})}})(),(()=>{__webpack_require__.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l)})(),(()=>{__webpack_require__.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var u={};__webpack_require__.r(u),__webpack_require__.d(u,{alphaNumRule:()=>validators_alphaNumRule,alphaRule:()=>validators_alphaRule,betweenRule:()=>validators_betweenRule,decimalRule:()=>validators_decimalRule,default:()=>a,emailRule:()=>validators_emailRule,integerRule:()=>validators_integerRule,ipAddressRule:()=>validators_ipAddressRule,macAddressRule:()=>validators_macAddressRule,maxLengthRule:()=>validators_maxLengthRule,maxValueRule:()=>validators_maxValueRule,minValueRule:()=>validators_minValueRule,numericRule:()=>validators_numericRule,phoneRule:()=>validators_phoneRule,requiredRule:()=>validators_requiredRule,urlRule:()=>validators_urlRule,validators:()=>o});var t=__webpack_require__(887);const validators_requiredRule=e=>l=>{if(null==l||"string"===typeof l&&""===l)return e?`Поле ${e} обязательно`:"Это поле обязательно";const r=t.required.$validator(l,null,null);return!("boolean"!==typeof r||!r)||(e?`Поле ${e} обязательно`:"Это поле обязательно")},validators_maxLengthRule=e=>l=>{const r=(0,t.maxLength)(e).$validator(l,null,null);return!("boolean"!==typeof r||!r)||`Значение должно быть меньше ${e} символов`},validators_alphaRule=()=>e=>{const l=t.alpha.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Разрешены только латинские буквы"},validators_alphaNumRule=()=>e=>{const l=t.alphaNum.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Разрешены только латинские буквы и цифры"},validators_betweenRule=(e,l)=>r=>{const u=(0,t.between)(e,l).$validator(r,null,null);return!("boolean"!==typeof u||!u)||`Значение должно быть в диапазоне от ${e} до ${l}`},validators_decimalRule=()=>e=>{const l=t.decimal.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Значение должно быть целым или дробным числом"},validators_emailRule=()=>e=>{const l=t.email.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Неверный формат адреса эл.почты"},validators_integerRule=()=>e=>{const l=t.integer.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Значение должно быть целым числом"},validators_ipAddressRule=()=>e=>{const l=t.ipAddress.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Неправильный формат IP-адреса"},validators_macAddressRule=()=>e=>{const l=(0,t.macAddress)(":").$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Неправильный формат mac-адреса"},validators_maxValueRule=e=>l=>{const r=(0,t.maxValue)(e).$validator(l,null,null);return!("boolean"!==typeof r||!r)||`Значение должно быть меньше ${e}`},validators_minValueRule=e=>l=>{const r=(0,t.minValue)(e).$validator(l,null,null);return!("boolean"!==typeof r||!r)||`Значение должно быть больше ${e}`},validators_numericRule=()=>e=>{const l=t.numeric.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Разрешены только цифры"},validators_urlRule=()=>e=>{const l=t.url.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Неправильный формат URI"},validators_phoneRule=()=>e=>{const l=/^[\d()+-]+$/;return l.test(e)||"Неправильный формат телефона"},o={requiredRule:validators_requiredRule,maxLengthRule:validators_maxLengthRule,alphaRule:validators_alphaRule,alphaNumRule:validators_alphaNumRule,betweenRule:validators_betweenRule,decimalRule:validators_decimalRule,emailRule:validators_emailRule,integerRule:validators_integerRule,ipAddressRule:validators_ipAddressRule,macAddressRule:validators_macAddressRule,maxValueRule:validators_maxValueRule,minValueRule:validators_minValueRule,numericRule:validators_numericRule,urlRule:validators_urlRule,phoneRule:validators_phoneRule},a={};return u})());
1
+ (function webpackUniversalModuleDefinition(e,l){"object"===typeof exports&&"object"===typeof module?module.exports=l(require("@vuelidate/validators")):"function"===typeof define&&define.amd?define(["@vuelidate/validators"],l):"object"===typeof exports?exports["ldmui"]=l(require("@vuelidate/validators")):e["ldmui"]=l(e["@vuelidate/validators"])})(self,e=>(()=>{"use strict";var l={887:l=>{l.exports=e}},r={};function __webpack_require__(e){var u=r[e];if(void 0!==u)return u.exports;var t=r[e]={exports:{}};return l[e](t,t.exports,__webpack_require__),t.exports}(()=>{__webpack_require__.n=e=>{var l=e&&e.__esModule?()=>e["default"]:()=>e;return __webpack_require__.d(l,{a:l}),l}})(),(()=>{__webpack_require__.d=(e,l)=>{for(var r in l)__webpack_require__.o(l,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:l[r]})}})(),(()=>{__webpack_require__.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l)})(),(()=>{__webpack_require__.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var u={};__webpack_require__.r(u),__webpack_require__.d(u,{alphaNumRule:()=>alphaNumRule,alphaRule:()=>alphaRule,betweenRule:()=>betweenRule,decimalRule:()=>decimalRule,default:()=>a,emailRule:()=>emailRule,integerRule:()=>integerRule,ipAddressRule:()=>ipAddressRule,macAddressRule:()=>macAddressRule,maxLengthRule:()=>maxLengthRule,maxValueRule:()=>maxValueRule,minValueRule:()=>minValueRule,numericRule:()=>numericRule,phoneRule:()=>phoneRule,requiredRule:()=>requiredRule,urlRule:()=>urlRule,validators:()=>o});var t=__webpack_require__(887);const requiredRule=(e,l)=>r=>{if(null==r||"string"===typeof r&&""===r)return e?`Поле ${e} обязательно`:l||"Это поле обязательно";const u=t.required.$validator(r,null,null);return!("boolean"!==typeof u||!u)||(e?`Поле ${e} обязательно`:l||"Это поле обязательно")},maxLengthRule=e=>l=>{const r=(0,t.maxLength)(e).$validator(l,null,null);return!("boolean"!==typeof r||!r)||`Значение должно быть меньше ${e} символов`},alphaRule=()=>e=>{const l=t.alpha.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Разрешены только латинские буквы"},alphaNumRule=()=>e=>{const l=t.alphaNum.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Разрешены только латинские буквы и цифры"},betweenRule=(e,l)=>r=>{const u=(0,t.between)(e,l).$validator(r,null,null);return!("boolean"!==typeof u||!u)||`Значение должно быть в диапазоне от ${e} до ${l}`},decimalRule=()=>e=>{const l=t.decimal.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Значение должно быть целым или дробным числом"},emailRule=()=>e=>{const l=t.email.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Неверный формат адреса эл.почты"},integerRule=()=>e=>{const l=t.integer.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Значение должно быть целым числом"},ipAddressRule=()=>e=>{const l=t.ipAddress.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Неправильный формат IP-адреса"},macAddressRule=()=>e=>{const l=(0,t.macAddress)(":").$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Неправильный формат mac-адреса"},maxValueRule=e=>l=>{const r=(0,t.maxValue)(e).$validator(l,null,null);return!("boolean"!==typeof r||!r)||`Значение должно быть меньше ${e}`},minValueRule=e=>l=>{const r=(0,t.minValue)(e).$validator(l,null,null);return!("boolean"!==typeof r||!r)||`Значение должно быть больше ${e}`},numericRule=()=>e=>{const l=t.numeric.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Разрешены только цифры"},urlRule=()=>e=>{const l=t.url.$validator(e,null,null);return!("boolean"!==typeof l||!l)||"Неправильный формат URI"},phoneRule=()=>e=>{const l=/^[\d()+-]+$/;return l.test(e)||"Неправильный формат телефона"},o={requiredRule,maxLengthRule,alphaRule,alphaNumRule,betweenRule,decimalRule,emailRule,integerRule,ipAddressRule,macAddressRule,maxValueRule,minValueRule,numericRule,urlRule,phoneRule},a={};return u})());
package/package.json CHANGED
@@ -1,120 +1,122 @@
1
- {
2
- "name": "@ldmjs/ui",
3
- "version": "1.0.89",
4
- "description": "ldm ui",
5
- "main": "dist/index.js",
6
- "engines": {
7
- "node": ">=18",
8
- "npm": ">=9"
9
- },
10
- "scripts": {
11
- "dev": "cross-env NODE_ENV=development webpack serve --config config/webpack.config.dev.js --progress --profile --stats-error-details",
12
- "build": "cross-env NODE_ENV=production webpack --config config/webpack.config.build.js --stats-error-details",
13
- "build:demo": "cross-env NODE_ENV=production webpack --config config/webpack.config.build.demo.js --stats-error-details",
14
- "build:all": "npm run build && npm run build:demo",
15
- "demo": "cross-env NODE_ENV=development webpack serve --config config/webpack.config.demo.js --progress --profile",
16
- "test": "jest --runInBand --no-cache",
17
- "lint": "npx eslint --cache --ext .ts src",
18
- "version": "node -v",
19
- "pub": "node config/publish.js && npm publish --access=public"
20
- },
21
- "repository": {
22
- "type": "git",
23
- "url": ""
24
- },
25
- "keywords": [
26
- "ldm",
27
- "ui"
28
- ],
29
- "author": "LANIT",
30
- "license": "MIT",
31
- "homepage": "",
32
- "files": [
33
- "dist/"
34
- ],
35
- "devDependencies": {
36
- "@babel/core": "7.23.6",
37
- "@babel/plugin-proposal-decorators": "7.23.6",
38
- "@babel/plugin-proposal-export-default-from": "7.23.3",
39
- "@babel/plugin-transform-class-properties": "7.23.3",
40
- "@babel/plugin-transform-export-namespace-from": "7.23.4",
41
- "@babel/plugin-transform-runtime": "7.23.6",
42
- "@babel/plugin-transform-typescript": "7.23.6",
43
- "@babel/preset-env": "7.23.6",
44
- "@babel/preset-typescript": "7.23.3",
45
- "@floating-ui/dom": "1.7.0",
46
- "@ldmjs/datatable": "1.0.18",
47
- "@ldmjs/editor": "1.0.1",
48
- "@ldmjs/treeview": "1.0.10",
49
- "@popperjs/core": "2.11.8",
50
- "@types/babel__core": "7",
51
- "@types/babel__plugin-transform-runtime": "7",
52
- "@types/babel__preset-env": "7",
53
- "@types/eslint": "8",
54
- "@types/jest": "29.5.12",
55
- "@types/lodash-es": "4",
56
- "@types/markdown-it": "14",
57
- "@typescript-eslint/eslint-plugin": "6.7.2",
58
- "@typescript-eslint/parser": "6.7.2",
59
- "@vue/test-utils": "2.4.6",
60
- "@vue/vue3-jest": "29.2.6",
61
- "@vuelidate/core": "2.0.2",
62
- "@vuelidate/validators": "2.0.2",
63
- "babel-jest": "29.5.0",
64
- "babel-plugin-const-enum": "1.2.0",
65
- "copy-webpack-plugin": "12.0.2",
66
- "cross-env": "7.0.3",
67
- "css-loader": "6.8.1",
68
- "eslint": "8.56.0",
69
- "eslint-config-prettier": "8.10.0",
70
- "eslint-formatter-friendly": "7.0.0",
71
- "eslint-plugin-prettier": "5.1.3",
72
- "eslint-plugin-promise": "6.1.1",
73
- "eslint-plugin-simple-import-sort": "10.0.0",
74
- "eslint-plugin-vue": "9.21.1",
75
- "eslint-plugin-vuetify": "2.1.1",
76
- "eslint-webpack-plugin": "3.2.0",
77
- "html-webpack-plugin": "5.6.0",
78
- "imask": "7.6.1",
79
- "jest": "29.2.2",
80
- "jest-environment-jsdom": "29.2.2",
81
- "jest-transform-stub": "2.0.0",
82
- "lodash-es": "4.17.21",
83
- "markdown-it": "14.1.0",
84
- "material-design-icons-iconfont": "6.7.0",
85
- "md-editor-v3": "4.15.6",
86
- "mini-css-extract-plugin": "2.8.0",
87
- "mol_time_all": "1.1.1462",
88
- "postcss-loader": "7.3.3",
89
- "prettier": "3.4.2",
90
- "sass": "1.83.0",
91
- "sass-loader": "16.0.3",
92
- "style-loader": "4.0.0",
93
- "terser-webpack-plugin": "5.3.10",
94
- "ts-jest": "29.0.3",
95
- "ts-loader": "9.5.1",
96
- "typescript": "4.9.5",
97
- "v-calendar": "3.1.2",
98
- "vue": "3.5.20",
99
- "vue-class-component": "8.0.0-rc.1",
100
- "vue-eslint-parser": "9.4.2",
101
- "vue-imask": "7.6.1",
102
- "vue-loader": "17.4.2",
103
- "vue-property-decorator": "10.0.0-rc.3",
104
- "vue-screen-utils": "1.0.0-beta.13",
105
- "vuetify": "3.8.0",
106
- "webpack": "5.97.1",
107
- "webpack-cli": "5.1.4",
108
- "webpack-dev-server": "5.1.0",
109
- "webpack-plugin-vuetify": "3.1.1"
110
- },
111
- "dependencies": {
112
- "@ldmjs/core": "1.0.0"
113
- },
114
- "volta": {
115
- "node": "22.15.0",
116
- "yarn": "4.5.3",
117
- "npm": "11.4.2"
118
- },
119
- "packageManager": "yarn@4.9.2"
120
- }
1
+ {
2
+ "name": "@ldmjs/ui",
3
+ "version": "2.0.0-beta.0",
4
+ "description": "ldm ui",
5
+ "main": "dist/index.js",
6
+ "engines": {
7
+ "node": ">=22",
8
+ "npm": ">=11"
9
+ },
10
+ "scripts": {
11
+ "dev": "cross-env NODE_ENV=development webpack serve --config config/webpack.config.dev.js --progress --profile --stats-error-details",
12
+ "build": "cross-env NODE_ENV=production webpack --config config/webpack.config.build.js --stats-error-details",
13
+ "build:demo": "cross-env NODE_ENV=production webpack --config config/webpack.config.build.demo.js --stats-error-details",
14
+ "build:all": "npm run build && npm run build:demo",
15
+ "demo": "cross-env NODE_ENV=production webpack serve --config config/webpack.config.demo.js --progress --profile",
16
+ "test": "jest --runInBand --no-cache",
17
+ "lint": "npx eslint --cache --ext .ts src",
18
+ "version": "node -v",
19
+ "pub": "node config/publish.js && npm publish --access=public"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": ""
24
+ },
25
+ "keywords": [
26
+ "ldm",
27
+ "ui"
28
+ ],
29
+ "author": "LANIT",
30
+ "license": "MIT",
31
+ "homepage": "",
32
+ "files": [
33
+ "dist/"
34
+ ],
35
+ "devDependencies": {
36
+ "@babel/core": "7.28.4",
37
+ "@babel/plugin-proposal-decorators": "7.28.0",
38
+ "@babel/plugin-proposal-export-default-from": "7.27.1",
39
+ "@babel/plugin-transform-class-properties": "7.27.1",
40
+ "@babel/plugin-transform-export-namespace-from": "7.27.1",
41
+ "@babel/plugin-transform-runtime": "7.28.3",
42
+ "@babel/plugin-transform-typescript": "7.28.0",
43
+ "@babel/preset-env": "7.28.3",
44
+ "@babel/preset-typescript": "7.27.1",
45
+ "@ldmjs/datatable": "1.0.18",
46
+ "@ldmjs/editor": "2.0.0",
47
+ "@ldmjs/treeview": "2.0.0",
48
+ "@popperjs/core": "2.11.8",
49
+ "@types/babel__core": "7.20.5",
50
+ "@types/babel__plugin-transform-runtime": "7.9.5",
51
+ "@types/babel__preset-env": "7.10.0",
52
+ "@types/eslint": "8.56.10",
53
+ "@types/jest": "29.5.12",
54
+ "@types/lodash-es": "4.17.12",
55
+ "@types/markdown-it": "14.1.2",
56
+ "@typescript-eslint/eslint-plugin": "6.21.0",
57
+ "@typescript-eslint/parser": "6.21.0",
58
+ "@vue/test-utils": "2.4.6",
59
+ "@vue/vue3-jest": "29.2.6",
60
+ "@vuelidate/core": "2.0.3",
61
+ "@vuelidate/validators": "2.0.4",
62
+ "agentkeepalive": "4.2.1",
63
+ "babel-jest": "29.5.0",
64
+ "babel-plugin-const-enum": "1.2.0",
65
+ "cache-loader": "4.1.0",
66
+ "copy-webpack-plugin": "12.0.2",
67
+ "cross-env": "7.0.3",
68
+ "css-loader": "6.8.1",
69
+ "eslint": "8.56.0",
70
+ "eslint-config-prettier": "8.10.0",
71
+ "eslint-formatter-friendly": "7.0.0",
72
+ "eslint-plugin-prettier": "5.1.3",
73
+ "eslint-plugin-promise": "6.1.1",
74
+ "eslint-plugin-simple-import-sort": "10.0.0",
75
+ "eslint-plugin-vue": "9.21.1",
76
+ "eslint-plugin-vuetify": "2.1.1",
77
+ "eslint-webpack-plugin": "3.2.0",
78
+ "html-webpack-plugin": "5.6.4",
79
+ "imask": "7.6.1",
80
+ "jest": "30.2.0",
81
+ "jest-environment-jsdom": "30.2.0",
82
+ "jest-transform-stub": "2.0.0",
83
+ "lodash-es": "4.17.21",
84
+ "markdown-it": "14.1.0",
85
+ "material-design-icons-iconfont": "6.7.0",
86
+ "md-editor-v3": "6.3.1",
87
+ "mini-css-extract-plugin": "2.9.4",
88
+ "mol_time_all": "1.1.1504",
89
+ "postcss-loader": "8.2.0",
90
+ "prettier": "3.6.2",
91
+ "sass": "1.93.2",
92
+ "sass-loader": "16.0.3",
93
+ "string-replace-loader": "3.1.0",
94
+ "style-loader": "4.0.0",
95
+ "terser-webpack-plugin": "5.3.16",
96
+ "thread-loader": "4.0.4",
97
+ "ts-jest": "29.4.5",
98
+ "ts-loader": "9.5.4",
99
+ "typescript": "4.9.5",
100
+ "vue": "3.5.22",
101
+ "vue-class-component": "8.0.0-rc.1",
102
+ "vue-eslint-parser": "10.2.0",
103
+ "vue-imask": "7.6.1",
104
+ "vue-loader": "17.4.2",
105
+ "vue-property-decorator": "10.0.0-rc.3",
106
+ "vue-screen-utils": "1.0.0-beta.13",
107
+ "vuetify": "3.11.7",
108
+ "webpack": "5.102.1",
109
+ "webpack-cli": "6.0.1",
110
+ "webpack-dev-server": "5.2.2",
111
+ "webpack-plugin-vuetify": "3.1.2"
112
+ },
113
+ "dependencies": {
114
+ "@ldmjs/core": "2.0.1"
115
+ },
116
+ "volta": {
117
+ "node": "22.15.0",
118
+ "yarn": "4.5.3",
119
+ "npm": "11.4.2"
120
+ },
121
+ "packageManager": "yarn@4.9.2"
122
+ }