ngx-tethys 19.1.0-next.4 → 19.1.0-next.5

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ # [19.1.0-next.5](https://github.com/atinc/ngx-tethys/compare/19.1.0-next.4...19.1.0-next.5) (2025-08-07)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **divider:** margin is incorrect after migration signal #TINFR-2663 ([#3508](https://github.com/atinc/ngx-tethys/issues/3508)) ([fa0b80a](https://github.com/atinc/ngx-tethys/commit/fa0b80aeeb8d21ddac26991907cf3f15628f6d51)), closes [#TINFR-2663](https://github.com/atinc/ngx-tethys/issues/TINFR-2663)
11
+
12
+
13
+
5
14
  # [19.1.0-next.4](https://github.com/atinc/ngx-tethys/compare/19.1.0-next.3...19.1.0-next.4) (2025-08-06)
6
15
 
7
16
 
@@ -62,7 +62,7 @@ class ThyDivider {
62
62
  this.hostRenderer.updateClass([`thy-divider-${this.thyColor()}`]);
63
63
  }
64
64
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.8", ngImport: i0, type: ThyDivider, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
65
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.8", type: ThyDivider, isStandalone: true, selector: "thy-divider", inputs: { thyVertical: { classPropertyName: "thyVertical", publicName: "thyVertical", isSignal: true, isRequired: false, transformFunction: null }, thyStyle: { classPropertyName: "thyStyle", publicName: "thyStyle", isSignal: true, isRequired: false, transformFunction: null }, thyColor: { classPropertyName: "thyColor", publicName: "thyColor", isSignal: true, isRequired: false, transformFunction: null }, thyText: { classPropertyName: "thyText", publicName: "thyText", isSignal: true, isRequired: false, transformFunction: null }, thyTextDirection: { classPropertyName: "thyTextDirection", publicName: "thyTextDirection", isSignal: true, isRequired: false, transformFunction: null }, thyDeeper: { classPropertyName: "thyDeeper", publicName: "thyDeeper", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.thy-divider": "true", "class.thy-divider-horizontal": "!thyVertical()", "class.thy-divider-vertical": "thyVertical()", "class.thy-divider-with-content": "textContent || templateContent", "class.thy-divider-with-content-left": "(textContent || templateContent) && thyTextDirection() === 'left'", "class.thy-divider-with-content-right": "(textContent || templateContent) && thyTextDirection() === 'right'", "class.thy-divider-with-content-center": "(textContent || templateContent) && thyTextDirection() === 'center'", "class.thy-divider-solid": "thyStyle() === 'solid'", "class.thy-divider-dashed": "thyStyle() === 'dashed'", "class.thy-divider-deeper": "!!thyDeeper()" } }, ngImport: i0, template: `
65
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.8", type: ThyDivider, isStandalone: true, selector: "thy-divider", inputs: { thyVertical: { classPropertyName: "thyVertical", publicName: "thyVertical", isSignal: true, isRequired: false, transformFunction: null }, thyStyle: { classPropertyName: "thyStyle", publicName: "thyStyle", isSignal: true, isRequired: false, transformFunction: null }, thyColor: { classPropertyName: "thyColor", publicName: "thyColor", isSignal: true, isRequired: false, transformFunction: null }, thyText: { classPropertyName: "thyText", publicName: "thyText", isSignal: true, isRequired: false, transformFunction: null }, thyTextDirection: { classPropertyName: "thyTextDirection", publicName: "thyTextDirection", isSignal: true, isRequired: false, transformFunction: null }, thyDeeper: { classPropertyName: "thyDeeper", publicName: "thyDeeper", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.thy-divider": "true", "class.thy-divider-horizontal": "!thyVertical()", "class.thy-divider-vertical": "thyVertical()", "class.thy-divider-with-content": "textContent() || templateContent()", "class.thy-divider-with-content-left": "(textContent() || templateContent()) && thyTextDirection() === 'left'", "class.thy-divider-with-content-right": "(textContent() || templateContent()) && thyTextDirection() === 'right'", "class.thy-divider-with-content-center": "(textContent() || templateContent()) && thyTextDirection() === 'center'", "class.thy-divider-solid": "thyStyle() === 'solid'", "class.thy-divider-dashed": "thyStyle() === 'dashed'", "class.thy-divider-deeper": "!!thyDeeper()" } }, ngImport: i0, template: `
66
66
  @if (templateContent()) {
67
67
  <div class="thy-divider-inner-template">
68
68
  <ng-template *ngTemplateOutlet="templateContent()"></ng-template>
@@ -95,10 +95,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
95
95
  '[class.thy-divider]': `true`,
96
96
  '[class.thy-divider-horizontal]': `!thyVertical()`,
97
97
  '[class.thy-divider-vertical]': `thyVertical()`,
98
- '[class.thy-divider-with-content]': `textContent || templateContent`,
99
- '[class.thy-divider-with-content-left]': `(textContent || templateContent) && thyTextDirection() === 'left'`,
100
- '[class.thy-divider-with-content-right]': `(textContent || templateContent) && thyTextDirection() === 'right'`,
101
- '[class.thy-divider-with-content-center]': `(textContent || templateContent) && thyTextDirection() === 'center'`,
98
+ '[class.thy-divider-with-content]': `textContent() || templateContent()`,
99
+ '[class.thy-divider-with-content-left]': `(textContent() || templateContent()) && thyTextDirection() === 'left'`,
100
+ '[class.thy-divider-with-content-right]': `(textContent() || templateContent()) && thyTextDirection() === 'right'`,
101
+ '[class.thy-divider-with-content-center]': `(textContent() || templateContent()) && thyTextDirection() === 'center'`,
102
102
  '[class.thy-divider-solid]': `thyStyle() === 'solid'`,
103
103
  '[class.thy-divider-dashed]': `thyStyle() === 'dashed'`,
104
104
  '[class.thy-divider-deeper]': `!!thyDeeper()`
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-tethys-divider.mjs","sources":["../../../src/divider/divider.component.ts","../../../src/divider/divider.module.ts","../../../src/divider/ngx-tethys-divider.ts"],"sourcesContent":["import { Component, TemplateRef, ViewEncapsulation, OnInit, ChangeDetectionStrategy, input, effect, Signal, computed } from '@angular/core';\nimport { useHostRenderer } from '@tethys/cdk/dom';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\nexport type ThyDividerStyle = 'solid' | 'dashed';\n\nexport type ThyDividerTextDirection = 'left' | 'right' | 'center';\n\nexport type ThyDividerColor = 'lighter' | 'light' | 'danger' | 'primary' | 'success' | 'warning' | string;\n\n/**\n * 分割线\n * @name thy-divider\n */\n@Component({\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n selector: 'thy-divider',\n template: `\n @if (templateContent()) {\n <div class=\"thy-divider-inner-template\">\n <ng-template *ngTemplateOutlet=\"templateContent()\"></ng-template>\n </div>\n }\n\n @if (textContent()) {\n <span class=\"thy-divider-inner-text\">{{ textContent() }}</span>\n }\n `,\n host: {\n '[class.thy-divider]': `true`,\n '[class.thy-divider-horizontal]': `!thyVertical()`,\n '[class.thy-divider-vertical]': `thyVertical()`,\n '[class.thy-divider-with-content]': `textContent || templateContent`,\n '[class.thy-divider-with-content-left]': `(textContent || templateContent) && thyTextDirection() === 'left'`,\n '[class.thy-divider-with-content-right]': `(textContent || templateContent) && thyTextDirection() === 'right'`,\n '[class.thy-divider-with-content-center]': `(textContent || templateContent) && thyTextDirection() === 'center'`,\n '[class.thy-divider-solid]': `thyStyle() === 'solid'`,\n '[class.thy-divider-dashed]': `thyStyle() === 'dashed'`,\n '[class.thy-divider-deeper]': `!!thyDeeper()`\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NgTemplateOutlet]\n})\nexport class ThyDivider implements OnInit {\n private hostRenderer = useHostRenderer();\n\n /**\n * 是否垂直方向\n */\n readonly thyVertical = input(false, { transform: coerceBooleanProperty });\n\n /**\n * 分割线的风格\n * @type solid(实线) | dashed(虚线)\n */\n readonly thyStyle = input<ThyDividerStyle>('solid');\n\n /**\n * 分割线的颜色,默认 #eee,light 为 #ddd,primary 主色,success 成功色,warning 警告色,danger 危险色\n * @type 'lighter' | 'light' | 'danger' | 'primary' | 'success' | 'warning' | string\n */\n readonly thyColor = input<ThyDividerColor>('default');\n\n /**\n * 中间文本内容,支持文字和模板\n */\n readonly thyText = input<string | TemplateRef<HTMLElement>>();\n\n readonly templateContent: Signal<TemplateRef<HTMLElement>> = computed(() => {\n const text = this.thyText();\n if (text instanceof TemplateRef) {\n return text;\n }\n });\n\n readonly textContent: Signal<string> = computed(() => {\n const text = this.thyText();\n if (typeof text === 'string') {\n return text;\n }\n });\n\n /**\n * 中间内容的方向\n * @type left | right | center\n */\n readonly thyTextDirection = input<ThyDividerTextDirection>('center');\n\n /**\n * 颜色加深,已经废弃,请使用 thyColor=\"light\" 代替\n * @deprecated\n */\n readonly thyDeeper = input(false, { transform: coerceBooleanProperty });\n\n constructor() {\n effect(() => {\n this.setColor();\n });\n }\n\n ngOnInit(): void {}\n\n setColor() {\n this.hostRenderer.updateClass([`thy-divider-${this.thyColor()}`]);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ThySharedModule } from 'ngx-tethys/shared';\nimport { ThyIconModule } from 'ngx-tethys/icon';\n\nimport { ThyDivider } from './divider.component';\n\n@NgModule({\n imports: [CommonModule, ThySharedModule, ThyIconModule, ThyDivider],\n exports: [ThyDivider],\n providers: []\n})\nexport class ThyDividerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAWA;;;AAGG;MA+BU,UAAU,CAAA;AAmDnB,IAAA,WAAA,GAAA;QAlDQ,IAAY,CAAA,YAAA,GAAG,eAAe,EAAE;AAExC;;AAEG;QACM,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,qBAAqB,EAAE,CAAC;AAEzE;;;AAGG;AACM,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAkB,OAAO,CAAC;AAEnD;;;AAGG;AACM,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAkB,SAAS,CAAC;AAErD;;AAEG;QACM,IAAO,CAAA,OAAA,GAAG,KAAK,EAAqC;A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AAA;+GAAhB,gBAAgB,EAAA,OAAA,EAAA,CAJf,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,UAAU,CAAA,EAAA,OAAA,EAAA,CACxD,UAAU,CAAA,EAAA,CAAA,CAAA;AAGX,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EAJf,OAAA,EAAA,CAAA,YAAY,EAAE,eAAe,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA;;2FAI7C,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,UAAU,CAAC;oBACnE,OAAO,EAAE,CAAC,UAAU,CAAC;AACrB,oBAAA,SAAS,EAAE;AACd,iBAAA;;;ACXD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-tethys-divider.mjs","sources":["../../../src/divider/divider.component.ts","../../../src/divider/divider.module.ts","../../../src/divider/ngx-tethys-divider.ts"],"sourcesContent":["import { Component, TemplateRef, ViewEncapsulation, OnInit, ChangeDetectionStrategy, input, effect, Signal, computed } from '@angular/core';\nimport { useHostRenderer } from '@tethys/cdk/dom';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\nexport type ThyDividerStyle = 'solid' | 'dashed';\n\nexport type ThyDividerTextDirection = 'left' | 'right' | 'center';\n\nexport type ThyDividerColor = 'lighter' | 'light' | 'danger' | 'primary' | 'success' | 'warning' | string;\n\n/**\n * 分割线\n * @name thy-divider\n */\n@Component({\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n selector: 'thy-divider',\n template: `\n @if (templateContent()) {\n <div class=\"thy-divider-inner-template\">\n <ng-template *ngTemplateOutlet=\"templateContent()\"></ng-template>\n </div>\n }\n\n @if (textContent()) {\n <span class=\"thy-divider-inner-text\">{{ textContent() }}</span>\n }\n `,\n host: {\n '[class.thy-divider]': `true`,\n '[class.thy-divider-horizontal]': `!thyVertical()`,\n '[class.thy-divider-vertical]': `thyVertical()`,\n '[class.thy-divider-with-content]': `textContent() || templateContent()`,\n '[class.thy-divider-with-content-left]': `(textContent() || templateContent()) && thyTextDirection() === 'left'`,\n '[class.thy-divider-with-content-right]': `(textContent() || templateContent()) && thyTextDirection() === 'right'`,\n '[class.thy-divider-with-content-center]': `(textContent() || templateContent()) && thyTextDirection() === 'center'`,\n '[class.thy-divider-solid]': `thyStyle() === 'solid'`,\n '[class.thy-divider-dashed]': `thyStyle() === 'dashed'`,\n '[class.thy-divider-deeper]': `!!thyDeeper()`\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NgTemplateOutlet]\n})\nexport class ThyDivider implements OnInit {\n private hostRenderer = useHostRenderer();\n\n /**\n * 是否垂直方向\n */\n readonly thyVertical = input(false, { transform: coerceBooleanProperty });\n\n /**\n * 分割线的风格\n * @type solid(实线) | dashed(虚线)\n */\n readonly thyStyle = input<ThyDividerStyle>('solid');\n\n /**\n * 分割线的颜色,默认 #eee,light 为 #ddd,primary 主色,success 成功色,warning 警告色,danger 危险色\n * @type 'lighter' | 'light' | 'danger' | 'primary' | 'success' | 'warning' | string\n */\n readonly thyColor = input<ThyDividerColor>('default');\n\n /**\n * 中间文本内容,支持文字和模板\n */\n readonly thyText = input<string | TemplateRef<HTMLElement>>();\n\n readonly templateContent: Signal<TemplateRef<HTMLElement>> = computed(() => {\n const text = this.thyText();\n if (text instanceof TemplateRef) {\n return text;\n }\n });\n\n readonly textContent: Signal<string> = computed(() => {\n const text = this.thyText();\n if (typeof text === 'string') {\n return text;\n }\n });\n\n /**\n * 中间内容的方向\n * @type left | right | center\n */\n readonly thyTextDirection = input<ThyDividerTextDirection>('center');\n\n /**\n * 颜色加深,已经废弃,请使用 thyColor=\"light\" 代替\n * @deprecated\n */\n readonly thyDeeper = input(false, { transform: coerceBooleanProperty });\n\n constructor() {\n effect(() => {\n this.setColor();\n });\n }\n\n ngOnInit(): void {}\n\n setColor() {\n this.hostRenderer.updateClass([`thy-divider-${this.thyColor()}`]);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ThySharedModule } from 'ngx-tethys/shared';\nimport { ThyIconModule } from 'ngx-tethys/icon';\n\nimport { ThyDivider } from './divider.component';\n\n@NgModule({\n imports: [CommonModule, ThySharedModule, ThyIconModule, ThyDivider],\n exports: [ThyDivider],\n providers: []\n})\nexport class ThyDividerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAWA;;;AAGG;MA+BU,UAAU,CAAA;AAmDnB,IAAA,WAAA,GAAA;QAlDQ,IAAY,CAAA,YAAA,GAAG,eAAe,EAAE;AAExC;;AAEG;QACM,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,qBAAqB,EAAE,CAAC;AAEzE;;;AAGG;AACM,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAkB,OAAO,CAAC;AAEnD;;;AAGG;AACM,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAkB,SAAS,CAAC;AAErD;;AAEG;QACM,IAAO,CAAA,OAAA,GAAG,KAAK,EAAqC;AAEpD,QAAA,IAAA,CAAA,eAAe,GAAqC,QAAQ,CAAC,MAAK;AACvE,YAAA,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,EAAE;AAC3B,YAAA,IAAI,IAAI,YAAY,WAAW,EAAE;AAC7B,gBAAA,OAAO,IAAI;;AAEnB,SAAC,CAAC;AAEO,QAAA,IAAA,CAAA,WAAW,GAAmB,QAAQ,CAAC,MAAK;AACjD,YAAA,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,EAAE;AAC3B,YAAA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EAAA,CAAA,YAAY,EAAE,eAAe,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA;;2FAI7C,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,UAAU,CAAC;oBACnE,OAAO,EAAE,CAAC,UAAU,CAAC;AACrB,oBAAA,SAAS,EAAE;AACd,iBAAA;;;ACXD;;AAEG;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { Version } from '@angular/core';
2
2
 
3
- const VERSION = new Version('19.1.0-next.4');
3
+ const VERSION = new Version('19.1.0-next.5');
4
4
 
5
5
  /**
6
6
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-tethys.mjs","sources":["../../../src/version.ts","../../../src/ngx-tethys.ts"],"sourcesContent":["import { Version } from '@angular/core';\n\nexport const VERSION = new Version('19.1.0-next.4');\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;MAEa,OAAO,GAAG,IAAI,OAAO,CAAC,eAAe;;ACFlD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-tethys.mjs","sources":["../../../src/version.ts","../../../src/ngx-tethys.ts"],"sourcesContent":["import { Version } from '@angular/core';\n\nexport const VERSION = new Version('19.1.0-next.5');\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;MAEa,OAAO,GAAG,IAAI,OAAO,CAAC,eAAe;;ACFlD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-tethys",
3
- "version": "19.1.0-next.4",
3
+ "version": "19.1.0-next.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@github.com/atinc/ngx-tethys.git"
@@ -1 +1 @@
1
- export declare const VERSION = "19.1.0-next.4";
1
+ export declare const VERSION = "19.1.0-next.5";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '19.1.0-next.4';
4
+ exports.VERSION = '19.1.0-next.5';