@ldmjs/ui 1.0.90 → 2.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 (104) hide show
  1. package/README.md +46 -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-expansion-panel.js +1 -0
  17. package/dist/components/ld-expansion-panels.js +1 -0
  18. package/dist/components/ld-icon.js +1 -0
  19. package/dist/components/ld-loader.js +1 -0
  20. package/dist/components/ld-page-toolbar.js +1 -0
  21. package/dist/components/ld-pager.js +1 -0
  22. package/dist/components/ld-progress.js +1 -0
  23. package/dist/components/ld-radiobutton.js +1 -0
  24. package/dist/components/ld-radiogroup.js +1 -0
  25. package/dist/components/ld-select-list-box.js +1 -0
  26. package/dist/components/ld-select.js +1 -0
  27. package/dist/components/ld-slider.js +1 -0
  28. package/dist/components/ld-splitter.js +1 -0
  29. package/dist/components/ld-step.js +1 -0
  30. package/dist/components/ld-switch.js +1 -0
  31. package/dist/components/ld-tab.js +1 -0
  32. package/dist/components/ld-tabs.js +1 -0
  33. package/dist/components/ld-text-markup.js +1 -0
  34. package/dist/components/ld-text-viewer.js +1 -0
  35. package/dist/components/ld-textarea.js +1 -0
  36. package/dist/components/ld-timepicker.js +1 -0
  37. package/dist/components/ld-toggle-buttons.js +1 -0
  38. package/dist/components/ld-uploader.js +1 -0
  39. package/dist/fonts/Roboto-Medium.ttf +0 -0
  40. package/dist/fonts/Roboto-Medium.woff +0 -0
  41. package/dist/fonts/Roboto-Medium.woff2 +0 -0
  42. package/dist/fonts/Roboto-SemiBold.ttf +0 -0
  43. package/dist/fonts/Roboto-SemiBold.woff +0 -0
  44. package/dist/fonts/Roboto-SemiBold.woff2 +0 -0
  45. package/dist/i18n/ru/ru-Ru.json +50 -2
  46. package/dist/index.d.ts +20 -15
  47. package/dist/index.js +1 -21186
  48. package/dist/lib/runtime-template.js +1 -1
  49. package/dist/lib/toastification.js +1 -1
  50. package/dist/scss/_animations.scss +31 -12
  51. package/dist/scss/_avatar.scss +333 -0
  52. package/dist/scss/_badge.scss +128 -0
  53. package/dist/scss/_breadcrumbs.scss +133 -17
  54. package/dist/scss/_buttons.scss +584 -282
  55. package/dist/scss/_calendar.scss +154 -51
  56. package/dist/scss/_checkbox.scss +245 -0
  57. package/dist/scss/_chip.scss +163 -63
  58. package/dist/scss/_colors.scss +21 -19
  59. package/dist/scss/_dialogs.scss +106 -177
  60. package/dist/scss/_editor.scss +146 -0
  61. package/dist/scss/_expansions.scss +57 -0
  62. package/dist/scss/_fonts.scss +115 -0
  63. package/dist/scss/_inputs.scss +928 -138
  64. package/dist/scss/_loader.scss +163 -0
  65. package/dist/scss/_pager.scss +83 -16
  66. package/dist/scss/_progress.scss +282 -0
  67. package/dist/scss/_radiobutton.scss +218 -0
  68. package/dist/scss/_radiogroup.scss +87 -0
  69. package/dist/scss/_scroll.scss +65 -0
  70. package/dist/scss/_shadows.scss +47 -0
  71. package/dist/scss/_slider.scss +53 -0
  72. package/dist/scss/_splitter.scss +60 -0
  73. package/dist/scss/_step.scss +179 -0
  74. package/dist/scss/_switch.scss +198 -0
  75. package/dist/scss/_tabs.scss +318 -0
  76. package/dist/scss/_textmarkup.scss +47 -0
  77. package/dist/scss/_textviewer.scss +13 -0
  78. package/dist/scss/_toasted.scss +44 -22
  79. package/dist/scss/_toggle.scss +125 -0
  80. package/dist/scss/_toolbar.scss +40 -1
  81. package/dist/scss/_tooltip.scss +30 -0
  82. package/dist/scss/_treeview.scss +35 -0
  83. package/dist/scss/_uploader.scss +167 -0
  84. package/dist/scss/_variables.scss +5 -27
  85. package/dist/scss/index.scss +150 -16
  86. package/dist/scss/utils.scss +17 -0
  87. package/dist/types/breadcrumbs.d.ts +2 -0
  88. package/dist/types/calendar.d.ts +8 -73
  89. package/dist/types/combobox.d.ts +10 -0
  90. package/dist/types/dialogs.d.ts +28 -1
  91. package/dist/types/form.d.ts +6 -0
  92. package/dist/types/options.d.ts +11 -1
  93. package/dist/types/toasted.d.ts +4 -4
  94. package/dist/utils/validators.js +1 -1
  95. package/package.json +123 -120
  96. package/dist/css/calendar.css +0 -1066
  97. package/dist/css/index.css +0 -20
  98. package/dist/css/root.css +0 -86
  99. package/dist/lib/calendar.js +0 -1
  100. package/dist/lib/floating.js +0 -1
  101. package/dist/lib/multiselect.js +0 -1
  102. package/dist/scss/_multiselect.scss +0 -170
  103. package/dist/scss/_toasted-old.scss +0 -408
  104. package/dist/scss/index-old.scss +0 -16
@@ -1,73 +1,8 @@
1
- export interface IAttr {
2
- // An optional key can be used for retrieving this attribute later,
3
- // and will most likely be derived from your data object
4
- key: Any;
5
- // Attribute type definitions
6
- content?: string; // Boolean, String, Object
7
- highlight: boolean | string | IHighlight; // Boolean, String, Object
8
- dot?: boolean; // Boolean, String, Object
9
- bar?: boolean; // Boolean, String, Object
10
- popover?: {
11
- label: string;
12
- visibility: 'hover' | 'click';
13
- hideIndicator: boolean;
14
- };
15
- // Your custom data object for later access, if needed
16
- customData?: Record<string, unknown>;
17
- // We also need some dates to know where to display the attribute
18
- // We use a single date here, but it could also be an array of dates,
19
- // a date range or a complex date pattern.
20
- dates: Date | Array<Date>;
21
- // Think of `order` like `z-index`
22
- order?: number;
23
- }
24
-
25
- export type Attributes = Array<IAttr>;
26
-
27
- export interface ICalendarDay {
28
- date: Date;
29
- }
30
-
31
- interface IHighlight {
32
- color?: string;
33
- fillMode?: string; // solid (default), light, outline.
34
- class?: string; // Class to apply to the highlight background element.
35
- style?: Record<string, string>; // Style to apply to the highlight background element.
36
- contentClass?: string; // Class to apply to the highlight content element.
37
- contentStyle?: Record<string, string>; // Style to apply to the highlight content element.
38
- hightlight?: boolean;
39
- }
40
-
41
- interface IPage {
42
- id: string;
43
- day?: number;
44
- week?: number;
45
- month: number;
46
- year: number;
47
- trimWeeks: boolean;
48
- position: number;
49
- row: number;
50
- rowFromEnd: number;
51
- column: number;
52
- columnFromEnd: number;
53
- showWeeknumbers: boolean;
54
- showIsoWeeknumbers: boolean;
55
- weeknumberPosition: string;
56
- monthTitle: string;
57
- weekTitle?: string;
58
- dayTitle?: string;
59
- title: string;
60
- shortMonthLabel: string;
61
- monthLabel: string;
62
- shortYearLabel: string;
63
- yearLabel: string;
64
- }
65
-
66
- export interface IInitialPage {
67
- month: number;
68
- year: number;
69
- }
70
-
71
- export interface IInstance {
72
- moveBy: (value: number) => void;
73
- }
1
+ export type DatetimeValueRaw =
2
+ | Date
3
+ | Array<number>
4
+ | string
5
+ | number
6
+ | { year: number; month: number; date: number; hours?: number; minutes?: number; seconds?: number; ms?: number };
7
+
8
+ export type ViewMode = 'month' | 'months' | 'year';
@@ -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,24 @@
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
+ align?: 'left' | 'right';
11
+ }
12
+
13
+ export interface IInterativeDialogProps extends IDialogProps {
14
+ loading?: boolean;
15
+ fullHeight?: boolean;
16
+ okTitle?: string;
17
+ cancelTitle?: string;
18
+ closable?: boolean;
19
+ hideFooter?: boolean;
20
+ }
21
+
1
22
  export interface IViewModel<T> {
2
23
  id: T;
3
24
  name: string;
@@ -8,6 +29,7 @@ export interface IHostObject {
8
29
  contentType: unknown;
9
30
  id: number | string;
10
31
  kind: unknown;
32
+ parentId?: number | string;
11
33
  }
12
34
 
13
35
  export interface IModalResult<T> {
@@ -48,9 +70,11 @@ export interface IModalInfo {
48
70
  okResult?: number | string | boolean | IModalResult<IViewModel<number | string>>;
49
71
  cancelResult?: number | string | boolean | IModalResult<IViewModel<number | string>>;
50
72
  hideFooter?: boolean;
73
+ size?: DialogSize;
51
74
  width?: number | string;
52
75
  height?: number | string;
53
76
  fullHeight?: boolean;
77
+ align?: 'left' | 'right';
54
78
  closable?: boolean;
55
79
  expandable?: boolean;
56
80
  minimizable?: boolean;
@@ -79,6 +103,7 @@ export interface IModalWindow extends IModalInfo {
79
103
  id: number;
80
104
  type: ModalType;
81
105
  show: boolean;
106
+ visible: boolean;
82
107
  component?: string;
83
108
  componentInstance?: {
84
109
  save?(): void;
@@ -95,6 +120,8 @@ export interface IModalWindow extends IModalInfo {
95
120
  export type ModalWindow = IModalWindow<IViewModel<number | string>>;
96
121
 
97
122
  export class Dialog {
123
+ /* eslint-disable-next-line @typescript-eslint/naming-convention */
124
+ readonly __constructor: string;
98
125
  constructor(
99
126
  public title: string,
100
127
  public content?: string,
@@ -107,7 +134,7 @@ export class Dialog {
107
134
  export class AlertDialog extends Dialog {
108
135
  constructor(data: {
109
136
  title: string;
110
- text: string;
137
+ content: string;
111
138
  pressEnterAsOk?: boolean;
112
139
  pressEscAsCancel?: boolean;
113
140
  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,12 @@ 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;
40
+ 'ld-datatable'?: string;
41
+ 'ld-expansion-panels'?: string;
42
+ 'ld-expansion-panel'?: string;
33
43
  };
34
44
  viewport?: {
35
45
  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,123 @@
1
- {
2
- "name": "@ldmjs/ui",
3
- "version": "1.0.90",
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.1",
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/editor": "2.0.0",
46
+ "@ldmjs/treeview": "2.0.0",
47
+ "@popperjs/core": "2.11.8",
48
+ "@types/babel__core": "7.20.5",
49
+ "@types/babel__plugin-transform-runtime": "7.9.5",
50
+ "@types/babel__preset-env": "7.10.0",
51
+ "@types/eslint": "8.56.10",
52
+ "@types/jest": "29.5.12",
53
+ "@types/lodash-es": "4.17.12",
54
+ "@types/markdown-it": "14.1.2",
55
+ "@typescript-eslint/eslint-plugin": "6.21.0",
56
+ "@typescript-eslint/parser": "6.21.0",
57
+ "@vue/test-utils": "2.4.6",
58
+ "@vue/vue3-jest": "29.2.6",
59
+ "@vuelidate/core": "2.0.3",
60
+ "@vuelidate/validators": "2.0.4",
61
+ "agentkeepalive": "4.2.1",
62
+ "babel-jest": "29.5.0",
63
+ "babel-plugin-const-enum": "1.2.0",
64
+ "baseline-browser-mapping": "2.9.19",
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
+ "@ldmjs/datatable": "2.0.0-beta.0"
116
+ },
117
+ "volta": {
118
+ "node": "22.15.0",
119
+ "yarn": "4.5.3",
120
+ "npm": "11.4.2"
121
+ },
122
+ "packageManager": "yarn@4.9.2"
123
+ }